/* ============ Nordly — дизайн-система ============ */
:root {
  --bg: #F3F6F8;
  --surface: #FFFFFF;
  --night: #13202B;
  --night-2: #1C2D3B;
  --slate: #5C6B77;
  --mist: #8A98A3;
  --line: #DFE6EB;
  --frost: #A9CFE3;
  --frost-soft: #DCEBF3;
  --frost-deep: #3E7FA6;
  --signal: #F2C230;
  --signal-hover: #E5B21A;
  --danger: #B3261E;
  --ok: #2E7D4F;

  --r-xs: 6px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 1px 2px rgba(19, 32, 43, .06), 0 8px 24px rgba(19, 32, 43, .08);
  --shadow-lg: 0 24px 64px rgba(19, 32, 43, .22);

  --display: "Unbounded", system-ui, sans-serif;
  --wordmark: "Montserrat", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gut: 16px;
  --top-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gut: 32px; --top-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--night); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(28px, 3.6vw, 44px); }
h2 { font-size: clamp(21px, 2.2vw, 30px); }
p { margin: 0 0 1em; }
.muted { color: var(--slate); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); padding: 8px 12px; z-index: 100; border-radius: var(--r-xs); }
.skip:focus { left: 8px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-s); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--main { background: var(--signal); color: var(--night); }
.btn--main:hover { background: var(--signal-hover); }
.btn--line { border-color: var(--line); background: var(--surface); }
.btn--line:hover { border-color: var(--night); }
.btn--light { background: var(--surface); color: var(--night); }
.btn--light:hover { background: var(--frost-soft); }
.btn--lg { min-height: 56px; font-size: 16px; padding: 0 30px; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; flex: none; transition: background .15s; }
.iconbtn:hover { background: rgba(127, 150, 168, .16); }
.iconbtn--line { border: 1.5px solid var(--line); background: var(--surface); width: 40px; height: 40px; }
.iconbtn--line:hover { border-color: var(--night); background: var(--surface); }
.iconbtn--line:disabled { opacity: .35; cursor: default; border-color: var(--line); }

