/* ==========================================================================
   NEXT SPORT — one-pager storefront
   Dark, premium, RTL. No framework, no build step, zero third-party requests.

   CSP note: this project ships a strict `style-src 'self'`. That forbids
   <style> blocks and style="" attributes in markup. Everything visual lives
   here; JS only ever touches CSSOM (el.style.setProperty), which CSP allows.
   ========================================================================== */

/* Heebo is a variable font (wght 100..900) — one file per subset covers
   every weight we use. Self-hosted: no font CDN, no runtime third party. */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ------------------------------------------------------- */
:root {
  --bg: #0B0B0D;
  --surface: #141417;
  --surface-2: #1C1C21;
  --text: #F4F5F7;
  --muted: #9A9AA2;
  --line: #2A2A31;
  --accent: #C6FF3D;
  --accent-ink: #0B0B0D;

  --tile: #EDEEF1;          /* product photos are shot on near-white */
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(72px, 9vw, 132px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);

  color-scheme: dark;
}

/* ---------- reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  /* the sticky header must not cover anchor targets */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* never `hidden`: it silently promotes overflow-y to auto */
}

body.is-locked { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Latin identifiers, prices and numerals stay LTR inside the RTL flow. */
bdi, .ltr { unicode-bidi: isolate; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; inset-inline-start: 50%; top: 8px;
  transform: translate(50%, -200%);
  z-index: 200;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translate(50%, 0); }

/* ---------- layout primitives -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }
.section { padding-block: var(--section); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; inline-size: 26px; block-size: 2px;
  background: var(--accent); border-radius: 2px;
  flex: none;
}

h1, h2, h3 { font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
h2.section-title {
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem);
  max-width: 18ch;
}
.section-lead {
  margin-top: 18px;
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.06rem;
}

/* ---------- buttons ------------------------------------------------------ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-line: var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-block-size: 52px;
  padding-inline: 28px;
  border: 1px solid var(--btn-line);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { inline-size: 20px; block-size: 20px; flex: none; }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-line: var(--accent); }
.btn--accent:hover { --btn-bg: #D6FF70; --btn-line: #D6FF70; }

.btn--ghost { --btn-line: #3a3a44; }
.btn--ghost:hover { --btn-line: var(--accent); --btn-fg: var(--accent); }

.btn--block { inline-size: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .4; pointer-events: none; transform: none; }

/* ---------- announcement -------------------------------------------------- */
.announce {
  background: #08080A;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  padding-block: 11px;
}
.announce strong { color: var(--accent); font-weight: 700; }

/* ---------- header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              backdrop-filter .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 11, 13, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  block-size: var(--header-h);
  transition: block-size .25s var(--ease);
}
.site-header.is-scrolled .header-inner { --header-h: 62px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.32rem;
  letter-spacing: -.02em;
  transition: font-size .25s var(--ease);
}
.site-header.is-scrolled .logo { font-size: 1.18rem; }
/* the accent mark is abstract on purpose — the brand name is never baked
   into an image, an SVG path, or CSS content (it must stay swappable). */
.logo-mark {
  inline-size: 10px; block-size: 22px;
  background: var(--accent);
  border-radius: 2px;
  transform: skewX(-14deg);
  flex: none;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 15px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: .96rem;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 46px; block-size: 46px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); background: var(--surface-2); }
.icon-btn svg { inline-size: 21px; block-size: 21px; }

