Global Styles
body {
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', serif;
    background: #fafafa;
    font-size: 18px;
    /* color: rgb(91, 74, 61); */
}

/* Header Styles */
.header-hero {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 3rem 1rem; /* Increased padding for larger screens */
}

.header-hero h1 {
    font-size: 3rem; /* Larger heading for bigger screens */
}

.header-hero p {
    font-size: 1.5rem;
    margin-top: 1rem;
}



.banners {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  width: 100%;
}

.banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  /* background-color: #f5f5f5; */
  /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.banner a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 16px;
}

/* .banner:hover img {
  transform: scale(1.03);
} */

.banner-card {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 60%); */
  text-align: center;
  box-sizing: border-box;
}

.banner-card h3 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
}

.banner-card p {
  font-size: 1rem;
  margin: 0.4rem 0 1rem;
  color: #eeeeee;
}

.banner-cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  font-weight: 500;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.banner:hover .banner-cta {
  background-color: #000;
  color: #fff;

}

/* Responsive Layout */

@media (max-width: 1024px) {
  .banner {
    height: 320px;
  }

  .banner-card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .banners {
    gap: 16px;
  }

  .banner {
    max-width: 100%;
    height: 260px;
  }

  .banner-card {
    padding: 1rem;
  }

  .banner-card h3 {
    font-size: 1.2rem;
  }

  .banner-cta {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 220px;
  }

  .banner-card h3 {
    font-size: 1rem;
  }

  .banner-cta {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}



/* ---------- HOMEPAGE IMAGES SECTION ---------- */

.homepage-images {
  display: flex;
  gap: 20px;
  /* margin-bottom: 2rem; */
  flex-wrap: wrap;
  justify-content: center;
}

.homepage-image {
  position: relative;
  width: calc(50% - 10px);
  max-width: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.homepage-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* padding: 1rem; */
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.homepage-image:hover .image-overlay {
  opacity: 1;
}

.image-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}


/* Collections Section */
.collections {
    margin: 3rem 0;
}

.collections h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.collection-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid layout */
}

.collection-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: transform 0.3s ease;
}

.collection-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.collection-item h3 {
    font-size: 1.2rem;
    color: #333;
}

.collection-item p {
    color: #777;
}

.collection-item:hover {
    transform: scale(1.05); /* Hover effect to enlarge the item */
}

/* Categories Section */
.categories {
    margin: 3rem 0;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.category-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid layout */
}

.category-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: transform 0.3s ease;
}

.category-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.category-item h3 {
    font-size: 1.2rem;
    color: #333;
}

.category-item p {
    color: #777;
}

.category-item:hover {
    transform: scale(1.05); /* Hover effect to enlarge the item */
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .banners {
        flex-direction: column;
    }

    .banner {
        width: 100%;
    }

    .homepage-images {
        /* flex-direction: column; */
        width: 100%;
        gap: 10px;
    }


    .collections .collection-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Adjust grid for smaller screens */
    }

    .categories .category-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Adjust grid for smaller screens */
    }
}

@media (max-width: 480px) {
    /* .sale-ribbon {
        font-size: 1rem;
    } */

    .banner-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .image-link {
        font-size: 1rem;
    }

    .collection-item,
    .category-item {
        /* width: 100%; Full width on mobile */
        margin-bottom: 1rem;
    }

    .collection-item img,
    .category-item img {
        height: 150px; /* Slightly taller images for better display */
    }

    .collection-item h3,
    .category-item h3 {
        font-size: 1rem;
    }

    .collection-item p,
    .category-item p {
        font-size: 0.9rem;
    }
}

/* Container for the Category */
.category-container {
    margin: auto;
    padding: 2rem 1rem;
}

/* Category Header */
.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 2rem;
  
}

.category-header p {
    font-size: 1rem;
    color: #777;
}

/* Grid Layout for Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* Product Card */
.product-card {
    /* background: #fff; */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* .product-card:hover {
    transform: translateY(-4px);
} */

/* Image Area with Hover Swap Effect */
.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #eee;
}

.product-image-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    
}

.primary-img {
    z-index: 2;
}

.secondary-img {
    opacity: 0;
    z-index: 1;
}

.product-card:hover .secondary-img {
    opacity: 1;
}

