
.star-rating .star.filled,
.star-rating .star.half,
.star-rating .star.center,
.twinkle-star,
.star-icon,
.best-stars .star,
.best-stars .c-star,
.pickup-icon-animated {
  animation: none !important;
  animation-play-state: paused !important;
}

/* Mobile Navigation Card Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.3;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Mobile Navigation Card Styles */
.mobile-nav-card {
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-nav-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.mobile-nav-card:hover .card-hover-overlay {
  opacity: 1 !important;
}

.mobile-nav-card:active {
  transform: translateY(0) !important;
}

/* Disable all transform animations that cause flickering */
.product-card:hover,
.spice-card:hover,
.premium-item:hover {
  transform: none !important;
}

/* Enable navigation scroll animations with performance optimizations */
.site-header-wrapper,
.navbar,
.topbar,
.top-bar,
.header {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden; /* Prevent flickering */
  transform: translateZ(0); /* Force GPU acceleration */
}

/* Navigation scroll behavior classes */
.hide {
  transform: translateY(-100%) !important;
}

.scroll-up {
  transform: translateY(0) !important;
}

.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

/* Ensure navigation is always accessible */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

/* Re-enable ONLY essential, safe transitions for usability */
button,
.btn,
a {
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Faster first paint on long pages: delay rendering of below-the-fold sections. */
.fast-render-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* ==================== BASE LAYOUT & RESET ==================== */
:root {
  --page-bg: #ffffff;
  --primary-color: #f3a712;
  --primary-dark: #d18b00;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --scrollbar-width: 6px;
  --scrollbar-thumb: #8b2500;
  --scrollbar-track: #f0f0f0;
  --scrollbar-hover: #6a1c00;
}

html {
  min-height: 100%;
  background: var(--page-bg);
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

body {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  min-height: 100%;
  background: var(--page-bg);
  font-family: 'Rubik', 'Arial', sans-serif;
  width: 100%;
  overflow-y: auto;
}

/* ==================== LAYOUT SYSTEM (Custom Mini-Grid) ==================== */
.l-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.l-grid {
  display: grid;
  gap: 1rem;
}

.l-grid-2 { grid-template-columns: repeat(2, 1fr); }
.l-grid-3 { grid-template-columns: repeat(3, 1fr); }
.l-grid-4 { grid-template-columns: repeat(4, 1fr); }



/* ==================== UTILITIES ==================== */
.u-aspect-square {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.object-fit-cover {
  object-fit: cover;
}

/* ==================== HERO SECTION ==================== */
.hero {
  top: 0;
  position: relative;
  height: 80vh;
  min-height: 620px;
  max-height: 950px;
  overflow: visible; 
  box-sizing: border-box;
  padding-top: 0;
  margin-top: 0 !important; /* Reset to 0 to prevent pushing content down */
  isolation: isolate;
}

@media (max-width: 1399px) {
  .hero {
    height: 75vh;
    min-height: 576px;
  }
}

@media (max-width: 1199px) {
  .hero {
    height: 68vh;
    min-height: 530px;
  }
}

@media (max-width: 991px) {
  .hero {
    height: 61vh;
    min-height: 466px;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 56vh;
    min-height: 398px;
  }
}

@media (max-width: 575px) {
  .hero {
    height: 51vh;
    min-height: 355px;
  }
}

@media (max-width: 419px) {
  .hero {
    height: 46vh;
    min-height: 312px;
  }
}

@media (max-width: 379px) {
  .hero {
    height: 44vh;
    min-height: 278px;
  }
}

body.hero-dynamic-pending #heroCarousel {
  opacity: 0;
  visibility: hidden;
}

body.hero-dynamic-pending .hero-card-wrapper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.hero-dynamic-ready #heroCarousel {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease;
}

body.hero-dynamic-ready .hero-card-wrapper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

body.hero-dynamic-ready.hn-hero-card-visible .hero-card-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 18% 22%, rgba(243, 167, 18, 0.26), transparent 60%),
    radial-gradient(480px circle at 85% 75%, rgba(42, 127, 45, 0.22), transparent 62%);
  animation: heroAmbientShift 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(8, 10, 10, 0.42) 0%, rgba(8, 10, 10, 0.15) 38%, rgba(8, 10, 10, 0.58) 100%);
}


#heroCarousel {
  height: 100%;
}

#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100%;
  position: relative;
}

/* Ensure carousel fade transition works smoothly */
#heroCarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

#heroCarousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

.slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.hero-main-image {
  animation: none;
  transform-origin: center top;
}

/* Ensure background images load properly */
.slide[style*="background-image"] {
  background-color: #1a1a1a; /* Dark fallback color while image loads */
}

.slide::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.slide::before {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 2rem;
  color: #fff;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.0rem, 6vw, 3.0rem);
  font-weight: 700;
  color: #f3a712;
  margin: 0 0 0.8rem;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #8b2500;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}

.hero-coupon {
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  margin: 1.2rem 0;
  opacity: 0.95;
}

.hero-coupon strong {
  color: #f3a712;
  font-weight: 900;
  font-size: 1.1em;
}

.hero-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.8rem;
  background: rgba(243,167,18,0.18);
  color: #fff;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.0rem);
  border: 2px solid #f3a712;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
  margin-top: 1.5rem;
}

.hero-read-more:hover {
  background: #f3a712;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(243,167,18,0.35);
}

.read-more-arrow {
  animation: bounce 1.8s infinite;
}

.hero-card-wrapper {
  position: absolute;
  top: 20%;
  bottom: auto;
  left: auto;
  right: 8%;
  transform: none;
  width: auto;
  padding: 0;
  z-index: 5;
  display: block;
  pointer-events: none;
}

.hero-card {
  min-width: auto;
  width: fit-content;
  max-width: 450px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.16) 52%, rgba(255, 246, 226, 0.1) 100%);
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
  border: 1px solid rgba(255, 255, 255, 0.46);
  padding: 1.8rem 1.5rem;
  border-radius: 16px;
  text-align: left;
  pointer-events: auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -42%;
  left: -38%;
  width: 72%;
  height: 140%;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.05) 74%);
  transform: rotate(10deg);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(14, 19, 28, 0.08) 100%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  color: #8b2500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-card h4 {
  color: #222;
  font-family: 'Rubik', sans-serif;
  font-size: 1.3rem;
  margin: 0 0 0.8rem;
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.35;
}

