/* DISANO — mobile-first stylesheet. Palette from the crest logo: black, chrome silver, white. */
:root {
  --ink: #0b0b0c;
  --ink-2: #161618;
  --ink-3: #242428;
  --paper: #fff;
  --bg-soft: #f4f4f2;
  --bg-media: #f1f1ee;
  --line: #e4e4e0;
  --line-2: #cfcfca;
  --text: #0b0b0c;
  --muted: #5b5b61;
  --muted-light: #a9abb0;
  --silver: #c9ccd1;
  --chrome: linear-gradient(180deg, #fff 0%, #e3e5e8 38%, #9aa0a7 52%, #dfe2e6 70%, #fff 100%);
  --ok: #137a3b;
  --low: #a14a00;
  --danger: #b3261e;
  --wa: #128c4a;
  --wa-hover: #0e7a40;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --hdr-h: 56px;
  --tabbar-h: 60px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* z-index scale */
  --z-hdr: 40;
  --z-sticky: 45;
  --z-scrim: 60;
  --z-drawer: 70;
  --z-toast: 80;
}

/* ---------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--text); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }

/* ---------- type */
.h1 { font: 800 clamp(2rem, 6.5vw, 3.4rem)/1 var(--font-d); text-transform: uppercase; letter-spacing: .005em; }
.h2 { font: 800 clamp(1.6rem, 4.8vw, 2.3rem)/1.05 var(--font-d); text-transform: uppercase; letter-spacing: .01em; }
.h3 { font: 700 1.3rem/1.15 var(--font-d); text-transform: uppercase; letter-spacing: .02em; }
.eyebrow { font: 700 .78rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.eyebrow--light { color: var(--silver); }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius); font: 700 1.05rem/1 var(--font-d); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn b { font-weight: 800; opacity: .75; margin-left: 2px; }
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 1.12rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--silver); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--ghost { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background-color .2s; }
.icon-btn:hover { background: rgba(127, 127, 127, .14); }
.bubble { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--ink); font: 700 .72rem/19px var(--font); text-align: center; }
.bubble--dark { position: static; background: var(--ink); color: #fff; margin-left: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font: 700 .95rem/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; padding: 10px 0; }
.link-more .i { width: 18px; height: 18px; transition: transform .2s; }
.link-more:hover .i { transform: translateX(3px); }

/* ---------- promo bar + header */
.promo-bar { background: #000; color: #d7d9dc; font-size: .8rem; }
.promo-bar__in { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 34px; }
.promo-bar__in span, .promo-bar__wa { display: inline-flex; align-items: center; gap: 8px; }
.promo-bar .i { width: 16px; height: 16px; }
.promo-bar__wa { display: none; text-decoration: none; color: #fff; font-weight: 600; }
.hdr { position: sticky; top: 0; z-index: var(--z-hdr); background: var(--ink); color: #fff; }
.hdr__bar { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; height: var(--hdr-h); gap: 4px; }
.logo { display: flex; align-items: center; gap: 10px; justify-self: center; text-decoration: none; }
.logo img:first-child { height: 38px; width: auto; }
.logo__word { height: 16px; width: auto; }
.hdr__nav, .hdr__search { display: none; }
.hdr__actions { display: flex; }
.subnav { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; -webkit-overflow-scrolling: touch; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg-soft); font: 600 .9rem/1 var(--font); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--line); }
.subnav__sep { flex: none; width: 1px; background: var(--line); margin: 6px 2px; }

/* mega menu (desktop only) */
.mega { display: none; }

/* ---------- tab bar (mobile) */
.tabbar { position: fixed; inset: auto 0 0; z-index: var(--z-sticky); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(11, 11, 12, .97); color: #cfd1d5; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #222; }
.tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tabbar-h); font: 600 .7rem/1 var(--font); letter-spacing: .03em; text-decoration: none; color: inherit; }
.tabbar [aria-current="page"] { color: #fff; }
.tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--chrome); }
.tabbar .bubble { top: 6px; right: calc(50% - 22px); }

