/* ==========================================================
   Мужская тема — магазин мужских подарков
   ========================================================== */
:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --bg-3: #1c1916;
  --bone: #ece6da;
  --steel: #a8a39a;
  --muted: #77716a;
  --fire: #e22025;      /* фирменный красный «Мужской темы» */
  --fire-hi: #ff4a4f;
  --ember: #ff7a2b;
  --on-fire: #ffffff;
  --line: rgba(236, 230, 218, .12);

  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --pad: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--bone);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
::selection { background: var(--fire); color: var(--on-fire); }

.container { width: 100%; padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--fire); margin-bottom: 20px; }
.title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(40px, 7vw, 108px); line-height: .92; letter-spacing: -.01em;
}
.title em, .hero__lead em {
  font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none;
  color: var(--fire); letter-spacing: 0;
}
.title em { font-size: 1.08em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 34px; border-radius: 60px; overflow: hidden;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--fire { background: var(--fire); color: var(--on-fire); }
.btn--fire:hover { color: var(--bg); }
.btn--fire::before { background: var(--bone); }
.btn--line { border: 1px solid rgba(236,230,218,.35); }
.btn--line::before { background: var(--bone); }
.btn--line:hover { color: var(--bg); }
.btn--block { width: 100%; }
.btn span, .btn { transition: color .4s var(--ease); }

/* ---------- Grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-5%,3%)} 40%{transform:translate(3%,-4%)} 60%{transform:translate(-2%,5%)} 80%{transform:translate(4%,2%)} 100%{transform:translate(0,0)} }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--bone); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s;
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--fire); mix-blend-mode: normal; }
.cursor__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-fire); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Spotlight: мягкий свет за курсором / пальцем ---------- */
.spotlight {
  --s: 760px;
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  mix-blend-mode: screen; opacity: 0; transition: opacity 1s var(--ease);
  will-change: transform;
}
.spotlight.is-on { opacity: 1; }
.spotlight i, .spotlight::after {
  position: absolute; inset: 0; border-radius: 50%;
  transition: transform 1s var(--ease), opacity .8s var(--ease);
}
.spotlight i {
  background: radial-gradient(circle, rgba(255,110,90,.18) 0%, rgba(226,32,37,.095) 26%, rgba(226,32,37,.035) 46%, transparent 66%);
}
/* Яркое ядро — проявляется над интерактивными элементами */
.spotlight::after {
  content: ""; transform: scale(.35); opacity: 0;
  background: radial-gradient(circle, rgba(255,210,190,.16) 0%, rgba(255,90,70,.09) 35%, transparent 70%);
}
.spotlight.is-focus i { transform: scale(1.18); }
.spotlight.is-focus::after { transform: scale(.55); opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .spotlight { --s: 520px; }
  .spotlight i { background: radial-gradient(circle, rgba(255,110,90,.15) 0%, rgba(226,32,37,.08) 30%, rgba(226,32,37,.03) 50%, transparent 68%); }
}

/* Кольцо в точке касания / клика */
.tap-ring {
  position: fixed; z-index: 95; pointer-events: none; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border-radius: 50%; border: 1px solid rgba(255,90,80,.7);
  background: radial-gradient(circle, rgba(226,32,37,.18), transparent 65%);
  animation: tapRing .9s var(--ease) forwards;
}
@keyframes tapRing { from { transform: scale(.1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Подсветка краёв в месте курсора */
.review, .quiz__opts button { position: relative; }
.review::after, .quiz__card::after, .quiz__opts button::after, .filter::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,95,85,.95), rgba(226,32,37,.25) 40%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease);
}
.filter { position: relative; }
.review:hover::after, .quiz__card:hover::after, .quiz__opts button:hover::after, .filter:hover::after,
.is-lit::after { opacity: 1; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden; }
.pl-half { position: absolute; inset: -20%; background: var(--bg); will-change: transform; }
.pl-a { clip-path: polygon(0 0, 100% 0, 100% 35.8%, 0 69.2%); }
.pl-b { clip-path: polygon(0 69.2%, 100% 35.8%, 100% 100%, 0 100%); }
.pl-half::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 50%, rgba(226,32,37,.07), transparent 70%); }
.preloader__inner { position: relative; z-index: 2; }
.pl-slash { position: absolute; left: 0; top: 0; z-index: 3; height: 3px; border-radius: 3px; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, #fff 12%, #fff 88%, transparent);
  box-shadow: 0 0 12px 2px rgba(255,255,255,.8), 0 0 40px 8px rgba(226,32,37,.9), 0 0 120px 30px rgba(226,32,37,.45); }
