/* Фарад: демо-магазин электроники. Тёмная техническая тема, плотная сетка, цифры одной ширины.
   Токены сверху: меняйте цвета и размеры только здесь. */
:root {
  --bg: #0a0d14;
  --surface: #131824;
  --surface-2: #1b2232;
  --surface-3: #2a3552;
  --photo-bg: #e7eaef;
  --ink: #e9edf3;
  --muted: #aab3c2;
  --accent: #5a9bfc;
  --accent-hi: #7db3ff;
  --accent-ink: #0a0d14;
  --err: #ff9a8c;
  --ok: #7fe3a8;
  --gutter: clamp(16px, 2.2vw, 32px);
  --gap: 8px;
  --step-small: 14px;
  --step-body: 17px;
  --step-lead: clamp(21px, 1.5vw + 12px, 26px);
  --step-head: clamp(30px, 2.4vw + 14px, 46px);
  --step-display: clamp(44px, 5.5vw, 92px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: 400; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; border-radius: 0; }
table { border-collapse: collapse; border-spacing: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; transition: top .2s; }
.skip:focus { top: 8px; }
.num, .price, table, .spec { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.wrap { padding-inline: var(--gutter); }
.muted { color: var(--muted); }

/* ---------- типографика ---------- */
.t-display { font-size: var(--step-display); font-weight: 500; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.t-head { font-size: var(--step-head); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.t-lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -.015em; text-wrap: pretty; }
.t-small { font-size: var(--step-small); line-height: 1.4; }
p { text-wrap: pretty; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: var(--step-body); line-height: 1; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .15s var(--ease), color .2s;
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn[disabled], .btn.is-off { background: var(--surface-2); color: var(--muted); cursor: not-allowed; transform: none; }
.btn-alt { background: var(--surface-2); color: var(--ink); }
.btn-alt:hover { background: #26304a; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 18px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .2s; }
.link:hover { color: var(--accent); }
.icon { width: 22px; height: 22px; flex: none; }
.ibtn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--ink); transition: background-color .2s, transform .15s; position: relative; }
.ibtn:hover { background: #26304a; }
.ibtn:active { transform: scale(.94); }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); }
.hdr { display: flex; align-items: center; gap: 28px; min-height: 68px; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -.04em; min-height: 44px; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 28px; margin-left: 12px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.hdr-search { margin-left: auto; position: relative; width: min(320px, 28vw); }
.hdr-search input { width: 100%; height: 44px; padding: 0 14px 0 42px; background: var(--surface); border: 0; border-radius: 0; }
.hdr-search input::placeholder { color: var(--muted); }
.hdr-search svg { position: absolute; left: 12px; top: 11px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.hdr-act { display: flex; gap: 8px; }
.hdr-act .ibtn { width: auto; padding: 0 14px; gap: 8px; display: inline-flex; align-items: center; min-width: 44px; justify-content: center; }
.cnt { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: var(--step-small); font-weight: 500; line-height: 1; }
.cnt[hidden] { display: none; }
.hdr-act .menu-btn { display: none; }
.nav-search { display: none; }
.nav-search input { width: 100%; height: 48px; padding: 0 14px; background: var(--surface); border: 0; border-radius: 0; }
.ibtn .lbl { font-size: var(--step-small); }

/* ---------- раскладки ---------- */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding-block: clamp(72px, 11vw, 160px) 0; }
.sec-h { padding-inline: var(--gutter); margin-bottom: 40px; }
.sec-h .t-head { max-width: 22ch; }

/* ---------- главная: герой + контактный лист ---------- */
.hero-top { padding: clamp(10px, 1.2vw, 20px) var(--gutter) clamp(16px, 1.4vw, 22px); align-items: end; row-gap: 18px; }
.hero-top h1 { grid-column: 1 / span 8; }
.hero-side { grid-column: 9 / span 4; display: grid; gap: 16px; justify-items: start; padding-bottom: 6px; }
.hero-side p { max-width: 30ch; color: var(--ink); }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

.sheet { padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px var(--gap); }
.run { display: grid; min-width: 0; grid-template-columns: 168px repeat(5, minmax(0, 1fr)); gap: var(--gap); transition: opacity .35s var(--ease); }
.sheet.has-hover .run:not(.is-hover) { opacity: .42; }
.run-title { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 4px 4px 4px 0; min-width: 0; }
.run-title h2 { font-size: var(--step-body); font-weight: 500; line-height: 1.2; }
.run-title p { color: var(--muted); font-size: var(--step-small); }
.run-title .link { font-size: var(--step-small); min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.sheet-first { display: grid; grid-template-columns: minmax(380px, 31%) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--gap); }
.sheet-first .big { grid-column: 1; grid-row: 1 / span 2; }
.sheet-first .run { grid-column: 2; grid-template-columns: 168px repeat(3, minmax(0, 1fr)); }
.run-frames { display: contents; }

.tile { position: relative; background: var(--surface); display: flex; flex-direction: column; min-width: 0; transition: background-color .25s; }
.tile:hover { background: var(--surface-2); }
.tile .pic { aspect-ratio: 6 / 5; overflow: hidden; position: relative; background: var(--photo-bg); }
.tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
img.no-photo { visibility: hidden; }
.tile:hover .pic img, .tile:focus-within .pic img { transform: scale(1.05); }
.tile .meta { padding: 2px 14px 14px; display: grid; gap: 2px; align-content: start; flex: 1; }
.tile .name { font-weight: 500; line-height: 1.25; }
.tile .name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile .spec { color: var(--muted); font-size: var(--step-small); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .price { font-weight: 500; margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tile .price s { color: var(--muted); font-weight: 400; font-size: var(--step-small); }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--ink); color: var(--bg); font-size: var(--step-small); font-weight: 500; padding: 2px 8px; line-height: 1.3; }
.badge.sale { background: var(--accent); color: var(--accent-ink); }
.badge.off { background: var(--surface-2); color: var(--muted); }

.big { background: var(--surface); position: relative; display: flex; flex-direction: column; min-height: 0; }
.big-head { padding: 18px 20px 0; display: grid; gap: 4px; }
.big-head .name { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.big-head .spec { color: var(--muted); font-size: var(--step-small); }
.big-pic { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 0; position: relative; background: var(--photo-bg); overflow: hidden; }
.big-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.big:hover .big-pic img { transform: scale(1.04); }
.big-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px 20px; flex-wrap: wrap; }
.big-foot .price { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; }
.swatches { display: flex; gap: 2px; flex-wrap: wrap; }
.big-pic .swatches { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); flex-direction: column; flex-wrap: nowrap; z-index: 2; }
.big-pic .sw i { outline-color: rgba(10, 13, 20, .25); }
.big-pic .sw[aria-pressed="true"] i { outline-color: #0a0d14; }
.sw { width: 44px; height: 44px; display: inline-grid; place-items: center; }
.sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); display: block; transition: transform .2s var(--ease), outline-color .2s; outline: 2px solid transparent; outline-offset: 3px; }
.sw:hover i { transform: scale(1.12); }
.sw[aria-pressed="true"] i, .sw[aria-checked="true"] i { outline-color: var(--ink); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- подбор ---------- */
.quiz { margin-inline: var(--gutter); background: var(--surface); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.quiz-q { padding: clamp(24px, 3vw, 44px); display: grid; gap: 28px; align-content: start; }
.q-group h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 12px; }
.q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: var(--surface-2); color: var(--ink); transition: background-color .2s, color .2s, transform .15s; font-size: var(--step-body); }
.chip:hover { background: #26304a; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] .muted { color: var(--bg); opacity: .65; }
.quiz-r { background: var(--surface-2); padding: clamp(24px, 3vw, 44px); display: grid; gap: 12px; align-content: start; min-height: 420px; }
.quiz-r h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.pick { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); padding: 6px 16px 6px 6px; }
.pick img { width: 120px; height: 100px; object-fit: cover; }
.pick .name { font-weight: 500; line-height: 1.2; }
.pick .spec { color: var(--muted); font-size: var(--step-small); }
.pick .price { font-weight: 500; margin-top: 4px; }
.pick-act { display: grid; gap: 6px; justify-items: end; }
.quiz-empty { color: var(--muted); max-width: 38ch; }

/* ---------- рассрочка: большая таблица ---------- */
.inst { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; }
.inst-ctl { grid-column: 1 / span 4; display: grid; gap: 18px; align-content: start; }
.inst-ctl label { display: grid; gap: 8px; }
.inst-ctl .val { font-size: var(--step-head); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.rng::-webkit-slider-runnable-track { height: 6px; background: var(--surface-2); }
.rng::-moz-range-track { height: 6px; background: var(--surface-2); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; background: var(--ink); border-radius: 50%; border: 0; }
.rng::-moz-range-thumb { width: 26px; height: 26px; background: var(--ink); border-radius: 50%; border: 0; }
.field { width: 100%; min-height: 48px; padding: 0 14px; background: var(--surface); border: 0; border-radius: 0; color: var(--ink); }
.field::placeholder { color: var(--muted); }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2398a1b1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 0; }
.inst-table { grid-column: 5 / span 8; }
.inst table { width: 100%; font-size: var(--step-lead); }
.inst th, .inst td { text-align: left; padding: 20px 18px; font-weight: 400; vertical-align: baseline; }
.inst thead th { font-size: var(--step-head); font-weight: 500; letter-spacing: -.035em; line-height: 1; padding-block: 8px 24px; }
.inst thead th small { display: block; font-size: var(--step-small); color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 6px; }
.inst tbody tr:nth-child(odd) { background: var(--surface); }
.inst tbody th { font-size: var(--step-body); color: var(--muted); width: 26%; }
.inst .rec { background: var(--accent) !important; color: var(--accent-ink); }
.inst .rec small, .inst tbody th.rec { color: var(--accent-ink); }
.inst-m { display: none; gap: 6px; }
.inst-m .card { background: var(--surface); padding: 18px 16px 16px; display: grid; gap: 6px; }
.inst-m .card.rec { background: var(--accent); color: var(--accent-ink); }
.inst-m h3 { font-size: var(--step-body); font-weight: 500; }
.inst-m .big-n { font-size: var(--step-head); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.inst-m dl { display: grid; gap: 4px; margin-top: 6px; }
.inst-m dl > div { display: flex; justify-content: space-between; gap: 12px; }
.inst-m .card:not(.rec) dt { color: var(--muted); }
.inst-note { grid-column: 1 / -1; color: var(--muted); max-width: 56ch; }

/* ---------- новинки: ряд, который тянут ---------- */
.drag-h { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-inline: var(--gutter); margin-bottom: 20px; }
.drag-btns { display: flex; gap: 8px; }
.sqbtn { width: 48px; height: 48px; background: var(--surface-2); display: inline-grid; place-items: center; transition: background-color .2s, transform .15s; }
.sqbtn:hover { background: var(--ink); color: var(--bg); }
.sqbtn:active { transform: scale(.94); }
.sqbtn[disabled] { opacity: .4; pointer-events: none; }
.bar { margin: 0 var(--gutter) 36px; height: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 20%; transform-origin: 0 0; will-change: transform; }
.drag { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; scroll-padding-inline: var(--gutter); cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.drag::-webkit-scrollbar { display: none; }
.drag.is-drag { cursor: grabbing; scroll-snap-type: none; }
.drag.is-drag a { pointer-events: none; }
.drag::after { content: ""; flex: 0 0 8vw; }
.mom { flex: 0 0 min(300px, 72vw); scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; }
.mom h3 { font-size: var(--step-body); font-weight: 500; line-height: 1.25; }
.mom p { margin-top: 10px; font-size: var(--step-body); line-height: 1.45; color: var(--muted); min-height: 74px; }
.mom .gap { height: var(--pt, 80px); flex: none; }
.mom .shot { aspect-ratio: 4 / 5; background: var(--photo-bg); position: relative; overflow: hidden; }
.mom .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mom:hover .shot img { transform: scale(1.05); }
.mom .shot a::after { content: ""; position: absolute; inset: 0; }
.mom .pr { margin-top: 12px; font-weight: 500; color: var(--ink); min-height: 0; }

/* ---------- преимущества: текст одного размера ---------- */
.idx { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.idx-col { grid-column: span 3; }
.idx-col:nth-child(1) { grid-column: 1 / span 3; }
.idx-col:nth-child(2) { grid-column: 4 / span 3; }
.idx-col:nth-child(3) { grid-column: 7 / span 3; }
.idx-col h3 { font-weight: 500; font-size: var(--step-body); margin-bottom: 18px; }
.idx-col li { padding: 0; line-height: 1.3; }
.idx-col li button { color: var(--muted); text-align: left; min-height: 36px; width: 100%; transition: color .2s; }
.idx-col li button:hover, .idx-col li button:focus-visible, .idx-col li button[aria-pressed="true"] { color: var(--ink); }
.idx-desc { grid-column: 10 / span 3; grid-row: 1; color: var(--ink); min-height: 4.5em; }
.idx-sum { display: none; color: var(--muted); margin-top: 14px; }

/* ---------- отзывы ---------- */
.rev { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.rev > h2 { grid-column: 1 / span 2; font-size: var(--step-body); font-weight: 500; }
.rev-list { grid-column: 3 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--gap); }
.rev-card { display: grid; gap: 10px; align-content: start; }
.rev-card .band { height: 110px; background: var(--surface); overflow: hidden; display: block; }
.rev-card .band img { width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 45%); transform: scale(1.3); }
.rev-card .who { display: grid; gap: 2px; }
.rev-card .who b { font-weight: 500; }
.rev-card .who span { color: var(--muted); font-size: var(--step-small); }
.rev-card blockquote { color: var(--ink); }
.rev-note { grid-column: 3 / -1; color: var(--muted); font-size: var(--step-small); max-width: 60ch; }

/* ---------- вопросы ---------- */
.faq { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; }
.faq h2 { grid-column: 1 / span 3; }
.faq-text { grid-column: 5 / -1; columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 22px; line-height: 1.55; }
.faq-text b { font-weight: 500; }

/* ---------- подвал ---------- */
.foot { margin-top: clamp(64px, 8vw, 128px); padding: 0 var(--gutter) 28px; }
.foot-blocks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; margin-bottom: clamp(40px, 6vw, 80px); }
.foot-blocks > div { grid-column: span 3; display: grid; gap: 4px; align-content: start; font-size: var(--step-body); }
.foot-blocks h2 { font-size: var(--step-body); font-weight: 500; margin-bottom: 6px; }
.foot-blocks a { color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; transition: color .2s; }
.foot-blocks a:hover { color: var(--ink); }
.foot-blocks p { color: var(--muted); }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 24px; align-items: center; font-size: var(--step-small); color: var(--muted); }
.foot-line nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.foot-line nav a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.foot-line div:last-child { text-align: right; }
.foot-note { margin-top: 14px; color: var(--muted); max-width: 52ch; }

/* ---------- каталог ---------- */
.page-h { padding: clamp(14px, 1.6vw, 24px) var(--gutter) 20px; display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: var(--step-small); padding: 14px var(--gutter) 0; }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.cat-layout { padding-inline: var(--gutter); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; display: grid; gap: 28px; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.f-group h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 8px; }
.f-list { display: grid; }
.f-cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; text-align: left; color: var(--muted); width: 100%; transition: color .2s; }
.f-cat:hover, .f-cat[aria-pressed="true"] { color: var(--ink); }
.f-cat[aria-pressed="true"] { font-weight: 500; }
.f-cat em { font-style: normal; font-size: var(--step-small); }
.ck { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; color: var(--ink); }
.ck input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; background: var(--surface-3); border-radius: 0; flex: none; display: inline-grid; place-items: center; margin: 0; cursor: pointer; transition: background-color .15s; }
.ck input:checked { background: var(--accent); }
.ck input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); }
.ck input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ck span { flex: 1; }
.ck em { font-style: normal; color: var(--muted); font-size: var(--step-small); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-row .field { min-height: 44px; padding: 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip.sm { min-height: 36px; padding: 0 12px; font-size: var(--step-small); }
.res-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.res-bar .found { margin-right: auto; font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; }
.res-bar .field { width: auto; min-width: 250px; min-height: 44px; }
.act-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.act-chips button { min-height: 36px; padding: 0 12px; background: var(--surface-2); display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-small); }
.act-chips button:hover { background: #26304a; }
.grid-p { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tile .btn .icon { display: none; }
.tile .tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; position: relative; z-index: 2; }
.cmp { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; color: var(--muted); font-size: var(--step-small); }
.cmp input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; background: var(--surface-3); margin: 0; display: inline-grid; place-items: center; cursor: pointer; border-radius: 0; flex: none; }
.cmp input:checked { background: var(--accent); }
.cmp input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); }
.cmp input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmp:hover { color: var(--ink); }
.empty { padding: 56px 0; display: grid; gap: 18px; justify-items: start; max-width: 52ch; }
.filter-btn { display: none; }
.f-close { display: none; }

