/* ============================================================
   Storefront UI Kit — local component styles
   Pulls in colors_and_type.css + tokens.css from project root.
   ============================================================ */

/* ============================================================
   Real Botanicals — Design Tokens
   Colors + Type only. Spacing, radius, shadow live in tokens.css.
   ============================================================ */

/* ---------- Open Sans (PRIMARY — body, UI, headlines) ---------- */
/* ---------- Gotham (PACKAGING DESIGN ONLY) ---------- */
/* Use ONLY for packaging mocks, the giant "7" hero numeral, or other
   product-label-feeling treatments. Do NOT use for body or general UI. */
/* "Real" wordmark substitute — Google Font fallback for the chunky
   friendly serif italic used in the logo lockup. Use sparingly; the
   actual logo lockup should always use the PNG. See README. */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* BKC brand typeface — Montserrat (applied brand-wide) */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
/* cyrillic-ext */
/* cyrillic */
/* vietnamese */
/* latin-ext */
/* latin */
:root {
  /* ============== COLOR TOKENS ============== */

  /* Brand green — BKC primary (was red). */
  --rb-red:            #349344;  /* BKC bright green — logo/CTAs/links */
  --rb-red-hover:      #0b5f31;  /* BKC deep forest — hover/press */
  --rb-red-tint:       rgba(52, 147, 68, 0.08);   /* faint green fill */
  --rb-red-tint-strong: rgba(52, 147, 68, 0.20);  /* focus ring */

  /* Backgrounds */
  --rb-bg:             #FFFFFF;  /* BKC clean white page background */
  --rb-white:          #FFFFFF;  /* elevated/product surfaces */
  --rb-bg-inverse:     #0b5f31;  /* BKC deep-green inverse surface */

  /* Copy */
  --rb-fg:             #000000;  /* all body and headline copy */
  --rb-fg-inverse:     #FFFFFF;

  /* Neutrals — derived from the two backgrounds + black, used for
     borders, muted text, dividers. Kept tight. */
  --rb-paper:          #F6F2F2;  /* faint warm-mauve tint surface */
  --rb-gray-100:       #EFEAEA;
  --rb-gray-200:       #E4DEDE;  /* BKC default border */
  --rb-gray-300:       #D3C1C1;  /* BKC mauve — strong border */
  --rb-gray-500:       #6B6363;  /* muted copy */
  --rb-gray-700:       #2A2626;

  /* Supporting accents */
  --rb-tablet:         #CE713B;  /* chewable tablet orange (product art) */
  --rb-gold:           #FDEB01;  /* BKC signal yellow — deals/badges */

  /* Semantic */
  --rb-success:        #349344;  /* BKC green — savings/value */
  --rb-warning:        #FDEB01;
  --rb-danger:         var(--rb-red);
  --rb-info:           #305F8C;

  /* Surfaces */
  --color-bg:              var(--rb-bg);
  --color-bg-elevated:     var(--rb-white);
  --color-bg-subtle:       var(--rb-paper);
  --color-bg-inverse:      var(--rb-bg-inverse);

  /* Foregrounds */
  --color-fg:              var(--rb-fg);
  --color-fg-muted:        var(--rb-gray-500);
  --color-fg-subtle:       var(--rb-gray-300);
  --color-fg-on-red:       var(--rb-white);
  --color-fg-inverse:      var(--rb-fg-inverse);
  --color-fg-link:         var(--rb-red);

  /* Borders */
  --color-border:          var(--rb-gray-200);
  --color-border-strong:   var(--rb-gray-300);
  --color-border-inverse:  var(--rb-gray-700);

  /* Brand semantic */
  --color-primary:         var(--rb-red);
  --color-primary-hover:   var(--rb-red-hover);
  --color-primary-press:   var(--rb-red-hover);
  --color-on-primary:      var(--rb-white);

  /* ============================================================
     ACEND — product-specific sub-brand palette
     Use ONLY for the Acend product line. Do NOT use these tokens
     for the parent Real Botanicals brand or any other product.
     ============================================================ */
  --acend-green:  #1D9C55;  /* primary — Acend brand green */
  --acend-yellow: #FDEE19;  /* accent — the logo yellow */
  --acend-white:  #FFFFFF;  /* surfaces */
  --acend-cream:  #F4F0E9;  /* warm off-white background */

  /* ============== TYPE TOKENS ============== */

  --font-display:    "Montserrat", "Helvetica Neue", Arial, sans-serif;  /* titles, big numerals */
  --font-body:       "Montserrat", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; /* body, UI, buttons */
  --font-wordmark:   "Sansita", "Cooper Black", Georgia, serif; /* logo SUBSTITUTE only */
  --font-mono:       ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale — major third (1.250). 1rem = 16px. */
  --fs-12:  0.75rem;
  --fs-13:  0.8125rem;
  --fs-14:  0.875rem;
  --fs-15:  0.9375rem;
  --fs-16:  1rem;
  --fs-18:  1.125rem;
  --fs-20:  1.25rem;
  --fs-24:  1.5rem;
  --fs-30:  1.875rem;
  --fs-36:  2.25rem;
  --fs-44:  2.75rem;
  --fs-56:  3.5rem;
  --fs-72:  4.5rem;
  --fs-96:  6rem;

  /* Weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;
  --fw-ultra:    900;

  /* Legacy aliases — keep until refactor sweep is complete */
  --fw-book: 400;
  --fw-thin: 300;

  /* Line heights */
  --lh-tight:   1.05;
  --lh-snug:    1.2;
  --lh-normal:  1.45;
  --lh-loose:   1.65;

  /* Tracking — Real Botanicals uses heavy tracking on all-caps eyebrows
     and tight tracking on display numerals/headlines. */
  --tracking-tighter: -0.02em;
  --tracking-tight:   -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-wider:   0.12em;
  --tracking-widest:  0.32em;  /* the "S E V E N" treatment */
}

