/*	Reset & General
---------------------------------------------------------------------- */
* { margin: 0px; padding: 0px; 
    scroll-behavior:smooth ;
    }
    
    ::-webkit-scrollbar {
        width: 0.5rem;
      }
      
      ::-webkit-scrollbar-thumb {
        border-radius: 0.2rem;
        background: #bb0000;
        transition: all 0.5s ease-in-out;
      }
      
      ::-webkit-scrollbar-thumb:hover {
        background: #4f0000;
      }
      
      ::-webkit-scrollbar-track {
        background: #c13939;
      }
    
    body {
        font-family: "Open Sans", sans-serif; 
        background-color: #1DBF73;
        scroll-behavior:smooth ;
        background: url('../Assets/shopping\ wallpaper.avif');
    }
    #wrapper{
        overflow: hidden;
        height:1200px;
        width:100%;
        background-color: rgba(240, 80, 80, 0.463);  
        backdrop-filter: blur(10px); 
        padding: 0;
        border-radius:2rem 2rem 0 0;
    }
   /*NAVIGATION*/
.navbar {
  display: flex;
  padding: 20px;
  margin-bottom: 5px;
  text-align: right;
  top: 0;
  width: auto;
  height: 80px;
  z-index: 1000;
  justify-content: space-between;
  align-items:center;
  background-color: rgba(244, 0, 0, 0.649);  
  backdrop-filter: blur(10px); 
  border-radius: 10rem;
}

nav ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
  position: relative;
  bottom: 20px;
}

#MenuItems a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
  padding-right: 10px;
}

a {
  text-decoration: none;
  color: #555;
  font-size: rem;
}

#MenuItems li a:hover {
color: #001ee0;
font-weight: bolder;
}

#MenuItems li a:active {
color: #08ae03;
font-weight: bolder;
}

#MenuItems li a:focus {
color: #014f4a;
font-weight: bolder;
}

.subscribe-btn {
  position: relative;
  bottom: 20px;
}
.subscribe-btn, .submit {
  display: inline-block;
  background: #b31703;
  color: #fff;
  padding: 8px 30px;
  border-radius: 30px;
  outline: none;
  color: #fff;
  transition: background 0.5s;
  cursor: pointer;
  font-size: 1rem;
}

.subscribe-btn:hover, .submit:hover {
  background: #252525;
  border: 1px solid red;
}


/* Additional Styles */
#email-input {
  width: 400px;
  height: 2rem;
  color: #ffffff;
  font-size: large;
  position: relative;
  top: 70%;
}

#email-input:focus {
  background-color: #181155;
  border: 2px solid green;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0 10px;
  position: relative;
  top: 40%;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  zoom: 1.1;
}

