/* ==========================================================================
   KOVAI THENNAMUDHU (கோவை தென்னமுது)
   Design System & Stylesheet
   Strict 4-Colour Palette:
   #FBF5DD (cream), #E7E1B1 (sand), #306D29 (green), #0D530E (deep green)
   ========================================================================== */

:root {
  /* Strict 4-Colour Tokens */
  --color-cream: #FBF5DD;
  --color-sand: #E7E1B1;
  --color-green: #306D29;
  --color-deep-green: #0D530E;

  /* Semantic Theme Tokens (Default: Light Mode) */
  --bg-primary: var(--color-cream);
  --bg-secondary: var(--color-sand);
  --bg-dark: var(--color-deep-green);
  --text-primary: var(--color-deep-green);
  --text-secondary: var(--color-green);
  --text-on-dark: var(--color-cream);
  --text-muted-on-dark: var(--color-sand);
  --card-bg: var(--color-sand);
  --border-color: rgba(13, 83, 14, 0.2);
  --btn-bg: var(--color-green);
  --btn-text: var(--color-cream);
  --btn-hover: var(--color-deep-green);
  --focus-ring: #0D530E;

  /* Typography */
  --font-base: 'Anek Tamil', system-ui, -apple-system, sans-serif;
  --line-length-max: 62ch;
}

/* Dark Mode Overrides (Deep green background with cream text) */
[data-theme="dark"] {
  --bg-primary: #0D530E;
  --bg-secondary: #133D14;
  --bg-dark: #072B08;
  --text-primary: #FBF5DD;
  --text-secondary: #E7E1B1;
  --text-on-dark: #FBF5DD;
  --text-muted-on-dark: #E7E1B1;
  --card-bg: #143A14;
  --border-color: rgba(251, 245, 221, 0.25);
  --btn-bg: #306D29;
  --btn-text: #FBF5DD;
  --btn-hover: #E7E1B1;
  --focus-ring: #FBF5DD;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-base);
  font-size: 18px;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-bottom: 74px;
  /* Space for mobile sticky bottom bar */
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

@media (min-width: 860px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4 {
  font-family: var(--font-base);
  font-weight: 800;
  line-height: 1.25;
  color: inherit;
  text-transform: none;
  /* No all-caps */
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p,
li,
input,
textarea,
button {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

p {
  max-width: var(--line-length-max);
}

.tamil-title {
  display: block;
  font-weight: 700;
  letter-spacing: 0;
}

.flavor-tamil-accent {
  display: inline-block;
  font-size: 0.58em;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.85;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.tamil-text {
  font-weight: 500;
}

/* Accessible Keyboard Focus */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding-top: 72px;
  padding-bottom: 72px;
}

/* ==========================================================================
   Header (Sticky)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg, rgba(251, 245, 221, 0.88));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 83, 14, 0.08);
  transition: background-color 1.15s cubic-bezier(0.2, 0.85, 0.25, 1),
    border-color 0.4s ease,
    color 0.4s ease;
}

.site-header[data-theme-tone="dark"] {
  --text-primary: #FBF5DD;
  --text-secondary: #E7E1B1;
  --border-color: rgba(251, 245, 221, 0.22);
  --bg-secondary: rgba(251, 245, 221, 0.15);
  border-bottom: 1px solid rgba(251, 245, 221, 0.12);
}

[data-theme="dark"] .site-header {
  --header-bg: rgba(13, 83, 14, 0.88);
  border-bottom: 1px solid rgba(251, 245, 221, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.brand-logo {
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-logo-tamil {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}

.brand-logo-en {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Desktop & Mobile Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.header-actions {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: var(--bg-secondary);
}

.nav-link.active {
  background-color: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  /* Pill */
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
}

.btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--color-cream);
}

.btn-outline {
  background-color: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  background-color: rgba(13, 83, 14, 0.1);
}

.header-order-btn {
  display: none;
}

@media (min-width: 680px) {
  .header-order-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   Home Hero Section: Signature Arc-Swing Layered Stage
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 92vh;
  background-color: var(--bg-color, #FBF5DD);
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.08) 100%);
  transition: background-color 1.15s cubic-bezier(0.2, 0.85, 0.25, 1),
    color 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2.5rem 1rem;
  overflow: hidden;
  touch-action: pan-y;
}