/* ---------- шапка ---------- */
.bar { margin: 0; background: var(--frost); color: var(--night); font-size: 13px; font-weight: 500; text-align: center; padding: 7px var(--gut); }
.top { position: sticky; top: 0; z-index: 40; background: var(--night); color: #fff; }
.top__in { display: flex; align-items: center; gap: 28px; height: var(--top-h); }
.top__burger { display: none; margin-left: -10px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 500 18px/1 var(--wordmark); letter-spacing: .28em; text-transform: uppercase; color: #fff; }
.logo span { margin-right: -.28em; }
.logo svg { color: var(--frost); }
.logo--dark { color: var(--night); }
.logo--dark svg { color: var(--frost-deep); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__dropbtn { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: #D5E1E9; background: none; border: 0; transition: background .15s, color .15s; }
.nav > a:hover, .nav__dropbtn:hover, .nav__dropbtn[aria-expanded=true] { background: var(--night-2); color: #fff; }
.nav > a[aria-current=page] { color: #fff; box-shadow: inset 0 -2px 0 var(--frost); border-radius: 0; }
.nav__drop { position: relative; }
.nav__dropbtn::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); margin: 0 0 3px 9px; }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; width: min(640px, 80vw); background: var(--surface); color: var(--night); border-radius: var(--r-m); box-shadow: var(--shadow-lg); padding: 20px; }
.mega ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.mega li { break-inside: avoid; }
.mega li a { display: block; padding: 7px 10px; border-radius: var(--r-xs); text-decoration: none; font-size: 15px; }
.mega li a:hover { background: var(--bg); }
.mega__all { display: inline-block; margin: 12px 10px 0; font-weight: 600; }
.top__act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--night-2); font: 600 12px/1 Onest, system-ui, sans-serif; letter-spacing: .04em; }
.lang a { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; color: #9FB2C0; text-decoration: none; transition: background .15s, color .15s; }
.lang a:hover { color: #fff; }
.lang a[aria-current] { background: #fff; color: var(--night); }
@media (max-width: 960px) { .lang { padding: 2px; } .lang a { min-width: 28px; height: 28px; padding: 0 5px; font-size: 11px; } }
@media (max-width: 380px) { .top__in { gap: 4px; } .top__act { gap: 2px; } .logo span { letter-spacing: .2em; } }
.searchbtn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; min-width: 230px; border-radius: 999px; border: 0; background: var(--night-2); color: #9FB2C0; font-size: 15px; transition: background .15s; }
.searchbtn:hover { background: #253a4b; color: #fff; }
.top__phone { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.cartbtn { position: relative; }
.cartbtn__n { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--signal); color: var(--night); font: 700 11px/19px var(--body); text-align: center; }
.cartbtn.is-bump .cartbtn__n { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav > a, .nav__dropbtn { white-space: nowrap; }
@media (max-width: 1360px) { .top__phone { display: none; } .searchbtn { min-width: 0; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .top__burger { display: inline-grid; }
  .top__in { gap: 8px; }
  .searchbtn { width: 44px; padding: 0; justify-content: center; background: transparent; color: #fff; }
  .searchbtn span { display: none; }
}

/* ---------- шторки (dialog) ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: var(--night); }
dialog::backdrop { background: rgba(10, 18, 25, .55); }
.sheet { position: fixed; inset: 0 auto 0 auto; height: 100dvh; width: min(440px, 100vw); margin: 0; background: var(--surface); display: none; flex-direction: column; }
.sheet[open] { display: flex; }
.sheet--right { right: 0; left: auto; animation: inR .32s var(--ease); }
.sheet--left { left: 0; right: auto; width: min(360px, 88vw); animation: inL .32s var(--ease); }
@keyframes inR { from { transform: translateX(100%); } }
@keyframes inL { from { transform: translateX(-100%); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.sheet__title { margin: 0; font: 700 19px var(--display); }
.sheet__title span { color: var(--mist); font-weight: 600; }
.sheet__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.sheet__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sheet__note { margin: 0; text-align: center; color: var(--slate); font-size: 13px; }
.sum { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: 15px; }
.sum span:last-child { color: var(--slate); text-align: right; }
.sum b { font: 700 20px var(--display); }
.sum--big { padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.sum--big b { font-size: 24px; }

.mnav { display: grid; padding: 8px 8px; overflow-y: auto; flex: 1; }
.mnav > a, .mnav summary { display: block; padding: 14px 12px; font-size: 18px; font-weight: 600; text-decoration: none; border-radius: var(--r-s); cursor: pointer; }
.mnav > a:hover, .mnav summary:hover { background: var(--bg); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; }
.mnav summary::after { content: "+"; color: var(--mist); }
.mnav details[open] summary::after { content: "−"; }
.mnav ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; }
.mnav ul a { display: block; padding: 8px 12px; text-decoration: none; color: var(--slate); }
.mnav__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.mnav__foot a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }

/* мини-кошик */
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini li:last-child { border-bottom: 0; }
.mini img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--r-s); background: var(--bg); }
.mini__name { font-weight: 500; line-height: 1.3; text-decoration: none; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__meta { color: var(--slate); font-size: 13px; margin: 3px 0 8px; }
.mini__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini__row b { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 100%; border: 0; background: none; font-size: 17px; line-height: 1; color: var(--slate); }
.qty button:hover { color: var(--night); }
.qty span { min-width: 18px; text-align: center; font-weight: 600; font-size: 14px; }
.rm { border: 0; background: none; padding: 0; color: var(--mist); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.rm:hover { color: var(--danger); }
.mini-empty { text-align: center; padding: 48px 8px; }
.mini-empty p:first-child { font: 700 18px var(--display); margin-bottom: 6px; }
.mini-empty .btn { margin-top: 12px; }
.mini-added { margin: 12px 0 4px; padding: 10px 14px; border-radius: var(--r-s); background: #E5F3EA; color: var(--ok); font-weight: 600; font-size: 14px; }

/* пошук */
.search { position: fixed; inset: 0 0 auto 0; width: 100%; margin: 0; background: var(--surface); max-height: 85dvh; display: none; flex-direction: column; border-radius: 0 0 var(--r-l) var(--r-l); animation: inT .28s var(--ease); }
.search[open] { display: flex; }
@keyframes inT { from { transform: translateY(-24px); opacity: 0; } }
.search__bar { display: flex; align-items: center; gap: 12px; max-width: 880px; width: 100%; margin: 0 auto; padding: 14px var(--gut); border-bottom: 1px solid var(--line); }
.search__bar > svg { color: var(--mist); flex: none; }
.search__bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 19px; padding: 10px 0; background: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__body { overflow-y: auto; max-width: 880px; width: 100%; margin: 0 auto; padding: 16px var(--gut) 24px; }
.search__label { color: var(--slate); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.search__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; }
.tag:hover { border-color: var(--night); }
.search__res { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.search__res a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r-s); text-decoration: none; }
.search__res a:hover, .search__res a.is-on { background: var(--bg); }
.search__res img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-xs); }
.search__res b { font-weight: 700; white-space: nowrap; }
.search__res mark { background: var(--frost-soft); color: inherit; border-radius: 3px; }
.search__none { color: var(--slate); }
.search__all { display: inline-block; margin-top: 12px; font-weight: 600; }

/* ---------- hero ---------- */
.hero { background: var(--night); color: #fff; padding: 48px 0 72px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; background: radial-gradient(closest-side, rgba(169, 207, 227, .22), transparent); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero__in { grid-template-columns: 1.05fr 1fr; gap: 64px; } .hero { padding: 72px 0 96px; } }
.hero__h { font-size: clamp(40px, 6.2vw, 84px); line-height: .98; letter-spacing: -0.035em; margin-bottom: 24px; max-width: 13ch; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: #C3D2DC; max-width: 38ch; margin-bottom: 32px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; color: #9FB2C0; font-size: 14px; }
.hero__facts b { display: block; color: #fff; font: 700 22px var(--display); margin-bottom: 2px; }
.hero__media { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; width: 100%; justify-self: center; }
.hero__photo { position: absolute; display: block; border-radius: var(--r-l); overflow: hidden; background: var(--night-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero__photo:hover img { transform: scale(1.03); }
.hero__photo--a { inset: 0 0 12% 16%; }
.hero__photo--b { left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border: 6px solid var(--night); border-radius: calc(var(--r-l) + 6px); background: #fff; }
.hero__chip { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: var(--r-m); background: rgba(255, 255, 255, .94); color: var(--night); text-decoration: none; box-shadow: var(--shadow); }
.hero__chip > span:last-child { font: 700 18px var(--display); }

/* ---------- секции ---------- */
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; margin-right: auto; }
.more { font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid var(--frost-deep); white-space: nowrap; }
.more:hover { color: var(--frost-deep); }

.scale-sec { padding: 64px 0 24px; }
.scale { display: grid; gap: 16px; }
@media (min-width: 820px) { .scale { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.scale__item { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; padding: 22px; border-radius: var(--r-l); background: var(--surface); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; overflow: hidden; }
.scale__item:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(19,32,43,.06), 0 20px 40px rgba(19,32,43,.12); }
.scale__photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: -10px -10px 18px; }
.scale__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-s); }
.scale__photos img:first-child { border-top-left-radius: calc(var(--r-l) - 10px); }
.scale__photos img:last-child { border-top-right-radius: calc(var(--r-l) - 10px); }
.scale__deg { font: 700 clamp(48px, 5vw, 68px)/.9 var(--display); letter-spacing: -0.05em; }
.scale__n { align-self: end; justify-self: end; font-size: 14px; color: var(--slate); padding-bottom: 6px; }
.scale__bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--frost-soft); overflow: hidden; margin: 10px 0 6px; }
.scale__bar i { display: block; height: 100%; width: var(--fill); background: linear-gradient(90deg, var(--frost), var(--frost-deep)); border-radius: inherit; }
.scale__txt { grid-column: 1 / -1; font-weight: 500; }

.rail { margin: 64px 0; }
.rail__nav { display: flex; gap: 8px; }
@media (max-width: 720px) { .rail__nav { display: none; } }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
@media (max-width: 1080px) { .rail__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 720px) { .rail__track { grid-auto-columns: 46%; gap: 12px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); } }

.models-sec { margin: 64px 0; }
.models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.models a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: var(--r-m); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.25; border: 1.5px solid transparent; transition: border-color .15s; }
.models a:hover { border-color: var(--night); }
.models img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-s); }
.models em { font-style: normal; color: var(--mist); font-size: 13px; font-weight: 500; }
.models--page { margin-top: 24px; }

.how { margin: 72px 0; padding: clamp(28px, 4vw, 48px); background: var(--night); color: #fff; border-radius: var(--r-l); }
.how h2 { margin-bottom: 32px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 24px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.steps li { counter-increment: s; padding-top: 18px; border-top: 1.5px solid #34495A; }
.steps li::before { content: counter(s); display: block; font: 700 32px/1 var(--display); color: var(--frost); margin-bottom: 14px; }
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { color: #A9BAC6; font-size: 15px; }

.faq { margin: 72px 0 88px; display: grid; gap: 24px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 2fr; gap: 48px; } }

/* ---------- аккордеон ---------- */
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--slate); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.acc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.acc .rich { padding-bottom: 18px; }
.acc--faq details { border-color: var(--line); }
.acc--faq summary { font-size: 17px; padding: 22px 0; }
.rich { max-width: 68ch; color: #2B3B48; }
.rich ul { padding-left: 20px; }
.rich li { margin-bottom: 4px; }
.rich p:last-child { margin-bottom: 0; }

/* ---------- картка товару ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
.card__link { display: flex; flex-direction: column; gap: 12px; height: 100%; text-decoration: none; }
.card__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--surface); }
.card__img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.card__alt { position: absolute; inset: 0; opacity: 0; }
.card[data-kind=sneakers] .card__img { aspect-ratio: 1; }
@media (hover: hover) {
  .card__link:hover .card__img > img:first-child { transform: scale(1.04); }
  .card__link:hover .card__alt { opacity: 1; }
  .card__link:hover .card__sizes { opacity: 1; transform: none; }
}
.card__sizes { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 12px; border-radius: var(--r-s); background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.card__sizes i { width: 3px; height: 3px; border-radius: 50%; background: var(--mist); }
@media (hover: none) { .card__sizes { display: none; } }
.card__body { display: grid; gap: 4px; padding: 0 2px; }
.card__brand { font-size: 13px; color: var(--slate); font-weight: 500; }
.card__name { font-weight: 500; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { font-weight: 700; font-size: 17px; margin-top: 2px; }
.card__price s, .pp__price s { color: var(--mist); font-weight: 500; font-size: .8em; margin-left: 6px; }
.badge { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; }
.card[hidden] { display: none; }

/* температура */
.temp { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--body); color: var(--night); white-space: nowrap; }
.temp i { width: 30px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--frost-deep) var(--fill), var(--frost-soft) var(--fill)); }
.temp--on { position: absolute; left: 10px; top: 10px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); }
.temp--lg { left: 16px; top: 16px; font-size: 14px; padding: 9px 14px; }
.temp--lg i { width: 40px; }

/* ---------- каталог ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; padding: 20px 0 0; margin: 0; font-size: 13px; color: var(--slate); }
.crumbs li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border: solid var(--mist); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin: 0 10px 1px 7px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.lhead { margin: 20px 0 28px; max-width: 72ch; }
.lhead h1 { margin-bottom: 10px; }
.lhead p { color: var(--slate); margin: 0; font-size: 17px; }

.listing { display: grid; gap: 32px; padding-bottom: 80px; }
@media (min-width: 1000px) { .listing { grid-template-columns: 264px minmax(0, 1fr); gap: 40px; align-items: start; } }

.fpanel { background: var(--surface); border-radius: var(--r-m); }
@media (min-width: 1000px) { .fpanel { position: sticky; top: calc(var(--top-h) + 16px); max-height: calc(100dvh - var(--top-h) - 32px); overflow-y: auto; scrollbar-width: thin; } }
.fpanel__head, .fpanel__foot { display: none; }
.fpanel__body { padding: 6px 20px 20px; }
.fgroup { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fgroup legend { float: left; width: 100%; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.fgroup legend + * { clear: both; }
.tlist { display: grid; gap: 2px; }
.trow { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--r-s); cursor: pointer; font-size: 15px; position: relative; }
.trow:hover { background: var(--bg); }
.trow input { position: absolute; opacity: 0; }
.trow__bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--frost-deep) var(--fill), var(--frost-soft) var(--fill)); }
.trow__bar--any { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 9px); }
.trow em { font-style: normal; color: var(--mist); font-size: 13px; }
.trow:has(input:checked) { background: var(--frost-soft); font-weight: 600; }
.trow:has(input:focus-visible) { outline: 3px solid var(--frost-deep); }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.sbox { position: relative; }
.sbox input, .cbox input { position: absolute; opacity: 0; }
.sbox span { display: grid; place-items: center; height: 42px; border: 1.5px solid var(--line); border-radius: var(--r-xs); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .12s; }
.sbox span:hover { border-color: var(--night); }
.sbox input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.sbox input:focus-visible + span { outline: 3px solid var(--frost-deep); outline-offset: 1px; }
.blist { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.cbox { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: 15px; }
.cbox span { display: flex; align-items: center; gap: 12px; flex: 1; }
.cbox span::before { content: ""; flex: none; width: 20px; height: 20px; border: 1.5px solid #B6C3CC; border-radius: 5px; background: var(--surface) no-repeat center / 12px; transition: background-color .12s, border-color .12s; }
.cbox input:checked + span::before { background-color: var(--night); border-color: var(--night); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cbox input:focus-visible + span::before { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
.cbox em { font-style: normal; color: var(--mist); font-size: 13px; }
.cbox--switch { padding-top: 18px; font-weight: 600; }
.price2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.price2 input { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--r-xs); background: var(--surface); font-size: 14px; }
.price2 input:focus { border-color: var(--night); outline: 0; }
.price2 span { color: var(--mist); }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.toolbar__f { display: none; }
.toolbar__f b { min-width: 20px; height: 20px; border-radius: 10px; background: var(--night); color: #fff; font-size: 11px; line-height: 20px; padding: 0 5px; }
.toolbar__count { margin: 0 auto 0 0; color: var(--slate); font-size: 15px; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.toolbar__sort select { appearance: none; height: 40px; padding: 0 36px 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2313202B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; color: var(--night); font-weight: 500; font-size: 14px; cursor: pointer; }
.active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active:empty { display: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; border-radius: 999px; border: 0; background: var(--frost-soft); font-size: 14px; font-weight: 500; }
.pill::after { content: "×"; font-size: 18px; line-height: 1; color: var(--slate); width: 18px; }
.pill:hover { background: var(--frost); }
.pill--clear { background: none; text-decoration: underline; padding: 0 6px; }
.pill--clear::after { content: none; }
.empty { text-align: center; padding: 64px 16px; background: var(--surface); border-radius: var(--r-m); }
.empty__t { font: 700 20px var(--display); margin-bottom: 6px; }
.empty .btn { margin-top: 8px; }
.loadmore { display: grid; justify-items: center; gap: 12px; margin-top: 48px; color: var(--slate); font-size: 14px; }
.loadmore p { margin: 0; }
.loadmore__bar { width: 200px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loadmore__bar i { display: block; height: 100%; background: var(--night); width: 0; transition: width .3s; }
.loadmore .btn { min-width: 220px; }
.fshade { position: fixed; inset: 0; background: rgba(10, 18, 25, .55); z-index: 60; }

@media (max-width: 999px) {
  .toolbar__f { display: inline-flex; }
  .toolbar { position: sticky; top: var(--top-h); z-index: 30; background: var(--bg); margin: 0 calc(-1 * var(--gut)) 14px; padding: 10px var(--gut); }
  .toolbar__sort span { display: none; }
  .toolbar__count { font-size: 14px; }
  .fpanel { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; max-height: 88dvh; display: flex; flex-direction: column; border-radius: var(--r-l) var(--r-l) 0 0; transform: translateY(100%); visibility: hidden; transition: transform .32s var(--ease), visibility 0s .32s; }
  .fpanel.is-open { transform: none; visibility: visible; transition: transform .32s var(--ease); }
  .fpanel__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
  .fpanel__body { flex: 1; overflow-y: auto; }
  .fpanel__foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}

/* ---------- сторінка товару ---------- */
.pp { display: grid; gap: 28px; margin: 20px 0 32px; }
@media (min-width: 960px) { .pp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.gal { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 960px) { .gal { grid-template-columns: 76px minmax(0, 1fr); position: sticky; top: calc(var(--top-h) + 20px); } }
.gal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; order: 2; }
@media (min-width: 960px) { .gal__thumbs { order: 0; flex-direction: column; max-height: 640px; overflow-y: auto; } }
.gal__thumb { flex: none; width: 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: var(--r-s); overflow: hidden; background: var(--surface); opacity: .65; transition: opacity .15s, border-color .15s; }
.gal__thumb:hover { opacity: 1; }
.gal__thumb.is-on { border-color: var(--night); opacity: 1; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__stage { position: relative; min-width: 0; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-l); background: var(--surface); }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; }
.gal__slide img { width: 100%; height: 100%; object-fit: contain; }
.gal[data-kind=jacket] .gal__slide { aspect-ratio: 4 / 5; }
.gal[data-kind=jacket] .gal__slide img { object-fit: cover; }
@media (min-width: 960px) { .gal[data-kind=jacket] .gal__stage { max-width: 600px; } }
.gal__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.gal__arrow--l { left: 14px; }
.gal__arrow--r { right: 14px; }
.gal__stage:hover .gal__arrow, .gal__arrow:focus-visible { opacity: 1; }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(19, 32, 43, .25); transition: width .2s, background .2s; }
.gal__dots i.is-on { width: 18px; background: var(--night); }
@media (min-width: 960px) { .gal__dots { display: none; } }
@media (hover: none) { .gal__arrow { display: none; } }

