@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a{
  text-decoration: none !;
}
/* html::-webkit-scrollbar{
    width: 0.8rem;
}

html::-webkit-scrollbar-thumb{
    background: transparent;
}

html::-webkit-scrollbar-track{
    background:#314D7C;
    border-radius: 5rem;
} */

section{
    padding: 50px 100px;
}

.default_img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}



/** The Header  **/

/* nav{
  background: #ffbc40;
}

.menu{
  padding-left: 0;
}

nav ul{
  list-style: none;
}

nav li a{
  color: #02171d;
  text-decoration: none;
}

.menu li{
  font-size: 16px;
  padding: 15px 5px;
} */

/* .menu li .active{
  color: red;
} */

.menu li a{
  display: block;
}

.logo a{
  font-size: 22px;
  font-family: 600;
  margin-top: 4px;
  font-family: "AstroSpace", sans-serif;
}

.button.secondary{
  border-bottom: 1px #444 solid;
}



/* Mobile Menu */

.menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.toggle{
  order: 1;
}

.item.button{
  order: 2;
}

.item {
  width: 100%;
  text-align: center;
  order: 3;
  display: none;
}

.item.active{
 display: block;
 background: none !important;
}

.toggle{
  cursor: pointer;
}

.bars{
  background: #02171d;
  display: inline-block;
  height: 2px;
  position: relative;
  width: 18px;
}

.bars::before,.bars::after{
  background: #02171d;
  content: "";
  display: inline-block;
  height: 2px;
  position: absolute;
  width: 18px;
}

.bars::before{
 top: 5px;
}

.bars::after{
  top: -5px;
}

/* Tablet Menu */

@media all and (min-width: 468px) {
  .menu{
    justify-content: center;
  }

  .logo{
    flex: 1;
  }

  .item.button{
    width: auto;
    order: 1;
    display: block;
  }

  .toggle{
    order: 2;
  }

  .button.secondary{
    border:0;
  }

  .button a{
    padding: 7px 15px;
    color: white;
    border-radius: 5px;
    background-color: #02171d;
    border: 1px solid #02171d;
    
  }

  .button a:hover{
    transition: all .25s;
    background: #fff;
    color: #02171d;
  }

}

@media all and (min-width: 768px) {
  .item{
    display: block;
    width: auto;
  }

  .toggle{
    display: none;
  }

  .logo{
    order: 0;
  }

  .item{
    order: 1;
  }

  .button{
    order: 2;
  }

  .menu li{
    padding: 15px 10px;
  }

  .menu li.button{
    padding-right: 0;
  }

}


.product-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap: 2rem;
    justify-content: center;
    margin-top: -40px;
}

@media screen and (max-width: 991px) {
  .product-container{
    margin-top: -10px;

  }
}

.product-container .box{
    position: relative;
    padding: 10px;
    width: 280px;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 30px;
    border-radius: 0 0 0 20px;
    box-shadow: 2px 2px 10px 4px rgb(14 55 54 / 15%);
    /* z-index: -1; */
}

.product-container .box .content h2{
    font-size: 16px;
    padding-top: 5px;
    font-weight: 600;
    color: #4371C6;
    margin-bottom: 0.3rem;
}
.product-container .box .content p{
    font-size: 13px;
    font-weight: 500;
    color: black;
    margin-bottom: 0.3rem;
}

.product-container .box .content .stars .bx{
    color: #314D7C;
}

.product-container .box .bx-cart-alt{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
    font-size: 24px;
    background: #314D7C;
    color: #ADD7FF;
}

.product-container .box .bx-cart-alt:hover{
 background: #4371C6;
 color: #fff;

}

.product-container .box:hover img{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    transition: 0.5s;
}

/* .set{
    background:#ccc;
    width: 80px;
    padding: 2px;
    border-radius: 45px;
    cursor: pointer;
    transition: 0.3s ease;
}

.set p{
    text-align: center;
} */

/**********pag**************/
.pag{
  display: inline-block;
  justify-content: center;
  /* text-align: center; */
  margin: 40px 2px 60px;
  
}
@media (min-width: 768px) {
  .pag{
    display: flex !important;
  }
  .pag2{
    display: none !important;
  }
}

/* @media screen and (max-width: 320px) {
  .pag{
    margin: 60px 12px 60px;
  }
} */
@media (max-width: 991px) {
  .pag2{
    width: 70px !important;
    display: none !important;
  }

  .pag a{
    padding: 8px 16px !important;
    font-size: 14px;
  }
}

.pag a{
  color: white;
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  float: left;
  margin: 8px 2px;
  background-color: rgb(168, 168, 168);  
  border-radius: 50%;
  /* width: 45px; */
  padding: 11px 20px;
  text-decoration: none; 
  text-align: center;
}

/* .disabled{
  background: rgb(168, 168, 168);
}  */

.pag a.active{
  background-color: rgb(108, 89, 89, 1);
  color: white;
  border-radius: 50%;
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  text-align: center;
  text-decoration: none;
}

.pag a:hover:not(.active){
  background-color: #cbcadb;
  color: white;
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  text-align: center;
  border-radius: 50%;
  text-decoration: none;
}

/**********pag**************/


