/* ==========================================================================
   ЛУЧ ШОП — main.css
   Foundation stylesheet: tokens, reset, typography, layout, components,
   chrome (header / footer / drawer / toast / modal), motion, responsive.
   Breakpoints: ≤640 mobile, ≤1024 tablet, >1024 desktop.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --red: #D8232A;
  --red-dark: #B3161C;
  --navy: #0F1E3D;
  --navy-2: #1C2B4A;
  --ink: #1B2438;
  --muted: #5B6578;
  --soft: #8A93A5;
  --line: #E3E9F1;
  --line-2: #C5CEDA;
  --ice: #F3F6FA;
  --ice-2: #E9EFF6;
  --white: #FFFFFF;
  --blue: #1E4FA3;
  --success: #1E7A46;
  --warn: #B8860B;
  --media: #F7F9FC;

  --font-display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-4: 4px;
  --r-6: 6px;
  --r-8: 8px;
  --r-12: 12px;

  --container: 1280px;
  --gutter: 80px;

  --shadow-card: 0 12px 28px rgba(15, 30, 61, .10), 0 2px 6px rgba(15, 30, 61, .06);
  --shadow-pop: 0 16px 40px rgba(15, 30, 61, .16), 0 2px 8px rgba(15, 30, 61, .08);
  --shadow-drawer: -16px 0 48px rgba(15, 30, 61, .18);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-hover: 200ms;
  --t-panel: 360ms;
  --t-reveal: 600ms;

  --hdr-top: 36px;
  --hdr-main: 88px;
  --hdr-nav: 52px;
  --hdr-main-compact: 64px;
  --mhdr-bar: 60px;

  --z-header: 50;
  --z-drop: 60;
  --z-backdrop: 90;
  --z-drawer: 100;
  --z-modal: 110;
  --z-toast: 120;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: var(--navy); text-decoration: none; transition: color var(--t-hover) var(--ease); }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; height: 1px; background: var(--line); margin: 0; }
[hidden] { display: none !important; }
strong, b { font-weight: 600; }
::selection { background: rgba(216, 35, 42, .18); }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: 44px; font-weight: 700; }
h2 { font-size: 34px; }
h3 { font-size: 22px; line-height: 1.1; }
h4 { font-size: 18px; line-height: 1.15; letter-spacing: .02em; }
.h-hero { font-size: 68px; font-weight: 700; line-height: .98; }
.h-band { font-size: 48px; font-weight: 700; }
.h-product { font-size: 38px; font-weight: 700; line-height: 1.05; }
.h-sub { font-size: 28px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--red);
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--red); flex-shrink: 0; }
.eyebrow--light { color: rgba(255, 255, 255, .7); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.text-muted { color: var(--muted); }
.text-soft { color: var(--soft); }
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.text-success { color: var(--success); }
.text-small { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-center { text-align: center; }
.upper { text-transform: uppercase; letter-spacing: .08em; }
.price { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1; }
.price--lg { font-size: 40px; font-weight: 700; }
.price--md { font-size: 30px; font-weight: 700; }
.price__old { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--soft); text-decoration: line-through; margin-left: 8px; }
.prose { font-size: 15px; line-height: 1.6; color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose h3 { margin: 28px 0 12px; }
.prose h3:first-child { margin-top: 0; }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); }
.link--red { color: var(--red); }
.link--red:hover { color: var(--red-dark); }
.link--muted { color: var(--muted); font-weight: 400; }
.link svg { transition: transform var(--t-hover) var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   4. Layout utilities
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding: 64px 0 0; }
.section--last { padding-bottom: 72px; }
.section--white { background: var(--white); border-bottom: 1px solid var(--line); padding: 40px 0; }
.section--flush { padding-top: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--5 { --cols: 5; }
.grid--gap-sm { gap: 12px; }
.grid--gap-lg { gap: 32px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.stack--xs { --gap: 6px; }
.stack--sm { --gap: 10px; }
.stack--lg { --gap: 24px; }
.stack--xl { --gap: 32px; }
.row { display: flex; align-items: center; gap: var(--gap, 12px); }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }
.row--wrap { flex-wrap: wrap; }
.row--start { align-items: flex-start; }
.row--baseline { align-items: baseline; }
.grow { flex-grow: 1; min-width: 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); }
.panel--pad { padding: 24px; }
.divider { height: 1px; background: var(--line); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.desktop-only { display: initial; }
.mobile-only { display: none; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-4); border: 1.5px solid transparent;
  font-family: var(--font-display); text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  white-space: nowrap; cursor: pointer; user-select: none; text-decoration: none;
  transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), transform 120ms var(--ease), box-shadow var(--t-hover) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0A1630; color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--ice); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); color: var(--white); }
.btn--soft { background: var(--ice); color: var(--navy); }
.btn--soft:hover { background: var(--ice-2); color: var(--navy); }
.btn--success { background: var(--success); color: var(--white); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn--xl { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--icon { width: 44px; padding: 0; }
.btn--icon.btn--lg { width: 52px; }
.btn.is-added { background: var(--navy); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; color: var(--navy); background: transparent;
  transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease), transform 120ms var(--ease);
}
.icon-btn:hover { background: var(--ice); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--sq { border-radius: var(--r-4); border: 1.5px solid var(--line); background: var(--white); width: 52px; height: 52px; }
.icon-btn--sq:hover { border-color: var(--navy); background: var(--white); }
.icon-btn.is-on, .card__fav.is-on { color: var(--red); }

/* --------------------------------------------------------------------------
   6. Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field__hint { font-size: 12px; color: var(--soft); }
.field__error { font-size: 12px; color: var(--red); display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea, .input.is-invalid { border-color: var(--red); }
.field.is-valid .input { border-color: var(--success); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-4);
  background: var(--white); font-size: 15px; color: var(--ink); outline: none;
  transition: border-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--soft); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 30, 61, .08); }
.input--sm { height: 40px; font-size: 14px; padding: 0 12px; }
.textarea { height: auto; min-height: 80px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F1E3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.select--sm { height: 40px; font-size: 14px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .input { padding-left: 40px; }
.input-wrap__icon { position: absolute; left: 12px; color: var(--soft); pointer-events: none; display: flex; }
.input-wrap__prefix { position: absolute; left: 12px; color: var(--soft); font-size: 14px; pointer-events: none; }
.input-wrap > .input.has-prefix { padding-left: 36px; }
/* checkbox */
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 3px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--white);
  transition: background-color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}
