/* ============================================
   Super Greens PDP — styles.css
   Mobile-first, breakpoints: 640 / 1024 / 1280
   ============================================ */

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

:root {
  /* Colors */
  --c-dark-green: #043a20;
  --c-dark-green-alt: #023a20;
  --c-body-green: #163317;
  --c-orange: #d66041;
  --c-orange-dark: #bf4d31;
  --c-orange-light: #fef8f1;
  --c-lime: #dcff90;
  --c-subscribe-bg: #f9f8f6;
  --c-subscribe-border: #4b4b4b;
  --c-gray-text: #6e6e6e;
  --c-gray-border: #cdcdcd;
  --c-gray-border-light: rgba(205, 205, 205, 0.5);
  --c-pill-border: rgba(2, 58, 32, 0.5);
  --c-star: #ffac09;
  --c-accordion-icon: #50000b;
  --c-white: #ffffff;
  --c-black: #000000;

  /* Typography — families */
  --ff-inter: 'Inter', sans-serif;
  --ff-lato: 'Lato', sans-serif;
  --ff-script: 'Pacifico', cursive;

  /* Typography — type ramp (Shopify Dawn-style 5-tier scale) */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 24px;

  /* Spacing — 4/8px grid */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Layout */
  --header-h: 72px;
  --container-max: 1440px;
  --side-pad: var(--space-lg);
  --col-gap: 60px;

  /* Shared section rhythm */
  --section-pad-y: 80px;
  --section-inner-max: 1024px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* --- Announcement Bar --- */
.announce-bar {
  background: #1a5c35;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px var(--space-2xl);
  min-height: 36px;
  overflow: hidden;
}

.announce-bar.is-hidden {
  display: none;
}

.announce-bar__slides {
  position: relative;
  text-align: center;
  width: 100%;
}

.announce-bar__slide {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: announce-fade 0.4s ease;
}

.announce-bar__slide.is-active {
  display: flex;
}

@keyframes announce-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.announce-bar__coupon {
  display: inline-block;
  font-family: var(--ff-inter);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--c-dark-green);
  background: var(--c-lime);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px dashed rgba(4, 58, 32, 0.3);
}

.announce-bar__text {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-white);
  letter-spacing: 0.2px;
}

.announce-bar__timer {
  font-weight: 700;
  color: var(--c-lime);
  font-variant-numeric: tabular-nums;
}

.announce-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.announce-bar__close:hover {
  color: var(--c-white);
}

body {
  font-family: var(--ff-inter);
  color: var(--c-dark-green);
  background: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* --- Header — matches Super Greens hemp nav --- */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: #033a20;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-header__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Center Nav */
.site-header__nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px var(--space-lg);
  border-radius: 33px;
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: opacity 0.15s;
}

.nav-pill:hover {
  opacity: 0.85;
}

.nav-pill--gold {
  background: #ffac0a;
  color: var(--c-white);
}

.nav-pill--dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
}

.nav-pill__badge {
  position: absolute;
  top: -6px;
  right: -4px;
  background: #e85335;
  color: var(--c-white);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  line-height: 1;
  letter-spacing: 0.5px;
}

.nav-pill__caret {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
}

/* Right Icons */
.site-header__icons {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.header-icon svg {
  width: 20px;
  height: 20px;
}

.header-icon__count {
  position: absolute;
  top: 6px;
  right: 4px;
  background: #ffac0a;
  color: #033a20;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hide desktop nav on mobile, show hamburger */
.header-icon--menu {
  display: flex;
}

@media (min-width: 990px) {
  .site-header__inner {
    padding: 0 50px;
  }
}

/* --- Logo Ticker Bar --- */
.logo-ticker {
  background: var(--c-dark-green);
  overflow: hidden;
  padding: var(--space-lg) 0;
  white-space: nowrap;
  position: relative;
}

/* Gradient fade on both edges */
.logo-ticker::before,
.logo-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logo-ticker::before {
  left: 0;
  width: 200px;
  background: linear-gradient(to right, var(--c-dark-green) 40%, transparent 100%);
}

.logo-ticker__label {
  position: absolute;
  left: var(--side-pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.logo-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--c-dark-green) 0%, transparent 100%);
}

.logo-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: ticker-scroll 25s linear infinite;
  will-change: transform;
}