.pl-flash { position: fixed; inset: 0; z-index: 4; background: radial-gradient(circle at 50% 50%, #fff, rgba(255,120,110,.6) 40%, rgba(226,32,37,0) 75%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.preloader__inner { text-align: center; }
.preloader__emblem { position: relative; width: 132px; height: 132px; margin: 0 auto 28px; }
.preloader__emblem img { position: absolute; inset: 10px; width: 112px; height: 112px; border-radius: 50%; animation: emblemIn 1.2s var(--ease) both; }
.preloader__emblem svg { position: absolute; inset: 0; width: 132px; height: 132px; transform: rotate(-90deg); }
.preloader__emblem circle { fill: none; stroke: var(--fire); stroke-width: 2; stroke-dasharray: 402; stroke-dashoffset: 402; animation: ring 1.6s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes emblemIn { from { transform: scale(.6) rotate(-20deg); opacity: 0; } }
.preloader__word { display: block; height: 22px; width: auto; margin: 16px auto 0; opacity: .9; }
.preloader__count { font-family: var(--display); font-size: 72px; font-weight: 500; line-height: 1; }
html:not(.anim) .preloader { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--pad);
  transition: transform .6s var(--ease), background .4s, padding .4s var(--ease);
}
.header.is-scrolled { background: rgba(12,11,10,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__emblem { width: 44px; height: 44px; border-radius: 50%; transition: transform .8s var(--ease); }
.logo:hover .logo__emblem { transform: rotate(-12deg) scale(1.06); }
.logo__word { height: 20px; width: auto; }
.header__phone { font-size: 14px; font-weight: 600; margin-right: 8px; transition: color .3s; }
.header__phone:hover { color: var(--fire-hi); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; font-size: 14px; font-weight: 500; padding: 4px 0; overflow: hidden; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fire); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 12px; }
.order-btn { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border: 1px solid var(--line); border-radius: 44px; font-size: 13px; font-weight: 600; transition: border-color .3s; }
.order-btn:hover { border-color: var(--fire); }
.order-btn b { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 28px; background: var(--fire); color: var(--on-fire); font-size: 12px; display: grid; place-items: center; }
.order-btn.bump b { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.burger.is-open i:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; }
.hero__media { position: absolute; inset: 0; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.hero__media.gl-on .hero__gl { opacity: 1; }
.hero__media.gl-on img { visibility: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; filter: brightness(1.25) contrast(1.1); transform-origin: 70% 60%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,10,.55) 0%, transparent 30%, transparent 55%, var(--bg) 100%), linear-gradient(90deg, rgba(12,11,10,.7), transparent 60%); }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -10vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,40,.26), rgba(226,32,37,.1) 40%, transparent 70%); filter: blur(20px); animation: glow 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-4vw, -3vw) scale(1.1); opacity: .7; } }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--pad) 48px; }
.hero__top { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 38px; font-size: 13px; font-weight: 600; background: rgba(12,11,10,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip small { color: var(--steel); font-weight: 500; font-size: 12px; }
.chip--rating { color: var(--fire); transition: border-color .3s; }
.chip--rating:hover { border-color: var(--fire); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(64px, 16vw, 250px); line-height: .9; letter-spacing: -.02em; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line--indent { padding-left: 12vw; color: transparent; -webkit-text-stroke: 2px var(--fire); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__lead { max-width: 440px; color: var(--steel); font-size: 16px; }
.hero__lead em { display: block; font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; z-index: 2; right: var(--pad); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--steel); }
.hero__scroll i { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--fire); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Ticker ---------- */
.ticker { padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.ticker__row { overflow: hidden; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; white-space: nowrap; will-change: transform; }
.ticker__row:first-child .ticker__track { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(48px, 9vw, 140px); line-height: 1.05; }
.ticker__row:first-child .o { color: transparent; -webkit-text-stroke: 1.5px var(--fire); }
.ticker__track i { font-style: normal; color: var(--fire); font-size: .45em; }
.ticker__row--alt { margin-top: 8px; }
.ticker__row--alt .ticker__track { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 44px); color: var(--steel); }
.ticker__row--alt i { color: var(--muted); font-size: 1em; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 14vw, 200px) 0; }
.manifesto__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.manifesto__text { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.005em; }
.manifesto__text .word { opacity: .15; transition: none; }
html:not(.anim) .manifesto__text .word { opacity: 1; }
.facts { grid-column: 2; list-style: none; padding: 48px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; color: var(--fire); margin-bottom: 8px; }
.fact span { color: var(--steel); font-size: 14px; }
.fact sup { font-size: .38em; line-height: 1; vertical-align: top; position: relative; top: .12em; margin-left: .06em; letter-spacing: .02em; }

/* ---------- Collections (horizontal) ---------- */
.collections { background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.collections__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 70px; }
.collections__head { margin-bottom: clamp(24px, 3vw, 40px); }
.collections__head .title { font-size: clamp(40px, 5.4vw, 84px); }
.collections__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--pad); width: max-content; will-change: transform; }
.panel { position: relative; flex: 0 0 auto; width: clamp(300px, 34vw, 520px); height: min(58vh, 560px); overflow: hidden; border-radius: 6px; background: var(--bg-3); }
.panel__img { position: absolute; inset: 0; overflow: hidden; }
.panel__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85) brightness(.8); }
.panel:hover .panel__img img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,11,10,.92), rgba(12,11,10,.1) 55%); }
.panel__info { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.panel__num { font-family: var(--display); color: var(--fire); font-size: 14px; letter-spacing: .1em; }
.panel h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; margin: 6px 0 10px; }
.panel p { color: var(--steel); font-size: 15px; max-width: 360px; }
.panel__price { display: inline-block; margin-top: 14px; padding: 6px 14px; border: 1px solid var(--fire); border-radius: 30px; color: var(--fire); font-size: 13px; }
.collections__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 32px; height: 1px; background: var(--line); }
.collections__progress i { position: absolute; inset: 0; background: var(--fire); transform-origin: left; transform: scaleX(0); }

/* ---------- Catalog ---------- */
.catalog { padding: clamp(100px, 12vw, 180px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 42px; font-size: 13px; font-weight: 600; color: var(--steel); transition: all .4s var(--ease); }
.filter:hover { color: var(--bone); border-color: var(--steel); }
.filter.is-active { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
.card { perspective: 900px; }
.card__inner { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--bg-3); margin-bottom: 18px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.09); }
.card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,220,170,.22), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover .card__shine { opacity: 1; }
.card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 12px; border-radius: 30px; background: rgba(12,11,10,.7); backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card__tag--hot { background: var(--fire); color: var(--on-fire); }
.card__add {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--bone); color: var(--bg);
  display: grid; place-items: center; font-size: 24px; font-weight: 300; line-height: 1;
  transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease), background .3s;
}
.card:hover .card__add, .card__add:focus-visible { transform: scale(1) rotate(0); }
.card__add:hover, .card__add.is-added { background: var(--fire); color: var(--on-fire); }
.card__cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 6px 0 8px; }
.card__price { font-weight: 700; color: var(--fire-hi); }
.card__price--ask { color: var(--steel); font-weight: 500; font-size: 14px; }
.catalog__note { margin-top: 56px; color: var(--muted); font-size: 13px; }

