  * {
  padding: 0;
  box-sizing: border-box;
}

body{
    margin: 0;  
    padding: 0; 
    overflow-x: hidden;
    height:100vh;
    font-family: "Roboto Flex", sans-serif;
   }

  
  header {
    background-color: #ff7500;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    padding: 1rem 0;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    overflow: visible;
}
.logo-c{
    position: relative;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    top: 5px;
}
.logo{
   width: 100%;
   object-fit: contain;
}
.menu-icon{
   width: 40%;
   height: auto;
   object-fit: contain;
   
}
.cart img{
   width: 70px;
   height: auto;
   object-fit: contain;      
}
.cart{
    position: relative;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    top: 5px;
    -webkit-tap-highlight-color: transparent;   
}
.cart-wrapper {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: 0.3em;
  right: 1.5em;
  transform: translate(40%, -30%);
  background-color: red;
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 2px 6px;
  font-weight: bold;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
}
#hamburger{
    position: relative;
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    top: 5px;
    -webkit-tap-highlight-color: transparent;
}
.cart img:hover,
#hamburger:hover {
  animation: cartBounce 0.6s ease;
}


.menu {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  background: inherit;
  box-shadow: none;
  position: static;
  padding: 0;
  padding: 0 4rem;
  margin: 0;
  white-space: nowrap;
  background-color:  #000000;
  border-radius: 20px;
}


.menu-list {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}


.menu-list li {
  position: relative;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: white;
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.3rem);
}


.menu-list li:hover {
  background-color: #ff7500;
  border-radius: 5px;
}

.nav-links {
  margin: 0;
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  color:  #000000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 200px;
  border-radius: 5px;
  z-index: 1000;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.menu-list li:nth-child(1) .submenu::before,
.menu-list li:nth-child(4) .submenu::before,
.menu-list li:last-child .submenu::before {
  left: auto;
  right: 30px; 
}
.menu-list li:nth-child(1) .submenu {
  right: 0;
  left: auto;
}

.menu-list li:nth-child(4) .submenu {
  right: 0;
  left: auto;
}

.menu-list li:last-child .submenu {
  right: 0;
  left: auto;
}
.hovermenu:hover .submenu {
  display: block;
}

.submenu li {
  padding: 10px 15px;
  white-space: nowrap;
  display: flex;
  gap: 10px;
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.3rem);
}
.submenu li span.material-symbols-outlined {
  margin-right: 10px;
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1.3rem);
  color: #ff7500;
}
.submenu li  a {
  text-decoration: none;
  color: black;
}

.submenu li:hover {
  background: #f8f9f9; 

}
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto; 
    margin-right: 20rem;
}

.nav-links a {
    text-decoration: none;
    padding: 10px 20%;
    max-width: 150px;
    max-height: auto;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    white-space: nowrap;
}


.login-btn, .signup-btn {
    background-color: #ff7500;
    color: #fff;
}

.login-btn:hover, .signup-btn:hover {
    background: #000000;
    color: white;
}