.logo-ticker__logo {
  height: 24px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.logo-ticker__logo--forbes {
  height: 32px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* --- Main Product Layout --- */
/* --- Breadcrumbs --- */
.breadcrumbs {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--side-pad) 0;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-family: var(--ff-inter);
  font-size: 12px;
  color: var(--c-gray-text);
}

.breadcrumbs__list li:not(:last-child)::after {
  content: '/';
  margin-left: 6px;
  color: var(--c-gray-border);
}

.breadcrumbs__list a {
  color: var(--c-gray-text);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs__list a:hover {
  color: var(--c-dark-green);
}

.breadcrumbs__list li[aria-current="page"] {
  color: var(--c-dark-green);
  font-weight: 500;
}

.pdp {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px var(--side-pad) var(--space-xl);
}

/* Mobile: single column */
.pdp__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Hide desktop hero-badges on mobile */
.hero-badges:not(.hero-badges--mobile) {
  display: none;
}

/* --- LEFT: Gallery --- */
.gallery {
  width: 100%;
}

/* Mobile: horizontal scroll-snap carousel */
.gallery__carousel {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-xs);
}

.gallery__carousel::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  scroll-snap-align: center;
  flex: 0 0 85%;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile hero badges */
.hero-badges--mobile {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.hero-badges--mobile .hero-badge {
  width: 64px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--c-dark-green);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  gap: 3px;
  backdrop-filter: blur(4px);
}

.hero-badges--mobile .hero-badge__icon {
  width: 22px;
  height: 22px;
}

.hero-badges--mobile .hero-badge__icon--text {
  font-family: var(--ff-inter);
  font-weight: 800;
  font-size: 16px;
  color: var(--c-dark-green);
  line-height: 1;
  width: auto;
  height: auto;
}

.hero-badges--mobile .hero-badge__text {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 8px;
  color: var(--c-dark-green);
  text-align: center;
  line-height: 1.25;
}

.gallery__item--video {
  cursor: pointer;
}

.gallery__item--video::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.75 15.897L16.5 12L9.75 8.103V15.897Z' fill='%23043a20'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}

.badge-bestseller {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--c-lime);
  color: var(--c-dark-green);
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 13px;
  text-transform: capitalize;
  letter-spacing: 0.2px;
  padding: 5px 14px;
  border-radius: 9999px;
  z-index: 2;
  line-height: 1.3;
}

/* Desktop gallery grid — hidden on mobile */
.gallery__grid {
  display: none;
}

/* --- RIGHT: Buy Box --- */
.buy-box {
  width: 100%;
}

/* --- Star Rating --- */
.star-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.star-row__stars {
  display: flex;
  gap: var(--space-xs);
}

.star-row__stars svg {
  width: 13px;
  height: 13px;
}

.star-row__rating {
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: -0.28px;
  line-height: 1.2;
  color: var(--c-dark-green);
  margin-left: var(--space-xs);
}

.star-row__reviews {
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: -0.28px;
  line-height: 1.2;
  color: var(--c-dark-green-alt);
  border-bottom: 1px solid var(--c-dark-green-alt);
  padding-bottom: 1px;
  margin-left: 2px;
}

/* --- Title --- */
.pdp-title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--c-dark-green);
  margin-bottom: var(--space-md);
}

/* --- Lead Paragraph --- */
.pdp-lead {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: #3a3a3a;
  max-width: 590px;
  margin-bottom: var(--space-lg);
}

/* --- Trust Pills --- */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-xl);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--c-pill-border);
  border-radius: 9999px;
  background: var(--c-white);
}

.trust-pill__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.trust-pill__text {
  font-weight: 600;
  font-size: 11px;
  line-height: 1.3;
  color: var(--c-dark-green-alt);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Trust Pills Row + Feel Toggle --- */
.trust-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.trust-pills-row .trust-pills {
  margin-bottom: 0;
}

.feel-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  color: var(--c-dark-green-alt);
  transition: opacity 0.15s;
}

.feel-toggle:hover {
  opacity: 0.7;
}

.feel-toggle__text {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  border-bottom: 1px dashed var(--c-dark-green-alt);
  padding-bottom: 1px;
}

.feel-toggle__icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.feel-toggle[aria-expanded="true"] .feel-toggle__icon {
  transform: rotate(180deg);
}

/* Dropdown panel */
.feel-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, margin 0.35s ease;
  margin-bottom: 0;
}

.feel-panel[hidden] {
  display: grid;
  grid-template-rows: 0fr;
  margin-bottom: 0;
}

