/* =========================================================
   FutureFuel — Premium D2C Wellness Design System
   Plant-based, Ayurveda-inspired supplements
   ========================================================= */

/* -------- 1. TOKENS --------------------------------------- */
:root {
  /* Palette */
  --ff-forest:        #1F3A2E;  /* deep green */
  --ff-forest-deep:   #14271F;
  --ff-sage:          #8B9D83;
  --ff-sage-soft:     #B4C0A8;
  --ff-botanical:     #C5D1B8;  /* soft botanical green */
  --ff-cream:         #F5EFE4;  /* warm cream */
  --ff-cream-soft:    #FAF6EC;
  --ff-beige:         #E8DCC6;
  --ff-gold:          #C9A961;  /* muted gold */
  --ff-gold-deep:     #A78845;
  --ff-card:          #FBF8F1;  /* off-white card */
  --ff-ink:           #1A1A14;
  --ff-ink-muted:     #4A4A40;
  --ff-line:          rgba(31, 58, 46, 0.12);
  --ff-line-strong:   rgba(31, 58, 46, 0.22);

  /* Product accent colors */
  --c-femi:   #A6624E;
  --c-focus:  #2F4A38;
  --c-calmi:  #3E517A;
  --c-gut:    #A46340;
  --c-puri:   #B0833A;

  /* Type */
  --f-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --f-ui:      'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(20, 39, 31, 0.04), 0 1px 0 rgba(20, 39, 31, 0.03);
  --sh-2: 0 4px 16px rgba(20, 39, 31, 0.06), 0 1px 2px rgba(20, 39, 31, 0.04);
  --sh-3: 0 20px 50px -20px rgba(20, 39, 31, 0.18), 0 8px 20px -10px rgba(20, 39, 31, 0.10);
  --sh-card: 0 1px 0 rgba(20, 39, 31, 0.04), 0 14px 40px -22px rgba(20, 39, 31, 0.20);
  --sh-card-hover: 0 1px 0 rgba(20, 39, 31, 0.04), 0 30px 60px -28px rgba(20, 39, 31, 0.30);

  /* Layout */
  --container: 1360px;
  --container-wide: 1480px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 520ms;
}

/* -------- 2. RESET ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ff-ink);
  background: var(--ff-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ff-forest); color: var(--ff-cream); }

/* -------- 3. TYPOGRAPHY ----------------------------------- */
.display, .h-display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.98;
}
.h-display em, .h-display .it { font-style: italic; color: var(--ff-forest); }

.h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.008em;
}
.h4 {
  font-family: var(--f-ui);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.eyebrow {
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ff-forest);
}
.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ff-ink-muted);
  max-width: 56ch;
}
.body { font-size: 17px; line-height: 1.6; }
.body-sm { font-size: 14.5px; line-height: 1.55; color: var(--ff-ink-muted); }
.it { font-style: italic; }
.serif { font-family: var(--f-display); }

/* -------- 4. LAYOUT --------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 68px); }
.section.section--tight-top { padding-top: clamp(28px, 3vw, 48px); }
.section.section--tight-bottom { padding-bottom: clamp(28px, 3vw, 48px); }
.section-head {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head.center { align-items: center; text-align: center; }
.section-head.split {
  flex-direction: row; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.section-head.split > div:first-child { max-width: 640px; }

.bg-cream    { background: var(--ff-cream); }
.bg-cream-soft { background: var(--ff-cream-soft); }
.bg-card     { background: var(--ff-card); }
.bg-beige    { background: var(--ff-beige); }
.bg-forest   { background: var(--ff-forest); color: var(--ff-cream); }
.bg-botanical{ background: var(--ff-botanical); }

.bg-forest .eyebrow,
.bg-forest .h-display em { color: var(--ff-gold); }
.bg-forest .lede { color: rgba(245, 239, 228, 0.78); }

/* -------- 5. BUTTONS -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-family: var(--f-ui);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ff-forest);
  color: var(--ff-cream);
}
.btn--primary:hover { background: var(--ff-forest-deep); box-shadow: var(--sh-2); }

.btn--secondary {
  background: transparent;
  color: var(--ff-forest);
  border-color: var(--ff-forest);
}
.btn--secondary:hover { background: var(--ff-forest); color: var(--ff-cream); }

.btn--gold {
  background: var(--ff-gold);
  color: var(--ff-forest-deep);
}
.btn--gold:hover { background: var(--ff-gold-deep); color: var(--ff-cream); }

.btn--ghost {
  background: transparent; color: var(--ff-forest);
}
.btn--ghost:hover { background: rgba(31,58,46,.06); }

.btn--lg { padding: 18px 32px; font-size: 16.5px; }
.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform var(--t-base) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* -------- 6. PILLS / BADGES ------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--ff-card);
  border: 1px solid var(--ff-line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ff-forest);
}
.pill svg { width: 14px; height: 14px; }
.pill--ghost { background: transparent; border-color: var(--ff-line-strong); }
.pill--dark  { background: var(--ff-forest); color: var(--ff-cream); border-color: transparent; }
.pill--gold  { background: var(--ff-gold); color: var(--ff-forest-deep); border-color: transparent; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(31,58,46,.08);
  color: var(--ff-forest);
}
.badge--gold  { background: rgba(201,169,97,.18); color: var(--ff-gold-deep); }
.badge--dark  { background: var(--ff-forest); color: var(--ff-cream); }

/* -------- 7. HEADER --------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 228, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--ff-line);
}
.announce {
  background: var(--ff-forest);
  color: var(--ff-cream);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 16px;
}
.announce span { opacity: 0.78; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--ff-forest); }
.nav__brand .brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo { height: 48px; width: auto; filter: brightness(0) invert(1) opacity(0.92); }
.nav__links {
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500;
}
.nav__links a {
  position: relative; padding: 8px 0;
  color: var(--ff-ink);
  transition: color var(--t-fast) var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--ff-forest);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav__links a:hover { color: var(--ff-forest); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ff-forest);
  transition: background var(--t-fast) var(--ease);
}
.icon-btn:hover { background: rgba(31,58,46,.08); }
.cart-count {
  position: relative;
}
.cart-count::after {
  content: '2';
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ff-gold);
  color: var(--ff-forest-deep);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile nav drawer — CSS-only checkbox toggle */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  color: var(--ff-forest);
  margin-left: 4px;
  order: 5;
  transition: background var(--t-fast) var(--ease);
}
.nav-burger:hover { background: rgba(31,58,46,.08); }
.nav-burger span {
  display: block; width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
  transform-origin: center;
}

/* -------- 8. HERO ----------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; max-width: 620px; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(48px, 6.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-weight: 400;
}
.hero__title em { font-style: italic; color: var(--ff-forest); }
.hero__title .stroke {
  -webkit-text-stroke: 1px var(--ff-forest);
  color: transparent;
  font-style: italic;
}
.hero__lede { font-size: clamp(18px, 1.35vw, 20px); color: var(--ff-ink-muted); max-width: 52ch; line-height: 1.55; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* Visual composition - product+lifestyle editorial panel */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 5.2;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ff-beige);
}
.hero__visual-bg {
  position: absolute; inset: 0;
  background-image: url('../images/claude-approved/background-botanical-texture.jpg');
  background-size: cover; background-position: center;
  filter: saturate(0.95);
}
.hero__visual-bg:has(.hero__video) {
  background-image: none;
}
.hero__visual-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.hero__visual-bg::after {
  content: ''; position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,39,31,0.02) 0%, rgba(20,39,31,0.32) 100%),
    radial-gradient(circle at 30% 20%, rgba(245,239,228,0.12), transparent 55%);
}
.hero__visual-bg.is-playing::after {
  background:
    linear-gradient(180deg, rgba(20,39,31,0) 0%, rgba(20,39,31,0.22) 100%),
    radial-gradient(circle at 30% 20%, rgba(245,239,228,0.08), transparent 55%);
}
.hero__visual-bg.video-fallback .hero__video {
  display: none !important;
}
.hero__visual-bg.video-fallback .hero__video-poster,
.hero__visual-bg.video-fallback > img {
  display: block !important;
}
.hero__platform {
  position: absolute;
  left: 4%; right: 4%; bottom: 6%;
  height: 14%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.45) 0%, transparent 65%);
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}
.hero__bottle {
  position: absolute;
  filter: drop-shadow(0 22px 28px rgba(20,39,31,.40));
  transition: transform var(--t-slow) var(--ease);
}
.hero__bottle--main {
  width: 42%;
  left: 29%;
  bottom: 4%;
  z-index: 5;
  filter: drop-shadow(0 30px 36px rgba(20,39,31,.50));
}
.hero__bottle--l {
  width: 30%;
  left: 14%;
  bottom: 6%;
  z-index: 3;
  transform: rotate(-3deg);
}
.hero__bottle--r {
  width: 30%;
  right: 14%;
  bottom: 6%;
  z-index: 3;
  transform: rotate(3deg);
}
.hero__bottle--ff {
  width: 24%;
  left: -2%;
  bottom: 7%;
  z-index: 2;
  transform: rotate(-7deg);
}
.hero__bottle--fr {
  width: 24%;
  right: -2%;
  bottom: 7%;
  z-index: 2;
  transform: rotate(7deg);
}
.hero__visual:hover .hero__bottle--main { transform: translateY(-8px); }
.hero__visual:hover .hero__bottle--l    { transform: rotate(-3deg) translateY(-4px); }
.hero__visual:hover .hero__bottle--r    { transform: rotate(3deg) translateY(-4px); }
.hero__visual:hover .hero__bottle--ff   { transform: rotate(-7deg) translateY(-3px); }
.hero__visual:hover .hero__bottle--fr   { transform: rotate(7deg) translateY(-3px); }

.hero__tag {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(245,239,228,0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-forest);
  z-index: 5;
  display: flex; align-items: center; gap: 8px;
}
.hero__tag::before {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: var(--ff-gold);
}
.hero__count {
  position: absolute;
  right: 24px; bottom: 24px;
  background: rgba(20,39,31,0.7);
  backdrop-filter: blur(6px);
  color: var(--ff-cream);
  border-radius: var(--r-md);
  padding: 12px 18px;
  z-index: 5;
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1;
}
.hero__count small {
  display: block;
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-top: 4px;
}

.hero__marquee {
  display: flex; align-items: center; gap: 40px;
  border-block: 1px solid var(--ff-line);
  padding: 18px 0;
  margin-top: clamp(48px, 6vw, 80px);
  font-size: 13px;
  font-weight: 500;
  color: var(--ff-ink-muted);
  flex-wrap: wrap;
  justify-content: space-between;
}
.hero__marquee span { display: inline-flex; align-items: center; gap: 8px; }
.hero__marquee svg { color: var(--ff-forest); }