.pp__info { min-width: 0; }
.pp__brand { display: inline-block; color: var(--frost-deep); font-weight: 600; text-decoration: none; margin-bottom: 8px; }
.pp__brand:hover { text-decoration: underline; }
.pp__title { font-size: clamp(24px, 2.5vw, 34px); margin-bottom: 8px; }
.pp__sku { color: var(--mist); font-size: 13px; margin-bottom: 18px; }
.pp__price { font: 700 clamp(28px, 2.6vw, 34px)/1 var(--display); margin-bottom: 28px; letter-spacing: -0.02em; }
.sizes { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.sizes__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sizes legend { font-weight: 700; padding: 0; float: left; }
.sizes__help { font-size: 14px; color: var(--slate); }
.sizes__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; clear: both; }
.sz { position: relative; }
.sz input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.sz span { display: grid; place-items: center; height: 52px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--surface); font-weight: 600; transition: border-color .12s; }
.sz:hover span { border-color: var(--night); }
.sz input:checked + span { background: var(--night); color: #fff; border-color: var(--night); }
.sz input:focus-visible + span { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
.sz.is-out span { color: #A8B4BD; background: repeating-linear-gradient(135deg, transparent 0 6px, #EEF2F5 6px 7px); border-color: var(--line); }
.sz.is-out input { cursor: not-allowed; }
.sizes.is-err .sz span { border-color: var(--danger); }
.buy { display: grid; gap: 10px; }
.buy__err { color: var(--danger); margin: 10px 0 0; font-weight: 500; font-size: 14px; }
.trust { list-style: none; margin: 28px 0 8px; padding: 18px 20px; background: var(--surface); border-radius: var(--r-m); display: grid; gap: 14px; }
.trust li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-size: 14px; color: var(--slate); }
.trust svg { color: var(--frost-deep); }
.trust b { display: block; color: var(--night); font-size: 15px; font-weight: 600; }
.pp .acc { margin-top: 12px; }
.specs { margin: 0 0 18px; }
.specs div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--slate); }
.specs dd { margin: 0; font-weight: 500; }
.pp__prom { font-size: 13px; color: var(--mist); margin-top: 20px; }

