/* TurboMan storefront - sport/performance archetype
   Palette: Gunmetal & Ignition Red. Two families: Chakra Petch (display), Barlow (body). */

:root {
  --ink: #0e1013;
  --gun: #1c2026;
  --gun-2: #262b33;
  --steel: #4b525c;
  --hair: #d9dde2;
  --paper: #f1f2f4;
  --card: #ffffff;
  --red: #d4321f;
  --red-d: #a8250f;
  --volt: #ffc21a;
  --green: #12734a;
  --text: #191d22;
  --muted: #58606a;
  --wrap: 1200px;
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--card);
  color: var(--text);
  font-family: Barlow, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: "Chakra Petch", Barlow, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .002em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.05em; }
a { color: var(--red-d); }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 90;
  background: var(--volt); color: var(--ink); padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- announcement bar ---------- */
.ticker {
  background: var(--ink);
  color: #f2f3f5;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ticker p {
  margin: 0; padding: 9px 20px; text-align: center;
  font-family: "Chakra Petch", Barlow, sans-serif; font-weight: 600;
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 60;
  background: var(--gun);
  border-bottom: 3px solid var(--red);
}
.top-in { display: flex; align-items: center; gap: 18px; min-height: 68px; position: relative; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img { width: 30px; height: auto; }
.logo span {
  font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 1.42rem;
  color: #fff; letter-spacing: .01em; text-transform: none;
}
.logo sup { font-size: .5em; top: -.8em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: #e6e9ed; text-decoration: none; font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.nav a:hover, .nav a[aria-current] { color: var(--volt); }
.nav .btn { color: #fff; }

.burger {
  display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--steel);
  border-radius: var(--r); cursor: pointer; padding: 11px 10px;
}
.burger span { display: block; height: 2px; background: #fff; margin: 4px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; text-decoration: none;
  font-family: "Chakra Petch", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 17px 26px; border: 0; border-radius: var(--r); cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28);
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--red-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: .86rem; }
.btn-big { width: 100%; font-size: 1.22rem; padding: 20px 18px; }
.btn-ghost {
  background: none; color: var(--ink); border: 2px solid var(--ink); box-shadow: none;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Always-visible order button on phones, where the nav CTA hides behind the burger.
   Declared after .btn so it wins on equal specificity. */
.top-in .mob-cta { display: none; }

/* ---------- layout ---------- */
main { display: block; }
.band { padding: 54px 0; }
.band-paper { background: var(--paper); }
.band-dark { background: var(--ink); color: #dde1e6; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a { color: var(--volt); }

/* Layout C: content flows left, the buy rail sticks right and spans both rows.
   Below 1040px the grid collapses and DOM order puts the buy card straight after the gallery. */
.pdp {
  display: grid; grid-template-columns: minmax(0, 1fr) 396px;
  column-gap: 46px; padding: 34px 0 10px; align-items: start;
}
.pdp-head { grid-column: 1; grid-row: 1; }
.pdp-body { grid-column: 1; grid-row: 2; }
.rail { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 92px; }

.lede { font-size: 1.06rem; color: var(--muted); }
.eyebrow {
  font-family: "Chakra Petch", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--red); margin: 0 0 10px;
}
.claim {
  font-size: 1.16rem; font-weight: 600; color: var(--ink);
  border-left: 5px solid var(--red); padding: 4px 0 4px 18px; margin: 0 0 22px;
}

/* ---------- gallery ---------- */
.gallery { margin: 0 0 26px; }
.shot-frame {
  background: linear-gradient(160deg, #f6f7f8 0%, #e7eaee 100%);
  border: 1px solid var(--hair);
  height: 380px; display: flex; align-items: center; justify-content: center; padding: 18px;
}
.shot-frame img { max-height: 100%; width: auto; }
.thumbs { display: flex; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.thumbs button {
  background: #fff; border: 1px solid var(--hair); width: 78px; height: 78px; padding: 6px;
  cursor: pointer; border-radius: var(--r);
}
.thumbs button img { max-height: 100%; width: auto; margin: 0 auto; display: block; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }

/* ---------- buy card ---------- */
.buy {
  background: var(--gun); color: #e9ecef; border-radius: var(--r);
  border-top: 4px solid var(--red); padding: 22px 20px 24px;
}
.buy h2 {
  color: #fff; font-size: 1.28rem; text-transform: uppercase; letter-spacing: .04em;
  margin: 0 0 4px;
}
.buy .sub { color: #9aa3ae; font-size: .9rem; margin: 0 0 18px; }

.rate { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--volt); }
.rate b { color: #fff; font-size: 1rem; }
.rate a { color: #b9c1ca; font-size: .88rem; }

.packs { display: grid; gap: 9px; margin: 0 0 16px; }
.pack { position: relative; }
.pack input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.pack label {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center;
  background: var(--gun-2); border: 2px solid #363c45; border-radius: var(--r);
  padding: 13px 14px; cursor: pointer; min-height: 62px;
}
.pack label:hover { border-color: #5c646f; }
.pack input:checked + label { border-color: var(--red); background: #2d323a; }
.pack input:focus-visible + label { outline: 3px solid var(--volt); outline-offset: 2px; }
.dot {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #6d757f; display: block;
}
.pack input:checked + label .dot { border-color: var(--red); background: radial-gradient(var(--red) 45%, transparent 47%); }
.pk-mid { display: block; }
.pk-name { font-family: "Chakra Petch", sans-serif; font-weight: 700; color: #fff; font-size: 1.02rem; }
.pk-sub { display: block; color: #9aa3ae; font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
.pk-line { display: block; color: #cfd5db; font-size: .84rem; margin: 4px 0 0; }
.pk-line s { color: #8d959f; margin: 0 2px 0 3px; }
.pill {
  display: inline-block; background: #12734a; color: #fff; font-style: normal;
  font-weight: 700; font-size: .72rem; letter-spacing: .04em; padding: 1px 6px; border-radius: var(--r);
}
.pk-ship { display: block; color: #9aa3ae; font-size: .78rem; }
.pk-right { text-align: right; }
.pk-per { display: block; font-family: "Chakra Petch", sans-serif; font-weight: 700; color: #fff; font-size: 1.22rem; }
.pk-per small { font-weight: 600; font-size: .62rem; display: block; color: #9aa3ae; letter-spacing: .08em; }
.flag {
  position: absolute; top: -9px; right: 10px; z-index: 2;
  background: var(--volt); color: var(--ink); font-family: "Chakra Petch", sans-serif;
  font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--r);
}

.readout { border-top: 1px solid #343a43; padding: 15px 0 4px; margin: 0 0 14px; }
.readout .row { display: flex; justify-content: space-between; font-size: .95rem; margin: 0 0 6px; }
.readout .row span:last-child { color: #fff; font-weight: 600; }
.readout .was { text-decoration: line-through; color: #8d959f; font-weight: 400; }
.readout .save { color: #7fe0ac; font-weight: 700; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 4px; }
.total span { font-size: .95rem; color: #9aa3ae; }
.total b { font-family: "Chakra Petch", sans-serif; font-size: 2.3rem; color: #fff; line-height: 1; }

.micro { list-style: none; margin: 14px 0 0; padding: 0; font-size: .85rem; color: #b6bec7; }
.micro li { padding: 0 0 0 22px; position: relative; margin: 0 0 6px; }
.micro li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 6px;
  border-left: 2px solid var(--volt); border-bottom: 2px solid var(--volt); transform: rotate(-45deg);
}
.stock { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: #cfd5db; margin: 14px 0 0; }
.stock i { width: 9px; height: 9px; border-radius: 50%; background: #35d07f; display: inline-block; }

/* ---------- trust strip ---------- */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.strip div { background: var(--card); padding: 18px 14px; text-align: center; }
.strip b {
  display: block; font-family: "Chakra Petch", sans-serif; font-size: 1.02rem; color: var(--ink);
  text-transform: uppercase; letter-spacing: .03em;
}
.strip span { font-size: .84rem; color: var(--muted); }

/* ---------- generic content ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--card); border: 1px solid var(--hair); border-top: 3px solid var(--red);
  padding: 22px 20px; border-radius: var(--r);
}
.card h3 { margin-top: 0; }

.tbl { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.tbl th {
  width: 34%; font-family: "Chakra Petch", sans-serif; font-weight: 700; color: var(--ink);
  background: var(--paper);
}
.tbl caption { text-align: left; font-size: .86rem; color: var(--muted); padding: 0 0 10px; }

.tldr {
  background: var(--gun); color: #e4e8ec; border-left: 6px solid var(--volt);
  padding: 24px 26px; border-radius: var(--r);
}
.tldr h2 { color: #fff; font-size: 1.28rem; text-transform: uppercase; letter-spacing: .05em; }
.tldr p:last-child { margin-bottom: 0; }

.keep { list-style: none; margin: 0; padding: 0; counter-reset: k; }
.keep li {
  counter-increment: k; position: relative; padding: 0 0 0 46px; margin: 0 0 14px; font-size: 1.02rem;
}
.keep li::before {
  content: counter(k, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: "Chakra Petch", sans-serif; font-weight: 700; color: var(--red); font-size: 1.15rem;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding: 14px 0 0; }
.steps li b { display: block; font-family: "Chakra Petch", sans-serif; font-size: 1.1rem; margin: 0 0 4px; }
.steps li::before {
  content: "Step " counter(s); display: block; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0 0 6px;
}

sup.cite a { text-decoration: none; font-weight: 700; color: var(--red-d); }
.refs { list-style: none; counter-reset: r; margin: 0; padding: 0; font-size: .9rem; }
.refs li { counter-increment: r; position: relative; padding: 0 0 0 34px; margin: 0 0 10px; }
.refs li::before {
  content: "[" counter(r) "]"; position: absolute; left: 0; font-weight: 700; color: var(--red);
}

.qa { border-top: 2px solid var(--ink); padding: 20px 0 0; margin: 0 0 24px; }
.qa h3 { margin: 0 0 8px; }
.qa p:last-child { margin-bottom: 0; }

/* ---------- guarantee ---------- */
.promise { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center; }
.promise img { width: 220px; }
.days {
  font-family: "Chakra Petch", sans-serif; font-size: clamp(3rem, 8vw, 5rem); line-height: .9;
  color: var(--volt); display: block;
}

/* ---------- reviews ---------- */
.score { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; }
.big-score { font-family: "Chakra Petch", sans-serif; font-size: 4.2rem; line-height: 1; color: var(--ink); }
.bars { margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 64px 1fr 44px; gap: 12px; align-items: center; margin: 0 0 7px; font-size: .9rem; }
.bar { background: var(--hair); height: 12px; border-radius: var(--r); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--red); }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat b { display: block; font-family: "Chakra Petch", sans-serif; font-size: 2.1rem; color: var(--red); line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--muted); }

.wall { columns: 3; column-gap: 22px; }
.rev {
  break-inside: avoid; background: var(--card); border: 1px solid var(--hair);
  padding: 18px 18px 16px; margin: 0 0 22px; border-radius: var(--r);
}
.rev .stars svg { width: 13px; height: 13px; }
.rev h3 { font-size: 1.02rem; margin: 8px 0 6px; }
.rev p { font-size: .95rem; margin: 0 0 10px; }
.who { font-size: .82rem; color: var(--muted); margin: 0; }
.vb {
  display: inline-block; background: #e8f4ee; color: var(--green); font-weight: 700;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px;
  border-radius: var(--r); margin-left: 6px;
}

/* ---------- supplement facts panel ---------- */
.facts {
  border: 3px solid var(--ink); padding: 14px 16px 16px; background: #fff; max-width: 520px;
  font-family: Barlow, Arial, sans-serif;
}
.facts h3 {
  font-size: 1.65rem; margin: 0; border-bottom: 10px solid var(--ink); padding: 0 0 2px;
  text-transform: uppercase; letter-spacing: -.01em;
}
.facts table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.facts th, .facts td { text-align: left; padding: 5px 0; border-bottom: 1px solid var(--ink); }
.facts td:last-child, .facts th:last-child { text-align: right; }
.facts .rule-thick td { border-bottom: 6px solid var(--ink); padding: 2px 0; }
.facts .serve { display: flex; justify-content: space-between; font-size: .9rem; padding: 4px 0; }
.facts .foot-note { font-size: .8rem; color: var(--text); margin: 8px 0 0; }

.notice {
  background: #fff6e0; border: 1px solid #f0d189; border-left: 6px solid var(--volt);
  padding: 18px 20px; border-radius: var(--r);
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- faq accordion ---------- */
details.acc { border-bottom: 1px solid var(--hair); padding: 4px 0; }
details.acc summary {
  cursor: pointer; padding: 14px 34px 14px 0; font-weight: 600; font-size: 1.03rem;
  list-style: none; position: relative; color: var(--ink);
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; color: var(--red);
  font-family: "Chakra Petch", sans-serif;
}
details.acc[open] summary::after { content: "\2212"; }
details.acc .ans { padding: 0 0 14px; color: var(--muted); }
details.acc .ans p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #b8c0c9; padding: 52px 0 30px; margin-top: 10px; font-size: .93rem; }
.foot h2 {
  color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px;
}
.foot a { color: #d5dbe1; text-decoration: none; }
.foot a:hover { color: var(--volt); text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: 1.15fr 2fr; gap: 40px; }
.fbrand img { width: 40px; }
.fname { font-family: "Chakra Petch", sans-serif; font-size: 1.4rem; color: #fff; margin: 6px 0 10px; }
.fmeta { font-size: .86rem; color: #949da7; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fgrid ul { list-style: none; margin: 0; padding: 0; }
.fgrid li { margin: 0 0 8px; }
.pay { border-top: 1px solid #262b31; margin: 34px 0 0; padding: 20px 0 0; font-size: .86rem; color: #8f98a2; }
.legal { border-top: 1px solid #262b31; margin: 14px 0 0; padding: 18px 0 0; font-size: .8rem; color: #868f99; }
.legal strong { color: #b8c0c9; }
.copy { color: #6f7883; }

/* ---------- sticky dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--gun); border-top: 3px solid var(--volt);
  transform: translateY(102%); transition: transform .22s ease;
}
.dock.on { transform: translateY(0); }
.dock-in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.dock-txt { margin: 0; color: #fff; font-size: .95rem; line-height: 1.3; }
.dock-txt strong { font-family: "Chakra Petch", sans-serif; display: block; font-size: 1.05rem; }
.dock-txt span { color: #a7b0ba; font-size: .86rem; }
.btn-dock { margin-left: auto; padding: 13px 22px; font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .pdp { grid-template-columns: 1fr; row-gap: 30px; }
  .pdp-head, .pdp-body, .rail { grid-column: 1; grid-row: auto; }
  .rail { position: static; }
  .wall { columns: 2; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .top-in .mob-cta { display: inline-flex; padding: 10px 15px; font-size: .82rem; }
  .top-in { gap: 12px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--gun); border-bottom: 3px solid var(--red); padding: 8px 20px 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid #2f353d; }
  .nav li a { display: block; padding: 14px 0; }
  .nav .btn { margin: 14px 0 0; }
  .cols3, .cols2, .steps, .score, .promise { grid-template-columns: 1fr; }
  .wall { columns: 1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .shot-frame { height: 290px; }
  .band { padding: 40px 0; }
  .promise img { width: 150px; }
  .tbl th { width: 42%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
