/* ==========================================================================
   Voltshop | KMS — витрина. Чёрно-золотая тема, полностью новый интерфейс.
   Никаких зависимостей от старой сборки: свои шрифты, свои компоненты.
   ========================================================================== */

@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/tropical-0.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/tropical-1.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/tropical-2.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/tropical-3.ttf) format("truetype"); }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/tropical-4.ttf) format("truetype"); }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/tropical-5.ttf) format("truetype"); }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/tropical-6.ttf) format("truetype"); }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/tropical-7.ttf) format("truetype"); }

:root {
  --bg: #0a0806;
  --bg-2: #0d0a07;
  --panel: #120d08;
  --card: #17110a;
  --card-2: #1c1409;
  --line: #3d3018;
  --line-2: #4a3a1c;
  --gold: #e8b337;
  --gold-2: #ffd970;
  --gold-3: #c9922c;
  --gold-deep: #8a5a12;
  --gold-ink: #170f03;
  --ink: #f7f0e2;
  --ink-2: #a89778;
  --ink-3: #8a7a5c;
  --ok: #7fc47f;
  --danger: #e0705f;
  --danger-bg: #3a1a12;
  --danger-line: #7a3a28;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .55);
  --glow: 0 0 0 1px rgba(232, 179, 55, .55), 0 10px 30px rgba(232, 179, 55, .08);
  --font: Manrope, Arial, Helvetica, sans-serif;
  --display: Unbounded, Manrope, Arial, sans-serif;
  --head-h: 62px;
  --shell: 1320px;
  --gut: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--ink-2); }
