/* ==========================================================================
   Balance of Nature — local replica theme
   Palette / rhythm follow the source site (green + cream + ink).
   ========================================================================== */

:root {
  --green: #8dc640;
  --green-deep: #45661a;
  --green-dark: #517225;
  --green-soft: #daedb8;
  --green-mist: #f0f7e0;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --slate: #6b6b6b;
  --line: #e3e3e3;
  --cream: #f4eee6;
  --cream-2: #ece4db;
  --paper: #ffffff;
  --forest: #0a2112;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1280px;
  --font: "Figtree", "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(10, 33, 18, 0.08);
}

* { box-sizing: border-box; }

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

body.bof {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  font-weight: 600;
}

h1 { font-size: clamp(30px, 4vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }

p { margin: 0 0 1em; }

.bof-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.bof-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #000; color: #fff; padding: 10px 16px;
}
.bof-skip:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------------ buttons */
.bof-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  background: #fff; color: var(--ink);
}
.bof-btn:hover { transform: translateY(-1px); }
.bof-btn--primary { background: var(--green-dark); color: #fff; }
.bof-btn--primary:hover { background: var(--green-deep); }
.bof-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.bof-btn--ghost:hover { background: var(--ink); color: #fff; }
.bof-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.bof-btn--outline-light:hover { background: #fff; color: var(--ink); }
.bof-btn--block { width: 100%; }

/* --------------------------------------------------------------- promo bar */
.bof-promo {
  background: var(--forest); color: #f5edd8;
  font-size: 12.5px; letter-spacing: .04em; text-align: center;
  padding: 9px 12px;
}
.bof-promo__inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bof-promo__dot { opacity: .5; }

/* ------------------------------------------------------------------ header */
.bof-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.bof-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
}
.bof-logo { display: inline-flex; align-items: center; min-height: 44px; }
.bof-footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
/* WooCommerce prints its own ".woocommerce img { height:auto }" inline block after
   main.css on cart/checkout; keep these selectors more specific so the brand mark
   keeps its 30px height on every template. */
.bof-header .bof-logo__img { height: 30px; width: auto; max-height: 30px; }
.bof-footer .bof-footer__logo-img { height: 30px; width: auto; max-height: 30px; }
.bof-nav { justify-self: center; }
.bof-nav__list { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.bof-nav__list > li { position: relative; }
.bof-nav__list > li > a {
  text-decoration: none; font-size: 14px; font-weight: 500; padding: 12px 0; display: inline-block; white-space: nowrap;
}
.bof-nav__list > li > a:hover { color: var(--green-deep); }
.bof-nav__list .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none; margin: 6px 0 0; padding: 8px;
  display: none; z-index: 70;
}
.bof-nav__list li:hover > .sub-menu,
.bof-nav__list li:focus-within > .sub-menu { display: block; }
.bof-nav__list .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-size: 14px; }
.bof-nav__list .sub-menu a:hover { background: var(--green-mist); }

.bof-header__actions { display: flex; align-items: center; gap: 16px; }
.bof-phone { font-size: 14px; text-decoration: none; white-space: nowrap; }
.bof-phone:hover { color: var(--green-deep); }
.bof-cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); }
.bof-cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 999px;
  background: var(--green-dark); color: #fff; font-size: 11px; line-height: 20px; text-align: center; padding: 0 5px;
}
.bof-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 11px; cursor: pointer; }
.bof-burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; }
.bof-mobile { border-top: 1px solid var(--line); background: #fff; padding: 10px 16px 18px; }
.bof-mobile__list, .bof-mobile__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.bof-mobile__list > li > a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.bof-mobile__list .sub-menu a { display: block; padding: 12px 16px; text-decoration: none; color: var(--ink-soft); }
.bof-mobile__foot { display: flex; flex-direction: column; gap: 10px; padding: 14px 4px 0; }
.bof-mobile__foot a { text-decoration: none; font-weight: 600; color: var(--green-deep); }

/* -------------------------------------------------------------------- hero */
.bof-hero { position: relative; min-height: 620px; display: flex; align-items: center; background: var(--forest); overflow: hidden; }
.bof-hero__media { position: absolute; inset: 0; }
.bof-hero__img { width: 100%; height: 100%; object-fit: cover; }
.bof-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.28) 70%, rgba(0,0,0,0) 100%); }
.bof-hero__content { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 90px 24px; color: #fff; }
.bof-hero h1 { color: #fff; max-width: 820px; margin: 20px 0 0; }
.bof-hero__text { max-width: 680px; margin-top: 26px; font-size: 18px; color: rgba(255,255,255,.92); }
.bof-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.bof-checks { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 34px 0 0; padding: 0; font-size: 14px; color: rgba(255,255,255,.9); }
.bof-checks li::before { content: "✓"; color: var(--green); margin-right: 8px; font-weight: 700; }

.bof-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 600; color: var(--green-deep); margin: 0 0 14px; }
.bof-eyebrow--light { color: var(--green-soft); }

/* ------------------------------------------------------------------- stats */
.bof-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.bof-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 24px; text-align: center; }
.bof-stats__grid strong { display: block; font-size: 34px; letter-spacing: -0.02em; }
.bof-stats__grid span { font-size: 14px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- sections */
.bof-section { padding: 76px 0; }
.bof-section > .bof-wrap > h2 { margin-top: 0; }
.bof-lead { max-width: 720px; color: var(--ink-soft); margin-top: 18px; }
.bof-lead--light { color: rgba(255,255,255,.85); }
.bof-center { text-align: center; }
.bof-note { font-style: italic; font-size: 13px; color: var(--slate); text-align: center; margin-top: 34px; }
.bof-disclaimer { font-size: 12.5px; color: var(--slate); margin-top: 22px; max-width: 620px; }
.bof-link { color: var(--green-deep); font-weight: 600; text-decoration: underline; }

/* ------------------------------------------------------------------- cards */
.bof-cards { display: grid; gap: 24px; margin-top: 38px; }
.bof-cards--3 { grid-template-columns: repeat(3, 1fr); }
.bof-cards--4 { grid-template-columns: repeat(4, 1fr); }

.bof-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 12px; list-style: none;
}
.bof-card__media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--green-mist); }
.bof-card__media img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.bof-card__pack { position: absolute; top: 26px; left: 26px; background: rgba(10,33,18,.86); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.bof-card__title { font-size: 18px; margin: 0; }
.bof-card__title a { text-decoration: none; }
.bof-card__price { margin: 0; font-size: 17px; }
.bof-card__foot { margin-top: auto; }
.bof-card__buy { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.bof-card__details { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--green-deep); }
.bof-badge { position: absolute; top: -12px; right: 18px; background: var(--green); color: #17320a; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; }

.bof-price { font-weight: 700; }
.bof-price-sep { color: var(--slate); font-weight: 400; }
.bof-price-was { text-decoration: line-through; color: var(--slate); font-weight: 400; }
.bof-save { display: inline-block; margin-left: 10px; background: var(--green-mist); color: var(--green-deep); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; vertical-align: middle; }

.bof-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.bof-qty-btn { width: 44px; height: 44px; border: 0; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.bof-qty-btn:hover { background: var(--green-mist); }
.bof-qty input[type=number] { width: 52px; height: 44px; border: 0; text-align: center; font-size: 16px; -moz-appearance: textfield; }
.bof-qty input::-webkit-outer-spin-button, .bof-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* -------------------------------------------------------------- foundation */
.bof-foundation__media { margin: 30px 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.bof-foundation__media img { width: 100%; }

/* ------------------------------------------------------------- split block */
.bof-split { background: var(--cream); }
.bof-split__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.bof-split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.bof-pills { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.bof-pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.bof-stat-chip { position: absolute; left: 18px; bottom: 18px; background: rgba(10,33,18,.9); color: #fff; border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; }
.bof-stat-chip strong { font-size: 20px; }
.bof-stat-chip span { font-size: 12.5px; opacity: .85; }

/* ----------------------------------------------------------------- stories */
.bof-story { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-mist); }
.bof-story img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.bof-story figcaption { padding: 14px 16px 18px; }
.bof-story h3 { font-size: 17px; margin: 0; }
.bof-story p { margin: 4px 0 0; font-size: 13px; color: var(--slate); }

/* ---------------------------------------------------------------- standard */
.bof-standard { background: var(--cream-2); }
.bof-standard__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 44px; align-items: start; }
.bof-standard__capsule { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.bof-standard__capsule figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(10,33,18,.86); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; }
.bof-standard__produce { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bof-produce { margin: 0; text-align: center; }
.bof-produce img { border-radius: 50%; background: #fff; aspect-ratio: 1/1; object-fit: cover; }
.bof-produce figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.bof-standard__label { grid-column: 1 / -1; font-size: 13px; color: var(--slate); }

/* ----------------------------------------------------------------- numbers */
.bof-numbers { text-align: center; }
.bof-numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 44px; }
.bof-numbers__grid strong { font-size: clamp(30px, 3vw, 44px); display: block; }
.bof-numbers__grid p { font-size: 14px; color: var(--ink-soft); margin: 8px auto 0; max-width: 240px; }

/* ----------------------------------------------------------------- promise */
.bof-promise { background: var(--forest); color: #fff; }
.bof-promise h2 { color: #fff; }
.bof-promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 46px; }
.bof-promise__item img { height: 44px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.bof-promise__item h3 { color: #fff; font-size: 18px; }
.bof-promise__item p { color: rgba(255,255,255,.78); font-size: 14.5px; margin-top: 8px; }

/* -------------------------------------------------------------------- ways */
.bof-start { background: var(--green-mist); }
.bof-way { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; padding-bottom: 20px; }
.bof-way__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.bof-way__tag { align-self: flex-start; margin: 14px 0 0 18px; background: var(--green); color: #17320a; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.bof-way h3 { margin: 14px 18px 0; font-size: 18px; }
.bof-way p { margin: 10px 18px 0; font-size: 14px; color: var(--ink-soft); flex: 1; }
.bof-way__link { margin: 16px 18px 0; font-size: 14px; font-weight: 600; color: var(--green-deep); }

/* ---------------------------------------------------------------- spectrum */
.bof-spectrum__head { max-width: var(--wrap); }
.bof-spectrum__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 40px; }
.bof-spectrum__tile { position: relative; display: block; overflow: hidden; }
.bof-spectrum__tile img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .4s ease; }
.bof-spectrum__tile:hover img { transform: scale(1.04); }
.bof-spectrum__tile span { position: absolute; left: 12px; bottom: 12px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* ------------------------------------------------------------------ people */
.bof-person { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-mist); }
.bof-person img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.bof-person figcaption { padding: 16px 18px 20px; }
.bof-person h3 { font-size: 18px; }
.bof-person p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }

/* -------------------------------------------------------------- consistency */
.bof-consistency { background: var(--green-dark); color: #fff; text-align: center; }
.bof-consistency__inner img { height: 54px; width: auto; margin: 0 auto 22px; filter: brightness(0) invert(1); }
.bof-consistency h2 { color: #fff; }
.bof-consistency .bof-lead { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------------- FAQ */
.bof-faq { background: var(--cream); }
.bof-faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.bof-faq__intro .bof-btn { margin-top: 18px; }
.bof-faq__item { border-top: 1px solid rgba(10,18,12,.12); }
.bof-faq__item:last-child { border-bottom: 1px solid rgba(10,18,12,.12); }
.bof-faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative; font-weight: 600; font-size: 16.5px;
}
.bof-faq__item summary::-webkit-details-marker { display: none; }
.bof-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 400; }
.bof-faq__item[open] summary::after { content: "–"; }
.bof-faq__answer { padding: 0 40px 20px 0; color: var(--ink-soft); font-size: 15px; }
.bof-faq__answer p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- variety */
.bof-variety__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.bof-variety__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }

/* ------------------------------------------------------------- get started */
.bof-getstarted { background: var(--green-mist); text-align: center; }
.bof-getstarted .bof-lead { margin-left: auto; margin-right: auto; }
.bof-capsule { margin: 0; }
.bof-capsule img { border-radius: var(--radius-lg); }
.bof-capsule h3 { font-size: 18px; margin: 0; }
.bof-capsule p { color: var(--ink-soft); font-size: 14px; margin: 6px 0 0; }
.bof-getstarted__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ------------------------------------------------------------------ footer */
.bof-footer { background: var(--forest); color: #e9efe6; padding: 64px 0 0; margin-top: 0; }
.bof-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 44px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.bof-footer__statement { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 26px; }
.bof-footer__statement p {
  margin: 0; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
}
.bof-footer__logo-img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.bof-footer__tagline { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 16px; max-width: 340px; }
.bof-footer__contact { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.9; }
.bof-footer__contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.bof-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bof-footer__col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--green-soft); margin-bottom: 14px; }
.bof-footer__list { list-style: none; margin: 0; padding: 0; }
.bof-footer__list a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; }
.bof-footer__list a:hover { color: #fff; text-decoration: underline; }
.bof-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 18px 24px 32px;
  max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.bof-footer__cards { display: inline-flex; gap: 8px; }
.bof-card--visa, .bof-card--mc, .bof-card--amex, .bof-card--disc {
  border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 4px 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #fff;
}

/* ------------------------------------------------------------------ drawer */
.bof-drawer { position: fixed; inset: 0; z-index: 200; }
.bof-drawer__overlay { position: absolute; inset: 0; background: rgba(10,33,18,.5); }
.bof-drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 40px rgba(0,0,0,.15);
}
.bof-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.bof-drawer__head h2 { font-size: 18px; }
.bof-drawer__close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.bof-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.bof-drawer__empty { text-align: center; padding: 40px 10px; }
.bof-drawer__empty p { color: var(--ink-soft); }
.bof-drawer__items { list-style: none; margin: 0; padding: 0; }
.bof-drawer__item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bof-drawer__thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }
.bof-drawer__name { font-weight: 600; text-decoration: none; font-size: 14.5px; display: block; }
.bof-drawer__units { font-size: 12px; color: var(--slate); }
.bof-drawer__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.bof-drawer__qty-val { min-width: 26px; text-align: center; font-size: 14px; }
.bof-drawer__remove { background: none; border: 0; padding: 6px 0; color: var(--slate); font-size: 12.5px; text-decoration: underline; cursor: pointer; display: block; }
.bof-drawer__price { font-weight: 600; font-size: 14px; white-space: nowrap; }
.bof-drawer__summary { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.bof-sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.bof-sum-row--fee { color: var(--green-deep); }
.bof-sum-row--total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.bof-drawer__hint { font-size: 12.5px; color: var(--slate); margin: 10px 0 0; }
.bof-drawer__hint--ok { color: var(--green-deep); }
.bof-drawer__actions { display: grid; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--line); }
body.bof-drawer-open { overflow: hidden; }

/* -------------------------------------------------------------------- PDP */
.bof-pdp { padding: 34px 0 0; }
/* R-PDP: per-template purchase area (measured against each source product page) */
.bof-pdp__grid { display: grid; grid-template-columns: 1fr 558px; gap: 56px; padding-bottom: 60px; }
/* grid items must be allowed to shrink below their content's intrinsic width */
.bof-pdp__gallery, .bof-pdp__buy { min-width: 0; }
.bof-pdp__main img { max-width: 100%; }
.bof-pdp--supp .bof-pdp__title { font-size: 36px; line-height: 1.25; }
/* gallery matches the source's 489×489 in the supplements template */
.bof-pdp--supp .bof-pdp__main { max-width: 489px; }
.bof-pdp--supp .bof-pdp__main img { width: 489px; height: 489px; max-width: 100%; object-fit: contain; }
.bof-pdp--supp .bof-pdp__price { font-size: 16px; line-height: 1.5; }
.bof-pdp--supp .bof-pdp__price .bof-save { font-size: 11px; padding: 1px 8px; line-height: 1.4; }
.bof-pdp--supp .bof-pdp__cart .single_add_to_cart_button { min-height: 50px; height: 50px; font-size: 14px; flex: none; width: 418px; max-width: 100%; }
/* freeze-dried snacks: full-width title above the buy area, larger price, 54px button */
.bof-pdp--snack .bof-pdp__grid { grid-template-columns: 1fr; gap: 26px; }
.bof-pdp--snack .bof-wrap { max-width: 1250px; }
.bof-pdp--snack .bof-pdp__buy { max-width: 100%; }
.bof-pdp--snack .bof-pdp__title { font-size: 49px; line-height: 1.1; min-height: 103px; }
/* gallery matches the source snack template 998×623 */
.bof-pdp--snack .bof-pdp__main { max-width: 998px; }
.bof-pdp--snack .bof-pdp__main img { width: 998px; height: 623px; max-width: 100%; object-fit: contain; }
.bof-pdp--snack .bof-pdp__price { font-size: 18px; line-height: 0.95; min-height: 17px; }
.bof-pdp--snack .bof-pdp__price .bof-price { line-height: 17px; }
.bof-pdp--snack .bof-pdp__price .bof-save { font-size: 10px; padding: 0 7px; line-height: 15px; }
.bof-pdp--snack .bof-pdp__cart .single_add_to_cart_button { min-height: 54px; font-size: 16px; flex: 0 0 298px; width: 298px; max-width: 100%; }
.bof-pdp__main { border-radius: var(--radius-lg); overflow: hidden; background: var(--green-mist); }
.bof-pdp__main img { width: 100%; }
.bof-pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.bof-pdp__thumb { width: 74px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.bof-pdp__thumb.is-active { border-color: var(--green-dark); }
.bof-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bof-pdp__title { margin: 14px 0 0; }
.bof-pdp__units { font-size: 13px; color: var(--slate); margin-top: 8px; }
.bof-pdp__price { font-size: 26px; margin: 16px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bof-pdp__trust { list-style: none; padding: 0; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bof-pdp__trust li { padding: 10px 0 10px 28px; position: relative; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.bof-pdp__trust li:last-child { border-bottom: 0; }
.bof-pdp__trust li::before { content: "✓"; position: absolute; left: 0; color: var(--green-deep); font-weight: 700; }
.bof-pdp__cart form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bof-pdp__cart .quantity { display: inline-flex; }
.bof-pdp__cart .quantity input.qty { width: 64px; height: 48px; text-align: center; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; }
.bof-pdp__cart button.single_add_to_cart_button,
.bof-pdp__cart .single_add_to_cart_button {
  flex: 1; min-height: 48px; border: 0; border-radius: 999px; background: var(--green-dark); color: #fff;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; cursor: pointer; padding: 0 28px;
}
.bof-pdp__cart .single_add_to_cart_button:hover { background: var(--green-deep); }
.bof-pdp__promo { font-size: 13px; color: var(--green-deep); background: var(--green-mist); border-radius: 12px; padding: 12px 16px; margin-top: 18px; }
/* R-PDP: the source shows the product copy as visible prose (no collapsed tab),
   so the description is rendered open and the shipping note sits below it */
/* source typography: 16px/24 body, 18px headings, default paragraph rhythm */
.bof-pdp__desc { margin-top: 22px; font-size: 16px; line-height: 24px; color: var(--ink-soft); }
.bof-pdp__desc h5 { font-size: 18px; line-height: 22px; margin: 18px 0 8px; color: var(--ink); }
.bof-pdp__desc p { margin: 0 0 16px; }
.bof-pdp__desc ul { margin: 0 0 16px; padding-left: 22px; }
.bof-pdp__desc li { margin: 0 0 6px; }
/* long copy is clamped only when JS decides it exceeds the reference height (≈360px) */
.bof-pdp__desc.is-clamped { max-height: 360px; overflow: hidden; position: relative; }
.bof-pdp__desc.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 70%);
}
.bof-readmore[hidden] { display: none; }
.bof-readmore {
  margin-top: 6px; background: none; border: 0; padding: 8px 0; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--green-deep); text-decoration: underline; cursor: pointer;
}
.bof-pdp__desc h5 { font-size: 15px; margin: 14px 0 6px; color: var(--ink); }
.bof-pdp__desc p { margin: 0 0 14px; }
.bof-pdp__desc ul { margin: 0 0 14px; padding-left: 20px; }
.bof-pdp__desc li { margin: 0 0 4px; }
.bof-acc--ship { margin-top: 6px; }
/* snack template: the source price line is a single 17px row without a SAVE chip */
.bof-pdp--snack .bof-pdp__price { height: 17px; line-height: 17px; align-items: baseline; }
.bof-pdp--snack .bof-pdp__price .bof-price,
.bof-pdp--snack .bof-pdp__price .bof-price-sep,
.bof-pdp--snack .bof-pdp__price .bof-price-was { line-height: 17px; }
.bof-pdp--snack .bof-pdp__price .bof-save { display: none; }
/* money leaf nodes inherit the 17px line box (Woo renders <span><bdi>) */
.bof-pdp--snack .bof-pdp__price .woocommerce-Price-amount,
.bof-pdp--snack .bof-pdp__price bdi { line-height: 17px; }
/* inline boxes take the font's natural height; pin them to the line box instead */
.bof-pdp__price .bof-price,
.bof-pdp__price .bof-price-was,
.bof-pdp__price .woocommerce-Price-amount,
.bof-pdp__price bdi { display: inline-block; line-height: inherit; }
/* the description renders as dense prose like the source (15px / 1.45, 12px rhythm) */
.bof-pdp__desc { font-size: 15px; line-height: 1.45; }
.bof-pdp__desc p { margin: 0 0 11px; }
.bof-pdp__desc h5 { margin: 10px 0 4px; }
.bof-pdp__desc ul { margin: 0 0 11px; }
.bof-pdp__desc li { margin: 0 0 3px; }
/* the warehouse stock counter is internal information, not part of the replicated page */
.bof-pdp__cart .stock, .bof-pdp .stock { display: none; }
.bof-pdp__accordion { margin-top: 26px; }
.bof-acc { border-bottom: 1px solid var(--line); }
.bof-acc summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.bof-acc summary::-webkit-details-marker { display: none; }
.bof-acc summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 20px; }
.bof-acc[open] summary::after { content: "–"; }
.bof-acc__body { padding: 0 0 18px; font-size: 15px; color: var(--ink-soft); }
.bof-acc__body h5 { font-size: 15px; margin: 12px 0 6px; }
.bof-acc__body ul { padding-left: 20px; }
.bof-related { background: var(--cream); border-top: 1px solid var(--line); }

.bof-crumbs { font-size: 13px; color: var(--slate); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bof-crumbs a { text-decoration: none; color: var(--slate); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 2px; }
.bof-crumbs a:hover { color: var(--green-deep); }

/* ---------------------------------------------------------------- archive */
.bof-archive { padding-top: 30px; }
.bof-archive__head { background: var(--cream); padding: 26px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.bof-archive__head h1 { margin-top: 10px; }
.bof-archive__cats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.bof-chip { border: 1px solid rgba(10,18,18,.18); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; text-decoration: none; background: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.bof-chip.is-active, .bof-chip:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.bof-grid { list-style: none; margin: 0 0 50px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bof-grid .bof-card { height: 100%; }
.bof-empty { padding: 40px 0; color: var(--slate); }

/* ------------------------------------------------------------- page / woo */
.bof-page { padding: 34px 0 70px; }
.bof-page__title { margin: 10px 0 22px; }
.bof-page__content { max-width: 820px; font-size: 16px; line-height: 1.5; color: #262626; }
.bof-page__content h2 { font-size: 26px; margin: 30px 0 12px; }
.bof-page__content h3 { font-size: 19px; margin: 24px 0 10px; }
.bof-page__content ul { padding-left: 22px; }
.bof-page__content a { color: var(--green-deep); }

/* legal pages: source renders 16px/24 (1.5) with 820px measure */
.bof-legal { max-width: 820px; }
.bof-legal h2 { font-size: 26px; line-height: 1.25; margin: 34px 0 12px; }
.bof-legal h3 { font-size: 19px; line-height: 1.3; margin: 26px 0 10px; }
.bof-legal p { margin: 0 0 16px; }
.bof-legal ul { margin: 0 0 16px; padding-left: 22px; }
.bof-legal li { margin: 0 0 6px; }
/* long cookie/identifier tokens in the legal text must wrap, never push the page wide */
.bof-legal p, .bof-legal li, .bof-legal h2, .bof-legal h3,
.bof-page__content p, .bof-page__content li { overflow-wrap: anywhere; }
.bof-page--woo .bof-page__content { max-width: none; }

/* WooCommerce core widgets inside our layout */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .checkout-button, .wc-block-components-button {
  background: var(--green-dark); color: #fff; border-radius: 999px; min-height: 46px; padding: 0 24px;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13.5px; border: 0;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce .checkout-button:hover { background: var(--green-deep); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--green-dark); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
  height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff;
}
.woocommerce form .form-row label { font-size: 13.5px; font-weight: 600; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register,
.woocommerce-checkout #payment, .woocommerce-cart .cart-collaterals .cart_totals {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--green-mist); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
  border-radius: 12px; background: var(--green-mist); border-top: 3px solid var(--green-dark); color: var(--ink);
}
.woocommerce .woocommerce-error { background: #fdecec; border-top-color: #cf2030; }
/* 44px tap targets inside the classic cart */
.woocommerce-cart .product-remove a,
.woocommerce-cart .product-remove a.remove {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 44px; height: 44px; line-height: 1; font-size: 22px; border-radius: 50%;
}
.woocommerce-cart .cart_totals a,
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .woocommerce-shipping-destination a,
.woocommerce-cart a.shipping-calculator-button {
  display: inline-flex; align-items: center; min-height: 44px;
}
.woocommerce-cart .product-name a,
.woocommerce-cart .product-name .product-quantity,
.woocommerce-cart .cart_item a {
  display: inline-flex; align-items: center; min-height: 44px;
}
.woocommerce-info::before, .woocommerce-message::before { color: var(--green-deep); }
.woocommerce ul.products, .woocommerce ul.products li.product { margin: 0; }
#bof-card-fields .bof-cc-grid { display: grid; gap: 12px; }
.bof-cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bof-cc-grid .bof-cc-full { grid-column: 1 / -1; }
.bof-cc-grid input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; width: 100%; }
.bof-cc-icons { display: flex; gap: 8px; align-items: center; margin: 8px 0 14px; }
.bof-cc-icons .bof-card--visa, .bof-cc-icons .bof-card--mc, .bof-cc-icons .bof-card--amex, .bof-cc-icons .bof-card--disc {
  border-color: var(--line); color: var(--ink); background: #fff;
}

/* -------------------------------------------------- checkout: secured line */
.bof-secured {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; line-height: 1.4; color: rgb(107, 114, 128);
  margin: 0 0 12px; font-weight: 500;
}
.bof-secured__lock { width: 14px; height: 14px; flex: 0 0 14px; }
.woocommerce-checkout #place_order,
.woocommerce-checkout .wc-block-components-button {
  width: 100%; min-height: 56px; font-size: 14px; letter-spacing: .06em;
}

/* ------------------------------------------------------- PDP extra blocks */
.bof-benefits-wrap { padding: 44px 0 8px; }
.bof-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bof-benefit { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.bof-benefit__icon { width: 56px; height: 56px; object-fit: contain; }
.bof-benefit__label { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }

.bof-ing-block { padding: 44px 0; border-top: 1px solid var(--line); }
.bof-ing-block--alt { background: var(--cream); }
.bof-ing-block h2 { font-size: clamp(22px, 2.4vw, 30px); }
.bof-ing-block p { max-width: 900px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin-top: 16px; }
.bof-ing-block__img {
  margin: 22px auto 0; display: block;
  width: auto; max-width: 480px; max-height: 340px; height: auto;
  object-fit: contain; border-radius: var(--radius); background: #fff;
}
/* compact related cards (the source PDP has no related grid, so keep ours lean) */
.bof-card--mini { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
.bof-card--mini .bof-card__media { flex: 0 0 84px; width: 84px; border-radius: 10px; }
.bof-card--mini .bof-card__media img { width: 84px; height: 84px; aspect-ratio: auto; object-fit: cover; }
.bof-card--mini .bof-card__title { font-size: 14.5px; margin: 0; }
.bof-card--mini .bof-card__price { font-size: 14px; margin: 4px 0 0; }
.bof-related { padding: 40px 0 36px; }
.bof-related h2 { font-size: clamp(20px, 2vw, 26px); }
.bof-related .bof-cards { margin-top: 18px; gap: 16px; }

/* ---------------------------------------------------- about / ingredients */
.bof-about-hero { margin-bottom: 28px; }
.bof-about-hero__img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 22px; }
.bof-quote {
  margin: 18px 0 26px; padding: 18px 22px; border-left: 4px solid var(--green);
  background: var(--green-mist); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px; line-height: 1.55; color: var(--ink);
}
.bof-tiles { list-style: none; margin: 18px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bof-tile { margin: 0; text-align: center; }
.bof-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; background: var(--green-mist); }
.bof-tile span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: var(--ink-soft); }
/* page-scoped grids: about shows 5 across, the ingredients library 4 across with 4:3 tiles */
.bof-about .bof-tiles { grid-template-columns: repeat(5, 1fr); }
.bof-ing-page .bof-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bof-ing-page .bof-tile img { aspect-ratio: 1/1; }
.bof-gallery { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bof-gallery li { margin: 0; }
.bof-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; background: var(--green-mist); }
.bof-gallery span { display: block; margin-top: 6px; font-size: 12px; color: var(--slate); text-align: center; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1380px) {
  .bof-phone { display: none; }
}

@media (max-width: 1100px) {
  .bof-nav { display: none; }
  .bof-burger { display: block; }
  .bof-header__inner { grid-template-columns: auto auto 1fr auto; }
  .bof-logo { justify-self: center; }
  .bof-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .bof-spectrum__strip { grid-template-columns: repeat(3, 1fr); }
  .bof-pdp__grid, .bof-split__grid, .bof-variety__grid, .bof-faq__grid, .bof-standard__grid { grid-template-columns: 1fr; gap: 32px; }
  .bof-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .bof-numbers__grid, .bof-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .bof-promise__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .bof-section { padding: 52px 0; }
  /* footer: compact paddings so the mobile footer matches the reference (which
     drops the 6 social links per R8) while every tap target stays ≥44px */
  .bof-footer { padding-top: 36px; }
  .bof-footer__inner { padding-bottom: 28px; gap: 26px; }
  .bof-footer__cols { gap: 18px; }
  .bof-footer__statement { padding-bottom: 16px; }
  .bof-footer__statement p { padding-top: 16px; }
  .bof-ing-block__img { max-height: 300px; }
  /* the ingredient facts panels are ~600px tall in the reference at 390 */
  .bof-ing-block .bof-ing-block__img { max-height: 600px; }
  .bof-pdp__desc { max-width: 470px; }
  /* the 489/998px gallery sizes are desktop-only; phones use the column width */
  .bof-pdp--supp .bof-pdp__main img,
  .bof-pdp--snack .bof-pdp__main img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
  /* home: match the reference block heights on phones (measured 2026-11-24) */
  .bof-spectrum { padding: 36px 0; }
  .bof-standard { padding: 36px 0; }
  .bof-standard__capsule img { max-height: 240px; object-fit: contain; }
  .bof-stories .bof-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .bof-capsule img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
  #shop .bof-card__media img { aspect-ratio: 4/5; }
  .bof-numbers__grid strong { font-size: 40px; }
  .bof-numbers__grid p { font-size: 14.5px; }
  .bof-tiles { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .bof-about .bof-tiles { grid-template-columns: repeat(3, 1fr); gap: 12px 14px; }
  .bof-ing-page .bof-tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .bof-ing-page .bof-tile img { aspect-ratio: 5/6; }
  /* last-in-block: home Get Started capsule cards (reference ≈1687px for the block) */
  .bof-getstarted .bof-capsule img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
  .bof-standard__capsule img { max-height: 150px; }
  .bof-standard .bof-produce img { max-height: 80px; }
  .bof-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bof-about-hero__img { max-height: 300px; }
  .bof-related .bof-cards {
    display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 4px;
  }
  .bof-related .bof-card { flex: 0 0 62%; scroll-snap-align: start; }
  .bof-benefits { grid-template-columns: repeat(2, 1fr); }
  .bof-benefit__icon { width: 48px; height: 48px; }
  .bof-benefit__label { font-size: 13px; }
  .bof-hero { min-height: 520px; }
  .bof-hero__content { padding: 70px 20px; }
  .bof-hero__text { font-size: 16px; }
  .bof-cards--3, .bof-cards--4, .bof-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .bof-footer__cols { grid-template-columns: 1fr 1fr; }
  .bof-phone { display: none; }
  .bof-promo__dot { display: none; }
  .bof-drawer__panel { width: 100%; }
  .bof-checks { flex-direction: column; gap: 8px; }
  .bof-btn { width: 100%; }
  .bof-hero__cta .bof-btn, .bof-getstarted__cta .bof-btn { width: auto; }

  /* last-in-block overrides: these must win over the earlier duplicate rules
     (spectrum strip / standard produce grid) declared higher in this media query */
  .bof-spectrum__strip { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .bof-spectrum__tile img { aspect-ratio: 3/4; }
  .bof-standard__produce { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .bof-produce img { max-height: 96px; object-fit: cover; }
  .bof-produce figcaption { font-size: 11px; margin-top: 2px; }
  /* home block calibration round 2 (measured against the reference at 390) */
  /* benefits rows are 440px in the reference at 390 — single column, icon left + label */
  .bof-benefits-wrap { padding: 24px 0 6px; }
  .bof-benefits { grid-template-columns: 1fr; gap: 12px; }
  .bof-benefit { flex-direction: row; align-items: center; text-align: left; gap: 16px; min-height: 95px; }
  .bof-benefit__icon { width: 64px; height: 64px; }
  .bof-benefit__label { font-size: 18px; line-height: 22px; }
  .bof-standard .bof-lead { font-size: 14px; line-height: 1.5; }
  .bof-standard__capsule img { max-height: 210px; }
  .bof-getstarted .bof-cards--3 { gap: 18px; }
  .bof-getstarted .bof-capsule img { aspect-ratio: 3/4; }
  .bof-getstarted .bof-capsule h3 { font-size: 20px; }
  .bof-getstarted .bof-capsule p { font-size: 15px; }
  .bof-numbers__grid { gap: 38px; }
  .bof-numbers__grid strong { font-size: 46px; }
  .bof-numbers__grid p { font-size: 15px; }
  .bof-promise__item { padding-bottom: 10px; }
  .bof-promise__item img { height: 56px; margin-bottom: 20px; }
  .bof-split__media img { max-height: 420px; object-fit: cover; }
  .bof-split .bof-lead, .bof-split__copy p { font-size: 15px; }
  /* mobile cards follow the reference's taller product/capsule shots */
  .bof-capsule img { aspect-ratio: 1/1; }
  .bof-getstarted .bof-capsule img { aspect-ratio: 4/5; }
  .bof-variety__media img { max-height: 520px; object-fit: cover; width: 100%; }
  /* ingredient facts panels: the reference blocks are 868 / 939px at 390, so the
     panel is boxed to a tall frame instead of its square natural ratio */
  .bof-ing-block .bof-ing-block__img { height: 283px; max-height: none; width: 100%; object-fit: contain; }
  .bof-ing-block--alt .bof-ing-block__img { height: 301px; }
}

@media (max-width: 480px) {
  .bof-cards--3, .bof-cards--4, .bof-grid { grid-template-columns: 1fr; }
  .bof-stories .bof-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .bof-footer__cols { grid-template-columns: 1fr; }
}

/* focus visibility */
.bof a:focus-visible, .bof button:focus-visible, .bof summary:focus-visible, .bof input:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}