/* ---------- drawers, search, scrim */
.scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: var(--z-drawer); width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transition: transform .3s var(--ease); overscroll-behavior: contain; }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px var(--gutter); border-bottom: 1px solid var(--line); min-height: 60px; }
.drawer--left .drawer__head { background: var(--ink); color: #fff; border: 0; }
.drawer__title { font: 800 1.35rem/1 var(--font-d); text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 24px; }
.logo--sm img:first-child { height: 34px; }
.logo--sm .logo__word, .logo--sm img + img { height: 14px; width: auto; }
.menu-search { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); margin-bottom: 8px; text-align: left; }
.mnav > li { border-bottom: 1px solid var(--line); }
.mnav a, .mnav summary { display: flex; align-items: center; gap: 10px; min-height: 54px; font: 700 1.2rem/1.1 var(--font-d); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .i { margin-left: auto; transition: transform .2s; }
.mnav details[open] > summary > .i { transform: rotate(180deg); }
.mnav ul { padding: 0 0 10px 4px; }
.mnav ul a, .mnav ul summary { min-height: 46px; font: 500 1rem/1.2 var(--font); text-transform: none; letter-spacing: 0; }
.mnav ul ul { padding-left: 10px; border-left: 2px solid var(--line); margin-left: 4px; }
.mnav .count { margin-left: auto; color: var(--muted); font: 500 .82rem/1 var(--font); }
.drawer .btn--wa { margin-top: 20px; }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .85; transition: opacity .2s, background-color .2s; }
.social a:hover { opacity: 1; background: rgba(127, 127, 127, .15); }
.social--menu { margin-top: 16px; justify-content: center; }