.product-card:hover .primary-img {
    opacity: 0;
}

/* Product Info */
.product-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: center;
}

.product-info h3 {
    margin: 0;
    font-size: 1rem;
  
}

.product-info a {
    text-decoration: none;
    color: inherit;
}

.product-price {
    font-weight: bold;
    font-size: 1rem;
    color: #000;
}

/* Overlay and Cart Button (Appears on Hover) */
.image-overlay-button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgb(38 37 37 / 20%);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
    z-index: 4;
    text-align: center;
}

.product-image-wrapper:hover .image-overlay-button {
    opacity: 1;
}

.image-overlay-button .btn-cart {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #22232300;
    color: #fff;
    font-size: 0.85rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.image-overlay-button .btn-cart:hover {
    background-color: #22232345;
}

/* Responsive Design Tweaks */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-card {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .product-info h3 {
        font-size: 0.95rem;
    }

    .product-price {
        font-size: 0.95rem;
    }
     /* .image-overlay {
    padding: 0.8rem;
  } */

  .image-link {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
    .product-buttons {
        flex-direction: column;
    }

    .btn-view {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

/* Additional Styling for the Cart and View Buttons */
.product-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.btn-view {
    background-color: #3498db;
    color: white;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-view:hover {
    background-color: #2c80b4;
}




/* new home Styles */
/* Typography & Base */
body {
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', serif;
    background: #fdf9f5;
    color: #2c2c2c;
}



/* Section Layout */
.section-heading,h2, h3 {
    font-family: 'Cormorant Garamond', serif;    color: #513d2e ;
  
}
.section-heading {
  font-size: 2rem;
  font-family: 'Cormorant Garamond', serif; 
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
}
/* .section-dual {
    display: flex;
    flex-wrap: wrap;
    /* margin: 60px 0; */
    /* gap: 40px;
    padding: 0 30px;
   */

/* } *


/* 🔷 Dual Section Layout: Left (Categories), Right (Image) */
.section-dual {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  
  /* margin: 40px 0; */
}

.section-dual .left,
.section-dual .right {
  flex: 1;
}

/* Categories and Collections */
/* .categories-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    flex-direction: column;
} */
 /* 🔷 Categories Row - Always 4 column layout */
.categories-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 4 columns fixed */
  gap: 24px;
}
@media (max-width: 768px) {
.categories-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 4 columns fixed */
  gap: 24px;
}}
@media (max-width: 480px) {
.categories-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 4 columns fixed */
  gap: 24px;
}}
.collections-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.category-item,
.collection-item {
    background: #fff9f5;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: calc(50% - 15px);  /* two items per row with 30px gap */
    box-sizing: border-box;
    
}
.category-item {
    width: calc(50% - 15px);
    box-sizing: border-box;
}

.category-item:hover,
.collection-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.category-item img,
.collection-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
}

.category-item h3,
.collection-item h3 {
    margin-top: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;    color: #732020;
}

/* Homepage image blocks */
.homepage-category-image img{
  height: 100% !important;
}
.homepage-collection-image img {
    height: 100% !important;
}
.homepage-category-image img,
.homepage-collection-image img {
    width: 100%;
    height: 69%;
    object-fit: cover;
    border-radius: 16px;
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.1); */
    /* transition: transform 0.4s ease; */
}



/* Featured Products */
.category-container {
    padding: 60px 30px;
    background: #fffdf8;
}

.category-header {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: #6b0f0f;
    margin-bottom: 40px;
    font-family: 'Cormorant Garamond', serif;}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
}

.product-card {
    /* background: #ffffff; */
    /* border-radius: 18px; */
    overflow: hidden;
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.08); */
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}



.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.primary-img,
.secondary-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.5s ease;
    border-radius: 5px;
}

.secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image-wrapper:hover .secondary-img {
    opacity: 1;
}