.feel-panel.is-open {
  grid-template-rows: 1fr;
  margin-bottom: var(--space-md);
}

.feel-panel__inner {
  overflow: hidden;
}

.feel-panel__item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-gray-border-light);
}

.feel-panel__item:last-child {
  border-bottom: none;
}

.feel-panel__label {
  font-family: var(--ff-lato);
  font-weight: 700;
  font-size: 12px;
  color: var(--c-dark-green);
  white-space: nowrap;
  min-width: 64px;
}

.feel-panel__desc {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-body-green);
}

/* --- Pack Selector --- */
.pack-selector {
  border: none;
  margin-bottom: var(--space-md);
}

.pack-selector__legend {
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.3px;
  line-height: 1.4;
  color: #3a3a3a;
  margin-bottom: var(--space-md);
}

.pack-selector__options {
  display: flex;
  gap: 10px;
}

.pack-card {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px 14px;
  border: 1px solid var(--c-gray-border-light);
  border-radius: 14px;
  background: var(--c-white);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  text-align: center;
  gap: 6px;
}

.pack-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pack-card:hover {
  border-color: var(--c-gray-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pack-card[data-selected="true"] {
  border-color: #FFAC09;
  background: #FFF8E6;
  box-shadow: 0 4px 12px rgba(255, 172, 9, 0.15);
}

.pack-card__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pack-card__label {
  font-family: var(--ff-lato);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--c-dark-green-alt);
}

.pack-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-lime);
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--ff-lato);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: var(--c-dark-green);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.pack-card__per {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: #6a6a6a;
  letter-spacing: -0.1px;
}

.pack-card[data-selected="true"] .pack-card__per {
  color: #D4960A;
  font-weight: 600;
}

/* Best Value variant — 3-pack highlight */
.pack-card__badge--best {
  background: var(--c-dark-green);
  color: var(--c-white);
}

.pack-card--best {
  border-color: var(--c-dark-green);
  border-style: dashed;
}

.pack-card--best[data-selected="true"] {
  border-style: solid;
  border-color: #FFAC09;
}

/* --- Subscribe & Save --- */
.purchase-type {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.subscribe-box {
  background: var(--c-subscribe-bg);
  border: 1px solid var(--c-subscribe-border);
  border-radius: var(--space-sm);
  padding: 14px 16px 16px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.subscribe-box[data-selected="true"] {
  border-color: var(--c-subscribe-border);
}

.subscribe-box[data-selected="false"] {
  border-color: var(--c-gray-border);
  opacity: 0.7;
}

.subscribe-box__header {
  display: flex;
  align-items: center;
  gap: 0;
}

.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  border: 1px solid #75684d;
  background: #fdfdfc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
}

.radio-dot__inner {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: transparent;
  transition: background 0.15s;
}

[data-selected="true"] .radio-dot__inner {
  background: #0c0c0d;
}

.subscribe-box__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.subscribe-box__title {
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.3;
  color: var(--c-black);
}

.subscribe-box__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.subscribe-box__price-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.subscribe-box__price {
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--c-black);
}

.subscribe-box__compare {
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--c-gray-text);
  text-decoration: line-through;
}

.subscribe-box__per-meal {
  font-weight: 500;
  font-size: var(--text-xs);
  line-height: 1.3;
  color: var(--c-subscribe-border);
}

.subscribe-box__details {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.subscribe-box__benefits-heading {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-dark-green-alt);
  margin-bottom: 6px;
}

.subscribe-box__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.benefit-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.benefit-item__text {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-dark-green-alt);
}

.frequency-select-wrap {
  position: relative;
}

.frequency-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--ff-inter);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--c-dark-green-alt);
  padding: var(--space-sm) 40px var(--space-sm) var(--space-md);
  border: 1px solid var(--c-gray-border);
  border-radius: var(--space-xs);
  background: var(--c-white);
  cursor: pointer;
  min-width: 160px;
}

.frequency-select-wrap::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.806 3.6c.211.003.413.089.56.24L8.006 10.48l6.64-6.64a.797.797 0 0 1 1.12 0 .797.797 0 0 1 0 1.12l-7.2 7.2a.797.797 0 0 1-1.12 0l-7.2-7.2a.797.797 0 0 1 0-1.12.56.56 0 0 1 .56-.24Z' fill='%23023a20'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* --- Subscribe Free Gift Banner --- */
.sub-gift {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--c-white);
  border: 1.5px dashed rgba(4, 58, 32, 0.25);
  border-radius: 10px;
}