.checkbox__box svg { opacity: 0; transform: scale(.6); transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--red); border-color: var(--red); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; transform: scale(1); }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--red); outline-offset: 2px; }
.checkbox__label { flex-grow: 1; }
.checkbox__count { font-size: 12px; color: var(--soft); }
/* radio cards (delivery / payment) */
.radio-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: var(--r-6);
  background: var(--white); border: 1.5px solid var(--line); cursor: pointer;
  transition: border-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.radio-card:hover { border-color: var(--line-2); }
.radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card__dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex-shrink: 0; margin-top: 1px; transition: border var(--t-hover) var(--ease); }
.radio-card input:checked ~ .radio-card__dot { border: 6px solid var(--red); }
.radio-card:has(input:checked) { border-color: var(--navy); }
.radio-card input:focus-visible ~ .radio-card__dot { outline: 2px solid var(--red); outline-offset: 2px; }
.radio-card__body { display: flex; flex-direction: column; gap: 3px; flex-grow: 1; }
.radio-card__title { font-size: 15px; font-weight: 600; color: var(--navy); }
.radio-card__sub { font-size: 13px; color: var(--muted); }
.radio-card__icon { color: var(--soft); }
/* size pills */
.size-pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 44px; padding: 0 10px;
  border-radius: var(--r-4); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 600; cursor: pointer; user-select: none;
  transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), transform 160ms var(--ease);
}
.size-pill:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.size-pill:active { transform: scale(.96); }
.size-pill.is-active, .size-pill[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: inset 0 0 0 1px var(--navy); animation: pill-pop 220ms var(--ease); }
.size-pill.is-out { color: var(--soft); text-decoration: line-through; cursor: not-allowed; }
.size-pill--sm { min-width: 40px; height: 36px; padding: 0 8px; font-size: 13px; font-weight: 500; }
.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pills--sm { gap: 6px; }
@keyframes pill-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
/* colour swatches */
.swatch {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  background: var(--sw, var(--red)); box-shadow: inset 0 0 0 1px rgba(15, 30, 61, .12);
  transition: transform 160ms var(--ease), outline-color var(--t-hover) var(--ease);
  outline: 2px solid transparent; outline-offset: 2px;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active, .swatch[aria-pressed="true"] { outline-color: var(--red); }
.swatch--lg { width: 36px; height: 36px; outline-offset: 3px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px;
  background: var(--white); color: var(--navy); border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), transform 160ms var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip:active { transform: scale(.97); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip--hot { background: var(--red); color: var(--white); border-color: var(--red); }
.chip--hot:hover { background: var(--red-dark); color: var(--white); border-color: var(--red-dark); }
.chip__count { font-size: 12px; color: var(--soft); }
.chip.is-active .chip__count { color: rgba(255, 255, 255, .65); }
.chip--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 18px; }
.chip--filter { height: 32px; padding: 0 10px 0 12px; background: var(--ice-2); border-color: var(--ice-2); font-size: 13px; font-weight: 400; gap: 6px; border-radius: 16px; }
.chip--filter:hover { border-color: var(--line-2); }
.chip--filter .chip__x { display: inline-flex; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--sm { gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips--scroll::-webkit-scrollbar { display: none; }
/* quantity stepper */
.qty { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--line); border-radius: var(--r-4); background: var(--white); }
.qty__btn { display: flex; align-items: center; justify-content: center; width: 46px; height: 100%; color: var(--navy); transition: background-color var(--t-hover) var(--ease); }
.qty__btn:hover { background: var(--ice); }
.qty__btn:active { transform: scale(.94); }
.qty__val { display: flex; align-items: center; justify-content: center; width: 40px; font-size: 16px; font-weight: 600; color: var(--ink); }
.qty--sm { height: 44px; }
.qty--sm .qty__btn { width: 42px; }
.qty--sm .qty__val { font-size: 15px; }
.qty--xs { height: 36px; }
.qty--xs .qty__btn { width: 34px; }
.qty--xs .qty__val { width: 32px; font-size: 14px; }
/* price range */
.range { position: relative; height: 16px; }
.range__track, .range__fill { position: absolute; left: 0; right: 0; top: 7px; height: 3px; border-radius: 2px; background: var(--line); }
.range__fill { background: var(--red); }
.range input[type="range"] { position: absolute; inset: 0; width: 100%; margin: 0; background: transparent; appearance: none; pointer-events: none; height: 16px; }
.range input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--red); pointer-events: auto; cursor: grab; }
.range input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--red); pointer-events: auto; cursor: grab; }
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--red); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   7. Header (desktop)
   -------------------------------------------------------------------------- */