/* ============== SEMANTIC TYPOGRAPHY ============== */

html { font-family: var(--font-body); color: var(--color-fg); }

.t-eyebrow,
.eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-fg-muted);
}

.t-display,
h1.display {
  font-family: var(--font-display);
  font-weight: var(--fw-ultra);
  font-size: clamp(var(--fs-44), 6vw, var(--fs-96));
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-fg);
  text-transform: uppercase;
}

.t-h1, h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(var(--fs-36), 4vw, var(--fs-56));
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.t-h2, h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-36);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.t-h3, h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-24);
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

.t-h4, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-18);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.t-body, p {
  font-family: var(--font-body);
  font-weight: var(--fw-book);
  font-size: var(--fs-16);
  line-height: var(--lh-loose);
  color: var(--color-fg);
}

.t-body-sm, .t-small {
  font-family: var(--font-body);
  font-weight: var(--fw-book);
  font-size: var(--fs-14);
  line-height: var(--lh-normal);
  color: var(--color-fg-muted);
}

.t-micro {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: var(--fs-12);
  line-height: var(--lh-normal);
  letter-spacing: var(--tracking-wide);
  color: var(--color-fg-muted);
}

.t-numeral {
  /* the big "7" treatment — heavy, slightly italic, tight tracking */
  font-family: var(--font-display);
  font-weight: var(--fw-ultra);
  font-style: italic;
  letter-spacing: var(--tracking-tighter);
  line-height: 0.9;
}

.t-tracked {
  /* the "S E V E N" treatment — light, ultra-tracked */
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
}