/* Soft Gradient Bleed into Section Below */
.hero-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(251, 245, 221, 0) 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .hero-slider::after {
  background: linear-gradient(to bottom, rgba(13, 83, 14, 0) 0%, var(--bg-primary) 100%);
}

@media (min-width: 768px) {
  .hero-slider {
    padding: 2rem 4rem 1.5rem;
  }
}

/* Dynamic Contrast Tone Hooks */
.hero-slider[data-theme-tone="light"] {
  color: #0D530E;
  --giant-text-color: rgba(13, 83, 14, 0.07);
  --hero-btn-bg: #306D29;
  --hero-btn-text: #FBF5DD;
  --hero-btn-hover: #0D530E;
  --hero-outline-hover: rgba(13, 83, 14, 0.12);
  --pill-active-bg: #0D530E;
  --pill-active-text: #FBF5DD;
}

.hero-slider[data-theme-tone="dark"] {
  color: #FBF5DD;
  --giant-text-color: rgba(251, 245, 221, 0.12);
  --hero-btn-bg: #FBF5DD;
  --hero-btn-text: #0D530E;
  --hero-btn-hover: #E7E1B1;
  --hero-outline-hover: rgba(251, 245, 221, 0.15);
  --pill-active-bg: #FBF5DD;
  --pill-active-text: #0D530E;
}

.hero-slider .btn-primary {
  background-color: var(--hero-btn-bg);
  color: var(--hero-btn-text);
  border-color: var(--hero-btn-bg);
}

.hero-slider .btn-primary:hover {
  background-color: var(--hero-btn-hover);
  border-color: var(--hero-btn-hover);
}

.hero-slider .btn-outline {
  border-color: currentColor;
  color: inherit;
}

.hero-slider .btn-outline:hover {
  background-color: var(--hero-outline-hover);
}

/* Center Stage with 3D Perspective */
.stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  perspective: 1200px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stage {
    min-height: 640px;
  }
}

/* Giant Background Typography: cropped by edges */
.giant-bg-text {
  font-family: var(--font-base);
  font-weight: 800;
  font-size: clamp(6.5rem, 24vw, 21rem);
  color: var(--giant-text-color);
  letter-spacing: 0.02em;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  transition: color 1.15s ease;
}

/* Slides Wrapper */
.slides-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottle Motion Wrapper for 3D Axial Roll & Arc Landing */
.bottle-motion-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: transform 1.05s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.65s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

/* Active state: centered upright, perfectly facing camera with label landing */
.slide.state-active .bottle-motion-wrap {
  transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
  opacity: 1;
}

/* Left off-screen state: rolled away leftwards on Y-axis (label turned away) + tilted */
.slide.state-left .bottle-motion-wrap {
  transform: translate3d(-55vw, 18vh, -140px) rotateY(-82deg) rotateZ(-24deg) scale(0.82);
  opacity: 0;
}

/* Right off-screen state: rolled away rightwards on Y-axis + tilted */
.slide.state-right .bottle-motion-wrap {
  transform: translate3d(55vw, 18vh, -140px) rotateY(82deg) rotateZ(24deg) scale(0.82);
  opacity: 0;
}

/* Interactive Drag / Scroll responsiveness */
.bottle-motion-wrap.is-dragging {
  transition: none !important;
}