/* -------- 9. PRODUCT CARD --------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-card {
  position: relative;
  background: var(--ff-card);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  display: flex; flex-direction: column;
  border: 1px solid var(--ff-line);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--ff-line-strong);
}
.product-card__well {
  position: relative;
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(180deg, var(--well-a, var(--ff-beige)), var(--well-b, var(--ff-cream)));
  border-radius: var(--r-md);
  margin-bottom: 22px;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.product-card__well::before {
  content: '';
  position: absolute; inset: auto 0 0 0;
  height: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.10), transparent 70%);
}
.product-card__well img {
  position: relative;
  width: 78%;
  margin-bottom: -8%;
  filter: drop-shadow(0 16px 24px rgba(20,39,31,.20));
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .product-card__well img {
  transform: translateY(-6px) rotate(-1.2deg);
}
.product-card__badge {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
}
.product-card__bookmark {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(245,239,228,0.85);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ff-forest);
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  z-index: 2;
}
.product-card:hover .product-card__bookmark { opacity: 1; transform: translateY(0); }
.product-card__name {
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.product-card__name em { font-style: italic; }
.product-card__benefit {
  font-size: 15.5px;
  color: var(--ff-ink-muted);
  line-height: 1.45;
  margin-bottom: 18px;
  min-height: 44px;
}
.product-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}
.product-card__price {
  font-family: var(--f-display);
  font-size: 25px;
  letter-spacing: -0.01em;
}
.product-card__price small {
  font-family: var(--f-ui);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ff-ink-muted);
  margin-left: 4px;
  font-weight: 500;
}
.product-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 18px;
  background: var(--ff-forest);
  color: var(--ff-cream);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease);
}
.product-card__cta:hover { background: var(--ff-forest-deep); }
.product-card__cta.is-add { background: var(--ff-gold); color: var(--ff-forest-deep); }
.product-card__cta.is-add:hover { background: var(--ff-gold-deep); color: var(--ff-cream); }

/* Per-product wells — soft pastel panels that complement amber-glass product photos */
.well-femi   { --well-a: #F1DDD0; --well-b: #FAF0E7; }
.well-focus  { --well-a: #D9E1D2; --well-b: #ECF0E5; }
.well-calmi  { --well-a: #D2D9E2; --well-b: #E7EBF1; }
.well-gut    { --well-a: #ECD5BD; --well-b: #F4E2CE; }
.well-puri   { --well-a: #EDDDB0; --well-b: #F4E8C4; }

/* Real product PNGs are slightly smaller — boost their presence in the well */
.product-card__well img { width: 78%; margin-bottom: -2%; }

/* -------- 10. GUIDED FINDER (CSS-only tabs) --------------- */
.finder {
  background: var(--ff-card);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--ff-line);
}
.finder__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.finder__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ff-line-strong);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ff-forest);
  transition: all var(--t-fast) var(--ease);
}
.finder__chip:hover { background: rgba(31,58,46,.06); }
.finder__chip.is-active {
  background: var(--ff-forest);
  color: var(--ff-cream);
  border-color: var(--ff-forest);
}
.finder__chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.finder__panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
.finder__panel.is-active {
  display: grid;
}
.finder__panels {
  min-height: 0;
}
.finder__rec {
  display: flex; flex-direction: column; gap: 16px;
}
.finder__rec .badge { align-self: flex-start; }
.finder__rec h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.05;
}
.finder__rec h3 em { font-style: italic; color: var(--ff-forest); }
.finder__rec p { color: var(--ff-ink-muted); max-width: 42ch; }
.finder__rec-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.finder__ingredients {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--ff-ink-muted);
  font-size: 14px;
  list-style: none;
  padding: 0;
}
.finder__visual {
  position: relative;
  background: linear-gradient(160deg, var(--ff-botanical), var(--ff-cream));
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  min-height: clamp(260px, 28vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.finder__visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(31,58,46,0.08), transparent 50%);
  z-index: 1;
}
.finder__visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.finder__visual-bottle {
  position: relative;
  z-index: 2;
  width: min(62%, 300px);
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(20,39,31,.28));
  transition: transform var(--t-base) var(--ease);
}
.finder__panel.is-active .finder__visual-bottle {
  animation: ff-finder-in 0.45s var(--ease) both;
}
@keyframes ff-finder-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.finder__visual img:not(.finder__visual-bg):not(.finder__visual-bottle) {
  width: min(62%, 300px);
  margin-bottom: 0;
  filter: drop-shadow(0 30px 40px rgba(20,39,31,.25));
}
.finder__visual-leaf {
  position: absolute;
  top: 24px; left: 24px;
  width: 72px; height: 72px;
  background: rgba(245,239,228,.55);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ff-forest);
  z-index: 3;
}
.finder__chip {
  cursor: pointer;
}
.finder__chip:focus-visible {
  outline: 2px solid var(--ff-gold);
  outline-offset: 2px;
}
.finder__products-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ff-line);
  font-size: 13px;
  color: var(--ff-ink-muted);
}
.finder__products-row span { color: var(--ff-forest); font-weight: 500; }

/* -------- 11. RITUAL CARDS -------------------------------- */
.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ritual-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ff-beige);
  isolation: isolate;
}
.ritual-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
  z-index: 0;
}
.ritual-card:hover img { transform: scale(1.04); }
.ritual-card::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,39,31,0.1) 30%, rgba(20,39,31,0.78) 100%);
  z-index: 1;
}
.ritual-card__body {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  color: var(--ff-cream);
  z-index: 2;
}
.ritual-card__time {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(245,239,228,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245,239,228,0.3);
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.ritual-card h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.05;
  margin-bottom: 8px;
  color: var(--ff-cream);
}
.ritual-card h3 em {
  font-style: italic;
  color: var(--ff-cream);
}
.ritual-card p {
  font-size: 14.5px;
  opacity: 0.85;
  max-width: 36ch;
  margin-bottom: 14px;
}
.ritual-card__products {
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-bottom: 14px;
}
.ritual-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(245, 239, 228, 0.16);
  border: 1px solid rgba(245, 239, 228, 0.45);
  color: var(--ff-cream);
  position: relative;
  z-index: 3;
  transition: background var(--t-base) var(--ease), gap var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.ritual-card__cta:hover {
  background: rgba(245, 239, 228, 0.28);
  color: var(--ff-cream);
  gap: 12px;
  transform: translateY(-1px);
}
.ritual-card:hover .ritual-card__cta { gap: 12px; }

/* -------- 12. AYURVEDA SPLIT ------------------------------ */
.ayur {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.ayur__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ff-beige);
}
.ayur__visual > img {
  width: 100%; height: 100%; object-fit: cover;
}
.ayur__overlay {
  position: absolute;
  bottom: -32px; right: -32px;
  width: 60%;
  background: var(--ff-cream);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-3);
}
.ayur__overlay img {
  width: 60%;
  margin: 0 auto 16px;
}
.ayur__overlay h4 {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 4px;
}
.ayur__overlay p {
  font-size: 13px;
  color: var(--ff-ink-muted);
}
.ayur__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.ayur__point {
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--ff-line);
  background: var(--ff-card);
}
.ayur__point svg {
  width: 28px; height: 28px;
  color: var(--ff-forest);
  margin-bottom: 12px;
}
.ayur__point h5 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.ayur__point p { font-size: 13.5px; color: var(--ff-ink-muted); line-height: 1.5; }

/* -------- 13. INGREDIENTS GRID ---------------------------- */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ing-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ff-beige);
}
.ing-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.ing-card:hover img { transform: scale(1.05); }
.ing-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,39,31,0.05) 40%, rgba(20,39,31,0.7) 100%);
}
.ing-card__body {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  color: var(--ff-cream);
  z-index: 1;
}
.ing-card__no {
  font-family: var(--f-display);
  font-size: 14px;
  font-style: italic;
  opacity: 0.65;
  margin-bottom: 8px;
}
.ing-card h4 {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.ing-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.4;
}

/* -------- 14. TRUST STRIP --------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ff-line);
  border: 1px solid var(--ff-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.trust-cell {
  background: var(--ff-card);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.trust-cell svg {
  width: 28px; height: 28px;
  color: var(--ff-forest);
  margin-bottom: 8px;
}
.trust-cell h5 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
}
.trust-cell p { font-size: 13px; color: var(--ff-ink-muted); line-height: 1.45; }

/* -------- 15. ARTICLE CARDS ------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex; flex-direction: column;
  gap: 16px;
}
.article-card__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ff-beige);
}
.article-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ff-ink-muted);
  font-weight: 500;
}
.article-card h3 {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.article-card p { font-size: 14.5px; color: var(--ff-ink-muted); line-height: 1.5; }
.article-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-forest);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
}

/* -------- 16. FAQ ACCORDION (CSS-only) -------------------- */
.faq {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ff-line);
}
.faq details {
  border-bottom: 1px solid var(--ff-line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ff-ink);
  transition: color var(--t-fast) var(--ease);
}
.faq summary:hover { color: var(--ff-forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 1px solid var(--ff-line-strong);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat;
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.faq details[open] summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat;
  background-color: var(--ff-forest);
  color: var(--ff-cream);
  border-color: var(--ff-forest);
}
.faq__body {
  padding: 0 0 24px;
  max-width: 70ch;
  color: var(--ff-ink-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* -------- 16b. EDITORIAL BAND — full-bleed image w/ pull quote ---- */
.editorial-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: clamp(280px, 38vw, 460px);
  display: flex; align-items: center;
  isolation: isolate;
}
.editorial-band > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.editorial-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,39,31,0.70) 0%, rgba(20,39,31,0.40) 50%, transparent 80%);
  z-index: -1;
}
.editorial-band__inner {
  padding: clamp(40px, 6vw, 80px);
  max-width: 640px;
  color: var(--ff-cream);
}
.editorial-band__inner .eyebrow { color: var(--ff-gold); margin-bottom: 14px; display: block; }
.editorial-band__inner blockquote {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.008em;
  margin: 0;
  font-weight: 400;
}
.editorial-band__inner blockquote em { font-style: italic; color: var(--ff-gold); }
.editorial-band__attrib {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245, 239, 228, 0.78);
}

/* -------- 17. FINAL CTA BLOCK — warm cream/sage variant ---- */
.final-cta {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 85% 10%, rgba(197, 209, 184, 0.45), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(201, 169, 97, 0.18), transparent 55%),
    linear-gradient(160deg, var(--ff-cream) 0%, var(--ff-cream-soft) 40%, #EEEAD8 100%);
  border: 1px solid var(--ff-line);
}
.final-cta::before { content: none; }
.final-cta::after { content: none; }
.final-cta__copy { color: var(--ff-ink); }
.final-cta__copy h2 em { font-style: italic; color: var(--ff-forest); }
.final-cta__copy p { color: var(--ff-ink-muted); margin-top: 16px; max-width: 46ch; }
.final-cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.final-cta__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 100%, rgba(31, 58, 46, 0.10), transparent 60%),
    linear-gradient(160deg, var(--ff-botanical) 0%, var(--ff-sage) 100%);
  border-radius: var(--r-lg);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 32px 24px 0;
  overflow: hidden;
}
.final-cta__visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 239, 228, 0.55), transparent 55%);
}
.final-cta__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.final-cta .pill { background: rgba(31, 58, 46, 0.06); color: var(--ff-forest); border-color: var(--ff-line); }

/* -------- 18. FOOTER -------------------------------------- */
.site-footer {
  background: var(--ff-forest-deep);
  color: var(--ff-cream);
  padding: clamp(40px, 5vw, 72px) 0 28px;
}
.site-footer h5 {
  font-family: var(--f-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-gold);
  margin-bottom: 14px;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a {
  font-size: 13.5px;
  color: rgba(245,239,228,0.78);
  transition: color var(--t-fast) var(--ease);
}
.site-footer ul a:hover { color: var(--ff-cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,239,228,0.12);
}
.footer-brand {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 320px;
}
.footer-brand .logo svg { height: 28px; color: var(--ff-cream); }
.footer-brand p {
  font-size: 14px;
  color: rgba(245,239,228,0.7);
  line-height: 1.55;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(245,239,228,0.55);
}
.footer-disclaimer {
  max-width: 880px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(245,239,228,0.5);
  font-style: italic;
}

/* =========================================================
   SHOP PAGE
   ========================================================= */
.shop-hero {
  padding-block: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 44px);
  border-bottom: 1px solid var(--ff-line);
}
.shop-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.shop-hero__title {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.shop-hero__title em { font-style: italic; color: var(--ff-forest); }
.shop-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 0;
}
.shop-hero__visual img {
  width: 100%;
  filter: drop-shadow(0 24px 30px rgba(20,39,31,.22));
  transition: transform var(--t-base) var(--ease);
}
.shop-hero__visual img:nth-child(1) { transform: translateY(8px); }
.shop-hero__visual img:nth-child(2) { transform: translateY(-6px); }
.shop-hero__visual img:nth-child(3) { transform: translateY(-12px); }
.shop-hero__visual img:nth-child(4) { transform: translateY(-4px); }
.shop-hero__visual img:nth-child(5) { transform: translateY(10px); }
.shop-hero__visual img:hover { transform: translateY(-18px); }

.shop-filter {
  position: sticky; top: var(--header-h);
  z-index: 10;
  background: rgba(245,239,228,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ff-line);
}
.shop-filter__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.shop-filter__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-filter__tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ff-ink);
  border: 1px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.shop-filter__tab:hover { background: rgba(31,58,46,.06); }
.shop-filter__tab.is-active {
  background: var(--ff-forest);
  color: var(--ff-cream);
}
.shop-filter__count {
  font-size: 13px;
  color: var(--ff-ink-muted);
  font-weight: 500;
}