.hero-card .hero-description {
  color: #474747;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  opacity: 1;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  background: rgba(42, 127, 45, 0.1);
  border: 1px solid rgba(42, 127, 45, 0.24);
  color: #2a7f2d;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-card-wrapper .hero-card-btn {
  background: #8b2500 !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
  height: 2.45rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(139, 37, 0, 0.28);
}

.hero-card-btn:hover {
  background: orange !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 25px rgba(243, 167, 18, 0.35);
}

@keyframes heroSlowPan {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.07) translate3d(-0.8%, -0.8%, 0); }
}

@keyframes heroAmbientShift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -14px, 0); }
}

/* Bootstrap Carousel Controls Customization */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; 
  height: 50px;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(243,167,18,0.25);
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
  opacity: 1;
  display: none !important;
}

.arrow:hover { 
  background: rgba(0,0,0,0.8); 
  transform: translateY(-50%) scale(1.15);
  opacity: 1;
}

.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

.arrow .carousel-control-prev-icon,
.arrow .carousel-control-next-icon {
  width: 1.8rem;
  height: 1.8rem;
  background-color: #f3a712;
  border-radius: 50%;
  background-size: 60%;
}

.arrow .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.arrow .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Bootstrap Carousel Indicators */
.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  margin: 0;
  padding: 0;
}

.dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.4s;
  border: none;
  padding: 0;
  margin: 0;
  text-indent: 0;
  opacity: 1;
}

.dots .dot.active {
  background: #f3a712;
  width: 28px;
  border-radius: 20px;
}

/* ==================== SHARED COMPONENTS ==================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Home scroll reveal */
.home-scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.home-scroll-reveal-item {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-reveal-ready .home-scroll-reveal,
.home-reveal-ready .home-scroll-reveal-item {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.home-reveal-ready .home-scroll-reveal.is-visible,
.home-reveal-ready .home-scroll-reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==================== BEST PRODUCTS SECTION ==================== */
.best-products {
  user-select: none;
  padding: 1.25rem 0; /* Reduced by another 50% from 2.5rem to 1.25rem */
  background: linear-gradient(135deg, #fff8f0 0%, #fef5e7 50%, #fff8f0 100%);
  position: relative;
  overflow: visible;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08), 0 20px 50px rgba(0, 0, 0, 0.12);
  margin-bottom: 30px;
  margin-top: 0;
}

.best-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
      radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 80% 50%, rgba(139, 37, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.best-products::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05), transparent);
  filter: blur(15px);
  z-index: 0;
  pointer-events: none;
}

.best-products > * {
  position: relative;
  z-index: 1;
}

.best-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.best-title {
  font-size: 2.5rem;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-top: 1rem;
}

.best-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.best-sub {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Star Rating Animation *//* Hero Responsiveness */
.best-stars {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.best-stars .star {
  font-size: 1.8rem;
  color: #FFD700; /* Gold color */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: starGlow 3s infinite alternate;
  position: relative;
}

/* Center star (c-star) will have a pulsing effect */
.best-stars .c-star {
  color: #FFA500; /* Orange color */
  animation: 
      starGlow 3s infinite alternate,
      starPulse 2s infinite ease-in-out;
  transform-origin: center;
}

/* Glowing animation */
@keyframes starGlow {
  0% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); color: #FFD700; }
  33% { text-shadow: 0 0 15px rgba(255, 69, 0, 0.7); color: #FF8C00; }
  66% { text-shadow: 0 0 15px rgba(252, 88, 23, 0.7); color: #ff4314; }
  100% { text-shadow: 0 0 20px rgba(177, 226, 43, 0.8); color: #c6e22b; }
}

/* Pulsing animation for center star */
@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Add a subtle glow to the container */
.best-stars::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 50px;
  background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0) 70%);
  z-index: -1;
  animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.best-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  background-color: white;
  color: black;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  margin-bottom: 10%;
}

.desktop-categories-browser {
  display: flex;
  align-items: center;
  gap: 14px;
}

.desktop-category-viewport {
  flex: 1;
  overflow: hidden;
  padding: 6px 2px;
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0 auto;
}

.desktop-cat-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #8b2500;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  transition: all 0.25s ease;
}

.desktop-cat-btn:hover:not(:disabled) {
  border-color: #f3a712;
  color: #f3a712;
  transform: translateY(-2px);
}