.word-span {
  font-size: 7rem;
  position: relative;
}

    
    /*HAMBURGER MENU*/
    #hamburger-nav {
      display: none;
    }
    
    .hamburber-menu {
      position:relative;
      display: inline-block;
    }
    .hamburger-icon {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 20px;
      width: 20px;
      cursor: pointer;
      position:relative;
      left:320px;
      top: 10px;
    
    }
    
    .hamburger-icon span {
      width: 100%;
      height: 5px;
      background-color:rgb(255, 247, 0);;
      transition: all 0.3 ease-in-out;
    }
    .menu-links {
      position: absolute;
      top:5%;
      right: 80px;
      background-color:rgb(172, 8, 8);
      opacity: 70%;
      width: fit-content;
      max-height: 0;
      overflow: hidden;
      transition: all 0.9 ease-in-out;
      border-radius: 1rem;
      z-index: 1000;
    }
    
    .menu-links a {
      display: block;
      padding: 10px;
      text-align: center;
      font-size: 1rem;
      font-weight: bold;
      color:rgb(255, 255, 255);
      text-decoration: none;
      transition:all 0.9 ease-in-out;
      border: 1px solid grey;
    }
    .menu-links li {
      list-style: none;
    }
    .menu-links.open {
      max-height: 300px;
    }
    .hamburger-icon.open span:first-child {
      transform: rotate(45deg) translate(10px, 5px);
    }
    .hamburger-icon.open span:nth-child(2) {
      opacity: 0;
    }
    .hamburger-icon.open span:last-child {
      transform: rotate(-45deg) translate(10px, -5px);
    }
    .hamburber-icon span:first-child {
      transform: none;
    }
    .hamburber-icon span:first-child {
      opacity: 1;
    }
    .hamburber-icon span:first-child {
      transform: none;
    }
    
    /*logo*/
    
    .logo-img {
        width:5rem;
        height: 5rem;
        position: relative;
        margin-right: auto;
        bottom: 20px;;
    }
    
    .logo-words {
        font-family: sirenik;
        font-size: 2rem;
        position:relative;
        margin-right:auto;
        right: 10%;
        bottom: 11px;
        color: #ffffff;
    }
    
      /************PiceRange****************/

        .price-range-container {
        position: relative;
        right: 200px;
        width:45%;
        height: 70px;
        max-height: 70px;
        margin: 20px auto;
        border: none;
        outline: outset 0.5px;
        border-radius: 2rem;
        background-color: rgba(116, 110, 110, 0.463);  
        backdrop-filter: blur(15px); 
        }
        
        .slider {
        -webkit-appearance:none;
        width: 60%;
        height: 15px;
        border-radius: 5px;
        background: #fefefe;
        outline: none;
        opacity: 0.7;
        -webkit-transition: .2s;
        transition: opacity .2s;
        position: relative;
        top:10px ;
        left: 10px;
        }
        
        .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #4caf50;
        cursor: pointer;
        }
      
        .slider::-webkit-slider-thumb:hover {
          background: #a81414;
        }
        
        .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #4caf50;
        cursor: pointer;
        }
        
        .price-word {
        position: relative;
        top:10px;
        left: 20px;
        font-size: 1rem;
        font-weight: bold;
        }
      
        #priceValue {
        position: relative;
        top: 0;
        left:30px;
        border: 2px solid rgb(15, 225, 71);
        border-radius: 2rem;
        overflow: unset;
        padding: 5px;
        color: #fff;
        background: #691313e3;
        font-size: 1rem;
        font-weight: bold;
        }

        .results-count {
          color: black;
          position:relative;
          bottom: 40px;
          float: right;
          width: 300px;
        }

        .category-selector {
          margin-bottom: 0;
          position:relative;
          bottom: 30px;
          width: auto;
          right: 215px;
      }
      
      .category-selector h3 {
        font-size: 1rem;
        position: relative;
      }

      #categorySelect {
        position: relative;
        bottom: 30px;
      }
  
      
      
    /*******PRODUCT SECTION*********/
    .main {
        display: flex;
        justify-content: space-evenly;
        width: auto;
        height: 900px;
    }
    
    .items-container {
        text-align: center;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        padding: 30px;
        margin: 25px 0px 25px 25px;
        height: 1050px;
        max-height: 1050px;
        border-radius: 10px;
        background-color: rgba(254, 253, 253, 0.463);  
        backdrop-filter: blur(10px); 
        /*background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%);*/
        overflow: auto;
        outline:none;
    }
    
    .items-container > h3, .cart-container h4 {
        font-weight: bold;
        text-shadow: 2px 2px rgb(192, 192, 192);
    }
    
    .items {
        display:flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 30px;
        justify-content:space-evenly ;
        border: 2px solid black;
    }

    .card-img-top {
      cursor: pointer;
    }

    /* Modal styles */
.modal-overlay {
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background-color: #cfcccc91;
  backdrop-filter: 20px;
  padding:20px;
  border-radius: 10rem;
  width:auto;
  height: auto;
  justify-content: center;
}

