/*----------------------------- All Products page -----------------------------*/
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
.product-center {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 7rem 3rem;
}


.product {
  width: 260px;
  height: 38rem;
  background-color: rgb(255, 233, 208);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  text-align: center;
  transition: all 300ms ease-in-out;
}

.product:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
 
}

.product-header {
  border-radius: 1rem;
  position: relative;
  height: 20rem;
  background-color: #ffffff;
  transition: all 300ms ease-in-out;
  z-index: 0;
}

.product-header img {
  height: 80%;
  border-radius: 10px;
  margin: 20px 0px 0px 0px;
}

.product-footer {
  padding: 2rem 1.6rem 1.6rem 1.6rem;
}

.product-footer h3 {
  font-size: 16px;
  font-weight: 700;
}

.descrip {
  color: #43b3d9;
}

.product-footer .price {
  margin-top: 10px;
  color: #000000;
  font-size: 20px;
}

.product:hover .product-header::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 1rem 1rem 0 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 500ms ease-in-out;
  z-index: 1;
}

.product-header .icons {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translate(0, -50%) scale(0);
  z-index: 2;
  opacity: 0;
  transition: all 500ms ease-in-out;
}

.product-header .icons span {
  background-color: #fff;
  font-size: 2.5rem;
  display: block;
  border-radius: 50%;
  padding: 1.5rem 1.6rem;
  line-height: 2rem;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.product-header .icons span i {
  transition: all 500ms ease-in-out;
}

.product-header .icons span:not(:last-child) {
  margin-bottom: 1rem;
}

.product-header .icons span:hover {
  background-color: #ff7c9c;
  color: #fff;
}

.product:hover .icons {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.product-header .icons a {
  display: block;
  margin-bottom: 1rem;
}
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
/* .product-center2,
.product-center3,
.product-center4,
.product-center5{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 7rem 3rem;
} */


 
#showMore{
  padding: 15px;
  margin: 30px 0;
  background-color: #000;
  border: 1px solid #fff;
  color: #ffff;
  transition: all 0.5s ease;
}
#showMore:hover{
  transition: all 0.5s ease;
  border:1px solid rgb(61,180,248);
  box-shadow: 0 0 15px 5px rgba(40,170,200,1);
}

.col-md-12{
  margin-left:700px ;
}

.section .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9rem;
  margin-top: 5rem;
}

.all-products .top select {
  
  font-family: "Poppins", sans-serif;
  width: 20rem;
  padding: 1rem;
  border: 1px solid #ccc;
  appearance: none;
  outline: none;
  border-radius: 10px;

}


.form {
  /* background-color: white; */
  position: relative;
  top: 30px;
  /* left: 800px; */
}
.form button{
  background: #34495e;
  border-radius:10px ;
}

.form__group {
  
  margin-bottom: 20px;
  background-color: whitesmoke;
  border-radius: 10px;
}

.form__group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.dropdown {
  position: relative;
}

.dropdown__selected {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0 20px 0 10px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  position: relative;
  cursor: pointer;
  transition: box-shadow .3s ease;
}

.dropdown__selected::after {
  top: calc(50% - 2px);
  right: 10px;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  position: absolute;
  border-top-color:#000;
  border-width: 4px;
  margin-left: -4px;
}

.dropdown__selected:hover {
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid var(--border-color);
  border-top: 0;
  background-color: #fff;
  z-index: 5;
  display: none;
}

.dropdown__menu_items {
  max-height: 210px;
  overflow-y: auto;
}

.dropdown__menu_search {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  padding: 12px;
  outline: 0;
  background-color: #f9f9f9;
}

.dropdown__menu_item {
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  cursor: pointer;
}

.dropdown__menu_item:last-child {
  border-bottom: 0;
}

.dropdown__menu_item:hover {
  background-color: var(--border-color);
}

.dropdown__menu_item.selected,
.dropdown__menu_item.selected:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #fff;
  border: 0;
  outline: 0;
  cursor: pointer;
}