/* ---------- карточка товара ---------- */
.pd { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: start; }
.gal { grid-column: 1 / span 7; position: sticky; top: 84px; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--gap); align-items: start; }
.gal-main { grid-column: 2; grid-row: 1; background: var(--photo-bg); aspect-ratio: 6 / 5; position: relative; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gal.single { grid-template-columns: minmax(0, 1fr); }
.gal.single .gal-main { grid-column: 1; }
.gal-main img.is-sw { opacity: 0; }
.thumbs { grid-column: 1; grid-row: 1; display: grid; gap: var(--gap); }
.thumb { width: 88px; display: grid; gap: 4px; justify-items: stretch; color: var(--muted); transition: color .2s; }
.thumb .im { background: var(--photo-bg); aspect-ratio: 6 / 5; display: block; overflow: hidden; opacity: .72; transition: opacity .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover .im { opacity: 1; }
.thumb:hover, .thumb[aria-pressed="true"] { color: var(--ink); }
.thumb[aria-pressed="true"] .im { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }

.info { grid-column: 9 / span 4; display: grid; gap: 22px; align-content: start; }
.info { grid-column: 8 / span 5; }
.info h1 { font-size: var(--step-head); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.info .tag { color: var(--muted); margin-top: 6px; }
.stock { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.stock i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); display: inline-block; }
.stock.no i { background: var(--err); }
.pd-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pd-price .now { font-size: var(--step-head); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.pd-price s { color: var(--muted); font-size: var(--step-lead); }
.pd-price .off { background: var(--accent); color: var(--accent-ink); padding: 2px 8px; font-size: var(--step-small); font-weight: 500; }
.inst-line { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--surface); padding: 12px 16px; }
.inst-line strong { font-weight: 500; }
.inst-line select { min-height: 44px; width: auto; padding-right: 34px; background-color: var(--surface-2); }
.inst-line small { color: var(--muted); font-size: var(--step-small); flex-basis: 100%; }
.opt h3 { font-size: var(--step-small); font-weight: 400; color: var(--muted); margin-bottom: 8px; }
.opt h3 b { color: var(--ink); font-weight: 500; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.buy { display: grid; gap: 10px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.sku { color: var(--muted); font-size: var(--step-small); }
.tabs { margin-top: clamp(40px, 5vw, 72px); padding-inline: var(--gutter); display: grid; gap: 28px; }
.tab-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { min-height: 48px; padding: 0 22px; background: var(--surface); color: var(--muted); transition: background-color .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tab-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; }
.tab-panel[hidden] { display: none; }
.tab-panel > * { grid-column: 1 / span 7; }
.tab-panel ul { display: grid; gap: 8px; }
.tab-panel li { padding-left: 22px; position: relative; }
.tab-panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; background: var(--accent); }
.spec-t { width: 100%; max-width: 860px; }
.spec-t th, .spec-t td { text-align: left; padding: 14px 16px; vertical-align: top; font-weight: 400; }
.spec-t th { color: var(--muted); width: 40%; }
.spec-t tr:nth-child(odd) { background: var(--surface); }
.with { padding-inline: var(--gutter); }
.with .grid-p { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- корзина, оформление ---------- */
.cart-l { padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.lines { display: grid; gap: var(--gap); }
.line { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto auto auto; gap: 8px 20px; align-items: center; background: var(--surface); padding: 12px 16px 12px 12px; }
.line img { width: 104px; height: 88px; object-fit: cover; background: var(--photo-bg); }
.line .name { font-weight: 500; line-height: 1.25; }
.line .cfg { color: var(--muted); font-size: var(--step-small); }
.line .lp { font-weight: 500; text-align: right; min-width: 110px; }
.qty { display: inline-flex; align-items: center; background: var(--surface-2); }
.qty button { width: 44px; height: 44px; display: inline-grid; place-items: center; transition: background-color .2s; }
.qty button:hover { background: #26304a; }
.qty output { min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.rm { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--muted); transition: color .2s; }
.rm:hover { color: var(--err); }
.sum { background: var(--surface); padding: 24px; display: grid; gap: 16px; position: sticky; top: 84px; }
.sum h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; }
.sum dl { display: grid; gap: 10px; }
.sum dl > div { display: flex; justify-content: space-between; gap: 16px; }
.sum dt { color: var(--muted); }
.sum dd { text-align: right; }
.sum .total { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; align-items: baseline; }
.sum .total dt { color: var(--ink); }
.ship-bar { display: grid; gap: 8px; }
.ship-bar .track { height: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.ship-bar .track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ok); transition: width .5s var(--ease); }
.ship-bar p { font-size: var(--step-small); color: var(--muted); }
.promo { display: flex; gap: 8px; }
.promo .field { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-msg { font-size: var(--step-small); min-height: 1.4em; color: var(--muted); }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: var(--err); }
.fine { color: var(--muted); max-width: 52ch; }

/* ящик корзины */
.ov { position: fixed; inset: 0; background: rgba(4, 6, 10, .66); z-index: 90; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.ov.on { opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 100; background: var(--surface); transform: translateX(104%); transition: transform .4s var(--ease); display: flex; flex-direction: column; box-shadow: -24px 0 60px rgba(0, 0, 0, .45); visibility: hidden; } /* taste-skill-ignore: плавающий слой */
.drawer.on { transform: none; visibility: visible; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 24px; }
.drawer-h h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; }
.drawer-b { flex: 1; overflow: auto; padding: 0 16px; display: grid; gap: 8px; align-content: start; }
.drawer-f { padding: 16px 24px 24px; display: grid; gap: 14px; background: var(--surface-2); }
.drawer .line { grid-template-columns: 72px minmax(0, 1fr) auto; background: var(--surface-2); padding: 8px 8px 8px 8px; gap: 4px 14px; }
.drawer .line img { width: 72px; height: 60px; }
.drawer .line .lp { grid-column: 2 / span 2; text-align: left; }
.drawer .line .ctl { grid-column: 2 / span 2; display: flex; align-items: center; justify-content: space-between; }
.drawer .line .lp { min-width: 0; }
.d-empty { padding: 24px 8px; color: var(--muted); }

/* плавающая панель сравнения */
.cmp-bar { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 200%); z-index: 70; background: var(--ink); color: var(--bg); display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; max-width: calc(100vw - 24px); transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); visibility: hidden; } /* taste-skill-ignore: плавающий слой */
.cmp-bar.on { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.cmp-bar .thumbs-m { display: flex; gap: 6px; }
.cmp-bar .thumbs-m span { width: 52px; height: 44px; background: var(--photo-bg); display: block; position: relative; overflow: hidden; }
.cmp-bar .thumbs-m img { width: 100%; height: 100%; object-fit: cover; }
.cmp-bar b { font-weight: 500; white-space: nowrap; }
.cmp-bar .btn { background: var(--bg); color: var(--ink); min-height: 44px; padding: 0 20px; }
.cmp-bar .btn:hover { background: #1b2232; }
.cmp-bar .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.cmp-bar .x { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--bg); }
.cmp-bar .x:hover { color: #000; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 24px); background: var(--surface-2); color: var(--ink); padding: 12px 18px; z-index: 120; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; max-width: calc(100vw - 32px); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); } /* taste-skill-ignore: плавающий слой */
.toast.on { opacity: 1; transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }

/* оформление */
.co { padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
.co form { display: grid; gap: 40px; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.fs legend { padding: 0; font-size: var(--step-lead); font-weight: 500; letter-spacing: -.02em; margin-bottom: 4px; }
.fld { display: grid; gap: 8px; }
.fld > label, .fld > .lab { font-size: var(--step-small); color: var(--muted); }
.fld .err { color: var(--err); font-size: var(--step-small); min-height: 0; }
.fld .err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radios { display: grid; gap: 8px; }
.rad { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 16px; background: var(--surface); cursor: pointer; transition: background-color .2s; }
.rad:hover { background: var(--surface-2); }
.rad input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); margin: 0; flex: none; display: inline-grid; place-items: center; cursor: pointer; }
.rad input:checked { background: var(--accent); }
.rad input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); }
.rad input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rad.on { background: var(--surface-2); }
.rad strong { font-weight: 500; }
.rad small { color: var(--muted); display: block; font-size: var(--step-small); }
.rad > span { flex: 1; }
.co-sum .mini { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: var(--step-small); }
.co-sum .mini img { width: 64px; height: 54px; object-fit: cover; background: var(--photo-bg); }
.co-sum .mini .n { line-height: 1.3; }
.co-sum .mini .n span { color: var(--muted); display: block; }
.err-sum { background: var(--surface); padding: 16px; color: var(--err); display: none; }
.err-sum.on { display: block; }
.ok-screen { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; padding-top: clamp(40px, 6vw, 88px); }
.ok-screen h1 { grid-column: 1 / span 9; }
.ok-screen .ok-box { grid-column: 1 / span 6; background: var(--surface); padding: 28px; display: grid; gap: 14px; }
.ok-screen dl { display: grid; gap: 10px; }
.ok-screen dl > div { display: flex; justify-content: space-between; gap: 16px; }
.ok-screen dt { color: var(--muted); }
.ok-screen dd { text-align: right; }
.ok-screen .ok-act { grid-column: 1 / -1; display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; }

/* сравнение */
.cmp-wrap { padding-inline: var(--gutter); }
.cmp-tools { display: flex; gap: 20px 32px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.cmp-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.cmp-t { width: 100%; min-width: 760px; table-layout: fixed; }
.cmp-t th, .cmp-t td { padding: 14px 16px; text-align: left; vertical-align: top; font-weight: 400; }
.cmp-t tbody tr:nth-child(even) { background: var(--surface); }
.cmp-t tbody th { color: var(--muted); width: 190px; position: sticky; left: 0; background: var(--bg); z-index: 1; }
.cmp-t tbody tr:nth-child(even) th { background: var(--surface); }
.cmp-t td.diff { background: rgba(90, 155, 252, .16); color: var(--ink); }
.cmp-t thead th { padding-top: 8px; width: auto; }
.cmp-h { display: grid; gap: 8px; align-content: start; }
.cmp-h img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; background: var(--photo-bg); }
.cmp-h .name { font-weight: 500; line-height: 1.25; }
.cmp-h .price { font-weight: 500; }
.cmp-h .acts { display: flex; gap: 6px; flex-wrap: wrap; }

/* 404 */
.nf { padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: center; padding-top: clamp(32px, 6vw, 96px); }
.nf .txt { grid-column: 1 / span 6; display: grid; gap: 22px; justify-items: start; }
.nf .pic { grid-column: 8 / span 5; background: var(--photo-bg); aspect-ratio: 6 / 5; overflow: hidden; }
.nf .pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- движение ---------- */
.js [data-r] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-r].in { opacity: 1; transform: none; }
.shot [data-r] { opacity: 1 !important; transform: none !important; transition: none !important; }
.shot *, .shot *::before, .shot *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  .tile .pic img, .mom .shot img { transition: none; }
  .drawer, .cmp-bar, .toast, .ov { transition-duration: .01ms; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .sheet-first { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sheet-first .big { grid-column: 1; grid-row: auto; min-height: 0; }
  .big-pic { min-height: 340px; }
  .sheet-first .run { grid-column: 1; }
  .run, .sheet-first .run { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .run-title { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px 18px; flex-wrap: wrap; padding: 14px 0 4px; }
  .run-title > div { display: flex; gap: 14px; align-items: baseline; }
  .run-title .link { min-height: 36px; }
  .hero-top h1 { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: end; justify-items: start; }
  .grid-p, .with .grid-p { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .gal { grid-column: 1 / -1; position: static; }
  .gal-main { aspect-ratio: 5 / 4; }
  .info { grid-column: 1 / -1; }
  .quiz { grid-template-columns: 1fr; }
  .inst-ctl { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .inst-table { grid-column: 1 / -1; }
  .idx-col:nth-child(1) { grid-column: 1 / span 4; }
  .idx-col:nth-child(2) { grid-column: 5 / span 4; }
  .idx-col:nth-child(3) { grid-column: 9 / span 4; }
  .idx-desc { grid-column: 1 / -1; grid-row: 2; order: 5; }
  .rev-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq h2 { grid-column: 1 / -1; }
  .faq-text { grid-column: 1 / -1; }
  .cart-l, .co { grid-template-columns: minmax(0, 1fr) 340px; }
  .foot-blocks > div { grid-column: span 6; }
}
@media (max-width: 900px) {
  .nav, .hdr-search { display: none; }
  .hdr { gap: 8px; }
  .hdr-act { margin-left: auto; }
  .hdr-act .menu-btn { display: inline-grid; }
  .nav.open { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 8px var(--gutter) 18px; margin: 0; gap: 0; z-index: 61; }
  .nav.open a { min-height: 52px; font-size: var(--step-lead); color: var(--ink); }
  .nav.open .nav-search { display: block; margin-top: 8px; }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 110; inset: 0 auto 0 0; width: min(360px, 100vw); max-height: none; background: var(--surface); padding: 20px 20px 96px; transform: translateX(-104%); transition: transform .4s var(--ease); visibility: hidden; align-content: start; }
  .filters.on { transform: none; visibility: visible; }
  .f-close { display: flex; position: fixed; left: 0; bottom: 0; width: min(360px, 100vw); padding: 14px 20px 20px; background: var(--surface-2); z-index: 111; transform: translateX(-104%); transition: transform .4s var(--ease); visibility: hidden; }
  .filters.on + .f-close, .f-close.on { transform: none; visibility: visible; }
  .filter-btn { display: inline-flex; }
  .res-bar .field { min-width: 0; flex: 1 1 160px; }
  .cart-l, .co { grid-template-columns: 1fr; }
  .sum { position: static; }
  .tab-panel > * { grid-column: 1 / -1; }
  .line { grid-template-columns: 88px minmax(0, 1fr) auto; align-items: start; }
  .line .lim { grid-row: 1 / span 3; }
  .line img { width: 88px; height: 74px; }
  .line .ln { grid-column: 2; grid-row: 1; }
  .line .qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .line .lp { grid-column: 2; grid-row: 3; text-align: left; min-width: 0; }
  .line .rm { grid-column: 3; grid-row: 1; }
  .pd .gal { grid-template-columns: 1fr; }
  .gal-main { grid-column: 1; grid-row: 1; }
  .thumbs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .thumb { width: auto; }
  .nf .txt, .nf .pic { grid-column: 1 / -1; }
  .ok-screen h1, .ok-screen .ok-box { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --gap: 6px; }
  .hero-top { padding-top: 14px; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-side p { max-width: none; }
  .sheet-first { grid-template-columns: minmax(0, 1fr); }
  .sheet-first .big { grid-column: 1; grid-row: auto; min-height: 520px; }
  .sheet-first .run { grid-column: 1; }
  .run { display: block; }
  .run-title { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding: 22px 0 10px; }
  .run-title > div { display: flex; gap: 12px; align-items: baseline; }
  .run-frames { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .run-frames::-webkit-scrollbar { display: none; }
  .run-frames .tile { flex: 0 0 62vw; scroll-snap-align: start; }
  .sheet.has-hover .run:not(.is-hover) { opacity: 1; }
  .grid-p, .with .grid-p { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile .meta { padding: 2px 10px 12px; }
  .tile .tools .btn { width: 44px; padding: 0; }
  .tile .tools .btn .tx { display: none; }
  .tile .tools .btn .icon { display: block; }
  .tile .tools { margin-top: 6px; }
  .tile .price { margin-top: 4px; }
  .badge { left: 8px; top: 8px; }
  .quiz-q, .quiz-r { padding: 20px 16px; }
  .quiz-r { min-height: 0; }
  .inst-table table { display: none; }
  .inst-m { display: grid; }
  .big-pic { min-height: 300px; }
  .pick { grid-template-columns: 72px minmax(0, 1fr); padding: 8px; }
  .pick img { width: 72px; height: 72px; }
  .pick-act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .inst-ctl { grid-template-columns: 1fr; }
  .mom { flex-basis: 72vw; }
  .mom .gap { height: calc(var(--pt, 80px) * .45); }
  .idx-col { grid-column: 1 / -1 !important; }
  .idx-col li button { min-height: 40px; }
  .idx-desc { display: none; }
  .idx-sum { display: block; }
  .rev > h2 { grid-column: 1 / -1; }
  .rev-list, .rev-note { grid-column: 1 / -1; }
  .rev-list { grid-template-columns: 1fr; gap: 36px; }
  .rev-card .band { height: 84px; }
  .faq-text { columns: 1; }
  .foot-blocks > div { grid-column: 1 / -1; }
  .foot-line { grid-template-columns: 1fr; justify-items: start; gap: 8px; }
  .foot-line nav { justify-content: flex-start; gap: 8px 20px; }
  .foot-line div:last-child { text-align: left; }
  .hdr .brand { font-size: 23px; }
  .hdr-act .lbl { display: none; }
  .cmp-bar { left: 12px; right: 12px; transform: translateY(140%); width: auto; gap: 8px; padding: 8px; }
  .cmp-bar.on { transform: none; }
  .cmp-bar .thumbs-m { display: none; }
  .cmp-bar b { flex: 1; }
  .toast { bottom: 84px; }
  .line .name { font-size: var(--step-body); }
  .row2 { grid-template-columns: 1fr; }
  .cmp-t { min-width: 600px; }
  .cmp-t th, .cmp-t td { padding: 12px 10px; }
  .cmp-t tbody th { width: 112px; }
  .pd-price .now { font-size: 34px; }
  .res-bar .found { flex-basis: 100%; }
}

/* сенсорные экраны: все нажимаемые цели не меньше 44 px */
@media (max-width: 900px) {
  .f-cat, .ck { min-height: 44px; }
  .chip.sm, .act-chips button { min-height: 44px; }
  .idx-col li button { min-height: 44px; }
  .crumbs a { min-height: 44px; }
  .foot-blocks a { min-height: 44px; }
  .run-title .link { min-height: 44px; }
}

/* страница «Источники фото» */
.credits { display: grid; gap: 28px; padding-bottom: 8px; }
.credits .t-lead { max-width: 56ch; }
.cr-t { width: 100%; min-width: 1020px; }
.cr-t th, .cr-t td { padding: 14px 16px; text-align: left; vertical-align: top; font-weight: 400; line-height: 1.4; }
.cr-t thead th { color: var(--muted); }
.cr-t tbody tr:nth-child(odd) { background: var(--surface); }
.cr-t .th { display: block; width: 168px; height: 140px; background: var(--photo-bg); overflow: hidden; }
.cr-t .th img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .cr-t { min-width: 0; }
  .cr-t, .cr-t tbody, .cr-t tr, .cr-t td { display: block; }
  .cr-t thead { display: none; }
  .cr-t tbody tr { padding: 12px; margin-bottom: 6px; background: var(--surface); }
  .cr-t td { padding: 6px 4px; }
  .cr-t td::before { content: attr(data-l); display: block; color: var(--muted); }
  .cr-t td:first-child::before { display: none; }
  .cr-t .th { width: 100%; height: auto; aspect-ratio: 6 / 5; }
}