/* Dedicated Tilt Layer for 60fps/120fps Zero-Lag Mouse Parallax */
.bottle-tilt-layer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Square Bottle Styling & Continuous Idle Bobbing Physics */
.can-img {
  height: clamp(480px, 72vh, 690px);
  max-height: 700px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 48px rgba(13, 83, 14, 0.35));
  transition: filter 0.3s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Landing from Right (scrolling down / swiping left -> next flavor) */
.slide.state-active.landing-from-right .can-img {
  animation: bottleLandFromRight 1.05s cubic-bezier(0.19, 1, 0.22, 1) forwards,
    bottleIdleFloat 5.2s 1.05s ease-in-out infinite alternate;
}

/* Landing from Left (scrolling up / swiping right -> previous flavor) */
.slide.state-active.landing-from-left .can-img {
  animation: bottleLandFromLeft 1.05s cubic-bezier(0.19, 1, 0.22, 1) forwards,
    bottleIdleFloat 5.2s 1.05s ease-in-out infinite alternate;
}

/* Default / Initial Landing */
.slide.state-active:not(.landing-from-right):not(.landing-from-left) .can-img {
  animation: bottleLabelLanding 1.05s cubic-bezier(0.19, 1, 0.22, 1) forwards,
    bottleIdleFloat 5.2s 1.05s ease-in-out infinite alternate;
}

@keyframes bottleLandFromRight {
  0% {
    transform: translateY(-16px) rotateY(22deg) rotateZ(3deg) scale(0.95);
    filter: drop-shadow(0 16px 24px rgba(13, 83, 14, 0.18)) brightness(0.92);
  }

  50% {
    transform: translateY(4px) rotateY(-3.5deg) rotateZ(-0.8deg) scale(1.02);
    filter: drop-shadow(0 40px 60px rgba(13, 83, 14, 0.42)) brightness(1.08);
  }

  75% {
    transform: translateY(-1.5px) rotateY(1deg) rotateZ(0.2deg) scale(1.005);
  }

  100% {
    transform: translateY(0px) rotateY(0deg) rotateZ(0deg) scale(1);
    filter: drop-shadow(0 32px 48px rgba(13, 83, 14, 0.35)) brightness(1);
  }
}

@keyframes bottleLandFromLeft {
  0% {
    transform: translateY(-16px) rotateY(-22deg) rotateZ(-3deg) scale(0.95);
    filter: drop-shadow(0 16px 24px rgba(13, 83, 14, 0.18)) brightness(0.92);
  }

  50% {
    transform: translateY(4px) rotateY(3.5deg) rotateZ(0.8deg) scale(1.02);
    filter: drop-shadow(0 40px 60px rgba(13, 83, 14, 0.42)) brightness(1.08);
  }

  75% {
    transform: translateY(-1.5px) rotateY(-1deg) rotateZ(-0.2deg) scale(1.005);
  }

  100% {
    transform: translateY(0px) rotateY(0deg) rotateZ(0deg) scale(1);
    filter: drop-shadow(0 32px 48px rgba(13, 83, 14, 0.35)) brightness(1);
  }
}

@keyframes bottleLabelLanding {
  0% {
    transform: translateY(-12px) scale(0.96) rotate(-2deg);
    filter: drop-shadow(0 20px 32px rgba(13, 83, 14, 0.2)) brightness(0.92);
  }

  60% {
    transform: translateY(4px) scale(1.02) rotate(0.8deg);
    filter: drop-shadow(0 38px 56px rgba(13, 83, 14, 0.42)) brightness(1.06);
  }

  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
    filter: drop-shadow(0 32px 48px rgba(13, 83, 14, 0.35)) brightness(1);
  }
}

@keyframes bottleIdleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(1.2deg);
  }

  100% {
    transform: translateY(6px) rotate(-1deg);
  }
}

/* ==========================================================================
   Creamy Coconut Milk Splash Dynamic Swirl Layer
   ========================================================================== */