/* ---------- Quiz ---------- */
.quiz { position: relative; padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; }
.quiz__bg { position: absolute; inset: 0; }
.quiz__bg img { width: 100%; height: 130%; object-fit: cover; opacity: .28; filter: saturate(1.2); }
.quiz__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(12,11,10,.6) 60%, var(--bg)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.quiz__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quiz__intro p { color: var(--steel); font-size: 18px; max-width: 420px; margin-top: 24px; }
.quiz__card { position: relative; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 10px; background: rgba(20,18,16,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); min-height: 440px; }
.quiz__progress { height: 2px; background: var(--line); margin-bottom: 36px; border-radius: 2px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--fire); transition: width .7s var(--ease); }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: stepIn .7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } }
.quiz__q { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; margin-bottom: 28px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opts button { min-height: 72px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 8px; text-align: left; font-weight: 600; transition: all .4s var(--ease); }
.quiz__opts button:hover { border-color: var(--fire); background: rgba(217,154,78,.08); transform: translateY(-2px); }
.quiz__back { position: absolute; left: clamp(28px, 4vw, 52px); bottom: 20px; font-size: 13px; color: var(--muted); }
.quiz__back:hover { color: var(--bone); }
.quiz__picks { display: grid; gap: 12px; margin-bottom: 28px; }
.pick { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; animation: stepIn .7s var(--ease) both; }
.pick img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.pick b { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 17px; line-height: 1.15; }
.pick span { color: var(--fire); font-size: 14px; font-weight: 700; }
.pick button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; transition: all .3s; }
.pick button:hover, .pick button.is-added { background: var(--fire); color: var(--on-fire); border-color: var(--fire); }
.quiz__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating b { font-family: var(--display); font-size: clamp(64px, 7vw, 110px); line-height: 1; font-weight: 500; color: var(--fire); }
.rating span { color: var(--fire); letter-spacing: 4px; font-size: 18px; }
.rating small { display: block; letter-spacing: 0; color: var(--steel); font-size: 13px; }
.reviews__rows { display: grid; gap: 20px; }
.reviews__row { overflow: hidden; }
.reviews__track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.review { margin: 0; width: clamp(300px, 32vw, 460px); padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: border-color .4s; }
.review:hover { border-color: var(--fire); }
.review p { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.35; }
.review p::before { content: "“"; display: block; font-size: 60px; line-height: .6; color: var(--fire); margin-bottom: 8px; }
.review cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--steel); }

/* ---------- Visit ---------- */
.visit { position: relative; padding: clamp(120px, 14vw, 220px) 0; overflow: hidden; }
.visit__media { position: absolute; inset: 0; }
.visit__media img { width: 100%; height: 125%; object-fit: cover; opacity: .35; }
.visit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(12,11,10,.5) 40%, var(--bg)); }
.visit__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.visit__lead { color: var(--steel); font-size: 18px; margin-top: 24px; max-width: 460px; }
.visit__info { list-style: none; padding: 0; margin: 0; }
.visit__info li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.visit__info li > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fire); margin-bottom: 6px; }
.visit__info .visit__btns { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding-top: 32px; }