.shop-grid {
  padding-block: clamp(28px, 3vw, 48px) clamp(48px, 6vw, 72px);
}
.shop-grid .products-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* Comparison table */
.compare {
  background: var(--ff-card);
  border-radius: var(--r-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ff-line);
  max-width: 100%;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
}
.compare th, .compare td {
  text-align: left;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ff-line);
  font-size: 14.5px;
  vertical-align: middle;
}
.compare th {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ff-ink-muted);
  background: var(--ff-cream-soft);
}
.compare tr:last-child td { border-bottom: none; }
.compare tr:hover td { background: rgba(31,58,46,.025); }
.compare__product {
  display: flex; align-items: center; gap: 14px;
}
.compare__product img {
  width: 46px;
  flex: 0 0 46px;
}
.compare__product strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  display: block;
}
.compare__product small {
  font-size: 12px;
  color: var(--ff-ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
.pdp {
  padding-top: clamp(20px, 2.5vw, 36px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}
.pdp__crumbs {
  font-size: 13px;
  color: var(--ff-ink-muted);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.pdp__crumbs a:hover { color: var(--ff-forest); text-decoration: underline; }
.pdp__crumbs .sep { margin-inline: 10px; opacity: 0.5; }

.pdp__top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.gallery {
  display: block;
  width: 100%;
  min-width: 0;
}
.gallery__thumbs {
  display: flex; flex-direction: column; gap: 12px;
}
.gallery__thumb {
  width: 90px; height: 110px;
  border-radius: var(--r-md);
  border: 1px solid var(--ff-line);
  background: var(--ff-card);
  cursor: pointer;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  transition: border-color var(--t-fast) var(--ease);
}
.gallery__thumb:hover { border-color: var(--ff-forest); }
.gallery__thumb.is-active { border-color: var(--ff-forest); border-width: 2px; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb--lifestyle img { object-fit: cover; width: 100%; height: 100%; }

.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--ff-beige), var(--ff-cream));
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.gallery__main::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(245,239,228,.5), transparent 60%);
}
.gallery__main img {
  position: relative;
  height: 84%;
  width: auto;
  filter: drop-shadow(0 40px 50px rgba(20,39,31,.22));
}
.gallery__main-tag {
  position: absolute; top: 24px; left: 24px;
}

/* Purchase card */
.purchase {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--ff-card);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--ff-line);
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.purchase__head { display: flex; flex-direction: column; gap: 12px; }
.purchase__head h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.purchase__head h1 em { font-style: italic; }
.purchase__benefit {
  color: var(--ff-ink-muted);
  font-size: 16px;
  line-height: 1.5;
}
.purchase__price-row {
  display: flex; align-items: baseline; gap: 12px;
  padding-block: 8px;
  border-top: 1px solid var(--ff-line);
  border-bottom: 1px solid var(--ff-line);
}
.purchase__price {
  font-family: var(--f-display);
  font-size: 32px;
  letter-spacing: -0.01em;
}
.purchase__price-note {
  font-size: 12.5px;
  color: var(--ff-ink-muted);
}
.purchase__rating {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto;
  font-size: 13px;
  color: var(--ff-ink-muted);
}
.purchase__rating { display: none; }

.variants {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.variant {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--ff-line-strong);
  cursor: pointer;
  position: relative;
  transition: border-color var(--t-fast) var(--ease);
}
.variant:hover { border-color: var(--ff-forest); }
.variant input { display: none; }
.variant__head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 14.5px;
  margin-bottom: 4px;
}
.variant__sub { font-size: 12.5px; color: var(--ff-ink-muted); }
.variant__save {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(201,169,97,.18);
  color: var(--ff-gold-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.variant input:checked + .variant__head + .variant__sub,
.variant--active { border-color: var(--ff-forest); background: rgba(31,58,46,.04); }

.qty {
  display: flex; align-items: center;
  gap: 0;
  border: 1px solid var(--ff-line-strong);
  border-radius: var(--r-pill);
  overflow: hidden;
  width: fit-content;
}
.qty button {
  width: 40px; height: 44px;
  font-size: 18px;
  color: var(--ff-forest);
  transition: background var(--t-fast) var(--ease);
}
.qty button:hover { background: rgba(31,58,46,.06); }
.qty span { padding: 0 16px; font-weight: 600; font-size: 15px; }

.purchase__actions {
  display: flex; flex-direction: column; gap: 10px;
}

.purchase__safety {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ff-ink-muted);
  padding-top: 16px;
  border-top: 1px solid var(--ff-line);
  font-style: italic;
}

/* Below product sections */
.pdp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--ff-card);
  border: 1px solid var(--ff-line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.benefit-card__no {
  font-family: var(--f-display);
  font-size: 14px;
  font-style: italic;
  color: var(--ff-gold-deep);
}
.benefit-card h4 {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.benefit-card p {
  font-size: 14.5px;
  color: var(--ff-ink-muted);
  line-height: 1.55;
}

.ingredients-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.ingredients-split__image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ff-beige);
}
.ingredients-split__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.ingredients-list {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ff-line);
}
.ing-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--ff-line);
}
.ing-row__name {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.05;
}
.ing-row__name em { font-style: italic; }
.ing-row__role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-gold-deep);
  margin-bottom: 4px;
  font-weight: 600;
}
.ing-row__desc { font-size: 14px; color: var(--ff-ink-muted); line-height: 1.5; }
.ing-row__no {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--ff-forest);
  font-style: italic;
  opacity: 0.6;
}

.howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.howto-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.howto-video {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ff-beige);
}
.howto-video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.howto-video__caption {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(245,239,228,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ff-forest);
}
.howto-video__caption::before {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: var(--ff-gold);
}
.howto-vert {
  display: flex; flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.howto-vert .howto-step {
  border-top: 1px solid var(--ff-line-strong);
}
.howto-step {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--ff-forest);
}
.howto-step__no {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1;
  color: var(--ff-forest);
}
.howto-step h5 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 16px;
}
.howto-step p { font-size: 14.5px; color: var(--ff-ink-muted); line-height: 1.55; }