.milk-splash-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(520px, 75vh, 760px);
  height: clamp(520px, 75vh, 760px);
  pointer-events: none;
  z-index: 5;
  /* Behind bottle (z-index: 6), in front of background */
  display: flex;
  align-items: center;
  justify-content: center;
}

.milk-splash {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(13, 83, 14, 0.16));
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.75s ease;
  will-change: transform, opacity;
  transform: scale(0.65) rotate(-18deg);
  opacity: 0;
}

/* Splash Active State: Expands smoothly into place */
.slide.state-active .milk-splash {
  transform: scale(1) rotate(0deg);
  opacity: 0.95;
  animation: splashFloat 6.8s ease-in-out infinite alternate;
}

/* Splash Transition Exit Left */
.slide.state-left .milk-splash {
  transform: translate(-15%, 15%) scale(0.55) rotate(-35deg);
  opacity: 0;
}

/* Splash Transition Exit Right */
.slide.state-right .milk-splash {
  transform: translate(15%, 15%) scale(0.55) rotate(35deg);
  opacity: 0;
}

@keyframes splashFloat {
  0% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.025) translateY(-6px) rotate(1.2deg);
  }

  100% {
    transform: scale(0.985) translateY(4px) rotate(-0.8deg);
  }
}

/* Floating Real Ingredient Elements (Snug around bottle) */
.fruit {
  position: absolute;
  object-fit: contain;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22));
}

.slide.state-active .fruit {
  opacity: 1;
}

/* Floating Positions Snug Around Zoomed Bottle */
.fruit-1 {
  width: clamp(75px, 8vw, 115px);
  top: 18%;
  left: calc(50% - 175px);
  z-index: 4;
  /* Behind bottle shoulder */
}

.fruit-2 {
  width: clamp(90px, 10vw, 140px);
  bottom: 14%;
  left: calc(50% - 200px);
  z-index: 8;
  /* In front of bottle base & splash */
}

.fruit-3 {
  width: clamp(80px, 9vw, 125px);
  top: 18%;
  left: calc(50% + 80px);
  z-index: 4;
  /* Behind bottle right edge */
}

.fruit-4 {
  width: clamp(75px, 8vw, 115px);
  bottom: 16%;
  left: calc(50% + 95px);
  z-index: 8;
  /* In front of bottle lower right edge */
  filter: blur(0.8px) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}

.slide.state-active .fruit-1 {
  transform: translate(-18px, -14px) rotate(-12deg) scale(1);
  animation: fruitBob1 5.8s ease-in-out infinite alternate;
}

.slide.state-active .fruit-2 {
  transform: translate(-25px, 12px) rotate(10deg) scale(1);
  animation: fruitBob2 6.2s ease-in-out infinite alternate;
}

.slide.state-active .fruit-3 {
  transform: translate(22px, -18px) rotate(16deg) scale(1);
  animation: fruitBob3 5.4s ease-in-out infinite alternate;
}

.slide.state-active .fruit-4 {
  transform: translate(14px, 16px) rotate(-20deg) scale(1);
  animation: fruitBob4 6.8s ease-in-out infinite alternate;
}

@keyframes fruitBob1 {
  0% {
    transform: translate(-18px, -14px) rotate(-12deg);
  }

  100% {
    transform: translate(-10px, -24px) rotate(-5deg);
  }
}

@keyframes fruitBob2 {
  0% {
    transform: translate(-25px, 12px) rotate(10deg);
  }

  100% {
    transform: translate(-18px, 2px) rotate(16deg);
  }
}

@keyframes fruitBob3 {
  0% {
    transform: translate(22px, -18px) rotate(16deg);
  }

  100% {
    transform: translate(30px, -8px) rotate(10deg);
  }
}

@keyframes fruitBob4 {
  0% {
    transform: translate(14px, 16px) rotate(-20deg);
  }

  100% {
    transform: translate(8px, 26px) rotate(-14deg);
  }
}