.sidebar-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.sidebar-auth a {
    text-align: center;
    width: 100%;
    padding: 12px;
    font-size: clamp(0.8rem, 0.8vw + 0.8vh, 1rem);
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.sidebar-auth .login-btn {
    background-color: #ff7500;
    color: #fff;
    font-size: clamp(0.7rem, 0.8vw + 0.8vh, 0.8rem);
    border-radius: 20px;
     padding: 5px 10px;
}

.sidebar-auth .login-btn:hover {
    background: #000000;
}

.sidebar-auth .signup-btn {
    background-color: #ff7500;
    color: #fff;
    font-size: clamp(0.7rem, 0.8vw + 0.8vh, 0.8rem);
    border-radius: 20px;
    padding: 5px 10px;
}
.sidebar-bottom-text {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.sidebar-auth .signup-btn:hover {
background: #000000;
}

.sidebar {
    width: 20%;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    color: black;
    height: 100vh;
    border-top-right-radius: 12px; 
    border-bottom-right-radius: 12px;
    padding: 0; 
    overflow: hidden; 
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 900;
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    
  }
  
  .sidebar-content {
    height: 80vh; 
    overflow-y: auto; 
    padding: 20px;
    box-sizing: border-box;
    border-bottom: 3px solid  #ff7500;
    margin-top: 10px;
    overflow-x: hidden;

  }
  .sidebar-img{
   width: 50%;
   height: auto;
   object-fit: contain;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul div {
    padding: 10px;
    cursor: pointer;
    gap: 10px;
    display: flex;
}
.sidebar ul div a {
    color: #000000; 
    text-decoration: none; 
    
}

.sidebar.show {
    transform: translateX(0); 
  }
  .sidebar-submenu {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: none;
    color: #fff;
    border-left: 0px solid #000000;
  }
  
  .sidebar-submenu li {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .sidebar-submenu li a {
    color: black;
  }
  .sidebar-dropdown {
    border-radius: 10px;
    padding: 20px;
    width: 250px;
  }
  
  .sidebar-dropdown h4 {
    margin-bottom: 15px;
    font-size: clamp(0.7rem, 0.8vw + 0.8vh, 0.8rem);
    color: #333;
    padding-bottom: 8px;
  }
  
  .sidebar-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .sidebar-dropdown li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
    padding: 8px;
    border-radius: 6px;
    font-size: clamp(1rem, 0.8vw + 0.8vh, 1rem);
  }
  
  
  .sidebar-dropdown .material-symbols-outlined {
    font-size: clamp(1rem, 0.8vw + 0.8vh, 1rem);
    color: #ff7500;
    margin-right: 10px;
  }
  
  
  .sidebar-dropdown li a {
    color: #000000;
    text-decoration: none;
    font-size: clamp(1rem, 0.8vw + 0.8vh, 1rem);
  }
  
  .sidebar-dropdown.open .sidebar-submenu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  


.preamble-wrapper{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 10px;
    margin-top: 7%;
    background: linear-gradient(to right, #ff7500, #ffffff);
}
.side1 img{
    width: 100%;
    height: auto;
    object-fit: cover;
}


.side1 p {
  font-size: 1rem;
  margin: 15px 0;
  color: #333;
  font-weight: 500;
  text-align: start;
}

.input-icon {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.input-icon input {
  width: 100%;
  height: 70px;
  padding-left: 50px;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.input-icon input:focus {
  border-color: #ff7500;
  box-shadow: 0 0 5px rgba(255, 117, 0, 0.4);
  outline: none;
}

.input-icon input::placeholder {
  color: #aaa;
  font-size: 1rem;
}

.input-icon span {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.5rem;
  pointer-events: none;
}
.side2 {
    position: relative; 
    margin-top: 15%;
}
.side2 img{
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 3; 
    position: relative;
    margin-top: 10px;
}
.featured-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  bottom: 60%;
  z-index: 1; 
  font-size: clamp(1rem, 0.8vw + 0.8vh, 1rem);
}


.tag {
  background-color: crimson;
  color: #fff;
  border-radius: 10px;
  padding: 5px 20px;
  font-weight: bold;
  z-index: 1; 
}


.price {
  position: relative;
  background-color: #ffffff;
  width: 240px; 
  border-radius: 10px;
  margin-top: 2px;
  padding: 15px 15px 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1; 
  overflow: visible;
}


.price::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}


.discount {
  position: absolute;
  top: 8px;
  right: 15px;
  background-color: #ff7500;
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: bold;
}

.product-slideshow .side2 {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: relative;
  width: 100%;
}

.product-slideshow .side2.active {
  display: block;
  opacity: 1;
}
.add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start; 
  border-radius: 8px;
  background-color: #ff7500;
  padding: 8px 12px;
  cursor: pointer;
  position: relative;
  z-index: 10;
  gap: 6px;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  line-height: 1;
  top: 10px;
  right: 70px;
  -webkit-tap-highlight-color: transparent;
}

.add-to-cart img {
  width: 30px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  bottom: 5px;
}
.add-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 2s ease;
}

.add-to-cart:hover .add-text {
  opacity: 1;
  max-width: 120px; 
  margin-left: 5px;
}

.fly-clone {
  position: fixed;
  width: 30px;
  height: 30px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.8s ease-in-out, top 0.8s ease-in-out, left 0.8s ease-in-out;
}


@keyframes cartBounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.cart-bounce {
  animation: cartBounce 0.6s ease;
}

.product-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px 20px;
  background-color: #f8f9f9;
}

.product-category{
    border-bottom: 1px solid #ccc;
}
.product-category h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.product-box {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-box img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 5px; 
  margin-bottom: 10px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
}

.product-price {
  font-size: 0.9rem;
  color: #ff7500;
  margin-bottom: 10px;
  font-weight: 800;
  position: relative;
}

.inside-box {
  top: auto !important;
  right: auto !important;
  margin-top: 10px;
  justify-content: center;
}


.add-to-cart.inside-box img {
  width: 25px;
  margin: 0 auto;
}
.add-to-cart.inside-box {
  padding: 4px 8px;
  font-size: 0.65rem;
  gap: 4px;
  margin-top: 8px;
  justify-content: center;
  background-color: #ff7500;
  height: auto;          
  max-height: 35px; 
  -webkit-tap-highlight-color: transparent;         
}
.price-and-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}


@media screen and (min-width: 425px) and (max-width: 1100px) {
  .preamble-wrapper {
    margin-top: 5% !important;
  }
  .logo-c img {
    width: 40% !important;
    object-fit: contain;
  }
  .logo-c{
    display: flex;
    justify-content: start;
    }
}


@media screen and (max-width: 1100px) {
    header{
      height: 50px;
    }
    .logo-c{
        display: flex;
        top: 1px;
    }
    .logo-c img{
      width: 80%;
      object-fit: contain;
    }
    .menu {
        display: none;
    }

    .cart {
        display: flex;
        top: 1px;
    }
    
    #hamburger {
        display: flex;
        top: 1px;
    }
    #hamburger img{
         width: 50px; 
    }
    .cart img{
     width: 50px;     
   }
   .cart-badge {
    top: 0.1em;
    right: 1.5em;
  }
  .preamble-wrapper{
    margin-top: 12%;
  }
  .featured-price {
   align-items: center;
    bottom: 60%;
  }
 .side2 img {
     max-height: 80%; 
    }
  .price {
      width: 180px; 
      padding: 10px;
    }

  .add-to-cart {
     right: 10px;
     top: 5px;
     font-size: 0.65rem;
     flex-wrap: nowrap;
     white-space: nowrap;
     height: 45px;
    }
    .add-to-cart img {
     margin: 0 auto;
    }
    .add-text {
        display: none;
    }
    
    .side2 img{
      margin-top: 45%;
    }
    .sidebar {
      text-align: start;
      transform: translateX(-100%);
      width: 65%;
      display: block;
    }
     .sidebar-submenu li a {
     font-size: 1rem;  
     }
    .sidebar ul div a{
     font-size: 1rem;
    }
    .sidebar-dropdown .material-symbols-outlined {
    font-size: 20px;
    }

    .sidebar-submenu .material-symbols-outlined {
    font-size: 15px;
   }

}