/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background-color: #FFF;
}

/* Top Navigation Bar */
.navbar {
    background-color: #000;
    color: white;
    padding: 8px 0;
    font-size: 15px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
}

.nav-link {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}




/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    width: 100%;
}

.product-menu{
   
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000;
     background-color: rgba(255, 255, 255, 0.467);
    height: 300px;
    backdrop-filter: blur(10px);
    display: none;
    gap: 10px;
    overflow: hidden;
    width: 733px;
    left: 16%;
    color:  black;

}
.sub-product{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}
.sub-product-button{
   width: 150px;
   height: 120px;
   font-size: 15px;
   border-radius: 10px;
   font-weight: 600;

}
.sub-product-2{
    overflow: hidden;
   background-color: red;
   width: 50%;
}
.sub-product-2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}
/* Responsive adjustments only (no existing code changed) */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.offers-dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    display: none;
    transition: 0.3s ease;
    z-index: 1000;
}

/* Dropdown Container */
.dropdown{
position:relative;
display:inline-block;
}

/* Button */
.dropbtn{
background:#fff;
padding:12px 18px;
border:none;
font-size:16px;
cursor:pointer;
font-weight:700;
}

/* Dropdown Box */
.dropdown-content{
display:none;
position:absolute;
background:#fff;
min-width:250px;
padding:12px;
box-shadow:0 4px 10px rgba(245, 240, 240, 0.877);
}

/* Links */
.dropdown-content a{
display:block;
text-decoration:none;
color:#333;
padding:6px 0;
font-size:15px;
}

.dropdown-content a:hover{
color:black;
font-weight:bold;
}

/* Show Dropdown */
.show{
display:block;
}

.header-container {
     
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav-link {
    font-weight: 700;
    position: relative;
    font-size: medium;
    color: #333;
}

.main-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3db28b;
    transition: width 0.3s ease;
}

.main-nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
     pointer-events: auto;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 10px rgba(144, 200, 64, 0.3);
}

.search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
    width: 200px;
}

.search-box button {
    background-color: #3db28b;
    color: white;
    padding: 8px 15px;
    border: none;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-logo{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 4px;
    border-color: #000;
}


.cart-count {
    position: absolute;
    top: 18px;
    right: -12px;
    background-color: #fff;
    border: 2px solid #1f2937;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 600px) {
  .product-menu {
    width: 100vw;
   
    left: 2.5%;
    gap: 10px;
    
  }

  .sub-product {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 5px;
  }

  .sub-product-button {
    width: 100%;
    font-size: 16px;
    height: 8vh;
  }

  .sub-product-2 {
    width: 50%;
  }

  .sub-product-2 img {
    width: 100%;
    border-radius: 10px;
  }
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
     
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav-link {
    font-weight: 700;
    position: relative;
    padding: 5px 0;
}

.main-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3db28b;
    transition: width 0.3s ease;
}

.main-nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
     pointer-events: auto;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 10px rgba(144, 200, 64, 0.3);
}

.search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
    width: 200px;
}

.search-box button {
    background-color: #3db28b;
    color: white;
    padding: 8px 15px;
    border: none;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.login-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}


.loginimg1{
    width: 40px;
    height: 40px;
}


.icon-link {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.icon-link span{
     margin: 0;
}



.cart-count {
    position: absolute;
    top: 9px;
    right: -9px;
    background-color: #fff;
    border: 2px solid #1f2937;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.Beautyimg{
    text-align: center;
    border-radius: 10px;
    width: 100%;
}

/* Main Content */
.main-content {
    display: flex;
    padding: 32px 24px;
    gap: 24px;
    max-width: 1920px;
    margin: 0 auto;
}

/* Sidebar Filters */
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

.sidebar {
  width: 320px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clear-btn {
  background: #3bb18f;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.accordion-header {
  width: 100%;
  background: #3bb18f;
  color: black;
  border: none;
  padding: 14px;
  margin: 10px 0;
  border-radius: 25px;
  font-weight: bold;
  text-align: left;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 10px 5px;
}

.accordion-content p {
  margin: 6px 0;
}

.accordion-item.active .accordion-content {
  display: block;
}
/* Sub accordion styling */
.sub-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px;
  font-weight: bold;
  text-align: left;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.sub-content {
  display: none;
  padding-left: 15px;
}

.sub-item.active .sub-content {
  display: block;
}
.sub-content-cut{
    height: 0px;
}

/* Products Section */
.products-section {
    flex: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.sort-btn {
    background-color: #D9D9D9;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-btn:hover {
    background-color: #d1d5db;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 64px;
}

.product-info {
    padding: 12px;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.category-icon img {
    width: 65px;
    height: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: 630;
    margin-bottom: 4px;
    line-height: 1.2;
}

.product-weight {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-align: left;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}
.product-tax {
  font-size: 13px;
  color: #6b7280; /* Green color */
  font-weight: 600;
  text-align: right;
}

.product-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
  .product-tax {
    font-size: 11px;
    text-align: center;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.add-to-cart-btn {
    width: 100%;
    background-color: #92DDC4;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-img{
    width: 16px;
    height: 16px;
    background-color: #92DDC4;
}
.add-to-img:hover{
  background-color: #22c55e;
}

.add-to-cart-btn:hover {
    background-color: #22c55e;
}


/* Footer */

.footer {
  background: #bdbdbd;
  color: #000;
  font-weight: 500;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 40px 50px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 12px;
}

.footer-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: bold;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.footer-box ul li a:hover {
  text-decoration: underline;
}

.follow {
  margin-top: 12px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons img {
  width: 36px;
  height: 36px;
  border-radius: 55%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.15);
}
.map-box iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.footer-bottom {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 13px;
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