.slide.state-left .fruit,
.slide.state-right .fruit {
  transform: translate(0, 80px) scale(0.2);
  opacity: 0;
}

/* Bottom-Left Flavor Text */
.flavor-info {
  position: absolute;
  bottom: 1rem;
  left: 0;
  max-width: 400px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flavor-badge {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

.title-mask {
  overflow: hidden;
  margin-bottom: 0.3rem;
}

#flavor-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease;
}

#flavor-title.slide-up-out {
  transform: translateY(-100%);
  opacity: 0;
}

#flavor-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 0.8rem;
  max-width: 44ch;
}

.hero-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Right Side Size Selector Pills */
.size-selector {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 15;
}

.size-pill {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.size-pill span {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.85;
}

.size-pill.active,
.size-pill:hover {
  background: var(--pill-active-bg);
  color: var(--pill-active-text);
  border-color: var(--pill-active-bg);
}

/* Footer Controls */
.slider-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
  height: 60px;
}

.nav-arrows {
  display: flex;
  gap: 1rem;
}

.nav-arrows button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
}

.nav-arrows button:hover {
  background: currentColor;
  color: var(--bg-color);
  transform: scale(1.06);
}

.nav-arrows button.hidden {
  opacity: 0.25;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  right: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .hero-slider {
    padding: 1.2rem 1.2rem 1rem;
  }

  .size-selector {
    right: -4px;
    gap: 0.6rem;
  }

  .size-pill {
    width: 48px;
    height: 48px;
    font-size: 0.72rem;
  }

  .size-pill span {
    font-size: 0.55rem;
  }

  .fruit-1,
  .fruit-2,
  .fruit-3,
  .fruit-4 {
    display: none;
    /* Hide floating fruit on small screens to keep clean bottle focus */
  }

  .milk-splash-wrap {
    width: 320px;
    height: 320px;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ==========================================================================
   2. Trust Badges
   ========================================================================== */
.badges-section {
  background-color: var(--bg-primary);
  /* border-bottom: 1px solid var(--border-color); */
  padding: 42px 0;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 820px) {
  .badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.badge-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-number {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.badge-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.badge-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   3. Flavour Grid (Home)
   ========================================================================== */
.flavour-grid-section {
  background-color: var(--bg-primary);
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 6px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.flavour-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 580px) {
  .flavour-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .flavour-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flavour-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.flavour-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-green);
}

.flavour-card-img-wrap {
  width: 140px;
  height: 200px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flavour-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.flavour-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.flavour-card-tamil {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.flavour-card-action {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-green);
  margin-top: auto;
}

/* ==========================================================================
   4. "Why Coconut Milk" Band on Deep Green
   ========================================================================== */
.benefits-band {
  background-color: var(--color-deep-green);
  color: var(--color-cream);
  padding: 80px 0;
}

.benefits-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.benefits-head h2 {
  color: var(--color-cream);
}

.benefits-head p {
  color: var(--color-sand);
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  border-left: 2px solid var(--color-sand);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cream);
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--color-sand);
  line-height: 1.5;
}

.claim-note {
  display: inline-block;
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--color-sand);
  opacity: 0.8;
  font-style: italic;
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   5. Story Teaser
   ========================================================================== */
.story-teaser-section {
  background-color: var(--bg-primary);
}

.story-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 820px) {
  .story-teaser-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.story-teaser-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
}

.story-teaser-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.story-teaser-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   PRODUCTS PAGE (Vertical list, one row per product)
   ========================================================================== */
.product-list-page {
  background-color: var(--bg-primary);
}

/* ==========================================================================
   PRODUCTS PAGE: Full Warm Beige Canvas & Elevated Pill Cards (Banana Style)
   ========================================================================== */
.product-list-page {
  background-color: var(--color-cream);
  min-height: calc(100vh - 80px);
}

.product-rows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 36px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Elevated Pill Card Styled After Reference Mockup */
.product-row-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(13, 83, 14, 0.08);
  border-radius: 32px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(13, 83, 14, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-row-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(13, 83, 14, 0.11), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(48, 109, 41, 0.25);
}

@media (min-width: 820px) {
  .product-row-card {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
}

/* Floating Bottle on the Left (Banana Reference Style) */
.product-row-img-wrap {
  width: 140px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-row-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(13, 83, 14, 0.2));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-row-card:hover .product-row-img-wrap img {
  transform: scale(1.06) rotate(-2deg);
}

.product-row-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header with Title and Tamil Accent */
.product-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.product-row-titles {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-row-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-deep-green);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.product-row-tamil {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-green);
  opacity: 0.9;
}

.product-row-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(48, 109, 41, 0.1);
  color: var(--color-deep-green);
  padding: 4px 10px;
  border-radius: 9999px;
}