.desktop-cat-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.desktop-category-pagination {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.desktop-category-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.desktop-category-dot.active {
  background: #f3a712;
  border-color: #f3a712;
  transform: scale(1.2);
}


/* Category Cards Container */
.category-cards-container {
  gap: 2rem;
  padding: 0.75rem 0; /* Reduced by another 50% from 1.5rem to 0.75rem */
  overflow: visible; /* Allow borders to be fully visible */
  transition: transform 0.35s ease;
  will-change: transform;
}

.desktop-categories .category-cards-container {
  gap: 2rem;
}

.desktop-categories .category-card {
  width: 200px;
  flex: 0 0 200px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex: 0 0 auto;
  width: 200px;
  position: relative;
  animation: fadeInUp 0.6s ease-out forwards, float 3s ease-in-out infinite;
  opacity: 1; /* Changed from 0 to 1 to ensure visibility */
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
  overflow: visible;
  padding: 0;
  box-sizing: border-box;
}

.category-card-border-wrapper {
  padding: 1.5rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Animated Borders */
.category-card-border-wrapper::before,
.category-card-border-wrapper::after,
.category-card::before,
.category-card::after {
  content: '';
  position: absolute;
  background: #d97706;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.category-card-border-wrapper::before { top: 0; left: 0; width: 0; height: 3px; }
.category-card-border-wrapper::after { top: 0; right: 0; width: 3px; height: 0; }
.category-card::before { bottom: 0; left: 0; width: 3px; height: 0; background: #8b2500; transition-delay: 0.3s; }
.category-card::after { bottom: 0; right: 0; width: 0; height: 3px; background: #8b2500; transition-delay: 0.3s; }

.category-card:hover .category-card-border-wrapper::before { width: 100%; }
.category-card:hover .category-card-border-wrapper::after { height: 100%; }
.category-card:hover::before { height: 100%; }
.category-card:hover::after { width: 100%; }

/* Staggered Animation Delays */
.category-card:nth-child(1) { animation-delay: 0.1s; animation-duration: 0.6s, 3s; }
.category-card:nth-child(2) { animation-delay: 0.2s; animation-duration: 0.6s, 3.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; animation-duration: 0.6s, 2.8s; }
.category-card:nth-child(4) { animation-delay: 0.4s; animation-duration: 0.6s, 3.1s; }
.category-card:nth-child(5) { animation-delay: 0.5s; animation-duration: 0.6s, 2.9s; }
.category-card:nth-child(6) { animation-delay: 0.6s; animation-duration: 0.6s, 3.3s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.category-card:hover {
  transform: translateY(-20px) scale(1.05);
  text-decoration: none;
  filter: drop-shadow(0 20px 40px rgba(217, 119, 6, 0.4));
  animation-play-state: paused;
}

.category-card-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Homepage desktop category inner cards should be rectangular/square */
.desktop-categories .category-card-circle {
  border-radius: 14px;
}

.desktop-categories .category-card-image {
  border-radius: 14px;
}

.category-card-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 12px;
  text-align: center;
}

.category-card:hover .category-card-info {
  opacity: 1;
}

.category-card-info-text {
  color: #fff;
  font-size: 0.74rem;
  line-height: 1.35;
  margin: 0;
}

.category-card:hover .category-card-circle {
  box-shadow: 0 30px 60px rgba(217, 119, 6, 0.3), 0 15px 30px rgba(217, 119, 6, 0.15);
  transform: scale(1.08) translateY(-5px);
  background: linear-gradient(135deg, #fffef7 0%, #fff8e7 100%);
}

.category-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover .category-card-image { transform: scale(1.1); }

.category-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin: 0;
  transition: all 0.3s ease;
}

.category-card:hover .category-card-title {
  color: #d97706;
  transform: scale(1.05);
  text-decoration: none;
}

/* >>>>>>> 3. Products Grid Section <<<<<<<<< */
.products-grid-section {
    padding: 12px 20px 2px 20px; /* Reduced top by another 50% (24px -> 12px), bottom by another 50% (4px -> 2px) */
    background: #f9f9f9;
}

.products-grid-section .products-grid-container {
    max-width: 1200px; /* Increased from 1000px by 20% for larger cards */
    margin: 0 auto;
}

.products-grid-section .section-header {
    text-align: center;
    margin-bottom: 2px; /* Reduced by another 50% (4px -> 2px) */
}

.products-grid-section .section-title {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: 700;
}

.products-grid-section .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid-wrapper {
    margin-bottom: 40px;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-notification i {
    font-size: 1.2rem;
}

/* Add to cart button cursor fix */
.js-add-to-cart,
button[data-action*="cart"],
.add-to-cart-btn,
.btn-add-to-cart {
    cursor: pointer !important;
}

.js-add-to-cart:disabled,
button[data-action*="cart"]:disabled {
    cursor: not-allowed !important;
}

/* Ensure buttons inside draggable containers always show pointer cursor */
[style*="cursor: grab"],
[style*="cursor: grabbing"] button,
[style*="cursor: grab"] .js-add-to-cart,
[style*="cursor: grab"] .btn-add-to-cart,
[style*="cursor: grabbing"] .js-add-to-cart,
[style*="cursor: grabbing"] .btn-add-to-cart {
    cursor: pointer !important;
}

/* Mobile cart notification fixes */
@media (max-width: 768px) {
    .cart-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        right: 20px;
        max-width: calc(100vw - 40px);
        width: auto;
        padding: 12px 20px;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }
    
    .cart-notification i {
        font-size: 1rem;
    }
}

/* >>>>>>> 4. Promo Bar (Top Pill) <<<<<<<<< */
.promo-bar {
  margin: 30px auto 10px;
  max-width: 1200px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(243,167,18,0.12), rgba(8,47,73,0.9));
  border: 1px solid rgba(243,167,18,0.6);
  color: #fef3c7;
  box-shadow: 0 20px 40px rgba(15,23,42,0.5);
}
.promo-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.promo-copy h2 {
  font-size: 1rem;
  margin: 0 5px 0 0;
  display: inline;
  font-weight: bold;
}
.promo-copy p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 1;
  display: inline;
  font-weight: bold;
}
.promo-cta {
  margin-left: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f97316;
  color: #111827;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
}

/* >>>>>>> 6. Spice Grids (Alt & Regular) <<<<<<<<< */
.spice-grid {
    padding: 4rem 0;
    background: #f9f9f9;
}

.spice-grid.alt {
    background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.spice-card {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 100%;
    min-height: 260px;
}

.spice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

.spice-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

.spice-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.spice-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.spice-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 37, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: #fff;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.spice-card:hover .spice-overlay {
    opacity: 1;
    visibility: visible;
}

.spice-overlay h4 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.spice-card:hover .spice-overlay h4 {
    transform: translateY(0);
}

.spice-btn {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border: 2px solid #8b2500;
    border-radius: 50px;
    background: transparent;
    color: #8b2500;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.spice-overlay .spice-btn {
    border-color: #fff;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s, all 0.3s ease;
}

.spice-card:hover .spice-overlay .spice-btn {
    transform: translateY(0);
}

.spice-overlay .spice-btn:hover {
    background: #fff;
    color: #8b2500;
}

/* Large Spice Image */
.spice-large {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    height: 100%;
    min-height: 400px;
}

.large-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    text-align: center;
}

.large-overlay.left {
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(135deg, rgba(139, 37, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.large-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0.4rem 0 0.8rem;
    color: #fff;
}

.large-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: .55rem 1.4rem;
    border: 2px solid #fff;
    border-radius: 30px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.large-btn:hover {
    background: #fff;
    color: #8b2500;
}

/* >>>>>>> 7. Promo Banner (Cardamom/Clove) <<<<<<<<< */
.promo-banner {
    display: none !important;
    position: relative;
    background: url('assets/footer_img/footer_bg03.webp') center/cover no-repeat;
    text-align: center;
    padding: 80px 18px 60px; /* Increased padding to make it ~30% taller */
    color: #fff;
}

.promo-banner::before {
    display: none !important;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 0;
}

.promo-label {
    font-family: 'Rubik', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.promo-off strong {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-color);
}

/* >>>>>>> 8. Team Section <<<<<<<<< */
.team {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
}

.team-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2.4rem;
    color: #8b2500;
    margin-bottom: 1rem;
}

.team-intro {
    max-width: 38rem;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: #555;
}

.team-stars {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.team-stars .star {
    font-size: 1.2rem;
    color: #e5982c;
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    from { opacity: .6; transform: scale(.9); }
    to { opacity: 1; transform: scale(1.1); }
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    /* Default elevated style - previously hover style */
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 1rem;
}

.team-card:hover {
    /* Enhanced hover effect on top of elevated default */
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .2);
}

.team-top {
    background: var(--primary-color);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    background: #fff;
    transform: translateY(30%);
    position: relative;
    z-index: 2;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.promo-banner.is-hidden {
    display: none !important;
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    user-select: none;
}

.avatar-tone-1 {
    background: linear-gradient(145deg, #8b2500, #f3a712);
}

.avatar-tone-2 {
    background: linear-gradient(145deg, #0f766e, #14b8a6);
}

.avatar-tone-3 {
    background: linear-gradient(145deg, #1e3a8a, #3b82f6);
}

.avatar-tone-4 {
    background: linear-gradient(145deg, #7c2d12, #ea580c);
}

.team-bottom {
    padding: 3rem 1rem 1.5rem;
    text-align: center;
    flex: 1;
}

.team-name {
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    color: #000;
    margin: 0 0 0.2rem;
}

.team-pos {
    font-size: .95rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: .9rem;
}

.team-socials a {
    color: #8b2500;
    font-size: 1.2rem;
    transition: color .3s ease;
}

.team-socials a:hover {
    color: var(--primary-color);
}

/* Mobile Responsive Adjustments for Team Section */
@media (max-width: 768px) {
    .team {
        padding: 3rem 0;
    }
    
    .team-title {
        font-size: 2rem;
    }
    
    .team-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .team-card {
        margin-bottom: 1.5rem;
        /* Maintain elevated style on tablets */
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }
    
    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    }
    
    .team-top {
        height: 120px;
    }
    
    .team-photo {
        width: 110px;
        height: 110px;
        border: 3px solid #fff;
    }

    .team-avatar {
        font-size: 1.65rem;
    }
    
    .team-bottom {
        padding: 2.5rem 1rem 1.2rem;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    .team-pos {
        font-size: 0.9rem;
    }
    
    .team-socials a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .team {
        padding: 2.5rem 0;
    }
    
    .team-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .team-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .team-stars {
        margin-bottom: 2rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
        border-radius: 8px;
        /* Maintain elevated style on mobile */
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
    }
    
    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
    }
    
    .team-top {
        height: 100px;
    }
    
    .team-photo {
        width: 90px;
        height: 90px;
        border: 3px solid #fff;
        transform: translateY(25%);
    }

    .team-avatar {
        font-size: 1.4rem;
    }
    
    .team-bottom {
        padding: 2rem 0.8rem 1rem;
    }
    
    .team-name {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .team-pos {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .team-socials {
        gap: 0.7rem;
    }
    
    .team-socials a {
        font-size: 1rem;
    }
}

/* Animation Keyframes (Restored) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* >>>>>>> 9. Curated Cures Section <<<<<<<<< */
.curated-cures {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cures-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2.4rem;
    color: #8b2500;
    margin-bottom: 2.5rem;
}

.cure-card {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cure-card.double .cure-img {
    flex: 1;
}

.cure-card.double {
    gap: 1rem;
}

.cure-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
    cursor: pointer;
    transition: transform .25s ease;
    flex: 1;
    transform: scale(1.02); /* Applied hover scale as default */
}

.cure-img:hover {
    transform: scale(1.05); /* Slightly more scale on hover for interaction feedback */
}

.cure-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cure-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* Darker overlay for better text readability on all devices */
    color: #fff;
    opacity: 1; /* Visible by default */
    visibility: visible; /* Visible by default */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transition: opacity .4s ease, visibility .4s ease;
    backdrop-filter: blur(0px); /* No blur as default */
}

.cure-overlay h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 .4rem;
    color: #f3a712; /* Better gold color for title */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); /* Stronger text shadow for better readability */
}

.cure-overlay p {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: #ffffff; /* Pure white for better contrast */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85); /* Stronger text shadow for better readability */
}

.cure-btn {
    display: inline-block;
    padding: .55rem 1.2rem;
    border: 2px solid #f3a712; /* Better gold border */
    border-radius: 30px;
    background: rgba(243, 167, 18, 0.2); /* Semi-transparent gold background */
    color: #ffffff; /* White text */
    font-weight: 600;
    font-size: .96rem;
    text-decoration: none;
    transition: all .3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Add text shadow */
}

/* Mobile optimizations for Curated Cures section */
/* 360px breakpoint - Very small phones */
@media (max-width: 360px) {
  .curated-cures {
    padding: 2rem 0.5rem !important;
  }
  
  .cures-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .curated-cures .l-grid,
  .curated-cures .l-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    padding: 0 0.5rem !important;
  }
  
  .cure-card {
    min-height: 300px !important;
  }
  
  .cure-card.single {
    min-height: 350px !important;
  }
  
  .cure-card.double {
    min-height: 400px !important;
    gap: 0.8rem !important;
  }
  
  .cure-img {
    border-radius: 12px !important;
    min-height: 150px !important;
  }
  
  .cure-overlay {
    padding: 1rem !important;
  }
  
  .cure-overlay h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .cure-overlay p {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
  }
  
  .cure-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    border-radius: 20px !important;
  }
}

/* 420px breakpoint - Small phones */
@media (min-width: 361px) and (max-width: 420px) {
  .curated-cures {
    padding: 2.5rem 1rem !important;
  }
  
  .cures-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2rem !important;
  }
  
  .curated-cures .l-grid,
  .curated-cures .l-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    padding: 0 !important;
  }
  
  .cure-card {
    min-height: 280px !important;
  }
  
  .cure-card.single {
    min-height: 320px !important;
  }
  
  .cure-card.double {
    min-height: 360px !important;
    gap: 0.6rem !important;
  }
  
  .cure-img {
    border-radius: 10px !important;
    min-height: 130px !important;
  }
  
  .cure-overlay {
    padding: 0.8rem !important;
  }
  
  .cure-overlay h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  .cure-overlay p {
    font-size: 0.75rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.3 !important;
  }
  
  .cure-btn {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.7rem !important;
    border-radius: 18px !important;
  }
}

/* >>>>>>> 10. Decorative Elements <<<<<<<<< */
.simple-bar {
    height: 1px;
    background: var(--primary-color);
    margin: 4rem auto;
    max-width: 80%;
    opacity: 0.6;
}

.simple-bar.fancy {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color) 20%, var(--primary-color) 80%, transparent);
    opacity: 1;
}

/* >>>>>>> 13. Features Section <<<<<<<<< */
.features.l-container {
    /* Removed display:flex to let the grid system handle layout */
    margin: 3.51rem auto 2.08rem auto !important; /* Increased top margin by 50% (2.34rem → 3.51rem) for more visible change */
    padding: 1.755rem 1rem 1.04rem 1rem !important; /* Increased top padding by 50% (1.17rem → 1.755rem) for more visible change */
    max-width: 1200px; /* Maintain container width */
}

.feature {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: visible;
    text-align: left; /* Changed from center to left for text flow */
    padding: 2rem 1rem;
    color: #333;
    animation: popIn .6s ease forwards;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Remove all the complex pseudo-elements */
.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(139, 37, 0, 0.2);
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

.feature-icon {
    position: absolute;
    top: 0;
    left: 50%; /* Centered icons */
    margin-left: -1.9rem; /* Half of the icon width (3.8rem / 2) to ensure perfect centering */
    transform: translateY(-50%); /* Only transform Y axis */
    width: 3.8rem;
    height: 3.8rem;
    background: #8b2500;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    animation: iconPulse 4s ease-in-out infinite;
    transition: background .3s ease;
}

@keyframes iconPulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.12); }
}