a { color: var(--color-fg-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Real Botanicals — Spacing, Radius, Shadow, Layout, Motion
   ============================================================ */

:root {
  /* ============== SPACING (4pt base) ============== */
  --sp-0:    0;      /* @kind spacing */
  --sp-1:    4px;
  --sp-2:    8px;
  --sp-3:    12px;
  --sp-4:    16px;
  --sp-5:    20px;
  --sp-6:    24px;
  --sp-8:    32px;
  --sp-10:   40px;
  --sp-12:   48px;
  --sp-16:   64px;
  --sp-20:   80px;
  --sp-24:   96px;
  --sp-32:   128px;

  /* ============== RADIUS ============== */
  /* Real Botanicals is geometric with modest rounding. Pill buttons,
     small radius cards, sharp-edge packaging bands. */
  --radius-0:    0;
  --radius-1:    2px;
  --radius-2:    4px;
  --radius-3:    8px;   /* default card, input */
  --radius-4:    12px;
  --radius-5:    16px;  /* feature card */
  --radius-pill: 999px;

  /* ============== BORDERS ============== */
  --border-thin:   1px solid var(--color-border);
  --border-strong: 2px solid var(--color-fg);
  --border-divider: 1px solid var(--color-border);
  --border-band-red: 4px solid var(--rb-red); /* echoes the packaging band */

  /* ============== SHADOWS ============== */
  /* Subtle — this brand reads as "lab clean, photographed on white".
     Use shadows sparingly, and prefer ground-shadow style under products. */
  --shadow-1: 0 1px 2px rgba(17,17,17,0.06);
  --shadow-2: 0 2px 6px rgba(17,17,17,0.08);
  --shadow-3: 0 8px 24px rgba(17,17,17,0.10);
  --shadow-4: 0 16px 48px rgba(17,17,17,0.14);
  /* product hero — wide soft floor shadow */
  --shadow-product: 0 30px 40px -20px rgba(17,17,17,0.18);
  --shadow-focus:  0 0 0 3px rgba(52,147,68,0.30);

  /* ============== LAYOUT ============== */
  --container-sm:   640px;
  --container-md:   880px;
  --container-lg:   1180px;
  --container-xl:   1440px;
  --gutter:         24px;
  --gutter-lg:      48px;
  --header-h:       72px;

  /* ============== MOTION ============== */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);  /* @kind other */
  --dur-1: 120ms;  /* @kind other */
  --dur-2: 200ms;  /* @kind other */
  --dur-3: 320ms;  /* @kind other */
  --dur-4: 520ms;  /* @kind other */

  /* ============== Z-INDEX ============== */
  --z-base:    1;     /* @kind other */
  --z-sticky:  100;   /* @kind other */
  --z-overlay: 800;   /* @kind other */
  --z-modal:   900;   /* @kind other */
  --z-toast:   1000;  /* @kind other */
}

/* ============== RESPONSIVE BREAKPOINTS ============== */
/* sm: 640  md: 768  lg: 1024  xl: 1280  2xl: 1440 */

/* ============== HELPERS ============== */
.container { width: 100%; max-width: var(--container-lg); margin-inline: auto; padding-inline: var(--gutter); }
.container-xl { max-width: var(--container-xl); }
.stack-sm > * + * { margin-top: var(--sp-2); }
.stack    > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-8); }

/* The packaging "red band" — a recurring visual element */
.rb-band {
  background: var(--rb-red);
  color: var(--rb-white);
  padding: var(--sp-3) var(--sp-6);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--fw-bold);
}