.sub-gift__img-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.sub-gift__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-gift__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sub-gift__badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--c-lime);
  color: var(--c-black);
  font-family: var(--ff-lato);
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.sub-gift__text {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  color: var(--c-dark-green);
}

.sub-gift__subtext {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  color: var(--c-gray-text);
}

/* Hide gift banner when subscription not selected */
.subscribe-box[data-selected="false"] .sub-gift {
  display: none;
}

/* --- One Time Purchase --- */
.otp-link-wrap {
  text-align: left;
  padding: 10px 0;
  margin-bottom: 4px;
}

.otp-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--ff-inter);
  padding: var(--space-xs) 0;
}

.otp-link .radio-dot {
  width: 18px;
  height: 18px;
}

.otp-link .radio-dot__inner {
  width: 6px;
  height: 6px;
}

.otp-link__text {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--c-dark-green-alt);
  border-bottom: 1px solid var(--c-dark-green-alt);
  line-height: 1.5;
}

/* --- Qty + Add to Cart --- */
.cart-row {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* --- Shipping Info --- */
.shipping-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  padding: 10px var(--space-md);
  background: #f6faf4;
  border-radius: 8px;
  border: 1px solid rgba(4, 58, 32, 0.08);
}

.shipping-info__row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.shipping-info__truck {
  width: 22px;
  height: 18px;
  flex-shrink: 0;
  animation: truck-drive 2s ease-in-out infinite;
}

@keyframes truck-drive {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.shipping-info__text {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--c-dark-green);
}

.shipping-info__date {
  font-weight: 700;
  color: var(--c-dark-green);
}

.shipping-info__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.shipping-info__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 12px;
  color: #1a7a3a;
}

.shipping-info__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a7a3a;
  animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.shipping-info__stars {
  width: 70px;
  height: 12px;
  vertical-align: -1px;
  flex-shrink: 0;
}

.shipping-info__divider {
  width: 1px;
  height: 14px;
  background: rgba(4, 58, 32, 0.2);
  flex-shrink: 0;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--c-gray-border);
  border-radius: var(--space-sm);
  overflow: hidden;
  width: 96px;
  height: 44px;
  flex-shrink: 0;
}

.qty-stepper__btn {
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-orange);
  font-size: var(--text-lg);
  transition: opacity 0.15s;
}

.qty-stepper__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-stepper__btn svg {
  width: 10px;
  height: 10px;
}

.qty-stepper__input {
  width: 42px;
  height: 100%;
  text-align: center;
  border: none;
  font-family: var(--ff-inter);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--c-dark-green);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.atc-btn {
  flex: 1;
  height: 44px;
  background: var(--c-dark-green);
  color: var(--c-white);
  border: none;
  border-radius: var(--space-sm);
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.atc-btn:hover {
  box-shadow: 0 4px 12px rgba(2, 58, 32, 0.3);
}

.atc-btn:active {
  transform: scale(0.98);
}

@keyframes pulse-atc {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.atc-btn--pulse {
  animation: pulse-atc 0.35s ease;
}

/* --- UGC Video Carousel --- */
.ugc-section {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.ugc-section__heading {
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--c-dark-green);
  margin-bottom: 10px;
}

.ugc-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-xs);
}

.ugc-carousel::-webkit-scrollbar {
  display: none;
}

