.products-section {
  background-color: var(--bg-cream);
  position: relative;
  padding: clamp(64px, 7vw, 92px) 0 80px;
  overflow: hidden;
}

.products-section > .container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
}

/* Botanical Edge Features (Flower emerging from screen edge with sitting bee - Static) */
/* Botanical Edge Features (Flowers & Bees in diverse postures along screen boundaries - Static) */
.shop-edge-flower {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.shop-edge-flower .edge-flower-img {
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(120, 80, 20, 0.12));
}

/* 1. Top Left - Flying Bee approaching blossom (2D edge illustration) */
.shop-edge-flower-top-left {
  top: 10px;
  left: -15px;
}
.shop-edge-flower-top-left .edge-top-left-img {
  width: clamp(160px, 15.5vw, 230px);
  height: auto;
}

/* 2. Top Right - Perched Bee drinking nectar */
.shop-edge-flower-top-right {
  top: 10px;
  right: -15px;
}
.shop-edge-flower-top-right .edge-top-right-img {
  width: clamp(160px, 15.5vw, 230px);
  height: auto;
}

/* 3. Mid Left - Hovering Bee with spread wings */
.shop-edge-flower-mid-left {
  top: 920px;
  left: -18px;
}
.shop-edge-flower-mid-left .edge-mid-left-img {
  width: clamp(150px, 14.5vw, 220px);
  height: auto;
}

/* 4. Mid Right - Bee resting on green leaf */
.shop-edge-flower-mid-right {
  top: 1100px;
  right: -18px;
}
.shop-edge-flower-mid-right .edge-mid-right-img {
  width: clamp(150px, 14.5vw, 215px);
  height: auto;
}

/* 5. Lower Left - Bee climbing branch between jasmine flowers */
.shop-edge-flower-low-left {
  bottom: 0;
  left: -18px;
}
.shop-edge-flower-low-left .edge-low-left-img {
  width: clamp(155px, 15vw, 225px);
  height: auto;
}

/* 6. Lower Right - Bee landing with wings spread */
.shop-edge-flower-low-right {
  top: 1520px;
  right: -18px;
}
.shop-edge-flower-low-right .edge-low-right-img {
  width: clamp(150px, 14.5vw, 215px);
  height: auto;
}

@media (max-width: 1200px) {
  .shop-edge-flower .edge-flower-img {
    opacity: 0.88;
  }
}

@media (max-width: 992px) {
  /* On tablets, keep top 2 and hide mid/low edge flowers to prevent overlapping product cards */
  .shop-edge-flower-mid-left,
  .shop-edge-flower-mid-right,
  .shop-edge-flower-low-left,
  .shop-edge-flower-low-right {
    display: none;
  }
  .shop-edge-flower-top-left .edge-top-left-img,
  .shop-edge-flower-top-right .edge-top-right-img {
    width: 130px;
    opacity: 0.75;
  }
}

@media (max-width: 520px) {
  .shop-edge-flower {
    display: none;
  }
}

.shop-section-header {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
}

.shop-main-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  white-space: nowrap;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (max-width: 580px) {
  .shop-section-header {
    margin-bottom: 36px;
  }
  .shop-main-title {
    font-size: 1.8rem;
    white-space: normal;
  }
}

/* Category Filter Tabs */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.filter-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid rgba(229, 155, 32, 0.25);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.filter-tab-btn:hover {
  border-color: var(--honey-primary);
  color: var(--honey-dark);
  transform: translateY(-2px);
}

.filter-tab-btn.active {
  background: var(--forest-dark);
  color: #ffffff;
  border-color: var(--forest-dark);
  box-shadow: 0 4px 16px rgba(13, 40, 26, 0.25);
}

/* Secondary Filter Bar (Price, Sort, Search) */
.filter-bar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 38px;
}

.filter-left-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-right-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.filter-price-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.filter-price-slider input[type="range"] {
  accent-color: var(--honey-primary);
  cursor: pointer;
  width: 140px;
}

.price-indicator {
  color: var(--honey-dark);
  font-weight: 700;
  min-width: 60px;
}

.filter-sort-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 9px 38px 9px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318261e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 13px 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-select:focus {
  border-color: var(--honey-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 155, 20, 0.15);
}