html, body {
  margin: 0;
  padding: 0;
  background: var(--rb-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---------- ComplianceBar ---------- */
.rb-compliance {
  background: var(--rb-red);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.rb-header {
  position: sticky;
  top: 0;
  background: var(--rb-bg);
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.rb-header-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.rb-brand img { height: 42px; cursor: pointer; }
.rb-nav { display: flex; gap: 28px; justify-content: center; }
.rb-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rb-fg);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rb-nav a:hover { color: var(--rb-red); }
.rb-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 3px; background: var(--rb-red);
}
.rb-utility { display: flex; align-items: center; gap: 18px; }
.rb-utility button { background: none; border: 0; cursor: pointer; color: var(--rb-fg); padding: 6px; display: flex; }
.rb-utility .rb-cart { position: relative; }
.rb-cart-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--rb-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  border-radius: 999px;
  padding: 2px 6px;
  min-width: 18px; text-align: center;
}

/* ---------- Buttons (per Figma /Button/Button) ---------- */
.rb-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.260px;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 16px;
  transition: background var(--dur-2) var(--ease-out), transform 80ms ease-out, box-shadow var(--dur-2) var(--ease-out);
}
.rb-btn:active { transform: scale(0.98); }
.rb-btn-primary { background: var(--rb-red); color: #fff; }
.rb-btn-primary:hover { background: var(--rb-red-hover); }
.rb-btn-primary:active {
  background: #fff; color: var(--rb-fg);
  box-shadow: inset 0 2px 1px rgba(0,0,0,0.2), inset 1px 0 1px rgba(0,0,0,0.12), inset -1px 0 1px rgba(0,0,0,0.12);
}
.rb-btn-primary:disabled { background: var(--rb-gray-200); color: var(--rb-gray-300); cursor: not-allowed; }
.rb-btn-secondary { background: var(--rb-bg-inverse); color: #fff; }
.rb-btn-secondary:hover { background: #093f21; }
.rb-btn-outline { background: transparent; border: 1px solid var(--rb-fg); color: var(--rb-fg); padding: 15px 23px; }
.rb-btn-outline:hover { background: var(--rb-bg-inverse); color: #fff; border-color: var(--rb-bg-inverse); }
/* Outlined on dark backgrounds (footer CTAs) — per Figma Button outlined variants */
.rb-btn-on-dark { background: rgba(255,255,255,0.08); border: 1px solid #fff; color: #fff; backdrop-filter: blur(20px); padding: 15px 23px; }
.rb-btn-on-dark:hover { background: #fff; color: var(--rb-fg); border-color: #fff; }
.rb-btn-text { background: transparent; color: var(--rb-red); padding: 8px 0; border-radius: 0; letter-spacing: 0.08em; }
.rb-btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }
.rb-btn-block { width: 100%; }
.rb-btn-sm { padding: 10px 18px; font-size: 14px; letter-spacing: 0.220px; }

/* ---------- Chips (per Figma Background+Border / Border) ---------- */
.rb-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 21px;
  min-height: 31px;
  border-radius: 100px;
  border: 1px solid #CCCCCC;
  background: #fff;
  color: var(--rb-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.280px;
  line-height: 1;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.rb-chip:hover { border-color: var(--rb-fg); }
.rb-chip.active { background: var(--rb-red); color: #fff; border-color: var(--rb-red); }

/* ---------- Badges ---------- */
.rb-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
}
.rb-badge-red { background: var(--rb-red); color: #fff; }
.rb-badge-ink { background: var(--rb-bg-inverse); color: #fff; }
.rb-badge-gold { background: var(--rb-gold); color: var(--rb-fg); }
.rb-badge-soft { background: var(--rb-red-tint); color: var(--rb-red-hover); }
.rb-badge-outline { background: #fff; color: var(--rb-fg); border: 1.5px solid var(--rb-fg); }

/* ---------- QtyStepper ---------- */
.rb-qty {
  display: inline-flex; align-items: center;
  background: var(--rb-paper);
  border-radius: 999px; padding: 5px;
  width: fit-content;
}
.rb-qty button {
  width: 32px; height: 32px;
  background: transparent; border: 0;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 15px; color: var(--rb-fg); cursor: pointer;
}
.rb-qty button:hover { background: #fff; }
.rb-qty .v { padding: 0 16px; font-family: var(--font-body); font-weight: 700; font-size: 14px; }

/* ---------- Stars ---------- */
.rb-stars { color: var(--rb-gold); font-size: 14px; letter-spacing: 2px; }

/* ---------- Hero ---------- */
.rb-hero {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.rb-hero-eyebrow {
  font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--rb-red); margin-bottom: 20px;
}
.rb-hero-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 120px 28px;
  min-height: 60vh;
  align-content: center;
}
.rb-hero-centered .rb-hero-p { max-width: 560px; }
.rb-hero-centered .rb-hero-ctas { justify-content: center; }
.rb-hero-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.rb-hero-centered .rb-hero-rating { justify-content: center; }
.rb-hero-stars { color: var(--rb-gold); font-size: 18px; letter-spacing: 2px; }
.rb-hero-rating-txt { font-family: var(--font-body); font-size: 14px; color: var(--rb-fg); }
.rb-hero-rating-txt strong { font-weight: 700; }
.rb-hero-promo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px; padding: 10px 18px; border-radius: 999px;
  background: var(--rb-gold); color: var(--rb-fg);
  font-family: var(--font-body); font-size: 14px;
}
.rb-hero-promo strong { font-weight: 800; }
.rb-hero-code {
  font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 8px; border-radius: 6px;
  background: var(--rb-fg); color: var(--rb-gold);
}
.rb-hero-h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--rb-fg);
  margin: 0 0 24px;
}
.rb-hero-h1 em { font-style: italic; color: var(--rb-red); font-weight: 900; }
.rb-hero-p {
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--rb-fg); max-width: 480px;
  margin: 0 0 32px;
}
.rb-hero-ctas { display: flex; gap: 14px; }
.rb-hero-art {
  background: #fff; border-radius: 20px;
  padding: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(17,17,17,0.18);
}
.rb-hero-art img { max-height: 480px; }
.rb-hero-art .big7 {
  position: absolute; left: -40px; bottom: -80px;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 480px; line-height: 0.8;
  color: var(--rb-red-tint);
  z-index: 0; pointer-events: none;
  letter-spacing: -0.05em;
}
.rb-hero-art img { position: relative; z-index: 1; }

/* ---------- Trust strip ---------- */
.rb-trust {
  background: var(--rb-bg-inverse); color: #fff;
  padding: 28px;
}
.rb-trust-inner {
  max-width: var(--container-xl); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; align-items: center;
}
.rb-trust-item { display: flex; gap: 14px; align-items: center; }
.rb-trust-item svg { color: var(--rb-red); flex-shrink: 0; }
.rb-trust-item .l { font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.rb-trust-item .s { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.4; }

/* ---------- Category strip ---------- */
.rb-cats {
  max-width: var(--container-xl); margin: 0 auto;
  padding: 80px 28px;
}
.rb-cats h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 36px; text-transform: uppercase; letter-spacing: -0.01em;
  text-align: center; margin: 0 0 8px;
}
.rb-cats .sub { text-align: center; color: var(--rb-gray-500); margin: 0 0 40px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600;}
.rb-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rb-cats h2 + .rb-lineup-grid { margin-top: 40px; }
.rb-lineup-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; gap: 24px; }
.rb-prodcard { padding: 24px; }
.rb-prodcard-img {
  background: var(--rb-paper); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; margin-bottom: 4px;
}
.rb-prodcard-img img { max-height: 240px; width: auto; }
.rb-prodcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.rb-prodcard-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--rb-fg); }
.rb-cat {
  background: #fff; border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.rb-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.rb-cat .eye { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rb-red);}
.rb-cat h3 { font-family: var(--font-display); font-weight: 900; font-size: 32px; margin: 0; text-transform: uppercase; letter-spacing: -0.01em;}
.rb-cat p { font-family: var(--font-body); font-size: 14px; color: var(--rb-fg); line-height: 1.6; margin: 0;}
.rb-cat .more { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-red); margin-top: auto;}

/* ---------- Product Card ---------- */
.rb-pcard {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  position: relative;
}
.rb-pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.rb-pcard .pimg { height: 200px; display: flex; align-items: center; justify-content: center; }
.rb-pcard .pimg img { max-height: 200px; max-width: 100%; }
.rb-pcard .ptag { position: absolute; top: 14px; left: 14px; }
.rb-pcard h4 { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin: 0; color: var(--rb-fg); line-height: 1.2;}
.rb-pcard .pmeta { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rb-gray-500); }
.rb-pcard .pbot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px;}
.rb-pcard .price { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: var(--rb-fg); line-height: 1; }