.feature-title {
    margin: 0;
    padding-top: 3.2rem;
    padding-bottom: 1.2rem;
    font-family: 'Rubik', sans-serif;
    font-size: 1.25rem;
    letter-spacing: .6px;
    color: #8b2500;
    transition: color .3s ease;
    text-align: left; /* Ensure title flows from left */
}

.feature-text {
    margin: 0;
    max-width: 24rem;
    padding: 0 .9rem .9rem 0; /* Remove left padding, keep right padding */
    font-size: 0.94rem;
    line-height: 1.55;
    color: #555;
    text-align: left; /* Ensure text flows from left */
}

.feature-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: transparent;
    color: #8b2500;
    border: 2px solid #8b2500;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-link:hover {
    background: #8b2500;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 37, 0, 0.3);
}

.feature:hover .feature-title {
    color: var(--primary-color);
}

.feature:hover .feature-icon {
    background: var(--primary-color);
}

.feature:hover .feature-title {
    color: var(--primary-color);
}

.feature:hover .feature-icon {
    background: var(--primary-color);
}

/* >>>>>>> 14. Newsletter Section <<<<<<<<< */
.newsletter-section {
    padding: 60px 0; /* Increased padding for better spacing */
    background: #f5f5f5;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 0; /* Removed negative margin that was hiding features */
    margin-bottom: 3%;
}

