/* ==========================================================================
   glider.in.ua — дизайн-система
   Кремовий фон, темно-синій текст, одна зелена CTA, пастельні плитки під колір велосипеда.
   Шрифти: Scada (заголовки) + Onest (текст). Кути 6/10 px, без тіней-«світіння» й градієнтів-плям.
   ========================================================================== */
:root {
  --bg: #fbf8f3;
  --paper: #ffffff;
  --sand: #f4efe6;
  --ink: #15263a;
  --ink-2: #33455a;
  --muted: #687586;
  --line: #e8e1d4;
  --line-2: #f0eadf;
  --brand: #12a150;
  --brand-d: #0c8742;
  --brand-soft: #e2f5e9;
  --sun: #ffc93c;
  --orange: #ff8a3d;
  --coral: #f2574a;
  --sky: #2d9cdb;
  --mint-t: #dff3e6;
  --sky-t: #dcecf7;
  --lemon-t: #fff2c2;
  --pink-t: #fde3ee;
  --peach-t: #ffe7d9;
  --lilac-t: #ebe5f7;
  --navy: #13243a;
  --navy-2: #1c3350;
  --ok: #12a150;
  --ok-soft: #e2f5e9;
  --err: #d64232;
  --r: 6px;
  --r-lg: 10px;
  --fd: 'Scada', 'Onest', system-ui, sans-serif;
  --ft: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1320px;
  --gut: 16px;
  --head-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 28px; --head-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--ft);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--fd); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(28px, 4.4vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(18px, 1.8vw, 22px); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ico { flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--ft); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--sun); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px;
  border-radius: var(--r); font: 600 15px/1 var(--ft); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s;
  border: 1.5px solid transparent; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #0a1726; }
.btn--ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.ico--arrow { transition: transform .25s var(--ease); }
.btn:hover .ico--arrow, .link-arrow:hover .ico { transform: translateX(3px); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r); transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--sun); padding-bottom: 2px; }
.link-btn { font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; text-decoration-thickness: 2px; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 4px; font: 600 12px/1 var(--ft); background: var(--ink); color: #fff; }
.tag--brand { background: var(--coral); }
.tag--sun { background: var(--sun); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.chip .ico { color: var(--brand); }

/* ---------- наявність ---------- */
.stock-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brand-d); }
.stock-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.stock-dot--shop { color: var(--ink); }
.stock-dot--shop::before { background: var(--sun); box-shadow: 0 0 0 3px var(--lemon-t); }
.stock-dot--out { color: var(--muted); }
.stock-dot--out::before { background: #b9c0c9; box-shadow: 0 0 0 3px #eef0f3; }

/* ---------- топбар ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12px; }
@media (min-width: 700px) { .topbar { font-size: 13px; } }
.topbar__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 36px; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; overflow: hidden; }
.topbar__idx { font: 700 11px/1 var(--fd); color: var(--sun); letter-spacing: .06em; }
.topbar__idx b { font-weight: 600; }
.topbar__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--sun); }
.topbar__inner.is-run .topbar__bar { animation: tb 4.2s linear; }
.topbar__inner.is-paused .topbar__bar { animation-play-state: paused; }
@keyframes tb { to { width: 100%; } }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--head-h); display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { height: 38px; width: auto; }
.logo__sub { font: 600 10px/1.25 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-left: 1.5px solid var(--line); padding-left: 12px; }
.header__burger { margin-left: -10px; }
.nav { display: none; margin-left: 18px; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--r); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--ink); background: var(--sand); }
.header__tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-right: 8px; }
.header__phone .ico { color: var(--brand); }
.langs { display: flex; gap: 2px; font: 600 12px/1 var(--ft); }
.langs a { padding: 8px 7px; border-radius: 4px; color: var(--muted); }
.langs a.is-active { color: var(--ink); background: var(--sand); }
.header .langs { display: none; }
.cart-btn { position: relative; }
.cart-btn__count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--coral); color: #fff; font: 700 11px/19px var(--ft); text-align: center; }
.cart-btn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .header__burger { display: none; }
  .header .langs { display: flex; }
}
@media (min-width: 1280px) { .header__phone { display: inline-flex; } }
@media (max-width: 420px) { .logo__sub { display: none; } }

/* ---------- drawers / modal ---------- */
.drawer, .modal { position: fixed; inset: 0; z-index: 80; background: rgba(13, 25, 40, .42); opacity: 0; transition: opacity .3s; }
.drawer.is-open, .modal.is-open { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--bg); display: flex; flex-direction: column; transition: transform .38s var(--ease); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--top .drawer__panel { left: 0; right: 0; bottom: auto; width: auto; transform: translateY(-100%); padding: 18px var(--gut); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 18px; }
.drawer__body { flex: 1; overflow: auto; padding: 16px 18px; }
.drawer__foot { padding: 16px 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.drawer__total { display: flex; justify-content: space-between; font: 700 18px/1 var(--fd); margin-bottom: 4px; }
.drawer__promo { display: none; }
.modal { display: grid; place-items: center; padding: 16px; }
.modal__box { position: relative; width: min(440px, 100%); background: var(--bg); border-radius: var(--r-lg); padding: 30px 26px 26px; transform: translateY(12px); transition: transform .35s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; }
.modal__title { font-size: 22px; margin-bottom: 8px; padding-right: 36px; }
.modal__text { color: var(--muted); font-size: 15px; }

.mnav { display: grid; gap: 2px; }
.mnav a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: var(--r); font-weight: 600; }
.mnav a:hover { background: var(--sand); }
.mnav a .ico { color: var(--brand); }
.mnav small { margin-left: auto; color: var(--muted); font-weight: 500; }
.mnav__sep { height: 1px; background: var(--line); margin: 8px 0; }
.mnav__foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.mnav__phone { font: 700 17px/1 var(--fd); }

.mini-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.mini-empty .ico { margin: 0 auto 12px; color: var(--line); }
.mini-empty b { color: var(--ink); }
.mini-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.mini-item__img { background: var(--paper); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.mini-item__img img { width: 100%; height: 100%; object-fit: contain; }
.mini-item__name { font-weight: 700; line-height: 1.3; }
.mini-item__var { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mini-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.mini-item__rm { font-size: 13px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.free-bar { font-size: 13px; background: var(--sand); padding: 10px 12px; border-radius: var(--r); margin-bottom: 8px; }
.free-bar i { display: block; height: 4px; background: var(--line); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.free-bar b { display: block; height: 100%; background: var(--brand); }

/* ---------- пошук ---------- */
.search { max-width: 760px; margin: 0 auto; position: relative; }
.search__box { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.search__box:focus-within { border-color: var(--ink); }
.search__box input { flex: 1; border: 0; outline: 0; background: none; font-size: 16px; min-width: 0; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; z-index: 5; }
.suggest a { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line-2); }
.suggest a:hover, .suggest a.is-active { background: var(--sand); }
.suggest img { width: 64px; height: 48px; object-fit: contain; }
.suggest small { display: block; color: var(--muted); font-size: 13px; }
.suggest__price { font-weight: 700; white-space: nowrap; }
.suggest .suggest__all { display: block; text-align: center; font-weight: 600; padding: 12px; }

/* ---------- форми ---------- */
.form { display: grid; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; position: relative; }
.field > span:first-child { font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 16px; outline: 0; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field.has-error input { border-color: var(--err); }
.field__err { color: var(--err); font-size: 13px; }
.form__msg { font-size: 14px; margin: 0; }
.form__msg.ok { color: var(--brand-d); }
.form__msg.err { color: var(--err); }
.alert { background: #fdecea; color: #93281c; padding: 12px 14px; border-radius: var(--r); margin-bottom: 12px; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; opacity: 0; transition: .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.fab { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: grid; gap: 10px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(18, 161, 80, .28); }
.fab .fab__tg { background: #2aa3de; box-shadow: 0 8px 24px rgba(42, 163, 222, .28); }
body.has-sticky .fab { bottom: 88px; }

/* ---------- хлібні крихти / шапка сторінки ---------- */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line); }
.crumbs a:hover { color: var(--ink); }
.page-head { padding: 18px 0 26px; }
.page-head h1 { margin-top: 12px; }
.page-head p { color: var(--muted); max-width: 760px; margin: 12px 0 0; font-size: 17px; }

/* ==========================================================================
   ГОЛОВНА
   ========================================================================== */
.sec { padding: 44px 0; }
@media (min-width: 900px) { .sec { padding: 64px 0; } }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.sec__head h2 { max-width: 760px; }
.sec__head p { color: var(--muted); margin: 10px 0 0; max-width: 620px; }

/* hero */
.hero { position: relative; padding: 14px 0 0; }
.hero__grid { display: grid; gap: 18px; }
.hero__copy { padding: 18px 0 0; }
.hero__copy h1 { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.015em; margin-top: 16px; }
.hero__copy h1 em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 18px 0 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; transition: background-color .5s var(--ease); display: grid; }
.hero__stage::before { content: ''; position: absolute; left: 50%; bottom: 14%; width: 76%; height: 10%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(21, 38, 58, .16), transparent); pointer-events: none; }
.hero__bike { position: relative; grid-area: 1 / 1; display: grid; place-items: center; padding: 26px 18px 72px; opacity: 0; transition: opacity .45s var(--ease), transform .6s var(--ease); transform: translateX(24px); pointer-events: none; }
.hero__bike.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__bike img { width: 100%; max-width: 720px; mix-blend-mode: multiply; }
.hero__model { position: absolute; left: 18px; top: 16px; font: 600 13px/1.2 var(--ft); color: var(--ink-2); }
.hero__model b { display: block; font: 700 20px/1.1 var(--fd); color: var(--ink); }
.hero__price { position: absolute; right: 18px; top: 16px; text-align: right; font-size: 13px; color: var(--ink-2); }
.hero__price b { display: block; font: 700 20px/1.1 var(--fd); color: var(--ink); }
.hero__swatches { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 12px; z-index: 2; }
.hero__sw { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px rgba(21, 38, 58, .12); transition: transform .2s, box-shadow .2s; }
.hero__sw:hover { transform: scale(1.1); }
.hero__sw.is-on { box-shadow: 0 0 0 2px var(--ink); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 26px; }
  .hero__copy { padding: 44px 0 30px; }
  .hero__stage { min-height: 520px; }
}

/* ряд переваг під героєм (як у референсі — 5 колонок з іконками) */
.feats { margin-top: 18px; background: var(--navy); color: #fff; border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(2, 1fr); }
.feat { padding: 20px 16px; text-align: center; display: grid; gap: 8px; justify-items: center; border-right: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.feat .ico { color: var(--sun); }
.feat b { font: 700 14px/1.25 var(--fd); }
.feat span { font-size: 13px; color: #b9c6d6; line-height: 1.4; }
@media (min-width: 900px) { .feats { grid-template-columns: repeat(5, 1fr); } .feat { border-bottom: 0; padding: 26px 18px; } .feat:last-child { border-right: 0; } }
@media (max-width: 899px) { .feat:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; } }

/* бенто */
.bento { display: grid; gap: 14px; }
@media (min-width: 900px) { .bento--2 { grid-template-columns: 1fr 1fr; } .bento--4 { grid-template-columns: repeat(4, 1fr); } .bento--32 { grid-template-columns: 1.25fr 1fr; } }
@media (min-width: 560px) and (max-width: 899px) { .bento--4 { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); padding: 24px 22px; min-height: 280px; display: flex; flex-direction: column; isolation: isolate; }
.tile h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.12; max-width: 420px; }
.tile p { color: var(--ink-2); font-size: 15px; max-width: 380px; margin: 10px 0 0; }
.tile__img { margin-top: auto; }
.tile__img img { mix-blend-mode: multiply; width: 100%; }
.tile--mint { background: var(--mint-t); } .tile--sky { background: var(--sky-t); } .tile--lemon { background: var(--lemon-t); }
.tile--pink { background: var(--pink-t); } .tile--peach { background: var(--peach-t); } .tile--lilac { background: var(--lilac-t); }
.tile--navy { background: var(--navy); color: #fff; } .tile--navy p { color: #c2cedd; }
.tile__big { font: 700 clamp(64px, 9vw, 120px)/.9 var(--fd); letter-spacing: -.02em; color: var(--ink); position: absolute; left: 20px; bottom: 18px; z-index: -1; opacity: .9; }
.tile__big small { font-size: .28em; letter-spacing: 0; margin-left: 6px; }
.tile--weight { min-height: 360px; }
.tile--weight .tile__img { width: 78%; margin-left: auto; margin-bottom: -6px; }
.tile__callouts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.tile__callouts li { display: flex; gap: 10px; align-items: flex-start; }
.tile__callouts li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--brand); box-shadow: 0 0 0 3px rgba(18, 161, 80, .18); }
.tile__link { position: absolute; inset: 0; z-index: 3; }
.tile--small { min-height: 210px; padding: 20px 18px; }
.tile--small h3 { font-size: 17px; }
.tile--small p { font-size: 14px; }
.tile--small .tile__ico { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand); margin-bottom: 14px; }

/* калькулятор росту */
.fitcalc { display: grid; gap: 14px; margin-top: 18px; }
.fitcalc__row { display: flex; align-items: center; gap: 12px; }
.fitcalc__val { font: 700 44px/1 var(--fd); letter-spacing: -.01em; min-width: 3.4ch; }
.fitcalc__val small { font-size: 16px; font-weight: 600; margin-left: 4px; }
.fitcalc input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--mint-t), var(--lemon-t), var(--peach-t), var(--pink-t)); outline: 0; }
.fitcalc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); cursor: grab; }
.fitcalc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; cursor: grab; }
.fitcalc__res { display: grid; gap: 8px; }
.fitcalc__item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: var(--r); padding: 8px 12px 8px 8px; transition: transform .2s; }
.fitcalc__item:hover { transform: translateX(3px); }
.fitcalc__item img { width: 70px; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.fitcalc__item b { display: block; font-weight: 700; }
.fitcalc__item small { color: var(--muted); font-size: 13px; }
.fitcalc__item span:last-child { font-weight: 700; white-space: nowrap; }
.fitcalc__none { color: var(--muted); font-size: 14px; }
.fitcalc__tag { display: inline-block; font: 600 10px/1 var(--ft); text-transform: uppercase; letter-spacing: .06em; padding: 4px 6px; border-radius: 3px; background: var(--lemon-t); color: var(--ink); margin-left: 6px; vertical-align: 2px; }

/* лінійка (таймлайн росту) */
.ladder { display: grid; gap: 12px; }
@media (min-width: 700px) { .ladder { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ladder { grid-template-columns: repeat(7, 1fr); } }
.step { position: relative; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); padding: 14px 14px 16px; display: flex; flex-direction: column; transition: border-color .2s, transform .25s var(--ease); }
.step:hover { border-color: var(--ink); transform: translateY(-3px); }
.step__wheel { font: 700 30px/1 var(--fd); letter-spacing: -.01em; }
.step__wheel small { font-size: 14px; }
.step__name { font-weight: 700; margin-top: 4px; }
.step__h { font-size: 13px; color: var(--muted); }
.step__img { margin: 10px -6px 8px; border-radius: var(--r); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.step__img img { mix-blend-mode: multiply; width: 100%; }
.step__bar { height: 6px; border-radius: 3px; background: var(--sand); position: relative; margin-top: auto; }
.step__bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--brand); }
.step__price { font-weight: 700; margin-top: 10px; font-size: 15px; }
.step .tile__link { z-index: 1; }