/* The mount wrapper must not form a box of its own, otherwise sticky has no room to stick. */
#site-header { display: contents; }
.hdr-wrap { position: sticky; top: 0; z-index: var(--z-header); }
.hdr { position: relative; display: flex; flex-direction: column; background: var(--white); }
.hdr__top { height: var(--hdr-top); overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .85); font-size: 13px; transition: height 260ms var(--ease); }
.hdr__top .container { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-top); }
.hdr__top-left, .hdr__top-right { display: flex; align-items: center; gap: 20px; }
.hdr__top-right { gap: 22px; }
.hdr__top span, .hdr__top a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.hdr__top a:hover { color: var(--white); }
.hdr__top .hdr__phone { color: var(--white); font-weight: 500; }
.hdr__main { transition: height 260ms var(--ease); height: var(--hdr-main); }
.hdr__main .container { display: flex; align-items: center; gap: 32px; height: 100%; }
.hdr-wrap.is-compact .hdr__top { height: 0; }
.hdr-wrap.is-compact .hdr__main { height: var(--hdr-main-compact); }
.hdr-wrap.is-compact .hdr { box-shadow: 0 6px 24px rgba(15, 30, 61, .08); }
/* logo */
.logo { display: inline-flex; align-items: center; color: var(--navy); flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo__text { display: inline-flex; align-items: baseline; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.logo__a { color: var(--red); }
.logo__b { color: var(--navy); }
.logo--dark .logo__b { color: var(--white); }
/* search */
.search { position: relative; flex-grow: 1; min-width: 0; }
.search__form { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-6); overflow: hidden; background: var(--ice); transition: border-color var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease); }
.search__form:focus-within { border-color: var(--navy); background: var(--white); }
.search__icon { display: flex; align-items: center; padding: 0 12px 0 16px; color: var(--soft); }
.search__input { flex-grow: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 15px; color: var(--ink); outline: none; }
.search__input::placeholder { color: var(--soft); }
.search__input::-webkit-search-cancel-button { appearance: none; }
.search__clear { display: none; align-items: center; justify-content: center; width: 36px; height: 100%; color: var(--soft); }
.search__clear:hover { color: var(--navy); }
.search.has-value .search__clear { display: flex; }
.search__btn { display: flex; align-items: center; height: 48px; padding: 0 22px; background: var(--navy); color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .06em; transition: background-color var(--t-hover) var(--ease); }
.search__btn:hover { background: var(--red); }
.search__drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: var(--z-drop);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); box-shadow: var(--shadow-pop); overflow: hidden;
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
}
.search__drop.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.search__list { display: flex; flex-direction: column; padding: 6px; max-height: 60vh; overflow: auto; }
.search__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-6); color: var(--ink); text-align: left; width: 100%; transition: background-color 140ms var(--ease); }
.search__item:hover, .search__item.is-active { background: var(--ice); color: var(--ink); }
.search__thumb { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-4); background: var(--media); flex-shrink: 0; }
.search__name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.search__cat { font-size: 12px; color: var(--soft); }
.search__price { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--navy); white-space: nowrap; }
.search__foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.search__foot a { font-weight: 500; }
.search__empty { padding: 20px 16px; font-size: 14px; color: var(--muted); }
.search__empty b { color: var(--ink); }
/* actions */
.hdr__actions { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.hdr-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--navy); font-size: 12px; line-height: 1; padding: 4px 2px; border-radius: var(--r-4); transition: color var(--t-hover) var(--ease); }
.hdr-action:hover { color: var(--red); }
.hdr-action svg { transition: transform var(--t-hover) var(--ease); }
.hdr-action:hover svg { transform: translateY(-2px); }
.hdr-action .badge-count { top: -4px; right: -2px; }
.hdr-cart { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: var(--r-6); background: var(--ice); color: var(--navy); transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.hdr-cart:hover { background: var(--ice-2); color: var(--navy); }
.hdr-cart__icon { position: relative; display: flex; }
.hdr-cart__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hdr-cart__label { font-size: 13px; font-weight: 600; }
.hdr-cart__sum { font-size: 12px; color: var(--muted); }
.badge-count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center; transform-origin: center;
}
.badge-count.is-zero { opacity: 0; transform: scale(.6); transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.badge-count.is-bump { animation: badge-bump 420ms var(--ease); }
@keyframes badge-bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
/* nav row */
.hdr__nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hdr__nav .container { display: flex; align-items: center; gap: 28px; height: var(--hdr-nav); }
.catalog-btn {
  display: flex; align-items: center; gap: 10px; height: var(--hdr-nav); padding: 0 20px; margin-right: 4px; flex-shrink: 0;
  background: var(--red); color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: 15px; font-weight: 600; letter-spacing: .06em;
  transition: background-color var(--t-hover) var(--ease);
}
.catalog-btn:hover, .catalog-btn[aria-expanded="true"] { background: var(--red-dark); color: var(--white); }
.catalog-btn__icon { display: flex; position: relative; width: 20px; height: 20px; }
.catalog-btn__icon svg { position: absolute; inset: 0; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.catalog-btn__icon svg:last-child { opacity: 0; transform: rotate(-90deg); }
.catalog-btn[aria-expanded="true"] .catalog-btn__icon svg:first-child { opacity: 0; transform: rotate(90deg); }
.catalog-btn[aria-expanded="true"] .catalog-btn__icon svg:last-child { opacity: 1; transform: none; }
.nav { display: flex; align-items: center; gap: 28px; min-width: 0; overflow: hidden; }
.nav__item { position: relative; display: flex; align-items: center; height: var(--hdr-nav); padding: 0 2px; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.nav__item::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav__item:hover::after, .nav__item.is-active::after { transform: scaleX(1); }
.nav__item.is-active, .nav__item--hot { color: var(--red); }
/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-drop);
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(15, 30, 61, .14);
  opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
}
.mega.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 28px 0 32px; }
.mega__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mega__cat { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-8); border: 1px solid var(--line); color: var(--navy); transition: border-color var(--t-hover) var(--ease), transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease); }
.mega__cat:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--navy); }
.mega__cat-art { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--r-6); background: var(--media); flex-shrink: 0; }
.mega__cat-title { font-family: var(--font-display); text-transform: uppercase; font-size: 17px; font-weight: 600; line-height: 1.1; }
.mega__cat-sub { font-size: 12px; line-height: 1.4; color: var(--muted); margin-top: 4px; }
.mega__col { display: flex; flex-direction: column; gap: 22px; padding-left: 40px; border-left: 1px solid var(--line); }
.mega__title { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--soft); margin-bottom: 10px; }
.mega__links { display: flex; flex-direction: column; gap: 8px; }
.mega__links a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.mega__links a svg { color: var(--soft); }
.mega__custom { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-8); background: var(--navy); color: var(--white); }
.mega__custom:hover { color: var(--white); background: var(--navy-2); }
.mega__custom b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
.mega__custom span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.mega__custom svg { color: var(--red); }
.mega__clubs { display: flex; flex-wrap: wrap; gap: 6px; }

/* --------------------------------------------------------------------------
   8. Mobile header + slide-in menu sheet
   -------------------------------------------------------------------------- */