.newsletter-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.newsletter-box {
    background: #000000;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 80%;
    max-width: 800px;
}

.newsletter-icon {
    margin-bottom: 25px;
}

.newsletter-icon i {
    font-size: 48px;
    color: #ffffff;
    transform: rotate(35deg);
    display: inline-block;
}

.newsletter-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 30px 0;
    font-family: 'Rubik', 'Arial', sans-serif;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Rubik', 'Arial', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #b0b0b0;
}

.newsletter-input:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-submit {
    padding: 14px 30px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-left: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Rubik', 'Arial', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-submit:hover {
    background: #ffffff;
    color: #000000;
}

.newsletter-submit:active {
    transform: scale(0.98);
}

.newsletter-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin: 0;
    max-width: 100%;
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    animation: slideDown 0.3s ease;
    transition: all 0.3s ease;
}

.newsletter-message-success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.newsletter-message-error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.newsletter-message-info {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* >>>>>>> 15. Back to Top Button <<<<<<<<< */
.back-top {
    position: fixed;
    right: 1rem;
    bottom: 1.125rem;
    width: 2.625rem;
    height: 2.625rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    cursor: pointer;
    z-index: 9999;
}

/* >>>>>>> 16. Pagination & View All <<<<<<<<< */
.view-all-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    margin: 0 auto;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.products-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.products-pagination .page-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    min-width: 48px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    color: #333;
    margin: 0 2px;
}

.products-pagination .page-btn.active,
.products-pagination .page-btn:hover:not(.disabled) {
    background: #8b2500;
    color: white;
    border-color: #8b2500;
}

.products-pagination .page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* >>>>>>> 18. Loading & Error States <<<<<<<<< */
.loading-products,
.error-products,
.no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
}

.error-products {
    color: #c62828;
}

/* >>>>>>> 15. Back to Top Button <<<<<<<<< */
.back-top {
    position: fixed;
    right: 1rem;
    bottom: 1.125rem;
    width: 2.625rem;
    height: 2.625rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    cursor: pointer;
    z-index: 9999;
}

/* >>>>>>> 16. Pagination & View All <<<<<<<<< */
.view-all-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    margin: 0 auto;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.products-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.products-pagination .page-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    min-width: 48px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    color: #333;
    margin: 0 2px;
}

.products-pagination .page-btn.active,
.products-pagination .page-btn:hover:not(.disabled) {
    background: #8b2500;
    color: white;
    border-color: #8b2500;
}

.products-pagination .page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* >>>>>>> 18. Loading & Error States <<<<<<<<< */
.loading-products,
.error-products,
.no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
}

.error-products {
    color: #c62828;
}

/* >>>>>>> 15. Back to Top Button <<<<<<<<< */
.back-top {
    position: fixed;
    right: 1rem;
    bottom: 1.125rem;
    width: 2.625rem;
    height: 2.625rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    cursor: pointer;
    z-index: 9999;
}

/* >>>>>>> 16. Pagination & View All <<<<<<<<< */
.view-all-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    margin: 0 auto;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.products-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.products-pagination .page-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    min-width: 48px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    color: #333;
    margin: 0 2px;
}

.products-pagination .page-btn.active,
.products-pagination .page-btn:hover:not(.disabled) {
    background: #8b2500;
    color: white;
    border-color: #8b2500;
}

.products-pagination .page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}




/* ==================== OUR PROCESS SECTION ==================== */
.our-process {
    overflow: hidden;
    background: linear-gradient(to bottom, #f9faf8 0%, #e8f0e0 100%);
}

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
    /* Launch-stable: never hide content by default (some browsers + content-visibility caused "missing sections" on reload). */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #2A7F2D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.process-step h4 {
    color: #2A7F2D;
    margin-bottom: 0.5rem;
}