.sticky-buy { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; background: var(--surface); box-shadow: 0 -8px 24px rgba(19, 32, 43, .12); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); animation: up .25s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
.sticky-buy__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.sticky-buy img { width: 48px; height: 48px; border-radius: var(--r-xs); object-fit: cover; }
.sticky-buy p { margin: 0; }
.sticky-buy__in > div { min-width: 0; }
.sticky-buy__name { font-size: 13px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-weight: 700; }
.sticky-buy .btn { min-width: 132px; }

.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; margin: 0; background: #0A1219; color: #fff; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: #0A1219; }
.lightbox img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.lightbox__x { position: absolute; right: 12px; top: 12px; color: #fff; background: rgba(255,255,255,.1); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--l { left: 16px; }
.lightbox__nav--r { right: 16px; }
.lightbox__n { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; font-size: 14px; color: #9FB2C0; }

/* ---------- текстові сторінки ---------- */
.text { max-width: 760px; padding: 24px 0 80px; }
.text h2 { margin-top: 1.8em; }
.text__lead { font-size: 18px; color: var(--slate); }
.tablewrap { overflow-x: auto; margin: 16px 0; border-radius: var(--r-m); background: var(--surface); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; color: var(--slate); font-size: 14px; background: var(--frost-soft); }

/* ---------- оформлення ---------- */
.co { padding-top: 28px; padding-bottom: 88px; }
.co__grid { display: grid; gap: 24px; }
@media (min-width: 980px) { .co__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.co__form { display: grid; gap: 16px; }
.co__sec { background: var(--surface); border-radius: var(--r-m); padding: clamp(20px, 3vw, 28px); }
.co__sec h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 20px; }
.co__sec h2 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: #fff; font-size: 14px; }
.f2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .f2 { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.fld + .fld, .opts + .fld { margin-top: 14px; }
.fld input, .fld textarea { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--surface); font-size: 16px; font-weight: 400; transition: border-color .12s; }
.fld textarea { height: auto; padding: 12px 14px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--night); }
.fld input[aria-invalid=true] { border-color: var(--danger); background: #FDF4F3; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: block; padding: 14px 16px 14px 48px; border: 1.5px solid var(--line); border-radius: var(--r-s); font-size: 14px; color: var(--slate); position: relative; transition: border-color .12s; }
.opt span::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #B6C3CC; background: var(--surface); }
.opt b { display: block; color: var(--night); font-size: 15px; margin-bottom: 2px; }
.opt input:checked + span { border-color: var(--night); background: #FAFCFD; }
.opt input:checked + span::before { border: 6px solid var(--night); }
.opt input:focus-visible + span { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
.co__err { margin: 0; padding: 12px 16px; border-radius: var(--r-s); background: #FDF0EF; color: var(--danger); font-weight: 500; }
.co__sum { background: var(--surface); border-radius: var(--r-m); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
@media (min-width: 980px) { .co__sum { position: sticky; top: calc(var(--top-h) + 20px); } }
.co__sum h2 { font-size: 19px; margin: 0; }
.co__list { list-style: none; margin: 0; padding: 0; }
.co__note { margin: 0; font-size: 13px; color: var(--mist); }
.co__empty, .co__done { background: var(--surface); border-radius: var(--r-m); padding: clamp(28px, 5vw, 56px); text-align: center; max-width: 720px; margin: 0 auto; }
.co__empty .btn { margin: 4px; }
.co__done h2 { margin-bottom: 12px; }
.co__done ul { text-align: left; display: inline-block; }
.co__done .btn { margin: 8px 0 20px; }
.co__ok { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #E5F3EA; color: var(--ok); display: grid; place-items: center; }

/* ---------- підвал ---------- */
.foot { background: var(--night); color: #A9BAC6; padding: 0 0 28px; font-size: 15px; }
.foot__cta { display: grid; gap: 4px; padding: 56px 0; border-bottom: 1px solid #2A3D4D; }
@media (min-width: 900px) { .foot__cta { grid-template-columns: 1fr auto; align-items: center; gap: 4px 40px; } .foot__btns { grid-row: 1 / 3; grid-column: 2; } }
.foot__big { font: 700 clamp(22px, 2.6vw, 32px)/1.15 var(--display); color: #fff; margin: 0 0 6px; }
.foot__cta > p:not(.foot__big) { margin: 0; }
.foot__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn--line.foot__btn, .foot .btn--line { background: transparent; border-color: #3A4F60; color: #fff; }
.foot .btn--line:hover { border-color: #fff; }
.foot__in { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding: 48px 0 40px; }
.foot__brand { display: flex; align-items: center; gap: 11px; font: 500 18px/1 var(--wordmark); letter-spacing: .28em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.foot__brand svg { color: var(--frost); }
.foot__about { max-width: 30ch; }
.foot__h { color: #fff; font-weight: 600; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot__in a:hover { color: #fff; text-decoration: underline; }
.foot__copy { margin: 0; font-size: 13px; color: #6F8392; }
body.is-product .foot { padding-bottom: 96px; }
@media (min-width: 960px) { body.is-product .foot { padding-bottom: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- главная: кросівки ---------- */
.hero__photo--white { background: #fff; }
.hero__photo--white img { object-fit: cover; }
.hero__chip-b { font-weight: 600; font-size: 13px; color: var(--slate); }
.sneak { padding: 64px 0 8px; }
.brands { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.brands::-webkit-scrollbar { display: none; }
.brands a { display: grid; gap: 2px; min-width: 150px; padding: 14px 18px; border-radius: var(--r-m); background: var(--surface); border: 1.5px solid transparent; text-decoration: none; transition: border-color .15s; }
.brands a:hover { border-color: var(--night); }
.brands b { font: 700 17px/1.2 var(--display); letter-spacing: -0.01em; }
.brands span { color: var(--slate); font-size: 13px; }
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .brands { margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); } .brands a { min-width: 128px; } }
.mega--small { width: 280px; }
.mega--small ul { columns: 1; }
.cats { margin: 64px 0; }
.cats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cats__list a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--surface); text-decoration: none; }
.cats__list img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cats__list a:hover img { transform: scale(1.04); }
.cats__name { position: absolute; left: 10px; right: 10px; bottom: 34px; padding: 6px 12px; border-radius: var(--r-s); background: var(--surface); font-weight: 700; font-size: 16px; width: max-content; max-width: calc(100% - 20px); }
.cats__n { position: absolute; left: 10px; bottom: 10px; padding: 2px 10px; border-radius: var(--r-xs); background: var(--night); color: #fff; font-size: 13px; }
@media (max-width: 720px) { .cats__list { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cats__name { font-size: 14px; } }
@media (max-width: 520px) { .hero__btns .btn { flex: 1 1 100%; } }

/* =================== головна-воронка =================== */
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

/* hero */
.hs { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 30%, #24435a 0%, rgba(36,67,90,0) 60%), radial-gradient(700px 500px at 10% 110%, #1d3a4e 0%, rgba(29,58,78,0) 70%), var(--night); padding: 40px 0 56px; }
.hs__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hs { padding: 64px 0 80px; } .hs__in { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.hs__h { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 22px; }
.hs__h .ln { display: block; }
.hs__lead { font-size: clamp(16px, 1.4vw, 19px); color: #C3D2DC; max-width: 40ch; margin-bottom: 30px; }
.hs__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hs__trust { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; color: #C3D2DC; font-size: 14px; }
.hs__trust li { display: flex; align-items: center; gap: 9px; }
.hs__trust svg { width: 20px; height: 20px; color: var(--frost); flex: none; }
.hs__stage { position: relative; width: 100%; max-width: 580px; justify-self: center; }
.hs__flake { position: absolute; width: 70%; right: -18%; top: -14%; color: rgba(169,207,227,.18); animation: spin 60s linear infinite; pointer-events: none; }
.hs__flake svg { width: 100%; height: auto; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hs__card { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px rgba(0,0,0,.35); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hs__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.hs__slide.is-on { opacity: 1; transform: none; }
.hs__slide img { width: 100%; height: 100%; object-fit: cover; }
.hs__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 74px; }
.hs__info { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: center; column-gap: 14px; padding: 12px 18px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--night); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.hs__info.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.hs__brand { font-size: 12px; font-weight: 600; color: var(--slate); }
.hs__name { grid-row: 2; font-weight: 700; font-size: 15px; line-height: 1.25; text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hs__price { grid-row: 1 / 3; grid-column: 2; font: 700 20px var(--display); white-space: nowrap; }
.hs__nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.hs__dot { position: relative; width: 56px; height: 56px; padding: 0; border: 2px solid rgba(255,255,255,.18); border-radius: 14px; overflow: hidden; background: #fff; opacity: .6; transition: opacity .2s, border-color .2s, transform .2s; }
.hs__dot:hover { opacity: 1; transform: translateY(-2px); }
.hs__dot.is-on { opacity: 1; border-color: var(--frost); }
.hs__dot img { width: 100%; height: 100%; object-fit: cover; }
.hs__dot i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--signal); }
.hs__dot.is-on i { animation: prog var(--slide-ms, 5000ms) linear forwards; }
.hs.is-paused .hs__dot.is-on i { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
@media (max-width: 520px) { .hs__dot { width: 44px; height: 44px; border-radius: 11px; } .hs__nav { gap: 8px; } .hs__price { font-size: 17px; } }

/* поява hero при завантаженні */
.hs__h .ln, .hs__lead, .hs__btns, .hs__trust { animation: rise .9s var(--ease) both; }
.hs__h .ln:nth-child(2) { animation-delay: .08s; }
.hs__h .ln:nth-child(3) { animation-delay: .16s; }
.hs__lead { animation-delay: .26s; } .hs__btns { animation-delay: .36s; } .hs__trust { animation-delay: .46s; }
.hs__stage { animation: pop 1.1s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(20px); } }

/* бігуча стрічка брендів */
.marq { overflow: hidden; background: var(--frost); color: var(--night); padding: 14px 0; }
.marq__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marq 38s linear infinite; }
.marq__track span { font: 500 15px/1 var(--wordmark); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.marq__track svg { width: 16px; height: 16px; color: var(--frost-deep); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* підбір */
.finder { padding: 72px 0 24px; }
.finder__head { max-width: 680px; margin-bottom: 26px; }
.finder__head p { color: var(--slate); font-size: 17px; margin: 0; }
.finder__box { display: grid; gap: 4px; background: var(--surface); border-radius: var(--r-l); padding: clamp(16px, 2.6vw, 28px); box-shadow: var(--shadow); }
.fstep { border: 0; margin: 0; padding: 14px 0; display: grid; gap: 12px; min-width: 0; }
.fstep + .fstep { border-top: 1px solid var(--line); }
.fstep legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; padding: 0; }
.fstep legend + * { clear: both; }
.fstep__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--night); color: #fff; font-size: 13px; transition: background .25s; }
.fstep.is-done .fstep__n { background: var(--frost-deep); }
.fstep__help { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--slate); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { position: relative; flex: none; }
.fchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fchip span { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.fchip:hover span { border-color: var(--night); }
.fchip input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.fchip input:checked + span em { color: #9FB2C0; }
.fchip input:active + span { transform: scale(.96); }
.fchip input:focus-visible + span { outline: 3px solid var(--frost-deep); outline-offset: 2px; }
.fchip em { font-style: normal; color: var(--mist); font-weight: 500; font-size: 12px; }
.fchips--size .fchip span { min-width: 52px; justify-content: center; padding: 0 10px; border-radius: var(--r-s); }
@media (max-width: 720px) { .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; } .fchips::-webkit-scrollbar { display: none; } }
.finder__res { margin-top: 30px; }
.finder__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.finder__count { margin: 0; font-size: 17px; color: var(--slate); }
.finder__count b { font: 700 26px var(--display); color: var(--night); margin: 0 4px; }
.finder__grid .card { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.finder__empty { padding: 36px; text-align: center; background: var(--surface); border-radius: var(--r-m); color: var(--slate); }
.finder__more { display: flex; justify-content: center; margin-top: 36px; }
.fcard__add { margin-top: 10px; width: 100%; }
.wtags { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 1; }
.wtags i { font-style: normal; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--night); }

/* хіт сезону */
.hit { padding: 64px 0; }
.hit__in { display: grid; gap: 28px; background: var(--surface); border-radius: 32px; padding: clamp(16px, 2.6vw, 36px); box-shadow: var(--shadow); }
@media (min-width: 960px) { .hit__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.hit .gal { position: static; }
.hit .gal__track { border-radius: var(--r-l); background: var(--bg); }
.hit .gal__slide { background: var(--bg); }
.gal__slide--hq img { object-fit: cover; }
.hit__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--frost-soft); color: var(--night); font-weight: 600; font-size: 13px; }
.hit__badge svg { width: 18px; height: 18px; color: var(--frost-deep); }
.hit__title { font-size: clamp(26px, 3vw, 40px); margin: 16px 0 6px; }
.hit__sub { color: var(--slate); margin-bottom: 16px; }
.hit__feat { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.hit__feat li { position: relative; padding-left: 26px; font-size: 15px; }
.hit__feat li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border: solid var(--frost-deep); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.hit__more { display: inline-block; margin-top: 18px; }

/* популярні */
.pop { padding: 24px 0 8px; }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); gap: 18px; } .bento__item--big { grid-column: span 2; grid-row: span 2; } }
.bento__item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: var(--surface); text-decoration: none; color: var(--night); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__cap { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); transition: transform .4s var(--ease); }
.bento__item:hover .bento__cap { transform: translateY(-4px); }
.bento__brand { font-size: 12px; color: var(--slate); font-weight: 600; }
.bento__name { grid-row: 2; font-weight: 700; font-size: 14px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bento__price { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 700 17px var(--display); white-space: nowrap; }
.bento__item--big .bento__name { font-size: 18px; }
.bento__item--big .bento__price { font-size: 22px; }
@media (max-width: 520px) { .bento__cap { grid-template-columns: 1fr; } .bento__price { grid-row: auto; grid-column: auto; font-size: 15px; } }

/* поява секцій під час прокрутки */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.card__link { transition: transform .35s var(--ease); }
@media (hover: hover) { .card__link:hover { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .hs__card, .hs__flake, .marq__track { animation: none !important; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}
.fcard { display: flex; flex-direction: column; }
.fcard .card__link { height: auto; flex: 1; }
@media (min-width: 960px) { .hit .gal__thumbs { max-height: none; } .hit .gal__thumb { width: 64px; height: 64px; } }
@media (max-width: 979px) { .hs { padding-top: 20px; } .hs__stage { order: -1; max-width: 360px; } .hs__in { gap: 28px; } .hs__flake { width: 60%; right: -10%; } }
@media (max-width: 520px) { .hs__btns .btn { flex: 1 1 auto; padding: 0 18px; } .hs__stage { max-width: 320px; } .hs__meta { left: 10px; right: 10px; bottom: 10px; height: 64px; } .hs__info { padding: 10px 14px; } }
.foot__copy a { margin-left: 18px; color: #8FA3B1; }
.foot__copy a:hover { color: #fff; }
.co__note a { color: inherit; }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 24px 0 8px; }
.contacts > div { background: var(--surface); border-radius: var(--r-m); padding: 18px 20px; }
.contacts p { margin: 0 0 4px; }
.contacts__h { font-weight: 700; }
.text ul { padding-left: 20px; }
.text li { margin-bottom: 6px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co__done-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@media (max-width: 520px) { .co__done-btns .btn { flex: 1 1 100%; } }

/* підбірки (посадкові сторінки) і SEO-блок під каталогом */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.quick a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s; }
.quick a:hover { border-color: var(--night); }
.quick a[aria-current] { background: var(--night); border-color: var(--night); color: #fff; }
.quick--pp { margin: 18px 0 0; align-items: center; }
.quick--pp span { font-size: 14px; color: var(--slate); margin-right: 2px; }
.quick--pp a { padding: 6px 12px; font-size: 13px; }
.seo { max-width: 78ch; margin: 56px 0 24px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--slate); }
.seo h2 { color: var(--ink, inherit); font-size: 22px; margin: 0 0 12px; }
.seo p { margin: 0 0 12px; line-height: 1.65; }
.seo__faq { margin-top: 20px; display: grid; gap: 8px; }
.seo__faq details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; background: var(--surface); }
.seo__faq summary { cursor: pointer; font-weight: 600; color: var(--ink, inherit); }
.seo__faq details p { margin: 10px 0 0; }
@media (max-width: 640px) { .quick { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; } .quick a { flex: none; } .quick--pp { flex-wrap: wrap; overflow: visible; margin-right: 0; } }

/* відгуки з Prom.ua */
.stars { --r: 100%; position: relative; display: inline-block; width: 86px; height: 16px; background: linear-gradient(90deg, #F5B301 var(--r), #D6DEE5 var(--r)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 22'%3E%3Cpath d='M12 0l3.1 7 7.6.7-5.8 5 1.8 7.4L12 16.3 5.3 20.1 7.1 12.7 1.3 7.7 8.9 7z'/%3E%3C/svg%3E") 0 0/17.2px 16px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 22'%3E%3Cpath d='M12 0l3.1 7 7.6.7-5.8 5 1.8 7.4L12 16.3 5.3 20.1 7.1 12.7 1.3 7.7 8.9 7z'/%3E%3C/svg%3E") 0 0/17.2px 16px repeat-x; vertical-align: -2px; }
.revs { margin: 64px 0; }
.revs__sum { display: flex; align-items: center; gap: 10px; margin: -6px 0 20px; color: var(--slate); }
.revs__sum b { font-size: 22px; color: var(--night); }
.revs__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rev { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.rev__top { display: flex; align-items: center; gap: 8px; }
.rev__word { font-weight: 600; font-size: 14px; }
.rev__text { margin: 0; font-size: 15px; }
.rev__who { margin: auto 0 0; font-size: 13px; color: var(--slate); }
.pp__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--slate); text-decoration: none; }
.pp__rating:hover { color: var(--night); }
.pp__rating b { color: var(--night); }

/* довгі каталоги: браузер не малює картки за межами екрана, поки до них не прокрутили */
.grid .card { content-visibility: auto; contain-intrinsic-size: auto 420px; }