.ugc-thumb {
  scroll-snap-align: start;
  flex: 0 0 104px;
  width: 104px;
  height: 168px;
  border-radius: var(--space-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #eee;
}

.ugc-thumb img,
.ugc-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ugc-thumb__play {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  width: var(--space-lg);
  height: var(--space-lg);
}

/* --- Lightbox Dialog --- */
.video-lightbox {
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.video-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.video-lightbox__inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
}

.video-lightbox__main {
  flex: 1;
  max-width: 500px;
  max-height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox__main video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.video-lightbox__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.video-lightbox__sidebar-thumb {
  width: 72px;
  height: 116px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.video-lightbox__sidebar-thumb--active {
  opacity: 1;
  border-color: var(--c-white);
}

.video-lightbox__sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: var(--c-white);
  font-size: var(--text-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s;
}

.video-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Accordions --- */
.accordion-stack {
  border-top: 1px solid var(--c-gray-border);
}

.accordion {
  border-bottom: 1px solid var(--c-gray-border);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion__title {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--c-dark-green);
}

.accordion__icon {
  width: var(--space-md);
  height: var(--space-md);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion__icon-plus {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.accordion[data-open="true"] .accordion__icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.accordion[data-open="true"] .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel-inner {
  overflow: hidden;
}

.accordion__content {
  padding-bottom: var(--space-md);
}

.accordion__content p {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-body-green);
  margin-bottom: var(--space-sm);
}

.accordion__content a {
  font-weight: 500;
  font-size: 13px;
  color: var(--c-dark-green-alt);
  border-bottom: 1px solid var(--c-dark-green-alt);
}

/* ============================================
   Responsive: 640px+
   ============================================ */
@media (min-width: 640px) {
  .pdp-title {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  .pdp-lead {
    font-size: var(--text-sm);
  }

  .gallery__item {
    flex: 0 0 60%;
  }
}

/* ============================================
   Responsive: 1024px+ — two-column layout
   ============================================ */
@media (min-width: 1024px) {
  .pdp__grid {
    flex-direction: row;
    gap: var(--col-gap);
    justify-content: center;
  }

  /* Left gallery column — scrolls naturally (tall image collage) */
  .gallery {
    flex: 0 0 auto;
    width: calc((100% - var(--col-gap)) * 0.55);
    max-width: 720px;
  }

  /* Hide mobile carousel, show desktop grid */
  .gallery__carousel {
    display: none;
  }

  .gallery__grid {
    display: block;
  }

  /* Hero row: image + badges side by side */
  .gallery__hero-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
  }

  .gallery__hero {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
  }

  .gallery__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-badges:not(.hero-badges--mobile) {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100px;
    flex-shrink: 0;
  }

  .hero-badge {
    flex: 1;
    background: var(--c-white);
    border: 1.5px solid var(--c-dark-green);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    gap: 6px;
  }

  .hero-badge__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .hero-badge__icon--text {
    font-family: var(--ff-inter);
    font-weight: 800;
    font-size: 30px;
    color: var(--c-dark-green);
    line-height: 1;
    width: auto;
    height: auto;
  }

  .hero-badge__text {
    font-family: var(--ff-inter);
    font-weight: 600;
    font-size: 14px;
    color: var(--c-dark-green);
    text-align: center;
    line-height: 1.3;
  }

  .gallery__tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery__tile {
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
  }

  .gallery__tile img,
  .gallery__tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery__tile--video {
    cursor: pointer;
  }

  .gallery__tile--video::after {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.75 15.897L16.5 12L9.75 8.103V15.897Z' fill='%23043a20'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
  }

  /* Right buy-box column — sticky while gallery scrolls */
  .buy-box {
    flex: 1;
    max-width: 480px;
    min-width: 0;
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }

  .pdp-title {
    font-size: 50px;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .pdp-lead {
    font-size: var(--text-base);
  }
}

/* ============================================
   Responsive: 1280px+
   ============================================ */
@media (min-width: 1280px) {
  .gallery {
    width: 600px;
    flex: 0 0 600px;
  }
}

/* --- What's In It Section --- */
/* --- What's In It — Scroll Section --- */
.whats-in-it {
  background: #FFF9E5;
  padding: var(--section-pad-y) var(--side-pad);
}

.whats-in-it__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.whats-in-it__header {
  text-align: center;
  margin-bottom: 64px;
}

.whats-in-it__heading {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--c-dark-green);
  margin-bottom: var(--space-sm);
}

.whats-in-it__subtitle {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.5;
  color: #3a3a3a;
  max-width: 520px;
  margin: 0 auto;
}

/* Scroll layout — stacked on mobile */
.whats-in-it__scroll-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Sticky image column */
.whats-in-it__sticky {
  width: 100%;
}

.whats-in-it__image-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
}

.whats-in-it__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.whats-in-it__img.is-active {
  opacity: 1;
}

/* Scrolling steps */
.whats-in-it__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.wii-step {
  padding: var(--space-xl);
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.wii-step.is-active {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.wii-step__number {
  display: inline-block;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-orange);
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.wii-step__title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  color: var(--c-dark-green);
  margin-bottom: var(--space-sm);
}

.wii-step__desc {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  color: #3a3a3a;
}

/* Desktop: two-column sticky scroll */
@media (min-width: 768px) {
  .whats-in-it__scroll-layout {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }

  .whats-in-it__sticky {
    flex: 0 0 50%;
    position: sticky;
    top: calc(var(--header-h) + var(--space-lg));
    align-self: flex-start;
  }

  .whats-in-it__steps {
    flex: 1;
    padding: 10vh 0;
    gap: 48px;
  }

  .wii-step {
    padding: var(--space-2xl);
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* --- Dosage Timeline Section --- */
.dosage {
  background: linear-gradient(to bottom, var(--c-white) 0%, var(--c-white) 70%, #FFF9E5 100%);
  padding: var(--section-pad-y) var(--side-pad) var(--section-pad-y);
}

.dosage__inner {
  max-width: var(--section-inner-max);
  margin: 0 auto;
  text-align: center;
}

.dosage__heading {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--c-dark-green);
  margin-bottom: var(--space-md);
}

.dosage__subtitle {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--c-body-green);
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

/* Timeline bar */
.dosage__timeline {
  position: relative;
  margin: var(--space-xl) 0 var(--space-lg);
}

.dosage__bar {
  height: 28px;
  border-radius: 14px;
  background: #e8e0d0;
  overflow: hidden;
  position: relative;
}

.dosage__bar-fill {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #043a20 0%, #1a7a4a 35%, #8cb88a 65%, #d4c5a9 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dosage.is-visible .dosage__bar-fill {
  transform: scaleX(1);
}

/* Dashed markers */
.dosage__markers {
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  bottom: -6px;
  pointer-events: none;
}

.dosage__marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--c-dark-green) 0,
    var(--c-dark-green) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dosage.is-visible .dosage__marker {
  opacity: 1;
}

.dosage.is-visible .dosage__marker:nth-child(1) {
  transition-delay: 0.5s;
}

.dosage.is-visible .dosage__marker:nth-child(2) {
  transition-delay: 0.8s;
}

/* Phases */
.dosage__phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.dosage__phase {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dosage.is-visible .dosage__phase:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.dosage.is-visible .dosage__phase:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.dosage.is-visible .dosage__phase:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.dosage__phase-time {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--c-dark-green);
  margin-bottom: 6px;
}

.dosage__phase-desc {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--c-body-green);
  max-width: 280px;
  margin: 0 auto;
}

/* Warning */
.dosage__warning {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 172, 9, 0.1);
  border: 1px solid rgba(255, 172, 9, 0.25);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
}

.dosage.is-visible .dosage__warning {
  opacity: 1;
  transform: translateY(0);
}

.dosage__warning-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.dosage__warning-text {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--c-body-green);
}

/* Dosage heading + subtitle fade-in */
.dosage__heading,
.dosage__subtitle {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dosage.is-visible .dosage__heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.dosage.is-visible .dosage__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

@media (min-width: 640px) {
  .dosage {
    padding: var(--section-pad-y) 40px;
  }

  .dosage__phases {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .dosage {
    padding: var(--section-pad-y) 60px;
  }
}

/* --- Sticky Footer Bar --- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fef7ee;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
  padding: var(--space-sm) var(--side-pad);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.sticky-bar__title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-body-green);
  letter-spacing: -0.36px;
  white-space: nowrap;
  display: none;
}

.sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.sticky-bar__urgency {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 198, 87, 0.1);
  border: 1px solid rgba(255, 198, 87, 0.6);
  border-radius: 8px;
  padding: 5px 12px;
  flex-shrink: 0;
  display: none;
  animation: urgency-pulse 2.5s ease-in-out infinite;
}

.sticky-bar__urgency svg {
  animation: icon-flash 2.5s ease-in-out infinite;
}

@keyframes urgency-pulse {
  0%, 100% { background: rgba(255, 198, 87, 0.1); }
  50% { background: rgba(255, 198, 87, 0.25); }
}

@keyframes icon-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sticky-bar__urgency-text {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 11.8px;
  color: #a11700;
  letter-spacing: -0.24px;
  white-space: nowrap;
}

.sticky-bar__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.sticky-bar__qty {
  display: flex;
  align-items: center;
  border: 2px solid var(--c-body-green);
  border-radius: 8px;
  height: 44px;
  flex-shrink: 0;
}

.sticky-bar__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-body-green);
  padding: 0;
}

.sticky-bar__qty-btn svg {
  width: 10px;
  height: 10px;
}

.sticky-bar__qty-btn--minus {
  opacity: 0.4;
}

.sticky-bar__qty-val {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--c-body-green);
  min-width: 24px;
  text-align: center;
}

.sticky-bar__atc {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 32px;
  background: linear-gradient(to right, #28a325, #006b41);
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 15.3px;
  color: #fffcf8;
  letter-spacing: -0.32px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 20px;
  transition: opacity 0.2s ease;
}

.sticky-bar__atc:hover {
  opacity: 0.9;
}

/* Desktop: show title + urgency badge */
@media (min-width: 768px) {
  .sticky-bar {
    padding: 12px var(--side-pad);
  }

  .sticky-bar__title {
    display: block;
  }

  .sticky-bar__urgency {
    display: flex;
  }

  .sticky-bar__actions {
    width: auto;
  }

  .sticky-bar__controls {
    width: auto;
  }

  .sticky-bar__atc {
    flex: none;
    width: 176px;
  }
}

/* --- Comparison Table --- */
.compare {
  background: #FFF9E5;
  padding: var(--section-pad-y) var(--side-pad);
}

.compare__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.compare__heading {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--c-dark-green);
}

.compare__table-wrap {
  width: 100%;
  overflow-x: auto;
}

.compare__table {
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  border-collapse: collapse;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.compare__th-feature {
  width: 50%;
}

.compare__th-brand,
.compare__th-others {
  width: 25%;
  text-align: center;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: var(--text-lg);
  padding: var(--space-lg) var(--space-md);
}

.compare__th-brand {
  background: linear-gradient(180deg, #a8b56a 0%, #2a6b3a 50%, var(--c-dark-green) 100%);
  color: var(--c-white);
  letter-spacing: -0.3px;
}

.compare__th-others {
  background: var(--c-white);
  color: var(--c-gray-text);
}

.compare__table tbody tr {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.compare__feature {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--c-dark-green);
  padding: var(--space-lg) var(--space-lg);
  background: var(--c-white);
}

.compare__brand-cell {
  text-align: center;
  vertical-align: middle;
  background: linear-gradient(180deg, #a8b56a, #2a6b3a, var(--c-dark-green));
  padding: var(--space-lg) var(--space-md);
}

.compare__brand-cell svg {
  width: 24px;
  height: 24px;
}

.compare__others-cell {
  text-align: center;
  vertical-align: middle;
  background: var(--c-white);
  padding: var(--space-lg) var(--space-md);
}

.compare__others-cell svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .compare__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .compare__heading {
    flex: 0 0 auto;
    max-width: 320px;
    font-size: clamp(36px, 5vw, 48px);
  }

  .compare__table-wrap {
    flex: 1;
  }

  .compare__table {
    max-width: none;
  }
}

/* --- Order with Confidence --- */
.confidence {
  background: #f2f0eb;
  padding: var(--section-pad-y) var(--side-pad);
}

.confidence__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.confidence__heading {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--c-dark-green);
  font-style: italic;
  margin-bottom: 48px;
}

.confidence__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.confidence__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  background: var(--c-white);
  border-radius: 12px;
  padding: var(--space-xl) var(--space-md);
}

.confidence__icon {
  width: 48px;
  height: 48px;
}

.confidence__label {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--c-dark-green);
  text-align: center;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .confidence__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
  }

  .confidence__card {
    padding: var(--space-2xl) var(--space-lg);
  }

  .confidence__label {
    font-size: var(--text-base);
  }
}

/* --- You May Also Like --- */
.also-like {
  background: var(--c-white);
  padding: var(--section-pad-y) var(--side-pad);
}

.also-like__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Gamification Promo Banner */
.also-like__promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #023A20 0%, #1a5c35 100%);
  color: #fff;
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 32px;
  animation: promoPulse 2.5s ease-in-out infinite;
}