.process-connector {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -2rem;
    width: 2px;
    background: #2A7F2D;
    opacity: 0.3;
}

.process-step:last-child .process-connector {
    display: none;
}

/* Mobile responsiveness for Our Process */
@media (max-width: 768px) {
    .process-step {
        padding-left: 50px;
        margin-bottom: 1.5rem;
    }
    
    .process-step::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        line-height: 35px;
    }
    
    .process-connector {
        left: 17px;
        top: 35px;
    }
}

@media (max-width: 480px) {
    .process-step {
        padding-left: 45px;
        margin-bottom: 1.2rem;
    }
    
    .process-step::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        line-height: 30px;
    }
    
    .process-connector {
        left: 15px;
        top: 30px;
    }
    
    .process-step h4 {
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
}

/* Ensure sections are visible on mobile */
@media (max-width: 768px) {
    .our-process,
    .sustainability-commitment {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .our-process .container,
    .sustainability-commitment .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .our-process .row,
    .sustainability-commitment .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .our-process .col-lg-8,
    .sustainability-commitment .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Force process and commit steps to be visible on mobile */
    .our-process .process-step,
    .sustainability-commitment .commit-step {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
    }
}


/* ==================== SUSTAINABILITY COMMITMENT SECTION ==================== */
.sustainability-commitment {
    overflow: hidden;
    background: linear-gradient(to bottom, #f9faf8 0%, #e8f0e0 100%);
}

.commit-step {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Launch-stable: never hide content by default (reload must keep content visible). */
    opacity: 1;
    transform: translateY(0);
}

.commit-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 127, 45, 0.15);
}

.commit-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.commit-step::before {
    content: attr(data-commit);
    display: block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2A7F2D 0%, #3A9F3D 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(42, 127, 45, 0.3);
}

.commit-step h4 {
    color: #2A7F2D;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.commit-step p {
    color: #555;
    line-height: 1.6;
}