.results-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Carousel & Section Header in Hero Banner Theme */
.hero-themed-products-section {
  background-color: var(--hero-bg-cream, #fbf6ea);
  position: relative;
  padding: 68px 0 68px;
  z-index: 2;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(254, 203, 62, 0.16) 0%, rgba(251, 246, 234, 0) 65%),
    radial-gradient(circle at 10% 85%, rgba(229, 155, 32, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(229, 155, 32, 0.07) 0%, transparent 45%);
}

.products-carousel-container {
  max-width: 1400px;
  position: relative;
  padding: 0 40px;
}

/* Section Header in Hero Theme */
.hero-products-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.hero-header-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  margin-bottom: 12px;
}

.hero-header-badge-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(202, 162, 50, 0.35));
}

.hero-header-badge-text {
  position: relative;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(10px, 0.9vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a160c;
}

.hero-products-title,
.trending-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.1rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--forest-dark, #0d281a);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 10px;
  text-transform: none;
  text-align: center;
}

.hero-products-title .title-forest,
.hero-products-title .title-honey {
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  color: inherit;
}

.trending-header-group {
  text-align: center;
  margin-bottom: 28px;
}

.trending-title-line {
  width: 60px;
  height: 3.5px;
  background: #e59b20;
  margin: 10px auto 0;
  border-radius: 999px;
}

.hero-products-subtitle {
  font-family: 'Poppins', 'Outfit', sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  color: #4b5e52;
  max-width: 680px;
  margin: 0 auto 26px;
  line-height: 1.6;
  font-weight: 500;
}

/* Category Filter Tabs in Hero Style */
.hero-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  background: #ffffff;
  color: #1a160c;
  border: 1.5px solid rgba(229, 155, 32, 0.3);
  box-shadow: 0 2px 8px rgba(13, 40, 26, 0.04);
  cursor: pointer;
  transition: all 0.22s ease;
}

.hero-filter-tab:hover {
  border-color: #e59b20;
  color: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(229, 155, 32, 0.22);
}

.hero-filter-tab.active {
  background: #0d281a;
  color: #ffffff;
  border-color: #0d281a;
  box-shadow: 0 4px 14px rgba(13, 40, 26, 0.28);
  transform: translateY(-2px);
}

/* Product Carousel Slider Wrapper */
.products-slider-wrapper {
  position: relative;
  width: 100%;
}

/* Carousel Track - Exactly 4 Products Visible at Once */
.products-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 14px 8px 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products-slider-track::-webkit-scrollbar {
  display: none;
}

.products-slider-track .product-card {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
  min-width: 270px;
  scroll-snap-align: start;
}

@media (max-width: 1200px) {
  .products-slider-track .product-card {
    flex: 0 0 calc((100% - 2 * 18px) / 3);
    min-width: 260px;
  }
}

@media (max-width: 820px) {
  .products-slider-track .product-card {
    flex: 0 0 calc((100% - 14px) / 2);
    min-width: 230px;
  }
}

@media (max-width: 520px) {
  .products-slider-track .product-card {
    flex: 0 0 85%;
  }
}