/* палітра кольорів */
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pal { position: relative; border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 6px; min-height: 170px; overflow: hidden; }
.pal img { mix-blend-mode: multiply; margin-top: auto; }
.pal b { font-size: 14px; }
.pal small { font-size: 12px; color: var(--ink-2); }
.pal .tile__link { z-index: 1; }

/* специфікаційна смуга */
.specbar { background: var(--navy); color: #fff; border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(2, 1fr); }
.specbar > div { padding: 18px 16px; display: flex; gap: 12px; align-items: center; border-right: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.specbar .ico { color: var(--sun); }
.specbar small { display: block; font-size: 12px; color: #9fb0c4; }
.specbar b { font: 700 15px/1.2 var(--fd); }
@media (min-width: 900px) { .specbar { grid-template-columns: repeat(6, 1fr); } .specbar > div { border-bottom: 0; } .specbar > div:last-child { border-right: 0; } }

/* фінальний CTA */
.final { position: relative; border-radius: var(--r-lg); background: var(--lemon-t); padding: 30px 22px; overflow: hidden; display: grid; gap: 20px; }
.final h2 { font-size: clamp(28px, 4vw, 50px); line-height: 1.02; letter-spacing: -.015em; }
.final__bikes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: end; }
.final__bikes img { mix-blend-mode: multiply; }
@media (min-width: 900px) { .final { grid-template-columns: .8fr 1.2fr; align-items: center; padding: 44px 40px; } }

/* каруселі */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 44%; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 42px) / 4); } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: var(--paper); }
.rail-nav button:hover { border-color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }
@media (min-width: 900px) { .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; } }

/* статті */
.guides { display: grid; gap: 14px; }
@media (min-width: 700px) { .guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .25s var(--ease); }
.guide:hover { border-color: var(--ink); transform: translateY(-3px); }
.guide__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lemon-t); color: var(--ink); }
.guide h3 { font-size: 18px; }
.guide p { color: var(--muted); font-size: 14px; margin: 0; }
.guide .link-arrow { margin-top: auto; align-self: flex-start; font-size: 14px; }