/* Who it's for */
.whofor {
  background: var(--ff-cream-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.whofor__list { display: flex; flex-direction: column; gap: 16px; }
.whofor__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px;
}
.whofor__list svg {
  width: 22px; height: 22px;
  flex: 0 0 22px;
  color: var(--ff-forest);
  margin-top: 2px;
}

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

/* =========================================================
   RESPONSIVE — breakpoints: 1900, 1440, 1024, 768, 430, 390, 360
   ========================================================= */

@media (min-width: 1900px) {
  :root { --container: 1440px; --container-wide: 1680px; }
  body { font-size: 18px; }
}

@media (max-width: 1440px) {
  :root { --container: 1180px; }
}

@media (max-width: 1366px) {
  :root { --container: 1120px; }
  .nav__links { gap: 26px; }
  .hero__title { font-size: clamp(40px, 5vw, 60px); }
  .products-grid { gap: 16px; }
  .product-card { padding: 20px 18px 22px; }
}

@media (max-width: 1024px) {
  :root { --container: 100%; }
  /* Mobile drawer */
  .nav-burger { display: inline-flex; }
  .nav__links {
    position: fixed; top: var(--header-h); right: 0;
    width: min(420px, 100vw);
    height: calc(100vh - var(--header-h));
    background: var(--ff-cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px clamp(20px, 5vw, 56px) 40px;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
    border-top: 1px solid var(--ff-line);
    overflow-y: auto;
    z-index: 49;
    box-shadow: -20px 0 40px -20px rgba(20, 39, 31, 0.18);
  }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 20px 0;
    font-family: var(--f-display);
    font-size: clamp(28px, 5vw, 36px);
    letter-spacing: -0.005em;
    border-bottom: 1px solid var(--ff-line);
  }
  .nav__links a::after { display: none; }
  .nav-toggle:checked ~ .nav__links {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  /* lock body scroll when drawer open is not possible without JS — acceptable for prototype */
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { aspect-ratio: 4 / 4.6; max-width: 640px; margin-inline: auto; width: 100%; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid > :nth-child(n+4) { grid-column: span 1; }
  .finder__panel { grid-template-columns: 1fr; gap: 24px; }
  .ritual-grid { grid-template-columns: repeat(2, 1fr); }
  .ritual-grid > :nth-child(3) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .ayur { grid-template-columns: 1fr; gap: 40px; }
  .ayur__overlay { position: static; width: 100%; }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid > :nth-child(3) { grid-column: span 2; }
  .article-card { flex-direction: row; align-items: flex-start; }
  .article-card__img { flex: 0 0 40%; }
  .articles-grid > :nth-child(3) .article-card { flex-direction: row; }
  .final-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .shop-grid .products-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp__top { grid-template-columns: 1fr; gap: 32px; }
  .purchase { position: static; }
  .pdp-benefits { grid-template-columns: 1fr; }
  .ingredients-split { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 1fr; }
  .howto-split { grid-template-columns: 1fr; gap: 32px; }
  .howto-video { aspect-ratio: 16 / 10; }
  .whofor { grid-template-columns: 1fr; }
  .related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 17px; }
  .section { padding-block: 56px; }
  .hero__title { font-size: clamp(38px, 9vw, 52px); }
  .hero__visual { aspect-ratio: 4 / 5; }
  .hero__bottle--ff, .hero__bottle--fr { display: none; }
  .hero__bottle--main { width: 48%; left: 26%; bottom: 4%; }
  .hero__bottle--l { width: 30%; left: 6%; bottom: 6%; }
  .hero__bottle--r { width: 30%; right: 6%; bottom: 6%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card { padding: 18px 16px 20px; }
  .product-card__name { font-size: 24px; }
  .product-card__benefit { font-size: 14.5px; min-height: 0; margin-bottom: 14px; }
  .product-card__price { font-size: 22px; }
  .product-card__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-card__cta { width: 100%; justify-content: center; padding: 13px 18px; font-size: 14.5px; }
  .ritual-grid { grid-template-columns: 1fr; }
  .ritual-grid > :nth-child(3) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .ingredients-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-strip { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid > :nth-child(n) { grid-column: span 1; }
  .article-card { flex-direction: column; }
  .article-card__img { flex: 1 1 auto; }
  .final-cta { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .ayur__points { grid-template-columns: 1fr; }
  .shop-grid .products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-hero__visual { gap: 4px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery__thumb { flex: 0 0 70px; height: 84px; }
  .purchase__head h1 { font-size: clamp(32px, 8vw, 44px); }
  .related { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ing-row { grid-template-columns: 60px 1fr; gap: 14px; }
  .ing-row__no { font-size: 22px; }
  .ing-row__name { font-size: 20px; }
}

@media (max-width: 430px) {
  .container, .container-wide { padding-inline: 18px; }
  .announce { font-size: 11.5px; padding: 8px 12px; }
  .nav { height: 64px; gap: 12px; }
  .nav__brand .brand-logo { height: 38px; }
  :root { --header-h: 64px; }
  .hero { padding-block: 32px 56px; }
  .hero__title { font-size: clamp(38px, 11vw, 46px); }
  .hero__ctas .btn { width: 100%; min-height: 50px; }
  .pill-row .pill { font-size: 12.5px; padding: 8px 13px; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 28px 20px; }
  .compare th, .compare td { padding: 14px 16px; font-size: 13.5px; }
  .compare__product img { width: 36px; flex: 0 0 36px; }
  .compare__product strong { font-size: 18px; }
}

@media (max-width: 390px) {
  .products-grid { gap: 12px; }
  .ritual-card { aspect-ratio: 3 / 4; }
  .ritual-card h3 { font-size: 24px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 36px; }
  .product-card__well { aspect-ratio: 3 / 4; }
  .product-card__name { font-size: 22px; }
  .h2 { font-size: 30px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .shop-filter { display: none; }
}

/* =========================================================
   WORDPRESS / WOOCOMMERCE CLAUDE V5 OVERRIDES
   ========================================================= */
.ff-claude-v5 .hero__visual-bg {
  background-image: url('../images/claude-approved/background-botanical-texture.jpg');
}

.ff-claude-v5 .cart-count::after {
  content: attr(data-count);
}

.ff-claude-v5 .cart-count[data-count="0"]::after,
.ff-claude-v5 .cart-count:not([data-count])::after {
  display: none;
}

.ff-claude-v5 .wp-block-woocommerce-product-image-gallery,
.ff-claude-v5 .gallery .woocommerce-product-gallery {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  float: none;
  opacity: 1 !important;
}

.ff-claude-v5 .woocommerce-product-gallery .flex-control-thumbs {
  order: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  overflow-x: auto;
}

.ff-claude-v5 .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 72px;
  width: 72px;
  height: 88px;
  border-radius: var(--r-md);
  border: 1px solid var(--ff-line);
  background: var(--ff-card);
  overflow: hidden;
  padding: 8px;
  float: none;
  margin: 0;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}

.ff-claude-v5 .woocommerce-product-gallery .flex-control-thumbs li:hover,
.ff-claude-v5 .woocommerce-product-gallery .flex-control-thumbs li.flex-active {
  border-color: var(--ff-forest);
  border-width: 2px;
}

.ff-claude-v5 .woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ff-claude-v5 .woocommerce-product-gallery__wrapper {
  order: 1;
  width: 100% !important;
  min-height: clamp(480px, 42vw, 640px);
  background: linear-gradient(160deg, var(--ff-beige), var(--ff-cream));
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 3vw, 48px);
  position: relative;
  transform: none !important;
  transition: none !important;
}

.ff-claude-v5 .woocommerce-product-gallery__wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(245, 239, 228, 0.55), transparent 60%);
  pointer-events: none;
}

.ff-claude-v5 .woocommerce-product-gallery__image {
  width: 100% !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  margin: 0 !important;
  background: transparent;
  border-radius: 0;
  opacity: 1 !important;
}

.ff-claude-v5 .woocommerce-product-gallery__image:first-child,
.ff-claude-v5 .woocommerce-product-gallery__image.flex-active-slide {
  display: flex !important;
}

.ff-claude-v5 .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ff-claude-v5 .woocommerce-product-gallery__image img {
  width: auto !important;
  max-width: 88% !important;
  max-height: clamp(420px, 38vw, 580px) !important;
  height: auto !important;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(20, 39, 31, 0.18));
}

.ff-claude-v5.ff-product-page .purchase {
  gap: 16px;
}

.ff-claude-v5.ff-product-page .purchase__head {
  gap: 10px;
}

.ff-claude-v5.ff-product-page .purchase__price-row {
  padding-block: 6px;
}

.ff-claude-v5 .purchase .woocommerce-Price-amount {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.01em;
}

.ff-claude-v5 .purchase .ff-product-short-benefit,
.ff-claude-v5 .purchase .purchase__benefit {
  color: var(--ff-ink-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.ff-claude-v5 .purchase .purchase__price-row .wc-block-components-product-price,
.ff-claude-v5 .purchase .purchase__price-row .price {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.01em;
  color: var(--ff-ink);
}

.ff-claude-v5 .purchase__actions form.cart,
.ff-claude-v5 .purchase__actions .variations_form,
.ff-claude-v5 .purchase .wp-block-add-to-cart-form form.cart,
.ff-claude-v5 .purchase .wp-block-woocommerce-add-to-cart-form form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
  width: 100%;
  margin: 0;
  grid-template-columns: unset !important;
  grid-auto-flow: unset !important;
}

.ff-claude-v5 .purchase .wp-block-add-to-cart-form,
.ff-claude-v5 .purchase .wp-block-woocommerce-add-to-cart-form {
  width: 100%;
}

.ff-claude-v5 .purchase .wp-block-add-to-cart-form .variations_button,
.ff-claude-v5 .purchase .wp-block-woocommerce-add-to-cart-form .variations_button {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ff-claude-v5 .purchase__actions .variations,
.ff-claude-v5 .purchase__actions table.variations {
  width: 100%;
  border-collapse: collapse;
}

.ff-claude-v5 .purchase__actions table.variations td,
.ff-claude-v5 .purchase__actions table.variations th {
  padding: 8px 0;
  border: 0;
  vertical-align: middle;
}

.ff-claude-v5 .purchase__actions table.variations label {
  font-weight: 600;
  font-size: 14px;
}

.ff-claude-v5 .purchase__actions .quantity,
.ff-claude-v5 .purchase__actions .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ff-claude-v5 .purchase__actions .quantity .qty,
.ff-claude-v5 .purchase__actions input.qty {
  min-height: 48px;
  min-width: 64px;
  text-align: center;
  border: 1px solid var(--ff-line-strong);
  border-radius: var(--r-pill);
  padding: 0 12px;
  background: var(--ff-cream);
}

.ff-claude-v5 .purchase__actions .single_add_to_cart_button,
.ff-claude-v5 .purchase__actions button[type="submit"].single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 52px;
  width: 100%;
  background: var(--ff-forest) !important;
  color: var(--ff-cream) !important;
  border: none !important;
  border-radius: var(--r-pill) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em;
  padding: 14px 24px !important;
  transition: background var(--t-fast) var(--ease);
}

.ff-claude-v5 .purchase__actions .single_add_to_cart_button:hover {
  background: var(--ff-forest-deep) !important;
}

.ff-claude-v5 .purchase .woocommerce-product-details__short-description,
.ff-claude-v5 .purchase .product_meta {
  display: none !important;
}

.ff-claude-v5 .ff-product-sections {
  margin-top: 0;
}

.ff-claude-v5 .ff-product-sections > .section.section--tight-top:first-child {
  padding-top: clamp(24px, 3vw, 40px);
}

.ff-claude-v5 .woocommerce .star-rating,
.ff-claude-v5 .woocommerce-review-link,
.ff-claude-v5 .woocommerce-tabs,
.ff-claude-v5 #reviews,
.ff-claude-v5 .wc-block-components-product-rating,
.ff-claude-v5 .wcsatt-options-wrapper,
.ff-claude-v5 .wcsatt-sub-options,
.ff-claude-v5 .wcsatt-options-prompt {
  display: none !important;
}

@media (max-width: 1600px) {
  :root { --container: 1240px; --container-wide: 1360px; }
}

@media (max-width: 1250px) {
  :root { --container: 1080px; }
  .hero__grid { gap: clamp(24px, 3vw, 48px); }
  .product-card__name { font-size: clamp(22px, 2.2vw, 28px); }
  .shop-grid .products-grid { gap: 16px; }
}

@media (min-width: 1024px) {
  .ff-claude-v5.ff-product-page .pdp .container {
    max-width: var(--container);
  }

  .ff-claude-v5.ff-product-page .pdp__top {
    grid-template-columns: minmax(0, 54%) minmax(0, 42%);
    gap: clamp(48px, 5vw, 72px);
  }

  .ff-claude-v5.ff-product-page .woocommerce-product-gallery .flex-control-thumbs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .ff-claude-v5.ff-product-page .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 84px;
    width: 84px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .ff-claude-v5 .woocommerce-product-gallery__wrapper {
    min-height: clamp(360px, 72vw, 480px);
    padding: 24px 20px;
  }

  .ff-claude-v5 .woocommerce-product-gallery__image img {
    max-height: clamp(300px, 58vw, 420px) !important;
    max-width: 92% !important;
  }

  .ff-claude-v5 .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 68px;
    width: 68px;
    height: 84px;
  }

  .ff-claude-v5 .purchase {
    padding: clamp(24px, 5vw, 32px);
  }

  .ff-claude-v5 .purchase__actions .single_add_to_cart_button {
    min-height: 50px;
  }
}

/* =========================================================
   VISUAL QA POLISH — v5.0.1
   Legacy PDP tab markup, static pages, card rhythm
   ========================================================= */

/* Hide duplicate legacy FAQ block (v5 shortcode renders below) */
.ff-claude-v5 .product-faq.section-padding-block,
.ff-claude-v5 .ff-product-sections .product-faq {
  display: none !important;
}

/* Duplicate h2 inside legacy tab sections */
.ff-claude-v5 .section .product-faq-title {
  display: none !important;
}

/* Legacy bootstrap rows → v5 grid */
.ff-claude-v5 .section .row.g-4,
.ff-claude-v5 .section .row.mb-4,
.ff-claude-v5 .section .row.mb-4.mb-lg-5 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0 0 clamp(8px, 1.5vw, 20px) !important;
}

.ff-claude-v5 .section .row:has(.col-md-3),
.ff-claude-v5 .section .row:has(.col-lg-3) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ff-claude-v5 .section [class*="col-"] {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}

.ff-claude-v5 .section .heading-design,
.ff-claude-v5 .section .font-22,
.ff-claude-v5 .section h3.font-22,
.ff-claude-v5 .section h5.font-22 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ff-forest);
  margin: 0 0 8px;
}

.ff-claude-v5 .section .font-25,
.ff-claude-v5 .section h6.font-25 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.5vw, 22px);
  margin: 0 0 8px;
  color: var(--ff-forest);
}

.ff-claude-v5 .section .row [class*="col-"] p,
.ff-claude-v5 .section .perks-wrapper p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ff-ink-muted);
  margin: 0;
}

.ff-claude-v5 .section .perks-wrapper {
  padding: clamp(16px, 2vw, 24px);
  background: var(--ff-card);
  border: 1px solid var(--ff-line);
  border-radius: var(--r-md);
  height: 100%;
}

.ff-claude-v5 .ff-product-sections > .section.section--tight-top {
  padding-top: clamp(20px, 2.5vw, 36px);
  padding-bottom: clamp(20px, 2.5vw, 36px);
}

