/* ГРОМ — одежда для дождя. Тёмная витрина, навигация пилюлями. */

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --ink: #f4f4f2;
  --ink-2: rgba(244, 244, 242, .62);
  --ink-3: rgba(244, 244, 242, .40);
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .18);
  --glass: rgba(255, 255, 255, .12);
  --glass-hi: rgba(255, 255, 255, .22);
  --acc: #e8ff4a;
  --gut: 16px;
  --promo-h: 40px;
  --pill-h: 36px;
  --top-h: calc(var(--promo-h) + 16px + var(--pill-h) + 16px);
  --disp: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  padding-top: var(--top-h);
}
body.is-home { padding-top: 0; }
body.no-scroll { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--disp); font-weight: 700; letter-spacing: -.025em; line-height: .98; text-transform: uppercase; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.num, .price, .price-old, .sum, td.num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { padding-inline: var(--gut); }
.inner { max-width: 1080px; margin-inline: auto; }

.overline {
  display: block;
  font-family: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- шапка ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .35s ease;
}
.top.stuck { background: rgb(9, 9, 9); }

.promo {
  background: rgba(10, 10, 10, .82);
  color: var(--ink);
  text-align: center;
  padding: 11px var(--gut);
  font-size: 12px;
  letter-spacing: .01em;
  line-height: 1.2;
}
.promo b { font-weight: 600; }
.top.stuck .promo { background: none; }

.hdr-in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px var(--gut);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--pill-h);
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}
.pill:hover { background: var(--glass-hi); }

.pill-logo {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  padding-inline: 14px;
}
.pill-nav { padding-inline: 20px; }
.pill-nav ul { display: flex; align-items: center; gap: 26px; height: 100%; }
.pill-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  text-underline-offset: 3px;
}
.pill-nav a:hover, .pill-nav a[aria-current="page"] { text-decoration: underline; }
.hdr-right { margin-left: auto; display: flex; gap: 8px; }
.pill-ico { gap: 8px; }
.pill-ico svg { width: 14px; height: 14px; flex: none; }
.cart-n { font-variant-numeric: tabular-nums; }
.cart-n.has { color: var(--acc); }
.pill-cart .cart-word { margin-right: 6px; }
.paren { opacity: .6; }
.burger { display: none; width: var(--pill-h); padding: 0; }
.burger span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span + span { margin-top: 4px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg);
  padding: calc(var(--top-h) + 12px) var(--gut) 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