/* ---------- PDP ---------- */
.rb-pdp {
  max-width: var(--container-xl); margin: 0 auto;
  padding: 40px 28px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.rb-gallery .main {
  background: var(--rb-bg);
  border-radius: 16px;
  padding: 40px;
  display: flex; align-items: center; justify-content: center;
  min-height: 540px;
}
.rb-gallery .main img { max-height: 480px; }
.rb-gallery .thumbs { display: flex; gap: 12px; margin-top: 16px; }
.rb-gallery .thumb {
  background: var(--rb-bg); border-radius: 8px; padding: 8px;
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
}
.rb-gallery .thumb.active { border-color: var(--rb-red); }
.rb-gallery .thumb img { max-height: 60px; max-width: 60px; }

.rb-buybox { padding-top: 8px; }
.rb-bb-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rb-red); margin-bottom: 12px;}
.rb-bb-h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 40px; line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px; color: var(--rb-fg);
}
.rb-bb-review { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.rb-bb-review .count { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--rb-gray-500); }
.rb-bb-desc { font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--rb-fg); margin: 0 0 28px; }
.rb-bb-row { margin-bottom: 22px; }
.rb-bb-label { font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-fg); margin-bottom: 12px;}
.rb-bb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rb-bb-price-row { display: flex; gap: 24px; align-items: center; margin: 28px 0 16px; }
.rb-bb-price { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 44px; color: var(--rb-red); line-height: 1; letter-spacing: -0.02em; }
.rb-bb-strike { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--rb-gray-300); text-decoration: line-through; }
.rb-bb-ctas { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.rb-bb-trust {
  display: flex; gap: 18px; padding: 14px 0;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rb-gray-500);
}
.rb-bb-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Options line under the H1, like "10mg | 20mg | 40mg | 100mg" */
.rb-bb-options-line {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--rb-fg);
  margin-bottom: 16px;
}

