/* ============================================================
   PEAK LAB PEPTIDES — quiz funnel
   UI modeled on peaklabpeptides.com: white, Poppins + Lato,
   #3AB5FF blue accent, navy/black chrome, flat e-commerce cards.
   ============================================================ */

:root {
  --blue: #3AB5FF;
  --blue-deep: #1c9ff0;
  --blue-ink: #0d7fce;
  --blue-soft: #eaf6ff;
  --navy: #1f2b3a;
  --navy-2: #16202c;
  --ink: #1a2230;
  --text: #545b66;
  --muted: #8b93a0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --line: #e7edf3;
  --line-2: #dbe3ec;
  --strike: #b7bfc9;
  --ok: #1fae5a;
  --sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --head: 'Poppins', 'Lato', sans-serif;
  --radius: 10px;
  --radius-sm: 7px;
  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 2px 8px rgba(23,43,66,0.06), 0 12px 30px -18px rgba(23,43,66,0.18);
  --shadow-hover: 0 6px 16px rgba(23,43,66,0.10), 0 24px 48px -22px rgba(58,181,255,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.15; font-weight: 700; }
a { color: var(--blue-ink); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
em { font-style: normal; color: var(--blue); }

/* ---------- Top chrome ---------- */
.ruo-banner {
  background: var(--navy);
  color: #cdd6e0;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  letter-spacing: 0.02em;
}
.ruo-banner strong { color: #fff; }
.ruo-banner svg { flex-shrink: 0; color: var(--blue); }
.promo-bar {
  background: #0d1218;
  color: #fff;
  text-align: center;
  font-family: var(--head);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}
.promo-bar .sep { color: var(--blue); margin: 0 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.nav-scrolled { box-shadow: 0 4px 18px -10px rgba(23,43,66,0.25); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; }
.pl-logo { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--head); font-weight: 600; font-size: 13.5px; letter-spacing: 0.03em;
  color: var(--ink); text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-reviews { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text); }
.nav-reviews .stars { color: #ffb020; letter-spacing: 1px; }
.nav-reviews strong { color: var(--ink); font-family: var(--head); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  text-decoration: none;
}
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(58,181,255,0.6); }
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(58,181,255,0.7); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-light { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-xl { padding: 16px 32px; font-size: 16px; }

/* ---------- Section wrapper ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  background: var(--blue-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.section-sub { color: var(--text); font-size: 16px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy);
  color: #cfd8e2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px;
  padding: 14px 24px; font-family: var(--head); font-weight: 500; font-size: 13.5px;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .ck { color: var(--blue); font-weight: 700; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   QUIZ
   ============================================================ */
/* On the quiz landing, fill the viewport under the chrome and center the
   whole thing so nothing gets cut off. ~150px = RUO bar + promo + nav. */
.quiz-section { padding: 0; }
.quiz-section > .container {
  min-height: calc(100svh - 150px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 24px; padding-bottom: 24px;
}
.quiz-head { text-align: center; max-width: 640px; margin: 0 auto 20px; }
.quiz-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.quiz-lede { font-size: 15px; }
.quiz-card {
  max-width: 720px; width: 100%; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 26px 28px 22px;
}
.quiz-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.quiz-dot { width: 30px; height: 5px; border-radius: 999px; background: var(--line-2); transition: background 0.3s, width 0.3s; }
.quiz-dot.active { background: var(--blue); width: 42px; }
.quiz-dot.done { background: var(--blue-deep); }
.quiz-step { transition: opacity 0.26s var(--ease), transform 0.26s var(--ease); }
.quiz-step.exiting { opacity: 0; transform: translateX(-24px); }
.quiz-step.entering { opacity: 0; transform: translateX(24px); }
.quiz-q-num { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.quiz-q-title { font-size: clamp(1.35rem, 2.8vw, 1.85rem); margin-bottom: 5px; }
.quiz-q-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.quiz-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quiz-option {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  cursor: pointer; transition: all 0.22s var(--ease); font-family: var(--sans);
}
.quiz-option:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.quiz-option.picked { border-color: var(--blue); background: var(--blue); }
.quiz-option.picked .quiz-opt-icon { background: rgba(255,255,255,0.2); color: #fff; }
.quiz-option.picked .quiz-opt-label { color: #fff; }
.quiz-opt-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; transition: all 0.22s;
}
.quiz-opt-icon svg { width: 24px; height: 24px; }
.quiz-opt-label { font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.quiz-back, .shop-back {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--muted); transition: color 0.2s;
}
.quiz-back:hover, .shop-back:hover { color: var(--blue); }
.quiz-back[hidden] { display: none; }
.quiz-skip { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.quiz-skip:hover { color: var(--blue); }

/* ============================================================
   PRODUCT / RESULT / BUNDLE CARDS
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.results-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; align-items: start; }
.bundle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }

.product-card, .result-card, .bundle-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 9px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
  box-shadow: 0 1px 3px rgba(23,43,66,0.04);
}
.product-card:hover, .result-card:hover, .bundle-card:hover {
  transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-hover);
}
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--blue); color: #fff; font-family: var(--head); font-weight: 700; font-size: 12px;
  padding: 4px 9px; border-radius: 5px; letter-spacing: 0.02em;
}
.product-photo {
  width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-cats, .result-cat-row, .bundle-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.product-cat {
  font-family: var(--head); font-weight: 600; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--blue-ink); background: var(--blue-soft); padding: 3px 8px; border-radius: 4px;
}
.product-name, .result-name, .bundle-name { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); }
.result-name { font-size: 20px; }
.bundle-name { font-size: 21px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip {
  font-family: var(--head); font-weight: 600; font-size: 11.5px; color: var(--text);
  background: #fff; border: 1px solid var(--line-2); padding: 2px 9px; border-radius: 999px;
}
.product-desc, .result-desc, .bundle-tagline { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.5; }
.bundle-tagline { font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 14.5px; }
.bundle-why { font-size: 13px; color: var(--text); margin: 2px 0 0; line-height: 1.55; }
.bundle-why strong { color: var(--ink); }

/* price row */
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.price-main { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price-from { font-size: 12px; color: var(--muted); font-family: var(--head); font-weight: 600; }
.price-now { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--blue); }
.price-was { font-size: 14px; color: var(--strike); text-decoration: line-through; }
.price-pill { font-family: var(--head); font-weight: 700; font-size: 12px; color: var(--blue-ink); background: var(--blue-soft); padding: 3px 8px; border-radius: 5px; }

.product-add {
  margin-top: 10px; width: 100%; padding: 12px; border: none; border-radius: 8px; cursor: pointer;
  background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s var(--ease);
}
.product-add:hover { background: var(--blue); }
.product-add.added { background: var(--ok); }
.product-add .add-label::before { content: '+ '; }

/* result highlight */
.result-card.result-pick { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.result-pick-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--blue); color: #fff; font-family: var(--head); font-weight: 700; font-size: 11.5px;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.03em; z-index: 3;
}
.bundle-save-pill {
  font-family: var(--head); font-weight: 700; font-size: 11.5px; color: #fff; background: var(--ok);
  padding: 3px 10px; border-radius: 5px;
}
.bundle-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.shop-back-row { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.shop-current-cat { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--muted); }
.results-actions { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 34px; }
.results-empty { text-align: center; padding: 40px 0; }
.results-empty p { margin-bottom: 18px; color: var(--text); }

/* ============================================================
   CART FAB + MODAL
   ============================================================ */
.cart-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px;
  background: var(--navy); color: #fff; border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: 14px;
  transform: translateY(140%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s, background 0.2s;
  box-shadow: 0 16px 34px -12px rgba(23,43,66,0.5);
}
.cart-fab.visible { transform: none; opacity: 1; }
.cart-fab:hover { background: var(--blue); }
.cart-fab.bump { animation: fabBump 0.5s var(--ease); }
@keyframes fabBump { 0%,100%{transform:none;} 35%{transform:scale(1.08);} }
.cart-fab-total { color: var(--blue); font-weight: 700; }
.cart-fab.visible:hover .cart-fab-total { color: #fff; }
.cart-fab-count { background: var(--blue); color: #fff; min-width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }

.cart-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.cart-modal.open { display: block; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(15,23,32,0.5); backdrop-filter: blur(2px); }
.cart-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -20px 0 50px -20px rgba(0,0,0,0.35); animation: slideIn 0.35s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-panel-head h3 { font-size: 19px; }
.cart-close { background: var(--bg-soft); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cart-close:hover { background: var(--line); }
.cart-panel-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--ink); }
.cart-item-meta { font-size: 12.5px; color: var(--muted); }
.bundle-tag-mini { font-size: 10.5px; color: var(--blue-ink); background: var(--blue-soft); padding: 2px 7px; border-radius: 4px; font-weight: 700; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 16px; color: var(--ink); line-height: 1; }
.cart-qty button:hover { border-color: var(--blue); color: var(--blue); }
.cart-qty-num { min-width: 18px; text-align: center; font-weight: 700; font-family: var(--head); }
.cart-item-price { font-family: var(--head); font-weight: 700; color: var(--ink); min-width: 56px; text-align: right; }
.cart-empty { display: none; text-align: center; padding: 40px 0; color: var(--muted); }
.cart-empty svg { margin: 0 auto 10px; color: var(--line-2); }
.cart-modal.empty .cart-empty { display: block; }
.cart-modal.empty .cart-items, .cart-modal.empty .cart-total-row, .cart-modal.empty .cart-pairs, .cart-modal.empty .cart-saved, .cart-modal.empty .cart-disclaimer { display: none; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); }
.cart-total-amt { color: var(--blue); }
.cart-saved { display: none; margin-top: 8px; font-size: 13px; color: var(--ok); font-weight: 600; }
.cart-saved.visible { display: block; }
.cart-pairs[hidden] { display: none; }
.cart-pairs { margin-top: 22px; }
.cart-pairs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cart-pairs-head h4 { font-size: 14px; }
.cart-pairs-note { font-size: 11.5px; color: var(--muted); }
.cart-pairs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair-card { text-align: left; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 10px; cursor: pointer; transition: all 0.2s; }
.pair-card:hover { border-color: var(--blue); background: #fff; }
.pair-cats { display: flex; gap: 4px; margin-bottom: 4px; }
.pair-name { font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.pair-meta { font-size: 12px; color: var(--text); }
.pair-add-btn { margin-top: 6px; font-family: var(--head); font-weight: 700; font-size: 12px; color: var(--blue); }
.cart-disclaimer { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 13px; color: var(--text); cursor: pointer; }
.cart-disclaimer input { margin-top: 3px; accent-color: var(--blue); }
.cart-disclaimer.shake { animation: shake 0.5s; }
@keyframes shake { 0%,100%{transform:none;} 20%,60%{transform:translateX(-6px);} 40%,80%{transform:translateX(6px);} }
.cart-actions { padding: 16px 22px; border-top: 1px solid var(--line); }
.cart-success { text-align: center; }
.cart-success[hidden] { display: none; }
.cart-success-check { width: 48px; height: 48px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.cart-success h4 { font-size: 18px; margin-bottom: 6px; }
.cart-success-sub { font-size: 13.5px; color: var(--text); margin: 0 0 14px; }
.cart-success-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 14px; }
.checkout-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.checkout-item-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px;
  border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line-2);
  font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); transition: all 0.2s var(--ease);
}
.checkout-item-link:hover { border-color: var(--blue); transform: translateX(2px); }
.checkout-item-go { font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.cart-panel-body[hidden] { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 84px; left: 50%; transform: translate(-50%, 20px); z-index: 120;
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px;
  font-family: var(--head); font-weight: 500; opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.age-gate.open { display: flex; }
.age-gate-backdrop { position: absolute; inset: 0; background: rgba(15,23,32,0.72); backdrop-filter: blur(4px); }
.age-gate-panel {
  position: relative; background: #fff; border-radius: 18px; max-width: 460px; width: 100%;
  padding: 34px 32px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.5); text-align: left;
}
.age-gate-logo { height: 40px; margin-bottom: 16px; }
.age-gate h2 { font-size: 27px; margin-bottom: 8px; }
.age-gate-lede { font-size: 14.5px; color: var(--text); margin: 0 0 16px; }
.age-gate-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.age-gate-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.age-gate-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.age-gate-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.age-gate-leave { font-size: 13px; color: var(--muted); }
.age-gate-fine { font-size: 11.5px; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-2); color: #aeb9c6; margin-top: 20px; }
.footer-inner { padding: 46px 24px 26px; max-width: var(--container); margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand { max-width: 320px; }
.footer-logo { height: 42px; margin-bottom: 14px; }
.footer-tag { font-size: 14px; color: #aeb9c6; margin: 0 0 8px; }
.footer-ships { font-size: 12.5px; color: #8896a6; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col p { margin: 0 0 9px; font-size: 14px; }
.footer-col a { color: #aeb9c6; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 34px; padding-top: 22px; }
.footer-disclaimer { font-size: 11.5px; color: #7c8a9b; line-height: 1.6; margin: 0 0 14px; }
.footer-disclaimer strong { color: #b9c4d1; }
.footer-copy { font-size: 12.5px; color: #7c8a9b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .results-cards { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 760px) {
  .nav-inner { height: 58px; justify-content: center; }
  .nav-links, .nav-reviews { display: none; }
  .pl-logo { height: 34px; }
  .ruo-banner { font-size: 11px; padding: 7px 12px; line-height: 1.35; }
  .promo-bar { font-size: 11.5px; padding: 8px 12px; }
  .promo-bar .sep { margin: 0 6px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Quiz: flow from the top and let it scroll instead of centering (avoids top cutoff) */
  .quiz-section > .container { min-height: 0; justify-content: flex-start; padding-top: 26px; padding-bottom: 36px; }
  .quiz-head { margin-bottom: 16px; }
  .quiz-card { padding: 20px 16px 16px; border-radius: 14px; }
  .quiz-options { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quiz-option { padding: 16px 10px; gap: 8px; }

  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .results-actions { flex-direction: column; gap: 14px; }

  .cart-panel { width: 100%; }
  .cart-fab { bottom: 16px; right: 16px; padding: 12px 16px; }
  .cart-fab-label { display: none; }

  .footer-top { flex-direction: column; gap: 26px; }
  .footer-cols { gap: 44px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .quiz-head h2 { font-size: 1.5rem; }
  .quiz-q-title { font-size: 1.3rem; }
  .quiz-q-sub { font-size: 13.5px; margin-bottom: 14px; }
  .product-card, .result-card, .bundle-card { padding: 13px; }
  .product-name { font-size: 16px; }
  .price-now { font-size: 20px; }
  .age-gate-panel { padding: 26px 22px; }
  .age-gate h2 { font-size: 22px; }
  .cart-panel-head { padding: 16px 18px; }
  .cart-panel-body { padding: 16px 18px; }
  .cart-actions { padding: 14px 18px; }
}
@media (max-width: 359px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SMOOTH PAGE-TO-PAGE TRANSITIONS
   Every page fades in via pageIn; JS adds .page-leaving to fade out
   before navigating. Opacity-only so position:fixed children (cart,
   gate, fab) keep their viewport anchoring.
   ============================================================ */
body { animation: pageIn 0.34s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.page-leaving { animation: none; opacity: 0; transition: opacity 0.22s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  body.page-leaving { transition: none; }
}

/* ---------- Prominent "shop all" entry points ---------- */
.nav-cta { background: var(--blue); color: #fff !important; padding: 9px 20px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue-deep); color: #fff !important; }

.browse-all-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
  font-family: var(--head); font-weight: 600; font-size: 14.5px; text-decoration: none;
  transition: all 0.2s var(--ease); cursor: pointer;
}
.browse-all-btn:hover { background: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(58,181,255,0.6); }

/* A big, centered "Browse all peptides" CTA under the quiz card */
.browse-all-row { display: flex; justify-content: center; margin: 20px auto 0; }

/* ---------- Cart: size picker + contact fields (order flow) ---------- */
.cart-size {
  margin-top: 3px; max-width: 160px; padding: 5px 8px;
  border: 1px solid var(--line-2); border-radius: 6px; background: #fff;
  font-family: var(--sans); font-size: 12.5px; color: var(--ink); cursor: pointer;
}
.cart-size:focus { outline: none; border-color: var(--blue); }
.cart-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.cart-input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 8px;
  font-family: var(--sans); font-size: 14px; color: var(--ink); background: #fff;
}
.cart-input::placeholder { color: var(--muted); }
.cart-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.cart-input.field-error { border-color: #e2513b; box-shadow: 0 0 0 3px rgba(226,81,59,0.12); }
#cartSend.is-loading { opacity: 0.75; cursor: default; }

/* ---------- Cart: checkout hand-off note ---------- */
.cart-checkout-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; text-align: right; }