.ff-claude-v5 .ff-product-sections .section-head {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.ff-claude-v5 .ff-product-sections .section-head + .row,
.ff-claude-v5 .ff-product-sections .section-head + p {
  margin-top: 0;
}

/* Product cards — prevent foot clipping at mid widths */
.ff-claude-v5 .product-card {
  min-height: 0;
}

.ff-claude-v5 .product-card__benefit {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-claude-v5 .product-card__foot {
  flex-wrap: wrap;
}

.ff-claude-v5 .product-card__cta {
  white-space: nowrap;
}

@media (max-width: 1440px) {
  .ff-claude-v5 .products-grid,
  .ff-claude-v5 .shop-grid .products-grid {
    gap: 14px;
  }

  .ff-claude-v5 .product-card {
    padding: 20px 16px 22px;
  }

  .ff-claude-v5 .product-card__name {
    font-size: clamp(22px, 1.8vw, 28px);
  }
}

@media (max-width: 1024px) {
  .ff-claude-v5 .section .row.g-4,
  .ff-claude-v5 .section .row.mb-4,
  .ff-claude-v5 .section .row.mb-4.mb-lg-5,
  .ff-claude-v5 .section .row:has(.col-md-3),
  .ff-claude-v5 .section .row:has(.col-lg-3) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ff-claude-v5 .section .row.g-4,
  .ff-claude-v5 .section .row.mb-4,
  .ff-claude-v5 .section .row.mb-4.mb-lg-5,
  .ff-claude-v5 .section .row:has(.col-md-3),
  .ff-claude-v5 .section .row:has(.col-lg-3) {
    grid-template-columns: 1fr;
  }

  .ff-claude-v5 .related {
    grid-template-columns: 1fr;
  }

  .ff-claude-v5 .related .product-card__foot {
    flex-direction: row;
    align-items: center;
  }

  .ff-claude-v5 .related .product-card__cta {
    width: auto;
  }
}

/* Static / legal pages inside v5 shell */
.ff-claude-v5 .entry-content,
.ff-claude-v5 .wp-block-post-content {
  color: var(--ff-ink);
}

body.ff-page-legal .ff-claude-v5 .entry-content,
body.ff-page-about .ff-claude-v5 .entry-content,
body.ff-page-contact .ff-claude-v5 .entry-content {
  max-width: min(880px, 100%);
  margin-inline: auto;
  padding-block: clamp(40px, 5vw, 72px);
}

body.ff-page-legal .ff-claude-v5 .entry-content h1,
body.ff-page-legal .ff-claude-v5 .entry-content h2,
body.ff-page-about .ff-claude-v5 .entry-content h2,
body.ff-page-contact .ff-claude-v5 .entry-content h2 {
  font-family: var(--f-display);
  color: var(--ff-forest);
  letter-spacing: -0.01em;
}

body.ff-page-contact .ff-claude-v5 .wpcf7-form-control-wrap,
body.ff-page-contact .ff-claude-v5 .contact-form-input,
body.ff-page-contact .ff-claude-v5 input[type="text"],
body.ff-page-contact .ff-claude-v5 input[type="email"],
body.ff-page-contact .ff-claude-v5 textarea {
  width: 100%;
  border: 1px solid var(--ff-line-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: var(--ff-card);
}

body.ff-page-contact .ff-claude-v5 .contact-form-submit-btn,
body.ff-page-contact .ff-claude-v5 input[type="submit"] {
  background: var(--ff-forest);
  color: var(--ff-cream);
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
}

/* Footer mobile breathing room */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 32px;
  }

  .footer-grid {
    gap: 24px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Isolate v5 hero from legacy ff-home revamp rules */
body.ff-home.ff-claude-v5 .hero {
  padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px);
}

body.ff-home.ff-claude-v5 .hero__title,
body.ff-home.ff-claude-v5 .hero__lede {
  max-width: none;
}

/* =========================================================
   v5.0.3 — Final controlled recovery overrides
   ========================================================= */

html:has(body.ff-claude-v5) {
  overflow-x: hidden;
}

body.ff-claude-v5 {
  overflow-x: hidden;
}

/* Tighter homepage / shop rhythm — less design-board whitespace */
body.ff-home.ff-claude-v5 .section {
  padding-block: clamp(40px, 5vw, 72px);
}

body.ff-home.ff-claude-v5 .hero {
  padding-block: clamp(32px, 4vw, 56px) clamp(36px, 4.5vw, 64px);
}

body.ff-home.ff-claude-v5 .hero__grid {
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

body.ff-home.ff-claude-v5 .hero__visual-bg {
  min-height: clamp(280px, 32vw, 420px);
}

body.ff-shop-archive.ff-claude-v5 .shop-hero {
  padding-block: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 40px);
}

body.ff-shop-archive.ff-claude-v5 .section {
  padding-block: clamp(36px, 4.5vw, 64px);
}

body.ff-shop-archive.ff-claude-v5 .shop-comparison {
  margin-top: clamp(24px, 3vw, 40px);
}

body.ff-shop-archive.ff-claude-v5 .shop-comparison table {
  margin-bottom: 0;
}

body.ff-shop-archive.ff-claude-v5 .compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

body.ff-shop-archive.ff-claude-v5 .compare table {
  min-width: 0;
}

body.ff-shop-archive.ff-claude-v5 .shop-hero__visual {
  overflow: hidden;
}

@media (max-width: 480px) {
  body.ff-shop-archive.ff-claude-v5 .shop-filter,
  body.ff-shop-archive.ff-claude-v5 .shop-filter__inner,
  body.ff-shop-archive.ff-claude-v5 .container {
    max-width: 100%;
  }

  body.ff-shop-archive.ff-claude-v5 .trust-strip {
    grid-template-columns: 1fr !important;
  }

  body.ff-shop-archive.ff-claude-v5 .compare {
    margin-inline: calc(-1 * var(--gutter, 16px));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  body.ff-shop-archive.ff-claude-v5 .compare th,
  body.ff-shop-archive.ff-claude-v5 .compare td {
    padding: 12px 14px;
    font-size: 13px;
  }

  body.ff-shop-archive.ff-claude-v5 .compare__product strong {
    font-size: 16px;
  }

  body.ff-shop-archive.ff-claude-v5 .compare table,
  body.ff-shop-archive.ff-claude-v5 .compare thead,
  body.ff-shop-archive.ff-claude-v5 .compare tbody,
  body.ff-shop-archive.ff-claude-v5 .compare tr,
  body.ff-shop-archive.ff-claude-v5 .compare th,
  body.ff-shop-archive.ff-claude-v5 .compare td {
    display: block;
    width: 100%;
  }

  body.ff-shop-archive.ff-claude-v5 .compare thead {
    display: none;
  }

  body.ff-shop-archive.ff-claude-v5 .compare tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--ff-line);
  }

  body.ff-shop-archive.ff-claude-v5 .compare tr:last-child {
    border-bottom: none;
  }

  body.ff-shop-archive.ff-claude-v5 .compare td {
    border: none;
    padding: 6px 16px;
    text-align: left !important;
  }

  body.ff-shop-archive.ff-claude-v5 .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ff-ink-muted);
    margin-bottom: 4px;
  }
}

/* Safety net: never render leaked legacy editorial homepage blocks */
body.ff-claude-v5 .ff-hero--editorial,
body.ff-claude-v5 .ff-final-cta--editorial,
body.ff-claude-v5 .ff-ds-product-top,
body.ff-claude-v5 .w3-container,
body.ff-claude-v5 .tablink,
body.ff-claude-v5 .profile-tabs-wrapper {
  display: none !important;
}

/* Static pages — hide watermarked legacy banner heroes */
body.ff-claude-v5 .wp-block-cover[style*="inner-page-bg"],
body.ff-claude-v5 .wp-block-group.has-background[style*="inner-page-bg"],
body.ff-claude-v5 .wp-block-cover[style*="philosophy-img"],
body.ff-claude-v5 .div-philosophy-img {
  display: none !important;
}

body.ff-claude-v5.ff-page .section,
body.ff-claude-v5.ff-page main > .wp-block-group {
  padding-block: clamp(32px, 4vw, 56px);
}

body.ff-claude-v5.ff-page .wp-block-post-content > * + * {
  margin-top: 1.25rem;
}

/* PDP disclaimer section — v5 styling (replaces ff-ds prefix dependency) */
body.ff-single-product.ff-claude-v5 .ff-ds-product-section--disclaimer {
  background: var(--ff-beige);
  border: 1px solid var(--ff-line);
  border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 28px);
  font-size: 0.875rem;
  color: var(--ff-ink-muted);
  margin-top: clamp(24px, 3vw, 40px);
}

/* CSS-only hover motion (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  body.ff-claude-v5 .product-card,
  body.ff-claude-v5 .edu-card,
  body.ff-claude-v5 .finder-card,
  body.ff-claude-v5 .image-card {
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  }

  body.ff-claude-v5 .product-card:hover,
  body.ff-claude-v5 .edu-card:hover,
  body.ff-claude-v5 .finder-card:hover,
  body.ff-claude-v5 .image-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  body.ff-claude-v5 .btn {
    transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  }

  body.ff-claude-v5 .btn:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ff-claude-v5 *,
  body.ff-claude-v5 *::before,
  body.ff-claude-v5 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   v5.0.4 — Homepage balance, contrast, interactivity
   ========================================================= */

/* Override legacy revamp.css global heading/link colors on dark cards */
body.ff-home.ff-claude-v5 .ritual-card h3,
body.ff-home.ff-claude-v5 .ritual-card h3 em,
body.ff-home.ff-claude-v5 .ritual-card__body,
body.ff-home.ff-claude-v5 .ritual-card__cta {
  color: var(--ff-cream) !important;
}

body.ff-home.ff-claude-v5 .ritual-card__cta {
  text-decoration: none !important;
}

body.ff-home.ff-claude-v5 .ing-card h4,
body.ff-home.ff-claude-v5 .ing-card p {
  color: var(--ff-cream);
}

body.ff-home.ff-claude-v5 .editorial-band blockquote,
body.ff-home.ff-claude-v5 .editorial-band blockquote em {
  color: var(--ff-cream);
}

body.ff-home.ff-claude-v5 .section-head.split {
  align-items: end;
  gap: clamp(16px, 3vw, 32px);
}

body.ff-home.ff-claude-v5 .section-head.center {
  max-width: 720px;
  margin-inline: auto;
}

body.ff-home.ff-claude-v5 .ritual-grid {
  gap: clamp(16px, 2vw, 20px);
}

body.ff-home.ff-claude-v5 .finder__chip:active {
  transform: scale(0.98);
}

body.ff-home.ff-claude-v5 .ayur__overlay {
  width: min(72%, 320px);
  padding: clamp(22px, 3vw, 28px);
}

body.ff-home.ff-claude-v5 .ayur__overlay h4 em {
  color: var(--ff-forest);
  font-style: italic;
}

body.ff-home.ff-claude-v5 .final-cta__visual {
  padding: 0;
  background: var(--ff-beige);
}

body.ff-home.ff-claude-v5 .product-card {
  cursor: default;
}

body.ff-home.ff-claude-v5 .product-card__cta,
body.ff-home.ff-claude-v5 .product-card__name a {
  cursor: pointer;
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .finder__panel.is-active {
    grid-template-columns: 1fr;
  }

  body.ff-home.ff-claude-v5 .finder__visual {
    min-height: 240px;
  }

  body.ff-home.ff-claude-v5 .finder__visual-bottle {
    width: min(70%, 220px);
  }

  body.ff-home.ff-claude-v5 .section-head.split {
    align-items: start;
  }
}

/* =========================================================
   v5.0.5 — Lock & stabilization (no redesign)
   ========================================================= */

body.ff-claude-v5 .section {
  padding-block: clamp(36px, 4.5vw, 64px);
}

body.ff-home.ff-claude-v5 .section-tight {
  padding-block: clamp(24px, 3vw, 40px);
}

body.ff-claude-v5 .hero__visual-bg:empty {
  display: none;
}

body.ff-claude-v5 .hero__visual-bg img,
body.ff-claude-v5 .hero__visual-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Static pages — readable width, no squeeze */
body.ff-claude-v5.ff-page .ff-page-hero,
body.ff-claude-v5.ff-page .ff-page-content {
  width: min(var(--container, 1200px), 100% - 2rem);
  margin-inline: auto;
}

body.ff-claude-v5.ff-page .wp-block-post-content {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.65;
}

body.ff-claude-v5.ff-page .wp-block-post-content > .wp-block-cover[style*="inner-page-bg"],
body.ff-claude-v5.ff-page .wp-block-group.has-background[style*="inner-page-bg"],
body.ff-claude-v5.ff-page .mc4wp-form,
body.ff-claude-v5.ff-page .subscribe-form {
  display: none !important;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form {
  max-width: 560px;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form p {
  margin-bottom: 1rem;
}

body.ff-page-about.ff-claude-v5 .wp-block-post-content .row,
body.ff-page-contact.ff-claude-v5 .wp-block-post-content .row {
  max-width: 100%;
}

/* =========================================================
   v5.0.6 — Phase 2: inner pages, cart/checkout, video, spacing
   ========================================================= */

/* Homepage spacing tighten */
body.ff-home.ff-claude-v5 .section {
  padding-block: clamp(40px, 5vw, 88px);
}

body.ff-home.ff-claude-v5 .section-tight {
  padding-block: clamp(32px, 4vw, 56px);
}

body.ff-home.ff-claude-v5 .hero {
  padding-block: clamp(40px, 4.5vw, 72px) clamp(48px, 5vw, 80px);
}

body.ff-home.ff-claude-v5 .final-cta {
  padding-block: clamp(48px, 5vw, 80px);
}

body.ff-home.ff-claude-v5 #products {
  padding-top: clamp(32px, 4vw, 56px);
}

body.ff-home.ff-claude-v5 #finder {
  padding-block: clamp(40px, 5vw, 80px);
}

body.ff-home.ff-claude-v5 .faq-section {
  padding-block: clamp(40px, 5vw, 80px);
}

@media (max-width: 1024px) {
  body.ff-home.ff-claude-v5 .section {
    padding-block: clamp(36px, 4.5vw, 68px);
  }
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .section {
    padding-block: clamp(40px, 6vw, 56px);
  }

  body.ff-home.ff-claude-v5 .hero {
    padding-block: clamp(32px, 5vw, 48px) clamp(40px, 6vw, 56px);
  }
}

/* Hero video */
body.ff-home.ff-claude-v5 .hero__visual-bg {
  overflow: hidden;
}

body.ff-claude-v5 .hero__visual-bg video,
body.ff-claude-v5 .hero__visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.ff-home.ff-claude-v5 .hero__video-poster {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .hero__video {
    display: none !important;
  }

  body.ff-home.ff-claude-v5 .hero__video-poster {
    display: block !important;
  }
}

/* Shared inner-page system */
.v5-page-shell {
  padding-block: clamp(32px, 4vw, 56px) clamp(48px, 5vw, 72px);
}