/* ---------- Footer ---------- */
.footer { overflow: hidden; border-top: 1px solid var(--line); }
.footer__big { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 15.2vw; line-height: .8; letter-spacing: -.03em; text-align: center; white-space: nowrap; padding-top: 4vw; position: relative; color: transparent; -webkit-text-stroke: 1px rgba(236,230,218,.25); --split: 58%; background: linear-gradient(90deg, var(--bone) 0 min(var(--split), var(--fill, 0%)), var(--fire) min(var(--split), var(--fill, 0%)) var(--fill, 0%), transparent var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; }
.footer__brand { display: flex; justify-content: center; padding: 72px 0 clamp(24px, 3vw, 40px); }
.footer__brand img { width: min(360px, 70vw); height: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 13px; color: var(--muted); }

/* ---------- Drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(460px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .8s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 30px; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.drawer__close:hover { transform: rotate(90deg); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.drawer__empty { text-align: center; padding: 72px 0; color: var(--muted); }
.drawer__empty b { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 26px; color: var(--bone); margin-bottom: 8px; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 72px; height: 88px; object-fit: cover; border-radius: 4px; }
.line-item__name { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 17px; line-height: 1.15; }
.line-item__price { font-size: 14px; color: var(--fire); }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line); border-radius: 30px; }
.qty button { width: 32px; height: 32px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 700; }
.line-item__del { font-size: 12px; color: var(--muted); text-decoration: underline; }
.drawer__foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total b { font-family: var(--display); font-weight: 500; font-size: 32px; }
.drawer__note { font-size: 13px; color: var(--muted); margin: 6px 0 18px; min-height: 1em; }
.btn.is-disabled { opacity: .4; pointer-events: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 250; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 40px; background: var(--bone); color: var(--bg); font-size: 14px; font-weight: 600; opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: all .5s var(--ease); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

html:not(.anim) .reviews__row, html:not(.anim) .ticker__row { overflow-x: auto; scrollbar-width: none; }


/* ---------- Progress bar ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 150; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--fire), #ff6b5f); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgba(226,32,37,.8); }

/* ---------- Page curtain (переходы между страницами) ---------- */
.curtain { position: fixed; inset: 0; z-index: 600; pointer-events: none; display: grid; place-items: center; }
.curtain i { position: absolute; inset: -30%; transition: transform .65s cubic-bezier(.77,0,.18,1); }
.curtain__a { background: var(--fire); transform: translate(-120%, 60%) rotate(-24deg); }
.curtain__b { background: var(--bg); transform: translate(-125%, 65%) rotate(-24deg); transition-delay: .07s !important; }
.curtain img { position: relative; width: 96px; height: 96px; border-radius: 50%; opacity: 0; transform: scale(.7); transition: opacity .35s, transform .6s var(--ease); }
.curtain.is-enter, .curtain.is-cover { pointer-events: all; }
.curtain.is-enter i, .curtain.is-cover i { transform: translate(0, 0) rotate(-24deg); }
.curtain.is-enter img, .curtain.is-cover img { opacity: 1; transform: scale(1); transition-delay: .25s; }
.curtain.is-cover i { transition: none; }
.curtain.is-leave i { transform: translate(120%, -60%) rotate(-24deg); }
.curtain.is-leave .curtain__a { transition-delay: .08s !important; }
.curtain.is-leave .curtain__b { transition-delay: 0s !important; }

/* ---------- ZOOM: пролёт сквозь букву ---------- */
.zoom { position: relative; background: var(--bg); }
.zoom__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.zoom__media { position: absolute; inset: 0; }
.zoom__media img { width: 100%; height: 100%; object-fit: cover; }
.zoom__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(12,11,10,.8) 22%, rgba(12,11,10,.1) 60%), linear-gradient(180deg, var(--bg) 0%, transparent 14%); }
/* маска — вектор (SVG): буква чёткая на любом увеличении, без артефактов видеокарты */
.zoom__mask { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.zoom__shade { fill: var(--bg); }
.zoom__word { font-family: var(--display); font-weight: 700; }
.zoom__cap { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(40px, 8vh, 90px); max-width: 640px; }
.zoom__cap p { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.05; margin-bottom: 28px; }
html:not(.anim) .zoom__mask { display: none; }

/* ---------- Card: второе фото и статус ---------- */
.card__img { display: block; }
.card__img2 { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform 1s var(--ease) !important; }
.card:hover .card__img2 { opacity: 1; }
.card__stock { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 5px 12px; border-radius: 30px; background: rgba(12,11,10,.75); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.card__stock--low { top: auto; bottom: 14px; }
.card.is-out .card__img img { filter: grayscale(1) brightness(.6); }
.card__name a:hover { color: var(--fire-hi); }
.card__media { position: relative; }
.card__media .card__add { bottom: 32px; }
.catalog__more { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Разбор ножа ---------- */
.anatomy { position: relative; overflow: hidden; background: radial-gradient(60% 45% at 50% 55%, rgba(226,32,37,.10), transparent 70%), var(--bg); }
.anatomy__pin { position: relative; height: 100vh; height: 100svh; min-height: 720px; display: grid; grid-template-rows: auto 1fr auto; padding: 96px 0 56px; }
.anatomy__head { position: relative; z-index: 2; }
.anatomy__giant { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: clamp(150px, 34vw, 560px); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(243,239,232,.1); }
.anatomy__stage { position: relative; z-index: 1; align-self: center; width: min(1000px, 72vw); margin: 0 auto; aspect-ratio: 1122 / 176; }
.anatomy__knife { display: block; width: 100%; height: auto; filter: drop-shadow(0 34px 38px rgba(0,0,0,.65)) drop-shadow(0 0 70px rgba(226,32,37,.14)); will-change: transform; }
.anatomy__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.anatomy__lines path { fill: none; stroke: rgba(243,239,232,.45); stroke-width: 1.5; }
.anatomy__pt { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; }
.anatomy__pt i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--fire);
  box-shadow: 0 0 0 5px rgba(226,32,37,.25), 0 0 26px rgba(226,32,37,.8); }
.anatomy__pt i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(226,32,37,.6); animation: anatomyPulse 2.4s ease-out infinite; }
@keyframes anatomyPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.anatomy__label { position: absolute; left: 0; width: 240px; padding-left: 16px; }
.anatomy__label small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fire); }
.anatomy__label b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.anatomy__label span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--steel); }
.anatomy__pt[data-align="left"] .anatomy__label { left: auto; right: 0; padding: 0 16px 0 0; text-align: right; }
.anatomy__list { display: none; }
.anatomy__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.anatomy__foot p { max-width: 460px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--steel); }
@media (max-width: 900px) {
  .anatomy__pin { height: auto; min-height: 0; display: block; padding: 90px 0 80px; }
  .anatomy__giant { top: 33%; font-size: 38vw; }
  .anatomy__stage { width: 94vw; margin: 70px auto 40px; }
  .anatomy__pt i::after { inset: -6px; }
  .anatomy__lines, .anatomy__label { display: none; }
  .anatomy__pt i { left: -10px; top: -10px; width: 20px; height: 20px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
  .anatomy__pt i::before { content: attr(data-n); }
  .anatomy__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; margin: 0 var(--pad) 44px; padding: 0; list-style: none; }
  .anatomy__list .anatomy__label { display: block; position: static; width: auto; padding: 14px 0 0; border-top: 1px solid var(--line); text-align: left; }
  .anatomy__list .anatomy__label b { font-size: 22px; }
  .anatomy__foot p { font-size: 20px; }
}