.mhdr { display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); }
.mhdr__bar { display: flex; align-items: center; justify-content: space-between; height: var(--mhdr-bar); padding: 0 16px; }
.mhdr__btn { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 -7px; color: var(--navy); border-radius: var(--r-4); }
.mhdr__btn .badge-count { top: 0; right: -2px; }
.mhdr__search { padding: 0 16px 12px; }
.mhdr__search .search__form { height: 44px; }
.mhdr__search .search__btn { display: none; }
.mhdr__search .search__icon { padding: 0 10px 0 14px; }
.mhdr__chips { display: flex; gap: 8px; padding: 0 16px 14px; overflow-x: auto; scrollbar-width: none; }
.mhdr__chips::-webkit-scrollbar { display: none; }
.mhdr__chips .chip { flex-shrink: 0; }
.hdr-wrap.is-compact .mhdr__chips { display: none; }
.hdr-wrap.is-compact .mhdr { box-shadow: 0 6px 24px rgba(15, 30, 61, .08); }
/* sheet */
.sheet {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); z-index: var(--z-drawer);
  background: var(--white); display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(-104%); visibility: hidden;
  transition: transform var(--t-panel) var(--ease), visibility 0s linear var(--t-panel);
  box-shadow: 16px 0 48px rgba(15, 30, 61, .18);
}
.sheet.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; height: var(--mhdr-bar); padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.sheet__body { flex-grow: 1; overflow-y: auto; padding: 8px 0 24px; -webkit-overflow-scrolling: touch; }
.sheet__title { padding: 16px 16px 6px; font-family: var(--font-display); text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--soft); }
.sheet__link { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 16px; font-size: 15px; font-weight: 500; color: var(--navy); }
.sheet__link:active { background: var(--ice); }
.sheet__link .sheet__art { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-4); background: var(--media); flex-shrink: 0; }
.sheet__link .sheet__chev { margin-left: auto; color: var(--soft); }
.sheet__link--hot { color: var(--red); }
.sheet__link--custom { margin: 8px 16px; padding: 12px 14px; border-radius: var(--r-8); background: var(--navy); color: var(--white); min-height: 56px; }
.sheet__link--custom svg { color: var(--red); }
.sheet__contacts { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 8px; }
.sheet__contacts a { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 500; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.ftr { background: var(--navy); color: var(--white); margin-top: auto; }
.ftr__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px; padding: 56px 0 44px; }
.ftr__about { display: flex; flex-direction: column; gap: 16px; }
.ftr__about p { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.ftr__col { display: flex; flex-direction: column; gap: 12px; }
.ftr__title { font-family: var(--font-display); text-transform: uppercase; font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--white); margin-bottom: 4px; }
.ftr__col a { font-size: 14px; color: rgba(255, 255, 255, .72); }
.ftr__col a:hover { color: var(--white); }
.ftr__contacts { display: flex; flex-direction: column; gap: 14px; }
.ftr__contacts a, .ftr__contacts span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.ftr__contacts a:hover { color: var(--white); }
.ftr__contacts .ftr__phone { font-size: 15px; font-weight: 600; color: var(--white); }
.ftr__contacts .ftr__addr { align-items: flex-start; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.ftr__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding-top: 12px; padding-bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.ftr__bottom span { display: flex; align-items: center; gap: 8px; }
.ftr__mobile-links { display: none; }

/* --------------------------------------------------------------------------
   10. Product card
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.cards--3 { --cols: 3; }
.cards--4 { --cols: 4; }
.cards--2 { --cols: 2; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-6); overflow: visible;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.card__media { position: relative; display: flex; align-items: center; justify-content: center; height: 236px; background: var(--media); border-radius: var(--r-6) var(--r-6) 0 0; overflow: hidden; }
.card__media a, .card__media > .card__art { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.card__art { transition: transform 320ms var(--ease); }
.card:hover .card__art { transform: scale(1.04); }
.card__badge, .tag-badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px; border-radius: 3px; background: var(--red); color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1.3; }
.tag-badge { position: static; display: inline-flex; }
.card__badge--hit, .tag-badge--hit { background: var(--navy); }
.card__badge--sale, .tag-badge--sale { background: var(--red-dark); }
.card__badge--new, .tag-badge--new { background: var(--red); }
.card__fav { position: absolute; top: 10px; right: 10px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--muted); display: flex; align-items: center; justify-content: center; transition: color var(--t-hover) var(--ease), transform 160ms var(--ease), box-shadow var(--t-hover) var(--ease); }
.card__fav:hover { color: var(--red); box-shadow: 0 4px 12px rgba(15, 30, 61, .12); }
.card__fav:active { transform: scale(.9); }
.card__fav.is-on { color: var(--red); animation: fav-pop 320ms var(--ease); }
@keyframes fav-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex-grow: 1; }
.card__cat { font-size: 11px; font-weight: 600; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; }
.card__name { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a { color: inherit; }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.card__old { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--soft); text-decoration: line-through; }
.card__meta { font-size: 12px; color: var(--muted); min-height: 18px; }
.card__actions { position: relative; z-index: 1; margin-top: auto; padding-top: 6px; }
.card__actions .btn { width: 100%; }
.card__fav, .card__actions, .card__sizes { z-index: 2; }
/* inline size picker popover */
.card__sizes {
  position: absolute; left: 8px; right: 8px; bottom: calc(100% - 4px); padding: 12px; border-radius: var(--r-8); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(6px); visibility: hidden; pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
}
.card__sizes.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.card__sizes-title { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.card__sizes-title button { color: var(--soft); display: flex; }
.card__sizes .size-pills { gap: 6px; }
.card__sizes .size-pill { min-width: 40px; height: 34px; padding: 0 8px; font-size: 13px; }
/* compact card (mobile home) */
.card--sm .card__media { height: 150px; }
.card--sm .card__body { padding: 10px 12px 12px; }
.card--sm .card__name { font-size: 13px; min-height: 34px; }
.card--sm .card__price { font-size: 18px; }
.card--sm .card__cat, .card--sm .card__meta { display: none; }
.card--sm .btn { height: 36px; font-size: 13px; }
/* list view */
.cards--list { grid-template-columns: 1fr; }
.cards--list .card { flex-direction: row; }
.cards--list .card__media { width: 220px; height: 200px; flex-shrink: 0; border-radius: var(--r-6) 0 0 var(--r-6); }
.cards--list .card__body { padding: 18px 20px; }
.cards--list .card__name { min-height: 0; }
.cards--list .card__actions .btn { width: auto; min-width: 180px; }

/* --------------------------------------------------------------------------
   11. Breadcrumbs, section heads, page titles
   -------------------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs svg { color: var(--soft); }
.crumbs__current { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { line-height: 1; }
.section-head__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; padding-bottom: 2px; }
.section-head__link svg { transition: transform var(--t-hover) var(--ease); }
.section-head__link:hover svg { transform: translateX(3px); }
.page-title { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px; padding: 18px 0 20px; }
.page-title h1 { line-height: 1; }
.page-title__count { font-size: 15px; color: var(--muted); padding-bottom: 4px; }

/* --------------------------------------------------------------------------
   12. Home blocks: hero, trust strip, category tiles, club chips, band, info cards
   -------------------------------------------------------------------------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; padding: 40px 0; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; padding-right: 20px; }
.hero__copy .lead { max-width: 520px; }
.hero__cta { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.hero__art { position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 480; justify-self: end; }
.hero__art .rink { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 28px; }
.hero__jersey { position: absolute; will-change: transform; }
.hero__jersey svg { width: 100%; height: auto; }
.hero__jersey--1 { left: 8.7%; top: 20%; width: 43%; transform: rotate(-8deg); }
.hero__jersey--2 { left: 50%; top: 14.5%; width: 43%; transform: rotate(7deg); }
.hero__jersey--3 { left: 29%; top: 27%; width: 50%; }
.hero__note { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--white); border-radius: var(--r-6); box-shadow: 0 8px 24px rgba(15, 30, 61, .12); font-size: 13px; white-space: nowrap; }
.hero__note i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.hero__note b { font-weight: 600; color: var(--navy); }
.hero__note span { color: var(--muted); }
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 28px 0; }
.trust__item { display: flex; align-items: center; gap: 16px; }
.trust__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ice); color: var(--red); flex-shrink: 0; }
.trust__text { display: flex; flex-direction: column; gap: 2px; }
.trust__title { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; font-weight: 600; line-height: 1.1; color: var(--navy); }
.trust__sub { font-size: 13px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); color: var(--navy); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; color: var(--navy); }
.tile__art { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: var(--r-8); background: var(--media); flex-shrink: 0; }
.tile__text { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; min-width: 0; }
.tile__title { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; font-weight: 600; line-height: 1.1; }
.tile__sub { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tile__chev { color: var(--soft); transition: transform var(--t-hover) var(--ease); }
.tile:hover .tile__chev { transform: translateX(4px); color: var(--red); }
.club-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; transition: border-color var(--t-hover) var(--ease), transform 160ms var(--ease), box-shadow var(--t-hover) var(--ease); }
.club-chip:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 30, 61, .08); color: var(--navy); }
.club-chip svg { color: var(--red); }
.band { background: var(--navy); border-radius: var(--r-12); overflow: hidden; color: var(--white); }
.band__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; padding: 56px 64px; }
.band__copy { display: flex; flex-direction: column; gap: 20px; }
.band__copy h2 { color: var(--white); }
.band__copy p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .75); max-width: 480px; }
.band__cta { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.band__art { position: relative; display: flex; align-items: center; justify-content: center; height: 320px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.band__art > svg, .band__art-jersey { transform: rotate(-6deg); }
.band__tag { position: absolute; padding: 8px 12px; border-radius: var(--r-4); font-size: 12px; font-weight: 600; }
.band__tag--white { right: 24px; top: 24px; background: var(--white); color: var(--navy); }
.band__tag--red { left: 24px; bottom: 24px; background: var(--red); color: var(--white); }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { display: flex; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); }
.info-card__icon { color: var(--red); flex-shrink: 0; }
.info-card__text { display: flex; flex-direction: column; gap: 6px; }
.info-card__title { font-size: 16px; font-weight: 600; color: var(--navy); }
.info-card__sub { font-size: 14px; line-height: 1.5; color: var(--muted); }
.ship-row { display: flex; gap: 14px; align-items: flex-start; }
.ship-row__icon { color: var(--red); flex-shrink: 0; margin-top: 1px; display: flex; }
.ship-row__title { font-size: 14px; font-weight: 600; color: var(--navy); }
.ship-row__sub { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. Catalogue: filters, toolbar, active chips, pagination, empty state
   -------------------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 64px; }
.filters { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); padding: 8px 20px 20px; }
.filter { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter__head { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 15px; font-weight: 600; color: var(--navy); text-align: left; }
.filter__head svg { color: var(--soft); transition: transform 240ms var(--ease); }
.filter__head[aria-expanded="false"] svg { transform: rotate(-90deg); }
.filter__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 280ms var(--ease); }
.filter__body > div { overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.filter__head[aria-expanded="false"] + .filter__body { grid-template-rows: 0fr; }
.filter__foot { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; }
.filter__reset { display: flex; align-items: center; justify-content: center; height: 40px; font-size: 14px; color: var(--muted); }
.filter__prices { display: flex; gap: 10px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toolbar__active { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar__right { display: flex; align-items: center; gap: 16px; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--r-4); overflow: hidden; }
.view-toggle button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--white); color: var(--muted); transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.view-toggle button.is-active { background: var(--navy); color: var(--white); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.pager__info { font-size: 14px; color: var(--muted); }
.pager__list { display: flex; align-items: center; gap: 6px; }
.pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: var(--r-4); background: var(--white); color: var(--navy); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.pager__btn:hover { border-color: var(--navy); }
.pager__btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pager__btn:disabled { opacity: .4; }
.pager__dots { padding: 0 6px; color: var(--soft); }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 24px; text-align: center; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r-8); }
.empty__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ice); color: var(--soft); }
.empty__title { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; font-weight: 600; color: var(--navy); }
.empty__text { font-size: 14px; color: var(--muted); max-width: 380px; }
.empty .btn { margin-top: 8px; }

/* --------------------------------------------------------------------------
   14. Product page: gallery, thumbs, spec rows, tabs
   -------------------------------------------------------------------------- */
.product { display: grid; grid-template-columns: 660px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 56px; }
.gallery { display: flex; gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: var(--r-6); background: var(--media); border: 2px solid transparent; transition: border-color var(--t-hover) var(--ease); }
.thumb:hover { border-color: var(--line-2); }
.thumb.is-active { border-color: var(--red); }
.gallery__main { position: relative; display: flex; align-items: center; justify-content: center; flex-grow: 1; height: 560px; border-radius: 10px; background: var(--media); border: 1px solid var(--line); overflow: hidden; }
.gallery__main .tag-badge { position: absolute; top: 16px; left: 16px; padding: 5px 9px; }
.gallery__fav { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--muted); display: flex; align-items: center; justify-content: center; transition: color var(--t-hover) var(--ease), transform 160ms var(--ease); }
.gallery__fav:hover { color: var(--red); }
.gallery__fav.is-on { color: var(--red); animation: fav-pop 320ms var(--ease); }
.gallery__art { display: flex; align-items: center; justify-content: center; }
.gallery__art.is-swapping { animation: art-in 320ms var(--ease); }
@keyframes art-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gallery__hint { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--white); border-radius: var(--r-4); font-size: 12px; color: var(--muted); }
.spec { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec__k { color: var(--muted); }
.spec__v { color: var(--ink); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--success); }
.stock--low { color: var(--warn); }
.stock--none { color: var(--soft); }
/* tabs */
.tabs { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); overflow: hidden; }
.tabs__list { position: relative; display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { position: relative; height: 56px; padding: 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color var(--t-hover) var(--ease); flex-shrink: 0; }
.tab:hover { color: var(--navy); }
.tab.is-active, .tab[aria-selected="true"] { color: var(--navy); }
.tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--red); transition: transform 300ms var(--ease), width 300ms var(--ease); transform-origin: left; }
.tabs__panels { padding: 28px 24px 32px; }
.tab-panel { animation: fade-up 320ms var(--ease); }
.tab-panel[hidden] { display: none; }
.tabs--plain { background: transparent; border: 0; border-radius: 0; }
.tabs--plain .tabs__list { padding: 0; }
.tabs--plain .tabs__panels { padding: 24px 0 0; }
/* accordion */
.acc { border-bottom: 1px solid var(--line); }
.acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--navy); text-align: left; }
.acc__btn svg { color: var(--soft); flex-shrink: 0; transition: transform 260ms var(--ease); }
.acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease); }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__content { padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--ink); }

