.hero-section {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 40px;
}

.hero-text h2 {
  font-weight: 700;
  color: #5a2c2c;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

section {
  overflow: visible;
}

.hero-text h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -40px;
  width: 30px;
  height: 2px;
  background: #5a2c2c;
  transform: translateY(-50%);
  border-radius: 5px;
}

.hero-text p {
  margin-top: 10px;
  font-size: 1rem;
  color: #555;
}

a {
  text-decoration: none !important;
}

p {
  margin-bottom: 0 !important;
}

.hero-img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 20px;
    text-align: center;
  }

  .hero-text h2::before {
    display: none;
  }
}

.custom-dropdown .dropdown-toggle {
  cursor: pointer;
  border-radius: 5px;
}

.custom-dropdown ul li {
  cursor: pointer;

}

.custom-dropdown ul li:hover {
  background-color: #fdecec;
}


.hover-bg:hover {
  background: #fdecec;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.custom-dropdown {
  overflow: visible;
}

.caret {
  border-radius: 100%;
}

button#dropdownBtn {
  background-color: #fdecec;
  color: #333;
}

.hover-bg {
  transition: background 0.2s;
}

/* Custom round dot indicators */
.carousel-indicators.custom-indicators {
  position: static;
  /* Keeps dots below the carousel */
  margin-top: 10px;
}

.carousel-indicators.custom-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: gray;
  /* Inactive dot color */
  border: none;
  margin: 0 6px;
  transition: background-color 0.3s ease;
}

.carousel-indicators.custom-indicators button.active {
  background-color: #C39F82;
  /* Active dot color */
  transform: scale(1.2);
  /* Slightly bigger when active */
}

.product-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.product-card {
  flex: 0 0 auto;
  margin-right: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  /* text-align: center; */
  background: #fff;
  transition: 0.3s;
  height: 340px;
  width: 250px;

}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: unset;
}

.product-section {
  padding: 10px 40px;
}
.back-button{
  left: 5% !important;
   padding-left: 40px;

}
.searchDropdown{
  max-height:200px;
}
.search{
  max-width:150px;
}
@media (max-width: 986px) {
  .product-card img {
    height: 160px;
  }

  .product-card {

    margin-right: 16px;
    width: 200px !important;
    height: 280px !important;
  }

  .product-price {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }
}

@media (max-width: 769px) {
  .product-section {
    padding: 5px 10px;
  }

  .product-card img {
    height: 200px;
  }

  .product-card {

    margin-right: 15px;
    width: 200px !important;
    height: 300px !important;
  }

  .product-price {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }
}


@media (max-width: 435px) {
  .product-card img {
    height: 190px !important;
  }

  .product-card {
    margin-right: 0px !important;
    height: 300px !important;
    width: auto !important;

  }

  .banner-img {
    height: 180px;
  }
  .product-price{
    font-size: 8px !important;
  }
  .product-name {
    font-size: 8px !important;
  }
}

.product-name{
   white-space: nowrap;         /* keep text on one line */
  overflow: hidden;            /* hide overflow */
  text-overflow: ellipsis;
}



.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.scroll-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 15px);
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
}

.scroll-container::-webkit-scrollbar {
  display: none;

}


.carousel-line-indicators {
  display: flex !important;
  /* keep flex layout */
  flex-direction: row;
  /* horizontal stack */
  justify-content: center;
  align-items: center;
  position: static;
  width: 100%;
  margin-top: 10px;
  gap: 8px;
}

/* Indicator style */
.carousel-line-indicators .indicator {
  width: 40px;
  /* length of horizontal line */
  height: 4px;
  /* thickness */
  background: #ddd;
  /* inactive color */
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.carousel-line-indicators .indicator.active {
  background: brown;
  /* active color */
  width: 50px;
  /* slightly bigger when active */
}

.product-price .text-decoration-line-through {
  text-decoration: line-through;
  /* ensure line-through works */
  color: #6c757d;
  /* lighter color for stroked price */
  margin-left: 5px;
  /* small gap between prices */
  font-weight: 500;
  /* optional, lighter than main price */
}

.stroked-price {
  text-decoration: line-through;
  /* line through the original price */
  color: #6c757d;
  /* muted color */
  font-weight: 500;
  /* slightly lighter than main price */
  margin-left: 5px;
  /* small gap between prices */
}


.product-list {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 5px;
  background: #f9f9f9;
}


.product-cards {
  border-radius: 8px;
  padding: 15px;
  /* text-align: center; */
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease-in-out;
}

.product-cards:hover {
  transform: translateY(-5px);
}

.product-cards img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}



.product-category {
  text-align: start;
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 5px 0;

}

.product-price {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.product-weight {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

/* ✅ Tablet: 3 cards per row */
.product-card {
  scroll-snap-align: start;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.productname {
  font-size: 15px;
  font-weight: 600;
  margin: 5px 0px;

}
.discount{
  font-size: 12px !important
  ;
}
/* Tablet: 3 per row */
@media (max-width: 991px) {
  .scroll-container {
    grid-auto-columns: calc(33.333% - 15px);
  }
    .discount{
  font-size: 10px !important;
}
.product-weight {
  font-size: 10px;}

}

/* Mobile: 2 per row */
@media (max-width: 767px) {
  .scroll-container {
    grid-auto-columns: calc(50% - 10px);
  }
  .product-cards img{
    height: 150px;
  }
  .discount{
  font-size: 8px !important;
}
.product-weight {
  font-size: 8px;}
}

/* Small screens */
@media (max-width: 435px) {
  .product-card img {
    height: 100px;
  }

  .scroll-container {
    grid-auto-columns: calc(50% - 10px);
  }

  .product-card {
    height: 250px;
    width: auto;
  }
  .discount{
  font-size: 8px !important;
}

  .banner-img {
    height: 180px;
  }

  .productname {
    font-size: 12px;
    height: 34px;
  }

  .product-price {
    font-size: 9px;
  }
  .back-button{
    left: 1% !important;
    top: 1%;
    padding-left: 0 px !important;
  }
}

.sentinel {
  flex-shrink: 0;
  width: 1px;
  height: 1px;
}

.scroll-container {
  position: relative;
  /* needed for IntersectionObserver root */
}

/* Skeleton loader effect */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.skeleton-card {
  width: 200px;
  margin: 0 3rem;
}

.skeleton-img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
}

.skeleton-line {
  height: 14px;
  margin: 6px 0;
}

.pagination .page-link {
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 0 5px;
  color: #000;
  background-color: #e9e9e9;
  font-size: 14px;
}

.pagination .page-item.active .page-link {
  background-color: #3d3d3d;
  /* dark grey like image */
  color: #fff;
}

.pagination .page-item .page-link:hover {
  background-color: #bfbfbf;
  color: #000;
}