.rb-bb-desc.expanded { white-space: normal; }
.rb-bb-readmore {
  background: none; border: 0;
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; color: var(--rb-fg);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; padding: 0; margin-bottom: 24px;
}

/* PDP detail accordion (Product Details / Supplement Facts / Safety Profile / Certified Testing) */
.rb-pdp-acc { margin-top: 24px; border-top: 1px solid var(--color-border); }
.rb-pdp-acc-item { border-bottom: 1px solid var(--color-border); }
.rb-pdp-acc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-body); font-weight: 700;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rb-fg);
}
.rb-pdp-acc-head .lh { display: inline-flex; align-items: center; gap: 12px; }
.rb-pdp-acc-head svg { color: var(--rb-red); transition: transform var(--dur-2) var(--ease-out); }
.rb-pdp-acc-item.open .rb-pdp-acc-head > svg:last-child { transform: rotate(90deg); }
.rb-pdp-acc-body { padding: 0 0 18px; font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--rb-fg); }

/* ---------- Purchase Options (per Figma /Button/Frame-11 + S-S2) ---------- */
.rb-purchase {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.rb-popt {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.6);
  padding: 24px 16px;
  cursor: pointer;
  background: transparent;
  transition: all 200ms var(--ease-out);
}
.rb-popt.selected {
  background: var(--rb-bg);
  border: 1px solid var(--rb-red);
}
.rb-popt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.rb-popt-radio {
  width: 19.45px;
  height: 19.45px;
  border-radius: 999px;
  border: 1.945px solid rgba(0,0,0,0.6);
  flex-shrink: 0;
  position: relative;
  background: transparent;
}
.rb-popt.selected .rb-popt-radio {
  border-color: var(--rb-red);
}
.rb-popt.selected .rb-popt-radio::after {
  content: "";
  position: absolute;
  inset: 1.945px;
  background: var(--rb-red);
  border-radius: 999px;
}
.rb-popt-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.22;
  color: var(--rb-fg);
  flex: 1;
  display: flex; align-items: center; gap: 12px;
}
.rb-popt-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--rb-fg);
  white-space: nowrap;
}
.rb-popt-body {
  margin-top: 16px;
  padding-left: 31px;
  display: flex; flex-direction: column; gap: 8px;
}
.rb-popt-feat {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--rb-fg);
  display: flex; align-items: center; gap: 8px;
}
.rb-popt-feat svg { color: var(--rb-red); flex-shrink: 0; }
.rb-popt-freq {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--rb-gray-500);
  margin-top: 6px;
  padding-left: 31px;
}

/* "Save X%" green badge — per Figma S-S2 */
.rb-save-badge {
  display: inline-block;
  background: var(--rb-success);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.6px;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 4px;
}
.rb-best-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--rb-success);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ---------- Accordion ---------- */
.rb-acc {
  max-width: var(--container-md); margin: 0 auto;
  padding: 60px 28px;
}
.rb-acc h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 36px; text-transform: uppercase; letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.rb-acc-item { border-bottom: 1px solid var(--color-border); }
.rb-acc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-body); font-weight: 700;
  font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--rb-fg);
}
.rb-acc-head .plus { font-family: var(--font-body); font-weight: 400; font-size: 28px; color: var(--rb-fg); line-height: 1; transition: transform var(--dur-2) var(--ease-out);}
.rb-acc-item.open .rb-acc-head .plus { transform: rotate(45deg); }
.rb-acc-body { padding: 0 0 22px; font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--rb-fg); max-width: 640px;}

/* ---------- Reviews ---------- */
.rb-reviews {
  background: var(--rb-paper);
  padding: 80px 28px;
}
.rb-reviews-inner { max-width: var(--container-lg); margin: 0 auto; }
.rb-reviews h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 36px; text-transform: uppercase; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.rb-reviews .sum {
  display: flex; gap: 18px; align-items: center; margin-bottom: 40px;
  font-family: var(--font-body); font-size: 14px; color: var(--rb-gray-500);
}
.rb-reviews .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rb-review {
  background: #fff; border-radius: 12px; padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.rb-review .stars { color: var(--rb-gold); font-size: 14px; letter-spacing: 2px;}
.rb-review .body { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--rb-fg); margin: 0;}
.rb-review .who { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-gray-500);}