/* Left & Right Carousel Arrow Navigation Buttons */
.slider-arrow-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #0d281a;
  border: 1.5px solid rgba(229, 155, 32, 0.45);
  box-shadow: 0 4px 16px rgba(13, 40, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-arrow-prev {
  left: -22px;
}

.slider-arrow-next {
  right: -22px;
}

.slider-arrow-btn:hover {
  background: linear-gradient(135deg, #fecb3e 0%, #fcb726 40%, #f59b14 100%);
  color: #1a160c;
  border-color: #f59b14;
  box-shadow: 0 6px 20px rgba(229, 155, 32, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-btn:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 768px) {
  .slider-arrow-prev { left: -8px; }
  .slider-arrow-next { right: -8px; }
  .slider-arrow-btn { width: 40px; height: 40px; }
}

/* Product Card Grid (for Shop page - 4 products in one row) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Product Card in Hero Banner Theme */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #ea580c;
  box-shadow: 0 8px 24px rgba(13, 40, 26, 0.05), 0 2px 6px rgba(234, 88, 12, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: none !important;
  border-color: #ea580c !important;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.18) !important;
}

/* Card Media & Image */
.card-media {
  position: relative;
  margin: 6px 6px 0;
  width: calc(100% - 12px);
  aspect-ratio: 1 / 0.95;
  background: #fbf8f0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 14px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
}

.card-image-primary {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.card-image-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Smoothly reveal second image on product hover */
.product-card:hover .card-image-secondary {
  opacity: 1;
}

.product-card:hover .card-image-primary {
  opacity: 0;
}

/* Hero Brush Badges */
.card-hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.badge-bestseller {
  background: linear-gradient(135deg, #fecb3e 0%, #fcb726 40%, #f59b14 100%);
  color: #1a160c;
}

.badge-raw {
  background: #0d281a;
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.badge-award {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
}

.badge-immunity {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
}

.badge-health {
  background: #4c1d95;
  color: #f3e8ff;
}

.badge-luxury {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #fde047;
  border: 1px solid rgba(253, 224, 71, 0.4);
}

/* NMR Stamp Seal on Top Right */
.card-stamp-seal {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Card Body Details */
.card-body {
  padding: 8px 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b45309;
  margin-bottom: 5px;
}

.card-title {
  font-family: 'Poppins', 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0d281a;
  margin-bottom: 6px;
  line-height: 1.32;
  cursor: pointer;
  transition: color 0.2s ease;
}

.card-title:hover {
  color: #d97706;
}

.card-subtitle {
  display: none !important;
}

/* Star Ratings */
.card-ratings {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.card-ratings .star-rating {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

.card-ratings .star-rating svg {
  width: 14px;
  height: 14px;
}

.card-rating-num {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1a160c;
}

.card-review-count {
  font-size: 0.78rem;
  color: #88998d;
}

/* Weight Pills Selector */
.card-weight-selector {
  display: none !important;
}

.weight-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fbf6ea;
  color: #3d4a41;
  border: 1px solid rgba(229, 155, 32, 0.3);
  cursor: pointer;
  transition: all 0.18s ease;
}

.weight-pill:hover {
  border-color: #e59b20;
  color: #b45309;
}

.weight-pill.active {
  background: linear-gradient(135deg, #fecb3e 0%, #fcb726 50%, #f59b14 100%);
  border-color: #f59b14;
  color: #1a160c;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(229, 155, 32, 0.35);
}

/* Card Footer Pricing & CTA */
.card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 155, 32, 0.18);
}

.card-price-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-price-current {
  font-family: 'Poppins', 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d281a;
}

.card-price-original {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: #94a3b8;
}

.card-savings-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Add to Cart in Navbar Authentic Terracotta Orange Style */
.hero-add-btn,
.card-add-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #d85300 0%, #ce4c00 50%, #b83e00 100%);
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(206, 76, 0, 0.38);
  cursor: pointer;
  transition: all 0.22s ease;
}

.hero-add-btn svg,
.card-add-btn svg {
  color: #ffffff;
  stroke: currentColor;
}

.hero-add-btn:hover,
.card-add-btn:hover {
  background: linear-gradient(135deg, #ea5a07 0%, #d85300 50%, #ce4c00 100%);
  box-shadow: 0 6px 20px rgba(206, 76, 0, 0.52);
  transform: translateY(-2px);
  filter: brightness(1.04);
  color: #ffffff;
}

.hero-add-btn .card-btn-arrow-icon,
.card-add-btn .card-btn-arrow-icon {
  transition: transform 0.2s ease;
}

.hero-add-btn:hover .card-btn-arrow-icon,
.card-add-btn:hover .card-btn-arrow-icon {
  transform: translateX(3px);
}

.hero-add-btn:active,
.card-add-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(206, 76, 0, 0.3);
}

/* Bottom Trust & Navigation Bar */
.hero-products-footer-bar {
  margin-top: 36px;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(229, 155, 32, 0.22);
  box-shadow: 0 4px 16px rgba(13, 40, 26, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1a160c;
}

.trust-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.hero-explore-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d281a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(13, 40, 26, 0.25);
  transition: all 0.2s ease;
}

.hero-explore-all-btn:hover {
  background: #143d28;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 40, 26, 0.35);
}

.hero-explore-all-btn svg {
  transition: transform 0.2s ease;
}

.hero-explore-all-btn:hover svg {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