/* --------------------------------------------------------------------------
   15. Cart page: rows, steps, summary
   -------------------------------------------------------------------------- */
.steps { display: flex; align-items: center; gap: 32px; padding-bottom: 28px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.step__n { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 700; background: var(--ice-2); color: var(--muted); transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.step.is-active, .step.is-done { font-weight: 600; color: var(--navy); }
.step.is-active .step__n { background: var(--red); color: var(--white); }
.step.is-done .step__n { background: var(--navy); color: var(--white); }
.steps__line { width: 48px; height: 1px; background: var(--line); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.cart-list { display: flex; flex-direction: column; padding: 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); }
.cart-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 132px 120px 40px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.cart-row.is-removing { opacity: 0; transform: translateX(16px); }
.cart-row__media { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: var(--r-6); background: var(--media); }
.cart-row__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-row__name { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.cart-row__opts { display: flex; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.cart-row__opts b { font-weight: 500; color: var(--ink); }
.cart-row__unit { font-size: 13px; color: var(--soft); }
.cart-row__sum { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy); text-align: right; }
.cart-row__remove { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--soft); border-radius: 50%; transition: color var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease); }
.cart-row__remove:hover { color: var(--red); background: var(--ice); }
.cart-list__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; flex-wrap: wrap; }
.summary { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-8); position: sticky; top: calc(var(--hdr-main-compact) + var(--hdr-nav) + 24px); }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.sum-row span:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.sum-row--total { font-size: 18px; color: var(--navy); }
.sum-row--total span:first-child { font-weight: 600; }
.sum-row--total span:last-child { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--navy); }
.sum-row--discount span:last-child { color: var(--success); }
.summary__legal { font-size: 12px; line-height: 1.5; color: var(--soft); }
.summary__trust { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.summary__trust span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.promo { display: flex; gap: 8px; }
.promo .input { height: 44px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-section { display: flex; flex-direction: column; gap: 12px; }
.form-section__title { font-size: 15px; font-weight: 600; color: var(--navy); }

/* --------------------------------------------------------------------------
   16. Cart drawer + backdrop
   -------------------------------------------------------------------------- */
.backdrop { position: fixed; inset: 0; z-index: var(--z-backdrop); background: rgba(15, 30, 61, .48); opacity: 0; visibility: hidden; transition: opacity var(--t-panel) var(--ease), visibility 0s linear var(--t-panel); backdrop-filter: blur(2px); }
.backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: var(--z-drawer);
  display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow-drawer);
  transform: translateX(104%); visibility: hidden;
  transition: transform var(--t-panel) var(--ease), visibility 0s linear var(--t-panel);
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer__title { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); text-transform: uppercase; font-size: 22px; font-weight: 600; color: var(--navy); }
.drawer__title small { font-family: var(--font-body); text-transform: none; font-size: 13px; font-weight: 400; color: var(--muted); }
.drawer__body { flex-grow: 1; overflow-y: auto; padding: 8px 24px; -webkit-overflow-scrolling: touch; }
.drawer__foot { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 24px 20px; border-top: 1px solid var(--line); background: var(--white); }
.drawer__foot .sum-row--total span:last-child { font-size: 26px; }
.drawer__hint { font-size: 12px; color: var(--soft); }
.drawer-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.drawer-item.is-removing { opacity: 0; transform: translateX(24px); }
.drawer-item.is-new { animation: fade-up 360ms var(--ease); }
.drawer-item__media { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--r-6); background: var(--media); }
.drawer-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.drawer-item__name { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-item__opts { font-size: 12px; color: var(--muted); }
.drawer-item__row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.drawer-item__sum { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy); }
.drawer-item__remove { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--soft); align-self: start; transition: color var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease); }
.drawer-item__remove:hover { color: var(--red); background: var(--ice); }
.drawer .empty { border: 0; background: transparent; padding: 48px 0; }

