/* =========================================================
   2G Peppers — Styles
   ========================================================= */

:root {
  --green: #3aab2e;
  --green-dark: #2d8a23;
  --orange: #e8401c;
  --orange-dark: #c8330f;
  --ink: #1b1f1a;
  --ink-soft: #4a534a;
  --muted: #717a73;
  --line: #e8ebe6;
  --bg: #ffffff;
  --bg-soft: #f7faf5;
  --bg-tint: #fdf6f4;
  --shadow-sm: 0 1px 2px rgba(20,30,15,.06), 0 2px 6px rgba(20,30,15,.04);
  --shadow-md: 0 6px 18px rgba(20,30,15,.08), 0 2px 6px rgba(20,30,15,.05);
  --shadow-lg: 0 14px 40px rgba(20,30,15,.12);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --header-h: 78px;
  --header-h-shrunk: 62px;
  --max: 1180px;
  --max-narrow: 760px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h-shrunk); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--orange); }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .4em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-weight: 800; }
p { margin: 0 0 1em; }
small { color: var(--muted); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  font-family: inherit;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 6px 16px rgba(58,171,46,.28);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================================
   Age Gate Modal
   ========================================================= */
.age-gate {
  position: fixed; inset: 0;
  background: rgba(15, 25, 12, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: gateFadeIn .25s ease;
}
@keyframes gateFadeIn { from { opacity: 0; } to { opacity: 1; } }
.age-gate.is-hiding { opacity: 0; transition: opacity .3s ease; pointer-events: none; }

.age-gate-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--green);
  border-bottom: 6px solid var(--orange);
  animation: gateRise .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes gateRise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.age-gate-logo {
  width: 220px; height: auto;
  display: block;
  margin: 0 auto 8px;
}
.age-gate h2 {
  font-size: 24px;
  margin-bottom: 18px;
}
.age-gate-questions p {
  text-align: left;
  background: var(--bg-soft);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14.5px;
  border-left: 3px solid var(--green);
}
.age-gate-questions p:last-child { border-left-color: var(--orange); }
.age-gate-buttons {
  display: flex; gap: 10px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}
.age-gate-buttons .btn { flex: 1 1 180px; }
.age-gate-fineprint { font-size: 12px; color: var(--muted); margin: 0; }

body.gate-locked { overflow: hidden; }

.access-denied {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.access-denied h1 { font-size: 28px; margin-bottom: 12px; }
.access-denied p { color: var(--muted); max-width: 480px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: padding .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  transition: min-height .22s ease;
}
.site-header.scrolled .header-inner { min-height: var(--header-h-shrunk); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-logo {
  height: 48px; width: auto;
  display: block;
  transition: height .22s ease;
}
.site-header.scrolled .brand-logo { height: 40px; }
.brand-wordmark {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(1px);
  transition: font-size .22s ease;
}
.site-header.scrolled .brand-wordmark { font-size: 20px; }
.bw-2g { color: var(--green); }
.bw-peppers { color: var(--orange); }

.primary-nav { display: flex; gap: 6px; }
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover { color: var(--green-dark); background: var(--bg-soft); }

.hamburger {
  display: none;
  background: transparent; border: 0;
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(circle at 18% 12%, rgba(58,171,46,.12), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(232,64,28,.10), transparent 55%),
    #fff;
  overflow: hidden;
}
.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-title-accent {
  background: linear-gradient(90deg, var(--green) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 auto 30px;
}
.hero-ctas {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex; gap: 18px;
  justify-content: center; flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust .trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.hero-trust .ico {
  width: 18px; height: 18px;
  color: var(--green-dark);
  flex-shrink: 0;
}

/* =========================================================
   Sections (common)
   ========================================================= */
.section {
  padding: 84px 0;
  position: relative;
}
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 12px;
}
.section-head h2::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 4px;
  margin: 16px auto 0;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   Product Grid & Vial Component
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20,30,15,.14), 0 4px 10px rgba(20,30,15,.06);
  border-color: rgba(58,171,46,.35);
}
.product-card:hover .vial-svg {
  filter: drop-shadow(0 14px 22px rgba(20,30,15,.18));
}
.product-card.out-of-stock {
  overflow: hidden;
}
.product-card.out-of-stock .vial-photo {
  filter: grayscale(65%) opacity(0.65);
}
.product-card.low-stock {
  border-color: rgba(245,158,11,.45);
}
.product-card.low-stock .vial-photo {
  filter: saturate(0.8) opacity(0.9);
}
.product-card:hover .vial-photo {
  transform: translateY(-4px);
}
.product-card.out-of-stock::before {
  content: 'OUT OF STOCK';
  position: absolute;
  top: 18px; right: -42px;
  width: 160px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  padding: 5px 0;
  transform: rotate(38deg);
  box-shadow: 0 4px 10px rgba(232,64,28,.25);
  z-index: 2;
  pointer-events: none;
}

.product-name {
  font-size: 20px;
  margin: 18px 0 4px;
}
.product-dose {
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-weight: 500;
  font-size: 14.5px;
}
.stock {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.stock-in  { background: rgba(58,171,46,.12);  color: var(--green-dark); }
.stock-out { background: rgba(232,64,28,.12);  color: var(--orange-dark); }
.stock-low { background: rgba(245,158,11,.14); color: #92400e; }

/* --- Individual vial photos (transparent PNG, no bg needed) --- */
.vial-photo {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 220px;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto 12px;
  transition: transform .25s ease, filter .25s ease;
}

/* =========================================================
   Pricing Tiers
   ========================================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-num {
  font-size: 54px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.tier-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.tier-pct {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 8px;
}
.tier-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.tier-best {
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(232,64,28,.14);
}
.tier-best .tier-num { color: var(--orange); }
.tier-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(232,64,28,.3);
}
.tier-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 36px;
}

.refer-card {
  background: linear-gradient(120deg, rgba(58,171,46,.08), rgba(232,64,28,.08));
  border: 1px solid rgba(58,171,46,.25);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex; gap: 22px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.refer-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  color: var(--green-dark);
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.refer-icon svg { width: 32px; height: 32px; }
.refer-card h3 { margin: 0 0 6px; font-size: 22px; }
.refer-card p { margin: 0; color: var(--ink-soft); }

/* =========================================================
   How To Order
   ========================================================= */
.steps-grid {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -14px; left: 22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(58,171,46,.3);
}
.step:nth-child(even) .step-num { background: var(--orange); box-shadow: 0 4px 10px rgba(232,64,28,.3); }
.step-icon {
  width: 38px; height: 38px;
  margin-bottom: 10px;
  color: var(--green-dark);
  display: flex; align-items: center;
}
.step-icon svg { width: 100%; height: 100%; }
.step:nth-child(even) .step-icon { color: var(--orange-dark); }
.step h4 { font-size: 17px; margin: 0 0 6px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 14.5px; }

.shipping-callout {
  background: #fff;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.shipping-callout h3 { font-size: 18px; margin-bottom: 12px; }
.shipping-callout ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.shipping-callout li { margin-bottom: 6px; font-size: 15px; }

.payments-row {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.payment-pill .ico-sm {
  width: 18px; height: 18px;
  color: var(--green-dark);
  flex-shrink: 0;
}
.payment-pill .ico-brand {
  height: 24px;
  width: auto;
  flex-shrink: 0;
  border-radius: 5px;
  display: block;
}

/* =========================================================
   Order Form
   ========================================================= */
.order-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label,
.form-row legend {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
  padding: 0;
}
.req { color: var(--orange); font-weight: 700; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(58,171,46,.16);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
fieldset.form-row { border: 0; padding: 0; margin-bottom: 18px; }
.radio {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 16px; margin-top: 4px;
  font-weight: 500;
  cursor: pointer;
  font-size: 15px;
}
.radio input { accent-color: var(--green); width: 16px; height: 16px; }

.form-success {
  background: linear-gradient(135deg, rgba(58,171,46,.08), rgba(232,64,28,.08));
  border: 1px solid rgba(58,171,46,.3);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
}
.form-success-emoji { font-size: 54px; margin-bottom: 8px; }
.form-success h3 { font-size: 26px; margin-bottom: 8px; color: var(--green-dark); }
.form-success p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* =========================================================
   About
   ========================================================= */
.about-body {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.about-body strong { color: var(--ink); }

.watch-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 30px;
  display: flex; gap: 18px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.watch-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  color: var(--orange-dark);
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.watch-icon svg { width: 30px; height: 30px; }
.watch-card h3 { font-size: 19px; margin: 0 0 4px; }
.watch-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58,171,46,.35);
  color: var(--ink);
}
.contact-icon {
  width: 40px; height: 40px;
  margin: 0 auto 10px;
  color: var(--green-dark);
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-card:nth-child(even) .contact-icon { color: var(--orange-dark); }
.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-value {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  word-break: break-word;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #14180f;
  color: #c2c8bd;
  padding: 50px 0 30px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { width: 140px; height: auto; display: block; background: #fff; padding: 10px 12px; border-radius: 12px; }
.footer-tagline { font-weight: 600; color: #fff; margin: 0; }
.footer-socials { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
}
.footer-soc-ico { width: 16px; height: 16px; color: #fff; }
.footer-socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; }
.footer-disclaimer {
  max-width: 700px;
  font-size: 12.5px;
  color: #8b9286;
  line-height: 1.55;
  margin: 12px 0 0;
}
.footer-copy { font-size: 12px; color: #6f7669; margin: 0; }

/* =========================================================
   Floating Mobile CTA
   ========================================================= */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(232,64,28,.4);
  z-index: 90;
  text-decoration: none;
}
.floating-cta:hover { background: var(--orange-dark); color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .brand-wordmark { font-size: 19px; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 24px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform .25s ease;
    z-index: 99;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 16px;
  }

  .hamburger { display: flex; }

  .product-grid { grid-template-columns: 1fr; gap: 18px; max-width: 360px; margin: 0 auto; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .refer-card, .watch-card { flex-direction: column; text-align: center; }

  .form-grid-2 { grid-template-columns: 1fr; }
  .order-form { padding: 22px; }

  .floating-cta { display: inline-flex; align-items: center; }

  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 280px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 420px) {
  .tier-grid { grid-template-columns: 1fr; }
  .age-gate-buttons { flex-direction: column; }
  .container { padding: 0 18px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ORDER FORM ENHANCEMENTS
   ========================================================= */

.vial-counter { font-weight: 400; color: var(--muted); font-size: 13px; }
.form-hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.form-field-error { font-size: 13px; color: var(--orange); margin: 6px 0 0; }
.optional { color: var(--muted); font-weight: 400; font-size: 13px; }

/* Product selection grid */
.product-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.ps-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  user-select: none;
  position: relative;
}
.ps-item:hover { border-color: rgba(58,171,46,.4); background: var(--bg-soft); }
.ps-item.ps-selected { border-color: var(--green); background: rgba(58,171,46,.05); }
.ps-item.ps-oos { opacity: .55; cursor: not-allowed; }
.ps-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.ps-name { flex: 1; font-weight: 600; font-size: 14px; }
.ps-name em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 3px; }
.ps-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0;
}
.ps-qty {
  padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px;
  font-size: 13px; background: var(--bg-soft); color: var(--ink);
  cursor: pointer; flex-shrink: 0;
  transition: opacity .15s ease;
}
.ps-qty:disabled { opacity: .35; cursor: not-allowed; }

/* BAC Water add-on */
.ps-bac { border-color: rgba(58,171,46,.3); background: rgba(58,171,46,.03); }
.ps-bac-price { margin-left: auto; font-weight: 700; color: var(--green-dark); font-size: 14px; }

/* Order estimator */
.order-estimator {
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 6px;
}
.est-header {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  margin-bottom: 14px;
}
.est-header svg { color: var(--green-dark); }
.est-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.est-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink-soft);
}
.est-discount { color: var(--green-dark); font-weight: 600; display: none; }
.est-savings { color: var(--green-dark); font-weight: 700; }
.est-total { font-weight: 800; font-size: 17px; color: var(--ink); }
.est-divider { border: none; border-top: 1px solid var(--line); margin: 10px 0; }
.est-note {
  font-size: 11.5px; color: var(--muted);
  margin: 10px 0 0; font-style: italic;
}

/* Receipt upload */
.receipt-drop {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  margin-top: 6px;
}
.receipt-drop:hover { border-color: var(--green); background: var(--bg-soft); }
.receipt-drop input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.receipt-drop-label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: 14px; pointer-events: none; padding: 16px;
}
.receipt-preview {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; width: 100%;
}
.receipt-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.receipt-filename { flex: 1; font-size: 13px; color: var(--ink-soft); word-break: break-all; }
.receipt-remove { background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); cursor: pointer; flex-shrink: 0; margin-top: 0; }
.receipt-remove:hover { border-color: var(--orange); color: var(--orange); }
.receipt-status { font-size: 13px; color: var(--green-dark); margin: 6px 0 0; }

@media (max-width: 640px) {
  .product-select-grid { grid-template-columns: 1fr; }
  .ps-badge { display: none; } /* save space on mobile */
}

/* =========================================================
   REVIEW SYSTEM
   ========================================================= */

/* --- Rating summary --- */
.rating-summary {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-bottom: 28px;
}
.rating-big {
  font-size: 56px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--green), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.rating-stars-display { display: flex; gap: 3px; }
.rating-stars-display .rv-star { font-size: 22px; color: #ddd; }
.rating-stars-display .rv-star.filled { color: #f5a623; }
.rating-count { font-size: 14px; color: var(--muted); font-weight: 500; }

.review-cta-wrap { text-align: center; margin-bottom: 40px; }

/* --- Reviews grid --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.rv-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  padding: 40px 0;
}

/* --- Review card --- */
.rv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.rv-card-header {
  display: flex; align-items: flex-start; gap: 12px;
}
.rv-card-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.rv-card-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.rv-card-stars { display: flex; gap: 2px; }
.rv-card-stars .rv-star { font-size: 14px; color: #ddd; }
.rv-card-stars .rv-star.filled { color: #f5a623; }
.rv-card-date { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.rv-card-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.rv-card-photo {
  width: 100%; max-height: 200px;
  object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line);
}

/* --- Modals (shared) --- */
.rev-overlay[hidden] { display: none !important; }
.rev-overlay {
  position: fixed; inset: 0;
  background: rgba(15,25,12,.78);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.rev-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--green);
}
.rev-card-wide { max-width: 700px; }
.rev-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 26px; cursor: pointer;
  color: var(--muted); line-height: 1;
  transition: color .15s ease;
}
.rev-close:hover { color: var(--orange); }
.rev-sub { color: var(--muted); font-size: 14px; margin: 4px 0 20px; }
.optional { color: var(--muted); font-weight: 400; font-size: 13px; }
.rv-error { color: var(--orange); font-size: 14px; margin-top: 10px; }

/* --- Star picker --- */
.star-picker { display: flex; gap: 6px; margin-top: 4px; }
.sp-star {
  font-size: 32px; cursor: pointer; color: #ddd;
  transition: color .12s ease, transform .12s ease;
  user-select: none;
}
.sp-star.hover, .sp-star.selected { color: #f5a623; transform: scale(1.15); }

/* --- Photo upload --- */
.photo-drop {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  min-height: 100px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.photo-drop:hover { border-color: var(--green); background: var(--bg-soft); }
.photo-drop input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.photo-drop-label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; pointer-events: none;
}
.photo-preview-img {
  width: 100%; max-height: 200px; object-fit: cover; display: block;
}

/* --- Review success --- */
.rv-success {
  text-align: center; padding: 20px 0;
}
.rv-success-icon { font-size: 52px; margin-bottom: 8px; }
.rv-success h3 { color: var(--green-dark); margin-bottom: 8px; }
.rv-success p { color: var(--muted); }

/* --- Admin panel --- */
.admin-access-btn {
  display: block; width: 12px; height: 12px;
  background: transparent; border: none; cursor: pointer;
  margin: 8px auto 0; opacity: 0; border-radius: 50%;
  transition: opacity .3s;
}
.admin-access-btn:hover { opacity: 0.3; background: var(--muted); }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.admin-tab {
  padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.admin-tab.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.tab-badge {
  display: inline-block; background: var(--orange); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  padding: 1px 7px; margin-left: 6px;
}
.admin-list { display: flex; flex-direction: column; }
.admin-review-row { padding: 16px 0; }
.admin-hr { border: none; border-top: 1px solid var(--line); margin: 0; }
.admin-review-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.admin-review-meta .rv-star { font-size: 14px; color: #ddd; }
.admin-review-meta .rv-star.filled { color: #f5a623; }
.rv-date { color: var(--muted); font-size: 12px; margin-left: auto; }
.admin-review-text { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }
.admin-photo { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 10px; display: block; }
.admin-review-actions { display: flex; gap: 10px; }
.btn-admin-approve, .btn-admin-delete {
  padding: 7px 16px; border-radius: 999px; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity .15s ease;
}
.btn-admin-approve { background: rgba(58,171,46,.12); color: var(--green-dark); }
.btn-admin-approve:hover { background: rgba(58,171,46,.25); }
.btn-admin-delete  { background: rgba(232,64,28,.1); color: var(--orange-dark); }
.btn-admin-delete:hover  { background: rgba(232,64,28,.22); }

/* Responsive reviews */
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .reviews-grid { grid-template-columns: 1fr; }
  .rev-card { padding: 24px 20px; }
}