/* ---------- Материалы ---------- */
.mats { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.mats__lead { max-width: 340px; color: var(--steel); font-size: 15px; }
.mats__list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mat { position: relative; display: grid; grid-template-columns: 70px 1fr minmax(240px, 380px); align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.mat__n { font-family: var(--display); font-size: 14px; letter-spacing: .1em; color: var(--fire); }
.mat__name { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(44px, 7.4vw, 118px); line-height: .92; letter-spacing: -.01em;
  transition: transform .7s var(--ease), color .5s; }
.mat__txt { color: var(--steel); font-size: 15px; line-height: 1.5; transition: color .5s; }
.mat__txt i { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bone, #ece6da); opacity: .5; }
.mat__thumb { display: none; }
.mats__list:hover .mat__name { color: rgba(236,230,218,.22); }
.mats__list .mat:hover .mat__name { color: var(--fire); transform: translateX(24px); }
.mats__list .mat:hover .mat__txt { color: #ece6da; }
.mats__float { position: fixed; left: 0; top: 0; z-index: 5; width: 300px; height: 375px; margin: -187px 0 0 -150px; pointer-events: none;
  border-radius: 8px; overflow: hidden; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.mats__float.is-on { opacity: 1; transform: scale(1); }
.mats__float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) {
  .mats__float { display: none; }
  .mat { grid-template-columns: 1fr 96px; grid-template-areas: "n thumb" "name thumb" "txt txt"; gap: 6px 16px; padding: 24px 0; }
  .mat__n { grid-area: n; } .mat__name { grid-area: name; font-size: clamp(34px, 10vw, 56px); } .mat__txt { grid-area: txt; margin-top: 10px; }
  .mat__thumb { display: block; grid-area: thumb; width: 96px; height: 120px; object-fit: cover; border-radius: 6px; }
  .mats__list:hover .mat__name { color: inherit; }
}

/* ---------- Плавающая кнопка WhatsApp ---------- */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 110; display: flex; align-items: center; height: 60px; padding: 0 18px; border-radius: 40px;
  background: #25d366; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.45); transition: transform .5s var(--ease), padding .5s var(--ease); }
.wa-fab svg { width: 26px; height: 26px; flex: none; }
.wa-fab span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 700; transition: max-width .6s var(--ease), margin .6s var(--ease); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
@media (hover: hover) { .wa-fab:hover span { max-width: 220px; margin-left: 10px; } .wa-fab:hover { transform: translateY(-3px); } }
@media (max-width: 900px) { .wa-fab { right: 14px; bottom: 14px; height: 54px; padding: 0 14px; } .wa-fab--lift { bottom: 92px; } }
body.is-locked .wa-fab, .drawer.is-open ~ .wa-fab { opacity: 0; pointer-events: none; }

/* ---------- Недавно смотрели ---------- */
.seen { padding-top: 0; }
.seen__row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.seen__row::-webkit-scrollbar { display: none; }
.seen__row .card { scroll-snap-align: start; }
@media (max-width: 900px) { .seen__row { grid-auto-columns: 62%; gap: 14px; } }

/* ---------- Подарок под бюджет ---------- */
.budget { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--line); background: radial-gradient(50% 60% at 15% 50%, rgba(226,32,37,.08), transparent 70%); }
.budget__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.budget__sum { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 26px; }
.budget__sum small { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--steel); }
.budget__sum b { font-family: var(--display); font-weight: 600; font-size: clamp(76px, 9.5vw, 150px); line-height: .9; color: var(--fire); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.budget__sum i { font-style: normal; font-family: var(--display); font-size: 44px; color: var(--fire); }
.budget__range { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: grab; --p: 41%; }
.budget__range:active { cursor: grabbing; }
.budget__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--fire) var(--p), rgba(236,230,218,.14) var(--p)); }
.budget__range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(236,230,218,.14); }
.budget__range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--fire); }
.budget__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; background: var(--fire); border: 5px solid var(--bg); box-shadow: 0 0 0 1.5px var(--fire), 0 0 28px rgba(226,32,37,.7); transition: transform .3s var(--ease); }
.budget__range:active::-webkit-slider-thumb { transform: scale(1.2); }
.budget__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--fire); border: 5px solid var(--bg); box-shadow: 0 0 0 1.5px var(--fire), 0 0 28px rgba(226,32,37,.7); }
.budget__presets { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.budget__presets button { padding: 9px 16px; border-radius: 30px; border: 1px solid rgba(236,230,218,.22); color: var(--steel); font-size: 13px; font-weight: 600; transition: all .3s; }
.budget__presets button:hover, .budget__presets button.is-active { border-color: var(--fire); color: #fff; background: rgba(226,32,37,.14); }
.budget__note { color: var(--steel); font-size: 14px; line-height: 1.6; margin-bottom: 28px; max-width: 460px; }
.budget__note b { display: block; color: var(--bone); font-size: 16px; margin-bottom: 4px; }
.budget__note a { color: var(--fire-hi); border-bottom: 1px solid currentColor; }
.budget__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); min-height: 200px; }
.bud { display: grid; grid-template-columns: 34px 76px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 10px 16px 0; border-bottom: 1px solid var(--line); transition: background .4s, padding .5s var(--ease); }
.bud:hover { background: rgba(236,230,218,.04); padding-left: 12px; }
.bud__n { font-family: var(--display); font-size: 13px; color: var(--fire); letter-spacing: .1em; }
.bud img { width: 76px; height: 95px; object-fit: cover; border-radius: 6px; }
.bud__t small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.bud__t b { display: block; margin-top: 4px; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.bud em { font-style: normal; font-family: var(--display); font-size: 20px; color: var(--fire); white-space: nowrap; }
@media (max-width: 900px) {
  .budget__grid { grid-template-columns: 1fr; }
  .bud { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .bud__n { display: none; } .bud img { width: 60px; height: 75px; grid-row: span 2; }
  .bud__t b { font-size: 18px; } .bud em { grid-column: 2; font-size: 17px; }
}

/* ---------- Оформление заказа по шагам ---------- */
.co-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 16px 28px 18px; list-style: none; counter-reset: co; border-bottom: 1px solid var(--line); --p: 0; }
.co-steps[hidden] { display: none; }
.co-steps { gap: 10px; }
.co-steps li { counter-increment: co; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.co-steps li::before { content: "0" counter(co) " "; font-family: var(--display); color: inherit; }
.co-steps li.is-active { color: var(--bone); }
.co-steps li.is-done { color: var(--fire); }
.co-steps i { position: absolute; left: 28px; right: 28px; bottom: -1px; height: 2px; background: var(--fire); transform-origin: left; transform: scaleX(calc(.3333 + var(--p) * .6667)); transition: transform .7s var(--ease); }
.co-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.co-pane { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 28px; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .45s, transform .6s var(--ease), visibility .45s; }
.co-pane[data-pane="0"] { padding: 0; }
.co-pane.is-active { opacity: 1; visibility: visible; transform: none; }
.co-opts { display: grid; gap: 12px; }
.co-opt { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .3s, background .3s; }
.co-opt:hover { border-color: rgba(236,230,218,.3); }
.co-opt:has(input:checked) { border-color: var(--fire); background: rgba(226,32,37,.08); }
.co-opt input { appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border-radius: 50%; border: 1.5px solid rgba(236,230,218,.4); transition: all .3s; }
.co-opt input:checked { border-color: var(--fire); box-shadow: inset 0 0 0 4px var(--bg-2), inset 0 0 0 10px var(--fire); }
.co-opt span { font-size: 13px; line-height: 1.45; color: var(--steel); }
.co-opt b { display: block; margin-bottom: 3px; font-family: var(--display); font-weight: 500; font-size: 19px; text-transform: uppercase; color: var(--bone); }
.co-opt em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fire); white-space: nowrap; }
.co-field { display: block; margin-top: 16px; }
.co-field[hidden] { display: none; }
.co-field span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.co-field input, .co-field textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(236,230,218,.04); color: var(--bone); font: inherit; font-size: 16px; resize: vertical; transition: border-color .3s, background .3s; color-scheme: dark; }
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--fire); background: rgba(226,32,37,.05); }
.co-field.is-error input { border-color: var(--fire); animation: coShake .4s; }
.co-field.is-error span { color: var(--fire-hi); }
@keyframes coShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.co-back { display: block; margin: 14px auto 0; font-size: 13px; color: var(--steel); }
.co-back[hidden] { display: none; }
.co-back:hover { color: var(--bone); }
.co-done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px 36px; }
.co-done b { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.co-done b span { display: block; color: var(--fire); }
.co-done p { color: var(--steel); font-size: 15px; max-width: 320px; }
.co-check { width: 96px; height: 96px; }
.co-check circle { fill: none; stroke: var(--fire); stroke-width: 3; stroke-dasharray: 227; stroke-dashoffset: 227; }
.co-check path { fill: none; stroke: var(--bone); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.co-done.is-active .co-check circle { transition: stroke-dashoffset 1s var(--ease) .1s; stroke-dashoffset: 0; }
.co-done.is-active .co-check path { transition: stroke-dashoffset .6s var(--ease) .7s; stroke-dashoffset: 0; }
.drawer__items { height: 100%; }

@media (max-width: 480px) { .co-steps li { font-size: 10.5px; letter-spacing: .06em; } }

/* Полёт товара в корзину */
.fly { position: fixed; z-index: 400; pointer-events: none; border-radius: 8px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.5); }

/* ---------- Телефон: плотнее ритм секций, без пустых провалов ---------- */
@media (max-width: 700px) {
  .manifesto, .catalog, .quiz, .reviews, .mats, .budget { padding: 64px 0; }
  .visit { padding: 80px 0; }
  html:not(.anim) .collections__pin { padding: 64px 0 40px; }
  .anatomy__pin { padding: 56px 0 56px; }
  .anatomy__list { margin-bottom: 28px; }
  .quiz__card { min-height: 0; }
  .catalog__note { margin-top: 20px; }
  .related, .seen { padding-top: 0; }
}

/* ---------- Телефон: «Разбор» в режиме остановки экрана ---------- */
@media (max-width: 900px) {
  html.anim .anatomy__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 30px; }
  html.anim .anatomy__stage { margin: 34px auto 30px; }
  html.anim .anatomy__list { gap: 16px 14px; margin-bottom: 18px; }
  html.anim .anatomy__list .anatomy__label { padding-top: 10px; }
  html.anim .anatomy__list .anatomy__label span { font-size: 13px; }
  html.anim .anatomy__list li { transition: none; }
  html.anim .anatomy__foot p { display: none; }
  html.anim .anatomy { overflow: hidden; }
}