.product-row-desc {
  font-size: 0.96rem;
  color: #334433;
  line-height: 1.5;
  margin-bottom: 2px;
}

/* Size Selection Pills */
.product-size-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.prod-size-btn {
  background: var(--color-cream);
  border: 1px solid rgba(13, 83, 14, 0.15);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-deep-green);
  cursor: pointer;
  transition: all 0.2s ease;
}

.prod-size-btn:hover {
  background-color: var(--color-sand);
}

.prod-size-btn.active {
  background-color: var(--color-deep-green);
  color: var(--color-cream);
  border-color: var(--color-deep-green);
  box-shadow: 0 4px 10px rgba(13, 83, 14, 0.2);
}

/* Bottom Row (Price on Left, Stepper + Actions on Right) */
.product-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  padding-top: 8px;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-deep-green);
  letter-spacing: -0.02em;
}

.product-price-unit {
  font-size: 0.88rem;
  color: var(--color-green);
  font-weight: 500;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* The Exact Sleek Dark Rounded Stepper Pill from Reference Photo */
.product-stepper-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #172417;
  /* Sleek rich dark pill */
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 4px 10px;
  gap: 12px;
  min-width: 116px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.stepper-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.stepper-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.stepper-btn:active {
  transform: scale(0.9);
}

.stepper-qty {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 24px;
  text-align: center;
}

/* Order on WhatsApp Button */
.product-order-btn {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(48, 109, 41, 0.25);
  text-decoration: none;
}

.product-upi-btn {
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 9999px;
}

/* Expandable Drawer for Ingredients, Nutrition, Shelf Life */
.product-drawer {
  width: 100%;
  border-top: 1px solid rgba(13, 83, 14, 0.1);
  padding-top: 12px;
  margin-top: 6px;
}

.product-drawer details {
  cursor: pointer;
}

.product-drawer summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.product-drawer summary::-webkit-details-marker {
  display: none;
}

.product-drawer summary::after {
  content: "↓";
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.product-drawer details[open] summary::after {
  transform: rotate(180deg);
}

.drawer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 14px;
}

@media (min-width: 680px) {
  .drawer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.drawer-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-block-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: none;
  color: var(--text-secondary);
}

.drawer-block-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #445544;
}

/* Coming Soon Row */
.product-coming-soon-row {
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(13, 83, 14, 0.2);
  border-radius: 32px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.product-coming-soon-row h3 {
  font-size: 1.35rem;
  color: var(--color-deep-green);
}

.product-coming-soon-row p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
}

/* Dark Mode Harmonization */
[data-theme="dark"] .product-list-page {
  background-color: #072208;
}