/*----------------------contact form-------------------- */


 
  .contact-form{
    position: relative;
    top: 0px;
  left: 250px;
    max-width: 700px;
    margin: auto;
    margin-top: -167px;
    padding: 0 10px;
    overflow: hidden;
    padding-bottom: 30px;
  }
  
  
  .contact-form-text{
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0;
    border: 0;
    background: #111;
    padding: 20px 40px;
    outline: none;
    color: #ddd;
    transition: 0.5s;
    border-radius: 26px;
  }
  .contact-form-text:focus{
    box-shadow: 0 0 10px 4px #34495e;
    
  }
  textarea.contact-form-text{
    resize: none;
    height: 120px;
  }
  .contact-form-btn{
    float: right;
    border: 0;
    background: #34495e;
    color: #fff;
    padding: 12px 50px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.5s;
    
  }
  .contact-form-btn:hover{
    background: #2980b9;
  }
  .ToCart{
    position: relative;
    bottom: 10px;
    background-color: cadetblue;
    padding: 7px 45px 7px 45px;
    border: none;
    border-radius: 10px;
    
  }

  #shop-item-title {
    font-size: 15px;
    font-weight: 700;
    
  }
  /* ---------------------------------------------------------------------------------------------------- */
  /* ---------------------------------------POPUP MODALS------------------------------------------------ */
  .LogOut{
    position: relative;
  
    /* left: 75px;  */
     float: left;
    /* bottom: 140px;  */
    cursor: pointer;
  }
  .forgot{
    position: relative;
    top: 10px;
    padding: 10px;
    font-size: 13px;
  }
  .LogOut button{
    position: relative;
    padding: 5px 10px 5px 10px;
    bottom: 5px;
    border-radius: 10px;
    border: none;
    background-color: rgb(252, 203, 146);
  }
  
  .modal-bg{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
  }
  /* new class to activate the background */
  .bg-active{
    visibility: visible;
    opacity: 1;
  }
  
  #popupLogin{
    position: fixed;
    top: 22%;
    left: 35%;
    display: flex;
    /* justify-content: center;
    align-items: center; */
    height: 100vh;
    width: 100%;
    display: none;
    z-index: 9021; 
  }
  
  
  .modal{
    background-color: seashell;
    width: 30%;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
  }
  .modal button{
    padding: 10px 30px;
    background-color: skyblue;
    color:white ;
    border: none;
    cursor: pointer;
  }
  .modal span{
    position: relative;
    bottom: 170px;
    left: 180px;
    font-weight: bold;
    cursor: pointer;
  }
  .modal h2{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #Username,
  #Password{
    padding: 7px;
    margin: 5px;
    border: none;
  
  }
  .modal button{
    margin-top: 15px;
  }
  /* Media queries */
  /* -------------------------Success Popup------------------------------- */
.popup .overlay {
  position:fixed;
  top:0px;
  left:0px;
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,0.7);
  z-index:1;
  display:none;
}
 
.popup .content {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(0);
  background:#fff;
  width:95%;
  max-width:500px;
  height:250px;
  z-index:2;
  text-align:center;
  padding:20px;
  box-sizing:border-box;
  font-family:"Open Sans",sans-serif;
}
 
.popup .close-btn {
  cursor:pointer;
  position:absolute;
  right:20px;
  top:20px;
  width:30px;
  height:30px;
  background:#222;
  color:#fff;
  font-size:25px;
  font-weight:600;
  line-height:30px;
  text-align:center;
  border-radius:50%;
}
 
.popup.active .overlay {
  display:block;
}
 
.popup.active .content {
  transition:all 300ms ease-in-out;
  transform:translate(-50%,-50%) scale(1);
}
/* -------------------------Unsuccessful Popup------------------------------- */
.popup2 .overlay2 {
  position:fixed;
  top:0px;
  left:0px;
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,0.7);
  z-index:1;
  display:none;
}
 
.popup2 .content2 {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(0);
  background:#fff;
  width:95%;
  max-width:500px;
  height:250px;
  z-index:2;
  text-align:center;
  padding:20px;
  box-sizing:border-box;
  font-family:"Open Sans",sans-serif;
}
 
.popup2 .close-btn2 {
  cursor:pointer;
  position:absolute;
  right:20px;
  top:20px;
  width:30px;
  height:30px;
  background:#222;
  color:#fff;
  font-size:25px;
  font-weight:600;
  line-height:30px;
  text-align:center;
  border-radius:50%;
}
 
.popup2.active2 .overlay2 {
  display:block;
}
 