.mnav a {
  font-family: var(--disp);
  font-size: clamp(28px, 9vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mnav .mnav-note { margin-top: auto; padding-top: 24px; font-size: 12px; color: var(--ink-3); border: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding-inline: 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--ink); color: #0b0b0b; border-color: var(--ink); }
.btn-solid { background: var(--ink); color: #0b0b0b; border-color: var(--ink); }
.btn-solid:hover { background: var(--acc); border-color: var(--acc); color: #0b0b0b; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .2s ease;
}
.link-more:hover { color: var(--ink); }
.link-more span { transition: transform .25s ease; }
.link-more:hover span { transform: translateX(4px); }

/* ---------- герой ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--top-h) + 24px) var(--gut) 40px;
  overflow: hidden;
  background: #090909;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, .80) 0%, rgba(6, 6, 6, .38) 28%, rgba(6, 6, 6, .72) 66%, rgba(6, 6, 6, .94) 100%),
    rgba(8, 8, 8, .34);
}
.hero-body { position: relative; z-index: 1; max-width: min(1120px, 82vw); }
.hero-body .overline { margin-bottom: 18px; color: rgba(255, 255, 255, .62); }
.hero h1 {
  font-size: clamp(40px, 7.2vw, 104px);
  letter-spacing: -.035em;
  line-height: .9;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-foot {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- секции ---------- */
.sec { padding: clamp(56px, 8vw, 110px) var(--gut); }
.sec-tight { padding-block: clamp(40px, 5vw, 64px); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}
.sec-head h2 { font-size: clamp(26px, 4.4vw, 58px); }
.sec-head .overline { margin-bottom: 12px; }
.sec-lead { max-width: 46ch; color: var(--ink-2); margin-top: 14px; }

/* ---------- рельса категорий ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.tile { position: relative; scroll-snap-align: start; overflow: hidden; background: var(--bg-2); }
.tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1), filter .5s ease;
  filter: grayscale(.15) brightness(.88);
}
.tile:hover img { transform: scale(1.045); filter: grayscale(0) brightness(1); }
.tile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .68) 100%);
}
.tile-cap b {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.tile-cap i {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- карточка товара ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 10px;
}
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; background: var(--bg-2); overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(.12);
  transition: transform .7s cubic-bezier(.22, .61, .36, 1), filter .45s ease, opacity .35s ease;
}
.card:hover .card-media img { transform: scale(1.04); filter: grayscale(0); }
.card-flags {
  position: absolute;
  inset: 10px 10px auto 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}
.flag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: 999px;
  background: rgba(10, 10, 10, .72);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.flag-sale { background: var(--acc); color: #0b0b0b; }
.flag-new { background: rgba(255, 255, 255, .9); color: #0b0b0b; }
.card-add {
  position: absolute;
  inset: auto 10px 10px 10px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0b0b0b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.card:hover .card-add { opacity: 1; transform: none; }
.card-add:hover { background: var(--acc); }
.card-add.done { background: var(--acc); }
.card-body { padding: 12px 2px 4px; display: flex; flex-direction: column; gap: 5px; }
.card-cat { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card-name {
  font-family: var(--disp);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.2;
}
.card-name a::after { content: ""; position: absolute; inset: 0; }
.card-price { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; }
.price { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.price-old { font-size: 12px; color: var(--ink-3); text-decoration: line-through; }

/* ---------- редакционный блок ---------- */
.ed-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; align-items: stretch; }
.ed-media { position: relative; overflow: hidden; background: var(--bg-2); }
.ed-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; filter: grayscale(.25) brightness(.9); }
.ed-text { background: var(--bg-2); padding: clamp(24px, 3vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.ed-text h2 { font-size: clamp(24px, 3vw, 42px); margin-bottom: 16px; }
.ed-text p { color: var(--ink-2); margin-bottom: 22px; }
.ed-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-bottom: 26px; }
.ed-list div { background: var(--bg-2); display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 12.5px; }
.ed-list dt, .ed-list span:first-child { color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }

/* ---------- витрина одного товара ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-media { position: relative; background: var(--bg-2); overflow: hidden; aspect-ratio: 4 / 5; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-body { background: var(--bg-2); padding: clamp(26px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feat-body h2 { font-size: clamp(28px, 3.6vw, 50px); }
.feat-body p { color: var(--ink-2); }
.feat-price { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 600; }
.feat-price .price-old { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding-inline: 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- технологии ---------- */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.tech > div { background: var(--bg); padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.tech .num { display: block; font-family: var(--disp); font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.tech h3 { font-size: 13px; letter-spacing: .06em; margin-bottom: 8px; }
.tech p { font-size: 13px; color: var(--ink-2); }

/* ---------- лукбук ---------- */
.look { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.look figure { margin: 0; position: relative; overflow: hidden; background: var(--bg-2); }
.look img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(.3) brightness(.85); transition: filter .5s ease, transform .8s cubic-bezier(.22, .61, .36, 1); }
.look figure:hover img { filter: none; transform: scale(1.03); }
.look figcaption { position: absolute; inset: auto 0 0 0; padding: 14px 16px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .7)); }

/* ---------- шоурум ---------- */
.shop-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; }
.shop-card { background: var(--bg-2); padding: clamp(26px, 3.2vw, 48px); }
.shop-card h2 { font-size: clamp(24px, 3vw, 42px); margin-bottom: 18px; }
.shop-rows { display: grid; gap: 1px; background: var(--line); margin-top: 22px; }
.shop-rows > div { background: var(--bg-2); padding: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.shop-rows b { font-family: var(--disp); font-size: 15px; text-transform: uppercase; letter-spacing: .01em; }
.shop-rows p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.shop-rows span { font-size: 12px; color: var(--ink-3); }
.shop-media { overflow: hidden; background: var(--bg-2); }
.shop-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; filter: grayscale(.3) brightness(.85); }

/* ---------- футер ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) var(--gut) 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-logo { font-family: var(--disp); font-size: 34px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.footer-about { color: var(--ink-2); font-size: 13.5px; max-width: 36ch; }
.footer h4 { font-size: 11px; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 13.5px; color: var(--ink-2); transition: color .2s ease; }
.footer li a:hover { color: var(--ink); }
.footer-contacts p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.footer-contacts b { color: var(--ink); font-weight: 600; }
.footer-demo {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
}
.footer-demo a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.footer-demo a:hover { color: var(--acc); }

/* ---------- корзина ---------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 5, 5, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
body.cart-open .veil { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  width: min(420px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .38s cubic-bezier(.4, .01, .2, 1);
}
body.cart-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gut); border-bottom: 1px solid var(--line); }
.drawer-head b { font-family: var(--disp); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.drawer-x { font-size: 22px; line-height: 1; padding: 4px 6px; color: var(--ink-2); }
.drawer-x:hover { color: var(--ink); }
.drawer-list { flex: 1; overflow-y: auto; padding: 8px var(--gut); }
.drawer-empty { padding: 48px 0; color: var(--ink-3); font-size: 13.5px; }
.drawer-empty b { display: block; font-family: var(--disp); font-size: 18px; color: var(--ink); text-transform: uppercase; margin-bottom: 8px; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 64px; height: 80px; object-fit: cover; background: var(--bg-3); }
.ci-name { font-family: var(--disp); font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; }
.ci-opt { font-size: 11px; color: var(--ink-3); margin-top: 4px; letter-spacing: .04em; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 26px; height: 26px; font-size: 13px; color: var(--ink-2); }
.qty button:hover { color: var(--ink); }
.qty b { min-width: 20px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.ci-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.ci-price { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-del { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ci-del:hover { color: var(--acc); }
.drawer-foot { padding: 18px var(--gut) 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.drawer-sum .sum { font-family: var(--disp); font-size: 22px; letter-spacing: -.01em; color: var(--ink); text-transform: none; }

/* ---------- поиск ---------- */
.sveil {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 5, 5, .74);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--top-h) + 8px) var(--gut) 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}
body.search-open .sveil { opacity: 1; visibility: visible; }
.sbox { width: min(680px, 100%); }
.sinput {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  padding: 0 22px;
  font-size: 15px;
  color: var(--ink);
}
.sinput:focus { outline: none; border-color: var(--ink-2); }
.sout { margin-top: 14px; display: grid; gap: 1px; background: var(--line); }
.sout a {
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  transition: background .2s ease;
}
.sout a:hover { background: var(--bg-3); }
.sout img { width: 48px; height: 60px; object-fit: cover; }
.s-name { display: block; font-family: var(--disp); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.s-cat { display: block; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.s-empty { background: var(--bg-2); padding: 22px 16px; color: var(--ink-3); font-size: 13px; }

/* ---------- каталог ---------- */
.cat-head { padding: clamp(28px, 4vw, 56px) var(--gut) 0; }
.cat-head h1 { font-size: clamp(32px, 6vw, 76px); }
.cat-head p { color: var(--ink-2); margin-top: 14px; max-width: 52ch; }
.filters { padding: clamp(24px, 3vw, 40px) var(--gut) 0; display: grid; gap: 18px; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.f-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.f-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 15px;
  border-radius: 999px;
  background: var(--glass);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.f-pill:hover { background: var(--glass-hi); }
.f-pill.on { background: var(--ink); color: #0b0b0b; }
.f-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.f-range { display: flex; align-items: center; gap: 8px; }
.f-range input[type="range"] { width: clamp(120px, 22vw, 200px); accent-color: var(--acc); background: transparent; }
.f-range-out { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 14ch; }
.f-sel {
  height: 34px;
  border-radius: 999px;
  background: var(--glass);
  border: 0;
  padding: 0 34px 0 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.f-sel option { background: #141414; color: #f4f4f2; }
.f-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.f-reset { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.f-reset:hover { color: var(--acc); }
.empty { padding: 80px 0; text-align: center; color: var(--ink-3); }
.empty b { display: block; font-family: var(--disp); font-size: 22px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }

/* ---------- страница товара ---------- */
.pd { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 3vw, 44px) var(--gut) 0; align-items: start; }
.pd-gal { display: grid; gap: 10px; }
.pd-main { background: var(--bg-2); overflow: hidden; }
.pd-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; }
.pd-thumbs button { width: 74px; border: 1px solid transparent; background: var(--bg-2); padding: 0; transition: border-color .2s ease, opacity .2s ease; opacity: .6; }
.pd-thumbs button.on { border-color: var(--ink); opacity: 1; }
.pd-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pd-info { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 20px; }
.pd-info h1 { font-size: clamp(26px, 3.4vw, 46px); }
.pd-cat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pd-price { display: flex; align-items: baseline; gap: 12px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-price .price-old { font-size: 15px; }
.pd-desc { color: var(--ink-2); }
.pd-sizes { display: grid; gap: 10px; }
.pd-sizes .f-label { margin: 0; }
.size-row { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  min-width: 48px;
  height: 38px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.size:hover { border-color: var(--ink); }
.size.on { background: var(--ink); color: #0b0b0b; border-color: var(--ink); }
.specs { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.specs > div { background: var(--bg); padding: 12px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; font-size: 13px; }
.specs dt { color: var(--ink-3); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; padding-top: 2px; }
.specs dd { margin: 0; }
.pd-note { font-size: 12px; color: var(--ink-3); }

/* ---------- оформление ---------- */
.co { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(16px, 3vw, 40px); padding: clamp(24px, 3vw, 44px) var(--gut) 0; align-items: start; }
.co h1 { font-size: clamp(30px, 5vw, 62px); margin-bottom: 10px; }
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea {
  height: 46px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 4px;
  padding: 0 14px;
  font-size: 14px;
  transition: border-color .2s ease;
}
.field textarea { height: 88px; padding: 12px 14px; resize: vertical; font-family: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); }
.field.two { grid-template-columns: 1fr 1fr; gap: 14px; }
.opts { display: grid; gap: 8px; }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.opt:hover { border-color: var(--line-2); }
.opt input { margin: 3px 0 0; accent-color: var(--acc); }
.opt b { display: block; font-size: 13.5px; font-weight: 600; }
.opt small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.opt .cost { margin-left: auto; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--ink-2); background: var(--bg-3); }
.co-block { margin-bottom: clamp(28px, 3.5vw, 44px); }
.co-block > h2 { font-size: 15px; letter-spacing: .08em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.co-side { background: var(--bg-2); padding: clamp(20px, 2.4vw, 32px); position: sticky; top: calc(var(--top-h) + 16px); }
.co-side h2 { font-size: 15px; letter-spacing: .08em; margin-bottom: 18px; }
.co-lines { display: grid; gap: 1px; background: var(--line); margin-bottom: 18px; }
.co-line { background: var(--bg-2); display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; align-items: start; }
.co-line img { width: 56px; height: 70px; object-fit: cover; }
.co-totals { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.co-totals .grand { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--ink); align-items: baseline; }
.co-totals .grand span:last-child { font-family: var(--disp); font-size: 24px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.thanks { max-width: 620px; margin: 0 auto; padding: clamp(60px, 12vw, 140px) var(--gut); text-align: center; }
.thanks h1 { font-size: clamp(32px, 6vw, 64px); margin-bottom: 20px; }
.thanks p { color: var(--ink-2); margin-bottom: 28px; }
.legal { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; line-height: 1.55; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.rv.on { opacity: 1; transform: none; }
.rv-1 { transition-delay: .08s; }
.rv-2 { transition-delay: .16s; }
.rv-3 { transition-delay: .24s; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .pill-nav ul { gap: 18px; }
  .pill-nav { padding-inline: 16px; }
}

@media (max-width: 1024px) {
  :root { --gut: 14px; }
  .pill-nav, .pill-search { display: none; }
  .burger { display: inline-flex; flex-direction: column; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech { grid-template-columns: repeat(2, 1fr); }
  .ed-grid, .feat, .shop-grid, .pd, .co { grid-template-columns: 1fr; }
  .pd-info, .co-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .look { grid-template-columns: 1fr; }
  .look img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 8px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .card-add { opacity: 1; transform: none; height: 34px; font-size: 9.5px; }
  .rail { grid-auto-columns: minmax(190px, 78%); }
  .hero-foot { gap: 6px 20px; font-size: 10px; }
  .field.two { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .drawer { width: 100vw; }
  .pd-thumbs button { width: 62px; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 460px) {
  .pill-cart .cart-word, .pill-cart .paren { display: none; }
  .pill-cart { padding-inline: 13px; }
  .promo { font-size: 11px; }
}

@media (hover: none) {
  .card-add { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