/* --------------------------------------------------------------------------
   17. Toast
   -------------------------------------------------------------------------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 10px; align-items: center; transform: translateX(-50%); width: min(480px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 12px 12px 16px; border-radius: var(--r-8);
  background: var(--navy); color: var(--white); box-shadow: var(--shadow-pop); font-size: 14px; pointer-events: auto;
  opacity: 0; transform: translateY(16px); transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast.is-out { opacity: 0; transform: translateY(8px); }
.toast__icon { display: flex; color: var(--red); flex-shrink: 0; }
.toast--success .toast__icon { color: #4CCB7E; }
.toast__msg { flex-grow: 1; line-height: 1.35; }
.toast__action { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: var(--r-4); background: rgba(255, 255, 255, .12); color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: background-color var(--t-hover) var(--ease); }
.toast__action:hover { background: var(--red); }
.toast__close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: rgba(255, 255, 255, .6); flex-shrink: 0; }
.toast__close:hover { color: var(--white); background: rgba(255, 255, 255, .1); }

/* --------------------------------------------------------------------------
   18. Modal (size table etc.)
   -------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 280ms var(--ease), visibility 0s linear 280ms; }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 30, 61, .52); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-12); box-shadow: var(--shadow-pop); transform: translateY(16px) scale(.98); transition: transform 320ms var(--ease); overflow: hidden; }
.modal.is-open .modal__dialog { transform: none; }
.modal__dialog--sm { width: min(480px, 100%); }
.modal__dialog--lg { width: min(960px, 100%); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 16px 16px 28px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.modal__title { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1; }
.modal__body { padding: 24px 28px 28px; overflow-y: auto; }
.modal__foot { padding: 0 28px 24px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.size-table { width: 100%; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table th { font-family: var(--font-display); text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--soft); background: var(--ice); }
.size-table td:first-child { font-weight: 600; color: var(--navy); }
.size-table tr:hover td { background: var(--ice); }
.size-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-6); }
.size-table__note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.table-wrap { overflow-x: auto; }

/* --------------------------------------------------------------------------
   19. Skeleton shimmer
   -------------------------------------------------------------------------- */