.v5-page-hero {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
  padding-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}

.v5-page-hero__title,
body.ff-claude-v5.ff-page .v5-page-hero__title,
body.ff-claude-v5.ff-page .wp-block-post-title {
  font-family: var(--ff-font-display, "Fraunces", Georgia, serif);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ff-forest, #234235);
  margin: 0 0 12px;
  max-width: 20ch;
  margin-inline: auto;
  text-wrap: balance;
}

.v5-page-hero__intro {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--ff-ink-muted, #5a6b62);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.55;
}

.v5-page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.v5-content-card {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 3vw, 24px);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.v5-content-card.container,
.container.v5-content-card {
  width: min(1120px, 100% - 2rem);
}

.v5-content-card.bg-cream-soft {
  background: var(--ff-cream-soft, #f7f3eb);
  border-radius: var(--ff-radius-lg, 20px);
}

.v5-prose {
  max-width: 820px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ff-ink, #1a2e24);
}

.v5-prose h2 {
  font-family: var(--ff-font-display, "Fraunces", Georgia, serif);
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--ff-forest, #234235);
  margin: 0 0 16px;
}

.v5-prose h3 {
  font-size: 1.125rem;
  color: var(--ff-forest, #234235);
  margin: 0 0 8px;
}

.v5-prose p {
  margin: 0 0 1rem;
}

.v5-prose--center {
  text-align: center;
}

.v5-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.v5-split--reverse .v5-content-card__media {
  order: -1;
}

.v5-content-card__media img {
  width: 100%;
  height: auto;
  border-radius: var(--ff-radius-lg, 20px);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.v5-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3vw, 40px);
}

.v5-support-grid__item {
  background: var(--ff-white, #fff);
  border: 1px solid rgba(35, 66, 53, 0.1);
  border-radius: var(--ff-radius-md, 14px);
  padding: clamp(16px, 2vw, 24px);
}

.v5-form-card {
  background: var(--ff-white, #fff);
  border: 1px solid rgba(35, 66, 53, 0.1);
  border-radius: var(--ff-radius-lg, 20px);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 8px 32px rgba(35, 66, 53, 0.06);
}

.v5-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.v5-contact-map iframe {
  width: 100%;
  min-height: 320px;
  height: 100%;
  border: 0;
  border-radius: var(--ff-radius-lg, 20px);
}

.v5-contact-info h2 {
  margin-top: 0;
}

.v5-contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.v5-contact-list li {
  line-height: 1.5;
}

.v5-contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 560px);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* CF7 on contact */
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="text"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="email"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="tel"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(35, 66, 53, 0.15);
  border-radius: var(--ff-radius-sm, 10px);
  background: var(--ff-cream, #faf8f4);
  font-size: 1rem;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="submit"] {
  background: var(--ff-forest, #234235);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
}

/* Legal / default page template */
body.ff-claude-v5.ff-page .v5-page-shell .v5-prose .wp-block-post-content {
  max-width: 820px;
}

body.ff-claude-v5.ff-page-legal .v5-prose h2,
body.ff-claude-v5.ff-page-legal .wp-block-post-content h2 {
  font-size: clamp(20px, 1.8vw, 26px);
  margin-top: 1.75rem;
}

/* Woo shell — cart, checkout, account */
.v5-woo-shell {
  padding-block: clamp(32px, 4vw, 56px) clamp(48px, 5vw, 72px);
}

.v5-woo-content {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-cart,
body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout,
body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-cart,
body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout {
  max-width: 1120px;
  margin-inline: auto;
}

body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-filled-cart-block,
body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-filled-cart-block {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-cart-items-block,
body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-cart-items-block,
body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout-fields-block {
  background: var(--ff-white, #fff);
  border: 1px solid rgba(35, 66, 53, 0.1);
  border-radius: var(--ff-radius-lg, 20px);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 8px 32px rgba(35, 66, 53, 0.05);
}

body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-cart-totals-block,
body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-cart-totals-block,
body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--ff-white, #fff);
  border: 1px solid rgba(35, 66, 53, 0.1);
  border-radius: var(--ff-radius-lg, 20px);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 8px 32px rgba(35, 66, 53, 0.05);
}

@media (min-width: 992px) {
  body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-cart-totals-block,
  body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-cart-totals-block {
    position: sticky;
    top: 96px;
  }
}

body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout,
body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

body.ff-page-cart.ff-claude-v5 .wc-block-components-text-input input,
body.ff-page-checkout.ff-claude-v5 .wc-block-components-text-input input,
body.ff-page-checkout.ff-claude-v5 .wc-block-components-text-input textarea,
body.ff-page-checkout.ff-claude-v5 .wc-block-components-select select,
body.woocommerce-cart.ff-claude-v5 .wc-block-components-text-input input,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-text-input input,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-text-input textarea,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-select select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(35, 66, 53, 0.15) !important;
  border-radius: var(--ff-radius-sm, 10px) !important;
  background: var(--ff-cream, #faf8f4) !important;
  padding: 12px 16px !important;
}

body.ff-page-cart.ff-claude-v5 .wc-block-cart__submit-button,
body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
body.ff-page-checkout.ff-claude-v5 .wc-block-components-checkout-place-order-button .wc-block-components-button,
body.woocommerce-cart.ff-claude-v5 .wc-block-cart__submit-button,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-checkout-place-order-button .wc-block-components-button {
  width: 100%;
  background: var(--ff-forest, #234235) !important;
  color: #fff !important;
  border: 1px solid var(--ff-forest, #234235) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  min-height: 48px !important;
  padding: 14px 24px !important;
}

body.ff-page-cart.ff-claude-v5 .wc-block-components-product-name,
body.woocommerce-cart.ff-claude-v5 .wc-block-components-product-name {
  color: var(--ff-forest, #234235);
  font-weight: 600;
}

body.ff-page-cart.ff-claude-v5 [data-ff-admin-compat-hidden="1"] {
  display: none !important;
}

/* My Account */
body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-navigation,
body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-content {
  background: var(--ff-white, #fff);
  border: 1px solid rgba(35, 66, 53, 0.1);
  border-radius: var(--ff-radius-lg, 20px);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 8px 32px rgba(35, 66, 53, 0.05);
}

body.ff-page-my-account.ff-claude-v5 .woocommerce {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  max-width: 1120px;
  margin-inline: auto;
  width: min(1120px, 100% - 2rem);
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--ff-radius-sm, 10px);
  color: var(--ff-ink, #1a2e24);
  text-decoration: none;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-navigation li.is-active a,
body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-navigation a:hover {
  background: var(--ff-cream-soft, #f7f3eb);
  color: var(--ff-forest, #234235);
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-orders-table th,
body.ff-page-my-account.ff-claude-v5 .woocommerce-orders-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(35, 66, 53, 0.1);
  text-align: left;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-orders-table .woocommerce-button {
  background: var(--ff-forest, #234235);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  text-decoration: none;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-content > h2,
body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-content > h3 {
  font-size: clamp(20px, 2vw, 28px);
  margin-top: 0;
}

/* Hide legacy bootstrap / newsletter on inner pages */
body.ff-page-about.ff-claude-v5 .hero-section,
body.ff-page-contact.ff-claude-v5 .section-contact-details,
body.ff-page-contact.ff-claude-v5 .subscribe-form,
body.ff-page-contact.ff-claude-v5 .mc4wp-form {
  display: none !important;
}

/* Blog archive — minimal v5 shell */
body.ff-claude-v5.blog .v5-page-shell,
body.ff-claude-v5.archive .main,
body.ff-claude-v5.post-type-archive .main {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
}

@media (max-width: 992px) {
  .v5-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v5-split,
  .v5-contact-grid,
  .v5-contact-form-grid {
    grid-template-columns: 1fr;
  }

  body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-filled-cart-block,
  body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-filled-cart-block,
  body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout,
  body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout,
  body.ff-page-my-account.ff-claude-v5 .woocommerce {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .v5-support-grid {
    grid-template-columns: 1fr;
  }

  body.ff-page-my-account.ff-claude-v5 .woocommerce-orders-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* =========================================================
   v5.0.7 — Real browser fix: video visibility, spacing, Woo
   ========================================================= */

:root {
  --header-h: 72px;
}

body.ff-home.ff-claude-v5 .section-head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Homepage rhythm — tighter, consistent */
body.ff-home.ff-claude-v5 .hero {
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(48px, 4vw, 64px);
}

body.ff-home.ff-claude-v5 .section {
  padding-block: clamp(36px, 4.5vw, 64px);
}

body.ff-home.ff-claude-v5 .section-tight {
  padding-block: clamp(36px, 4vw, 56px);
}

body.ff-home.ff-claude-v5 #products,
body.ff-home.ff-claude-v5 #finder,
body.ff-home.ff-claude-v5 #ritual,
body.ff-home.ff-claude-v5 #ayurveda,
body.ff-home.ff-claude-v5 #ingredients,
body.ff-home.ff-claude-v5 #journal,
body.ff-home.ff-claude-v5 #faq {
  padding-block: clamp(36px, 4.5vw, 68px);
}

body.ff-home.ff-claude-v5 .section:has(.final-cta) {
  padding-block: clamp(36px, 4.5vw, 68px);
}

body.ff-home.ff-claude-v5 .hero__marquee {
  margin-top: clamp(16px, 2vw, 24px);
}

body.ff-home.ff-claude-v5 .hero__visual-bg.is-playing .hero__video {
  opacity: 1;
  transform: scale(1.02);
}

@media (min-width: 769px) {
  body.ff-home.ff-claude-v5 .hero__visual-bg.is-playing::after {
    opacity: 0.85;
  }
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .section,
  body.ff-home.ff-claude-v5 #products,
  body.ff-home.ff-claude-v5 #finder,
  body.ff-home.ff-claude-v5 #ritual,
  body.ff-home.ff-claude-v5 #ayurveda,
  body.ff-home.ff-claude-v5 #ingredients,
  body.ff-home.ff-claude-v5 #journal,
  body.ff-home.ff-claude-v5 #faq,
  body.ff-home.ff-claude-v5 .section:has(.final-cta) {
    padding-block: clamp(36px, 5vw, 48px);
  }

  body.ff-home.ff-claude-v5 .hero {
    padding-bottom: clamp(36px, 5vw, 48px);
  }
}

/* Inner pages — balanced spacing */
.v5-page-shell {
  padding-block: clamp(24px, 3vw, 48px) clamp(36px, 4vw, 56px);
}

body.ff-page-contact.ff-claude-v5 .v5-page-hero,
body.ff-page-about.ff-claude-v5 .v5-page-hero {
  padding-top: clamp(20px, 2.5vw, 40px);
  padding-bottom: clamp(20px, 2.5vw, 32px);
}

body.admin-bar.ff-claude-v5 .v5-page-shell {
  padding-top: clamp(16px, 2vw, 32px);
}

body.ff-page-contact.ff-claude-v5 .v5-content-card + .v5-content-card {
  margin-top: clamp(12px, 2vw, 20px);
}

body.ff-page-contact.ff-claude-v5 .v5-contact-grid,
body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid {
  max-width: 1120px;
  margin-inline: auto;
}

body.ff-page-about.ff-claude-v5 .v5-content-card {
  margin-bottom: clamp(12px, 2vw, 20px);
}

body.ff-page-about.ff-claude-v5 .v5-support-grid {
  align-items: stretch;
}

body.ff-page-about.ff-claude-v5 .v5-support-grid__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.ff-page-about.ff-claude-v5 .v5-prose {
  max-width: 780px;
}

/* Header / footer rhythm */
body.ff-claude-v5 .site-footer {
  margin-top: 0;
}

body.ff-claude-v5 main {
  min-height: 0;
}

body.ff-claude-v5 .site-footer {
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

/* Woo premium pass — 1180px containers */
body.ff-page-cart.ff-claude-v5 .v5-woo-shell,
body.ff-page-checkout.ff-claude-v5 .v5-woo-shell,
body.ff-page-my-account.ff-claude-v5 .v5-woo-shell,
body.ff-page-my-account.ff-claude-v5 .v5-my-account-shell {
  max-width: 1180px;
  margin-inline: auto;
  width: min(1180px, 100% - 2rem);
}

body.ff-page-cart.ff-claude-v5 .v5-woo-content,
body.ff-page-checkout.ff-claude-v5 .v5-woo-content,
body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-cart,
body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout,
body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-cart,
body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout {
  max-width: 1180px;
}

body.ff-page-cart.ff-claude-v5 .wp-block-woocommerce-cart-totals-block,
body.woocommerce-cart.ff-claude-v5 .wp-block-woocommerce-cart-totals-block {
  border: 1px solid rgba(35, 66, 53, 0.14);
  box-shadow: 0 12px 40px rgba(35, 66, 53, 0.08);
  background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
}

body.ff-page-cart.ff-claude-v5 .wc-block-cart-items,
body.woocommerce-cart.ff-claude-v5 .wc-block-cart-items {
  border-collapse: separate;
  border-spacing: 0 12px;
}

body.ff-page-cart.ff-claude-v5 .wc-block-cart-items__row,
body.woocommerce-cart.ff-claude-v5 .wc-block-cart-items__row {
  background: var(--ff-cream, #faf8f4);
  border-radius: var(--ff-radius-md, 14px);
}

body.ff-page-cart.ff-claude-v5 .wc-block-cart-item__image img,
body.woocommerce-cart.ff-claude-v5 .wc-block-cart-item__image img {
  border-radius: 10px;
}

body.ff-page-cart.ff-claude-v5 .wc-block-components-quantity-selector,
body.woocommerce-cart.ff-claude-v5 .wc-block-components-quantity-selector {
  min-height: 44px;
}

body.ff-page-checkout.ff-claude-v5 .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout.ff-claude-v5 .wp-block-woocommerce-checkout-fields-block {
  border: 1px solid rgba(35, 66, 53, 0.1);
}

body.ff-page-checkout.ff-claude-v5 .wc-block-components-radio-control__option,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-radio-control__option {
  border: 1px solid rgba(35, 66, 53, 0.12);
  border-radius: var(--ff-radius-md, 14px);
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--ff-cream, #faf8f4);
}

body.ff-page-checkout.ff-claude-v5 .wc-block-components-text-input input,
body.ff-page-checkout.ff-claude-v5 .wc-block-components-text-input textarea,
body.ff-page-checkout.ff-claude-v5 .wc-block-components-select select,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-text-input input,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-text-input textarea,
body.woocommerce-checkout.ff-claude-v5 .wc-block-components-select select {
  min-height: 50px !important;
}

body.ff-page-my-account.ff-claude-v5 .v5-page-hero__title,
body.ff-page-my-account.ff-claude-v5 .wp-block-post-title {
  font-size: clamp(28px, 2.5vw, 40px) !important;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-content > h2,
body.ff-page-my-account.ff-claude-v5 .woocommerce-MyAccount-content > h3 {
  font-size: clamp(18px, 1.6vw, 24px) !important;
}

body.ff-page-my-account.ff-claude-v5 .woocommerce {
  max-width: 1180px;
  width: min(1180px, 100% - 2rem);
}

/* Prevent horizontal scroll sitewide */
body.ff-claude-v5 {
  overflow-x: hidden;
}

body.ff-claude-v5 .wp-block-woocommerce-cart,
body.ff-claude-v5 .wp-block-woocommerce-checkout,
body.ff-claude-v5 .woocommerce {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body.ff-page-cart.ff-claude-v5 .wc-block-cart-items__row,
  body.woocommerce-cart.ff-claude-v5 .wc-block-cart-items__row {
    display: grid;
    gap: 8px;
  }
}

/* =========================================================
   v5.0.9 — Homepage visual balance + blank media fix
   ========================================================= */

/* Final CTA — never blank */
body.ff-home.ff-claude-v5 .final-cta {
  padding: clamp(32px, 4vw, 56px);
  gap: clamp(24px, 4vw, 40px);
}

body.ff-home.ff-claude-v5 .final-cta__visual {
  position: relative;
  padding: 0;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  align-items: stretch;
  justify-content: stretch;
  background:
    url('../images/claude-approved/lifestyle-taking-supplement.jpg') center / cover no-repeat,
    var(--ff-beige);
}

body.ff-home.ff-claude-v5 .final-cta__visual::before {
  opacity: 0.35;
}

body.ff-home.ff-claude-v5 .final-cta__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

@media (max-width: 1024px) {
  body.ff-home.ff-claude-v5 .final-cta__visual {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .final-cta__visual {
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }
}

/* Homepage section rhythm */
body.ff-home.ff-claude-v5 .section {
  padding-block: clamp(56px, 5vw, 80px);
}

body.ff-home.ff-claude-v5 .section-tight {
  padding-block: clamp(40px, 4vw, 56px);
}

body.ff-home.ff-claude-v5 .hero {
  padding-top: clamp(36px, 4vw, 52px);
  padding-bottom: clamp(48px, 4vw, 64px);
}

body.ff-home.ff-claude-v5 #products,
body.ff-home.ff-claude-v5 #finder,
body.ff-home.ff-claude-v5 #ritual,
body.ff-home.ff-claude-v5 #ayurveda,
body.ff-home.ff-claude-v5 #ingredients,
body.ff-home.ff-claude-v5 #journal,
body.ff-home.ff-claude-v5 #faq,
body.ff-home.ff-claude-v5 .section:has(.final-cta) {
  padding-block: clamp(56px, 5.5vw, 84px);
}

body.ff-home.ff-claude-v5 .section-head {
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

body.ff-home.ff-claude-v5 .site-footer {
  margin-top: 0;
}

/* Finder — balanced, not empty */
body.ff-home.ff-claude-v5 .finder {
  max-width: 1080px;
  margin-inline: auto;
}

body.ff-home.ff-claude-v5 .finder__chips {
  margin-bottom: clamp(16px, 2vw, 24px);
  justify-content: center;
}

body.ff-home.ff-claude-v5 .finder__chip.is-active {
  box-shadow: 0 4px 16px rgba(31, 58, 46, 0.18);
}

body.ff-home.ff-claude-v5 .finder__panel.is-active {
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

body.ff-home.ff-claude-v5 .finder__visual {
  min-height: clamp(240px, 26vw, 320px);
  aspect-ratio: 4 / 3;
}

body.ff-home.ff-claude-v5 .finder__visual-bg {
  opacity: 0.62;
}

body.ff-home.ff-claude-v5 .finder__visual-bottle {
  width: min(58%, 280px);
}

body.ff-home.ff-claude-v5 .finder__products-row {
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: clamp(12px, 2vw, 16px);
  border-top: 1px solid var(--ff-line);
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .section,
  body.ff-home.ff-claude-v5 .section-tight,
  body.ff-home.ff-claude-v5 #products,
  body.ff-home.ff-claude-v5 #finder,
  body.ff-home.ff-claude-v5 #ritual,
  body.ff-home.ff-claude-v5 #ayurveda,
  body.ff-home.ff-claude-v5 #ingredients,
  body.ff-home.ff-claude-v5 #journal,
  body.ff-home.ff-claude-v5 #faq,
  body.ff-home.ff-claude-v5 .section:has(.final-cta) {
    padding-block: clamp(36px, 5vw, 48px);
  }

  body.ff-home.ff-claude-v5 .finder__panel.is-active {
    grid-template-columns: 1fr;
  }

  body.ff-home.ff-claude-v5 .finder__visual {
    order: -1;
    min-height: 220px;
  }
}

/* =========================================================
   v5.1.0 — Finder section layout (homepage only)
   ========================================================= */

body.ff-home.ff-claude-v5 section.finder {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-inline: 0;
}

body.ff-home.ff-claude-v5 section.finder > .container {
  max-width: min(var(--container, 1360px), 100% - 2rem);
}

body.ff-home.ff-claude-v5 .finder__head {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

body.ff-home.ff-claude-v5 .finder__shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: var(--ff-card);
  border: 1px solid var(--ff-line);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
}

body.ff-home.ff-claude-v5 .finder__tabs,
body.ff-home.ff-claude-v5 .finder__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
  width: 100%;
}

body.ff-home.ff-claude-v5 .finder__chip.is-active {
  box-shadow: 0 4px 14px rgba(31, 58, 46, 0.16);
}

body.ff-home.ff-claude-v5 .finder__panels {
  width: 100%;
}

body.ff-home.ff-claude-v5 .finder__panel.is-active {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

body.ff-home.ff-claude-v5 .finder__visual {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ff-botanical) 0%, var(--ff-cream-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.ff-home.ff-claude-v5 .finder__visual-bg {
  opacity: 0.72;
}

body.ff-home.ff-claude-v5 .finder__visual-bottle {
  width: min(52%, 300px);
  max-height: 82%;
}

body.ff-home.ff-claude-v5 .finder__content,
body.ff-home.ff-claude-v5 .finder__rec {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 18px);
  justify-content: center;
  align-self: center;
}

body.ff-home.ff-claude-v5 .finder__content h3,
body.ff-home.ff-claude-v5 .finder__rec h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.08;
  max-width: 620px;
  margin: 0;
}

body.ff-home.ff-claude-v5 .finder__content p,
body.ff-home.ff-claude-v5 .finder__rec p {
  max-width: 65ch;
  margin: 0;
  line-height: 1.6;
}

body.ff-home.ff-claude-v5 .finder__ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ff-home.ff-claude-v5 .finder__ingredients li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: var(--ff-ink-muted);
}

body.ff-home.ff-claude-v5 .finder__ingredients li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--ff-forest);
  font-weight: 700;
}

body.ff-home.ff-claude-v5 .finder__actions,
body.ff-home.ff-claude-v5 .finder__rec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

body.ff-home.ff-claude-v5 .finder__also {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding-top: clamp(16px, 2vw, 20px);
  border-top: 1px solid var(--ff-line);
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ff-ink-muted);
}

body.ff-home.ff-claude-v5 .finder__also a {
  color: var(--ff-forest);
  font-weight: 600;
  text-decoration: none;
}

body.ff-home.ff-claude-v5 .finder__also a:hover {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  body.ff-home.ff-claude-v5 .finder__panel.is-active {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 32px);
  }

  body.ff-home.ff-claude-v5 .finder__visual {
    order: -1;
    min-height: 280px;
  }
}

@media (max-width: 1023px) {
  body.ff-home.ff-claude-v5 .finder__tabs,
  body.ff-home.ff-claude-v5 .finder__chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }

  body.ff-home.ff-claude-v5 .finder__tabs::-webkit-scrollbar,
  body.ff-home.ff-claude-v5 .finder__chips::-webkit-scrollbar {
    display: none;
  }

  body.ff-home.ff-claude-v5 .finder__chip {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  body.ff-home.ff-claude-v5 .finder__shell {
    padding: clamp(20px, 4vw, 28px);
  }

  body.ff-home.ff-claude-v5 .finder__visual {
    min-height: 220px;
    border-radius: 20px;
  }

  body.ff-home.ff-claude-v5 .finder__content h3,
  body.ff-home.ff-claude-v5 .finder__rec h3 {
    font-size: clamp(24px, 6vw, 30px);
  }

  body.ff-home.ff-claude-v5 .finder__also {
    font-size: 0.875rem;
  }
}

/* =========================================================
   v5.1.1 — Finder layout correction (homepage only)
   Fixes wpautop grid breakage + compact shell + also strip
   ========================================================= */

body.ff-home.ff-claude-v5 .finder__shell {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px);
}

body.ff-home.ff-claude-v5 .finder__panels {
  margin-top: clamp(28px, 3vw, 44px);
  min-height: 0;
}

body.ff-home.ff-claude-v5 .finder__panel.is-active {
  display: grid !important;
  grid-template-columns: minmax(460px, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  align-content: center;
  justify-content: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body.ff-home.ff-claude-v5 .finder__panel.is-active > p:empty,
body.ff-home.ff-claude-v5 .finder__panel.is-active > p:not([class]) {
  display: none !important;
  margin: 0;
  padding: 0;
}

body.ff-home.ff-claude-v5 .finder__visual {
  grid-column: 1;
  grid-row: 1;
  order: 1;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--ff-botanical) 0%, var(--ff-cream-soft) 100%);
  align-self: center;
}

body.ff-home.ff-claude-v5 .finder__content {
  grid-column: 2;
  grid-row: 1;
  order: 2;
  max-width: 620px;
  align-self: center;
  justify-content: center;
  margin: 0;
}

body.ff-home.ff-claude-v5 .finder__visual-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

body.ff-home.ff-claude-v5 .finder__visual-bottle {
  width: min(58%, 320px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(20, 39, 31, 0.32));
}

body.ff-home.ff-claude-v5 .finder__content h3,
body.ff-home.ff-claude-v5 .finder__rec h3 {
  margin-top: 0;
}

body.ff-home.ff-claude-v5 .finder__actions,
body.ff-home.ff-claude-v5 .finder__rec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

body.ff-home.ff-claude-v5 .finder__also {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(31, 58, 46, 0.12);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
}

body.ff-home.ff-claude-v5 .finder__also-label {
  color: var(--ff-ink-muted);
  font-size: 0.9375rem;
  white-space: nowrap;
}

body.ff-home.ff-claude-v5 .finder__also-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 6px;
}

body.ff-home.ff-claude-v5 .finder__also-sep {
  color: var(--ff-ink-muted);
  opacity: 0.65;
  user-select: none;
}

@media (max-width: 1024px) {
  body.ff-home.ff-claude-v5 .finder__panel.is-active {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 28px);
  }

  body.ff-home.ff-claude-v5 .finder__visual,
  body.ff-home.ff-claude-v5 .finder__content {
    grid-column: 1;
    grid-row: auto;
  }

  body.ff-home.ff-claude-v5 .finder__visual {
    order: 1;
    min-height: 280px;
  }

  body.ff-home.ff-claude-v5 .finder__content {
    order: 2;
    max-width: none;
  }
}

@media (max-width: 430px) {
  body.ff-home.ff-claude-v5 .finder__shell {
    padding: 20px;
  }

  body.ff-home.ff-claude-v5 .finder__visual {
    min-height: 220px;
  }

  body.ff-home.ff-claude-v5 .finder__tabs,
  body.ff-home.ff-claude-v5 .finder__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  body.ff-home.ff-claude-v5 .finder__actions .btn,
  body.ff-home.ff-claude-v5 .finder__rec-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* =========================================================
   v5.1.2 — Final production visual polish
   Finder · About · Contact · Footer (CSS only)
   ========================================================= */

/* — Homepage finder — */
body.ff-home.ff-claude-v5 .finder__shell {
  padding: clamp(24px, 3.5vw, 44px);
}

body.ff-home.ff-claude-v5 .finder__panels {
  margin-top: clamp(22px, 2.6vw, 36px);
}

body.ff-home.ff-claude-v5 .finder__panel.is-active {
  gap: clamp(32px, 4.5vw, 60px);
  min-height: 0;
}

body.ff-home.ff-claude-v5 .finder__visual {
  min-height: 380px;
}

body.ff-home.ff-claude-v5 .finder__visual-bg {
  opacity: 0.82;
}

body.ff-home.ff-claude-v5 .finder__visual-bottle {
  width: min(62%, 340px);
  max-height: 240px;
}

body.ff-home.ff-claude-v5 .finder__content {
  max-width: 640px;
}

body.ff-home.ff-claude-v5 .finder__also {
  margin-top: 28px;
  padding-top: 18px;
}

@media (min-width: 1200px) {
  body.ff-home.ff-claude-v5 .finder__panel.is-active {
    grid-template-columns: minmax(480px, 1fr) minmax(520px, 1.05fr);
  }
}

@media (max-width: 1024px) {
  body.ff-home.ff-claude-v5 .finder__visual {
    min-height: 300px;
  }
}

/* — About page — */
body.ff-page-about.ff-claude-v5 .v5-page-shell {
  padding-block: clamp(20px, 2.8vw, 40px) clamp(28px, 3.5vw, 44px);
}

body.ff-page-about.ff-claude-v5 .v5-page-hero {
  padding-top: clamp(12px, 1.8vw, 28px);
  padding-bottom: clamp(16px, 2vw, 24px);
}

body.ff-page-about.ff-claude-v5 .v5-page-hero__title {
  font-size: clamp(32px, 2.9vw, 44px);
}

body.ff-page-about.ff-claude-v5 .v5-content-card {
  padding: clamp(20px, 2.6vw, 32px) clamp(16px, 3vw, 24px);
  margin-bottom: clamp(10px, 1.6vw, 16px);
}

body.ff-page-about.ff-claude-v5 .v5-split {
  gap: clamp(20px, 3.2vw, 36px);
}

body.ff-page-about.ff-claude-v5 .v5-support-grid {
  gap: clamp(14px, 1.8vw, 20px);
  margin-top: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}

body.ff-page-about.ff-claude-v5 .v5-support-grid__item {
  min-height: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(16px, 2vw, 22px);
}

body.ff-page-about.ff-claude-v5 .v5-content-card.bg-cream-soft {
  padding-block: clamp(24px, 3vw, 36px);
}

body.ff-page-about.ff-claude-v5 .v5-page-shell > .v5-content-card:last-of-type {
  margin-bottom: 0;
}

/* — Contact page — */
body.ff-page-contact.ff-claude-v5 .v5-page-shell {
  padding-block: clamp(20px, 2.8vw, 40px) clamp(28px, 3.5vw, 44px);
}

body.ff-page-contact.ff-claude-v5 .v5-page-hero {
  padding-top: clamp(12px, 1.8vw, 28px);
  padding-bottom: clamp(16px, 2vw, 24px);
}

body.ff-page-contact.ff-claude-v5 .v5-content-card {
  padding: clamp(20px, 2.6vw, 32px) clamp(16px, 3vw, 24px);
  margin-bottom: clamp(8px, 1.4vw, 14px);
}

body.ff-page-contact.ff-claude-v5 .v5-content-card + .v5-content-card {
  margin-top: clamp(8px, 1.4vw, 14px);
}

body.ff-page-contact.ff-claude-v5 .v5-contact-grid {
  gap: clamp(16px, 2.4vw, 24px);
  align-items: center;
}

body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 660px);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

body.ff-page-contact.ff-claude-v5 .v5-form-card {
  max-width: 660px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(18px, 2.4vw, 28px);
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="text"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="email"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="tel"] {
  min-height: 50px;
  padding: 13px 16px;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form textarea {
  min-height: 160px;
  max-height: 170px;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="submit"] {
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  padding: 13px 24px;
  font-size: 0.9375rem;
}

body.ff-page-contact.ff-claude-v5 .v5-contact-map iframe {
  min-height: 300px;
}

/* — Footer — */
body.ff-claude-v5 .site-footer {
  padding-top: clamp(36px, 4.5vw, 50px);
  padding-bottom: clamp(24px, 3.5vw, 36px);
}

body.ff-claude-v5 .footer-grid {
  gap: clamp(28px, 3.5vw, 32px);
  padding-bottom: clamp(28px, 3.5vw, 32px);
}

body.ff-claude-v5 .footer-bottom {
  padding-top: 20px;
}

/* =========================================================
   v5.1.3 — Contact form scale + disclaimer spacing fix
   ========================================================= */

body.ff-page-contact.ff-claude-v5 .entry-content {
  max-width: min(1120px, 100%);
  padding-block: clamp(24px, 3vw, 40px);
}

body.ff-page-contact.ff-claude-v5 .v5-page-shell {
  padding-block: clamp(18px, 2.5vw, 36px) clamp(20px, 2.8vw, 32px);
}

body.ff-page-contact.ff-claude-v5 .v5-content-card {
  margin-bottom: clamp(6px, 1vw, 10px);
}

body.ff-page-contact.ff-claude-v5 .v5-content-card + .v5-content-card {
  margin-top: clamp(6px, 1vw, 10px);
}

body.ff-page-contact.ff-claude-v5 .v5-page-shell > .v5-content-card:last-of-type {
  max-width: 1120px;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  padding-top: clamp(14px, 2vw, 22px);
  margin-bottom: 0;
}

body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid {
  max-width: 1120px;
  margin-inline: auto;
  align-items: start;
}

body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid > .v5-prose {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid > .v5-prose h2 {
  margin-bottom: 12px;
}

body.ff-page-contact.ff-claude-v5 .v5-form-card {
  max-width: 620px;
  width: 100%;
  padding: clamp(28px, 3vw, 42px);
  margin-inline: auto;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form {
  max-width: 100%;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form p {
  margin-bottom: 0.875rem;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form label {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--ff-ink, #1a2e24);
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="text"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="email"],
body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="tel"],
body.ff-page-contact.ff-claude-v5 .contact-form-input:not(textarea) {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form input::placeholder,
body.ff-page-contact.ff-claude-v5 .wpcf7-form textarea::placeholder {
  font-size: 15px;
  opacity: 0.72;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form textarea,
body.ff-page-contact.ff-claude-v5 .contact-form-message {
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}

body.ff-page-contact.ff-claude-v5 .wpcf7-form input[type="submit"],
body.ff-page-contact.ff-claude-v5 .contact-form-submit-btn {
  width: 100%;
  height: 52px;
  min-height: 52px;
  max-height: 54px;
  padding: 0 24px;
  font-size: 15px;
  line-height: 1;
  box-sizing: border-box;
}

body.ff-page-contact.ff-claude-v5 .v5-form-card .row {
  display: grid;
  gap: 0;
  margin: 0;
}

body.ff-page-contact.ff-claude-v5 .v5-form-card .row > [class*="col"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

@media (min-width: 1200px) {
  body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 620px);
    gap: clamp(24px, 3vw, 40px);
  }

  body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid > .v5-prose {
    min-width: 320px;
  }

  body.ff-page-contact.ff-claude-v5 .v5-form-card {
    justify-self: end;
    margin-inline-start: auto;
  }
}

@media (max-width: 1199px) {
  body.ff-page-contact.ff-claude-v5 .v5-contact-form-grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }

  body.ff-page-contact.ff-claude-v5 .v5-form-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body.ff-page-contact.ff-claude-v5 .wpcf7-form textarea,
  body.ff-page-contact.ff-claude-v5 .contact-form-message {
    height: 130px;
    min-height: 130px;
    max-height: 130px;
  }
}

/* =========================================================
   v5.1.4 — Final H1 size cap (PDP + inner pages only)
   Homepage .hero__title is intentionally excluded.
   Uses !important to override style.css global h1 rule.
   ========================================================= */

body.ff-single-product.ff-claude-v5 .purchase__head h1,
body.ff-single-product.ff-claude-v5 .purchase__head .wp-block-post-title {
  font-size: clamp(32px, 3.4vw, 54px) !important;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

body.ff-page-about.ff-claude-v5 .v5-page-shell .v5-page-hero__title,
body.ff-page-contact.ff-claude-v5 .v5-page-shell .v5-page-hero__title,
body.ff-page-legal.ff-claude-v5 .entry-content h1,
body.ff-page-legal.ff-claude-v5 .entry-content .heading-design {
  font-size: clamp(34px, 3.5vw, 56px) !important;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

@media (max-width: 1023px) {
  body.ff-single-product.ff-claude-v5 .purchase__head h1,
  body.ff-single-product.ff-claude-v5 .purchase__head .wp-block-post-title,
  body.ff-page-about.ff-claude-v5 .v5-page-shell .v5-page-hero__title,
  body.ff-page-contact.ff-claude-v5 .v5-page-shell .v5-page-hero__title,
  body.ff-page-legal.ff-claude-v5 .entry-content h1,
  body.ff-page-legal.ff-claude-v5 .entry-content .heading-design {
    font-size: clamp(30px, 5.2vw, 44px) !important;
  }
}

@media (max-width: 767px) {
  body.ff-single-product.ff-claude-v5 .purchase__head h1,
  body.ff-single-product.ff-claude-v5 .purchase__head .wp-block-post-title,
  body.ff-page-about.ff-claude-v5 .v5-page-shell .v5-page-hero__title,
  body.ff-page-contact.ff-claude-v5 .v5-page-shell .v5-page-hero__title,
  body.ff-page-legal.ff-claude-v5 .entry-content h1,
  body.ff-page-legal.ff-claude-v5 .entry-content .heading-design {
    font-size: clamp(30px, 8.5vw, 36px) !important;
  }
}