/* магазин */
.store-card { display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.store-card__info { padding: 24px; }
.store-card__info b { font: 700 20px/1.2 var(--fd); display: block; margin-bottom: 10px; }
.store-card__info p { color: var(--ink-2); margin: 0 0 8px; }
.store-card iframe { width: 100%; min-height: 260px; border: 0; }
@media (min-width: 800px) { .store-card { grid-template-columns: 1fr 1.4fr; } }

.reviews-home { display: grid; gap: 12px; }
@media (min-width: 900px) { .reviews-home { grid-template-columns: repeat(3, 1fr); } }
.rv { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.rv__stars { color: var(--sun); letter-spacing: 2px; }
.rv p { margin: 8px 0; color: var(--ink-2); font-size: 15px; }
.rv small { color: var(--muted); }

/* ==========================================================================
   КАРТКА ТОВАРУ
   ========================================================================== */
.card { position: relative; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, transform .3s var(--ease); }
.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--tint, var(--sand)); transition: background-color .3s; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; opacity: 0; transition: opacity .25s; }
.card__media img.is-on { opacity: 1; }
.card__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.card__wheel { position: absolute; right: 10px; top: 10px; z-index: 2; font: 700 13px/1 var(--fd); background: #fff; border-radius: 4px; padding: 7px 8px; pointer-events: none; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { font: 600 11px/1 var(--ft); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card__name { font: 700 18px/1.2 var(--fd); letter-spacing: -.02em; }
.card__link { position: absolute; inset: 0; z-index: 1; }
.card__meta { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta .ico { color: var(--brand); }
.card__sw { display: flex; gap: 6px; margin-top: 4px; position: relative; z-index: 2; flex-wrap: wrap; }
.card__sw button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(21, 38, 58, .18); }
.card__sw button.is-on { box-shadow: 0 0 0 1.5px var(--ink); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.card__price small { display: block; font-size: 12px; color: var(--muted); }
.card__price b { font: 700 20px/1.1 var(--fd); letter-spacing: -.02em; }
.card__price s { color: var(--muted); font-size: 13px; margin-left: 6px; }
.card__dots { display: none; }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ==========================================================================
   КАТАЛОГ
   ========================================================================== */
.catalog { display: grid; gap: 20px; padding-bottom: 60px; }
@media (min-width: 1081px) { .catalog { grid-template-columns: 270px 1fr; gap: 30px; align-items: start; } }
.filters { display: none; }
@media (min-width: 1081px) { .filters { display: block; position: sticky; top: calc(var(--head-h) + 12px); } }
.filters.is-open { display: block; position: fixed; inset: 0; z-index: 85; background: var(--bg); overflow: auto; padding: 16px var(--gut) 100px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__head h2 { font-size: 20px; }
@media (min-width: 1081px) { .filters__head .icon-btn, .filters__apply { display: none; } }
.filters__apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gut); background: var(--paper); border-top: 1px solid var(--line); }
.fgroup { border-bottom: 1px solid var(--line); padding: 16px 0; }
.fgroup h3 { font: 700 13px/1 var(--ft); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 12px; }
.fopts { display: flex; flex-wrap: wrap; gap: 6px; }
.fopt { position: relative; }
.fopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fopt span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s; }
.fopt span small { color: var(--muted); font-weight: 500; }
.fopt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.fopt input:checked + span small { color: #c9d3de; }
.fopt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.fopts--col { flex-direction: column; }
.fopts--col .fopt span { width: 100%; justify-content: space-between; }
.fheight { display: flex; align-items: center; gap: 10px; }
.fheight input { width: 100%; min-height: 42px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; background: var(--paper); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; min-height: 42px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 10px; background: var(--paper); }
.toolbar { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: 14px; }
.toolbar select { min-height: 42px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; background: var(--paper); font-weight: 600; }
.filters-btn { display: inline-flex; }
@media (min-width: 1081px) { .filters-btn { display: none; } }
.chips-active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips-active a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.more-wrap { text-align: center; margin-top: 26px; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty .ico { margin: 0 auto; color: var(--line); }
.cat-intro { display: grid; gap: 16px; margin-bottom: 20px; }
.series-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.series-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; }
.series-tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.series-tabs small { color: var(--muted); font-weight: 500; }
.series-tabs a.is-active small { color: #c9d3de; }
.seo-text { margin: 30px 0 70px; }

/* ==========================================================================
   СТОРІНКА ТОВАРУ
   ========================================================================== */
.pdp { display: grid; gap: 22px; padding: 10px 0 40px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; } }
.gallery { position: relative; }
.gallery__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--tint, var(--sand)); transition: background-color .4s; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; display: grid; place-items: center; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; padding: 4%; mix-blend-mode: multiply; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; display: none; place-items: center; z-index: 2; }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
@media (min-width: 900px) { .gallery__nav { display: grid; } }
.gallery__count { position: absolute; right: 12px; bottom: 12px; font: 600 12px/1 var(--ft); background: #fff; padding: 6px 8px; border-radius: 4px; }
.gallery__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 2; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: 0 0 84px; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--tint, var(--sand)); border: 2px solid transparent; overflow: hidden; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumbs button.is-active { border-color: var(--ink); }

.buy { position: relative; }
@media (min-width: 1000px) { .buy { position: sticky; top: calc(var(--head-h) + 14px); } }
.buy__brand { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.buy h1 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 10px; }
.buy__type { color: var(--ink-2); margin-top: 6px; }
.buy__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 18px 0; }
.bfact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: flex; gap: 10px; align-items: center; }
.bfact .ico { color: var(--brand); }
.bfact small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.bfact b { font-size: 15px; line-height: 1.25; }
.buy__label { font-weight: 700; font-size: 14px; margin: 16px 0 8px; display: flex; justify-content: space-between; gap: 10px; }
.buy__label span { color: var(--muted); font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 12px 5px 6px; border-radius: 30px; border: 1.5px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 600; transition: border-color .2s; }
.sw i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.sw small { color: var(--muted); font-weight: 500; }
.sw:hover { border-color: var(--ink-2); }
.sw.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sw.is-out { opacity: .6; }
.sw.is-out i { position: relative; }
.frames { display: flex; gap: 8px; }
.frames button { min-width: 70px; min-height: 44px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; }
.frames button small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.frames button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.frames button.is-active small { color: #c9d3de; }
.buy__price { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; font: 700 34px/1 var(--fd); letter-spacing: -.01em; }
.buy__price s { font: 500 17px/1 var(--ft); color: var(--muted); }
.buy__stock { display: flex; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; font-size: 13px; }
.buy__actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 18px; }
.buy__actions .btn--ghost { grid-column: 1 / -1; }
.buy__actions [data-notify] { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); }
.mini-item .qty { height: 38px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; }
.qty input { width: 38px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy__sku { font-size: 12px; color: var(--muted); margin-top: 12px; }
.perks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks .ico { color: var(--brand); margin-top: 1px; }

.pnav { position: sticky; top: var(--head-h); z-index: 20; background: rgba(251, 248, 243, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.pnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pnav__in::-webkit-scrollbar { display: none; }
.pnav a { flex: none; padding: 16px 12px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.pnav a.is-active, .pnav a:hover { color: var(--ink); border-bottom-color: var(--brand); }
.psec { padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 60px); }
.psec:last-child { border-bottom: 0; }
.psec > h2 { margin-bottom: 20px; }
.overview { display: grid; gap: 28px; }
@media (min-width: 1000px) { .overview { grid-template-columns: 1.4fr 1fr; gap: 50px; } }
.prose { font-size: 17px; color: var(--ink-2); max-width: 780px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 1.4em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 1.3em 0 .5em; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 15px; background: var(--paper); border-radius: var(--r); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.prose th { background: var(--sand); font-weight: 700; color: var(--ink); white-space: nowrap; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--sun); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; }
.prose strong { color: var(--ink); }
.prose .note { background: var(--lemon-t); border-radius: var(--r); padding: 14px 16px; }
.features { display: grid; gap: 10px; }
.features li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.features ul { margin: 0; padding: 0; display: grid; gap: 10px; }
.features .ico-wrap { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-t); color: var(--brand-d); display: grid; place-items: center; }
.features b { display: block; }
.features span { color: var(--ink-2); font-size: 14px; }
.specs { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.specs > div { display: grid; grid-template-columns: minmax(130px, .8fr) 1.2fr; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
@media (min-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } .specs > div:nth-child(odd) { border-right: 1px solid var(--line-2); } }
.fitbox { display: grid; gap: 16px; }
@media (min-width: 900px) { .fitbox { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; } }
.fitscale { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.fitscale__bar { position: relative; height: 44px; margin: 30px 0 10px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10%); border-radius: var(--r); background-color: var(--sand); }
.fitscale__range { position: absolute; top: 0; bottom: 0; background: var(--mint-t); border: 2px solid var(--brand); border-radius: var(--r); }
.fitscale__range span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-weight: 700; font-size: 13px; white-space: nowrap; }
.fitscale__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.fitscale__me { position: absolute; top: -6px; bottom: -6px; width: 3px; background: var(--coral); border-radius: 2px; display: none; }
.fitscale__me.is-on { display: block; }
.fitscale__verdict { margin-top: 12px; font-weight: 600; min-height: 24px; }
.fitscale__verdict.ok { color: var(--brand-d); } .fitscale__verdict.warn { color: #b36b00; } .fitscale__verdict.no { color: var(--err); }
.fitscale .fheight { margin-top: 12px; }
.vtable { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; font-size: 14px; }
.vtable th, .vtable td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; }
.vtable th { background: var(--sand); font-weight: 700; font-size: 13px; }
.vtable tr[data-vid] { cursor: pointer; }
.vtable tr.is-active td { background: var(--lemon-t); }
.vtable i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.table-scroll .vtable { border-radius: 0; min-width: 640px; }
.review-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-top: 16px; }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { display: none; }
.stars-input label { font-size: 28px; color: var(--line); cursor: pointer; line-height: 1; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--sun); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gut); display: flex; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__info b { display: block; font: 700 17px/1.1 var(--fd); }
.sticky-buy__info small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy img { width: 64px; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; background: var(--sand); border-radius: 4px; display: none; }
@media (min-width: 700px) { .sticky-buy img { display: block; } }