.tiny { font-size: 12px; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 36%, #ffe9a8 56%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow:before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 179, 55, .16);
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn--gold { color: var(--gold-ink); background: linear-gradient(110deg, #d3a02c, #f5cf63); border-color: var(--gold); }
.btn--gold:hover { background: linear-gradient(110deg, #b8860b, #e3b445); border-color: var(--gold-3); }

.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn--dark { color: var(--ink); background: var(--card-2); border-color: var(--line-2); }
.btn--dark:hover { background: #241a10; border-color: var(--gold); }

.btn--wide { width: 100%; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn--icon { padding: 0 12px; }

.linkish { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--gold-2); }
.link-gold { color: var(--gold); }
.link-gold:hover { color: var(--gold-2); }

/* ---------- значки, чипы ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge--sale { color: var(--gold-ink); background: var(--gold); }
.badge--out { color: var(--ink-2); background: #241a10; border: 1px solid var(--line-2); }
.badge--new { color: var(--gold-2); background: #2a1d0d; border: 1px solid var(--gold-deep); }
.badge--hit { color: #170f03; background: linear-gradient(110deg, #d3a02c, #f5cf63); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .02em;
}
.chip--gold { color: var(--gold-2); border-color: var(--gold-deep); background: #241a0c; }

/* ---------- поля ---------- */

.field { display: block; margin-bottom: 14px; }
.field__label { display: block; margin-bottom: 7px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field__row { position: relative; }
.field__hint { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.field__err { margin-top: 6px; font-size: 12px; color: var(--danger); }

.input, .textarea, .select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--card-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 179, 55, .12); }
.input--bad { border-color: var(--danger-line); }
.textarea { min-height: 92px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.check input { appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card-2); position: relative; cursor: pointer; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked:after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--gold-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.note {
  padding: 12px 14px;
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius);
  background: var(--card-2);
  font-size: 13px;
  color: var(--ink-2);
}
.note--err { color: #ffb3a0; background: var(--danger-bg); border: 1px solid var(--danger-line); }
.note--ok { color: var(--ok); border-style: solid; border-color: #2f5c2f; background: #12200f; }
.note b { color: var(--ink); }

/* ==========================================================================
   Каркас
   ========================================================================== */

.app { display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1 1 auto; }
.page { padding: 26px 0 60px; }
.page--tight { padding-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.crumbs a:hover { color: var(--gold-2); }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.sec-head h2 { font-family: var(--display); font-size: clamp(20px, 3vw, 30px); text-transform: uppercase; letter-spacing: -.01em; }
.sec-head p { color: var(--ink-2); font-size: 13px; }

/* ---------- золотая полоса сверху ---------- */

.strip {
  position: relative;
  overflow: hidden;
  color: var(--gold-ink);
  background: linear-gradient(90deg, #8a5a12 0%, #e8b337 40%, #ffd970 62%, #c9922c 100%);
  border-bottom: 0;
}
.strip__track { display: flex; align-items: center; justify-content: space-evenly; width: 100%; }

/* ---------- шапка ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 10, 7, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__top { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); }

.brand { display: inline-flex; align-items: baseline; gap: .28em; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.brand i { font-style: normal; color: var(--ink); }
.brand b { color: var(--gold); font-weight: 800; }
.brand em { font-style: normal; font-size: .5em; vertical-align: super; color: var(--gold-3); }

.hdr__search { position: relative; flex: 1 1 auto; max-width: 460px; }
.hdr__search .input { min-height: 42px; padding-left: 38px; background: #120d08; }
.hdr__search svg { position: absolute; left: 12px; top: 12px; color: var(--ink-3); pointer-events: none; }
.hdr__search kbd { position: absolute; right: 10px; top: 11px; padding: 2px 6px; border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--font); font-size: 11px; color: var(--ink-3); }

.hdr__side { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--card-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.pill:hover { border-color: var(--gold); color: var(--gold-2); }
.pill--gold { border-color: var(--gold-deep); background: #241a0c; color: var(--gold-2); }
.pill__num {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.pill__num.bump { animation: bump .4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.pill__label { display: inline; }

.hdr__bottom { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.hdr__bottom::-webkit-scrollbar { display: none; }

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); border-color: var(--line-2); }
.tab.active { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.tab u { text-decoration: none; opacity: .6; font-size: 11px; }
.tab.active u { opacity: .8; }
.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-left: 12px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-2); background: var(--card); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.active { color: var(--gold-ink); background: var(--gold); }

/* панель результатов поиска */
.search-pop {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  z-index: 70;
  max-height: min(72vh, 560px);
  overflow-y: auto;
  padding: 8px;
  background: var(--popover, #120d08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-pop__head { padding: 8px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.search-hit { display: flex; gap: 12px; align-items: center; width: 100%; padding: 8px 10px; text-align: left; border-radius: var(--radius); }
.search-hit:hover, .search-hit.on { background: var(--card-2); }
.search-hit__art { flex: 0 0 auto; width: 46px; height: 46px; object-fit: contain; background: #0d0a07; border: 1px solid var(--line); border-radius: var(--radius); }
.search-hit__body { min-width: 0; }
.search-hit__name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit__meta { font-size: 11px; color: var(--ink-3); }
.search-hit__price { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---------- витрина (hero) ---------- */

.hero { position: relative; padding: 34px 0 26px; background: radial-gradient(ellipse 90% 60% at 50% 0%, #241a09 0%, #0f0b06 45%, var(--bg) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero h1 { margin: 14px 0 16px; font-size: clamp(34px, 5.4vw, 66px); }
.hero h1 span { display: block; }
.hero__features { display: grid; gap: 7px; margin: 0 0 22px; }
.hero__features li { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 14px; }
.hero__features svg { color: var(--gold); flex: 0 0 auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero__stat b { display: block; font-family: var(--display); font-size: 19px; color: var(--gold-2); }
.hero__stat span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.showcase { position: relative; }
.showcase__frame { position: relative; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.showcase__frame:before,
.showcase__frame:after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold); opacity: .8; }
.showcase__frame:before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.showcase__frame:after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.showcase__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: #0d0a07; }
.showcase__tag {
  position: absolute;
  left: 22px; top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: linear-gradient(110deg, #d3a02c, #f5cf63);
  color: var(--gold-ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.showcase__tag:hover { background: linear-gradient(110deg, #b8860b, #e3b445); }
.showcase__cap { position: absolute; left: 22px; bottom: 22px; right: 22px; padding: 12px 14px; background: rgba(10, 8, 6, .82); border-left: 2px solid var(--gold); backdrop-filter: blur(4px); }
.showcase__cap b { display: block; font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.showcase__cap span { font-size: 12px; color: var(--ink-2); }

/* ---------- преимущества ---------- */

.adv { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.adv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.adv__item { padding: 20px 18px; background: var(--bg-2); }
.adv__item + .adv__item { border-left: 1px solid var(--line); }
.adv__item svg { color: var(--gold); margin-bottom: 10px; }
.adv__item b { display: block; font-size: 14px; margin-bottom: 3px; }
.adv__item span { font-size: 12px; color: var(--ink-3); }

/* ---------- строка-плашка ---------- */

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, #8a5a12 0%, #e8b337 32%, #ffe9a8 52%, #ddb04a 72%, #a8730f 100%); }
.marquee__track { display: flex; align-items: center; justify-content: space-evenly; width: 100%; }

/* ==========================================================================
   Каталог
   ========================================================================== */

.catalog { padding: 30px 0 56px; }
.catalog__layout { display: grid; grid-template-columns: 244px 1fr; gap: 26px; align-items: start; }

.side { position: sticky; top: calc(var(--head-h) + 62px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.side__block { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.side__block:last-child { border-bottom: 0; }
.side__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.side__list { display: grid; gap: 2px; }
.side__list button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; border-radius: var(--radius); color: var(--ink-2); font-size: 13px; text-align: left; }
.side__list button:hover { color: var(--ink); background: var(--card-2); }
.side__list button.active { color: var(--gold-ink); background: var(--gold); font-weight: 700; }
.side__list button u { text-decoration: none; font-size: 11px; opacity: .7; }
.side__list button.active u { opacity: .9; }

.range { width: 100%; appearance: none; height: 3px; border-radius: 2px; background: var(--line-2); outline: none; }
.range::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); cursor: pointer; box-shadow: 0 0 0 1px var(--gold); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); cursor: pointer; }
.range__caption { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12px; color: var(--ink-2); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.toolbar__count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.toolbar__count b { color: var(--ink); }
.toolbar__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.toolbar .select { min-height: 38px; padding-top: 8px; padding-bottom: 8px; min-width: 178px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 16px; }
.grid--list { grid-template-columns: 1fr; gap: 10px; }

/* карточка товара */

.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.pcard:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard__art { position: relative; display: block; padding: 12px; border-bottom: 1px solid var(--line); }
.pcard__img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--radius); background: #0d0a07; padding: 8px; }
.pcard__badges { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.pcard__fav { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(13, 10, 7, .8); color: var(--ink-2); }
.pcard__fav:hover { color: var(--gold); border-color: var(--gold); }
.pcard__fav.on { color: var(--gold); border-color: var(--gold); background: #241a0c; }
.pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 9px; padding: 13px 13px 14px; }
.pcard__cat { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pcard__name { font-size: 14px; font-weight: 600; line-height: 1.32; }
.pcard__name:hover { color: var(--gold-2); }
.pcard__flavors { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard__flavors .chip { font-size: 10px; padding: 3px 7px; }
.pcard__stock { font-size: 11px; }
.pcard__stock.in { color: var(--ok); }
.pcard__stock.out { color: var(--danger); }
.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.pcard__price { display: flex; align-items: baseline; gap: 8px; }
.pcard__price b { font-family: var(--display); font-size: 19px; }
.pcard__price s { color: var(--ink-3); font-size: 12px; }
.pcard__go { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); }
.pcard__go:hover { color: var(--gold-2); }
.pcard__buy { margin-top: 10px; }

/* режим списка */

.grid--list .pcard { flex-direction: row; align-items: stretch; }
.grid--list .pcard__art { flex: 0 0 148px; border-bottom: 0; border-right: 1px solid var(--line); }
.grid--list .pcard__img { aspect-ratio: 1 / 1; }
.grid--list .pcard__body { flex-direction: row; align-items: center; gap: 18px; padding: 14px 16px; }
.grid--list .pcard__info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.grid--list .pcard__side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.grid--list .pcard__foot { padding-top: 0; }
.grid--list .pcard__buy { margin-top: 0; }

.empty { padding: 54px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; }
.empty svg { margin: 0 auto 14px; color: var(--gold-deep); }
.empty h3 { font-family: var(--display); font-size: 18px; text-transform: uppercase; margin-bottom: 8px; }
.empty p { color: var(--ink-2); font-size: 13px; margin-bottom: 18px; }

.skeleton { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.skeleton__art { aspect-ratio: 1 / 1; background: linear-gradient(100deg, #17110a 20%, #241a10 40%, #17110a 60%); background-size: 220% 100%; animation: shine 1.3s linear infinite; }
.skeleton__line { height: 12px; margin: 12px; background: #241a10; border-radius: 2px; }
.skeleton__line.short { width: 55%; }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---------- страница товара ---------- */

.pdp { display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: start; }
.pdp__art { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pdp__img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--radius); background: #0d0a07; }
.pdp__badges { position: absolute; left: 30px; top: 30px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pdp__flag { display: flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--gold-deep); border-radius: var(--radius); background: #241a0c; font-size: 12px; color: var(--gold-2); }

.pdp__title { font-family: var(--display); font-size: clamp(22px, 3.4vw, 34px); text-transform: uppercase; margin: 10px 0 12px; letter-spacing: -.01em; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.pdp__price b { font-family: var(--display); font-size: 30px; }
.pdp__price s { color: var(--ink-3); }
.pdp__price .badge { align-self: center; }
.pdp__desc { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.specs div { padding: 11px 13px; background: var(--card); }
.specs span { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.specs b { font-size: 14px; font-weight: 600; }

.block { margin-bottom: 22px; }
.block__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.block__title b { color: var(--ink); letter-spacing: .04em; }

.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card-2); color: var(--ink); font-size: 13px; text-align: left; }
.variant:hover { border-color: var(--gold); }
.variant small { color: var(--ink-3); font-size: 11px; }
.variant.active { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); font-weight: 700; }
.variant.active small { color: #4a3208; }
.variant[disabled] { opacity: .45; pointer-events: none; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card-2); overflow: hidden; }
.qty button { width: 40px; height: 44px; display: grid; place-items: center; color: var(--ink); font-size: 18px; line-height: 1; }
.qty button:hover { color: var(--gold-ink); background: var(--gold); }
.qty span { min-width: 44px; text-align: center; font-weight: 700; }

.pdp__buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 12px; }
.pdp__buy .btn--gold { flex: 1 1 200px; }
.pdp__links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 12px; color: var(--ink-3); }

.reco { margin-top: 46px; }
.reco__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }

/* ---------- корзина ---------- */

.cartlayout { display: grid; grid-template-columns: 1fr 344px; gap: 24px; align-items: start; }
.lines { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__art { width: 96px; height: 96px; object-fit: contain; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: #0d0a07; }
.line__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.line__name { font-size: 14px; font-weight: 600; }
.line__name:hover { color: var(--gold-2); }
.line__var { font-size: 12px; color: var(--ink-2); }
.line__ctl { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.line__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.line__sum { font-family: var(--display); font-size: 17px; }
.line__del { color: var(--ink-3); font-size: 12px; }
.line__del:hover { color: var(--danger); }

.sum { position: sticky; top: calc(var(--head-h) + 62px); padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13px; color: var(--ink-2); }
.sum__row b { color: var(--ink); font-size: 14px; }
.sum__row--total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum__row--total b { font-family: var(--display); font-size: 23px; color: var(--gold-2); }
.sum__bonus { margin: 12px 0; padding: 12px; border: 1px dashed var(--gold-deep); border-radius: var(--radius); background: #241a0c; }
.sum__bonus label { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--gold-2); }
.sum__bonus small { display: block; margin-top: 7px; color: var(--ink-3); font-size: 11px; }
.sum .btn--gold { margin-top: 12px; }
.sum__note { margin-top: 12px; font-size: 11px; color: var(--ink-3); line-height: 1.45; }
.sum__links { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

.promo { display: flex; gap: 8px; margin-top: 4px; }
.promo .input { min-height: 42px; }
.promo .btn { min-height: 42px; }

/* ---------- оформление заказа ---------- */

.steps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink-3); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.step i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 700; }
.step.active { color: var(--ink); border-color: var(--gold); }
.step.active i { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); }
.step.done { color: var(--gold-2); border-color: var(--gold-deep); }
.step.done i { border-color: var(--gold); color: var(--gold); }

.colayout { display: grid; grid-template-columns: 1fr 344px; gap: 24px; align-items: start; }
.card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card + .card { margin-top: 16px; }
.card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.card__title span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--font); font-size: 11px; }

.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 11px; align-items: flex-start; padding: 12px 13px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card-2); cursor: pointer; }
.choice:hover { border-color: var(--gold); }
.choice.active { border-color: var(--gold); background: #241a0c; }
.choice input { appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); position: relative; }
.choice input:checked { border-color: var(--gold); }
.choice input:checked:after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); }
.choice b { display: block; font-size: 14px; }
.choice span { font-size: 12px; color: var(--ink-3); }

.co__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mini { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.mini__line { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini__line img { width: 40px; height: 40px; object-fit: contain; background: #0d0a07; border: 1px solid var(--line); border-radius: var(--radius); }
.mini__line span { color: var(--ink-3); font-size: 11px; }
.mini__line b { margin-left: auto; white-space: nowrap; }

.done { max-width: 620px; margin: 0 auto; padding: 34px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.done__mark { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); }
.done h2 { font-family: var(--display); font-size: 24px; text-transform: uppercase; margin-bottom: 10px; }
.done p { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.done__num { display: inline-block; margin: 12px 0 18px; padding: 8px 16px; border: 1px dashed var(--gold-deep); border-radius: var(--radius); background: #241a0c; color: var(--gold-2); font-family: var(--display); font-size: 18px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- аккаунт ---------- */

.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; max-width: 940px; margin: 0 auto; }
.auth__aside { padding: 24px; border: 1px solid var(--gold-deep); border-radius: var(--radius); background: linear-gradient(160deg, #241a0c, #120d08); }
.auth__aside h3 { font-family: var(--display); font-size: 20px; text-transform: uppercase; margin-bottom: 12px; }
.auth__aside ul { display: grid; gap: 9px; margin-top: 16px; }
.auth__aside li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.auth__aside svg { color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.auth__bonus { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: var(--radius); background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 12px; letter-spacing: .1em; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.tabs button { padding: 8px 14px; border-radius: var(--radius); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: var(--gold-ink); background: var(--gold); }

.me { display: grid; grid-template-columns: 1fr 344px; gap: 24px; align-items: start; }
.me__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.me__ava { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--gold-deep); border-radius: var(--radius); background: #241a0c; color: var(--gold-2); font-family: var(--display); font-size: 20px; }
.me__head b { display: block; font-size: 17px; }
.me__head span { font-size: 12px; color: var(--ink-3); }
.me__rows { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.me__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 13px; background: var(--card); font-size: 13px; }
.me__row span { color: var(--ink-3); }

.bonusbox { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.bonusbox__num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--gold-2); }
.bonusbox__lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.bonusbox__rules { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 12px; color: var(--ink-2); }

.history { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.history__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.history__row:last-child { border-bottom: 0; }
.history__row time { color: var(--ink-3); font-size: 11px; }
.history__amt { margin-left: auto; font-weight: 700; white-space: nowrap; }
.history__amt.plus { color: var(--ok); }
.history__amt.minus { color: var(--danger); }

.orders { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.order { padding: 14px; border-bottom: 1px solid var(--line); }
.order:last-child { border-bottom: 0; }
.order__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.order__num { font-family: var(--display); font-size: 15px; }
.order__sum { margin-left: auto; font-weight: 700; }
.order__meta { font-size: 12px; color: var(--ink-3); }
.st { padding: 3px 8px; border-radius: var(--radius); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.st--new { color: var(--gold-ink); background: var(--gold); }
.st--confirmed { color: #170f03; background: #d8b56a; }
.st--delivering { color: #eaf0ff; background: #3a4a7a; }
.st--done { color: #dff5df; background: #2f5c2f; }
.st--cancelled { color: #ffd8d0; background: #7a3a28; }

/* ---------- подвал ---------- */

.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 34px 0 26px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.foot h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot__links { display: grid; gap: 9px; font-size: 13px; }
.foot__links a { color: var(--ink-2); }
.foot__links a:hover { color: var(--gold-2); }
.foot p { font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.foot__warn { margin-top: 26px; padding: 14px 16px; border: 1px solid var(--danger-line); border-radius: var(--radius); background: var(--danger-bg); color: #ffcfc4; font-size: 12px; line-height: 1.5; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }
.foot__legal { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.foot__legal.open { max-height: 400px; }

/* ---------- уведомления ---------- */

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; max-width: min(92vw, 340px); }
.toast { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--popover, #120d08); box-shadow: var(--shadow); animation: slidein .25s ease; }
.toast__art { width: 40px; height: 40px; object-fit: contain; background: #0d0a07; border: 1px solid var(--line); border-radius: var(--radius); flex: 0 0 auto; }
.toast__body { min-width: 0; }
.toast__body b { display: block; font-size: 13px; }
.toast__body span { font-size: 12px; color: var(--ink-2); }
.toast__act { margin-left: auto; font-size: 12px; color: var(--gold); white-space: nowrap; }
.toast--err { border-left-color: var(--danger); }
.toast--err .toast__body b { color: #ffb3a0; }
@keyframes slidein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- слои, модалки, шторки ---------- */

.layer { position: fixed; inset: 0; z-index: 120; display: none; }
.layer.on { display: block; }
.layer__back { position: absolute; inset: 0; background: rgba(6, 4, 2, .78); backdrop-filter: blur(3px); }

.modal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(94vw, 520px); max-height: 88vh; overflow-y: auto; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--popover, #120d08); box-shadow: var(--shadow); }
.modal--wide { width: min(96vw, 720px); }
.modal__close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.modal__close:hover { color: var(--gold); border-color: var(--gold); }
.modal__title { font-family: var(--display); font-size: 17px; text-transform: uppercase; margin: 0 34px 6px 0; }
.modal__sub { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.modal__art { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #0d0a07; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; padding: 10px; }
.modal__foot { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.modal__foot .btn { flex: 1 1 auto; }

/* шторка снизу (мобильные фильтры) */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; padding: 18px 18px 26px; border-top: 1px solid var(--line); border-radius: 10px 10px 0 0; background: var(--popover, #120d08); box-shadow: 0 -20px 50px rgba(0, 0, 0, .6); animation: up .25s ease; }
@keyframes up { from { transform: translateY(20px); } to { transform: none; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sheet__head b { font-family: var(--display); font-size: 16px; text-transform: uppercase; }

/* экран подтверждения возраста */
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 25%, #241a09, #060402 72%); }
.gate__card { width: min(96vw, 430px); padding: 30px 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #120d08; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); text-align: center; }
.gate__card h2 { font-family: var(--display); font-size: 22px; text-transform: uppercase; margin: 18px 0 10px; }
.gate__card p { color: var(--ink-2); font-size: 13px; margin-bottom: 20px; }
.gate__acts { display: grid; gap: 10px; }
.gate__mark { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); }
.gate__deny { margin-top: 16px; font-size: 12px; color: var(--ink-3); }

/* ---------- мобильная панель вкладок ---------- */

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: repeat(4, 1fr); background: rgba(13, 10, 7, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; color: var(--ink-3); font-size: 10px; letter-spacing: .04em; }
.tabbar a.active { color: var(--gold); }
.tabbar u { position: absolute; top: 4px; left: 50%; margin-left: 4px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font-size: 10px; font-weight: 800; text-decoration: none; }

/* ---------- адаптив ---------- */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .showcase { order: -1; }
  .catalog__layout { grid-template-columns: 1fr; }
  .side { display: none; }
  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .cartlayout, .colayout, .me { grid-template-columns: 1fr; }
  .sum { position: static; }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .adv__item:nth-child(3) { border-left: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .auth { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gut: 14px; --head-h: 58px; }
  body { font-size: 14.5px; padding-bottom: 0; }
  body.has-tabbar { padding-bottom: 62px; }
  .tabbar { display: grid; }
  .hdr__search { display: none; }
  .hdr__search.mobile-on { display: block; position: absolute; left: var(--gut); right: var(--gut); top: 8px; z-index: 5; max-width: none; }
  .brand { font-size: 18px; }
  .hdr__side { gap: 8px; }
  .pill { min-height: 40px; padding: 0 11px; }
  .pill__label { display: none; }
  .pill--search { display: inline-flex; }
  .hero { padding: 22px 0 20px; }
  .hero__stats { gap: 16px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 11px; }
  .pcard__body { padding: 11px 11px 12px; gap: 7px; }
  .pcard__img { padding: 4px; }
  .pcard__price b { font-size: 16px; }
  .pcard__buy .btn { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .grid--list .pcard__art { flex-basis: 104px; }
  .grid--list .pcard__body { flex-direction: column; align-items: stretch; gap: 9px; }
  .grid--list .pcard__side { align-items: stretch; }
  .grid--list .pcard__foot { flex-direction: row; }
  .line { grid-template-columns: 74px 1fr; }
  .line__art { width: 74px; height: 74px; }
  .line__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .foot__grid { grid-template-columns: 1fr; }
  .modal { width: 100vw; max-width: 100vw; left: 0; right: 0; top: auto; bottom: 0; transform: none; max-height: 90vh; border-radius: 10px 10px 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
  .adv__grid { grid-template-columns: 1fr; }
  .adv__item + .adv__item { border-left: 0; border-top: 1px solid var(--line); }
  .toasts { left: 12px; right: 12px; bottom: 74px; max-width: none; }
  .steps { gap: 6px; }
  .step { padding: 8px 10px; font-size: 11px; }
  .pdp__buy .btn--gold { flex-basis: 100%; }
  .pdp__sticky { position: sticky; bottom: 8px; z-index: 5; padding: 10px; margin: 0 -14px; background: rgba(10, 8, 6, .95); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .pdp__sticky .pdp__buy { margin: 0; }
  .pdp__sticky .qty span { min-width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- доводка ---------- */

.pcard__artlink { display: block; }
.pill--search { display: none; }
.tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; color: var(--ink-3); font-size: 10px; letter-spacing: .04em; background: none; }
.tabbar a.active, .tabbar button.active { color: var(--gold); }

@media (max-width: 720px) {
  .pill--search { display: inline-flex; }
}

/* ---------- правки после ревью ---------- */

/* категории в шапке — одна строка с горизонтальной прокруткой, «Фильтры» всегда справа */
.hdr__bottom { overflow: visible; }
#catTabs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow-x: auto;
  scrollbar-width: none;
}
#catTabs::-webkit-scrollbar { display: none; }
#catTabs .tab { flex: 0 0 auto; }
.hdr__tools { margin-left: 0; flex: 0 0 auto; padding-left: 0; }

/* цена всегда прижата к кнопке — карточки выравниваются по низу */
.pcard__body > .pcard__side { margin-top: auto; }
.grid--list .pcard__side { margin-top: 0; }

/* на узких экранах баннер идёт после текста, подпись не закрывает картинку */
@media (max-width: 1080px) { .showcase { order: 0; } }
@media (max-width: 720px) {
  .showcase__cap { display: none; }
  #catTabs { gap: 6px; }
  .pcard__side { margin-top: auto; }
}
@media (min-width: 1081px) { .hdr__tools { display: none; } }

/* шапка на телефоне: избранное живёт в нижней панели, в шапке не дублируем */
body { overflow-x: clip; }
@media (max-width: 720px) {
  .pill--favs { display: none; }
  .hdr__top { gap: 10px; }
  .hdr__side { gap: 6px; }
  .pill { padding: 0 10px; }
}

/* липкая панель покупки на телефоне: одна строка кнопок и выше нижней навигации */
@media (max-width: 720px) {
  body.has-tabbar .pdp__sticky { bottom: 62px; }
  .pdp__sticky .pdp__buy { flex-wrap: nowrap; gap: 8px; }
  .pdp__sticky .pdp__buy .btn--gold { flex: 1 1 auto; min-width: 0; }
  .pdp__sticky .pdp__buy .btn--ghost { flex: 0 0 auto; padding: 0 12px; font-size: 13px; }
  .pdp__sticky .pdp__links { margin-top: 8px; }
}

/* ---------- полосы с надписями ----------
   Раньше это были бегущие строки фиксированной длины: на широких экранах
   справа оставалась пустая золотая полоса, а слова резались по краям.
   Теперь надпись повторяется столько раз, сколько влезает целиком,
   и раскладывается по ширине с одинаковыми промежутками. */

.tick {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 0;
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
}
.tick--big {
  padding: 12px 0;
  font-family: var(--display);
  font-size: clamp(16px, 2.4vw, 26px);
  letter-spacing: -.01em;
  text-align: center;
}

/* ---------- фотографии товаров ----------
   Раньше фото лежало на тёмной квадратной подложке с отступами — вокруг
   картинки была чёрная рамка. Теперь фото заполняет всю карточку целиком:
   пропорции 4:3 (родные для снимков) и обрезка по краям вместо полей. */

.pcard { overflow: hidden; }
.pcard__art { padding: 0; background: none; border-bottom: 1px solid var(--line); }
.pcard__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 0;
  background: var(--card-2);
}

/* режим списка — фото тянется по высоте строки */
.grid--list .pcard__art { flex: 0 0 176px; border-bottom: 0; border-right: 1px solid var(--line); }
.grid--list .pcard__artlink { display: flex; height: 100%; }
.grid--list .pcard__img { aspect-ratio: auto; height: 100%; min-height: 128px; }

/* страница товара — то же самое, без тёмной подложки */
.pdp__art { padding: 0; overflow: hidden; }
.pdp__img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; padding: 0; border-radius: 0; }
.pdp__badges { left: 14px; top: 14px; }
.pdp__flag { margin: 0 14px 14px; }

/* миниатюры в корзине и списках — тоже без чёрных полей */
.line { grid-template-columns: 128px 1fr auto; }
.line__art { width: 128px; height: 96px; padding: 0; object-fit: cover; }
.search-hit__art, .toast__art, .mini__line img { object-fit: cover; }

@media (max-width: 720px) {
  .line { grid-template-columns: 98px 1fr; }
  .line__art { width: 98px; height: 74px; }
  .grid--list .pcard__art { flex-basis: 120px; }
  .grid--list .pcard__img { min-height: 116px; }
}