.popup2.active2 .content2 {
  transition:all 300ms ease-in-out;
  transform:translate(-50%,-50%) scale(1);
}
.plslog{
  position: fixed;
  top: 50px;
}
  





  /* ----------------------------------------------Media Queries-------------------------------------------- */
  
  
  @media only screen and (max-width: 1024px){
    
  .modal{
    background-color: seashell;
    width: 30%;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
  }
  .modal button{
    padding: 10px 30px;
    background-color: skyblue;
    color:white ;
    border: none;
    cursor: pointer;
  }
  .modal span{
    position: relative;
    bottom: 170px;
    left: 130px;
    font-weight: bold;
    cursor: pointer;
  }
  .modal h2{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #Username,
  #Password{
    padding: 7px;
    margin: 5px;
    border: none;
  
  }
  .modal button{
    margin-top: 15px;
  }
    /* .contact-section{
      position: relative;
      
      bottom: 4px;
    } */
    .contact-form{
      position: relative;
      left: 110px;
      top: 0px;
    }
     
      .ToCart{
        position: relative;
        top: 1px;
        background-color: cadetblue;
        padding: 1px 25px 1px 25px;
        border: none;
        border-radius: 10px;
        /* margin-bottom: 30px; */
      }
  
      
  }
  @media only screen and (max-width: 768px){
   /* login */
   #popupLogin{
  
    z-index: 499;
  }
    /* Modal */
    
  .modal{
    background-color: seashell;
    width: 40%;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
  }
  .modal button{
    padding: 10px 30px;
    background-color: skyblue;
    color:white ;
    border: none;
    cursor: pointer;
  }
  .modal span{
    position: relative;
    bottom: 170px;
    left: 130px;
    font-weight: bold;
    cursor: pointer;
  }
  .modal h2{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #Username,
  #Password{
    padding: 7px;
    margin: 5px;
    border: none;
  
  }
  .modal button{
    margin-top: 15px;
  }

    .contact-form{
      position: relative;
      left: 110px;
      width: 370px;
      
      top: 0px;
    }
   
    /* .contact-section{
    position: relative;
    left: 180px;
    width: 60%;
    bottom: 50px;
    
    } */
    .top .form {
      /* background-color: white; */
      position: relative;
      bottom: 130px;
      left: 60px;
      padding: 3px;
    }
    .form .btn{
      position: relative;
      
    }
    .product {
      width: 270px;
      height: 33rem;
    }
    .product-header{
      height: 170px;
    }
    
    .product img{
      width: 85px;
      height: 110px;
    }
    .product h3{
      font-size: 12px;
      position: relative;
     
    }
    
    .product .descrip{
      display: none;
    }
    .product-footer .price{
      position: relative;
      margin: 0px;
      font-size: 20px;
    }
    .ToCart{
      position: relative;
      bottom: 10px;
      background-color: cadetblue;
      padding: 7px 45px 7px 45px;
      border: none;
      border-radius: 10px;
      
    }

    .product-center,
    .product-center2,
    .product-center3,
    .product-center4,
    .product-center5{
          grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
          
          grid-template-columns:300px 270px ;
          justify-content: center;
          gap: 4rem 1rem;
    }
     .hamburger{
      position: relative;
      left: 360px;
      bottom: 100px;
      text-align: center;
      width: 40px;
      margin: 4px;
      padding: 5px;
    }
    .cart-icon{
      position: relative;
      bottom: 50px;
      left: 630px;
      /* text-align: right; */
      width: 30px;
      margin: 0px;

      /* bottom: 60px; */
    }
    .cart-icon i{
      position: relative;
     left: 0px;
    }
    .bx-shopping-bag{
     position: relative;
     right: 60px;
    }
    .fix-nav{
      /* position: relative;
      left: 370px; */
      height: 100px;
    } 
   
  }

  @media only screen and (max-width: 425px){
       /* login */
   #popupLogin{
    
    z-index: 99;
  }
   
  .modal{
    background-color: seashell;
    width: 55%;
    height: 230px;
    display: flex;
    /* justify-content: center;
    align-items: center; */
    flex-direction: column;
    
  }
  .modal button{
    padding: 10px 30px;
    background-color: skyblue;
    color:white ;
    border: none;
    cursor: pointer;
  }
  .modal span{
    position: relative;
    bottom: 170px;
    left: 100px;
    font-weight: bold;
    cursor: pointer;
  }
  .modal h2{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #Username,
  #Password{
    padding: 7px;
    margin: 5px;
    border: none;
  
  }
  .modal button{
    margin-top: 15px;
  }
    
    .contact-form{
      position: relative;
      left: 10px;
      bottom: 40px;
      
    }
    .top.container{
      position: relative;
      top:260px;
      margin: 60px 30px 0px 0px;
      padding: 10px 0px;
    }
    
   
    .form .btn{
      position: relative;
      
    }
    .product-center2{
      padding: 100px 0px 0px 0px;
    }
    .product-center,
    .product-center2,
    .product-center3,
    .product-center4,
    .product-center5{
          grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
          
          grid-template-columns:190px 200px ;
          justify-content: center;
          gap: 4rem 1rem;
    }
   
    .cart-icon{
      position: relative;
      bottom: 50px;
      left: 190px;
      /* text-align: right; */
      width: 30px;
      margin: 4px;
      bottom: 60px;
    }

    .product {
      width: 190px;
      height: 30rem;
      
    }
    
    .product-header{
      height: 160px;
    }
    .product img{
      width: 80px;
      height: 140px;
    }
    .product h4,
    h5{
      font-size: 9px;
      font-weight: 700;
      
    }
    #shop-item-title {
      font-size: 12px;
      font-weight: 700;
      
    }
    /* .product-footer h1{
      position: relative;
      bottom: 10px;
    } */
    .ToCart{
      position: relative;
      bottom: 10px;
      background-color: cadetblue;
      padding: 7px 45px 7px 45px;
      border: none;
      border-radius: 10px;
      
    }

    
  }
  @media only screen and (max-width: 375px){
       /* login */
   #popupLogin{
    
    z-index: 99;
  }
    /* Modal */
    .modal{
      position: relative;
      right: 80px;
      background-color: seashell;
      width: 65%;
      height: 230px;
      display: flex;
      /* justify-content: center;
      align-items: center; */
      flex-direction: column;
      
    }
    .hamburger{
      position: relative;
      left: 270px;
      bottom: 100px;
      text-align: center;
      width: 40px;
      margin: 4px;
      padding: 5px;
    }
    .cart-icon{
      position: relative;
      bottom: 50px;
      left: 600px;
      /* text-align: right; */
      width: 30px;
      margin: 0px;

      /* bottom: 60px; */
    }
    /* contact form */
    .contact-form{
      position: relative;
      width: 300px;
      left: 10px;
      bottom: 40px;
      
    }
    .top.container{
      position: relative;
      top:260px;
      margin: 60px 30px 0px 0px;
      padding: 10px 0px;
    }

    .product-center,
    .product-center2,
    .product-center3,
    .product-center4,
    .product-center5{
          grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
          grid-template-columns:170px 150px ;
          justify-content: center;
          gap: 4rem 0rem;
    }
   
    .cart-icon{
      position: relative;
      bottom: 50px;
      left: 190px;
      width: 30px;
      margin: 4px;
      bottom: 60px;
    }

    .product {
      width: 150px;
      height: 31rem;
      
    }
    
    .product-header{
      height: 160px;
    }
    .product img{
      width: 80px;
      height: 110px;
    }
    .product h4,
    h5{
      font-size: 9px;
      font-weight: 700;
      
    }
    #shop-item-title {
      font-size: 12px;
      font-weight: 700;
      
    }
    
    .ToCart{
      position: relative;
      bottom: 10px;
      background-color: cadetblue;
      padding: 7px 25px 7px 25px;
      border: none;
      border-radius: 10px;
      
    }

    
  }
  @media only screen and (max-width: 320px){
       /* login */
   #popupLogin{

    z-index: 99;
  }
    /* Modal */
    .modal{
      position: relative;
      right: 80px;
      background-color: seashell;
      width: 65%;
      height: 230px;
      display: flex;
      /* justify-content: center;
      align-items: center; */
      flex-direction: column;
      
    }
    .hamburger{
      position: relative;
      left: 120px;
      bottom: 100px;
      text-align: center;
      width: 40px;
      margin: 4px;
      padding: 5px;
    }
    .cart-icon{
      position: relative;
      bottom: 50px;
      left: 690px;
      /* text-align: right; */
      width: 30px;
      margin: 0px;
      
      /* bottom: 60px; */
    }
    /* contact form */
    form.contact-form{
      position: relative;
      width: 250px;
      left: -20px;
      bottom: 40px;
      
    }
   .navigation.container{
     padding: 0px;
   }
    .product-center,
    .product-center2,
    .product-center3,
    .product-center4,
    .product-center5{
          grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
          grid-template-columns:170px 150px ;
          justify-content: center;
          gap: 4rem 0rem;
    }
   
    .cart-icon{
      position: relative;
      bottom: 50px;
      left: 190px;
      width: 30px;
      margin: 4px;
      bottom: 60px;
    }

    .product {
      width: 150px;
      height: 31rem;
      
    }
    
    .product-header{
      height: 160px;
    }
    .product img{
      width: 80px;
      height: 110px;
    }
    .product h4,
    h5{
      font-size: 9px;
      font-weight: 700;
      
    }
    #shop-item-title {
      font-size: 12px;
      font-weight: 700;
      
    }
    
    .ToCart{
      position: relative;
      bottom: 10px;
      background-color: cadetblue;
      padding: 7px 25px 7px 25px;
      border: none;
      border-radius: 10px;
      
    }

    
  }



  /* --------New Code from prodhead---------- */
 /*----------------------------- All Products page -----------------------------*/
 
  /* ---------------Media Queries---------------- */
 

  /* .product-center2{
    background: black;
  }  */

 