/* ==========================================================================
   РОЗМІР / ПОРІВНЯННЯ / СТОРІНКИ
   ========================================================================== */
.sizes-hero { display: grid; gap: 18px; }
@media (min-width: 1000px) { .sizes-hero { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; } }
.calc { background: var(--mint-t); border-radius: var(--r-lg); padding: 22px; }
.calc h2 { font-size: 22px; }
.htable { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; }
.htable th, .htable td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.htable th { background: var(--sand); font-size: 13px; }
.htable td b { font: 700 17px/1 var(--fd); }
.htable tr.is-hit td { background: var(--lemon-t); }
.wheel-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .wheel-cards { grid-template-columns: repeat(5, 1fr); } }
.wcard { position: relative; border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-height: 180px; transition: transform .25s var(--ease); }
.wcard:hover { transform: translateY(-3px); }
.wcard b { font: 700 34px/1 var(--fd); letter-spacing: -.01em; }
.wcard span { font-size: 14px; font-weight: 600; }
.wcard small { color: var(--ink-2); font-size: 13px; }
.wcard img { mix-blend-mode: multiply; margin-top: auto; }
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.cmp thead th:first-child { background: var(--sand); }
.cmp td img { width: 110px; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.cmp a b { font-family: var(--fd); font-weight: 600; }

.page-grid { display: grid; gap: 30px; padding-bottom: 70px; }
@media (min-width: 1000px) { .page-grid { grid-template-columns: 1fr 300px; gap: 50px; } }
.page-aside { display: grid; gap: 4px; align-content: start; }
@media (min-width: 1000px) { .page-aside { position: sticky; top: calc(var(--head-h) + 14px); } }
.page-aside a { padding: 10px 12px; border-radius: var(--r); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.page-aside a:hover { background: var(--sand); }
.page-aside a.is-active { background: var(--ink); color: #fff; }
.article-cta { margin-top: 30px; background: var(--lemon-t); border-radius: var(--r-lg); padding: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.article-cta b { font: 700 18px/1.2 var(--fd); }

/* ==========================================================================
   КОШИК / ОФОРМЛЕННЯ
   ========================================================================== */
.cart-page, .checkout { display: grid; gap: 24px; padding-bottom: 70px; }
@media (min-width: 1000px) { .cart-page, .checkout { grid-template-columns: 1fr 400px; gap: 40px; align-items: start; } }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row__img { background: var(--paper); border-radius: var(--r); aspect-ratio: 4 / 3; overflow: hidden; grid-row: span 2; }
.cart-row__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-row__name { font-weight: 700; }
.cart-row__var { font-size: 13px; color: var(--muted); }
.cart-row__sum { font-weight: 700; white-space: nowrap; text-align: right; }
.cart-row__sum s { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.cart-row .qty { height: 44px; }
@media (min-width: 700px) { .cart-row { grid-template-columns: 110px 1fr auto 120px 44px; } .cart-row__img { grid-row: auto; } }
.cart-tip { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--sand); font-size: 14px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; }
@media (min-width: 1000px) { .cart-page .summary, .checkout .summary { position: sticky; top: calc(var(--head-h) + 14px); } }
.summary h2 { font-size: 20px; margin-bottom: 6px; }
.summary__items { display: grid; gap: 10px; margin-bottom: 6px; }
.summary__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.summary__item img { width: 64px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--sand); border-radius: 4px; }
.summary__item small { display: block; color: var(--muted); }
.summary__row { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.summary__total { font: 700 20px/1.2 var(--fd); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.checkout__agree { font-size: 12px; color: var(--muted); margin: 0; }
.checkout__agree a { text-decoration: underline; }
.co-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px; }
.co-step h2 { font-size: 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.co-step h2 i { width: 32px; height: 32px; border-radius: 50%; background: var(--lemon-t); display: grid; place-items: center; font: 700 14px/1 var(--fd); font-style: normal; }
.co-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .co-grid { grid-template-columns: 1fr 1fr; } .co-grid .full { grid-column: 1 / -1; } }
.options { display: grid; gap: 8px; }
.option { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .2s; }
.option:has(input:checked) { border-color: var(--ink); background: #fffdf8; }
.option input { width: 18px; height: 18px; accent-color: var(--brand); }
.option small { display: block; color: var(--muted); font-size: 13px; }
.pay-logos { display: flex; gap: 6px; color: var(--ink-2); }
.np__field { position: relative; }
.np__drop { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); max-height: 300px; overflow: auto; margin-top: 4px; }
.np__drop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.np__drop button:hover { background: var(--sand); }
.np__drop small { display: block; color: var(--muted); font-size: 12px; }
.np__empty { padding: 12px; font-size: 14px; }
.np__cost { font-size: 14px; background: var(--sand); padding: 10px 12px; border-radius: var(--r); }
.success { text-align: center; max-width: 620px; margin: 0 auto; padding: 60px 0 80px; }
.success__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.success h1 { margin-bottom: 12px; }
.success p { color: var(--ink-2); }
.success .summary { text-align: left; margin: 24px 0; }
.mp-wait { display: grid; gap: 10px; justify-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }

/* ==========================================================================
   ПІДВАЛ
   ========================================================================== */
.footer { background: var(--navy); color: #cfd9e5; margin-top: 30px; }
.footer a:hover { color: #fff; }
.footer__cta { display: grid; gap: 18px; padding: 44px 0 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 40px); max-width: 720px; }
.footer__cta h2 span { color: var(--sun); }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1000px) { .footer__cta { grid-template-columns: 1fr auto; align-items: center; } }
.footer__grid { display: grid; gap: 28px; padding: 36px 0; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { font-size: 14px; max-width: 360px; margin-top: 14px; }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer__brand { grid-column: auto; } }
.footer__h { font: 700 12px/1 var(--ft); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.footer ul .ico { display: inline; vertical-align: -3px; }
.footer__phone { font: 700 17px/1 var(--fd); color: #fff; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8fa1b6; }
.footer__pay { display: flex; gap: 12px; }
.footer__seller { font-size: 12px; color: #8fa1b6; padding-bottom: 24px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(251, 248, 243, .98); display: grid; place-items: center; }
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 60px 12px; }
.lightbox__stage img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.lightbox__stage img.is-in-r { animation: lbr .35s var(--ease); } .lightbox__stage img.is-in-l { animation: lbl .35s var(--ease); }
@keyframes lbr { from { opacity: 0; transform: translateX(30px); } } @keyframes lbl { from { opacity: 0; transform: translateX(-30px); } }
.lightbox__close { position: absolute; top: 12px; right: 12px; background: #fff; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-weight: 600; font-size: 14px; }

/* ==========================================================================
   МОБІЛЬНЕ УЩІЛЬНЕННЯ
   ========================================================================== */
@media (max-width: 899px) {
  .hero__copy { padding-top: 6px; display: contents; }
  .hero__grid { display: flex; flex-direction: column; gap: 14px; }
  .hero__copy .kicker { order: 1; }
  .hero__copy h1 { order: 2; margin-top: 0; font-size: clamp(32px, 9vw, 44px); }
  .hero__stage { order: 3; min-height: 0; }
  .hero__lead { order: 4; font-size: 16px; margin: 0; }
  .hero__actions { order: 5; }
  .hero__facts { order: 6; margin-top: 0; }
  .hero__bike { padding: 44px 8px 58px; }
  .hero__model b, .hero__price b { font-size: 16px; }
  .hero__model, .hero__price { font-size: 12px; top: 12px; }
  .hero__model { left: 12px; } .hero__price { right: 12px; }
  .hero__sw { width: 26px; height: 26px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 28px 1fr; justify-items: start; text-align: left; align-items: center; gap: 2px 10px; padding: 14px 12px; }
  .feat .ico { grid-row: span 2; width: 26px; height: 26px; }
  .feat b { font-size: 13px; }
  .feat span { font-size: 12px; }
  .tile { min-height: 0; padding: 20px 16px; }
  .tile--weight { min-height: 330px; }
  .tile__big { font-size: 64px; left: 16px; bottom: 14px; }
  .bento--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile--small { min-height: 0; padding: 14px 12px; }
  .tile--small .tile__ico { width: 36px; height: 36px; margin-bottom: 10px; }
  .tile--small .tile__ico .ico { width: 20px; height: 20px; }
  .tile--small h3 { font-size: 14px; }
  .tile--small p { font-size: 13px; margin-top: 6px; }
  .sec { padding: 34px 0; }
  .ladder { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .ladder::-webkit-scrollbar { display: none; }
  .ladder > * { scroll-snap-align: start; }
  .palette { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pal { min-height: 124px; padding: 10px; }
  .pal b { font-size: 12px; } .pal small { font-size: 11px; }
  .specbar > div { padding: 14px 12px; gap: 10px; }
  .specbar b { font-size: 13px; }
}
@media (max-width: 559px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 10px 10px 12px; gap: 4px; }
  .card__brand { font-size: 10px; letter-spacing: .06em; }
  .card__name { font-size: 15px; }
  .card__meta { font-size: 12px; gap: 2px 8px; }
  .card__meta span:nth-child(n+2) { display: none; }
  .card__sw button { width: 18px; height: 18px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .card__price b { font-size: 17px; }
  .card__wheel { font-size: 11px; padding: 5px 6px; top: 8px; right: 8px; }
  .card__badges { left: 8px; top: 8px; }
  .card__badges .tag { height: 22px; font-size: 11px; padding: 0 7px; }
  .stock-dot { font-size: 12px; }
  .rail { grid-auto-columns: 62%; }
  .bfact { padding: 8px 10px; gap: 8px; }
  .bfact b { font-size: 14px; }
  .buy__price { font-size: 30px; }
}
@media (max-width: 699px) {
  .series-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .series-tabs::-webkit-scrollbar { display: none; }
  .series-tabs a { flex: none; min-height: 38px; font-size: 13px; padding: 0 12px; }
  .toolbar { flex-wrap: nowrap; }
  .toolbar__count { display: none; }
  .toolbar select { flex: 1; min-width: 0; font-size: 14px; }
  .page-head { padding: 12px 0 18px; }
  .page-head p { font-size: 15px; }
}
.overview { align-items: start; }
.features ul { align-content: start; }
@media (min-width: 1000px) { .features { position: sticky; top: calc(var(--head-h) + 70px); } }

/* ==========================================================================
   СЦЕНА ГЕРОЯ (за мотивами VEYRA): кадр 16:10, фото 4:3 з точками в координатах фото
   ========================================================================== */
.scene { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 0; --acc: #ffc93c; --on-acc: #15263a; --scene-w: min(100%, max(620px, calc((100svh - 330px) * 1.6))); }
.scene__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: var(--scene-w); margin: 0 auto 18px; }
.scene__title h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: .98; letter-spacing: -.015em; }
.scene__title h1 em { font-style: normal; color: var(--brand); }
.scene__lead { margin: 0; text-align: right; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.scene__lead span { display: block; }
@media (min-width: 901px) { .scene__lead span { white-space: nowrap; } }
.scene__stage { position: relative; width: var(--scene-w); margin: 0 auto; }
.scene__plane { position: relative; width: 100%; aspect-ratio: 8 / 5; isolation: isolate; }
.scene__frame { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 3px #fff; background: var(--tint); transition: background-color .6s var(--ease); }
.scene__bike, .scene__spots, .scene__pts { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; }
.scene__bike { transform-origin: 0 0; transition: transform 1.2s cubic-bezier(.65, 0, .25, 1); mix-blend-mode: multiply; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s ease; user-select: none; -webkit-user-drag: none; }
.scene__img.is-on { opacity: 1; }
.scene__spots { z-index: 3; pointer-events: none; transition: opacity .3s; }
.spot { position: absolute; transform: translate(-50%, -50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; pointer-events: auto; transition: opacity .2s; }
.spot__dot { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); box-shadow: 0 0 0 5px rgba(255, 201, 60, .22), 0 4px 14px rgba(21, 38, 58, .18); transition: transform .2s var(--ease), background .2s; }
.spot__dot .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.spot__dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255, 201, 60, .7); animation: breath 4.5s ease-in-out infinite; }
@keyframes breath { 0%, 100% { opacity: .25; transform: scale(1); } 50% { opacity: .85; transform: scale(1.12); } }
.spot:hover .spot__dot, .spot.is-active .spot__dot, .spot:focus-visible .spot__dot { transform: scale(1.1); }
.spot[aria-expanded="true"] .spot__dot { transform: rotate(45deg); background: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(21, 38, 58, .15); }
.spot__label { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translate(-50%, 4px); display: flex; gap: 8px; align-items: center; white-space: nowrap; padding: 9px 12px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; opacity: 0; pointer-events: none; transition: opacity .18s, transform .24s var(--ease); }
.spot__label .ico { width: 14px; height: 14px; }
.spot:hover .spot__label, .spot.is-active .spot__label, .spot:focus-visible .spot__label { opacity: 1; transform: translate(-50%, 0); }
.spot[aria-expanded="true"] .spot__label { opacity: 0; }
.spot:disabled { opacity: .25; pointer-events: none; }
.spot:disabled .spot__dot::after { animation: none; opacity: 0; }
.scene__loupe { position: absolute; z-index: 4; left: 0; top: 0; width: 168px; height: 168px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 14px 40px rgba(21, 38, 58, .25); background-color: var(--tint); background-repeat: no-repeat; background-blend-mode: multiply; pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .25s var(--ease); }
.scene__loupe.is-on { opacity: 1; transform: none; }
.scene__back { position: absolute; z-index: 5; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 7px; background: var(--acc); color: var(--on-acc); font-weight: 600; font-size: 14px; }
.scene__back kbd { font: inherit; font-size: 12px; font-weight: 500; border-left: 1px solid rgba(21, 38, 58, .25); padding-left: 9px; margin-left: 2px; }
.scene__pts { z-index: 3; pointer-events: none; }
.apt { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; pointer-events: auto; opacity: 0; transition: opacity .4s; }
.scene.is-detail .apt { opacity: 1; }
.apt > b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); font: 700 12px/1 var(--ft); box-shadow: 0 0 0 4px rgba(255, 201, 60, .25); }
.apt.is-open > b { background: var(--ink); color: #fff; }
.apt > span { position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%); padding: 8px 10px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.25; width: max-content; max-width: min(260px, 56vw); text-align: left; opacity: 0; pointer-events: none; transition: opacity .18s; }
.apt--r > span { left: auto; right: 4px; transform: none; }
.apt--l > span { left: 4px; transform: none; }
.scene.menu-open .scene__base { visibility: hidden; }
.apt:hover > span, .apt.is-open > span, .apt:focus-visible > span { opacity: 1; }
.scene__detail { position: absolute; z-index: 4; right: 18px; top: 18px; bottom: 18px; width: min(36%, 390px); overflow-y: auto; padding: 22px 22px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 36px rgba(21, 38, 58, .12); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease); scrollbar-width: thin; }
.scene.is-detail .scene__detail { opacity: 1; transform: none; pointer-events: auto; }
.scene__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-d); margin: 0 0 10px; }
.scene__detail h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1; margin-bottom: 14px; }
.scene__detail h2 span { display: block; }
.scene__text { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0 0 14px; }
.scene__parts { border-top: 1px solid var(--line); margin-bottom: 14px; }
.scene__parts button { display: block; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; min-height: 44px; }
.scene__parts button > span { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.scene__parts button > span small { color: var(--muted); font-weight: 500; font-size: 12px; }
.scene__parts button > span .ico { margin-left: auto; transition: transform .24s; }
.scene__parts button.is-open > span .ico { transform: rotate(45deg); }
.scene__parts button.is-open, .scene__parts button:hover { color: var(--brand-d); }
.scene__parts em { display: block; font-style: normal; color: var(--ink-2); font-size: 14px; padding: 6px 0 2px 26px; }
.scene__benefit { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.scene__dock { position: relative; width: var(--scene-w); margin: 0 auto; min-height: 150px; padding-top: 20px; }
.scene__notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; transition: opacity .2s; }
.scene__note h3 { font-size: 17px; margin-bottom: 6px; }
.scene__note p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.45; }
.scene__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 0 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); transition: opacity .2s; }
.scene__model b { font-family: var(--fd); font-size: 19px; color: var(--ink); margin-right: 6px; }
.scene__buy { display: flex; align-items: center; gap: 14px; }
.scene__buy > b { font-family: var(--fd); font-size: 22px; color: var(--ink); white-space: nowrap; }
.scene.menu-open .scene__notes { opacity: 0; visibility: hidden; }
.scene__menu { position: absolute; z-index: 6; top: 16px; left: 50%; transform: translateX(-50%); width: min(640px, 100%); padding: 16px 18px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 12px 34px rgba(21, 38, 58, .2); display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; align-items: center; animation: menu-in .24s var(--ease); }
@keyframes menu-in { from { opacity: 0; translate: 0 6px; } }
.scene__menu-head { grid-column: 1; grid-row: 1; font-weight: 700; font-size: 15px; line-height: 1.25; }
.scene__menu > .icon-btn { position: absolute; right: 6px; top: 6px; color: #fff; }
.scene__menu > .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.scene__opts { grid-column: 2; grid-row: 1 / 3; display: flex; flex-wrap: wrap; gap: 6px; padding-right: 40px; }
.scene__cap { grid-column: 1; grid-row: 2; font-size: 13px; color: #c7d3e0; line-height: 1.35; }
.scene__cap b { display: block; color: #fff; font-size: 14px; }
.scene__cap a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.sopt { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.sopt i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sopt:hover { border-color: rgba(255, 255, 255, .35); }
.sopt.is-on { border-color: var(--acc); }
.scene__opts--size .sopt { width: auto; height: auto; min-height: 44px; border-radius: 8px; padding: 6px 10px; border: 1.5px solid rgba(255, 255, 255, .18); text-align: left; display: block; }
.scene__opts--size .sopt b { display: block; font-family: var(--fd); font-size: 17px; line-height: 1.1; }
.scene__opts--size .sopt small { display: block; font-size: 11px; color: #c7d3e0; white-space: nowrap; }
.scene__opts--size .sopt.is-on { border-color: var(--acc); background: rgba(255, 201, 60, .12); }
.scene.is-detail .scene__spots, .scene.is-moving .scene__spots { opacity: 0; pointer-events: none; }
.scene.is-detail .scene__spots .spot, .scene.is-moving .scene__spots .spot { pointer-events: none; }
@media (max-width: 900px) {
  .scene { --scene-w: 100%; padding-top: 10px; }
  .scene__title { display: block; margin-bottom: 14px; }
  .scene__title h1 { font-size: clamp(32px, 9vw, 46px); }
  .scene__lead { text-align: left; margin-top: 10px; font-size: 14px; }
  .scene__lead span { display: inline; }
  .scene__lead span + span::before { content: ' '; }
  .scene__frame { border-radius: 12px; }
  .scene__detail { position: relative; inset: auto; right: auto; top: auto; bottom: auto; width: 100%; margin-top: 16px; display: none; transform: none; overflow: visible; }
  .scene.is-detail .scene__detail { display: block; }
  .scene__notes { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .scene__note h3 { font-size: 15px; } .scene__note p { font-size: 13px; }
  .scene__menu { grid-template-columns: 1fr; top: 12px; padding: 12px 14px; }
  .scene__menu-head, .scene__opts, .scene__cap { grid-column: 1; grid-row: auto; }
  .scene__opts { padding-right: 0; }
  .scene__base { flex-wrap: wrap; }
  .scene__loupe { width: 120px; height: 120px; }
  .spot__dot { width: 26px; height: 26px; }
  .scene__back kbd { display: none; }
  .scene__back { left: 10px; top: 10px; min-height: 40px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .scene__bike { transition: none; } .spot__dot::after { animation: none; } }
@media (min-width: 901px) and (max-height: 800px) {
  .scene { padding-top: 10px; --scene-w: min(100%, max(620px, calc((100svh - 250px) * 1.6))); }
  .scene__title { margin-bottom: 12px; }
  .scene__title h1 { font-size: 40px; }
  .scene__title h1 br { display: none; }
  .scene__title h1 em::before { content: ' '; }
}

/* ==========================================================================
   ПРЕЛОАДЕР: логотип «виїжджає», крапки підстрибують, колесо котиться доріжкою; вихід — шторкою вгору
   ========================================================================== */
.pre { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; color: var(--ink); transition: transform .8s cubic-bezier(.76, 0, .24, 1), opacity .8s; }
.no-pre .pre { display: none; }
.pre.is-done { transform: translateY(-100%); }
.pre::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #23a55a, #ffc93c, #f05a28, #e98bb6, #1d7f87); transform-origin: left; transform: scaleX(0); animation: pre-bar 1.5s cubic-bezier(.65, 0, .35, 1) forwards; }
.pre__in { display: grid; justify-items: center; gap: 18px; }
.pre__logo { width: min(300px, 64vw); height: auto; overflow: visible; }
.pre__logo .lg-ink { opacity: 0; transform: translateX(-26px); animation: pre-in .8s cubic-bezier(.22, 1, .36, 1) forwards; }
.pre__logo path.lg-ink:nth-of-type(1) { transform: translateX(-60px); animation-delay: .1s; }
.pre__logo rect.lg-ink:nth-of-type(1) { animation-delay: .2s; }
.pre__logo rect.lg-ink:nth-of-type(2) { animation-delay: .28s; }
.pre__logo path.lg-ink:nth-of-type(2) { animation-delay: .36s; }
.pre__logo path.lg-ink:nth-of-type(3) { animation-delay: .44s; }
.pre__logo path.lg-ink:nth-of-type(4) { animation-delay: .52s; }
.pre__logo .lg-dot { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); animation: pre-pop .7s cubic-bezier(.34, 1.8, .5, 1) forwards; }
.pre__logo path.lg-dot:nth-of-type(5) { animation-delay: .8s; }
.pre__logo path.lg-dot:nth-of-type(6) { animation-delay: .95s; }
.pre__track { position: relative; width: 150px; height: 3px; border-radius: 3px; background: var(--line); overflow: visible; opacity: 0; animation: pre-fade .4s ease .5s forwards; }
.pre__track i { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--bg); animation: pre-roll 1.2s cubic-bezier(.45, 0, .55, 1) .5s infinite alternate; }
.pre__track i::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; background: var(--ink); }
.pre__txt { margin: 0; font: 600 12px/1 var(--ft); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: pre-fade .5s ease .7s forwards; }
@keyframes pre-in { to { opacity: 1; transform: none; } }
@keyframes pre-pop { to { transform: scale(1); } }
@keyframes pre-fade { to { opacity: 1; } }
@keyframes pre-roll { from { left: 0; transform: rotate(0); } to { left: calc(100% - 13px); transform: rotate(540deg); } }
@keyframes pre-bar { to { transform: scaleX(1); } }
body:has(.pre:not(.is-done)) { overflow: hidden; }
.no-pre body { overflow: auto; }

/* ---------- логотип як фоновий знак ---------- */
.scene__frame::before { content: ''; position: absolute; left: 50%; bottom: 7%; width: 88%; aspect-ratio: 306.6 / 111.7; transform: translateX(-50%); background: url(/assets/img/logo-mark.svg) center / contain no-repeat; opacity: .055; pointer-events: none; }
.footer { position: relative; overflow: hidden; }
.footer::after { content: ''; position: absolute; left: 50%; bottom: -3vw; width: min(1400px, 110vw); aspect-ratio: 306.6 / 111.7; transform: translateX(-50%); background: url(/assets/img/logo-light.svg) center / contain no-repeat; opacity: .045; pointer-events: none; }
.footer > .wrap { position: relative; z-index: 1; }

/* ==========================================================================
   ПОРІВНЯННЯ
   ========================================================================== */
.cmp-wrap { overflow-x: auto; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); scrollbar-width: thin; }
.cmp2 { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 14px; }
.cmp2 th, .cmp2 td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; white-space: nowrap; }
.cmp2 tbody tr:last-child th, .cmp2 tbody tr:last-child td { border-bottom: 0; }
.cmp2 tbody th { position: sticky; left: 0; z-index: 2; background: var(--paper); font-weight: 600; color: var(--ink-2); min-width: 190px; box-shadow: 1px 0 0 var(--line); }
.cmp2 tbody th .ico { color: var(--brand); vertical-align: -4px; margin-right: 8px; }
.cmp2 td { min-width: 168px; }
.cmp2 tbody tr:hover td, .cmp2 tbody tr:hover th { background: #fffcf6; }
.cmp2 thead th { background: var(--paper); border-bottom: 1px solid var(--line); vertical-align: bottom; padding-top: 16px; }
.cmp2__corner { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 0 var(--line); }
.cmp2__corner span { display: block; font: 700 22px/1 var(--fd); color: var(--ink); }
.cmp2__corner small { color: var(--muted); font-weight: 500; }
.cmp2__model a { display: grid; gap: 4px; }
.cmp2__img { display: block; width: 140px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 8px; transition: transform .25s var(--ease); }
.cmp2__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4%; }
.cmp2__model a:hover .cmp2__img { transform: translateY(-3px); }
.cmp2__series { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp2__model b { font: 700 18px/1.1 var(--fd); color: var(--ink); }
.cmp2__price td { vertical-align: top; }
.cmp2__price td b { display: block; font: 700 20px/1.1 var(--fd); margin-bottom: 6px; }
.cmp2__price td .stock-dot { display: flex; margin-bottom: 10px; font-size: 12px; }
.cmp2 [data-s].is-off { display: none; }
.series-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; }
.series-tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   ЕЛЕМЕНТИ В СТИЛІ ЛОГОТИПА: «крило» з ліній швидкості та помаранчева крапка
   ========================================================================== */
:root { --wing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 34'%3E%3Cpath d='M64 0H16C8 0 3 3.5 0 8h64z'/%3E%3Cpath d='M64 13H26c-6 0-9.5 3-11 8h49z'/%3E%3Cpath d='M64 26H38c-5 0-7.5 3-8.5 8H64z'/%3E%3C/svg%3E"); --dot: #f05a28; }
.kicker--wing::before, .wing-kicker::before { width: 26px; height: 14px; border-radius: 0; background: var(--dot); -webkit-mask: var(--wing) center / contain no-repeat; mask: var(--wing) center / contain no-repeat; }
.wing { display: inline-block; width: 64px; height: 34px; background: currentColor; -webkit-mask: var(--wing) center / contain no-repeat; mask: var(--wing) center / contain no-repeat; }
.odot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }

/* фото в рамці, як у сцені */
.photo { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 14px 40px rgba(21, 38, 58, .12); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
a.photo:hover img, .photo:hover img { transform: scale(1.04); }
.photo__cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 30px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 700; }
.photo__cap::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.photo__wing { position: absolute; z-index: 2; left: -26px; top: 22px; width: 84px; height: 44px; color: var(--dot); pointer-events: none; }

/* стрічка «Катається всюди» */
.everywhere { overflow: hidden; padding: 20px 0 10px; }
.everywhere__row { display: flex; gap: 16px; width: max-content; padding: 6px 0 14px; animation: marquee 60s linear infinite; }
.everywhere__row--rev { animation-direction: reverse; animation-duration: 70s; }
.everywhere:hover .everywhere__row { animation-play-state: paused; }
.everywhere .photo { width: clamp(240px, 26vw, 360px); aspect-ratio: 16 / 10; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .everywhere__row { animation: none; } .everywhere { overflow-x: auto; } }

/* велика фотосекція */
.band { position: relative; border-radius: 20px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; box-shadow: 0 0 0 3px #fff; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 25, 40, .78) 0%, rgba(13, 25, 40, .45) 42%, rgba(13, 25, 40, 0) 70%); }
.band__in { position: relative; z-index: 1; padding: 34px; max-width: 560px; }
.band__in .wing { color: var(--dot); width: 70px; height: 38px; margin-bottom: 14px; }
.band h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1; margin-bottom: 14px; }
.band p { color: #dfe7ef; font-size: 17px; margin-bottom: 22px; }
@media (max-width: 700px) { .band { min-height: 520px; } .band::after { background: linear-gradient(0deg, rgba(13, 25, 40, .85) 0%, rgba(13, 25, 40, .5) 50%, rgba(13, 25, 40, 0) 80%); } .band__in { padding: 22px; } }

/* мозаїка (головна, про бренд) */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.mosaic .photo:first-child { grid-row: span 2; }
.mosaic .photo:nth-child(4) { grid-column: span 2; }
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; } .mosaic .photo:first-child { grid-column: span 2; grid-row: auto; } .mosaic .photo:nth-child(4) { grid-column: span 2; } }

/* банер у шапці сторінки */
.page-head--photo { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .page-head--photo { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.page-head--photo .photo { aspect-ratio: 16 / 9; }
@media (max-width: 899px) { .page-head--photo .photo { aspect-ratio: 16 / 8; } }

/* обкладинки статей */
.guide--cover { padding: 0; overflow: hidden; }
.guide--cover .guide__cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.guide--cover .guide__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.guide--cover:hover .guide__cover img { transform: scale(1.05); }
.guide--cover .guide__cover .guide__ico { position: absolute; left: 14px; bottom: -22px; z-index: 1; width: 48px; height: 48px; box-shadow: 0 0 0 4px var(--paper); background: var(--lemon-t); }
.guide--cover .guide__body { padding: 30px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-cover { margin: 4px 0 30px; aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .article-cover { aspect-ratio: 16 / 9; } }

/* підвал: CTA на фото */
.footer__cta { position: relative; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); overflow: hidden; }
.footer__cta-bg { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.footer__cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.footer__cta > :not(.footer__cta-bg) { position: relative; z-index: 1; }

.kicker::before { width: 26px; height: 14px; border-radius: 0; background: var(--dot); -webkit-mask: var(--wing) center / contain no-repeat; mask: var(--wing) center / contain no-repeat; }

.final__photo { aspect-ratio: 16 / 10; }
.final__photo .photo__wing { left: -30px; }
@media (max-width: 899px) { .photo__wing { left: -14px; width: 64px; height: 34px; } }

figure.photo { margin: 0; }
.cmp2 tbody th .ico { display: inline-block; }
.cmp2 tbody th { vertical-align: middle; }

.series-tabs button { flex: none; white-space: nowrap; }
@media (max-width: 699px) {
  .series-tabs button { min-height: 38px; font-size: 13px; padding: 0 12px; }
  .cmp2 { font-size: 13px; }
  .cmp2 th, .cmp2 td { padding: 10px 10px; }
  .cmp2 tbody th { min-width: 0; width: 104px; max-width: 104px; white-space: normal; font-size: 12px; line-height: 1.3; }
  .cmp2 tbody th .ico { display: block; margin: 0 0 4px; }
  .cmp2__corner { width: 104px; }
  .cmp2__corner span { font-size: 17px; }
  .cmp2 td { min-width: 128px; }
  .cmp2__img { width: 112px; }
  .cmp2__model b { font-size: 16px; }
  .cmp2__price td b { font-size: 17px; }
}

/* підписи-моделі на фото */
.photo__cap--link { color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.photo__cap--link svg { transition: transform .2s; }
.photo__cap--link:hover { background: var(--ink); color: #fff; }
.photo__cap--link:hover svg { transform: translateX(2px); }

/* CTA над підвалом: чистий темно-синій блок */
.footer__cta { margin: 0; padding: 48px 0 40px; overflow: visible; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__cta-bg { display: none; }
.footer__cta-text { display: grid; gap: 16px; }
.footer__wing { width: 72px; height: 38px; color: var(--dot); }
.footer__cta h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.02; }
.footer__faces { display: flex; align-items: center; flex-wrap: wrap; row-gap: 10px; }
.footer__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--navy); margin-right: -10px; }
.footer__faces span { margin-left: 22px; font-size: 14px; color: #b9c6d6; }
@media (max-width: 600px) { .footer__faces span { margin-left: 18px; flex-basis: 100%; margin-left: 0; } }

/* статті: іконка поверх краю обкладинки */
.guide--cover .guide__body { position: relative; }
.guide--cover .guide__ico--float { position: absolute; left: 18px; top: -26px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--lemon-t); color: var(--ink); box-shadow: 0 0 0 5px var(--paper); z-index: 2; }
.photo__wing { display: none; }
/* рік на картці */
.card__brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card__year { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--sand); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .02em; }

/* ---------- мобільна стійкість: елементи сіток не ширші за екран ---------- */
.pdp > *, .catalog > *, .overview > *, .fitbox > *, .cart-page > *, .checkout > *, .sizes-hero > *, .page-grid > *,
.bento > *, .hero__grid > *, .faq-wrap > *, .page-head--photo > *, .final > *, .co-grid > *, .buy__facts > *, .footer__grid > *, .grid > * { min-width: 0; }
.buy, .gallery, .prose, .fitscale, .buy__facts, .swatches { max-width: 100%; }
.prose { overflow-wrap: anywhere; }
.prose table { max-width: 100%; }
.buy__actions { grid-template-columns: auto minmax(0, 1fr); }
.buy__actions .btn { min-width: 0; white-space: normal; }
.bfact > span { min-width: 0; }
.bfact b, .bfact small { overflow-wrap: anywhere; }
.table-scroll, .cmp-wrap { max-width: 100%; }
/* посилання-стрілка: лише одна лінія (без підкреслення тексту з .prose) */
.link-arrow, .prose .link-arrow { text-decoration: none; }

.specs > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.specs dd, .specs dt { overflow-wrap: anywhere; }
@media (max-width: 420px) { .specs > div { gap: 10px; padding: 11px 12px; font-size: 14px; } }

/* ---------- переваги магазину ---------- */
.usp-wrap { padding: 18px 0 0; }
.usp { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--navy); color: #fff; border-radius: 16px; overflow: hidden; }
.usp__i { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: start; padding: 18px 16px; text-align: left; border-right: 1px solid rgba(255, 255, 255, .08); color: inherit; transition: background .2s; }
.usp__i:last-child { border-right: 0; }
button.usp__i:hover { background: rgba(255, 255, 255, .05); }
.usp__i .ico { grid-row: span 2; color: var(--sun); margin-top: 2px; }
.usp__i b { font: 700 16px/1.2 var(--fd); }
.usp__i span { font-size: 13px; color: #b9c6d6; line-height: 1.4; }
@media (max-width: 1100px) { .usp { grid-template-columns: repeat(3, 1fr); } .usp__i:nth-child(3) { border-right: 0; } .usp__i { border-bottom: 1px solid rgba(255, 255, 255, .08); } }
@media (max-width: 640px) { .usp { grid-template-columns: 1fr 1fr; } .usp__i { border-right: 0; padding: 14px 12px; grid-template-columns: 28px 1fr; } .usp__i .ico { width: 24px; height: 24px; } .usp__i b { font-size: 14px; } .usp__i span { font-size: 12px; } .usp__i:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- картка: частини + у кошик ---------- */
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); position: relative; z-index: 2; }
.card__parts { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.card__cart { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: var(--r); background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; flex: none; transition: background .2s; }
.card__cart:hover { background: var(--brand-d); }
.card__cart[disabled] { opacity: .6; }
@media (max-width: 559px) { .card__buy { flex-direction: column; align-items: stretch; } .card__cart { justify-content: center; } .card__parts { font-size: 11px; } }

/* ---------- товар: оплата ---------- */
.buy__pay { display: grid; gap: 6px; margin-top: 12px; }
.buy__online, .buy__parts { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.buy__online .ico, .buy__parts .ico { color: var(--brand); flex: none; }
.buy__online b, .buy__parts b { color: var(--ink); }
.buy__online em { font-style: normal; font-weight: 700; font-size: 12px; color: #fff; background: var(--coral); border-radius: 4px; padding: 2px 6px; margin-left: 4px; }
.btn--td { grid-column: 1 / -1; }

/* ---------- кошик / оформлення ---------- */
.summary__perks { display: grid; gap: 8px; margin: 4px 0 6px; padding: 12px; border-radius: var(--r); background: var(--sand); font-size: 13px; }
.summary__perks p { display: flex; align-items: center; gap: 8px; margin: 0; }
.summary__perks .ico { color: var(--brand); flex: none; }
.summary__disc { color: var(--brand-d); font-weight: 600; }
.summary__hint { font-size: 13px; }
.drawer__perks { display: grid; gap: 4px; font-size: 12px; color: var(--muted); margin: -2px 0 4px; }
.drawer__perks b { color: var(--ink); }
.cmp2__parts { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.cmp2__price .btn { display: flex; width: 100%; }

/* ---------- плашка −3% і попап тест-драйву ---------- */
.reg-badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 40px; background: var(--dot); color: #fff; box-shadow: 0 10px 26px rgba(240, 90, 40, .35); font-size: 13px; font-weight: 700; }
.reg-badge b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--dot); font: 700 14px/1 var(--fd); }
body.has-sticky .reg-badge { bottom: 88px; }
@media (max-width: 480px) { .reg-badge span { display: none; } .reg-badge { padding: 6px; } }
.modal__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dot); color: #fff; font: 700 20px/1 var(--fd); margin-bottom: 12px; }
.modal select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 16px; }
.modal__box { max-height: calc(100dvh - 32px); overflow-y: auto; }
.td-pop { position: fixed; z-index: 70; right: 16px; bottom: 88px; width: min(320px, calc(100vw - 32px)); padding: 18px 18px 16px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px rgba(13, 25, 40, .3); display: grid; gap: 8px; justify-items: start; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .35s var(--ease); }
.td-pop.is-on { opacity: 1; transform: none; }
.td-pop b { font: 700 18px/1.2 var(--fd); padding-right: 30px; }
.td-pop p { margin: 0; font-size: 14px; color: #c7d3e0; }
.td-pop__x { position: absolute; top: 6px; right: 6px; color: #fff; }
.td-pop__x:hover { background: rgba(255, 255, 255, .1); }
body.has-sticky .td-pop { bottom: 150px; }

.scene__buy { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 480px) { .scene__base { gap: 10px; } .scene__buy { width: 100%; justify-content: flex-start; gap: 8px; } .scene__buy > b { width: 100%; } }

/* ---------- банки біля «Частинами» ---------- */
.buy__parts .banks { display: inline-flex; gap: 6px; margin-left: 2px; }
.buy__parts .banks img { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- аксесуари ---------- */
.card--acc .card__media img { padding: 10%; }
.card__name--acc { font-size: 16px; line-height: 1.2; }
.card__buy--acc { border-top: 0; padding-top: 4px; margin-top: auto; align-items: center; }
.card--acc .card__body { gap: 6px; }
.rail--acc { grid-auto-columns: 62%; }
@media (min-width: 600px) { .rail--acc { grid-auto-columns: 34%; } }
@media (min-width: 1000px) { .rail--acc { grid-auto-columns: calc((100% - 56px) / 5); } }
.grid--acc { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .grid--acc { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid--acc { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 559px) { .card__buy--acc { flex-direction: row; align-items: center; } .card__buy--acc .card__cart span { display: none; } .card__buy--acc .card__cart { padding: 0 10px; } }
.acc-for { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--lemon-t); }
.acc-for label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.acc-for label .ico { color: var(--brand); }
.acc-for select { flex: 1; min-width: 220px; min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; background: var(--paper); font-weight: 600; }
.series-tabs a .ico { color: var(--brand); }
.series-tabs a.is-active .ico { color: var(--sun); }
.cart-up { margin-top: 28px; }
.cart-up h2 { font-size: 22px; margin-bottom: 12px; }

/* ---------- кнопка Google Maps ---------- */
.prose .btn, .store-card .btn { text-decoration: none; color: #fff; }
.prose .btn--ghost { color: var(--ink); }
.btn--maps { gap: 10px; }
.gmaps { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }

/* ---------- «крило» логотипа зліва від заголовків ---------- */
.sec__head h2::before, .page-head h1::before, .psec > h2::before, .footer__cta h2::before, .final h2::before, .band h2::before, .cart-up h2::before {
  content: ''; display: inline-block; width: .95em; height: .5em; margin-right: .3em; vertical-align: .1em;
  background: var(--dot); -webkit-mask: var(--wing) center / contain no-repeat; mask: var(--wing) center / contain no-repeat;
}
.band__in > .wing, .footer__wing { display: none; }
.kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); -webkit-mask: none; mask: none; }

/* шапка: 6 пунктів меню — компактніше */
.nav__link { white-space: nowrap; padding: 0 10px; font-size: 14.5px; }
@media (max-width: 1520px) { .header__phone span { display: none; } .header__phone { margin-right: 0; } }
@media (min-width: 1100px) and (max-width: 1260px) { .logo__sub { display: none; } .nav { margin-left: 6px; } .nav__link { padding: 0 8px; font-size: 14px; } }

.buy__parts { flex-wrap: wrap; row-gap: 6px; }
.buy__parts .banks { display: inline-flex; gap: 6px; margin-left: 0; }
.buy__parts .bank { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 5px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink); }
.buy__parts .bank img { width: 20px; height: 20px; border-radius: 50%; box-shadow: none; }

/* ==========================================================================
   ФОРМИ В СТИЛІ ЛОГОТИПА: темно-синій контур, помаранчева «крапка» й фокус
   ========================================================================== */
:root { --fld-h: 52px; --fld-r: 12px; --fld-b: #ddd4c4; --focus: rgba(240, 90, 40, .16); }
.field { gap: 7px; }
.field > span:first-child { font: 700 13px/1.2 var(--ft); letter-spacing: .01em; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.field > span:first-child::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); flex: none; }

.field input, .field select, .field textarea,
.fheight input, .price-range input, .toolbar select, .acc-for select, .modal select, .co-grid input {
  width: 100%; min-height: var(--fld-h); padding: 13px 16px; border: 1.5px solid var(--fld-b); border-radius: var(--fld-r);
  background: var(--paper); color: var(--ink); font: 500 16px/1.3 var(--ft); outline: 0; box-shadow: inset 0 1px 0 rgba(21, 38, 58, .03);
  transition: border-color .18s, box-shadow .18s, background .18s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder, .fheight input::placeholder, .price-range input::placeholder { color: #a7a193; font-weight: 400; }
.field input:hover, .field select:hover, .field textarea:hover, .fheight input:hover, .price-range input:hover, .toolbar select:hover, .acc-for select:hover, .modal select:hover { border-color: #c9bfae; }
.field input:focus, .field select:focus, .field textarea:focus, .fheight input:focus, .price-range input:focus, .toolbar select:focus, .acc-for select:focus, .modal select:focus {
  border-color: var(--dot); box-shadow: 0 0 0 4px var(--focus); background: #fff;
}
/* тел: прапорець-смужка зліва */
.field input[type=tel] { padding-left: 46px; background-image: linear-gradient(#2b63c6 0 50%, #ffd500 50% 100%); background-size: 20px 14px; background-position: 16px 50%; background-repeat: no-repeat; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
/* число — без стрілок */
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* списки — власна стрілка */
.field select, .toolbar select, .acc-for select, .modal select {
  padding-right: 46px; cursor: pointer; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f05a28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
.toolbar select { min-height: 44px; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.fheight input, .price-range input { min-height: 46px; padding: 10px 14px; }
/* помилки */
.field.has-error input, .field.is-invalid input, .field.has-error select { border-color: var(--err); box-shadow: 0 0 0 4px rgba(214, 66, 50, .12); }
.field__err, .field__hint { color: var(--err); font-size: 13px; font-weight: 600; }

/* радіо й чекбокси: коло з помаранчевою крапкою (як «i» в логотипі) */
.option input[type=radio], .form input[type=checkbox], .field input[type=checkbox] {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; flex: none; border: 2px solid var(--fld-b); border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: border-color .18s, box-shadow .18s;
}
.option input[type=radio]::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); transform: scale(0); transition: transform .2s cubic-bezier(.34, 1.8, .5, 1); }
.option input[type=radio]:checked { border-color: var(--ink); }
.option input[type=radio]:checked::after { transform: scale(1); }
.option input[type=radio]:focus-visible { box-shadow: 0 0 0 4px var(--focus); outline: 0; }
.option { border-radius: var(--fld-r); border-color: var(--fld-b); background: var(--paper); transition: border-color .18s, box-shadow .18s, background .18s; }
.option:hover { border-color: #c9bfae; }
.option:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: inset 4px 0 0 var(--dot); }

/* кнопки-чипи фільтрів і кількості платежів: вибране — темне з крапкою */
.fopt input:checked + span { position: relative; padding-left: 26px; }
.fopt input:checked + span::before { content: ''; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--dot); }
.fopt span { border-radius: 10px; }

/* пошук */
.search__box { border-radius: 14px; border-color: var(--fld-b); transition: border-color .18s, box-shadow .18s; }
.search__box:focus-within { border-color: var(--dot); box-shadow: 0 0 0 4px var(--focus); }
.search__box > .ico { color: var(--dot); }

/* кількість */
.qty { border-radius: var(--fld-r); border-color: var(--fld-b); }
.qty:focus-within { border-color: var(--dot); box-shadow: 0 0 0 4px var(--focus); }
.qty button:hover { color: var(--dot); }

/* повзунок росту */
.fitcalc input[type=range]::-webkit-slider-thumb { background: var(--ink); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--dot), 0 3px 10px rgba(0, 0, 0, .2); border: 0; }
.fitcalc input[type=range]::-moz-range-thumb { background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--dot); }

/* зірки відгуку */
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--dot); }

/* модальні форми: «крило» біля заголовка */
.modal__title::before { content: ''; display: inline-block; width: .95em; height: .5em; margin-right: .3em; vertical-align: .1em; background: var(--dot); -webkit-mask: var(--wing) center / contain no-repeat; mask: var(--wing) center / contain no-repeat; }
.modal__box { border-radius: 18px; }
.form .btn--block { min-height: 54px; border-radius: var(--fld-r); }