/* ---------- Footer ---------- */
.rb-footer { background: var(--rb-bg-inverse); color: #fff; padding: 60px 28px 24px; }
.rb-footer-inner { max-width: var(--container-xl); margin: 0 auto; }
.rb-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);}
.rb-footer-brand img { height: 48px; filter: brightness(0) invert(1) hue-rotate(0deg); /* tinted by background */ }
.rb-footer-brand p { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; max-width: 320px; margin-top: 12px;}
.rb-footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; margin: 16px 0 0;}
.rb-footer-addr { font-style: normal; font-family: var(--font-body); font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.7);}
.rb-footer-col h5 { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; color: #fff;}
.rb-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.rb-footer-col a { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; cursor: pointer;}
.rb-footer-col a:hover { color: #fff; }
.rb-news { display: flex; gap: 0; margin-top: 14px; max-width: 340px;}
.rb-news input { flex: 1; padding: 12px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-right: 0; border-radius: 999px 0 0 999px; color: #fff; font-family: var(--font-body); font-size: 13px; outline: none;}
.rb-news input::placeholder { color: rgba(255,255,255,0.4);}
.rb-news button { background: var(--rb-red); border: 0; padding: 12px 22px; border-radius: 0 999px 999px 0; color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; cursor: pointer;}
.rb-footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-body); font-size: 11px; color: rgba(255,255,255,0.5);}
.rb-warning {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin: 24px 0;
}

/* ---------- Cart Drawer ---------- */
.rb-scrim {
  position: fixed; inset: 0;
  background: rgba(17,17,17,0.55);
  z-index: var(--z-modal);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-3) var(--ease-out);
}
.rb-scrim.open { opacity: 1; pointer-events: auto; }
.rb-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 440px; max-width: 100%;
  background: #fff;
  z-index: calc(var(--z-modal) + 1);
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease-out);
  display: flex; flex-direction: column;
}
.rb-drawer.open { transform: translateX(0); }
.rb-drawer .head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--color-border);}
.rb-drawer .head h3 { font-family: var(--font-display); font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; margin: 0;}
.rb-drawer .head button { background: none; border: 0; cursor: pointer; padding: 4px;}
.rb-drawer .items { flex: 1; overflow-y: auto; padding: 16px 24px;}
.rb-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--color-border); align-items: center;}
.rb-line .pimg { background: var(--rb-paper); border-radius: 8px; padding: 6px; display: flex; align-items: center; justify-content: center; height: 84px; }
.rb-line .pimg img { max-height: 72px;}
.rb-line h4 { font-family: var(--font-body); font-weight: 700; font-size: 14px; margin: 0 0 4px; color: var(--rb-fg);}
.rb-line .var { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-gray-500); margin-bottom: 8px;}
.rb-line .price { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--rb-fg); line-height: 1;}
.rb-drawer .footer-cart { padding: 20px 24px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 14px;}
.rb-drawer .subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;}
.rb-drawer .subtotal .v { font-weight: 700; font-size: 22px; color: var(--rb-fg); letter-spacing: 0; text-transform: none;}
.rb-drawer .ship-note { font-family: var(--font-body); font-size: 11px; color: var(--rb-gray-500); text-align: center; letter-spacing: 0.04em;}

/* ---------- Page sections / view-switching ---------- */
.rb-section-band {
  background: var(--rb-red); color: #fff;
  text-align: center; padding: 50px 28px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 36px; letter-spacing: -0.01em; text-transform: uppercase;
}
.rb-section-band em { font-style: italic; font-weight: 900;}

.rb-collection {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 60px 28px;
}
.rb-collection-head { text-align: center; margin-bottom: 48px;}
.rb-collection-head .eye { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--rb-red);}
.rb-collection-head h2 { font-family: var(--font-display); font-weight: 900; font-size: 48px; text-transform: uppercase; letter-spacing: -0.02em; margin: 12px 0 16px;}
.rb-collection-head p { font-family: var(--font-body); font-size: 15px; color: var(--rb-gray-500); max-width: 520px; margin: 0 auto;}
.rb-collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;}

@media (max-width: 980px) {
  .rb-hero, .rb-pdp { grid-template-columns: 1fr; gap: 32px; }
  .rb-nav { display: none; }
  .rb-collection-grid, .rb-cats-grid, .rb-trust-inner, .rb-footer-top { grid-template-columns: 1fr 1fr; }
  .rb-reviews .grid { grid-template-columns: 1fr; }
  .rb-hero-art .big7 { font-size: 320px; }
}