.search { position: fixed; inset: 0; z-index: var(--z-drawer); background: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease); }
.search.is-open { opacity: 1; transform: none; }
.search__form { display: flex; align-items: center; gap: 8px; padding-block: 10px; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.search__field { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: var(--radius); background: var(--bg-soft); }
.search__field input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1.05rem; outline: none; }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__close { min-height: 44px; padding: 0 8px; font-weight: 600; }
.search__results { padding-block: 16px 40px; }
.search__label { font: 700 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: .95rem; text-decoration: none; background: #fff; transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip small { color: var(--muted); }
.sr-list { display: grid; gap: 4px; }
.sr-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--radius); text-decoration: none; }
.sr-item:hover, .sr-item.is-active { background: var(--bg-soft); }
.sr-item img { width: 60px; height: 60px; object-fit: contain; background: var(--bg-media); border-radius: 8px; mix-blend-mode: multiply; }
.sr-item strong { display: block; font-weight: 600; line-height: 1.25; }
.sr-item small { color: var(--muted); font-size: .85rem; }
.sr-item .price { font: 700 1.05rem/1 var(--font-d); }
.sr-item .price em { display: block; font: 600 .72rem/1.4 var(--font); color: var(--danger); font-style: normal; }
.sr-all { margin-top: 14px; }
mark { background: #eceef0; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__bg img { width: 100%; height: 62vw; max-height: 440px; object-fit: cover; object-position: 50% 20%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 20%, rgba(11, 11, 12, .6) 42%, var(--ink) 58%); pointer-events: none; }
.hero__in { position: relative; margin-top: -26vw; padding-bottom: 32px; }
.hero__title { font: 800 clamp(2.6rem, 11vw, 5.4rem)/.92 var(--font-d); text-transform: uppercase; letter-spacing: -.005em; }
.hero__sub { color: #cfd1d5; max-width: 34ch; margin: 14px 0 22px; font-size: 1.05rem; }
.hero__cta { display: grid; gap: 10px; }

/* ---------- category split */
.cats { display: grid; gap: 12px; padding-top: 16px; }
.cat { position: relative; display: grid; min-height: 240px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink-2); isolation: isolate; }
.cat--fan { background: radial-gradient(120% 90% at 80% 10%, #3a3d44 0%, #141416 55%, #0b0b0c 100%); }
.cat__art { position: absolute; right: -6%; top: 8%; width: 70%; display: grid; grid-template-columns: repeat(3, 1fr); z-index: -1; }
.cat__art img { width: 150%; max-width: none; margin-left: -25%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); transition: transform .4s var(--ease); }
.cat__art img:nth-child(2) { transform: translateY(-10%); z-index: 1; }
.cat__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .5s var(--ease); }
.cat--caps::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .82) 10%, rgba(0, 0, 0, .1) 70%); }
.cat__txt { align-self: end; padding: 20px; }
.cat h2 { font: 800 2rem/1 var(--font-d); text-transform: uppercase; }
.cat p:not(.eyebrow) { color: #d7d9dc; font-size: .95rem; margin-top: 6px; }
.cat__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 700 1rem/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid #fff; padding-bottom: 4px; }
.cat:hover .cat__photo { transform: scale(1.03); }

/* ---------- sections */
.section { padding-block: 36px; }
.section--dark { background: var(--ink); color: #fff; margin-block: 12px; }
.section--dark .link-more { color: #fff; }
.section--dark .sec-sub { color: var(--muted-light); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-sub { color: var(--muted); margin-top: 4px; font-size: .95rem; }

/* club rail */
.club-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-snap-type: x proximity; }
.club-rail::-webkit-scrollbar { display: none; }
.club-chip { flex: none; width: 92px; display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; font: 600 .82rem/1.2 var(--font); scroll-snap-align: start; }
.club-chip:hover .crest { transform: translateY(-2px); }
.club-logo { display: block; width: 72px; height: 72px; transition: transform .2s var(--ease); }
.club-logo img { width: 100%; height: 100%; object-fit: contain; }
.club-chip:hover .club-logo { transform: translateY(-2px); }
.crest-img { --s: 22px; display: inline-block; flex: none; width: var(--s); height: var(--s); vertical-align: middle; }
.crest-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* MLB team logos: team tiles (on photos) get a small white plate so every logo stays legible */
.team__logo { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.team .team__logo img { position: static; inset: auto; z-index: auto; width: 100%; height: 100%; object-fit: contain; transform: none; filter: none; }
.pdp__eyebrow .crest-img { margin-right: 8px; vertical-align: -5px; }
.opt .crest-img { margin-right: -4px; }
.chip__logo { width: 20px; height: 20px; object-fit: contain; flex: none; }
.crest { --c1: #111; --c2: #fff; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(from 200deg, var(--c1) 0 50%, var(--c2) 0 100%); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); transition: transform .2s var(--ease); }
.crest span { display: grid; place-items: center; width: 78%; height: 78%; border-radius: 50%; background: var(--ink); color: #fff; font: 800 .62rem/1 var(--font-d); letter-spacing: .04em; }
.crest--xs { width: 22px; height: 22px; }
.crest--xs span { font-size: .42rem; }
.crest--md { width: 52px; height: 52px; }
.crest--md span { font-size: .85rem; }
.crest--lg { width: 72px; height: 72px; }
.crest--lg span { font-size: 1.05rem; }

/* rails / grids of product cards */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }

/* product card */
.card { position: relative; min-width: 0; }
.card__link { display: block; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--radius); background: var(--bg-media); overflow: hidden; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .3s, transform .4s var(--ease); }
.card__img--photo { padding: 0; object-fit: cover; mix-blend-mode: multiply; }
/* Real jersey photos: pre-composited on the card colour (tools/build_jerseys.py), so no blending or padding */
.card__img--jersey { padding: 0; object-fit: cover; }
.card__img--alt { opacity: 0; }
.card__body { padding: 10px 2px 0; }
.card__eyebrow { font: 600 .72rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 600 .98rem/1.25 var(--font); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: .8rem; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__price { font: 800 1.2rem/1 var(--font-d); margin-top: 8px; letter-spacing: .02em; }
.card__oos { font: 600 .8rem/1 var(--font); color: var(--danger); }
.card__soon { font: 600 .8rem/1 var(--font); color: var(--muted); }
.sr-item .price em.soon { color: var(--muted); }
.card.is-out .card__img { opacity: .55; filter: grayscale(.6); }
.tag { position: absolute; left: 8px; top: 8px; padding: 5px 8px; border-radius: 6px; font: 700 .68rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.tag--out { background: var(--ink); color: #fff; }
.tag--low { color: var(--low); }
.tag--soon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.card__price--soon { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.pdp__price--soon { font-size: 1.9rem; letter-spacing: .06em; text-transform: uppercase; }
.stock--soon { color: var(--muted); }
.pdp__desc { margin-top: 14px; color: var(--muted); }
/* collections without filters (e.g. a single brand) */
.listing--plain .filters, .listing--plain .toolbar__filter { display: none; }
@media (min-width: 1024px) { .listing.listing--plain { grid-template-columns: minmax(0, 1fr); } .listing--plain .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tag--lg { left: 12px; top: 12px; font-size: .8rem; padding: 7px 10px; }

/* leagues / players (dark section) */
.league-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.league { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #2a2a2f; color: #fff; text-decoration: none; min-height: 118px; overflow: hidden; transition: border-color .2s, background-color .2s; }
.league:hover { border-color: #6b6f76; background: #1c1c20; }
.league__short { font: 800 2.1rem/1 var(--font-d); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.league__name { font: 700 1.05rem/1.1 var(--font-d); text-transform: uppercase; letter-spacing: .04em; }
.league__count { font-size: .8rem; color: var(--muted-light); }
.league-grid--page .league { background: var(--ink); }
.players-h { margin: 30px 0 14px; }
.player-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.player-chips::-webkit-scrollbar { display: none; }
.player-chip { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--ink-2); border: 1px solid #2a2a2f; text-decoration: none; color: #fff; transition: border-color .2s; }
.player-chip:hover { border-color: #6b6f76; }
.player-chip strong { display: block; font-size: .92rem; line-height: 1.2; }
.player-chip small { color: var(--muted-light); font-size: .76rem; }
.player-chip--all { padding: 0 18px; gap: 6px; font-weight: 600; }
.avatar { --c1: #222; --c2: #fff; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); color: #fff; font: 800 .95rem/1 var(--font-d); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.avatar--lg { width: 52px; height: 52px; font-size: 1.15rem; }

/* team tiles (caps) */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.team { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; color: #fff; text-decoration: none; background: var(--ink-2); isolation: isolate; }
.team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .5s var(--ease); }
.team::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, 0) 60%); }
.team__txt { position: absolute; left: 12px; right: 12px; bottom: 10px; }
.team__txt strong { display: block; font: 800 1.2rem/1 var(--font-d); text-transform: uppercase; }
.team__txt small { font-size: .78rem; color: #d7d9dc; }
.team--out img { filter: grayscale(1) brightness(.7); }
.team:hover img { transform: scale(1.04); }

/* how it works */
.how { display: grid; gap: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.how__intro p:not(.eyebrow) { color: var(--muted); margin: 10px 0 18px; }
.how__steps { counter-reset: s; display: grid; gap: 10px; }
.how__steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: baseline; padding: 14px; background: #fff; border-radius: var(--radius); }
.how__steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 800 1.6rem/1 var(--font-d); color: var(--muted-light); }
.how__steps strong { font: 700 1.1rem/1.2 var(--font-d); text-transform: uppercase; letter-spacing: .04em; }
.how__steps span { color: var(--muted); font-size: .95rem; }
.how__steps--page { margin: 16px 0 32px; }
.how__steps--page li { background: var(--bg-soft); }

/* ---------- breadcrumbs, collection head */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 6px; font-size: .84rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 500; }
.coll-head { padding: 8px 0 14px; }
.coll-head .h1 { display: flex; align-items: center; gap: 14px; }
.coll-intro { color: var(--muted); margin-top: 8px; }
.coll-intro strong { color: var(--text); }
.quick-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); }
.quick-chips::-webkit-scrollbar { display: none; }
.qchip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: border-color .2s; }
.qchip:hover { border-color: var(--ink); }
.qchip em { font-style: normal; font-size: .76rem; color: var(--muted); }
.qchip--muted { color: var(--muted); }
.team-hero { position: relative; height: 180px; overflow: hidden; background: var(--ink); }
.team-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.team-hero__in { position: absolute; left: 0; right: 0; bottom: 8px; }

/* ---------- listing + filters */
.listing { display: block; padding-bottom: 40px; }
.toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; position: sticky; top: var(--hdr-h); z-index: 5; background: #fff; padding: 10px 0; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.toolbar__filter { min-height: 44px; padding: 0 14px; font-size: .95rem; }
.toolbar__count { font-size: .88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toolbar__sort select { min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 32px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; font-size: .9rem; width: 140px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.active-filters:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .85rem; }
.af .i { width: 16px; height: 16px; }
.af--clear { background: none; color: var(--ink); text-decoration: underline; }
.filters { position: fixed; inset: auto 0 0; z-index: var(--z-drawer); max-height: 88dvh; display: flex; flex-direction: column; background: #fff; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .3s var(--ease); visibility: hidden; }
.filters.is-open { transform: none; visibility: visible; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px var(--gutter); border-bottom: 1px solid var(--line); }
.filters__head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line-2); }
.filters__title { font: 800 1.35rem/1 var(--font-d); text-transform: uppercase; }
.filters__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter); }
.filters__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font: 700 1.05rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; list-style: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { transition: transform .2s; }
.fgroup[open] summary .i { transform: rotate(180deg); }
.fgroup__opts { display: grid; gap: 2px; padding-bottom: 14px; }
.fgroup__opts--scroll { max-height: 280px; overflow-y: auto; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 42px; cursor: pointer; font-size: .96rem; }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.opt em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .82rem; }
.fgroup__opts--sizes { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-opt { position: relative; cursor: pointer; }
.size-opt input, .size-btn input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.size-opt span, .size-btn span { display: grid; place-items: center; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius); font-weight: 600; transition: border-color .15s, background-color .15s, color .15s; }
.size-opt input:checked + span, .size-btn input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-opt input:focus-visible + span, .size-btn input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fgroup:has(.switch) { padding: 12px 0; }
.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; width: 46px; height: 28px; flex: none; border-radius: 14px; background: var(--line-2); transition: background-color .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--ink); outline-offset: 2px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty strong { color: var(--text); }
.card[data-hidden] { display: none; }

/* index tiles */
.tile-grid { display: grid; gap: 8px; padding-bottom: 40px; }
.club-tile { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.club-tile:hover { border-color: var(--ink); }
.club-tile .crest--lg { width: 56px; height: 56px; }
.club-tile__txt { flex: 1; min-width: 0; }
.club-tile strong { display: block; font: 800 1.2rem/1.1 var(--font-d); text-transform: uppercase; }
.club-tile small { color: var(--muted); font-size: .84rem; }
.club-tile > .i { color: var(--muted); }
.inline-search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 20px; }
.inline-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1rem; }
.inline-search--lg { min-height: 56px; }
.pgroup { margin-bottom: 26px; }
.pgroup__h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.player-grid { display: grid; gap: 8px; }
.player-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.player-card:hover { border-color: var(--ink); }
.player-card strong { display: block; font-weight: 600; }
.player-card small { color: var(--muted); font-size: .84rem; }
.team-grid--page { padding-bottom: 40px; }

/* ---------- product page */
.page-product { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.page-product .tabbar { display: none; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
.pdp__media { min-width: 0; margin-inline: calc(var(--gutter) * -1); }
.gallery { position: relative; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--bg-media); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; display: grid; place-items: center; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery--art .gallery__slide img { padding: 6%; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px var(--gutter) 0; overflow-x: auto; }
.gallery__thumbs button { width: 64px; height: 64px; flex: none; border-radius: 8px; border: 1.5px solid var(--line); background: var(--bg-media); overflow: hidden; transition: border-color .2s; }
.gallery__thumbs button[aria-selected="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__art-note { font-size: .82rem; color: var(--muted); padding: 10px var(--gutter) 0; }
.pdp__info { min-width: 0; }
.pdp__eyebrow { font: 600 .8rem/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pdp__eyebrow a { text-decoration: none; }
.pdp__eyebrow a:hover { text-decoration: underline; color: var(--text); }
.pdp__title { font: 800 clamp(2rem, 7vw, 3rem)/1 var(--font-d); text-transform: uppercase; margin-top: 8px; }
.pdp__title span { display: block; font: 600 1.15rem/1.3 var(--font); text-transform: none; color: var(--muted); margin-top: 8px; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--bg-soft); font-size: .8rem; font-weight: 600; }
.pdp__price { font: 800 2.2rem/1 var(--font-d); margin-top: 16px; letter-spacing: .01em; }
.stock { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: .95rem; }
.stock .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--danger); }
.buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
.field-label { display: flex; justify-content: space-between; gap: 10px; width: 100%; float: left; font: 700 1rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.field-hint { font: 500 .85rem/1 var(--font); text-transform: none; letter-spacing: 0; color: var(--muted); }
.field-hint.is-low { color: var(--low); font-weight: 600; }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; margin-top: 8px; }
.sizes.has-error .size-btn span { border-color: var(--danger); }
.sizes__opts { clear: both; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-btn { position: relative; }
.size-btn span { min-height: 52px; font-size: 1.05rem; }
.size-btn.is-disabled span { color: var(--line-2); text-decoration: line-through; background: var(--bg-soft); cursor: not-allowed; }
.onesize { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.onesize .i { color: var(--ok); }
.buy__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius); height: 54px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; }
.qty button .i { width: 18px; height: 18px; }
.qty input { width: 38px; text-align: center; border: 0; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 30px; font-size: .95rem; }
.buy__add { width: 100%; padding: 0 14px; }
@media (max-width: 389px) { .buy__add .i { display: none; } .qty button { width: 38px; } }
.ship { margin-top: 22px; padding: 16px; border-radius: var(--radius); background: var(--bg-soft); }
.ship__title { display: flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .05em; }
.ship__list { display: grid; gap: 6px; margin: 12px 0 8px; }
.ship__list li { display: flex; justify-content: space-between; font-size: .95rem; }
.ship__note { font-size: .85rem; color: var(--muted); }
.ship--compact { margin-top: 0; }
.acc { margin-top: 18px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font: 700 1.05rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform .2s; }
.acc details[open] summary .i { transform: rotate(180deg); }
.acc__body { padding-bottom: 16px; color: var(--muted); display: grid; gap: 10px; }
.bullets { list-style: disc; padding-left: 20px; }
.specs { display: grid; padding-bottom: 14px; }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.specs div:last-child { border: 0; }
.specs dt { color: var(--muted); }
.sticky-buy { position: fixed; inset: auto 0 0; z-index: var(--z-sticky); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .25s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { display: grid; line-height: 1.2; }
.sticky-buy__info strong { font: 800 1.35rem/1 var(--font-d); }
.sticky-buy__info span { font-size: .82rem; color: var(--muted); }
.sticky-buy .btn { min-height: 50px; padding: 0 22px; }

/* ---------- cart */
.cart-empty { text-align: center; padding: 40px 10px; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.cart-empty .i { width: 44px; height: 44px; color: var(--line-2); }
.cart-empty strong { color: var(--text); font: 800 1.4rem/1 var(--font-d); text-transform: uppercase; }
.cart-empty__links { display: grid; gap: 8px; width: 100%; max-width: 320px; }
.cart-lines { display: grid; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 76px; height: 80px; border-radius: 8px; background: var(--bg-media); object-fit: contain; mix-blend-mode: multiply; }
.line__top { display: flex; justify-content: space-between; gap: 8px; }
.line__name { font-weight: 600; line-height: 1.25; text-decoration: none; font-size: .95rem; }
.line__var { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.line__price { font: 800 1.1rem/1 var(--font-d); white-space: nowrap; }
.line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.line__rm { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 6px; color: var(--muted); font-size: .85rem; }
.line__rm .i { width: 16px; height: 16px; }
.line__rm:hover { color: var(--danger); }
.summary { display: grid; gap: 14px; padding-top: 16px; }
.zone { display: grid; gap: 8px; }
.zone legend { font: 700 1rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.zone label { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; transition: border-color .15s; }
.zone label:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); }
.zone input { accent-color: var(--ink); width: 18px; height: 18px; }
.zone label strong { margin-left: auto; }
.totals { display: grid; gap: 6px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 800 1.5rem/1 var(--font-d); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.cart-note { font-size: .82rem; color: var(--muted); text-align: center; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea { min-height: 48px; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 10px 12px; font-size: 1rem; background: #fff; width: 100%; }
.field textarea { min-height: 80px; resize: vertical; font: inherit; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.cart-page { padding-bottom: 40px; }
.cart-page .summary { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 18px; margin-top: 16px; align-self: start; }

/* ---------- shipping page */
.ship-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 32px; }
.ship-card { padding: 18px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; display: grid; gap: 4px; }
.ship-card .i { width: 26px; height: 26px; color: var(--silver); margin-bottom: 8px; }
.ship-card p { color: #d7d9dc; }
.ship-card strong { font: 800 2.2rem/1 var(--font-d); }
.cta-band { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: var(--bg-soft); margin-bottom: 40px; }
.cta-band p { color: var(--muted); }
.notfound { padding: 60px var(--gutter) 80px; display: grid; gap: 14px; }
.notfound p:not(.eyebrow) { color: var(--muted); }

/* ---------- footer */
.ftr { background: var(--ink); color: #d7d9dc; margin-top: 20px; }
.ftr__top { display: grid; gap: 30px; padding-block: 40px 28px; }
.ftr__brand img { width: 120px; margin-bottom: 14px; }
.ftr__brand p { max-width: 36ch; font-size: .95rem; margin-bottom: 16px; }
.ftr .social a { color: #fff; }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; }
.ftr__h { font: 700 1rem/1 var(--font-d); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.ftr__cols a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: .93rem; }
.ftr__cols a:hover { color: #fff; text-decoration: underline; }
.ftr__ship li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .93rem; }
.ftr__ship strong { color: #fff; }
.ftr__bottom { border-top: 1px solid #222; font-size: .82rem; color: var(--muted-light); }
.ftr__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding-block: 16px; }

/* ---------- toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); z-index: var(--z-toast); transform: translate(-50%, 20px); opacity: 0; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow); transition: opacity .2s, transform .25s var(--ease); font-size: .95rem; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: #6fe29b; }
.toast button { font-weight: 700; text-decoration: underline; min-height: 36px; padding: 0 6px; white-space: nowrap; }
.page-product .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* =================================================================== ≥ 640 */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .hero__cta { grid-auto-flow: column; justify-content: start; }
  .rail { grid-auto-columns: 31%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .league-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tile-grid, .player-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-bar__in { justify-content: space-between; }
  .promo-bar__wa { display: inline-flex; }
  .ftr__cols { grid-template-columns: repeat(4, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; }
}

/* =================================================================== ≥ 768 */
@media (min-width: 768px) {
  .hero { min-height: 560px; display: grid; align-items: center; }
  .hero__bg { position: absolute; inset: 0 0 0 38%; }
  .hero__bg img { height: 100%; max-height: none; object-position: 50% 30%; }
  .hero__bg::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 11, 12, .55) 30%, rgba(11, 11, 12, 0) 60%); }
  .hero__in { margin-top: 0; padding-block: 72px; }
  .hero__sub { font-size: 1.15rem; }
  .cats { grid-template-columns: 1fr 1fr; padding-top: 24px; gap: 16px; }
  .cat { min-height: 340px; }
  .cat h2 { font-size: 2.4rem; }
  .cat__txt { padding: 28px; }
  .section { padding-block: 52px; }
  .how { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 40px; }
  .how__steps { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 8px; }
  .pdp__media { margin: 0; position: sticky; top: calc(var(--hdr-h) + 24px); }
  .gallery__track { border-radius: var(--radius-lg); }
  .gallery__thumbs, .pdp__art-note { padding-inline: 0; }
  .team-hero { height: 240px; }
  .cart-page:has(.cart-lines) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; }
  .cart-page .summary { position: sticky; top: calc(var(--hdr-h) + 24px); margin-top: 0; }
}

/* =================================================================== ≥ 1024 (desktop) */
@media (min-width: 1024px) {
  :root { --hdr-h: 72px; --gutter: 32px; }
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .page-product { padding-bottom: 0; }
  .toast, .page-product .toast { bottom: 24px; }
  .hdr__bar { grid-template-columns: auto 1fr auto auto; gap: 24px; }
  .hdr__menu { display: none; }
  .logo { justify-self: start; }
  .logo img:first-child { height: 46px; }
  .logo__word { height: 19px; }
  .hdr__nav { display: block; height: 100%; }
  .hdr__nav > ul { display: flex; height: 100%; gap: 4px; }
  .hdr__nav > ul > li { display: flex; align-items: stretch; }
  .hdr__nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 0 16px; font: 700 1.12rem/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #e4e6e9; position: relative; }
  .hdr__nav > ul > li > a .i { width: 16px; height: 16px; transition: transform .2s; }
  .hdr__nav > ul > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 2px; background: var(--chrome); transform: scaleX(0); transition: transform .2s var(--ease); }
  .hdr__nav > ul > li > a:hover, .hdr__nav > ul > li > a[aria-current="page"] { color: #fff; }
  .hdr__nav > ul > li > a:hover::after, .hdr__nav > ul > li > a[aria-current="page"]::after, .has-mega.is-open > a::after { transform: scaleX(1); }
  .has-mega.is-open > a .i { transform: rotate(180deg); }
  .hdr__search { display: flex; align-items: center; gap: 10px; width: 300px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #1d1d20; color: #a9abb0; font-size: .92rem; border: 1px solid #2d2d31; transition: border-color .2s; }
  .hdr__search:hover { border-color: #55585e; }
  .hdr__search .i { width: 18px; height: 18px; }
  .hdr__search-btn { display: none; }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .14); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
  .has-mega.is-open .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mega__grid { display: grid; gap: 36px; padding-block: 28px 34px; }
  .mega__grid--fan { grid-template-columns: 1fr 2fr 1fr 1.1fr; }
  .mega__grid--caps { grid-template-columns: 1fr 1.6fr 1.4fr; }
  .mega__h { font: 800 1rem/1 var(--font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .mega ul { display: grid; gap: 2px; }
  .mega ul.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .mega a { display: flex; align-items: center; gap: 10px; padding: 7px 0; text-decoration: none; font-size: .95rem; }
  .mega a:hover { text-decoration: underline; }
  .mega .count { color: var(--muted); font-size: .8rem; margin-left: 4px; }
  .mega__all { font-weight: 700; }
  .mega__search { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0 12px; min-height: 42px; border-radius: 999px; background: var(--bg-soft); }
  .mega__search .i { width: 16px; height: 16px; color: var(--muted); }
  .mega__search input { border: 0; background: none; outline: none; width: 100%; font-size: .92rem; }
  .mega__promo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 200px; text-decoration: none !important; color: #fff; }
  .mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mega__promo span { position: absolute; left: 16px; bottom: 14px; display: grid; }
  .mega__promo small { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #d7d9dc; }
  .mega__promo strong { font: 800 1.6rem/1 var(--font-d); text-transform: uppercase; }
  .mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent 60%); }
  .mega__promo span { z-index: 1; }
  .subnav__in { justify-content: center; gap: 2px; padding-block: 0; }
  .subnav a { background: none; border-radius: 0; min-height: 44px; padding: 0 14px; font-size: .88rem; font-weight: 600; letter-spacing: .02em; }
  .subnav a:hover { background: none; text-decoration: underline; }
  .subnav__sep { margin: 12px 8px; }
  .hero { min-height: 600px; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 28px 20px; }
  .club-rail { flex-wrap: wrap; justify-content: space-between; margin: 0; padding: 0; overflow: visible; row-gap: 18px; }
  .club-chip { width: calc(100% / 7 - 8px); }
  .league-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .league { min-height: 150px; padding: 20px; }
  .player-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .team-grid { gap: 16px; }
  .card:hover .card__img--alt { opacity: 1; }
  .card__media:has(.card__img--alt):hover .card__img:first-child { opacity: 0; }
  .card:hover .card__img:only-of-type { transform: scale(1.04); }
  .card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
  .listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; }
  .filters { position: sticky; top: calc(var(--hdr-h) + 20px); inset: auto; max-height: calc(100vh - var(--hdr-h) - 40px); transform: none; visibility: visible; border-radius: 0; background: none; z-index: 1; align-self: start; }
  .filters__head, .filters__foot { display: none; }
  .filters__body { padding: 0; overflow-y: auto; scrollbar-width: thin; }
  .fgroup:first-child { border-top: 1px solid var(--line); }
  .toolbar { grid-template-columns: 1fr auto; }
  .toolbar__filter { display: none; }
  .toolbar__sort select { width: auto; min-width: 200px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .grid--full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .player-grid { grid-template-columns: repeat(4, 1fr); }
  .toolbar { position: static; }
  .sticky-buy { display: none; }
  .pdp { gap: 64px; }
  .drawer--right { width: 440px; }
  .search { inset: 0 0 auto; max-height: 86vh; box-shadow: 0 30px 60px rgba(0, 0, 0, .2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .search__form { padding-block: 16px; }
  .search__results { padding-bottom: 28px; }
  .sr-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ftr__top { grid-template-columns: 1fr 2.2fr; gap: 60px; padding-block: 60px 40px; }
}

@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(6, 1fr); }
  .team-grid--page { grid-template-columns: repeat(3, 1fr); }
  .team { aspect-ratio: 3 / 3.6; }
  .team-grid--page .team { aspect-ratio: 4 / 3; }
}

/* Jersey photos already sit on the neutral --bg-media colour: never multiply them */
img[src*="/img/jerseys/"][src$=".webp"] { mix-blend-mode: normal; }

@media (hover: none) {
  .card__img--alt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- FStudio Admin live availability
   Cap pages contain both states; .pdp[data-avail] (set at build, updated live) shows one. */
.buy > div.live-in { display: contents; } /* wrapper must not change the form's spacing */
.pdp[data-avail="0"] .live-in,
.pdp[data-avail="1"] .live-out { display: none !important; }
.pdp[data-avail="0"] ~ .sticky-buy { display: none !important; }
.line.is-out .line__img, .line.is-out .line__name, .line.is-out .line__price { opacity: .5; }
.line__out { margin: 6px 0 0; font: 600 .8rem/1.3 var(--font); color: var(--danger); }
.btn.is-disabled { opacity: .5; pointer-events: none; }