/* ---------- Телефон: материалы по прокрутке ---------- */
@media (hover: none), (max-width: 900px) {
  .mats__list.is-scrolly .mat { transition: opacity .5s; opacity: .38; }
  .mats__list.is-scrolly .mat.is-active { opacity: 1; }
  .mats__list.is-scrolly .mat__name { transition: color .5s, transform .7s var(--ease); }
  .mats__list.is-scrolly .mat.is-active .mat__name { color: var(--fire); transform: translateX(10px); }
  .mats__list.is-scrolly .mat__thumb { transition: transform .8s var(--ease), box-shadow .8s; transform-origin: right center; }
  .mats__list.is-scrolly .mat.is-active .mat__thumb { transform: scale(1.22) rotate(-4deg); box-shadow: 0 24px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(226,32,37,.5); z-index: 1; }
}

/* ---------- Отклик на касание: элементы мягко проседают под пальцем ---------- */
@media (hover: none) {
  .btn, .card__img, .panel, .bud, .mat, .chip-f, .filter, .quiz__opts button, .budget__presets button, .co-opt, .wa-fab { -webkit-tap-highlight-color: transparent; }
  .btn:active, .chip-f:active, .filter:active, .quiz__opts button:active, .budget__presets button:active, .wa-fab:active { transform: scale(.95); transition: transform .15s; }
  .card__img:active, .panel:active, .bud:active, .co-opt:active { transform: scale(.975); transition: transform .2s; }
  .card__add:active { transform: scale(.85); }
}

/* ---------- Initial states (только если анимации загрузились) ---------- */
html.anim [data-hero-fade] { opacity: 0; }
html.anim .hero__title { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .grain, .spotlight, .tap-ring { display: none; }
}