.also-like__promo-icon svg {
  flex-shrink: 0;
}

.also-like__promo-text {
  white-space: nowrap;
}

.also-like__promo-text strong {
  color: var(--c-lime);
}

.also-like__promo-timer {
  font-weight: 800;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--c-lime);
  min-width: 42px;
  text-align: center;
}

@keyframes promoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2, 58, 32, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(2, 58, 32, 0); }
}

.also-like__promo.is-expired {
  animation: none;
  opacity: 0.7;
}

@media (max-width: 639px) {
  .also-like__promo {
    font-size: 12px;
    padding: 10px 14px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .also-like__promo-text {
    white-space: normal;
    text-align: center;
  }
}

.also-like__heading {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--c-dark-green);
  text-align: center;
  margin-bottom: 48px;
}

.also-like__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.also-like__card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-white);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.also-like__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.also-like__img-wrap {
  position: relative;
  background: #f8f7f4;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.also-like__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}

.also-like__card:hover .also-like__img-wrap img {
  transform: scale(1.04);
}

.also-like__save {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--c-lime);
  color: var(--c-dark-green);
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2px;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 1;
}

.also-like__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.also-like__title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.3;
  color: var(--c-dark-green);
}

.also-like__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.also-like__pill {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 10px;
  color: var(--c-dark-green);
  border: 1px solid var(--c-pill-border);
  border-radius: 9999px;
  padding: 2px 7px;
  white-space: nowrap;
}