.image-overlay-button .btn-cart {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #22232300;
    color: #fff;
    font-size: 0.85rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.image-overlay-button .btn-cart:hover {
    background-color: 22232345;
}

.btn-cart {
    padding: 12px 24px;
    background-color: #2e2e2eb3;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
    transition: background-color 0.3s;
}

.btn-cart:hover {
    background-color: #9e2b2b;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;}

.product-price {
    font-size: 1.1rem;
    color: #4d4d4d;
    font-weight: 500;
}
/* 
.collection-card {
    width: 45%;
} */

@media (max-width: 768px) {
  .collection-item {
      width: 100%;
  }
}
@media (max-width: 768px) {
  .category-item {
    width: 100%;
  }
}

/* 🔷 Category Card Styling */
.category-card {
  /* background: #fff; */
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease;
}

/* .category-card {
  
  border-radius: 5px;
  overflow: hidden;
   */
  /* transition: transform 0.4s ease, box-shadow 0.3s ease; */
  /* width: 45%; */
  /* max-width: 640px;
  margin-bottom: 30px;
} */

/* .category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
} */

.category-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;

}

.category-image-wrapper img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  border-radius: 12px ;
}

.category-info {
  padding: 16px;
  text-align: center;
}

.category-info h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  /* font-size: 1.3rem; */
  margin-bottom: 8px;
  /* font-weight: 700; */
  font-family: 'Cormorant Garamond', serif;
  color: #513d2e ;
}

.category-info p {
  font-size: 1rem;
  color: #000 ;
}

/* Already present — reuse this */
.image-overlay-button {
  position: absolute;
  /* bottom: 12px; */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-overlay-button .btn-cart {

  padding: 12px 24px;
  background-color: #2e2e2e00;
  color: #fff;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
  transition: background-color 0.3s;
}

.image-overlay-button .btn-cart:hover {
  background-color: #2e2e2e00;
}


/* Premium Sale Ribbons */
/* .sale-ribbon.premium-ribbon {
  padding: 12px 26px;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 40px;
  letter-spacing: 0.5px;
  font-family: 'Cormorant Garamond', serif;
  background: linear-gradient(to right, #d8a89d, #9e4b4b);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sale-ribbon.premium-ribbon:hover {
  transform: scale(1.08);
} */

/* Premium Banners */
.premium-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.premium-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
/* 
.premium-banner:hover img {
  transform: scale(1.03);
} */
.banner-overlay h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Cormorant Garamond', serif;
    /* background: rgba(0, 0, 0, 0.3); optional dark overlay */

}


.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Pushes content to bottom */
  align-items: center;
  padding: 20px;
  /* background: rgba(0, 0, 0, 0.3); optional dark overlay */
  color: white;
  text-align: center;
}


.banner-button {
  background-color: #6b0f0f;
  color: #fff;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s;
}

.banner-button:hover {
  background-color: #64646415;
}
.sale-ribbons-wrapper {
  width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  /* z-index: 5; */
  /* background-color: rgba(0, 0, 0, 0.7); */
}

.sale-ribbons-track {
  /* display: inline-flex; */
  white-space: nowrap;
  will-change: transform;
  animation: scroll-left 45s linear infinite;
}

.sale-ribbon {
  flex: 0 0 auto;
  padding: 0px 0px;
  margin-right: 30px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 20px;
  white-space: nowrap;
  display: inline-block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Banner must be relative for overlay to work */
.banner.premium-banner {
  position: relative;
}
.banner.premium-banner {
  position: relative;
  height: 700px; /* ⬅️ Adjust this to whatever height you want */
  overflow: hidden;
}
.banner.premium-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space nicely */
}
@media (max-width: 768px) {
  .banner.premium-banner {
    height: 300px;
  }
  .section-dual{
    flex-direction: column ;
    /* -reverse; */

  }
}


/* other banner and home page css */

.top-banner {
  width: 100%;
  height: 500px;
  overflow: hidden;
  /* margin: 40px 0; */
}

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.category-section,
.collection-section {
  padding: 40px 0;
  /* background-color: #fff; */
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.category-grid,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  justify-content: center;
}