/* ==========================================================
   Адаптив
   ========================================================== */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--pad) 40px;
    background: var(--bg); clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path .9s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav a { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(36px, 10vw, 56px); line-height: 1.2; }
  .nav a::after { display: none; }
  .header__right { margin-left: auto; }
  .order-btn span { display: none; }
  .header__phone { display: none; }
  .order-btn { padding: 0 8px; }

  .hero__scroll { display: none; }
  .manifesto__grid { grid-template-columns: 1fr; gap: 0; }
  .facts { grid-column: 1; }

  /* без анимаций — столбик; с анимациями — горизонтальная лента, которую двигает прокрутка */
  html:not(.anim) .collections__pin { height: auto; padding: 100px 0; }
  html:not(.anim) .collections__track { width: auto; flex-direction: column; }
  html:not(.anim) .panel { width: 100%; height: 440px; }
  html:not(.anim) .collections__progress { display: none; }
  html.anim .collections__pin { justify-content: center; gap: 22px; padding: 64px 0 56px; }
  html.anim .collections__head { margin-bottom: 0; }
  html.anim .panel { width: 80vw; height: 58vh; height: 58svh; }

  .products { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
  .card__add { transform: none; width: 44px; height: 44px; right: 10px; bottom: 10px; }
  .quiz__inner, .visit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header { gap: 12px; padding-block: 16px; }
  .logo__word { height: 14px; }
  .logo__emblem { width: 38px; height: 38px; }
  .hero__content { padding-top: 100px; padding-bottom: 32px; }
  .hero__title { font-size: 21vw; }
  .hero__title .line--indent { padding-left: 0; -webkit-text-stroke-width: 1px; }
  .hero__lead em { font-size: 26px; }
  .hero__cta, .hero__cta .btn { width: 100%; }
  .btn { height: 56px; padding: 0 26px; }
  .facts { gap: 28px 16px; }
  .panel { height: 380px; }
  .panel__info { left: 20px; right: 20px; bottom: 20px; }
  .card__name { font-size: 18px; }
  .card__img { margin-bottom: 12px; }
  .card__media .card__add { bottom: 22px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--pad)); margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
  .filter { flex: 0 0 auto; }
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__opts button { min-height: 58px; }
  .quiz__card { min-height: 0; padding-bottom: 60px; }
  .review { width: 82vw; padding: 24px; }
  .review p { font-size: 20px; }
  .visit__btns .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
}

/* ==========================================================
   Внутренние страницы: каталог и товар
   ========================================================== */
.nav a.is-current { color: var(--fire-hi); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--steel); transition: color .3s; }
.crumbs a:hover { color: var(--fire-hi); }
.crumbs b { color: var(--bone); font-weight: 600; }

/* --- Каталог: шапка --- */
.cat-hero { position: relative; overflow: hidden; padding: 150px 0 48px; }
.cat-hero__bg { position: absolute; left: 0; bottom: -4vw; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(236,230,218,.06); }
.cat-hero .title { font-size: clamp(48px, 9vw, 150px); }
.cat-hero__lead { margin-top: 24px; color: var(--steel); font-size: 17px; max-width: 560px; }
.cat-hero__lead b { color: var(--fire-hi); font-family: var(--display); font-size: 1.3em; font-weight: 500; }