.also-like__pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.also-like__price {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--c-dark-green);
}

.also-like__compare-price {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--c-gray-text);
  text-decoration: line-through;
}

.also-like__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.also-like__stars svg {
  width: 12px;
  height: 12px;
}

.also-like__stars span {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 12px;
  color: var(--c-dark-green);
}

.also-like__atc {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: var(--c-dark-green);
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-white);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.also-like__atc:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .also-like__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }

  .also-like__title {
    font-size: var(--text-base);
  }

  .also-like__pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  .also-like__atc {
    height: 42px;
    font-size: var(--text-sm);
  }
}

/* --- Interactive Ingredient Explorer --- */
.ingredient-explorer {
  background: #FFF9E5;
  padding: var(--section-pad-y) var(--side-pad);
  overflow: hidden;
}

.ingredient-explorer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ingredient-explorer__heading {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--c-dark-green);
  margin-bottom: 8px;
}

.ingredient-explorer__subtitle {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-body-green);
  margin-bottom: 32px;
}

/* Accordions */
.ix-accordion {
  border-bottom: 1px solid rgba(2, 58, 32, 0.1);
}

.ix-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(2, 58, 32, 0.45);
  transition: color 0.25s;
}

.ix-accordion[data-active="true"] .ix-accordion__trigger {
  color: var(--c-dark-green);
}

