/* =========================================================
   MET Україна — design system 2026
   ========================================================= */
:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --card: #ffffff;
  --ink: #0d0d0e;
  --ink-2: #2b2b2d;
  --muted: #6f6d68;
  --line: #e1dfd8;
  --line-2: #d2cfc6;
  --red: #e10600;
  --red-2: #b80500;
  --yellow: #ffe14d;
  --green: #1f9d55;
  --amber: #d98a00;
  --dark: #0d0d0e;
  --dark-2: #18181a;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 1px 2px rgba(13,13,14,.04), 0 12px 32px -12px rgba(13,13,14,.18);
  --shadow-lg: 0 30px 80px -30px rgba(13,13,14,.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Open Sans', 'Arial Narrow', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.1,1);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
sup { font-size: .5em; vertical-align: super; font-weight: 600; color: var(--muted); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 1100px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- typography ---------- */
.display, .h1, .h2, .buy__title, .hero__title, .tile__name, .footer__title, .card__name, .step__title, .h4 {
  font-family: var(--display); font-stretch: 75%; letter-spacing: -.01em;
}
.display { font-size: clamp(40px, 6.4vw, 96px); font-weight: 700; line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.display--dark { color: var(--ink); }
.h1 { font-size: clamp(32px, 4.2vw, 60px); font-weight: 700; line-height: .96; text-transform: uppercase; }
.h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.h4 { font-size: 22px; font-weight: 700; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.kicker--red { color: var(--red); }
.kicker--light { color: rgba(255,255,255,.75); }
.kicker--yellow { color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: var(--c);
  font: 600 15px/1 var(--font); letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--dark { --b: var(--ink); --c: #fff; }
.btn--dark:hover { --b: #000; box-shadow: var(--shadow); }
.btn--red { --b: var(--red); --c: #fff; }
.btn--red:hover { --b: var(--red-2); box-shadow: 0 14px 30px -12px rgba(225,6,0,.6); }
.btn--yellow { --b: var(--yellow); --c: var(--ink); }
.btn--light { --b: #fff; --c: var(--ink); }
.btn--outline { --b: transparent; --c: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost-light { --b: rgba(255,255,255,.08); --c: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { --b: rgba(255,255,255,.18); border-color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; transition: background .2s; }
.icon-btn:hover { background: rgba(13,13,14,.06); }
.icon-btn--round { border: 1.5px solid var(--line-2); background: var(--surface); }
.icon-btn--round:hover { border-color: var(--ink); background: var(--surface); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 1.5px solid currentColor; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; transition: .2s;
}
.chip small { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active small { color: rgba(255,255,255,.6); }
.chip--red { border-color: rgba(225,6,0,.35); color: var(--red); }
.chip--red.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.chip--yellow { background: var(--yellow); border-color: var(--yellow); }
.chip--yellow.is-active { background: var(--ink); color: var(--yellow); }

.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 700 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.badge--new { background: var(--red); color: #fff; }
.badge--mips { background: var(--yellow); color: var(--ink); }
.badge--sale { background: var(--ink); color: #fff; }
.badge--xs { height: 20px; font-size: 10px; padding: 0 7px; vertical-align: middle; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--red { background: var(--red); } .dot--yellow { background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.15); } .dot--green { background: var(--green); }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 12.5px; letter-spacing: .02em; overflow: hidden; height: 36px; display: flex; align-items: center; }
.topbar__track { display: flex; align-items: center; gap: 28px; white-space: nowrap; animation: marquee 40s linear infinite; padding-left: 28px; }
.topbar__track i { width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(244,243,239,.82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid rgba(13,13,14,.07); transition: background .3s, color .3s, border-color .3s; }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header--over:not(.is-scrolled) { position: fixed; left: 0; right: 0; top: 36px; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header--over:not(.is-scrolled) .icon-btn:hover { background: rgba(255,255,255,.12); }
.header--over:not(.is-scrolled) .langs a.is-active { background: #fff; color: var(--ink); }
.header--over.is-scrolled { position: fixed; left: 0; right: 0; top: 0; }
.header__burger { display: none; margin-left: -10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.header--over:not(.is-scrolled) .logo { color: #fff; }
.logo__mark { width: 96px; height: auto; }
.logo__mark path { fill: var(--red); }
.header--over:not(.is-scrolled) .logo__mark path { fill: #fff; }
.logo__sub { font: 700 10px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; padding: 5px 7px; border: 1.5px solid currentColor; border-radius: 6px; }
.logo--light { color: #fff; }
.logo--light .logo__mark path { fill: #fff; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.nav__link:hover, .nav__item--mega:hover > .nav__link { background: rgba(13,13,14,.06); }
.header--over:not(.is-scrolled) .nav__link:hover, .header--over:not(.is-scrolled) .nav__item--mega:hover > .nav__link { background: rgba(255,255,255,.14); }
.nav__link.is-active { background: var(--ink); color: #fff; }
.nav__link--new { color: var(--red); font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 17px; }
.header--over:not(.is-scrolled) .nav__link--new { color: #fff; background: var(--red); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1.3fr 1fr 360px; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega__cats { display: grid; gap: 2px; }
.mega__cat { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-stretch: 75%; font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1; transition: color .2s, padding .25s var(--ease); }
.mega__cat small { font: 500 13px var(--font); color: var(--muted); }
.mega__cat:hover { color: var(--red); padding-left: 8px; }
.mega__cat--all { font-size: 18px; border: 0; align-items: center; color: var(--muted); }
.mega__links { display: grid; align-content: start; gap: 6px; }
.mega__links a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; font-weight: 600; background: var(--bg); transition: background .2s; }
.mega__links a:hover { background: var(--card); }
.mega__promo { position: relative; display: block; background: var(--card); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.mega__promo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.mega__promo:hover img { transform: scale(1.05) rotate(-2deg); }
.mega__promo-k { position: absolute; left: 20px; top: 20px; } .mega__promo-k { background: var(--red); color: #fff; font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.mega__promo-t { position: absolute; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 75%; font-size: 34px; font-weight: 700; text-transform: uppercase; }

.header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; padding: 0 12px; height: 44px; border-radius: 999px; }
.header__phone:hover { background: rgba(13,13,14,.06); }
.langs { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(13,13,14,.06); font: 700 12px/1 var(--font); }
.header--over:not(.is-scrolled) .langs { background: rgba(255,255,255,.14); }
.langs a { padding: 7px 9px; border-radius: 999px; opacity: .7; }
.langs a.is-active { background: var(--ink); color: #fff; opacity: 1; }
.langs--block { width: 100%; display: flex; }
.langs--block a { flex: 1; text-align: center; padding: 12px; font-size: 14px; }
.cart-btn { position: relative; }
.cart-btn__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/20px var(--font); text-align: center; }
.cart-btn.is-bump .cart-btn__count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ---------- hero ---------- */
.hero { position: relative; height: min(100svh, 920px); min-height: 620px; background: var(--dark); color: #fff; overflow: hidden; margin-top: -36px; padding-top: 36px; }
.is-home main { margin-top: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg img { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,9,.82) 0%, rgba(8,8,9,.5) 38%, rgba(8,8,9,0) 70%), linear-gradient(0deg, rgba(8,8,9,.55) 0%, rgba(8,8,9,0) 35%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: 130px; }
.hero__title { font-size: clamp(52px, 8vw, 128px); font-weight: 700; line-height: .86; text-transform: uppercase; letter-spacing: -.025em; max-width: 12ch; margin-bottom: 26px; font-stretch: 75%; }
.hero__text { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; max-width: 520px; color: rgba(255,255,255,.85); margin-bottom: 34px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__slide.is-active .hero__content > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; }
.hero__dot { text-align: left; color: rgba(255,255,255,.6); font: 600 12px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.hero__dot span { display: block; margin-bottom: 10px; }
.hero__dot i { display: block; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; border-radius: 2px; }
.hero__dot i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active { color: #fff; }
.hero__dot.is-active i::after { animation: progress var(--hero-t, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; gap: 36px; white-space: nowrap; animation: marquee 50s linear infinite; font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); text-transform: uppercase; align-items: center; }
.ticker__track b { font-size: .6em; opacity: .7; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--surface); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(240px, 22vw, 340px); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--dark); color: #fff; isolation: isolate; min-height: 260px; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: -1; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); z-index: -1; }
.tile:hover .tile__img { transform: scale(1.06); }
.tile--kids { background: var(--yellow); color: var(--ink); }
.tile--kids::after { display: none; }
.tile__cut { position: absolute; right: -4%; top: 4%; width: 78%; transform: rotate(-10deg); filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); transition: transform .8s var(--ease); }
.tile--kids:hover .tile__cut { transform: rotate(0) scale(1.05); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.tile__count { grid-column: 1; font-size: 13px; font-weight: 600; opacity: .8; margin-bottom: 6px; }
.tile__name { grid-column: 1; font-size: clamp(30px, 3.2vw, 54px); font-weight: 700; text-transform: uppercase; line-height: .9; font-stretch: 75%; }
.tile--xl .tile__name { font-size: clamp(44px, 5.6vw, 96px); }
.tile__go { grid-column: 2; grid-row: 1 / 3; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .35s var(--ease), background .2s; }
.tile--kids .tile__go { background: var(--ink); color: #fff; }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--red); color: #fff; }

/* rail */
.rail { position: relative; }
.rail__track { --pad: max(var(--gutter), calc((100vw - 1480px) / 2 + var(--gutter))); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 22vw, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 20px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--card); overflow: hidden; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.card__img--2 { opacity: 0; }
.card__media.has-2:hover .card__img--1 { opacity: 0; }
.card__media.has-2:hover .card__img--2 { opacity: 1; }
.card:hover .card__img { transform: scale(1.04); }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.card__sizes { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.card:hover .card__sizes { opacity: 1; transform: none; }
.card__sizes span { min-width: 34px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); font: 700 12px/1 var(--font); color: var(--muted); }
.card__sizes span.is-in { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
.card__type { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__dots { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.card__dots small { font-size: 11px; color: var(--muted); margin-left: 2px; }
.dot-sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: transform .2s; }
.dot-sw:hover { transform: scale(1.25); }
.dot-sw.is-active { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.card__name { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.card__price { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 17px; }
.card__price s { font-weight: 500; font-size: 13px; color: var(--muted); }
.card__price.is-sale span { color: var(--red); }
.card .dot-sw, .card__dots { position: relative; z-index: 2; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.stock-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-pill.is-in { color: var(--green); }

/* ---------- Mips section ---------- */
.mips { background: var(--dark); color: #fff; overflow: hidden; position: relative; }
.mips__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); }
.mips .lead { color: rgba(255,255,255,.72); max-width: 580px; }
.mips .display { margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 34px 0 38px; }
.stats b { display: block; font-family: var(--display); font-stretch: 75%; font-size: clamp(38px, 4vw, 60px); font-weight: 700; line-height: 1; }
.stats b small { font-size: .4em; margin-left: 4px; }
.stats span { font-size: 13px; color: rgba(255,255,255,.6); }
.mips__visual-old { }
.mips__visual img { position: relative; width: 92%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite; }
.mips__ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(255,225,77,.35); animation: spin 26s linear infinite; }
.mips__ring::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 20px var(--yellow); }
.mips__ring--2 { inset: 18%; border-color: rgba(255,255,255,.14); animation-duration: 18s; animation-direction: reverse; }
.mips__ring--2::before { background: var(--red); box-shadow: 0 0 20px var(--red); }
.mips__ring--3 { inset: 0; border-style: dashed; border-color: rgba(255,255,255,.08); animation-duration: 60s; }
.mips__ring--3::before { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }

/* ---------- Tube ---------- */
.tube { position: relative; color: #fff; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.tube__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tube::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,9,.9), rgba(8,8,9,.2)); }
.tube__content { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 100px; }
.tube .display { max-width: 14ch; margin-bottom: 24px; }
.tube .lead { color: rgba(255,255,255,.8); max-width: 600px; }
.stats--light span { color: rgba(255,255,255,.65); }

/* ---------- USP ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp__item { background: var(--surface); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.usp__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.usp__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--bg); display: grid; place-items: center; margin-bottom: 22px; color: var(--red); }
.usp__item h3 { font-size: 19px; margin-bottom: 8px; }
.usp__item p { color: var(--muted); font-size: 15px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.sizecard .h1, .split .h1 { margin-bottom: 20px; }
.sizescale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 28px 0 32px; }
.sizescale div { background: var(--bg); border-radius: 14px; padding: 16px 10px; text-align: center; }
.sizescale b { display: block; font-family: var(--display); font-stretch: 75%; font-size: 30px; font-weight: 700; line-height: 1; }
.sizescale span { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__a { padding: 0 60px 22px 0; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding-top: 72px; overflow: hidden; position: relative; }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer__title { color: #fff; font-size: clamp(34px, 4.4vw, 68px); font-weight: 700; line-height: .92; text-transform: uppercase; max-width: 16ch; font-stretch: 75%; }
.footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 56px 0; }
.footer h3 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font); }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__brand p { margin: 18px 0; max-width: 380px; font-size: 15px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.footer__phone { font-family: var(--display); font-stretch: 75%; font-size: 26px; font-weight: 700; color: #fff; }
.footer__pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.footer__pay span { font-size: 11px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }
.footer__legal { display: flex; gap: 18px; }
.footer__giant { color: rgba(255,255,255,.05); padding: 0 var(--gutter); margin-bottom: -2.5%; pointer-events: none; }
.footer__giant .logo__mark { width: 100%; }
.footer__giant .logo__mark path { fill: rgba(255,255,255,.05); }
.footer__giant .logo__sub { display: none; }
.footer .muted { color: rgba(255,255,255,.5); }

/* ---------- drawers & modals ---------- */
.drawer, .modal, .lightbox { position: fixed; inset: 0; z-index: 100; }
.drawer::before, .modal::before { content: ''; position: absolute; inset: 0; background: rgba(13,13,14,.45); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(460px, 100vw); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer--right .drawer__panel { right: 0; animation: slideL .4s var(--ease); }
.drawer--left .drawer__panel { left: 0; animation: slideR .4s var(--ease); }
.drawer--top .drawer__panel { left: 0; right: 0; bottom: auto; width: 100%; padding: 22px 0 28px; animation: slideD .35s var(--ease); max-height: 90vh; overflow: auto; }
@keyframes slideL { from { transform: translateX(100%); } }
@keyframes slideR { from { transform: translateX(-100%); } }
@keyframes slideD { from { transform: translateY(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--display); font-stretch: 75%; font-size: 28px; font-weight: 700; text-transform: uppercase; }
.drawer__body { flex: 1; overflow: auto; padding: 18px 22px; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 4px; }
.drawer__total b { font-size: 26px; }

.mnav { display: grid; }
.mnav__cat { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-stretch: 75%; font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.mnav__cat small { font: 500 13px var(--font); color: var(--muted); margin-right: auto; }
.mnav__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.mnav__links { display: grid; gap: 4px; }
.mnav__links a { padding: 10px 0; font-weight: 500; color: var(--ink-2); }

.search { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.search__input { flex: 1; border: 0; background: none; outline: none; font-family: var(--display); font-stretch: 75%; font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; min-width: 0; }
.search__input::placeholder { color: var(--line-2); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.suggest { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 20px; }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--bg); transition: background .2s; }
.suggest a:hover { background: var(--card); }
.suggest img { width: 64px; height: 64px; border-radius: 12px; background: var(--card); object-fit: contain; mix-blend-mode: multiply; }
.suggest b { display: block; font-size: 15px; }
.suggest small { color: var(--muted); font-size: 12.5px; }
.suggest .suggest__all { grid-column: 1 / -1; justify-content: center; background: var(--ink); color: #fff; font-weight: 600; }

.modal { display: grid; place-items: center; padding: 16px; }
.modal__box { position: relative; width: min(460px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 26px; padding: 36px 32px 30px; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease); }
.modal__box--wide { width: min(760px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__title { font-family: var(--display); font-stretch: 75%; font-size: 34px; font-weight: 700; text-transform: uppercase; line-height: .95; margin-bottom: 10px; padding-right: 40px; }
.modal__text { color: var(--muted); }
.modal__product { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 10px; margin-bottom: 14px; }
.modal__product img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.modal__product b { display: block; font-size: 14px; }
.modal__product small { color: var(--muted); }

.lightbox { background: rgba(244,243,239,.98); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; mix-blend-mode: multiply; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: var(--surface); box-shadow: var(--shadow); }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toast .4s var(--ease); max-width: calc(100vw - 32px); }
.toast::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.toast.is-error::before { background: var(--red); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 20px); } }

/* mini cart */
.mini-empty { text-align: center; padding: 50px 10px; color: var(--muted); display: grid; justify-items: center; gap: 6px; }
.mini-empty b { color: var(--ink); font-size: 18px; }
.free-bar { background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.free-bar i { display: block; height: 5px; border-radius: 5px; background: var(--line); margin-top: 10px; overflow: hidden; }
.free-bar b { display: block; height: 100%; background: var(--red); border-radius: 5px; transition: width .5s var(--ease); }
.free-bar.is-done b { background: var(--green); }
.mini-item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-item__img { background: var(--card); border-radius: 14px; aspect-ratio: 1; overflow: hidden; }
.mini-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini-item__name { font-weight: 700; padding-right: 30px; }
.mini-item__var { font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.mini-item__pre { font-size: 12px; font-weight: 600; color: var(--amber); margin-bottom: 6px; }
.mini-item__row { display: flex; align-items: center; justify-content: space-between; }
.mini-item__rm { position: absolute; right: 0; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.mini-item__rm:hover { background: var(--bg); color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; height: 40px; }
.qty button { width: 36px; height: 100%; display: grid; place-items: center; }
.qty input { width: 34px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; position: relative; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea, .price-range input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .price-range input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13,13,14,.06); }
.field.has-err input { border-color: var(--red); }
.field__err { color: var(--red); font-size: 13px; }
.form__msg { font-size: 14px; font-weight: 600; margin: 0; }
.form__msg.is-ok { color: var(--green); } .form__msg.is-err { color: var(--red); }
.alert { background: #fdecea; color: #8a1410; border-radius: 16px; padding: 16px 20px; margin-bottom: 20px; font-weight: 500; }
.alert p { margin: 0; }
.note { background: #fff6e0; color: #6b4a00; border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.note--ok { background: #e6f6ec; color: #125c32; }

/* ---------- breadcrumbs, page head ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 22px 0 0; margin: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--ink); }
.page-head { padding: 26px 0 30px; }
.page-head .display { margin-bottom: 14px; }
.page-head__lead { max-width: 780px; color: var(--muted); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }

/* ---------- listing ---------- */
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; padding-bottom: 90px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters__form { background: var(--surface); border-radius: var(--radius); padding: 22px; display: grid; gap: 22px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__close { display: none; }
.filters__group { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.filters__group legend { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.filters__actions { display: grid; gap: 8px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.size-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pick label, .fam-pick label { cursor: pointer; }
.size-pick input, .fam-pick input { position: absolute; opacity: 0; }
.size-pick span { display: grid; place-items: center; min-width: 48px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 13px; transition: .2s; }
.size-pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-pick input:focus-visible + span, .fam-pick input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.fam-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fam-pick span { display: block; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); transition: .2s; }
.fam-pick em { display: none; }
.fam-pick input:checked + span { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { height: 44px; }
.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.toolbar__filters { display: none; }
.toolbar__count { color: var(--muted); font-size: 14px; font-weight: 500; }
.count-dot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; }
.select { position: relative; margin-left: auto; display: inline-flex; align-items: center; }
.select select { appearance: none; height: 44px; padding: 0 40px 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.select svg { position: absolute; right: 14px; pointer-events: none; }
.more { display: flex; justify-content: center; margin-top: 36px; }
.empty { text-align: center; padding: 70px 20px; background: var(--surface); border-radius: var(--radius); color: var(--muted); display: grid; justify-items: center; gap: 12px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); gap: clamp(24px, 4vw, 64px); padding: 18px 0 70px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.gallery__main { grid-column: 2; grid-row: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 28px; background: var(--card); aspect-ratio: 1; scrollbar-width: none; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; cursor: zoom-in; display: grid; place-items: center; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4%; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: grid; align-content: start; gap: 10px; max-height: 100%; overflow: auto; scrollbar-width: none; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: 14px; background: var(--card); overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__badges { position: absolute; left: calc(84px + 14px + 20px); top: 20px; display: flex; gap: 6px; pointer-events: none; }

.buy { position: sticky; top: calc(var(--header-h) + 16px); }
.buy__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.buy__cat { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.buy__title { font-size: clamp(44px, 5vw, 78px); font-weight: 700; text-transform: uppercase; line-height: .88; letter-spacing: -.02em; font-stretch: 75%; margin-bottom: 12px; }
.buy__type { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }
.buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.buy__price b { font-family: var(--display); font-stretch: 75%; font-size: 40px; font-weight: 700; line-height: 1; }
.buy__price s { color: var(--muted); font-size: 18px; }
.buy__parts { font-size: 14px; color: var(--muted); width: 100%; }
.opt { margin-bottom: 22px; }
.opt__label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.opt__label b { color: var(--ink); }
.opt__label .link-btn { margin-left: auto; color: var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.swatch { position: relative; aspect-ratio: 1; border-radius: 14px; background: var(--card); overflow: hidden; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.swatch:hover { transform: translateY(-2px); }
.swatch.is-active { border-color: var(--ink); }
.swatch img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.swatch i { position: absolute; inset: 18%; border-radius: 50%; }
.swatch.has-stock::after { content: ''; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--card); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.size { position: relative; display: grid; gap: 2px; justify-items: center; padding: 12px 8px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); transition: .2s; }
.size b { font-family: var(--display); font-stretch: 75%; font-size: 22px; font-weight: 700; line-height: 1; }
.size span { font-size: 12px; color: var(--muted); }
.size::after { content: ''; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.size.is-in::after { background: var(--green); }
.size:hover { border-color: var(--ink); }
.size.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.size.is-active span { color: rgba(255,255,255,.7); }
.sizes.is-shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 12px 0 0; }
.stock-line i { width: 8px; height: 8px; border-radius: 50%; }
.stock-line i.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.stock-line i.pre { background: var(--amber); box-shadow: 0 0 0 4px rgba(217,138,0,.15); }
.buy__actions { display: flex; gap: 10px; margin: 6px 0 12px; }
.buy__pre { font-size: 14px; color: var(--muted); background: var(--surface); border-radius: 14px; padding: 12px 16px; }
.buy__usp { display: grid; gap: 2px; margin: 22px 0; border-radius: 18px; overflow: hidden; }
.buy__usp li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); padding: 14px 16px; }
.buy__usp svg { flex: none; color: var(--red); margin-top: 2px; }
.buy__usp b { display: block; font-size: 14px; }
.buy__usp span { font-size: 13px; color: var(--muted); }
.twin { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px; border: 1.5px solid var(--line-2); transition: border-color .2s; }
.twin:hover { border-color: var(--ink); }
.twin img { width: 64px; height: 64px; border-radius: 12px; background: var(--card); object-fit: contain; mix-blend-mode: multiply; }
.twin span { flex: 1; display: grid; }
.twin small { font-size: 12px; color: var(--muted); }
.twin em { font-style: normal; font-size: 13px; color: var(--muted); }
.buy__sku { font-size: 13px; margin-top: 14px; }

.features { background: var(--dark); color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.features .display { margin-bottom: 40px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px; transition: background .3s, transform .3s var(--ease); }
.feature:hover { background: #1f1f22; transform: translateY(-3px); }
.feature--hero { grid-column: span 2; background: var(--red); border-color: var(--red); }
.feature--hero:hover { background: var(--red-2); }
.feature__n { font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 16px; opacity: .5; }
.feature h3 { font-family: var(--display); font-stretch: 75%; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 30px 0 12px; }
.feature--hero h3 { font-size: clamp(32px, 3.4vw, 52px); }
.feature p { color: rgba(255,255,255,.72); margin: 0; }
.feature--hero p { color: rgba(255,255,255,.92); font-size: 17px; max-width: 640px; }

.pdp-body { padding-top: clamp(50px, 6vw, 90px); }
.pdp-sec { padding-bottom: clamp(48px, 6vw, 80px); }
.pdp-sec--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp-sec__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.pdp-sec__head .h2 { margin: 0; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 0 0 1em; }
.prose h2 { font-family: var(--display); font-stretch: 75%; font-size: 30px; font-weight: 700; text-transform: uppercase; margin: 1.6em 0 .5em; color: var(--ink); }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose li { padding-left: 22px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--red); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { font-size: 20px; color: var(--ink); }
.prose--page { padding-bottom: 90px; max-width: 820px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.contacts-grid > div { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.contacts-grid h2 { margin-top: 0 !important; font-size: 18px !important; color: var(--muted) !important; }
.big-link { font-family: var(--display); font-stretch: 75%; font-size: 30px; font-weight: 700; text-decoration: none !important; }
.fit { display: flex; gap: 8px; align-items: flex-start; background: var(--surface); border-radius: 16px; padding: 16px 18px; font-size: 15px; }
.fit svg { color: var(--green); flex: none; margin-top: 3px; }
.specs { display: grid; gap: 0; background: var(--surface); border-radius: var(--radius); padding: 8px 24px; }
.specs li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs li:last-child { border: 0; }
.specs svg { color: var(--red); flex: none; margin-top: 2px; }
.size-table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); padding: 8px 20px; margin-bottom: 12px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table tr:last-child th, .size-table tr:last-child td { border: 0; }
.size-table thead th { font-family: var(--display); font-stretch: 75%; font-size: 24px; font-weight: 700; }
.size-table tbody th { text-align: left; font-weight: 600; color: var(--muted); }
.size-table--all td { text-align: left; }
.size-table--all tbody th a { font-family: var(--display); font-stretch: 75%; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.size-cells { display: flex; flex-wrap: wrap; gap: 8px; }
.size-cells span { display: inline-flex; align-items: baseline; gap: 6px; background: var(--bg); border-radius: 10px; padding: 7px 10px; font-size: 14px; }
.size-cells b { font-weight: 700; }
.size-cells em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.howto { display: flex; gap: 20px; align-items: center; background: var(--bg); border-radius: 18px; padding: 18px; margin-top: 18px; }
.howto svg { flex: none; }
.howto p { margin: 0; font-size: 15px; }
.howto-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 50px; }
.howto-steps div { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.howto-steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-size: 20px; margin-bottom: 14px; }
.howto-steps p { margin: 0; }

.reviews { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.reviews__list { display: grid; gap: 12px; }
.review { background: var(--surface); border-radius: 18px; padding: 20px 22px; }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review time { margin-left: auto; font-size: 13px; color: var(--muted); }
.review p { margin: 0; }
.review-form { background: var(--surface); border-radius: var(--radius); padding: 26px; margin: 0; }
.stars { --r: 100%; display: inline-block; width: 90px; height: 16px; background: linear-gradient(90deg, #f5b301 var(--r), var(--line-2) var(--r)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'%3E%3Cg%3E%3Cpath id='s' d='m8 .5 2.3 4.8 5.2.7-3.8 3.6.9 5.2L8 12.3l-4.6 2.5.9-5.2L.5 6l5.2-.7z'/%3E%3Cuse href='%23s' x='18.5'/%3E%3Cuse href='%23s' x='37'/%3E%3Cuse href='%23s' x='55.5'/%3E%3Cuse href='%23s' x='74'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'%3E%3Cg%3E%3Cpath id='s' d='m8 .5 2.3 4.8 5.2.7-3.8 3.6.9 5.2L8 12.3l-4.6 2.5.9-5.2L.5 6l5.2-.7z'/%3E%3Cuse href='%23s' x='18.5'/%3E%3Cuse href='%23s' x='37'/%3E%3Cuse href='%23s' x='55.5'/%3E%3Cuse href='%23s' x='74'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
.stars--big { display: flex; align-items: center; gap: 10px; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; font-weight: 700; font-size: 22px; }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate input { position: absolute; opacity: 0; }
.rate label { cursor: pointer; color: var(--line-2); transition: color .15s, transform .15s; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: #f5b301; }
.rate svg { fill: currentColor; }

.buybar { display: none; }

/* ---------- cart / checkout ---------- */
.cart-page { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; padding-bottom: 90px; }
.cart-page__list { display: grid; gap: 10px; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto auto auto; gap: 18px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 14px 18px 14px 14px; }
.cart-row__img { background: var(--card); border-radius: 14px; aspect-ratio: 1; overflow: hidden; }
.cart-row__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-row__info { display: grid; gap: 3px; justify-items: start; }
.cart-row__name { font-family: var(--display); font-stretch: 75%; font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.cart-row__sum { font-size: 18px; min-width: 100px; text-align: right; }
.summary { background: var(--surface); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.summary--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.summary__total b { font-family: var(--display); font-stretch: 75%; font-size: 34px; font-weight: 700; }
.summary__items { display: grid; gap: 12px; max-height: 360px; overflow: auto; }
.sum-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sum-item__img { position: relative; background: var(--card); border-radius: 12px; aspect-ratio: 1; }
.sum-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sum-item__img i { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/22px var(--font); text-align: center; font-style: normal; }
.sum-item__name { font-weight: 700; display: grid; }
.sum-item__name small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; padding-bottom: 90px; }
.checkout__main { display: grid; gap: 14px; }
.step { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.step__title { display: flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 700; text-transform: uppercase; }
.step__title span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--wide { grid-column: 1 / -1; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios--col { grid-template-columns: 1fr; }
.radio-card { cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card > span { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line-2); transition: .2s; height: 100%; }
.radio-card--row > span { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.radio-card > span svg { color: var(--muted); }
.radio-card small { color: var(--muted); font-size: 13px; }
.radio-card img { border-radius: 8px; }
.radio-card input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--bg); }
.radio-card input:checked + span svg { color: var(--red); }
.radio-card input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.ac { position: relative; }
.ac__list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); margin-top: 6px; max-height: 300px; overflow: auto; padding: 6px; }
.ac__list button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.ac__list button:hover, .ac__list button.is-hover { background: var(--bg); }
.ac__list small { display: block; color: var(--muted); font-size: 12px; }

.success { text-align: center; padding: 50px 0 100px; display: grid; justify-items: center; gap: 16px; }
.success .summary { width: min(560px, 100%); text-align: left; }
.success__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; animation: pop .5s var(--ease); }
.success__icon--pay { background: var(--ink); }
.success__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.not-found { text-align: center; padding: 80px 0 110px; display: grid; justify-items: center; gap: 14px; }
.not-found > b { font-family: var(--display); font-stretch: 75%; font-size: clamp(120px, 22vw, 260px); line-height: .8; font-weight: 700; color: var(--red); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .header__phone span { display: none; }
  .nav__link { padding: 0 11px; font-size: 14px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .mega__inner { grid-template-columns: 1.3fr 1fr 280px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header__burger { display: inline-grid; }
  .header__phone { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 300px; max-height: none; }
  .tile--xl { grid-column: span 2; grid-row: span 1; }
  .tile--tall { grid-row: span 1; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 100; display: none; top: 0; }
  .filters.is-open { display: block; }
  .filters::before { content: ''; position: absolute; inset: 0; background: rgba(13,13,14,.45); }
  .filters__form { position: absolute; left: 0; top: 0; bottom: 0; width: min(380px, 92vw); border-radius: 0 var(--radius) var(--radius) 0; overflow: auto; animation: slideR .35s var(--ease); }
  .filters__close { display: inline-grid; }
  .toolbar__filters { display: inline-flex; }
  .grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr; }
  .gallery, .buy { position: relative; top: auto; }
  .mips__grid { grid-template-columns: 1fr; }
  .mips__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .split, .pdp-sec--split, .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cart-page, .checkout { grid-template-columns: 1fr; }
  .summary--sticky { position: static; }
  .buybar { display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; align-items: center; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .buybar.is-visible { transform: none; }
  .buybar__info { flex: 1; display: grid; min-width: 0; }
  .buybar__info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__info span { font-weight: 700; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .topbar { height: 32px; font-size: 12px; }
  .hero { margin-top: -32px; padding-top: 32px; min-height: 600px; height: 92svh; }
  .header--over:not(.is-scrolled) { top: 32px; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(8,8,9,.9) 0%, rgba(8,8,9,.45) 55%, rgba(8,8,9,.15) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: 110px; }
  .hero__nav { grid-template-columns: repeat(3, 1fr); gap: 10px; bottom: 28px; }
  .hero__dot span { font-size: 10px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__cta .btn { flex: 1; }
  .logo__mark { width: 78px; }
  .logo__sub { font-size: 9px; padding: 4px 5px; }
  .langs { display: none; }
  .drawer__foot .langs { display: flex; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile--xl { grid-column: auto; grid-auto-rows: 320px; }
  .grid, .grid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 19px; }
  .card__type { display: none; }
  .card__top { justify-content: flex-start; min-height: 16px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card__price { font-size: 15.5px; }
  .card__sizes { display: none; }
  .badge { height: 22px; font-size: 10px; padding: 0 8px; }
  .card__badges { top: 10px; left: 10px; }
  .rail__track { grid-auto-columns: 72vw; gap: 10px; }
  .rail__nav { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .usp { grid-template-columns: 1fr; }
  .sizescale { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .sizescale b { font-size: 22px; }
  .sizescale span { font-size: 10.5px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; border-radius: 22px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; }
  .gallery__badges { left: 14px; top: 14px; }
  .buy__actions { flex-direction: column; }
  .features__grid { grid-template-columns: 1fr; }
  .feature--hero { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__cta-actions .btn { width: 100%; }
  .fields, .radios { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 84px 1fr auto; grid-template-areas: 'img info rm' 'img qty sum'; gap: 10px 14px; }
  .cart-row__img { grid-area: img; } .cart-row__info { grid-area: info; } .cart-row .qty { grid-area: qty; justify-self: start; } .cart-row__sum { grid-area: sum; min-width: 0; } .cart-row > .icon-btn { grid-area: rm; align-self: start; }
  .cart-row__name { font-size: 19px; }
  .howto-steps, .contacts-grid { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; }
  .modal__box { padding: 30px 22px 24px; border-radius: 22px; }
  .toolbar { flex-wrap: wrap; gap: 10px; }
  .toolbar__count { order: 3; width: 100%; }
  .is-product .toast { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- size guide (як на met-helmets.com) ---------- */
.sg { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
.sg__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.sg__title { font-family: var(--display); font-stretch: 75%; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.sg__title b { font-weight: 700; }
.sg__title span { font-weight: 400; color: var(--red); }
.sg__scroll { overflow-x: auto; }
.sg__table { width: 100%; border-collapse: collapse; font-family: var(--display); font-stretch: 75%; font-size: 18px; }
.sg__table thead th { text-align: left; font-weight: 700; height: 76px; vertical-align: top; padding: 4px 14px; border-left: 1.5px solid var(--ink); }
.sg__table thead th:first-child { border: 0; }
.sg__table tbody th { text-align: left; white-space: nowrap; padding: 10px 14px 10px 10px; font-weight: 400; }
.sg__table tbody th b { font-weight: 700; }
.sg__table tbody th span { color: var(--muted); }
.sg__table td { padding: 10px 14px; white-space: nowrap; }
.sg__table tbody tr { border-bottom: 1.5px solid var(--ink); }
.sg__note { font-family: var(--display); font-stretch: 75%; font-size: 16px; margin: 12px 0 0; color: var(--ink-2); }
.sg__how { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.modal__box--sg { width: min(900px, 100%); padding: 44px 36px 32px; }
.modal__box--sg .sg { padding: 0; }
@media (max-width: 760px) { .sg { grid-template-columns: 1fr; } .sg__img { max-width: 180px; margin: 0 auto; } .sg__table { font-size: 16px; } }
.footer__pay { align-items: center; }
.footer__pay svg { display: block; }
.footer__seller { font-size: 12.5px; color: rgba(255,255,255,.5); padding-bottom: 22px; }

/* ---------- Bluegrass ---------- */
:root { --bg-green: #b5d334; }
.bg-logo { display: inline-flex; color: var(--ink); }
.bg-logo__svg { height: 34px; width: auto; }
.bg-logo--light { color: #fff; margin-bottom: 26px; }
.bg-logo--light .bg-logo__svg { height: 44px; }
.bg-logo--sm .bg-logo__svg { height: 22px; }
.page-head--bg .bg-logo { margin-bottom: 18px; }
.nav__link--bg { font-weight: 700; }
.nav__link--bg::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bg-green); margin-right: 4px; }
.chip--bg { background: var(--ink); border-color: var(--ink); color: var(--bg-green); }
.btn--bg { --b: var(--bg-green); --c: var(--ink); }
.mega__bg { background: var(--ink) !important; color: #fff; margin-top: 10px; }
.mnav__cat--bg span { color: var(--ink); }
.mnav__cat--bg::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-green); }
.bgsec { background: #0f120b; color: #fff; padding-bottom: clamp(48px, 6vw, 90px); }
.bgsec__hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.bgsec__hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgsec__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,8,.9), rgba(10,12,8,.2) 70%), linear-gradient(0deg, #0f120b, rgba(15,18,11,0) 40%); }
.bgsec__content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 70px; }
.bgsec .display { max-width: 12ch; margin-bottom: 20px; }
.bgsec .lead { color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 30px; }
.bgsec__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 40px; }
.bgsec__tiles .tile { aspect-ratio: 4 / 5; }
.bgsec .tile__go { background: var(--bg-green); }
.bgsec .icon-btn--round { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 760px) { .bgsec__tiles { grid-template-columns: 1fr; } .bgsec__tiles .tile { aspect-ratio: 16 / 10; } .bgsec__hero { min-height: 560px; } }

/* ---------- SEO blocks ---------- */
.keyfacts__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; margin: 0; border-radius: var(--radius); overflow: hidden; }
.keyfacts__list div { background: var(--surface); padding: 16px 20px; }
.keyfacts__list dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.keyfacts__list dd { margin: 0; font-weight: 600; }
.seo-block { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); padding: 20px 0 90px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 50px; }
.seo-block__text h2 { margin-top: 0 !important; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; background: var(--surface); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--card); font-weight: 600; }
.prose h3 { font-size: 20px; margin: 1.3em 0 .4em; }
.prose ol { padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 1100px) { .seo-block { grid-template-columns: 1fr; } .prose table { display: block; overflow-x: auto; } }
.nav__link { white-space: nowrap; }
.header__phone span { white-space: nowrap; }
.bgsec .card { color: var(--ink); }
@media (max-width: 1600px) { .header__phone span { display: none; } .nav__link { padding: 0 10px; font-size: 14px; } }
@media (max-width: 1280px) { .nav__link { padding: 0 8px; font-size: 13.5px; } .nav__item--mega .nav__link svg { display: none; } }

/* ---------- Mips: анімація ковзного шару ---------- */
.mips__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.mips__visual > * { grid-area: 1 / 1; }
.mips__visual img, .mips__ring { animation: none !important; filter: none !important; }
.mips__grid-bg { width: 100%; height: 100%; -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%); }
.mips__stage { position: relative; width: 84%; animation: mipsShell 4.2s cubic-bezier(.5,0,.2,1) infinite; transform-origin: 50% 70%; }
.mips__helmet { position: relative; z-index: 1; width: 100% !important; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) !important; }
.mips__layer { position: absolute; left: 6%; right: 6%; top: 4%; z-index: 2; mix-blend-mode: screen; animation: mipsLayer 4.2s cubic-bezier(.5,0,.2,1) infinite; transform-origin: 50% 80%; }
@keyframes mipsShell { 0%, 18% { transform: translateX(0) rotate(0); } 30% { transform: translateX(-2%) rotate(-7deg); } 52% { transform: translateX(1%) rotate(2deg); } 70%, 100% { transform: none; } }
@keyframes mipsLayer { 0%, 18% { transform: rotate(0); opacity: .35; } 30% { transform: rotate(5deg); opacity: 1; } 52% { transform: rotate(-1deg); opacity: .8; } 70%, 100% { transform: none; opacity: .35; } }
.mips__impact { position: relative; width: 100%; height: 100%; pointer-events: none; }
.mips__impact i { position: absolute; right: 12%; top: 18%; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: mipsHit 4.2s ease-out infinite; }
.mips__impact i:nth-child(2) { animation-delay: .12s; } .mips__impact i:nth-child(3) { animation-delay: .24s; }
@keyframes mipsHit { 0%, 20% { transform: scale(.2); opacity: 0; } 24% { opacity: 1; } 55% { transform: scale(3.2); opacity: 0; } 100% { opacity: 0; } }
.mips__arrow { width: 22%; align-self: start; justify-self: end; margin: 6% 6% 0 0; opacity: 0; animation: mipsArrow 4.2s ease-in-out infinite; }
@keyframes mipsArrow { 0%, 20% { opacity: 0; transform: rotate(40deg); } 30%, 55% { opacity: 1; transform: rotate(-10deg); } 75%, 100% { opacity: 0; transform: rotate(-30deg); } }
.mips__tag { align-self: end; justify-self: start; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); font-size: 12px; color: rgba(255,255,255,.7); margin: 0 0 8% 0; }
.mips__tag b { font-family: var(--display); font-stretch: 75%; font-size: 26px; color: var(--yellow); line-height: 1; }
.mips__tag--2 { justify-self: end; align-self: start; margin: 30% 0 0; }
.mips__tag--2 b { color: #fff; }

/* ---------- переваги ---------- */
.usp__item { position: relative; overflow: hidden; background: transparent; border-radius: 0; border-top: 2px solid var(--ink); padding: 26px 20px 40px 0; transition: background .35s var(--ease), padding .35s var(--ease); }
.usp__item:hover { transform: none; box-shadow: none; background: var(--ink); color: #fff; padding-left: 22px; }
.usp__item:hover p { color: rgba(255,255,255,.7); }
.usp__num { display: block; font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 26px; }
.usp__item h3 { font-family: var(--display); font-stretch: 75%; font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.usp__item p { max-width: 30ch; position: relative; z-index: 1; }
.usp__mark { position: absolute; right: -28px; bottom: -34px; color: var(--ink); opacity: .06; transition: .5s var(--ease); pointer-events: none; }
.usp__mark .i { stroke-width: .9; }
.usp__item:hover .usp__mark { color: var(--red); opacity: .5; transform: rotate(-12deg) scale(1.05); }
.usp__icon { display: none; }

/* ---------- футер: аеротруба ---------- */
.footer__giant { position: relative; padding: 0; margin: 0; overflow: hidden; }
.footer__giant-logo { position: relative; z-index: 1; padding: 0 var(--gutter); margin-bottom: -2.5%; }
.footer__giant-logo .logo__mark { width: 100%; }
.footer__giant-logo .logo__mark path { fill: rgba(255,255,255,.045); stroke: rgba(255,255,255,.14); stroke-width: .4; }
.footer__giant-logo .logo__sub { display: none; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.flow__line { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 90 1400; stroke-dashoffset: 0; animation: flow var(--d) linear infinite; animation-delay: var(--o); vector-effect: non-scaling-stroke; }
.flow__line--red { stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 160 1400; opacity: .9; }
@keyframes flow { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }

/* ---------- артикул під назвою ---------- */
.buy__sku { font-size: 13px; color: var(--muted); margin: -4px 0 10px; letter-spacing: .02em; }
.buy__sku span { color: var(--ink); font-weight: 600; }

/* ---------- мобільні плитки категорій: карусель ---------- */
@media (max-width: 760px) {
  .bento { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74vw; grid-auto-rows: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .bento .tile, .bento .tile--xl { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; min-height: 0; height: auto; scroll-snap-align: start; border-radius: 20px; }
  .bento .tile__name, .bento .tile--xl .tile__name { font-size: 34px; }
  .bento .tile__go { width: 46px; height: 46px; }
  .bgsec__tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .bgsec__tiles .tile { aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .usp { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .usp__num { font-size: 44px; margin-bottom: 14px; }
  .usp__item h3 { font-size: 20px; }
  .usp__item p { font-size: 14px; }
  .mips__tag b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .flow { display: none; } }

/* ---------- галерея, прив'язана до прокрутки ---------- */
.card { box-shadow: 0 0 0 1px rgba(13,13,14,.05); }
.swatch, .gallery__thumbs button { box-shadow: inset 0 0 0 1px rgba(13,13,14,.07); }
.gallery__main { box-shadow: 0 0 0 1px rgba(13,13,14,.05); }
.pdp.is-pin .gallery { top: calc(var(--header-h) + 20px); }
.pdp.is-pin .gallery__main { scroll-snap-type: none; width: min(100%, calc(100vh - var(--header-h) - 70px)); justify-self: center; }
.pdp.is-pin .gallery__slide img { transition: transform .6s var(--ease); }
.pin-progress { position: absolute; left: calc(84px + 14px + 20px); right: 20px; bottom: 18px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.pin-progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(13,13,14,.12); overflow: hidden; position: relative; }
.pin-progress i b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .15s linear; }
.pin-hint { position: absolute; right: 22px; top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; pointer-events: none; transition: opacity .3s; }
.pin-hint::after { content: ''; width: 1px; height: 18px; background: currentColor; animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(-3px); opacity: .3; } 50% { transform: translateY(3px); opacity: 1; } }
/* переваги: ховер без зміни розмірів */
.usp { align-items: stretch; }
.usp__item, .usp__item:hover { padding: 26px 22px 40px; }
.usp__item { transition: background .35s var(--ease), color .35s var(--ease); }
@media (max-width: 760px) { .usp__item, .usp__item:hover { padding: 22px 14px 32px; } }
.mega__bg { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mega__bg .bg-logo { color: #fff; }
.mega__bg small { display: inline-flex; align-items: center; gap: 6px; color: var(--bg-green); font-size: 13px; font-weight: 600; }
.mega__bg:hover { background: #1f1f22 !important; }
/* розміри: гнучка ширина кнопок */
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 96px; padding: 12px 18px; }
.size--long b { font-size: 17px; letter-spacing: .01em; }

/* ---------- футер: canvas-потоки ---------- */
.flow { display: none; }
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.flow-canvas.is-on { opacity: 1; }
.footer__giant-logo .logo__mark path { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.1); }

/* ---------- відгуки: порожній стан ---------- */
.reviews--empty { grid-template-columns: 1fr 1.15fr; gap: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; align-items: stretch; }
.reviews--empty .review-form { border-radius: 0; background: transparent; border-left: 1px solid var(--line); gap: 12px; }
.reviews--empty .review-form .h4 { display: none; }
.reviews__empty { padding: 30px; display: grid; align-content: center; gap: 12px; }
.reviews__empty p { color: var(--muted); margin: 0; max-width: 46ch; }
.stars--empty { width: 120px; height: 21px; }
.reviews__tips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.reviews__tips li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg); }
.reviews--empty textarea { min-height: 96px; }
#reviews .pdp-sec__head { margin-bottom: 16px; }
@media (max-width: 1100px) { .reviews--empty { grid-template-columns: 1fr; } .reviews--empty .review-form { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- мега-меню без мерехтіння ---------- */
.nav { align-self: stretch; }
.nav__item { display: flex; align-items: center; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.mega { transition: opacity .2s var(--ease) .12s, transform .25s var(--ease) .12s, visibility 0s linear .32s; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { transition: opacity .2s var(--ease) .06s, transform .25s var(--ease) .06s, visibility 0s linear 0s; }

/* ---------- Bluegrass: 4 плитки в ряд ---------- */
@media (min-width: 761px) { .bgsec__tiles { grid-template-columns: repeat(4, 1fr); } .bgsec__tiles .tile { aspect-ratio: 3 / 4; } .bgsec__tiles .tile__name { font-size: clamp(26px, 2.6vw, 40px); } }
@media (min-width: 761px) and (max-width: 1100px) { .bgsec__tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- футер: логотипи оплати (монохром) ---------- */
.footer__pay { gap: 8px; }
.paycard { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.72); transition: color .2s, border-color .2s; }
.paycard:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.paycard .pay { display: block; overflow: visible; }
.paycard .pay--visa { width: 36px; height: 13px; }
.paycard .pay--mc { width: 33px; height: 21px; }
.paycard .pay--apple { width: 33px; height: 22px; }
.paycard .pay--google { width: 36px; height: 16px; }
.paycard .pay--mono { width: 64px; height: 14px; }