[data-theme="dark"] .product-row-card {
  background-color: #0F3210;
  border-color: rgba(251, 245, 221, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .product-row-name,
[data-theme="dark"] .product-price-val {
  color: var(--color-cream);
}

[data-theme="dark"] .product-row-desc {
  color: #D2DECA;
}

[data-theme="dark"] .prod-size-btn {
  background: rgba(251, 245, 221, 0.08);
  border-color: rgba(251, 245, 221, 0.2);
  color: var(--color-cream);
}

[data-theme="dark"] .prod-size-btn.active {
  background: var(--color-green);
  color: var(--color-cream);
}

[data-theme="dark"] .product-stepper-pill {
  background-color: #051406;
  border: 1px solid rgba(251, 245, 221, 0.2);
}

[data-theme="dark"] .drawer-block-text {
  color: #D2DECA;
}

[data-theme="dark"] .product-coming-soon-row {
  background-color: rgba(15, 50, 16, 0.5);
  border-color: rgba(251, 245, 221, 0.2);
}

/* ==========================================================================
   OUR STORY PAGE
   ========================================================================== */
.story-page {
  background-color: var(--bg-primary);
}

.story-hero-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 64px;
}

@media (min-width: 820px) {
  .story-hero-block {
    grid-template-columns: 1fr 1fr;
  }
}

/* How It's Made: 3 Steps */
.process-section {
  background-color: var(--bg-secondary);
  border-radius: 16px;
  padding: 48px 28px;
  margin-bottom: 64px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step-icon {
  width: 58px;
  height: 58px;
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.process-step-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 3 Core Promises */
.promises-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .promises-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-card {
  border-left: 3px solid var(--color-green);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promise-word {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.promise-line {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Sourcing & Certifications */
.sourcing-block {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .sourcing-block {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-page {
  background-color: var(--bg-primary);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 32px;
}

@media (min-width: 820px) {
  .contact-layout-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.contact-phone-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-link {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.phone-link:hover {
  color: var(--color-green);
}

.map-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact WhatsApp Form */
.contact-form-col {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.contact-form-col h3 {
  margin-bottom: 6px;
}

.contact-form-col p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-green);
  outline: none;
}

/* ==========================================================================
   Footer (Signature Deep Green Island Pill Card)
   ========================================================================== */
.site-footer {
  background-color: var(--color-deep-green);
  color: var(--color-cream);
  max-width: 1200px;
  width: calc(100% - 36px);
  margin: 52px auto 36px;
  border-radius: 36px;
  padding: 48px 40px 24px;
  box-shadow: 0 20px 50px rgba(13, 83, 14, 0.16);
  position: relative;
}

.site-footer .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

@media (max-width: 767px) {
  .site-footer {
    width: calc(100% - 20px);
    margin: 32px auto 86px; /* Extra bottom clearance for mobile sticky bar */
    border-radius: 28px;
    padding: 36px 20px 20px;
  }
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(251, 245, 221, 0.18);
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-tamil {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-cream);
}

.footer-brand-en {
  font-size: 0.9rem;
  color: var(--color-sand);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--color-sand);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 8px;
}

.footer-col p {
  color: var(--color-sand) !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links-list a {
  color: var(--color-sand);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--color-cream);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-sand);
  opacity: 0.85;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-sep {
  opacity: 0.4;
}

.footer-admin-link {
  color: var(--color-sand);
  text-decoration: none;
  font-size: 0.82rem;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-admin-link:hover {
  opacity: 1;
  color: var(--color-cream);
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Sticky Bottom Bar ("Call" & "Order now")
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  gap: 12px;
}

@media (min-width: 860px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Home Minimal Invitation Section
   ========================================================================== */
.home-invitation-section {
  background-color: var(--bg-primary);
  /* border-top: 1px solid var(--border-color); */
  padding: 64px 0 84px;
}

.home-invitation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 820px) {
  .home-invitation-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
  }
}

.home-invitation-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(13, 83, 14, 0.12);
}

.home-invitation-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.home-invitation-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-invitation-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ==========================================================================
   Events & Journey Page Styling
   ========================================================================== */
.events-page {
  background-color: var(--bg-primary);
}

.sub-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: var(--color-sand);
  color: var(--color-deep-green);
  margin-bottom: 8px;
}

.section-subhead {
  margin-bottom: 28px;
}

.section-subhead h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.section-subhead p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.events-section {
  margin-bottom: 64px;
}

/* VIP & Big Shots Grid */
.vip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vip-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 83, 14, 0.12);
}

.vip-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: rgba(13, 83, 14, 0.05);
}

.vip-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: var(--color-deep-green);
  color: var(--color-cream);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed var(--border-color);
  color: var(--text-secondary);
  padding: 20px;
  text-align: center;
}

.photo-icon {
  font-size: 2rem;
  opacity: 0.7;
}

.photo-hint {
  font-size: 0.85rem;
  font-weight: 500;
}

.vip-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.vip-name {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
}

.vip-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.vip-served-badge {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-green);
  background-color: rgba(48, 109, 41, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Event Gallery Grid */
.events-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .events-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: rgba(13, 83, 14, 0.05);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(13, 83, 14, 0.8);
  color: var(--color-cream);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.gallery-info {
  padding: 18px;
}

.gallery-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.gallery-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Event Catering CTA Banner */
.event-catering-cta {
  background-color: var(--color-deep-green);
  color: var(--color-cream);
  border-radius: 20px;
  padding: 48px 32px;
  margin: 64px 0;
  box-shadow: 0 20px 40px rgba(13, 83, 14, 0.25);
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--color-cream);
}

.cta-inner p {
  color: var(--color-sand);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Foundation Block */
.foundation-block {
  margin: 48px 0;
  border-top: 1px solid var(--border-color);
  padding-top: 48px;
}

.foundation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 768px) {
  .foundation-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.foundation-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foundation-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.foundation-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.foundation-stat-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 6px;
}


/* ==========================================================================
   UPI QR Code Instant Payment Modal
   ========================================================================== */
.upi-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(13, 83, 14, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.upi-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.upi-modal-card {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(13, 83, 14, 0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.upi-modal-backdrop.active .upi-modal-card {
  transform: scale(1) translateY(0);
}

.upi-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.upi-modal-close:hover {
  background-color: var(--color-sand);
  transform: rotate(90deg);
}

.upi-modal-header {
  text-align: center;
  padding-right: 20px;
}

.upi-modal-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-green);
  display: block;
  margin-bottom: 2px;
}

.upi-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.upi-modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* Order Summary Box */
.upi-order-summary {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upi-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
}

.upi-summary-item-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.upi-summary-price {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-green);
}

.upi-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.upi-size-pills {
  display: flex;
  gap: 6px;
}

.upi-mini-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upi-mini-pill.active {
  background: var(--color-deep-green);
  color: var(--color-cream);
  border-color: var(--color-deep-green);
}

.upi-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--card-bg);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.15s;
}

.qty-btn:hover {
  background-color: var(--color-sand);
}

.qty-count {
  padding: 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* QR Code Display */
.upi-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.upi-qr-frame {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 16px;
  border: 2px solid rgba(13, 83, 14, 0.12);
  box-shadow: 0 8px 24px rgba(13, 83, 14, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upi-qr-frame img {
  display: block;
  border-radius: 6px;
}

.upi-scan-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Mobile Intent Button */
.upi-mobile-intent-wrap {
  width: 100%;
}

.upi-pay-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(48, 109, 41, 0.25);
}

.upi-flash-icon {
  font-size: 1.2rem;
}

/* Copy UPI ID */
.upi-id-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
}

.upi-id-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.upi-id-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.upi-id-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: monospace;
}

.upi-copy-btn {
  padding: 5px 12px;
  font-size: 0.82rem;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.upi-copy-btn.copied {
  background: var(--color-green);
  color: var(--color-cream);
  border-color: var(--color-green);
}

/* WhatsApp Confirm Step */
.upi-confirm-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.upi-confirm-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

.upi-wa-confirm-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  padding: 10px 14px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ingredient-left,
  .ingredient-right {
    animation: none;
  }
}