.ix-accordion__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(2, 58, 32, 0.25);
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}

.ix-accordion[data-active="true"] .ix-accordion__dot {
  background: var(--c-lime);
  border-color: var(--c-lime);
}

.ix-accordion__title {
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 16px;
  flex: 1;
  text-align: left;
}

.ix-accordion__chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.ix-accordion[data-active="true"] .ix-accordion__chevron {
  transform: rotate(180deg);
}

.ix-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0 0 22px;
}

.ix-accordion[data-active="true"] .ix-accordion__panel {
  max-height: 200px;
  padding: 0 0 18px 22px;
}

.ix-accordion__panel p {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-body-green);
}

/* Visual / Image */
.ingredient-explorer__visual {
  display: flex;
  justify-content: center;
}

.ingredient-explorer__img-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.ingredient-explorer__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hotspots */
.ix-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ix-hotspot__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-lime);
  border: 2.5px solid var(--c-white);
  position: relative;
  z-index: 1;
  transition: transform 0.2s, background 0.2s;
}

.ix-hotspot[data-active="true"] .ix-hotspot__dot {
  transform: scale(1.3);
  background: #FFAC09;
  border-color: #fff;
}

.ix-hotspot__ping {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.35);
  animation: ixPing 2s ease-out infinite;
}

.ix-hotspot[data-active="true"] .ix-hotspot__ping {
  background: rgba(255, 172, 9, 0.35);
}

@keyframes ixPing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* Tooltip on hover (desktop) */
.ix-hotspot::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--c-white);
  color: var(--c-dark-green);
  font-family: var(--ff-inter);
  font-weight: 600;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.ix-hotspot:hover::after,
.ix-hotspot[data-active="true"]::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@media (min-width: 768px) {
  .ingredient-explorer__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .ingredient-explorer__list {
    flex: 1;
    min-width: 0;
  }

  .ingredient-explorer__visual {
    flex: 1;
    min-width: 0;
  }

  .ingredient-explorer__img-wrap {
    max-width: 780px;
  }
}

/* --- Lifestyle Banner --- */
.lifestyle-banner {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.lifestyle-banner video {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 576px;
}

/* --- Utility: scroll lock for dialog open --- */
body.scroll-locked {
  overflow: hidden;
}