.skeleton { position: relative; overflow: hidden; background: var(--ice-2); border-radius: var(--r-4); color: transparent !important; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.skeleton--text { height: 14px; width: 100%; }
.skeleton--title { height: 22px; width: 60%; }
.skeleton--media { height: 236px; border-radius: var(--r-6) var(--r-6) 0 0; }
.skeleton--btn { height: 40px; }
.skeleton-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-6); overflow: hidden; padding-bottom: 16px; }
.skeleton-card > .skeleton:not(.skeleton--media) { margin: 0 16px; }

/* --------------------------------------------------------------------------
   20. Misc: notices, counters, tables, lists with icons
   -------------------------------------------------------------------------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-6); background: var(--ice); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.notice svg { color: var(--red); flex-shrink: 0; margin-top: 1px; }
.notice--success { background: #EAF6EE; border-color: #CBE8D5; }
.notice--success svg { color: var(--success); }
.icon-list { display: flex; flex-direction: column; gap: 12px; }
.icon-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.icon-list svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 4px; color: var(--soft); font-size: 13px; }
.rating svg { color: #E2B93B; }
.rating--empty svg { color: var(--line-2); }

/* --------------------------------------------------------------------------
   21. Motion: reveal system, page load, page transitions
   -------------------------------------------------------------------------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-16px); }
.reveal--scale { transform: scale(.96); }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
main#main { animation: fade-up 520ms var(--ease) both; }
body.is-leaving main#main { opacity: 0; transition: opacity 180ms var(--ease); animation: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 200ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 300ms var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.hdr-wrap { view-transition-name: site-header; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
.fade-in { animation: fade-in 260ms var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } }
.count-up { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   22. Focus, reduced motion, print
   -------------------------------------------------------------------------- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.btn:focus-visible, .chip:focus-visible, .size-pill:focus-visible, .input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline-offset: 3px; }
.ftr :focus-visible, .band :focus-visible, .hdr__top :focus-visible, .toast :focus-visible, .drawer :focus-visible { outline-color: var(--white); }
.drawer :focus-visible { outline-color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  main#main { animation: none; }
  .card:hover, .tile:hover { transform: none; }
  .skeleton::after { animation: none; }
  @view-transition { navigation: none; }
}
@media print {
  .hdr-wrap, .ftr, .drawer, .backdrop, .toasts, .modal, .sheet, .card__actions, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  main#main { animation: none; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  a { color: inherit; }
  .card, .panel, .tile { box-shadow: none !important; break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   23. Responsive: tablet (≤1024)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  :root { --gutter: 40px; }
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
  .gallery__main { height: 480px; }
  .h-hero { font-size: 56px; }
  .catalog { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
  .cards--4, .grid--4 { --cols: 3; }
  .band__grid { padding: 48px; }
}
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .hdr { display: none; }
  .mhdr { display: flex; }
  .desktop-only { display: none !important; }
  .mobile-only { display: initial; }
  .section { padding-top: 48px; }
  .section--last { padding-bottom: 56px; }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .h-hero { font-size: 52px; }
  .h-band { font-size: 38px; }
  .h-product { font-size: 30px; }
  .lead { font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .hero__copy { padding-right: 0; }
  .hero__art { justify-self: stretch; max-width: none; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; padding: 20px 0; }
  .trust__title { font-size: 17px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tile { padding: 16px 18px; gap: 14px; }
  .tile__art { width: 80px; height: 80px; }
  .tile__title { font-size: 18px; }
  .cards, .cards--4, .cards--3, .grid--4, .grid--3 { --cols: 3; }
  .cards--list .card__media { width: 180px; height: 170px; }
  .band__grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .band__art { height: 260px; }
  .info-cards, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-cards { display: grid; }
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filters { display: none; }
  .filters.is-open { display: flex; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .gallery { flex-direction: column-reverse; }
  .thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 2px; }
  .gallery__main { height: 440px; }
  .spec { grid-template-columns: 180px minmax(0, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-row { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; }
  .cart-row__media { width: 80px; height: 80px; }
  .cart-row__sum { grid-column: 2; text-align: left; }
  .cart-row .qty { grid-column: 2; }
  .cart-row__remove { grid-column: 3; grid-row: 1; }
  .cart-row__sum, .cart-row .qty { grid-row: auto; }
  .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 40px 0 32px; }
  .ftr__about { grid-column: span 3; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .modal { padding: 16px; }
  .modal__dialog { max-height: calc(100vh - 32px); }
  .modal__head { padding: 16px 12px 12px 20px; }
  .modal__body { padding: 20px; }
  .modal__title { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   24. Responsive: mobile (≤640)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }
  .section { padding-top: 32px; }
  .section--last { padding-bottom: 40px; }
  .section--white { padding: 24px 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .h-hero { font-size: 42px; }
  .h-band { font-size: 32px; }
  .h-product { font-size: 26px; }
  .h-sub { font-size: 22px; }
  .lead { font-size: 15px; }
  .eyebrow { font-size: 12px; }
  .eyebrow::before { width: 20px; }
  .section-head { margin-bottom: 14px; }
  .section-head__link { font-size: 13px; }
  .section-head__link svg { display: none; }
  .page-title { padding: 14px 0 16px; }
  .page-title__count { font-size: 13px; }
  .crumbs { padding-top: 14px; font-size: 12px; }
  .hero__grid { gap: 18px; padding: 24px 0; }
  .hero__copy { gap: 18px; }
  .hero__art { aspect-ratio: 358 / 250; }
  .hero__art .rink { border-radius: 14px; }
  .hero__note { display: none; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; height: 50px; }
  .trust__grid { gap: 14px; }
  .trust__icon { width: 36px; height: 36px; }
  .trust__icon svg { width: 18px; height: 18px; }
  .trust__title { font-family: var(--font-body); text-transform: none; font-size: 13px; font-weight: 600; line-height: 1.25; }
  .trust__sub { display: none; }
  .tiles { gap: 10px; }
  .tile { flex-direction: row-reverse; padding: 12px 14px; gap: 8px; }
  .tile__art { width: 56px; height: 56px; border-radius: var(--r-6); }
  .tile__art svg { width: 48px; height: 48px; }
  .tile__title { font-size: 16px; }
  .tile__sub, .tile__chev { display: none; }
  .cards, .cards--4, .cards--3, .cards--2, .grid, .grid--4, .grid--3, .grid--2 { --cols: 2; gap: 10px; }
  .card__media { height: 150px; }
  .card__media .card__art svg { width: 112px; height: 112px; }
  .card__body { padding: 10px 12px 12px; gap: 5px; }
  .card__cat { display: none; }
  .card__name { font-size: 13px; min-height: 34px; }
  .card__price { font-size: 18px; }
  .card__old { font-size: 12px; }
  .card__meta { display: none; }
  .card__actions .btn { height: 36px; font-size: 13px; padding: 0 10px; }
  .card__actions .btn svg { display: none; }
  .card__badge { top: 8px; left: 8px; padding: 3px 6px; font-size: 11px; }
  .card__fav { top: 6px; right: 6px; width: 28px; height: 28px; }
  .cards--list .card { flex-direction: column; }
  .cards--list .card__media { width: 100%; height: 150px; border-radius: var(--r-6) var(--r-6) 0 0; }
  .club-chip { height: 40px; padding: 0 14px; font-size: 13px; }
  .band { border-radius: var(--r-12); }
  .band__grid { padding: 24px 20px; gap: 16px; }
  .band__copy p { font-size: 14px; }
  .band__cta { flex-direction: column; }
  .band__cta .btn { width: 100%; }
  .band__art { height: 220px; background: transparent; }
  .band__art > svg, .band__art-jersey { transform: none; }
  .band__art > svg { width: 170px; height: 170px; }
  .band__tag { display: none; }
  .info-cards { grid-template-columns: 1fr; gap: 12px; }
  .info-card { padding: 18px; gap: 14px; }
  .toolbar { gap: 10px; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .pager { justify-content: center; }
  .pager__info { width: 100%; text-align: center; }
  .gallery__main { height: 340px; }
  .gallery__main > .gallery__art svg { width: 280px; height: 280px; }
  .gallery__hint { display: none; }
  .thumb { width: 64px; height: 64px; }
  .thumb svg { width: 48px; height: 48px; }
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .tabs__list { padding: 0 8px; }
  .tab { height: 48px; padding: 0 12px; font-size: 14px; }
  .tabs__panels { padding: 20px 16px 24px; }
  .prose { font-size: 14px; }
  .steps { gap: 10px; padding-bottom: 20px; }
  .steps__line { width: 20px; }
  .step span:last-child { font-size: 13px; }
  .cart-list { padding: 0 14px; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; }
  .cart-row__media { width: 64px; height: 64px; }
  .cart-row__media svg { width: 56px; height: 56px; }
  .cart-row__name { font-size: 14px; }
  .cart-row__sum { font-size: 18px; }
  .summary { padding: 18px 16px; }
  .qty { height: 44px; }
  .qty__btn { width: 40px; }
  .size-pill { min-width: 44px; height: 40px; }
  .swatch--lg { width: 32px; height: 32px; }
  .drawer { width: 100vw; }
  .drawer__head { padding-left: 16px; }
  .drawer__body { padding: 4px 16px; }
  .drawer__foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
  .drawer-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
  .drawer-item__media { width: 64px; height: 64px; }
  .drawer-item__media svg { width: 52px; height: 52px; }
  .toasts { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .toast { font-size: 13px; padding: 10px 8px 10px 14px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 24px; }
  .ftr__about { grid-column: span 1; }
  .ftr__col--catalog, .ftr__col--buyers, .ftr__col--company { display: none; }
  .ftr__mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
  .ftr__mobile-links a { color: rgba(255, 255, 255, .75); }
  .ftr__bottom .container { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; padding: 10px 16px; min-height: 0; }
  .ftr__bottom .ftr__pay { display: none; }
  .empty { padding: 36px 16px; }
  .empty__title { font-size: 20px; }
  .stat__num { font-size: 36px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog { width: 100%; max-height: 92vh; border-radius: var(--r-12) var(--r-12) 0 0; transform: translateY(24px); }
  .mega__grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .h-hero { font-size: 38px; }
  .card__actions .btn { font-size: 12px; letter-spacing: .04em; }
}