/* .pagination{
    text-align: center;
    margin: 90px 30px 60px;
    user-select: none;
}

.pagination li{
    display: inline-block;
    margin: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}

.pagination li a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 45px;
}

.previous-page, .next-page{
    background: #314D7C;
    width: 80px;
    border-radius: 45px;
    cursor: pointer;
    transition: 0.3s ease;
}

.previous-page:hover{
    transform: translateX(-5px);
}

.next-page:hover{
    transform: translateX(5px);
}

.current-page, .dots{
    background: rgb(168, 168, 168);
    width: 45px;
    border-radius: 50%;
    cursor: pointer;
}

.active{
    background: #314D7C;
}

.disable{
    background: rgb(168, 168, 168);
} */

/* .wrapper{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    max-width: 850px;
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

 .wrapper .search-input .input{
    width: 85%;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;

}

.searchbtn{
    background: #314D7C;
    width: 10%;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.searchbtn .bx{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 18px;
    font-weight: 600;
} */

.wrapper{
    max-width: 88%;
    margin: 10px auto;
  }
  
  .wrapper .search-input{
    background: #fff;
    width: 100%;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.12);
  }
  
  .search-input input{
    height: 55px;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 0 60px 0 20px;
    font-size: 18px;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.1);
  }

  @media (max-width: 424px) {
    .search-input input{
      font-size: 14px;
      padding: 0 60px 0 15px;

    }
  }
  
  .search-input.active input{
    border-radius: 5px 5px 0 0;
  }
  
  .search-input .autocom-box{
    padding: 0;
    opacity: 0;
    pointer-events: none;
    max-height: 280px;
    overflow-y: auto;
  }
  
  .search-input.active .autocom-box{
    padding: 10px 8px;
    opacity: 1;
    pointer-events: auto;
  }
  
  .autocom-box li{
    list-style: none;
    padding: 8px 12px;
    display: none;
    width: 100%;
    cursor: default;
    border-radius: 3px;
  }
  
  .search-input.active .autocom-box li{
    display: block;
  }
  .autocom-box li:hover{
    background: #efefef;
  }
  
  .search-input .icon{
    position: absolute;
    right: 0px;
    top: 0px;
    height: 55px;
    width: 55px;
    text-align: center;
    line-height: 55px;
    font-size: 20px;
    background: #314D7C;
    color: #ADD7FF;
    cursor: pointer;
    border: none;
  }

  .search-input .icon:hover{
    color: #fff;
  }

/*------- Responsive -------*/

@media (max-width: 1058px){
    section{
        padding: 50px 60px;
    }
}

@media (max-width: 991px){
    section{
        padding: 20px 4% !important; 
    }

    .wrapper{
        /* max-width: 450px; */
        max-width: 100%
      }
}

@media (max-width: 652px){
.pagination{margin: 90px 0px 0px;
}
}


/**********payment page*************/

.card-wrapper{
    max-width: 1100px;
    margin: 0 auto;
}

/* .card-wrapper img{
    width: 100%;
    display: block;
} */

.img-display{
    overflow: hidden;
}

.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}

.img-showcase img{
    min-width: 100%;
}

.product-content{
    padding: 2rem 1rem;
}

.product-title{
    font-size: 2rem;
    text-transform: capitalize;
    font-weight: 600;
    position: relative;
    color: #02171d;
    margin: 1rem 0;
}

.product-title::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background-color: #4371C6;
}

/* .product-link{

} */
.product-rating{
    color: #314D7C;
}

.product-rating span{
    font-weight: 600;
    color: #02171d;
}

.product-price{
    margin: 0.6rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.product-details h2{
    text-transform: capitalize;
    color: #02171d;
    padding-bottom: 0.6rem;   
    font-size: 1.5rem;
}

.product-details p{
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
    text-align: justify;
}

.product-details ul{
    margin: 1rem 0;
    font-size: 0.9rem;
}

.product-details ul li{
    margin: 0;
    list-style: none;
    background: url("./img/cross-regular-24.png")left center no-repeat;
    background-size: 12px;
    padding-left: 1.4rem;
    margin: 0.6rem 0;
    font-weight: 600;
    /* opacity: 0.9; */
}

.product-details ul li span{
    font-weight: 400;
    margin-left: 2px;
}

.purchase-info{
    margin: 1.5rem 0rem;
}

.purchase-info .btn{
    border: 1.5px solid #fff;
    border-radius: 5px;
    text-align: center;
    padding: 0.45rem 0.8rem;
    outline: none;
    margin-right: 0rem;
    margin-bottom: 1rem;
    cursor: pointer;
    color: #fff;
    background: #314D7C;
}

.purchase-info .btn:hover{
    opacity: 0.9;
    /* border: 1.5px solid #314D7C;
    color: #314D7C;
    background: #fff; */
}

@media screen and (min-width: 992px){
    .cards{
        display: grid;
        /* grid-template-columns: repeat(2, 1fr); */
        grid-gap: 1.5rem;
    }

    .card-wrapper{
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-imgs{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .product-content{
        padding-top: 0;
    }

    .img-showcase{
        width: 450px;
    }

}




.modal-footer .btn{
 font-size: 14px;
}




/*  All */


/* #prodetails .single-pro-img{
    width: 40%;
    margin-right: 50px;
}

#prodetails{
    display: flex;
    margin-top: 20px;
}

#prodetails .single-pro-details{
    width: 40%;
    padding-top: 0px;
}

#prodetails .single-pro-details h4{
    padding: 5px 0 20px 0;
}

#prodetails .single-pro-details h2{
    font-size: 26px;
} */