.category-card,
.collection-card {
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-img,
.collection-img {
  width: 100%;
  max-height: 100%; /* ↓ adjust this value as needed */
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.category-content,
.collection-content {
  padding: 15px;
}

.category-title,
.collection-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.category-subtext,
.collection-subtext {
  font-size: 14px;
  color: #666;
}

.about-short-section {
  padding: 60px 0;
  background-color: #fff9f7;
}

.about-text {
  max-width: 800px;
  margin: auto;
  text-align: center;
  padding: 30px;
}

.about-text h2 {
  font-size: 32px;
  color: #000;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: rgb(91, 74, 61);
  margin-top: 20px;
}

.learn-more-link {
  display: inline-block;
  margin-top: 20px;
  color: #e53637;
  font-weight: 500;
  text-decoration: none;
}

.category-container {
  padding: 60px 30px;
  background-color: #fffaf0 ;
}

.category-header {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-image-wrapper {
  position: relative;
  border-radius: 12px;

}

.product-info {
  padding: 15px;
  text-align: center;
  background-color: #fffaf0 ;

}

.product-price {
  font-size: 22px;
  color: #444;
}

.image-overlay-button {
  position: absolute;
  /* bottom: 10px; */
  right: 10px;
}

.btn-cart {
  padding: 8px 16px;
  background-color: #e53637;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
}
/* Top Horizontal Banner */
.top-banner {
  width: 100%;
  height: 500px;
  overflow: hidden;
  /* margin: 40px 0; */
}

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Category Section */
.category-section {
  padding: 20px;
  /* background-color: #fff; */
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  justify-content: center;
}

.category-card {
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%
}

.category-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-img-wrapper {
 flex-grow: 1;
  width: 100%;
  overflow: hidden;
  height: 240px; /* Adjust height as needed */
  
}

/* .category-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
} */

.category-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.category-content {
  padding: 15px;
  text-align: center;
  background-color: #fafafa;
}

.category-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.category-subtext {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #666;
}

/* Optional Tag Styling (commented out in template) */
.category-tag {
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 20px;
  text-decoration: none;
}
.middle-banner {
  width: 100%;
  /* margin: 40px 0; */
  overflow: hidden;
  height: 500px; /* You can adjust this value */
  border-radius: 12px;
}

.middle-banner .banner-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
/* hvdshgckc K */


.category-sections {
  padding: 2rem;
  background-color: #f9f9f9;
}

.section-titles {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: #333;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Only 2 columns */
  gap: 1.5rem;
  justify-items: center;
}

.category-cards {
  width: 100%;
  max-width: 280px; /* control max width */
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.category-cards:hover {
  transform: translateY(-5px);
}

.category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-img-wrappers {
  height: 180px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #eee;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-overlays {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0.9rem;
  display: none; /* hidden unless you want to show tag text */
}

.category-contents {
  padding: 1rem;
  text-align: center;
}

.category-titles {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;

}

.category-subtexts {
  font-size: 0.95rem;
  color: #777;
}

* {
  /* font-weight: bold !important;  */
 color: #000 !important;

  text-decoration: none !important;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;

 
}

.carousel-inner {
  display: flex;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  display: none;
  transition: opacity 1s ease-in-out, transform 0.6s ease-in-out;
  position: relative;
}
.carousel-item.active {
  display: block;
}

.carousel-fade .carousel-item {
  opacity: 0;
}
.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel img {
  width: 100%;
  height: auto;
  object-fit: cover;

}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgb(255 255 255 / 0%);
  border-radius: 50%;
  backdrop-filter: blur(0px);
  color: #ffffff00 ;
  font-size: 24px;
  font-weight: bold;
  z-index: 10;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

.carousel-control-prev {
  left: 20px;
}
.carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  
  font-size: 1.2rem;
}


/* Carousel container (inherits premium styles) */
.carousel .premium-banner {
  position: relative;
  overflow: hidden;
  
  
}

/* Image inside carousel */
.carousel .premium-banner img {
  width: 100%;
  height: 700px; /* Adjust height as needed */
  object-fit: cover;
  transition: transform 0.4s ease;
 
}



@media (max-width: 768px) {
  .carousel .premium-banner img {
  width: 100%;         /* Zoom in */
  /*transform: translateX(-50%);  Shift left to show only half */ 
   height: 500px; /* Adjust height as needed */
  object-fit: cover;
  transition: transform 0.4s ease;
 
}
}
@media (max-width: 480px) {
  .carousel .premium-banner img {
  width: 100%;         /* Zoom in */
 /* transform: translateX(-50%);  Shift left to show only half */ 
   height: 500px; /* Adjust height as needed */
  object-fit: cover;
  transition: transform 0.4s ease;
 
}
}


.shop-now-btn {
  background-color: #a59d8d;
  color: white !important;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.shop-now-btn:hover {
  background-color: #a59d8d;
}