.commit-connector {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 3rem;
    background: linear-gradient(to bottom, #2A7F2D, rgba(42, 127, 45, 0.2));
    opacity: 0.3;
    transform: translateX(-50%);
}

.commit-step:last-child .commit-connector {
    display: none;
}


/* Mobile responsiveness for Sustainability Commitment */
@media (max-width: 360px) {
    .commit-step {
        padding: 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .commit-step::before {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1rem;
    }
    
    .commit-connector {
        height: 2rem;
    }
}

@media (min-width: 361px) and (max-width: 420px) {
    .commit-step {
        padding: 1.8rem;
        font-size: 0.95rem;
    }
    
    .commit-step::before {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .commit-step {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 769px) {
    .commit-step {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Extra small mobile devices - 300px and up */
@media (min-width: 300px) and (max-width: 359px) {
    /* Our Process adjustments */
    .our-process {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .process-step {
        padding-left: 35px;
        margin-bottom: 1rem;
    }
    
    .process-step::before {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
    
    .process-connector {
        left: 12px;
        top: 25px;
    }
    
    .process-step h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .process-step p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Sustainability Commitment adjustments */
    .sustainability-commitment {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .commit-step {
        padding: 1.2rem;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .commit-step::before {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.85rem;
    }
    
    .commit-step h4 {
        font-size: 0.9rem;
    }
    
    .commit-step p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .commit-connector {
        height: 1.5rem;
    }
}

/* Update existing 360px breakpoint to start from 360px */
@media (min-width: 360px) and (max-width: 420px) {
    /* Our Process adjustments for 360px+ */
    .our-process {
        padding: 3rem 0 2rem 0;
    }
    
    .process-step {
        padding-left: 45px;
        margin-bottom: 1.2rem;
    }
    
    .process-step::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .process-connector {
        left: 15px;
        top: 30px;
    }
    
    /* Sustainability Commitment adjustments for 360px+ */
    .sustainability-commitment {
        padding: 3rem 0 2rem 0;
    }
    
    .commit-step {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
    
    .commit-step::before {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1rem;
    }
    
    .commit-step h4 {
        font-size: 0.95rem;
    }
    
    .commit-step p {
        font-size: 0.85rem;
    }
}


/* ==================== DAILY WELLNESS RITUALS SECTION ==================== */
.wellness-rituals {
    overflow: hidden;
    background: linear-gradient(to bottom, #f9faf8 0%, #e8f0e0 100%);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #2A7F2D, rgba(42, 127, 45, 0.3));
    opacity: 0.6;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-step {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    /* Launch-stable: never hide content by default (reload must keep content visible). */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.timeline-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2A7F2D 0%, #3A9F3D 100%);
    border: 4px solid white;
    border-radius: 50%;
    top: 30px;
    right: -17px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(42, 127, 45, 0.3);
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.right {
    left: 50%;
    text-align: left;
}

.timeline-step.right::after {
    left: -14px;
}

.timeline-step .content {
    padding: 20px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step .content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 127, 45, 0.15);
}

.timeline-step .number {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2A7F2D 0%, #3A9F3D 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    top: 30px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(42, 127, 45, 0.3);
}

.left .number {
    right: -45px;
}

.right .number {
    left: -45px;
}

.timeline-step h4 {
    color: #2A7F2D;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-step p {
    color: #555;
    line-height: 1.6;
}

.timeline-step img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.timeline-step img:hover {
    transform: scale(1.02);
}


/* Mobile responsiveness for Wellness Rituals Timeline */
@media (max-width: 768px) {
    .timeline::after {
        left: 15px;
    }
    
    .timeline-step {
        padding-left: 50px;
        padding-right: 20px;
        width: 100%;
        left: 0 !important;
        text-align: left;
    }
    
    .timeline-step::after {
        left: -1px;
    }
    
    .timeline-step .number {
        left: -30px;
    }
    
    .timeline-step .content {
        padding: 15px 20px;
    }
    
    .timeline-step img {
        max-height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .timeline-step {
        padding-left: 45px;
        padding-right: 15px;
    }
    
    .timeline-step .content {
        padding: 12px 15px;
    }
    
    .timeline-step h4 {
        font-size: 1rem;
    }
    
    .timeline-step p {
        font-size: 0.9rem;
    }
    
    .timeline-step img {
        max-height: 150px;
    }
}

@media (min-width: 300px) and (max-width: 359px) {
    .timeline-step {
        padding-left: 40px;
        padding-right: 10px;
    }
    
    .timeline-step .content {
        padding: 10px 12px;
    }
    
    .timeline-step h4 {
        font-size: 0.95rem;
    }
    
    .timeline-step p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .timeline-step img {
        max-height: 120px;
    }
    
    .timeline-step .number {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 0.8rem;
        left: -25px;
    }
    
    .timeline-step::after {
        width: 25px;
        height: 25px;
        left: -1px;
    }
}


/* ==================== TEXT SIZE REDUCTIONS & LEFT ALIGNMENT ==================== */

/* Reduce all section titles */
.section-title {
    font-size: 1.5rem !important;
    text-align: left !important;
}

/* Reduce all section subtitles */
.section-subtitle {
    font-size: 0.9rem !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0.5rem 0 2rem 0 !important;
}

/* Left align section headers */
.section-header {
    text-align: left !important;
    margin-bottom: 2rem !important;
}

/* Reduce and left align stars */
.best-stars {
    text-align: left !important;
    transform: scale(0.7) !important;
    transform-origin: left center !important;
    margin: 0.5rem 0 !important;
}

/* Our Process - reduce sizes */
.our-process .process-step h4 {
    font-size: 1rem !important;
    text-align: left !important;
}

.our-process .process-step p {
    font-size: 0.85rem !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

/* Sustainability Commitment - reduce sizes */
.sustainability-commitment .commit-step h4 {
    font-size: 1rem !important;
    text-align: left !important;
}

.sustainability-commitment .commit-step p {
    font-size: 0.85rem !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

.sustainability-commitment .commit-step {
    padding: 1.2rem !important;
    margin-bottom: 1.5rem !important;
}

/* Wellness Rituals - reduce sizes */
.wellness-rituals .timeline-step h4 {
    font-size: 1rem !important;
    text-align: left !important;
}

.wellness-rituals .timeline-step p {
    font-size: 0.85rem !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

.wellness-rituals .timeline-step .content {
    padding: 1rem 1.5rem !important;
}

.wellness-rituals .timeline-step img {
    max-height: 120px !important;
}

/* Reduce all process circles */
.process-step::before,
.commit-step::before,
.timeline-step .number {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
    line-height: 28px !important;
}

/* Reduce timeline connector */
.timeline::after {
    width: 2px !important;
}

.timeline-step::after {
    width: 20px !important;
    height: 20px !important;
    border-width: 3px !important;
}

/* Mobile adjustments for smaller text */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem !important;
    }
    
    .section-subtitle {
        font-size: 0.8rem !important;
    }
    
    .best-stars {
        transform: scale(0.6) !important;
    }
    
    .process-step h4, .commit-step h4, .timeline-step h4 {
        font-size: 0.9rem !important;
    }
    
    .process-step p, .commit-step p, .timeline-step p {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.2rem !important;
    }
    
    .section-subtitle {
        font-size: 0.75rem !important;
    }
    
    .best-stars {
        transform: scale(0.5) !important;
    }
    
    .process-step h4, .commit-step h4, .timeline-step h4 {
        font-size: 0.85rem !important;
    }
    
    .process-step p, .commit-step p, .timeline-step p {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 360px) {
    .section-title {
        font-size: 1.1rem !important;
    }
    
    .section-subtitle {
        font-size: 0.7rem !important;
    }
    
    .best-stars {
        transform: scale(0.4) !important;
    }
    
    .process-step h4, .commit-step h4, .timeline-step h4 {
        font-size: 0.8rem !important;
    }
    
    .process-step p, .commit-step p, .timeline-step p {
        font-size: 0.7rem !important;
    }
}


/* ==================== PRODUCT CARDS SHARP CORNERS FIX ==================== */

/* Remove rounded corners from all product cards */
.product-card {
    border-radius: 0 !important;
}

/* Ensure all product card variants have sharp corners */
.product-card *,
.product-card .product-image,
.product-card .product-image img,
.product-card .product-content,
.product-card .product-body,
.product-card .card-body {
    border-radius: 0 !important;
}

/* Specific product card types */
.herbs-product-card,
.supplements-product-card,
.capsules-product-card,
.remedies-product-card,
.aqueous-extracts-product-card,
.active-compounds-product-card {
    border-radius: 0 !important;
}

/* Fix any rounded corners in product card images */
.product-card img,
.product-card .product-image img {
    border-radius: 0 !important;
}

/* Ensure buttons in product cards have sharp corners */
.product-card .btn,
.product-card button,
.product-card .btn-add-to-cart,
.product-card .js-add-to-cart {
    border-radius: 0 !important;
}

/* Remove any hover transforms that might interfere */
.product-card:hover {
    transform: none !important;
}

/* Ensure product card containers have sharp corners */
.items-grid .product-card,
.product-grid .product-card,
.l-grid .product-card {
    border-radius: 0 !important;
}


/* ==================== REMOVE CART ICONS FROM BUTTONS ==================== */

/* Hide cart icons in all add to cart buttons */
.js-add-to-cart .fa-shopping-cart,
.js-add-to-cart .fa-cart,
.btn-add-to-cart .fa-shopping-cart,
.btn-add-to-cart .fa-cart,
.add-to-cart-btn .fa-shopping-cart,
.add-to-cart-btn .fa-cart {
    display: none !important;
}

/* Hide cart icons in product cards */
.product-card .fa-shopping-cart,
.product-card .fa-cart {
    display: none !important;
}

/* Ensure buttons show only text */
.js-add-to-cart,
.btn-add-to-cart,
.add-to-cart-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Remove any cart-related icons from buttons */
button[class*='cart'] .fa-shopping-cart,
button[class*='cart'] .fa-cart {
    display: none !important;
}

/* Phone Hero Final Override v20260220c (~28% shorter, adaptive by viewport) */
@media (max-width: 768px) {
  .hero {
    height: 44.5vh !important;
    min-height: clamp(300px, 52vw, 332px) !important;
  }

  .hero-card-wrapper {
    bottom: 8px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 43vh !important;
    min-height: clamp(284px, 50vw, 316px) !important;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 41.8vh !important;
    min-height: clamp(266px, 48vw, 302px) !important;
  }

  .hero-card-wrapper {
    bottom: 6px !important;
  }
}

@media (max-width: 420px) {
  .hero {
    height: 40.3vh !important;
    min-height: clamp(252px, 46vw, 288px) !important;
  }
}

@media (max-width: 380px) {
  .hero {
    height: 39vh !important;
    min-height: clamp(238px, 45vw, 274px) !important;
  }
}

@media (max-width: 320px) {
  .hero {
    height: 37vh !important;
    min-height: clamp(220px, 43vw, 252px) !important;
  }
}

/* Phone hero height trim (~28%) */
@media (max-width: 419px) {
  .hero {
    height: 40vh !important;
    min-height: 255px !important;
  }
}

@media (min-width: 420px) and (max-width: 767px) {
  .hero {
    height: 42vh !important;
    min-height: 286px !important;
  }
}

/* ===== Hero Responsive Matrix (32in desktop to 320px phones) ===== */
@media (min-width: 2200px) {
  .hero {
    height: 84vh !important;
    min-height: 760px !important;
    max-height: 1120px !important;
  }

  .hero-slide-img {
    object-position: center 42% !important;
  }

  .hero-card-wrapper {
    top: 21% !important;
    right: 9% !important;
  }

  .hero-card {
    max-width: 560px !important;
    padding: 2.2rem 1.9rem !important;
  }

  .hero-card h4 {
    font-size: 1.52rem !important;
  }
}

@media (min-width: 1800px) and (max-width: 2199px) {
  .hero {
    height: 80vh !important;
    min-height: 700px !important;
    max-height: 1020px !important;
  }

  .hero-slide-img {
    object-position: center 44% !important;
  }

  .hero-card-wrapper {
    top: 20% !important;
    right: 7% !important;
  }
}

@media (min-width: 1536px) and (max-width: 1799px) {
  .hero {
    height: 76vh !important;
    min-height: 650px !important;
  }

  .hero-card-wrapper {
    right: 6% !important;
    top: 19% !important;
  }
}

@media (min-width: 1280px) and (max-width: 1535px) {
  .hero {
    height: 72vh !important;
    min-height: 600px !important;
  }

  .hero-card-wrapper {
    top: 18% !important;
    right: 5.5% !important;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  .hero {
    height: 68vh !important;
    min-height: 540px !important;
  }

  .hero-card-wrapper {
    top: 17% !important;
    right: 4.5% !important;
  }

  .hero-card {
    max-width: 410px !important;
  }
}

@media (max-width: 991px) {
  .hero {
    height: 64vh !important;
    min-height: 500px !important;
    max-height: none !important;
  }

  .hero-slide-img {
    object-position: center 43% !important;
  }

  .hero-card-wrapper {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 14px !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 620px) !important;
    padding: 0 8px !important;
  }

  .hero-card {
    width: 100% !important;
    max-width: none !important;
    padding: 1.1rem 1rem !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
  }

  .hero-kicker {
    font-size: 0.66rem !important;
    margin-bottom: 0.42rem !important;
  }

  .hero-card h4 {
    font-size: 1.02rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-card .hero-description {
    font-size: 0.83rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.62rem !important;
  }

  .hero-pill-row {
    gap: 0.35rem !important;
    margin-bottom: 0.7rem !important;
  }

  .hero-pill {
    font-size: 0.62rem !important;
    padding: 0.2rem 0.45rem !important;
  }

  .hero-card-wrapper .hero-card-btn {
    height: 2.15rem !important;
    font-size: 0.7rem !important;
    padding: 0 0.82rem !important;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 62vh !important;
    min-height: 460px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 60vh !important;
    min-height: 420px !important;
  }

  .hero-card {
    padding: 1rem 0.86rem !important;
  }

  .hero-card h4 {
    font-size: 0.95rem !important;
  }

  .hero-card .hero-description {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 58vh !important;
    min-height: 390px !important;
  }

  .hero-slide-img {
    object-position: center 44% !important;
  }

  .hero-card-wrapper {
    width: calc(100vw - 14px) !important;
    bottom: 10px !important;
    padding: 0 4px !important;
  }
}

@media (max-width: 420px) {
  .hero {
    height: 56vh !important;
    min-height: 365px !important;
  }

  .hero-card h4 {
    font-size: 0.88rem !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-card .hero-description {
    font-size: 0.74rem !important;
    margin-bottom: 0.54rem !important;
  }

  .hero-pill {
    font-size: 0.57rem !important;
  }
}

@media (max-width: 380px) {
  .hero {
    height: 54vh !important;
    min-height: 342px !important;
  }

  .hero-card {
    padding: 0.84rem 0.72rem !important;
  }

  .hero-kicker {
    font-size: 0.6rem !important;
  }

  .hero-card-wrapper .hero-card-btn {
    height: 2rem !important;
    font-size: 0.66rem !important;
  }
}

@media (max-width: 320px) {
  .hero {
    height: 52vh !important;
    min-height: 320px !important;
  }

  .hero-card .hero-description,
  .hero-pill-row {
    display: none !important;
  }

  .hero-card h4 {
    font-size: 0.82rem !important;
    margin-bottom: 0.45rem !important;
  }
}

/* Performance: defer rendering ONLY for far below-the-fold sections.
   NOTE: applying content-visibility to above-fold sections caused intermittent "missing content" on reload. */
.team,
.newsletter-section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px 800px;
}

/* Additional below-the-fold sections on homepage */
@supports (content-visibility: auto) {
    .our-process,
    .sustainability-commitment,
    .wellness-rituals {
        content-visibility: auto;
        contain-intrinsic-size: 1000px 900px;
    }

    .curated-cures,
    .features {
        content-visibility: auto;
        contain-intrinsic-size: 1000px 860px;
    }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-main-image {
    animation: none !important;
  }

  .home-scroll-reveal,
  .home-scroll-reveal-item,
  .home-reveal-ready .home-scroll-reveal,
  .home-reveal-ready .home-scroll-reveal-item {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* Override cart icon styles only in buttons and product cards, not navigation */
.js-add-to-cart .fa-shopping-cart,
.js-add-to-cart .fa-cart,
.btn-add-to-cart .fa-shopping-cart,
.btn-add-to-cart .fa-cart,
.add-to-cart-btn .fa-shopping-cart,
.add-to-cart-btn .fa-cart,
.product-card .fa-shopping-cart,
.product-card .fa-cart,
button[class*='cart'] .fa-shopping-cart,
button[class*='cart'] .fa-cart {
    display: none !important;
}