.cart-count {
  position: absolute; inset-block-start: -4px; inset-inline-start: -4px;
  min-inline-size: 21px; block-size: 21px;
  display: grid; place-items: center;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 900; line-height: 1;
  transform: scale(0);
  transition: transform .22s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
.cart-btn.is-bump { animation: bump .32s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

.menu-btn { display: none; }

/* ---------- hero ---------------------------------------------------------- */
.hero {
  position: relative;
  display: grid; align-items: center;
  min-block-size: min(88svh, 860px);
  margin-block-start: calc(var(--header-h) * -1);
  padding-block-start: var(--header-h);
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* Scrim sits on the right — the RTL text column. A second bottom scrim keeps
   the fade into the page seamless. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(270deg, rgba(11,11,13,.95) 0%, rgba(11,11,13,.86) 30%,
                    rgba(11,11,13,.45) 58%, rgba(11,11,13,.12) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,11,13,0) 28%);
}

.hero-inner { max-width: 42rem; padding-block: clamp(64px, 10vh, 120px); }
.hero h1 {
  font-size: clamp(2.55rem, 1.2rem + 5.6vw, 5.1rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem);
  color: #C9CAD1;
  max-width: 44ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.scroll-hint {
  position: absolute; inset-block-end: 26px; inset-inline-start: 50%;
  transform: translateX(50%);
  color: var(--muted);
  animation: float 2.4s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(50%, 8px); } }

/* ---------- trust strip --------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #0E0E11, var(--bg));
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 30px;
}
.trust-item {
  display: flex; align-items: center; gap: 13px;
  padding-inline: 22px;
  font-size: .95rem; font-weight: 500;
  border-inline-start: 1px solid var(--line);
}
.trust-item:first-child { border-inline-start: 0; }
.trust-item svg { inline-size: 24px; block-size: 24px; color: var(--accent); flex: none; }

/* ---------- categories ---------------------------------------------------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 44px;
}
.cat-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-block-size: 132px;
  padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  text-align: start;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.cat-card::after {
  content: ''; position: absolute; inset-block-start: 0; inset-inline-end: 0;
  inline-size: 64px; block-size: 64px;
  background: radial-gradient(circle at 100% 0, rgba(198,255,61,.16), transparent 70%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.cat-card:hover, .cat-card[aria-pressed='true'] {
  border-color: rgba(198,255,61,.45);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.cat-card:hover::after, .cat-card[aria-pressed='true']::after { opacity: 1; }
.cat-card svg { inline-size: 26px; block-size: 26px; color: var(--accent); margin-bottom: auto; }
.cat-card span { font-weight: 700; font-size: 1.02rem; margin-top: 16px; }

/* ---------- catalog ------------------------------------------------------- */
.catalog-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}

.pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-block: 36px 30px;
}
.pill {
  padding: 9px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: .92rem;
  transition: all .18s var(--ease);
}
.pill:hover { color: var(--text); border-color: #3a3a44; }
.pill[aria-pressed='true'] {
  background: var(--accent); border-color: var(--accent);
  color: var(--accent-ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(198,255,61,.35);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  background: var(--tile);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.card-media img {
  inline-size: 100%; block-size: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
/* melt the light photo tile into the dark card */
.card-media::after {
  content: ''; position: absolute; inset-inline: 0; inset-block-end: -1px;
  block-size: 24%;
  background: linear-gradient(180deg, rgba(20,20,23,0), var(--surface));
  pointer-events: none;
}

.badge {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px;
  z-index: 1;
  padding: 6px 13px; border-radius: 999px;
  font-size: .74rem; font-weight: 900; letter-spacing: .02em;
  background: var(--accent-ink); color: var(--accent);
  border: 1px solid rgba(198,255,61,.35);
}
.badge--sale { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.card-body {
  display: flex; flex-direction: column; flex: 1;
  gap: 8px;
  padding: 6px 22px 22px;
}
.card-body h3 { font-size: 1.16rem; letter-spacing: -.015em; line-height: 1.25; }
.card-desc { color: var(--muted); font-size: .9rem; line-height: 1.55; flex: 1; }

.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 12px;
}
.price {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 1.4rem; font-weight: 900; color: var(--accent);
  letter-spacing: -.02em;
}
.price del {
  font-size: .92rem; font-weight: 500; color: var(--muted);
  text-decoration-thickness: 1px;
}
.add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2);
  font-weight: 700; font-size: .9rem;
  white-space: nowrap;
  transition: all .18s var(--ease);
}
.add-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.add-btn svg { inline-size: 17px; block-size: 17px; }
.add-btn.is-added { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.empty-filter { color: var(--muted); padding-block: 40px; text-align: center; }

/* ---------- lifestyle band ------------------------------------------------ */
.band {
  position: relative;
  display: grid; place-items: center;
  min-block-size: min(56svh, 520px);
  overflow: clip;
}
.band img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,13,.46), rgba(11,11,13,.62)),
    radial-gradient(70% 90% at 50% 50%, rgba(11,11,13,.1), rgba(11,11,13,.55));
}
.band p {
  font-size: clamp(1.6rem, .8rem + 3.4vw, 3.2rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.12;
  text-align: center; max-width: 20ch;
  text-wrap: balance;
}

/* ---------- why us -------------------------------------------------------- */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 52px;
}
.feature {
  display: flex; gap: 18px;
  padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), #101013);
}
.feature-icon {
  display: grid; place-items: center;
  inline-size: 48px; block-size: 48px; flex: none;
  border-radius: 12px;
  background: rgba(198,255,61,.1);
  border: 1px solid rgba(198,255,61,.2);
  color: var(--accent);
}
.feature-icon svg { inline-size: 23px; block-size: 23px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- founder ------------------------------------------------------- */
.founder-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(28px, 5vw, 72px);
}
.founder-media { border-radius: var(--radius-lg); overflow: hidden; }
.founder-media img { inline-size: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.founder-text h2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); }
.founder-text p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.founder-rule { inline-size: 56px; block-size: 3px; background: var(--accent); border-radius: 3px; margin-top: 30px; }

