/* step2go — основные стили. Mobile first: базовые правила — макет 390, @media (min-width: 1024px) — макет 1440.
   Источник — кадр «Итог — структура 2 + стиль 6» в Figma (16:2) и раздел «Индивидуальные стельки» (24:2).
   После любой правки поднять ?v= во всех страницах (агент vcms-refresh-css-js). */

:root {
  --bg: #ffffff;
  --sf: #f3f4f5;
  --ink: #232527;
  --mut: #6b7076;
  --ac: #b4182d;
  --line: #e1e3e6;
  --ph: #e9eaec;
  --graphite: #3f4347;
  --font-head: 'PT Sans Narrow', 'Arial Narrow', sans-serif;
  --font-body: 'PT Sans', Arial, sans-serif;
  --pad: 16px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Типографика */
.h1, .h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; }
.h1 { font-size: 34px; line-height: 1.04; }
.h2 { font-size: 28px; line-height: 1.08; }
.h3 { font-size: 17px; line-height: 1.22; font-weight: 700; }
.lead { font-size: 16px; line-height: 1.46; }
.small { font-size: 13px; line-height: 1.42; }
.cap { font-size: 11px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.muted { color: var(--mut); }
.accent { color: var(--ac); }
.price { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.1; }

/* Общие элементы */
.container { padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: 28px var(--pad); }
.section--soft { background: var(--sf); }
.section--dark { background: var(--ink); color: #fff; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack > * { min-width: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; border-radius: 4px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; text-align: center; }
.btn--primary { background: var(--ac); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 10px 14px; font-size: 12px; }

.chip { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 4px; background: var(--sf); font-size: 13px; line-height: 1.42; }
.chip--on { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Скошенный ярлык из стиля прошлого магазина */
.tag { display: inline-flex; align-items: center; align-self: flex-start; height: 28px; padding: 0 22px; background: var(--ac); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.tag--grey { background: var(--mut); }
.tag--ink { background: var(--ink); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.photo { width: 100%; object-fit: cover; background: var(--ph); }
.photo--round { border-radius: var(--r); }

/* Шапка */
.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--pad);
  background: var(--bg); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.site-header__desktop, .site-nav--desktop { display: none; }
.site-nav--mobile { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; flex-direction: column; padding: 8px var(--pad) 16px;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(35, 37, 39, .12); }
.site-nav--mobile.is-open { display: flex; }
.site-nav--mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.site-nav--mobile a:last-child { border-bottom: 0; }

/* Первый экран */
.hero__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__body { display: flex; flex-direction: column; gap: 14px; padding: 20px var(--pad) 24px; background: var(--ink); color: #fff; }
.hero__body .lead { color: rgba(255, 255, 255, .75); }
.hero__buttons { display: flex; flex-direction: column; gap: 10px; }
.hero__buttons .btn--ghost { display: none; }

/* Заголовок раздела (тёмный) */
.page-head { display: flex; flex-direction: column; gap: 12px; padding: 16px var(--pad) 24px; background: var(--ink); color: #fff; }
.page-head .lead { color: rgba(255, 255, 255, .8); }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .6); }
.anchors { display: flex; gap: 8px; padding: 12px var(--pad); background: var(--sf); overflow-x: auto; }

/* Плитки ситуаций */
.situations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.situation { display: flex; flex-direction: column; }
.situation .photo { aspect-ratio: 171 / 140; }
/* Иконка раздела: у каждой плитки, отдельным слоем (файлы — assets/img/icons/<раздел>.svg). В сами фото иконки не вшиваются. */
.situation__photo { position: relative; display: block; }
.situation__icon { display: none; /* до выбора набора иконок в Figma (28.11.2026) */ position: absolute; right: 6%; bottom: 0; box-sizing: border-box; width: 26%; height: auto; aspect-ratio: 1 / 1; padding: 1.5%;
  background: #2f8fd3; border: 2px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; }
.situation__title { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; flex: 1; }
.arrow { color: var(--ac); font-weight: 700; font-size: 17px; }

/* Инструменты */
.tools { display: flex; flex-direction: column; gap: 12px; padding: 0 var(--pad) 28px; }
.tool { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r); color: #fff; }
.tool--size { background: var(--ink); }
.tool--quiz { background: var(--ac); }
.tool p { color: rgba(255, 255, 255, .85); }

/* Жёсткости */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.model { display: flex; flex-direction: column; }
.model .photo { aspect-ratio: 1 / 1; background: #fff; }
.model__body { display: flex; flex-direction: column; gap: 8px; padding: 12px; flex: 1; }
.model__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.model__buy .btn { display: none; }
.model--wide .model__buy .btn { display: inline-flex; }

/* Списки ссылок */
.links { padding: 4px 16px; }
.links a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.links a:last-child { border-bottom: 0; }
.links__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.articles { display: flex; flex-direction: column; }
.articles a { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.articles a:last-child { border-bottom: 0; }

/* Раздел-ситуация */
.short { display: flex; gap: 12px; }
.short::before { content: ''; flex: 0 0 6px; background: var(--ac); }
.short__body { display: flex; flex-direction: column; gap: 6px; }
.partner { display: flex; align-items: center; gap: 12px; padding: 12px; }
.partner__photo { flex: 0 0 72px; height: 72px; border-radius: 4px; background: var(--ph); }
.partner__body { display: flex; flex-direction: column; gap: 3px; }
.partner .price { font-size: 18px; }
.hub-take { display: none; }
.cols { display: flex; flex-direction: column; gap: 28px; }
.cols > * { min-width: 0; }

/* Индивидуальные стельки */
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px var(--pad) 0; }
.entry { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 132px; padding: 16px; border-radius: var(--r); color: #fff; background: var(--ac); }
.entry--pro { background: var(--graphite); }
.entry .small { color: rgba(255, 255, 255, .8); }
.steps { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.steps li { display: flex; gap: 12px; }
.steps li::before { counter-increment: step; content: counter(step); flex: 0 0 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 4px; background: var(--ink); color: #fff; font-weight: 700; }
.steps__text { display: flex; flex-direction: column; gap: 2px; }
.element { display: flex; align-items: center; }
.element .photo { flex: 0 0 110px; width: 110px; height: 110px; }
.element__body { display: flex; flex-direction: column; gap: 3px; padding: 12px; }
.price--tbd { font-family: var(--font-body); font-size: 15px; color: var(--mut); }

/* Подвал */
.site-footer { display: flex; flex-direction: column; gap: 16px; padding: 32px var(--pad); background: var(--ink); color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer__about { color: rgba(255, 255, 255, .7); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.site-footer__legal { color: rgba(255, 255, 255, .5); font-size: 13px; }

/* ===== Десктоп: макет 1440 ===== */
@media (min-width: 1024px) {
  :root { --pad: 80px; }
  body { font-size: 16px; }
  .h1 { font-size: 60px; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 20px; }
  .price { font-size: 26px; }
  .price--tbd { font-size: 16px; }
  .btn { padding: 18px 30px; font-size: 16px; }
  .btn--sm { padding: 10px 14px; font-size: 12px; }
  .section { padding: 64px var(--pad); }
  .stack { gap: 24px; }
  .wrap { max-width: 1440px; margin: 0 auto; }

  .site-header { padding: 18px var(--pad); }
  .logo { font-size: 28px; }
  .site-header__left { display: flex; align-items: center; gap: 40px; }
  .site-nav--desktop { display: flex; gap: 24px; }
  .site-header__actions { display: none; }
  .site-header__desktop { display: flex; align-items: center; gap: 14px; }
  .site-nav--mobile, .site-nav--mobile.is-open { display: none; }

  .hero { display: flex; flex-direction: row-reverse; height: 500px; background: var(--ink); }
  .hero__photo { flex: 0 0 52%; width: 52%; height: 100%; aspect-ratio: auto; }
  .hero__body { flex: 1; justify-content: center; gap: 22px; padding: 0 56px 0 var(--pad); }
  .hero__body .lead { max-width: 460px; }
  .hero__buttons { flex-direction: row; gap: 12px; }
  .hero__buttons .btn--ghost { display: inline-flex; }
  .hero__buttons .btn--block { display: inline-flex; width: auto; }

  .page-head { gap: 16px; padding: 40px var(--pad) 48px; }
  .page-head .lead { max-width: 720px; }
  .anchors { padding: 14px var(--pad); }

  .situations { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .situation .photo { aspect-ratio: 303 / 220; }
  .situation__icon { right: 9%; width: 24%; border-width: 3px; border-radius: 8px 8px 0 0; }

  .tools { flex-direction: row; gap: 20px; padding: 0 var(--pad) 64px; }
  .tool { flex: 1; padding: 32px; }

  .section__head { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .models { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .model__body { padding: 16px; }
  .model__buy .btn { display: inline-flex; }

  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .cols--hub { grid-template-columns: 1fr 520px; }
  .hub-take { display: flex; flex-direction: column; gap: 12px; }
  .hub-take__row { display: grid; grid-template-columns: 252px 1fr; gap: 16px; align-items: start; }
  .hub-take__partners { display: flex; flex-direction: column; gap: 12px; }
  .hub-list { display: grid; grid-template-columns: 420px 1fr; gap: 20px; align-items: start; }
  .hub-list__partners { display: flex; flex-direction: column; gap: 12px; }

  .articles--row { flex-direction: row; gap: 32px; }
  .articles--row a { flex: 1; border-bottom: 0; }

  .entries { padding: 32px var(--pad) 0; gap: 20px; }
  .entry { min-height: 160px; padding: 24px; }
  .elements { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .site-footer { padding: 56px var(--pad); }
  .site-footer__about { max-width: 420px; }
  .site-footer__nav { gap: 8px 40px; }
}

/* ===== Магазин, карточка товара, размеры, подбор, корзина, статья ===== */
.link { color: var(--ac); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover, .model h3 a:hover, .articles a:hover .h3 { text-decoration: underline; text-underline-offset: 2px; }
.crumbs--dark { color: var(--mut); }
.tag--soft { background: #2f8fd3; }
.tag--medium { background: var(--ac); }
.tag--hard { background: var(--graphite); }
.tag--extrahard { background: #4f8f1e; }
.tag--half { background: var(--mut); }
.tools--gap { padding-top: 28px; }
.models--two .model .photo { aspect-ratio: 1 / 1; }
.models .model--wide .model__buy { flex-wrap: wrap; }
.models .model--wide .model__buy .btn { flex: 1 0 100%; }

/* Таблицы */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.table th, .table td { padding: 11px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--mut); background: var(--sf); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tr.is-on td { background: #fbe9ec; font-weight: 700; }

/* Поля */
.input { width: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; }
.input:focus { outline: 0; border-color: var(--ink); }

/* Карточка товара */
.product-top { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.product { display: flex; flex-direction: column; gap: 20px; }
.product > * { min-width: 0; }
.h1--product { font-size: 30px; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery__main { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.gallery__thumbs { display: flex; gap: 8px; }
.gallery__thumb { width: 64px; height: 64px; border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-on { border-color: var(--ink); }
.scale { display: flex; gap: 4px; }
.scale li { flex: 1; padding-top: 10px; border-top: 6px solid var(--line); font-size: 12px; line-height: 1.3; color: var(--mut); }
.scale li.is-on { border-top-color: var(--ink); }
.scale li.is-current { color: var(--ink); font-weight: 700; }
.scale--soft li.is-on { border-top-color: #2f8fd3; }
.scale--medium li.is-on { border-top-color: var(--ac); }
.scale--hard li.is-on { border-top-color: var(--graphite); }
.scale--extrahard li.is-on { border-top-color: #4f8f1e; }
.scale a:hover { text-decoration: underline; }
.sizes-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.sizes-field legend { padding: 0; margin-bottom: 10px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size { display: block; cursor: pointer; }
.size__box { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px; border: 1.5px solid var(--line); border-radius: 4px; text-align: center; }
.size__box .small { color: var(--mut); font-size: 12px; }
.size input:checked + .size__box { background: var(--ink); border-color: var(--ink); color: #fff; }
.size input:checked + .size__box .small { color: rgba(255, 255, 255, .75); }
.size input:focus-visible + .size__box { outline: 2px solid var(--ac); outline-offset: 2px; }
.buy__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buy__row .btn { flex: 1; max-width: 260px; }
.price--big { font-size: 30px; }
.buy__msg { padding: 10px 12px; border-radius: 4px; background: var(--sf); }
.buy__msg.is-error { background: #fbe9ec; color: var(--ac); }
.specs { display: flex; flex-direction: column; margin: 0; }
.specs > div { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { flex: 0 0 38%; color: var(--mut); }
.specs dd { margin: 0; flex: 1; font-weight: 700; }

/* Калькулятор размера */
.calc { padding: 20px; }
.calc__result { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 4px; background: var(--sf); }
.calc__result.is-error { background: #fbe9ec; color: var(--ac); }
.calc__size { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; text-transform: uppercase; }

/* Подбор */
.quiz { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.quiz__bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--ac); }
.quiz__options { display: flex; flex-direction: column; gap: 8px; }
.option { display: block; width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 4px; text-align: left; font-weight: 700; font-size: 16px; }
.option:hover { border-color: var(--ink); }
.quiz__nav { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz__back { color: var(--mut); text-decoration: underline; text-underline-offset: 2px; font-size: 14px; align-self: flex-start; }
.quiz__product { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.quiz__product img { flex: 0 0 96px; width: 96px; height: 96px; object-fit: contain; }
.quiz__product-body { display: flex; flex-direction: column; gap: 4px; }
.quiz__note { padding: 10px 12px; border-radius: 4px; background: var(--sf); }

/* Корзина */
.cart-page { padding-top: 16px; }
.cart { display: flex; flex-direction: column; }
.cart-row { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { grid-row: span 2; width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.cart-row__body { display: flex; flex-direction: column; gap: 2px; }
.cart-row__ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 4px; }
.qty button { width: 36px; height: 36px; font-size: 18px; font-weight: 700; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.cart-row__del { color: var(--mut); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.cart-summary { padding: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 12px; }
.cart-summary__row b { font-family: var(--font-head); font-size: 20px; }

/* Статья */
.article { display: flex; flex-direction: column; gap: 24px; padding: 16px var(--pad) 28px; }
.article__cover { aspect-ratio: 1200 / 630; }
.toc { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.toc ol { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: decimal; }
.toc a { text-decoration: underline; text-underline-offset: 2px; }
.direct-answer { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-left: 6px solid var(--ac); background: var(--sf); }
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.55; }
.prose h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1.08; margin-top: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ol { padding-left: 20px; list-style: decimal; }
.prose a:not(.btn) { color: var(--ac); text-decoration: underline; text-underline-offset: 2px; }
.product-inline { display: flex; align-items: stretch; }
.product-inline .photo { width: 120px; height: 100%; min-height: 120px; object-fit: contain; background: #fff; }
.product-inline > a { flex: 0 0 120px; }
.product-inline__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.product-inline .model__buy { margin-top: 6px; }
.product-inline .model__buy .btn { display: inline-flex; }
.prose .product-inline a:not(.btn) { color: inherit; text-decoration: none; }
.faq { display: flex; flex-direction: column; }
.faq .h2 { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 14px 0; font-weight: 700; font-size: 17px; cursor: pointer; }
.faq details p { padding-bottom: 14px; color: var(--mut); }

@media (min-width: 1024px) {
  .tools--gap { padding-top: 64px; }
  .models--three { grid-template-columns: repeat(3, 1fr); }
  .models .model--wide .model__buy .btn { flex: 0 0 auto; }
  .models--two { grid-template-columns: repeat(4, 1fr); }
  .table { font-size: 16px; }
  .table th, .table td { padding: 14px 18px; }
  .table th { font-size: 12px; }

  .product-top { gap: 24px; padding-top: 32px; }
  .product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .h1--product { font-size: 44px; }
  .gallery__thumb { width: 84px; height: 84px; }
  .scale li { font-size: 14px; }
  .sizes { grid-template-columns: repeat(6, 1fr); }
  .price--big { font-size: 40px; }
  .specs dt { flex-basis: 34%; }

  .calc { padding: 32px; }
  .calc__size { font-size: 64px; }
  .quiz { max-width: 720px; margin: 0 auto; padding: 32px; gap: 20px; }
  .option { padding: 16px 20px; font-size: 18px; }
  .quiz__product img { flex-basis: 140px; width: 140px; height: 140px; }

  .cart-page { padding-top: 32px; display: grid; grid-template-columns: 1fr 400px; gap: 16px 48px; align-items: start; }
  .cart-page > .crumbs, .cart-page > .h1, .cart-page > .cart-empty { grid-column: 1 / -1; }
  .cart-row { grid-template-columns: 96px 1fr auto; align-items: center; gap: 20px; }
  .cart-row img { grid-row: auto; width: 96px; height: 96px; }
  .cart-row__ctl { gap: 24px; }
  .cart-summary { padding: 28px; }
  .cart-summary__row b { font-size: 24px; }
  .cart-empty .hero__buttons .btn { width: auto; display: inline-flex; }

  .article { max-width: 840px; margin: 0 auto; gap: 32px; padding: 32px 40px 64px; }
  .toc { padding: 24px; }
  .direct-answer { padding: 24px; }
  .prose { font-size: 18px; gap: 18px; }
  .prose h2 { font-size: 40px; margin-top: 24px; }
  .product-inline > a { flex-basis: 180px; }
  .product-inline .photo { width: 180px; min-height: 180px; }
  .product-inline__body { padding: 20px; gap: 6px; }
  .faq summary { font-size: 20px; }
}

/* Плашка о cookie (main.js добавляет её, пока не нажали «Понятно»). Макет — Figma, рамка «Плашка о cookie». */
.cookie { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.cookie__text { flex: 1; color: rgba(255, 255, 255, .8); }
.cookie__text .link { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie .btn { flex: 0 0 auto; }
@media (min-width: 1024px) {
  .cookie { left: 24px; right: auto; bottom: 24px; max-width: 460px; }
}