.enlarged-image {
  max-width: 50%;
  max-height: 50%;
  margin: 0 auto;
}

    
    .card {
        margin: 20px;
        box-shadow: rgba(78, 78, 78, 0.2) 0px 2px 8px 0px;
        background-color: rgba(0, 0, 0, 0.463);  
        backdrop-filter: blur(15px); 
        /*background: #C9CCD3;
        background-image: linear-gradient(to right, #868f96 0%, #9fa6a9 100%);*/
        color: rgb(255, 255, 255);
        border: none;
    }
    
    .cart-container {
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        height:auto;
        max-height: 850px;
        margin: 25px 25px 25px 0px;
        border-radius: 10px;
        background-color: rgba(254, 253, 253, 0.463);  
        backdrop-filter: blur(10px); 
        /*background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%);*/
        padding: 20px;
        bottom: 50px;
        overflow: auto;
    }
    
    .cart {
        height: 76%;
        border: 2px solid rgb(255, 151, 151);
        border-radius: 10px;
        overflow:auto;
    }

    .cart-shop-img {
      position: absolute;
      bottom: 70%;
    }
    
    .check-out p {
        font-weight: bold;
        border-bottom: 1px solid rgb(200, 200, 200);
        padding: 0px 10px 10px 10px;
    }
    
    .check-out span {
        font-weight: 100;
    }
    
    .buttons {
        display: flex;
        justify-content: space-around;
    }

    .list-group-item {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: center;
        background-color: rgba(74, 71, 71, 0.463);  
        backdrop-filter: blur(10px); 
        /*background-image: linear-gradient(to right, #868f96 0%, #9fa6a9 100%);*/
        color: rgb(255, 255, 255);
        border: none;
        border-radius: 5px;
        margin: 3px;
        box-shadow: rgba(98, 28, 28, 0.2) 0px 2px 8px 0px;  
    }
    
    .list-group-item div {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .list-group-item div button {
        width: 30px;
        height: 30px;
        border: none;
        background-color: rgb(100, 100, 100);
        color: rgb(255, 255, 255);
    }

    .subtotal,.tax,.total {
        color: red;
        font-size: 1.5rem;
    }
    
    #checkout{
        border: 2px solid #5ff7d2;
        font-size: 13px;
        font-weight: 700;
        padding: 3px 9px;
        position: absolute;
        top: 137px;
        left: 181px;
        color: #29f075;
        display:none;
        cursor: pointer;
    }
    
    #checkout:hover {
        color: white;
        background:#29f075 ;
    }
    
    #checkout:active {
        background: rgb(94, 2, 2);
    }
    
    .dialog {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(254, 253, 253, 0.463);  
      backdrop-filter: blur(10px); 
      color: #0a0a0a;
      border-radius: 2rem;
      outline: outset;
      padding: 20px;
      z-index: 1000;
  }
  
  .dialog-content {
      text-align: center;
  }
  
  .dialog button {
      margin-top: 10px;
      padding: 5px 10px;
      background-color: #007bff;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 1rem;
  }

  .dialog button:hover {
    background: rgb(155, 0, 0);
  }

  .dialog button:active {
    background: rgb(73, 0, 0);
    outline: outset;
    outline-color: #4f0000;
  }

  .error-image {
    align-self: center;
    height: 5rem;
    width: 5rem;
  }

  .submit {
    display: inline-block;
    background-color: rgba(244, 0, 0, 0.922); 
      color:#fff;
      padding:8px 30px;
      border-radius: 30px;
      outline: none;
      color:#fff;
      transition: background 0.5s;
      cursor: pointer;
      font-size: 1rem;
      margin-top: 15px;
  }
  
  .submit:hover {
    background: #252525;
    border: 1px solid red;
  }
  
  .dialog1 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(254, 253, 253, 0.463);  
    backdrop-filter: blur(10px); 
    color: #0a0a0a;
    border-radius: 2rem;
    outline: outset;
    padding: 20px;
    z-index: 1000;
  }
  
  .dialog-content {
    text-align: center;
  }
  
  .sub-header {
    color: #001ee0;
  }
  
  
  #email-input {
    width: 400px;
    height: 2rem;
    color: #ffffff;
    font-size: large;
    margin-top: 20px;
    border-radius: 2rem;
  }
  
  #email-input:focus {
    background-color: #181155;
    border: 2px solid green;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 0 10px;
    outline: outset;
    border-radius: 50%;
    background: rgb(113, 2, 2);
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    zoom: 1.1;
  }
  
    
    /****FOOTER*****/
      .footer {
        background: rgb(25, 25, 25);
        color:#8a8a8a;
        font-size: 14px;
        padding:10px;
        border-radius: 0;
    }
    
    .row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-around;
        z-index: 1;
    }
    
    .footer-logo {
        cursor: pointer;
    }
    
    .footer p {
        color:#8a8a8a;
    }
    .footer h3 {
        color:#fff;
        margin-bottom: 20px;
    }
    .footer-col-1, .footer-col-2, .footer-col-3 .footer-col-4 {
        min-width: 250px;
        margin: 20px;
    }
    .footer-col-1 {
        flex-basis: 30%;
    }
    .footer-col-2 {
        flex:1;
        text-align:center;
    }
    .footer-col-2 img {
        width:180px;
        margin-bottom: 20px;
        border-radius: 50px 50px 50px 50px;
    }
    .footer-col-3, .footer-col-4 {
        flex-basis:12%;
        text-align: center;
    }
    ul {
        list-style-type: none;
    }
    .app-logo {
        margin-top:20px;
    }
    .app-logo img {
        width:140px;
    }
    .footer hr {
        border:none;
        background: #b5b5b5;
        height:1px;
        margin:20px 0;
    }
    .copyright {
        text-align: center;
    }
    
    
    
    
    