/* ---------- faq ----------------------------------------------------------- */
.faq-list { margin-top: 46px; max-width: 900px; }
.faq-item {
  border-block-end: 1px solid var(--line);
}
.faq-item:first-child { border-block-start: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary svg {
  inline-size: 22px; block-size: 22px; flex: none; color: var(--accent);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .answer { color: var(--muted); padding-block-end: 26px; max-width: 68ch; }

/* ---------- contact ------------------------------------------------------- */
.contact {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0, rgba(198,255,61,.09), transparent 60%),
    var(--surface);
  padding: clamp(38px, 6vw, 76px);
  text-align: center;
}
.contact h2 { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3.1rem); margin-inline: auto; max-width: 16ch; }
.contact p { margin: 20px auto 34px; color: var(--muted); max-width: 46ch; }

/* ---------- footer -------------------------------------------------------- */
.site-footer { border-block-start: 1px solid var(--line); padding-block: 64px 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--text); font-size: .96rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col .hours { color: var(--muted); font-size: .96rem; }

.pay { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.pay svg {
  inline-size: 42px; block-size: 28px;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 6px;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 52px; padding-block-start: 26px;
  border-block-start: 1px solid var(--line);
  color: var(--muted); font-size: .86rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- cart drawer --------------------------------------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 4, 6, .68);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* RTL page → the drawer slides in from the LEFT edge (physical). */
.drawer {
  position: fixed; inset-block: 0; left: 0; z-index: 110;
  inline-size: min(430px, 100%);
  display: flex; flex-direction: column;
  background: var(--surface);
  border-inline-end: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform .36s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 26px;
  border-block-end: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.32rem; }

.ship-bar { padding: 20px 26px; border-block-end: 1px solid var(--line); background: #101013; }
.ship-bar p { font-size: .88rem; color: var(--muted); margin-bottom: 11px; }
.ship-bar strong { color: var(--accent); font-weight: 700; }
.ship-track { block-size: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ship-fill {
  block-size: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #93d61c, var(--accent));
  inline-size: calc(var(--progress, 0) * 100%);
  transition: inline-size .45s var(--ease);
}

.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 26px; }

.cart-empty { display: grid; place-items: center; gap: 14px; padding-block: 70px; text-align: center; color: var(--muted); }
.cart-empty svg { inline-size: 44px; block-size: 44px; color: var(--line); }

.line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 15px;
  align-items: center;
  padding-block: 18px;
  border-block-end: 1px solid var(--line);
}
.line:last-child { border-block-end: 0; }
.line-media { border-radius: 10px; overflow: hidden; background: var(--tile); }
.line-media img { aspect-ratio: 1; object-fit: cover; inline-size: 100%; }
.line h3 { font-size: .96rem; font-weight: 700; line-height: 1.3; }
.line-price { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.line-total { font-weight: 900; color: var(--accent); white-space: nowrap; }

.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 9px; border: 1px solid var(--line); border-radius: 999px; }
.qty button {
  inline-size: 30px; block-size: 30px;
  display: grid; place-items: center;
  border-radius: 999px; color: var(--muted);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.qty button:hover { color: var(--accent-ink); background: var(--accent); }
.qty span { min-inline-size: 26px; text-align: center; font-weight: 700; font-size: .92rem; }

.drawer-foot { padding: 22px 26px; border-block-start: 1px solid var(--line); background: #101013; }
.subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.subtotal span { color: var(--muted); font-size: .95rem; }
.subtotal strong { font-size: 1.55rem; font-weight: 900; letter-spacing: -.02em; }
.drawer-note { color: var(--muted); font-size: .8rem; margin-bottom: 18px; }

/* ---------- floating whatsapp --------------------------------------------- */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 58px; block-size: 58px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px -6px rgba(198,255,61,.35);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { inline-size: 29px; block-size: 29px; }

/* ---------- mobile nav ---------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 105;
  background: var(--bg);
  padding: 26px var(--gutter);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.mobile-nav ul a {
  display: block; padding: 18px 4px;
  font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em;
  border-block-end: 1px solid var(--line);
}
.mobile-nav ul a:hover { color: var(--accent); }
.mobile-nav .btn { margin-top: auto; }

/* ---------- reveal on scroll ---------------------------------------------- */
html:not(.no-js) .reveal { opacity: 0; transform: translateY(20px); }
html:not(.no-js) .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* Without JS the cart is dead weight — hide it and lean on WhatsApp. */
.no-js .cart-btn, .no-js .wa-float, .no-js .pills { display: none; }

/* ---------- responsive ---------------------------------------------------- */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 4px 0; }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-media { order: -1; }
  .why-grid { grid-template-columns: 1fr; }

  /* Portrait crops the 16:9 hero hard. Centre the frame on the athlete
     (measured: his silhouette sits ~31% across the mirrored image) and drop
     the copy to the bottom, so the scrim darkens the floor, not the subject. */
  .hero { min-block-size: min(92svh, 760px); align-items: end; }
  .hero-media img { object-position: 34% center; }
  .hero-inner { padding-block: 0 clamp(40px, 8vh, 72px); }
  .hero::before {
    background: linear-gradient(0deg,
      rgba(11,11,13,.97) 4%, rgba(11,11,13,.88) 30%,
      rgba(11,11,13,.40) 64%, rgba(11,11,13,.18) 100%);
  }
  .scroll-hint { display: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .trust-item { border-inline-start: 0; border-block-start: 1px solid var(--line); padding: 18px 0; }
  .trust-item:first-child { border-block-start: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .cat-grid { gap: 12px; }
  .cat-card { min-block-size: 112px; padding: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .line { grid-template-columns: 62px 1fr auto; }
  .wa-float { left: 16px; bottom: 16px; }
}

/* tap targets stay >= 44px on coarse pointers */
@media (pointer: coarse) {
  .nav a, .footer-col a { min-block-size: 44px; display: flex; align-items: center; }
  .qty button { inline-size: 40px; block-size: 40px; }
}

/* ---------- motion preferences -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html:not(.no-js) .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .card:hover .card-media img { transform: none; }
  .btn:hover { transform: none; }
}

.footer-legal {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