/* --- Каталог: панель фильтров --- */
.cat-tools { position: sticky; top: 0; z-index: 60; padding: 18px 0; transition: background .4s, padding .4s var(--ease), box-shadow .4s; }
.cat-tools.is-stuck { background: rgba(12,11,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; top: 70px; }
.cat-tools__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.search { position: relative; flex: 0 1 280px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--steel); stroke-width: 1.8; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 46px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--bone); font: inherit; font-size: 14px; outline: none; transition: border-color .3s, background .3s; }
.search input:focus { border-color: var(--fire); background: rgba(226,32,37,.06); }
.search input::placeholder { color: var(--muted); }
.chips-f { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-f { position: relative; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 42px; font-size: 13px; font-weight: 600; color: var(--steel); transition: all .4s var(--ease); }
.chip-f sup { margin-left: 5px; font-size: 10px; color: var(--muted); }
.chip-f:hover { color: var(--bone); border-color: var(--steel); }
.chip-f.is-active { background: var(--fire); border-color: var(--fire); color: #fff; }
.chip-f.is-active sup { color: rgba(255,255,255,.75); }
.chip-f::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(160px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,95,85,.95), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.chip-f:hover::after { opacity: 1; }
.cat-tools__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--steel); cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { position: relative; width: 40px; height: 24px; border-radius: 24px; background: var(--bg-3); border: 1px solid var(--line); transition: background .3s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--steel); transition: transform .4s var(--ease), background .3s; }
.switch input:checked + i { background: var(--fire); border-color: var(--fire); }
.switch input:checked + i::after { transform: translateX(16px); background: #fff; }
.switch input:focus-visible + i { outline: 2px solid var(--fire-hi); outline-offset: 2px; }
.select select { height: 42px; padding: 0 36px 0 16px; border-radius: 42px; border: 1px solid var(--line); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8a39a' fill='none' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--bone); font: inherit; font-size: 13px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; }
.select select:focus { border-color: var(--fire); }
.catalog--page { padding-top: 40px; }
.empty { text-align: center; padding: 80px 0; }
.empty b { display: block; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 40px; margin-bottom: 10px; }
.empty p { color: var(--steel); margin-bottom: 28px; }
.empty[hidden] { display: none; }

.cta-band { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 100%, rgba(226,32,37,.14), transparent 60%); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Товар --- */
.pdp { padding: 130px 0 60px; }
.pdp__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; background: var(--bg-2); aspect-ratio: 4 / 5; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; overflow: hidden; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__slide img.is-zoom { transform: scale(1.9); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); opacity: .55; transition: opacity .3s, border-color .3s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { opacity: 1; border-color: var(--fire); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery__dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line); transition: width .4s var(--ease), background .3s; }
.gallery__dots i.is-active { width: 22px; background: var(--fire); }
.pdp__cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fire-hi); margin-bottom: 14px; }
.pdp__title { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 4.2vw, 64px); line-height: .98; letter-spacing: -.01em; }
.pdp__short { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--steel); margin-top: 14px; }
.pdp__price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 30px 0 26px; padding: 22px 0; border-block: 1px solid var(--line); }
.pdp__price { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--bone); }
.pdp__price.is-ask { font-size: 26px; color: var(--steel); }
.stock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); }
.stock i { width: 7px; height: 7px; border-radius: 50%; }
.stock--in { color: #7fd68a; } .stock--in i { background: #4cc460; box-shadow: 0 0 10px #4cc460; }
.stock--order { color: #f0c36a; } .stock--order i { background: #f0b43c; }
.stock--out { color: var(--muted); } .stock--out i { background: var(--muted); }
.pdp__buy { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__buy .btn { flex: 1 1 200px; }
.btn--kaspi { background: #f14635; color: #fff; }
.btn--kaspi::before { background: #fff; }
.btn--kaspi:hover { color: #f14635; }
.btn.is-added { background: var(--bone); color: var(--bg); }
.pdp__perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.pdp__perks li { padding-left: 18px; border-left: 2px solid var(--fire); font-size: 14px; color: var(--steel); }
.pdp__perks b { display: block; color: var(--bone); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }

.pdp-more { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.pdp-more__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pdp-desc__text p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--bone); margin-bottom: 18px; max-width: 700px; }
.pdp-desc__text p:first-child::first-letter { font-family: var(--display); font-weight: 700; float: left; font-size: 3.4em; line-height: .85; padding: 6px 12px 0 0; color: var(--fire); }
.spec-box { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.spec-box h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 22px; margin-bottom: 14px; }
.spec-box dl { margin: 0 0 20px; }
.spec-box dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.spec-box dt { color: var(--muted); }
.spec-box dd { margin: 0; text-align: right; font-weight: 600; }
.spec-box__note { font-size: 13px; color: var(--muted); }
.spec-box::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,95,85,.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.spec-box:hover::after, .spec-box.is-lit::after { opacity: 1; }
.related { padding-top: 40px; }
.pdp--404 { min-height: 70vh; display: flex; align-items: center; }
.pdp--404 p { color: var(--steel); margin: 20px 0 32px; font-size: 18px; }

.buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 60px; background: rgba(20,18,16,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line);
  transform: translateY(140%); transition: transform .6s var(--ease); }
.buybar.is-on { transform: none; }
.buybar div { min-width: 0; }
.buybar b { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.1; }
.buybar span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { height: 48px; padding: 0 22px; flex-shrink: 0; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(8,7,6,.94); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; transform: scale(.94); transition: transform .6s var(--ease); cursor: default; }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--bone); font-size: 18px; }

@media (max-width: 900px) {
  .cat-hero { padding-top: 110px; }
  .cat-tools.is-stuck { top: 62px; }
  .search { flex: 1 1 100%; }
  .chips-f { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--pad)); margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
  .chip-f { flex: 0 0 auto; }
  .cat-tools__right { margin-left: 0; width: 100%; justify-content: space-between; }
  .pdp { padding-top: 96px; }
  .pdp__grid, .pdp-more__grid { grid-template-columns: 1fr; }
  /* Как в приложении: фото во всю ширину «прилипает», блок с ценой наезжает на него шторкой */
  .pdp { padding-top: 64px; }
  .pdp .crumbs { display: none; }
  .gallery { position: sticky; top: 0; z-index: 0; margin-inline: calc(-1 * var(--pad)); }
  .gallery__main { border-radius: 0; }
  .gallery__dots { position: absolute; left: 0; right: 0; bottom: 46px; justify-content: center; z-index: 2; }
  .pdp__grid { gap: 0; }
  .pdp__info { position: relative; z-index: 1; margin: -30px calc(-1 * var(--pad)) 0; padding: 30px var(--pad) 20px; background: var(--bg-2);
    border-radius: 26px 26px 0 0; box-shadow: 0 -24px 50px rgba(0,0,0,.55); }
  .pdp__info::before { content: ""; position: absolute; left: 50%; top: 10px; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(236,230,218,.22); }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; }
  .buybar { display: flex; }
  .page--product .toast { bottom: 90px; }
}
@media (max-width: 560px) {
  .cat-tools.is-stuck .search { display: none; }
  .pdp__buy .btn { flex-basis: 100%; }
  .spec-box { padding: 24px; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
}
.header.is-hidden ~ main .cat-tools.is-stuck { top: 0; }
.cat-tools { transition: background .4s, padding .4s var(--ease), box-shadow .4s, top .6s var(--ease); }

/* --- Варианты товара (комплектация, цвет) --- */
.opts { display: grid; gap: 20px; margin: 0 0 26px; }
.opt__name { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.opt__name b { color: var(--bone); letter-spacing: .04em; }
.opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__v { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--steel); text-align: left; transition: all .35s var(--ease); }
.opt__v small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.opt__v i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: inset 0 0 0 2px var(--bg); }
.opt__v:hover { border-color: var(--steel); color: var(--bone); }
.opt__v.is-active { border-color: var(--fire); color: var(--bone); background: rgba(226,32,37,.1); box-shadow: 0 0 0 1px var(--fire) inset; }
.opt__v.is-active small { color: var(--fire-hi); }
.stock--badge { color: var(--fire-hi); border-color: rgba(226,32,37,.4); }
.line-item__opts { font-size: 12px; color: var(--steel); margin: 2px 0 4px; }
