/* Christmas Store — Visual Prototype v0.1
   Токены предварительные (Reference Pack v0.3). Без градиентов, без стекла, без анимаций. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F6F6F4;
  --surface: #EDEDE9;
  --surface-2: #E5E5E0;
  --surface-3: #DCDCD6;
  --border: #DEDED9;
  --text: #151816;
  --muted: #5C615E;
  --brand: #1F3D33;
  --brand-hover: #163027;
  --on-brand: #F6F6F4;
  --season: #8C2F39;       /* сезонный акцент: меняется под кампанию, тема не переписывается */
  --accent: var(--season);
  --field: #FFFFFF;

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(21, 24, 22, .14);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-body);
  --font-brand: "Literata", Georgia, "Times New Roman", serif;

  --gutter: 16px;
  --container: 1280px;
  --section: 48px;
  --bnav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -48px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.edit__panel :focus-visible { outline-color: var(--on-brand); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 15px/1 var(--font-body); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary[aria-disabled="true"] { cursor: not-allowed; background: var(--muted); color: #fff; }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--surface); }

.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .15s ease; }
.more:hover { color: var(--accent); }
.more--light { color: var(--on-brand); }
.more--light:hover { color: var(--on-brand); border-bottom-width: 2px; }

/* ---------- Плейсхолдер изображения ---------- */
.ph {
  position: relative; display: block;
  background: var(--surface-2) center / cover no-repeat;
  border: 1px solid var(--border);
  color: #4A5249;
  overflow: hidden;
}
.ph--sq { aspect-ratio: 1 / 1; }
.ph::after {
  content: "Демонстрационное изображение";
  position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px);
  padding: 4px 8px; border-radius: 2px;
  font: 600 10px/1.25 var(--font-body); letter-spacing: .02em;
  background: rgba(247, 243, 236, .92);
  color: #4A5249;
}
.ph:not(.has-photo)::before {
  content: attr(data-hint);
  position: absolute; inset: 0 0 28px 0;
  display: grid; place-items: center; text-align: center;
  padding: 16px; font: 400 13px/1.4 var(--font-body); color: #4A5249;
}
.ph:not(.has-photo):not([data-hint])::before { content: none; }
.demo-tag {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: var(--accent); color: #fff;
  font: 600 11px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 7px; border-radius: 2px;
}
.demo-note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 12px; margin: 12px 0 24px; max-width: 64ch; }

/* ---------- Шапка (v3) ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.utility { display: none; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.utility__in { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.utility__r { display: flex; gap: 20px; align-items: center; }
.utility a:hover { color: var(--text); }

.hdr__main { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.logo { display: inline-flex; align-items: center; font: 700 26px/1 var(--font-brand); letter-spacing: .005em; color: var(--brand); }
.logo::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 3px; border-radius: 50%; background: var(--season); transform: translateY(-1px); }
.logo--light { color: var(--brand); }
.hdr__actions { display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text); cursor: pointer; border-radius: var(--radius); transition: background-color .15s ease; }
.icon-btn:hover { background: var(--surface); }
.hdr__link { display: none; }
.hdr__cart { position: relative; }
.hdr__link.hdr__cart { display: inline-flex; width: 44px; height: 44px; justify-content: center; align-items: center; border-radius: var(--radius); transition: background-color .15s ease; }
.hdr__link.hdr__cart:hover { background: var(--surface); }
.hdr__cart span:last-child { display: none; }
.hdr__cart-ico { margin-right: 0; }
.catnav { display: none; }

/* поиск: раскрывается панелью под шапкой на любой ширине */
.search { display: none; position: relative; padding: 4px 0 16px; }
.search.is-open { display: block; }
.search input { width: 100%; height: 52px; padding: 0 52px 0 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--field); color: var(--text); font: 400 16px/1 var(--font-body); }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline-offset: 0; }
.search button { position: absolute; right: 0; top: 4px; width: 52px; height: 52px; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }

.mmenu { border-top: 1px solid var(--border); background: var(--bg); }
.mmenu li a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border); font-size: 17px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--bg); }
.hero__media { height: 164px; border-left: 0; border-right: 0; }
.hero__body { padding: 18px 0 8px; }
.hero__card h1 { font-size: 28px; }
.hero__card p { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 44ch; }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.hero__cta .btn { padding: 0 8px; font-size: 14px; white-space: nowrap; }

/* ---------- Секции ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: 8px 0 0; }
.section--tight + .section { padding-top: 40px; }
.section--surface { background: var(--surface); }
.section h2 { font-size: 24px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lead { margin-top: 12px; font-size: 17px; max-width: 52ch; }

/* категории */
.tiles { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tiles li { flex: 0 0 108px; scroll-snap-align: start; }
.tile { display: block; }
.tile__name { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.tile:hover .tile__name { color: var(--accent); }
.tiles li:nth-child(3n+2) .ph { background-color: var(--surface-3); }
.tiles li:nth-child(3n) .ph { background-color: var(--surface); }
.tiles .ph:not(.has-photo)::before { content: "Демо-фото"; inset: 0; font-size: 12px; }
.tiles .ph::after { content: "Демо-фото"; right: 6px; bottom: 6px; }

/* товары */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
.card a { display: block; }
.card h3 { margin-top: 10px; font: 500 15px/1.35 var(--font-body); letter-spacing: 0; }
.price-note { margin-top: 2px; font-size: 14px; color: var(--muted); }
.card:hover h3 { color: var(--accent); }
.products .ph::after { content: "Демо-фото"; }
.products .ph:not(.has-photo)::before { font-size: 12px; }
.products .card:nth-child(3n+2) .ph { background-color: var(--surface-3); }
.products .card:nth-child(3n) .ph { background-color: var(--surface); }

/* подборки */
.editorial { margin-top: 24px; display: grid; gap: 16px; }
.edit { display: grid; grid-template-columns: 1fr; }
.edit__img { aspect-ratio: 16 / 10; border: 0; }
.edit__panel { background: var(--brand); color: var(--on-brand); padding: 24px 20px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.edit__panel h3 { font-size: 24px; }
.edit__panel p { font-size: 15px; opacity: .92; }
.edit__panel .more { margin-top: 8px; }

/* ёлка под ключ */
.split { display: grid; gap: 32px; }
.split .btn { margin-top: 8px; }
.corp__img { aspect-ratio: 3 / 2; margin-top: 24px; }
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.steps li:last-child { border-bottom: 1px solid var(--border); }
.steps__n { font: 500 32px/1 var(--font-head); color: var(--brand); }
.steps h3 { font: 600 16px/1.3 var(--font-body); letter-spacing: 0; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* доставка */
.facts { display: grid; gap: 0; margin: 0; }
.facts div { padding: 16px 0; border-top: 1px solid var(--border); }
.facts dt { font-weight: 600; }
.facts dd { margin: 2px 0 0; color: var(--muted); }

/* корпоративные */
.flow { margin-top: 20px; counter-reset: s; display: grid; gap: 10px; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; font-size: 16px; }
.flow li::before { content: counter(s) "."; font: 500 20px/1.4 var(--font-head); color: var(--brand); }
.form { display: grid; gap: 14px; align-content: start; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--field); color: var(--text); font: 400 16px/1.4 var(--font-body); resize: vertical; }
.form .btn { justify-self: start; margin-top: 0; }
.form .demo-note { margin: 0; }


/* нижняя навигация */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--bg); border-top: 1px solid var(--border); }
.bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; font-weight: 500; color: var(--muted); }
.bnav a[aria-current="page"] { color: var(--brand); }
.bnav a[aria-current="page"] span { font-weight: 600; }

/* ---------- ≥ 640 ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; --section: 64px; }
  .products { gap: 32px 16px; }
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .tiles li { flex: none; }
  .edit { grid-template-columns: 1fr 1fr; }
  .edit__img { aspect-ratio: auto; min-height: 260px; }
  .edit__panel { justify-content: center; padding: 28px; }
  .hero__media { height: 320px; }
  .hero__card h1 { font-size: 36px; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
}

/* ---------- ≥ 768 ---------- */
@media (min-width: 768px) {
  .products { grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
}

/* ---------- ≥ 900 ---------- */
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .editorial { grid-template-columns: 1fr 1fr; gap: 24px; }
  .edit { grid-template-columns: 1fr 1fr; }
  .edit__img { aspect-ratio: auto; min-height: 340px; }
  .edit__panel { padding: 32px; justify-content: center; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .facts div { padding-top: 16px; }
  .section h2 { font-size: 32px; }
}

/* ---------- ≥ 1024: десктоп ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 32px; --section: 80px; }
  .ftr { padding-bottom: 32px; }
  .bnav, .hdr__menu, .hdr__phone, .mmenu { display: none !important; }


  .hero { grid-template-columns: 1fr; }
  .hero__media, .hero__body { grid-area: 1 / 1; }
  .hero__media { height: 560px; }
  .hero__body { align-self: end; padding: 0 0 40px; z-index: 1; }
  .hero__card { background: var(--bg); padding: 36px 40px 40px; max-width: 520px; margin-left: auto; }
  .hero__card h1 { font-size: 48px; }
  .hero__card p { font-size: 17px; margin-top: 12px; }
  .hero__cta { display: flex; gap: 12px; margin-top: 24px; }
  .hero__cta .btn { padding: 0 28px; font-size: 15px; }
  .hero__media:not(.has-photo)::before { inset: 0 0 28px 640px; }

  .section--tight { padding: 40px 0 0; }
  .section--tight + .section { padding-top: 64px; }
  .tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; overflow: visible; margin: 0; padding: 0; }
  .tiles li { flex: none; }
  .tile__name { font-size: 15px; margin-top: 12px; }

  .products { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
  .card h3 { font-size: 16px; }
  .edit__img { min-height: 366px; }
  .edit__panel h3 { font-size: 28px; }
  .ftr__in { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* =====================================================================
   v0.4: каталог, карточка товара, корзина (тестовые данные)
   ===================================================================== */
.badge { position: absolute; top: -6px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 11px/18px var(--font-body); text-align: center; }
.hdr__cart-ico, .bnav__ico { position: relative; display: inline-flex; }
.hdr__cart-ico { margin-right: 8px; }
.hdr__cart { gap: 8px; }

.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn:disabled, .btn[disabled] { cursor: not-allowed; background: #E4DDD0; border-color: #E4DDD0; color: #5F655C; }
.link-btn { background: none; border: 0; padding: 8px 0; font: 600 14px/1.2 var(--font-body); color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent); }
.link-btn--icon { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }

/* чипы */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text); font: 600 13px/1 var(--font-body); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { border-color: var(--brand); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip.is-static { cursor: default; }
.chip.is-static:hover { border-color: var(--brand); }
.chip--lg { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* карточка товара в сетке */
.price { margin-top: 2px; font: 600 16px/1.3 var(--font-body); color: var(--text); }
.price__test { font: 500 11px/1 var(--font-body); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.stock { font-size: 13px; color: var(--muted); }
.stock.is-out { color: var(--accent); }
.ph--card { aspect-ratio: 4 / 5; }
.card__media { display: block; }
.card--shop { display: flex; flex-direction: column; gap: 8px; }
.card--shop h3 { margin-top: 2px; font: 500 15px/1.35 var(--font-body); letter-spacing: 0; }
.card--shop h3 a:hover { color: var(--accent); }
.card--shop .chips { min-height: 36px; align-content: flex-start; }
.card--shop .price { margin-top: 0; font-size: 18px; }
.card--shop .btn { margin-top: auto; min-height: 44px; }
.card--shop:hover h3 { color: inherit; }

/* страницы */
.page-head { padding-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); padding: 16px 0 4px; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--text); }
.page-head h1, .page-h1 { margin-top: 8px; font-size: 30px; }
.page-lead { margin-top: 6px; color: var(--muted); max-width: 60ch; }
.page-head .demo-note { margin: 14px 0 0; }
.empty { padding: 48px 0; max-width: 520px; }
.empty h1, .empty h2 { font-size: 24px; }
.empty p { margin: 8px 0 20px; color: var(--muted); }

/* каталог */
.catalog { padding-bottom: 56px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 0 14px; margin-top: 8px; border-top: 1px solid var(--border); }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--muted); border-radius: var(--radius); background: transparent; color: var(--text); font: 600 14px/1 var(--font-body); cursor: pointer; }
.filter-btn:hover { background: var(--surface); }
.filter-btn__n { min-width: 20px; height: 20px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 600 12px/20px var(--font-body); text-align: center; }
.toolbar__count { margin-left: auto; font-size: 14px; color: var(--muted); }
.sort select { min-height: 44px; padding: 0 32px 0 12px; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--field); color: var(--text); font: 500 14px/1 var(--font-body); }
.filters { display: grid; gap: 18px; padding: 18px; margin-bottom: 20px; background: var(--surface); }
.fgroup { border: 0; padding: 0; margin: 0; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 8px; font: 600 13px/1.2 var(--font-body); }
.products--catalog { gap: 28px 12px; }
@media (max-width: 639px) {
  .page-lead { display: none; }
  .page-head .demo-note { font-size: 13px; margin-top: 10px; }
  .toolbar { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding-top: 14px; }
  .toolbar__count { grid-column: 1 / -1; order: 3; margin: 0; }
  .sort select { width: 100%; }
}

/* карточка товара */
.pdp-page { padding-bottom: 96px; }
.pdp__grid { display: grid; gap: 20px; padding-top: 8px; }
.gal { position: relative; }
.gal__thumbs { display: none; }
.gal__main { position: relative; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; }
.ph--gal { aspect-ratio: 1 / 1; border: 0; }
.ph--gal::after { content: "Демо-фото"; }
.gal__count { position: absolute; left: calc(-1 * var(--gutter) + 12px); bottom: 12px; padding: 4px 8px; border-radius: 2px; background: rgba(247, 243, 236, .92); font: 600 12px/1.2 var(--font-body); color: var(--text); }
.gal__thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--border); background: none; cursor: pointer; }
.gal__thumb .ph { aspect-ratio: 4 / 5; border: 0; }
.gal__thumb .ph::after { display: none; }
.gal__thumb.is-on { border-color: var(--brand); outline: 1px solid var(--brand); }
.pdp__info h1 { font-size: 28px; }
.pdp__test { margin-top: 6px; font-size: 13px; color: var(--accent); }
.pdp__price { margin-top: 14px; font: 600 30px/1.1 var(--font-body); }
.pdp__price .price__test { font-size: 12px; }
.pdp__info .stock { margin-top: 6px; font-size: 14px; }
.pdp__label { margin-top: 20px; margin-bottom: 8px; font: 600 13px/1 var(--font-body); }
.pdp__note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 52ch; }
.pdp__buy { display: flex; gap: 12px; margin-top: 18px; max-width: 420px; }
.pdp__buy .btn { min-height: 52px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--field); }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.qty button:hover { background: var(--surface); }
.qty output { min-width: 32px; text-align: center; font: 600 15px/1 var(--font-body); }
.acc { margin-top: 28px; border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none; font: 600 14px/1.2 var(--font-body); letter-spacing: .02em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc details[open] summary .icon { transform: rotate(180deg); }
.acc details > p { padding: 0 0 16px; font-size: 14px; color: var(--muted); max-width: 60ch; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 14px; }
.specs th, .specs td { padding: 9px 10px; text-align: left; vertical-align: top; }
.specs tr:nth-child(odd) { background: var(--surface); }
.specs th { width: 42%; font-weight: 600; }
.related { margin-top: 48px; }
.related h2 { font-size: 24px; margin-bottom: 18px; }
.products--related { gap: 24px 12px; }
.buybar { position: fixed; left: 0; right: 0; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); z-index: 19; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: var(--bg); border-top: 1px solid var(--border); }
.buybar__price { display: block; font: 600 18px/1.2 var(--font-body); }
.buybar__var { display: block; font-size: 12px; color: var(--muted); }
.buybar .btn { min-width: 160px; }

/* корзина */
.cart-page { padding-bottom: 56px; }
.cart-page .page-h1 { margin-top: 24px; }
.cart-page .demo-note { margin: 14px 0 22px; }
.cart__grid { display: grid; gap: 24px; }
.clist { border-top: 1px solid var(--border); }
.cline { display: grid; grid-template-columns: 88px 1fr; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cline__img .ph { aspect-ratio: 4 / 5; }
.cline__img .ph::after { display: none; }
.cline__body h2 { font: 500 15px/1.35 var(--font-body); letter-spacing: 0; }
.cline__body h2 a:hover { color: var(--accent); }
.cline__body .stock { margin: 2px 0 8px; }
.cline__ctl { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cline__price { grid-column: 2; font: 600 17px/1.3 var(--font-body); }
.cline__unit { display: block; font: 400 12px/1.3 var(--font-body); color: var(--muted); }
.summary { padding: 20px; border: 1px solid var(--muted); background: var(--field); align-self: start; }
.summary h2 { font-size: 22px; }
.summary dl { margin: 16px 0 0; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary dd { margin: 0; font-weight: 600; }
.summary dd.muted { font-weight: 400; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; font: 500 16px/1.2 var(--font-head); }
.summary__total strong { font: 600 24px/1.1 var(--font-body); }
.summary__note { margin: 6px 0 14px; font-size: 12px; color: var(--muted); }
.summary .btn { min-height: 52px; }
.summary .link-btn { display: inline-block; margin-top: 8px; }

/* уведомление */
.toast { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bnav-h) + 70px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-radius: var(--radius); background: var(--text); color: var(--bg); font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.toast[hidden] { display: none; }
.toast__link { color: var(--bg); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.toast .icon { vertical-align: -3px; }
body[data-page="product"] .toast { bottom: calc(var(--bnav-h) + 72px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 640px) {
  .products--catalog { gap: 32px 16px; }
  .toast { left: auto; right: 24px; max-width: 420px; }
  .cline { grid-template-columns: 110px 1fr auto; }
  .cline__price { grid-column: 3; text-align: right; }
  .filters { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .gal__track { margin-inline: 0; }
  .ph--gal { aspect-ratio: 4 / 5; }
  .gal__count { left: 12px; }
  .products--catalog { grid-template-columns: repeat(3, 1fr); }
  .products--related { grid-template-columns: repeat(4, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .page-head h1, .page-h1 { font-size: 36px; }
}
@media (min-width: 1024px) {
  .products--catalog { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
  .toast { bottom: 24px; }
  body[data-page="product"] .toast { bottom: 24px; }
  .filters { grid-template-columns: repeat(5, auto); justify-content: start; gap: 28px 40px; }
  .pdp-page { padding-bottom: 24px; }
  .pdp__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; padding-top: 16px; }
  .gal { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; }
  .gal__thumbs { display: grid; gap: 8px; }
  .gal__track { margin-inline: 0; }
  .ph--gal { aspect-ratio: 5 / 6; }
  .pdp__info h1 { font-size: 34px; }
  .buybar { display: none; }
  .cart__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .cline { grid-template-columns: 120px 1fr auto; }
}

/* атрибут hidden всегда скрывает элемент */
[hidden] { display: none !important; }

/* ===== Публичная сборка (site/): страницы-информации, «ожидает подтверждения», запрос товара ===== */
.prose { max-width: 46rem; padding-block: 2rem 3rem; }
.prose h1 { margin-bottom: .75rem; }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose p, .prose li { line-height: 1.65; }
.prose dl.facts { margin-top: 1rem; }
.pending { display: inline-block; padding: .05rem .5rem; border: 1px dashed currentColor; border-radius: .35rem; font-size: .9em; color: var(--burgundy, #8C2F39); }
.prose .draft-note { background: var(--surface, #EFE8DB); border-left: 3px solid var(--burgundy, #8C2F39); padding: .75rem 1rem; margin: 1rem 0 1.5rem; }
.prose ol, .prose ul { list-style: revert; padding-left: 1.4rem; margin: .5rem 0 1rem; }
.prose li { margin: .35rem 0; }
.prose h2 { margin-top: 1.75rem; }
.prose .order__note a, .prose .muted a { text-decoration: underline; }
.hero--plain { background: linear-gradient(135deg, #1F3D33 0%, #2c5445 55%, #1F3D33 100%); }
.hero--plain .hero__card { max-width: 40rem; }
.how { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.inq { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--line, #d9d0bf); border-radius: .75rem; background: var(--surface, #EFE8DB); }
.inq h2, .inq h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.inq__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.inq__btns .btn { flex: 1 1 11rem; text-align: center; }
.inq__pending { margin: 0; color: var(--burgundy, #8C2F39); }
.inq__note { margin: .5rem 0 0; font-size: .875rem; opacity: .8; }

/* Публичный режим: никаких надписей «Демо-фото». Нет фото — честная пометка. */
html[data-mode="catalog"] .tiles .ph::before, html[data-mode="catalog"] .tiles .ph::after { content: none; }
html[data-mode="catalog"] .tiles .ph--sq { background: linear-gradient(135deg, #EFE8DB, #E4D9C4); }
html[data-mode="catalog"] .products .ph:not(.has-photo)::after, html[data-mode="catalog"] .ph--gal:not(.has-photo)::after { content: "Фото ожидается"; }
.hero--plain .hero__card { background: var(--bg, #F7F3EC); color: var(--ink, #26302B); padding: 1.5rem; border-radius: .5rem; }
.hero--plain .hero__card h1, .hero--plain .hero__card p { color: inherit; }

/* =====================================================================
   v3: premium editorial. Универсальный магазин: нейтральная палитра, сезонный акцент
   меняется одной переменной --season, фото и баннеры создают настроение.
   ===================================================================== */
.section { padding: var(--section) 0; }
.section--tight { padding: 28px 0 0; }
.section--tight + .section { padding-top: 40px; }
.section h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.more { font-weight: 600; }
.more:hover { color: var(--text); border-bottom-width: 2px; padding-bottom: 0; }

/* hero */
.hero3 { padding: 20px 0 8px; }
.hero3__in { display: grid; gap: 20px; }
.hero3__eyebrow { margin: 0 0 14px; font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--season); }
.hero3 h1 { font-size: 34px; line-height: 1.06; font-weight: 600; letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; }
.hero3__lead { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.hero3__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.hero3__cta .btn { min-height: 52px; padding: 0 26px; }
.hero3__media { position: relative; overflow: hidden; border-radius: 4px; background: var(--surface-2); aspect-ratio: 16 / 10; }
.hero3__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero3__index { display: none; background: var(--surface); }
.hero3__index ol { list-style: none; margin: 0; padding: 0; }
.hero3__index a { display: grid; grid-template-columns: 36px 1fr auto 20px; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--border); font: 600 20px/1.2 var(--font-body); letter-spacing: -.01em; transition: color .15s ease; }
.hero3__index li:first-child a { border-top: 0; }
.hero3__index .n { font: 500 13px/1 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.hero3__index small { font: 400 13px/1 var(--font-body); color: var(--muted); white-space: nowrap; }
.hero3__index .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.hero3__index a:hover { color: var(--brand); }
.hero3__index a:hover .icon { transform: translateX(3px); }

/* категории */
.rail { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: 0 0 56vw; max-width: 240px; scroll-snap-align: start; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 16px; border-radius: 4px; overflow: hidden; background: var(--surface-2) center / cover no-repeat; color: var(--text); }
.cat--photo { color: #fff; }
.cat--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 12, 0) 30%, rgba(10, 14, 12, .8)); }
.cat__name, .cat__meta { position: relative; }
.cat__name { font: 600 19px/1.2 var(--font-body); letter-spacing: -.01em; }
.cat__meta { margin-top: 4px; font-size: 13px; opacity: .82; }
.cat:hover .cat__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* переключатель разделов */
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text); font: 500 14px/1 var(--font-body); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.pill:hover { border-color: var(--text); }
.pill.is-on, .pill[aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; }

/* сетка и карточка товара */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
.products--home { margin-top: 20px; }
.card--lite { position: relative; display: block; }
.card__fig { position: relative; }
.card__img { display: block; }
.card--lite .ph { aspect-ratio: 4 / 5; border: 0; border-radius: 4px; transition: opacity .15s ease; }
.card--lite:hover .ph { opacity: .92; }
.card--lite .card__link { display: block; }
.card--lite h3 { margin-top: 12px; font: 500 15px/1.35 var(--font-body); letter-spacing: 0; text-wrap: balance; }
.card--lite .card__meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.card--lite .price { margin-top: 8px; font: 600 18px/1.2 var(--font-body); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card--lite .stock { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.card--lite .stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2F6B49; flex: none; }
.card--lite .stock.is-order::before { background: #A06A10; }
.card--lite .stock.is-out::before { background: #9A9D9A; }
.card--lite:hover h3 { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* вся карточка превью кликабельна: ссылка текста растягивается на карточку */
.card--lite .card__link::after { content: ""; position: absolute; inset: 0; }
.card--lite:focus-within { outline: 0; }
.products .ph:not(.has-photo)::after { content: none; }
html[data-mode="catalog"] .products .ph:not(.has-photo)::after, html[data-mode="catalog"] .ph--gal:not(.has-photo)::after { content: "Фото ожидается"; background: transparent; right: auto; left: 12px; bottom: 12px; color: var(--muted); font-weight: 500; }
html[data-mode="catalog"] .tiles .ph::before, html[data-mode="catalog"] .tiles .ph::after { content: none; }

/* как это работает: компактная полоса */
.section--surface { background: var(--surface); }
.how { display: grid; gap: 0; margin-top: 8px; }
.how.steps li { grid-template-columns: 36px 1fr; padding: 18px 0; border: 0; border-top: 1px solid var(--border); }
.how.steps li:last-child { border-bottom: 0; }
.steps__n { font: 600 14px/1.6 var(--font-body); letter-spacing: .06em; color: var(--season); }
.steps h3 { font: 600 17px/1.3 var(--font-body); }

/* кампания (необязательный сезонный баннер из site.json) */
.campaign { display: grid; gap: 0; border-radius: 4px; overflow: hidden; background: var(--brand); color: var(--on-brand); }
.campaign__img { aspect-ratio: 16 / 10; background: var(--surface-3) center / cover no-repeat; }
.campaign__body { padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.campaign h2 { color: inherit; font-size: 28px; }
.campaign p { max-width: 44ch; opacity: .9; }

/* подвал */
.ftr { background: var(--bg); color: var(--text); border-top: 1px solid var(--border); padding: 48px 0 calc(32px + var(--bnav-h) + env(safe-area-inset-bottom, 0px)); }
.ftr__in { display: grid; gap: 32px; }
.ftr h2 { margin-bottom: 12px; font: 600 12px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ftr li a { display: inline-block; padding: 5px 0; font-size: 15px; }
.ftr li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr p { font-size: 14px; color: var(--muted); max-width: 40ch; }
.ftr__note { margin-top: 14px; }
.ftr .logo { font-size: 28px; }

/* каталог: заголовок и переключатель разделов */
.page-head { padding-top: 8px; }
.page-head h1, .page-h1 { font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.page-head .pills { margin-top: 18px; }
.toolbar { border-top: 0; padding: 20px 0 16px; }
.filter-btn { border-color: var(--border); border-radius: 999px; background: transparent; }
.filter-btn:hover { background: var(--surface); border-color: var(--text); }
.sort select { border-color: var(--border); border-radius: 999px; padding: 0 36px 0 16px; }

/* страница товара */
.pdp__info h1 { font-size: 28px; font-weight: 600; letter-spacing: -.025em; }
.pdp__price { margin-top: 16px; font: 600 30px/1.1 var(--font-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ph--gal, .gal__thumb .ph { border-radius: 4px; }
.gal__thumb { border-radius: 4px; overflow: hidden; border-color: transparent; }
.gal__thumb.is-on { border-color: var(--text); outline: 0; }
.acc summary { text-transform: none; letter-spacing: 0; font-size: 15px; }
.chip.is-on { background: var(--text); border-color: var(--text); }
.chip:hover { border-color: var(--text); }
.chip--lg { border-radius: 999px; }
.related h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

/* шапка и hero на широких экранах */
@media (max-width: 639px) {
  .hero3__media { aspect-ratio: 4 / 3; }
}
@media (min-width: 640px) {
  .rail li { flex-basis: 34vw; }
  .section h2 { font-size: 28px; }
  .page-head h1, .page-h1 { font-size: 40px; }
  .hero3__in { gap: 28px; }
  .campaign { grid-template-columns: 1fr 1fr; }
  .campaign__img { aspect-ratio: auto; min-height: 280px; }
  .campaign__body { padding: 40px; }
}
@media (min-width: 900px) {
  .hero3 { padding-top: 28px; }
  .hero3__in { grid-template-columns: 5fr 7fr; gap: 48px; min-height: 420px; }
  .hero3__text { align-self: center; }
  .hero3 h1 { font-size: 52px; }
  .hero3__media { aspect-ratio: auto; }
  .hero3__index { display: flex; flex-direction: column; justify-content: center; padding: 8px 32px; }
  .rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .rail--few { grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); }
  .rail li { max-width: none; }
  .cat { aspect-ratio: 5 / 6; }
  .pills { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
  .pdp__info { position: sticky; top: 96px; align-self: start; }
}
@media (min-width: 1024px) {
  .ftr { padding-bottom: 40px; }
  .utility { display: block; }
  .hdr__main { height: 68px; gap: 40px; justify-content: flex-start; }
  .logo { font-size: 30px; }
  .catnav { display: block; flex: 1; }
  .catnav ul { display: flex; gap: 28px; align-items: center; font: 500 15px/1 var(--font-body); }
  .catnav a { display: inline-block; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
  .catnav a:hover { border-bottom-color: var(--text); }
  .hdr__actions { margin-left: auto; margin-right: 0; gap: 6px; }
  .hdr__link.hdr__cart { width: auto; height: 44px; padding: 0 12px; gap: 8px; font-size: 14px; font-weight: 500; }
  .hdr__cart span:last-child { display: inline; }
  .hdr__cart-ico { margin-right: 6px; }
  .products { grid-template-columns: repeat(4, 1fr); gap: 44px 24px; }
  .pdp__info h1 { font-size: 36px; }
  .pdp__price { font-size: 34px; }
  .ftr__in { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 48px; }
  .page-head h1, .page-h1 { font-size: 44px; }
}
@media (min-width: 1200px) {
  .hero3 h1 { font-size: 60px; }
}
@media (max-width: 639px) {
  .card--lite h3 { font-size: 14px; }
  .card--lite .price { font-size: 17px; }
}

/* карточка товара: одно главное действие */
.pdp__act { margin-top: 20px; max-width: 520px; }
.pdp__act .btn--primary { min-height: 54px; font-size: 16px; }
.inq { margin: 0; padding: 0; border: 0; background: none; }
.inq__alt { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 14px; }
.inq__alt a, .inq__alt .linkbtn { color: var(--text); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.inq__pending { padding: 12px 14px; border: 1px dashed var(--accent); border-radius: var(--radius); color: var(--accent); font-size: 14px; }
.inq__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.pdp__list { display: flex; gap: 10px; margin-top: 16px; align-items: stretch; }
.pdp__list .btn { min-height: 48px; }
.pdp__links { display: flex; gap: 18px; margin: 14px 0 0; font-size: 14px; }
.pdp__links a { text-decoration: underline; text-underline-offset: 3px; }
.buybar .btn { white-space: nowrap; }


/* форма заявки */
.order { max-width: 640px; padding-block: 1.5rem 3rem; }
.order h1 { margin-bottom: .5rem; }
.oi { list-style: none; margin: .5rem 0; padding: 0; border-top: 1px solid var(--border); }
.oi li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.oi__q { white-space: nowrap; font-weight: 600; }
.ofield { display: block; margin: 14px 0 0; }
.ofield > span { display: block; font: 600 14px/1.3 var(--font-body); margin-bottom: 6px; }
.ofield em { font-style: normal; font-weight: 400; color: var(--muted); }
.ofield input, .ofield select, .ofield textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--field); color: var(--text); font: 400 16px/1.3 var(--font-body); }
.ofield textarea { min-height: 96px; resize: vertical; }
.ofield input[aria-invalid="true"] { border-color: var(--accent); }
.field__err { margin: 6px 0 0; color: var(--accent); font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.order .btn--primary { width: 100%; margin-top: 18px; min-height: 54px; font-size: 16px; }
.form-error { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); font-weight: 600; }
.order__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.done { padding: 1rem 0; }
.done__n { font-size: 20px; }

/* Закрытый предпросмотр */
.preview-bar { background: #151816; color: #fff; font-size: 13px; line-height: 1.4; padding: 8px 16px; text-align: center; }
.preview-bar strong { font-weight: 600; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Разделы магазина: «Новый год» и «Подарки и гаджеты» ----------
   Строится на тех же токенах v3: фон, поверхность, бренд и сезонный акцент. Без разделов в конфигурации стили не используются. */
.catnav a[aria-current] { border-bottom-color: var(--text); font-weight: 600; }
.subnav { border-top: 1px solid var(--border); background: var(--bg); }
.subnav ul { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; font: 500 14px/1 var(--font-body); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { flex: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; color: var(--muted); transition: color .15s ease, border-color .15s ease; }
.subnav a:hover { color: var(--text); }
.subnav a[aria-current] { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
.mmenu .mmenu__grp a { font-weight: 600; background: var(--surface); padding: 0 16px; margin: 0 calc(-1 * 16px); }
.mmenu .mmenu__sub a { min-height: 46px; font-size: 16px; font-weight: 400; color: var(--muted); padding-left: 12px; }
.ftr .ftr__grp a { font-weight: 600; padding-top: 10px; }
.ftr .ftr__grp:first-child a { padding-top: 5px; }

/* главная: два раздела рядом */
.secards { display: grid; gap: 12px; }
.secard { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 24px 22px 22px; border-radius: 4px; border: 1px solid var(--border); background: var(--surface); transition: border-color .15s ease, background-color .15s ease; }
.secard__eyebrow { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.secard__title { font: 600 26px/1.1 var(--font-body); letter-spacing: -.02em; text-wrap: balance; }
.secard__lead { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.secard__cats { margin-top: auto; font-size: 14px; line-height: 1.6; color: var(--text); opacity: .86; }
.secard__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.secard__go .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.secard:hover .secard__go .icon { transform: translateX(3px); }
.secard--season { border-top: 3px solid var(--season); }
.secard--season .secard__eyebrow { color: var(--season); }
.secard--season:hover { border-color: var(--text); border-top-color: var(--season); }
.secard--gifts { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.secard--gifts .secard__eyebrow, .secard--gifts .secard__lead { color: var(--on-brand); opacity: .78; }
.secard--gifts .secard__cats { color: var(--on-brand); }
.secard--gifts:hover { background: var(--brand-hover); }
@media (min-width: 768px) { .secards { grid-template-columns: 1fr 1fr; gap: 20px; } .secard { min-height: 280px; padding: 32px 30px 28px; } .secard__title { font-size: 32px; } }

/* блок «Подобрать подарок» и подборки на странице раздела */
.pick { margin-top: 28px; }
.pick h2, .pick h3 { font: 600 13px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pick__list, .collect__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pick__grps { display: grid; gap: 18px; }
.collect { display: grid; gap: 24px; }
.collect__grp h3 { font: 600 13px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.collect .pill, .pick .pill { margin: 0; }
@media (min-width: 768px) { .pick__grps, .collect { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* страница раздела: карточки категорий */
.sechead .page-lead { max-width: 56ch; }
.seccats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seccat { position: relative; display: grid; grid-template-columns: 32px 1fr 24px; align-items: start; gap: 4px 12px; min-height: 108px; padding: 18px 16px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); transition: border-color .15s ease, background-color .15s ease; }
.seccat:hover { border-color: var(--text); background: var(--bg); }
.seccat__n { grid-row: 1; font: 500 13px/1.6 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.seccat__name { grid-column: 2; font: 600 18px/1.25 var(--font-body); letter-spacing: -.01em; }
.seccat__desc { grid-column: 2; font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.seccat__meta { grid-column: 2; margin-top: 4px; font-size: 13px; color: var(--muted); }
.seccat .icon { grid-column: 3; grid-row: 1; width: 18px; height: 18px; transition: transform .15s ease; }
.seccat:hover .icon { transform: translateX(3px); }
@media (min-width: 640px) { .seccats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .seccats { grid-template-columns: repeat(3, 1fr); gap: 16px; } .seccat { min-height: 148px; padding: 22px 20px; } }
.homesec + .homesec { margin-top: 44px; }

/* карточка и цена без подтверждения */
.price__tbd { font: 500 15px/1.3 var(--font-body); color: var(--muted); letter-spacing: 0; }
.pdp__brand { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.pdp__summary { margin: 12px 0 0; max-width: 52ch; color: var(--text); line-height: 1.6; text-wrap: pretty; }
.subnav--secs a { font-weight: 600; color: var(--text); }
.subnav--secs a[aria-current] { border-bottom-color: var(--season); }
.collect { margin-top: 16px; }
@media (min-width: 1024px) { .subnav--secs { display: none; } }

/* ---------- плитки-обложки категорий (раздел «Подарки и гаджеты») ---------- */
.covers { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cover { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.cover__art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--surface); transition: opacity .15s ease; }
.cover:hover .cover__art { opacity: .92; }
.cover__icon { width: 38%; max-width: 92px; height: auto; fill: none; stroke: var(--brand); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.cover--sand .cover__art { background: #EFE8DB; } .cover--sage .cover__art { background: #E2E9E3; } .cover--mist .cover__art { background: #E4E9EE; }
.cover--clay .cover__art { background: #EFE2DC; } .cover--stone .cover__art { background: #E8E7E2; } .cover--ink .cover__art { background: var(--brand); }
.cover--ink .cover__icon { stroke: var(--on-brand); }
.cover__art--photo { display: flex; gap: 6px; padding: 10px; background: #fff; }
.cover__art--photo .ph { flex: 1 1 0; min-width: 0; height: 100%; border: 0; background-color: #fff; background-size: contain; background-repeat: no-repeat; background-position: center; }
.cover__name { margin-top: 10px; font: 600 17px/1.25 var(--font-body); letter-spacing: -.01em; }
.cover__lead { font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.cover__meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.cover:hover .cover__name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.homecovers { margin-top: 36px; }
@media (min-width: 640px) { .covers { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .covers { gap: 20px; } .homecovers .covers { grid-template-columns: repeat(6, 1fr); gap: 16px; } .homecovers .cover__lead { display: none; } .cover__name { font-size: 18px; } }

/* фото гаджетов: предметная съёмка на белом, показывается целиком */
.ph--contain.has-photo, body[data-kind="gadget"] .ph--gal.has-photo, body[data-kind="gadget"] .gal__thumb .ph.has-photo { background-size: contain; background-repeat: no-repeat; background-color: #fff; }
.card--lite .ph--contain { border: 1px solid var(--border); }
.gal__credit { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.pdp__list-ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.55; }
.pdp__list-ul { list-style: disc; }
.pdp__list-ul li::marker { color: var(--muted); }

/* заглушка гаджета без фото: фон категории и значок */
.ph--icon { position: relative; }
.ph__icon { position: absolute; left: 50%; top: 44%; width: 30%; max-width: 110px; height: auto; transform: translate(-50%, -50%); fill: none; stroke: var(--brand); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.ph--icon.has-photo .ph__icon, .ph--icon.has-photo .ph__tbd { display: none; }
.ph__tbd { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; font: 500 13px/1.3 var(--font-body); color: var(--muted); letter-spacing: 0; }
.ph--tone-ink .ph__tbd { color: var(--on-brand); }
.products .card .ph.ph--tone-sand, .ph--gal.ph--tone-sand { background-color: #EFE8DB; } .products .card .ph.ph--tone-sage, .ph--gal.ph--tone-sage { background-color: #E2E9E3; }
.products .card .ph.ph--tone-mist, .ph--gal.ph--tone-mist { background-color: #E4E9EE; } .products .card .ph.ph--tone-clay, .ph--gal.ph--tone-clay { background-color: #EFE2DC; }
.products .card .ph.ph--tone-stone, .ph--gal.ph--tone-stone { background-color: #E8E7E2; } .products .card .ph.ph--tone-ink, .ph--gal.ph--tone-ink { background-color: var(--brand); }
.ph--tone-ink .ph__icon { stroke: var(--on-brand); }
.cover .cover__art.cover__art--photo { background: #fff; }
html[data-mode="catalog"] .cover__art--photo .ph::before, html[data-mode="catalog"] .cover__art--photo .ph::after { content: none; }

/* Режим «без товаров»: направления и просьба о подборе */
.dirs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.dirs li { display: grid; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.dirs strong { font: 600 20px/1.2 var(--font-body); }
.dirs span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dirs__note { margin: 8px 0; max-width: 65ch; }
@media (min-width: 720px) { .dirs { grid-template-columns: 1fr 1fr; } }
.dirs__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.dirs__cta .btn { min-height: 44px; display: inline-flex; align-items: center; }

/* Новый год: иллюстрации оформления вместо фото товаров */
.cover__art--decor { padding: 0; background: #E8E7E2; }
.cover__art--decor .ph { background-size: cover; background-position: center; }
.cover__tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--muted); font: 500 12px/1.5 var(--font-body); }
.cover__meta--cta { color: var(--brand); font-weight: 600; }
.covers--ny { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .covers--ny { grid-template-columns: repeat(5, 1fr); } }
.nycta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.nycta p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 15px; }
.decor-note { margin: 16px 0 0; max-width: 78ch; font-size: 13px; line-height: 1.5; color: var(--muted); }
.podband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 24px; border-radius: 8px; background: var(--surface); }
.podband h2 { margin: 0 0 6px; font-size: 22px; } .podband p { margin: 0; max-width: 62ch; color: var(--muted); }
.podbor__topic { margin: 8px 0 16px; padding: 12px 16px; border-radius: 6px; background: var(--surface); }
html[data-mode="catalog"] .products .ph.ph--icon:not(.has-photo)::after, html[data-mode="catalog"] .ph--gal.ph--icon:not(.has-photo)::after { content: none; }
#sec-cats { margin-bottom: 56px; }

/* иллюстрация типа товара вместо серой заглушки: единый нейтральный фон, подпись «Иллюстрация» */
.ph--illus { background-color: #ECEAE3; overflow: hidden; }
.ph--illus .ph__illus { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--illus .ph__icon { display: none; }
.ph--illus .ph__tbd--ill { left: 10px; right: auto; bottom: 10px; padding: 3px 8px; border-radius: 2px; background: rgba(246, 246, 244, .92); font-size: 11px; line-height: 1.3; color: var(--muted); text-align: left; }
/* фото товара на белом фоне: карточка тоже белая, без серых полос сверху и снизу */
html[data-mode="catalog"] .products .card .ph.ph--contain.has-photo, html[data-mode="catalog"] .related .card .ph.ph--contain.has-photo { background-color: #fff; }

/* Нейтральная заглушка товара без фото: спокойный фон и значок, без текста и без картинки-подмены */
.ph--neutral { background-color: #ECEAE3; }
.ph--neutral .ph__icon { position: absolute; left: 50%; top: 50%; width: 22%; max-width: 72px; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); stroke: #B3AFA2; opacity: .9; }

.empty--soon { padding: 32px 0; }
.empty--soon .empty__more { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line, #d9d3c6); font-size: 15px; }
.empty--soon .empty__more p { margin: 0 0 10px; color: var(--muted); }

.ofield--consent { margin: 14px 0 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.consent input { width: 22px; height: 22px; min-width: 22px; margin-top: 1px; accent-color: var(--brand, #1f3d33); }

/* Текст карточки, вопросы-ответы и гайды (раздел «Новый год»): спокойная типографика, без декоративных блоков */
.pdp__content { margin: 32px 0 8px; max-width: 760px; }
.pdp__sec { margin: 0 0 24px; }
.pdp__sec h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }
.pdp__sec p { margin: 0 0 12px; line-height: 1.65; }
.pdp__sec ul { margin: 0 0 12px; padding-left: 20px; line-height: 1.65; }
.pdp__faq dt { font-weight: 600; margin: 16px 0 4px; }
.pdp__faq dd { margin: 0 0 8px; line-height: 1.65; }
.guide { max-width: 760px; margin: 0 auto; padding: 8px 0 48px; }
.guide h1 { margin: 12px 0 12px; }
.guide__sec { margin: 28px 0 0; }
.guide__sec h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 10px; }
.guide__sec p, .guide__sec li, .guide__faq dd { line-height: 1.7; font-size: 1.0625rem; }
.guide__sec ul { padding-left: 22px; }
.guide__tbl { overflow-x: auto; }
.guide__faq dt { font-weight: 600; margin: 18px 0 4px; }
.guide__faq dd { margin: 0; }
.guide__cta { margin: 32px 0 0; padding: 16px; border: 1px solid var(--line, #ddd); border-radius: 8px; }
.guide a { text-decoration: underline; text-underline-offset: 2px; }
.guide__lead { font-size: 1.1875rem; line-height: 1.6; margin: 0 0 8px; }

/* Подбор товара: пошаговая анкета, входы в подбор, пустые результаты (v8) */
.pb-progress { margin: 16px 0 8px; font-size: 14px; color: var(--muted); }
.pb-step { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.pb-step legend { font: 600 20px/1.3 var(--font-body); padding: 0; margin-bottom: 12px; outline: 0; }
.pb-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-opts--budget { grid-template-columns: 1fr; }
.pb-opt { position: relative; display: block; margin: 0; }
.pb-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pb-opt span { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 16px; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease; }
.pb-opt input:checked + span { border-color: var(--brand); background: var(--surface); box-shadow: inset 0 0 0 1px var(--brand); font-weight: 600; }
.pb-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.pb-label { margin: 16px 0 8px; font-weight: 600; }
.pb-nav { display: flex; gap: 12px; margin: 8px 0 12px; }
.pb-nav .btn { min-height: 48px; flex: 1 1 auto; }
@media (min-width: 640px) { .pb-opts { grid-template-columns: repeat(3, 1fr); } .pb-opts--budget { grid-template-columns: repeat(3, 1fr); } .pb-nav .btn { flex: 0 0 auto; min-width: 160px; } }
.podcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 32px 0 8px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.podcta h2 { margin: 0 0 4px; font: 600 20px/1.3 var(--font-body); }
.podcta p { margin: 0; color: var(--muted); max-width: 56ch; }
.podcta .btn { flex: 0 0 auto; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.empty__cats { margin: 0 0 16px; padding-left: 20px; }
.empty__cats a { text-decoration: underline; text-underline-offset: 3px; }
.mmenu .mmenu__cta a { font-weight: 600; color: var(--brand); }
@media (min-width: 900px) { .hdr__link.hdr__podbor { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; border-radius: var(--radius); } .hdr__link.hdr__podbor:hover { background: var(--surface); } }

/* Витрина 17.11: галерея без обрезки и без лишней миниатюры; наличие «уточняется» без зелёной точки; описание под блоком покупки */
.gal.gal--single .gal__thumbs { display: none; }
@media (min-width: 1024px) { .gal.gal--single { grid-template-columns: 1fr; } }
.ph--gal.has-photo { background-size: contain; background-repeat: no-repeat; background-position: center; }
.card--lite .stock.is-tbd::before { background: #9A9D9A; }
.pdp__about { margin-top: 20px; }
.pdp__about .pdp__summary:first-child { margin-top: 0; }
/* Оплата и доставка: короткая выжимка вверху (из опубликованных условий) */
.brief { margin: 16px 0 28px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); }
.brief h2 { margin: 0 0 8px; font-size: 18px; }
.brief ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.brief__more { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Подарки: страница выбора (/podarki/), подборки, вход на главной, ссылки в каталоге и карточке (17.11.2026) ---------- */
.gifts { padding-bottom: 24px; }
.gifts .page-lead { max-width: 68ch; }
.gifts-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.gifts-block { margin-top: 32px; }
.gifts-block > h2 { margin: 0 0 4px; font: 600 22px/1.25 var(--font-head); }
.gifts-block > .muted { margin: 0 0 16px; color: var(--muted); }
.gifts-sub { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.gtiles, .gifts .gtiles, .gifts .collect__list, .gifts .gifts-plist { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gifts .collect__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gifts .gifts-plist { display: block; }
.gifts li { margin: 0; }
.gtile { display: flex; gap: 14px; align-items: center; height: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--field); color: var(--text); text-decoration: none; transition: border-color .15s ease; }
.gtile:hover { border-color: var(--text); }
.gtile:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.gtile__img { flex: none; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.gtile__img img { width: 100%; height: 100%; object-fit: contain; }
.gtile__img--none .icon { width: 32px; height: 32px; color: var(--muted); }
.gtile__body { display: grid; gap: 4px; min-width: 0; }
.gtile__title { font: 600 17px/1.3 var(--font-head); }
.gtile__text { color: var(--muted); font-size: 14px; line-height: 1.45; }
.gtile__n { color: var(--muted); font-size: 13px; }
.gifts-band { margin: 16px 0 0; }
.gifts-band h3 { margin: 0 0 8px; font: 600 13px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gifts-plist { margin: 0; padding: 0; list-style: none; }
.gifts-plist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.gifts-plist a { color: var(--text); font-weight: 500; }
.gifts-price { white-space: nowrap; font-weight: 600; }
.pick__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; padding: 20px; border-radius: var(--radius); background: var(--brand); color: var(--on-brand); }
.pick .pick__head h2 { margin: 0 0 4px; font: 600 22px/1.25 var(--font-head); letter-spacing: 0; text-transform: none; color: var(--on-brand); }
.pick__head p { margin: 0; color: var(--on-brand); opacity: .9; }
.pick__head .btn--primary { background: var(--on-brand); color: var(--brand); border-color: var(--on-brand); }
.pill--strong { border-color: var(--text); font-weight: 600; }
.relcols { display: grid; gap: 20px; margin: 32px 0 0; }
.relcols h2 { margin: 0; font: 600 13px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.relcols .pill { margin: 0; }
.pdp__fit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.pdp__fit-l { color: var(--muted); font-size: 14px; }
.pdp__fit .collect__list { margin: 0; }
.pdp__fit .pill { min-height: 44px; padding: 0 14px; font-size: 14px; }
.nav-gifts { font-weight: 600; }
@media (min-width: 640px) { .gifts .gtiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .relcols { grid-template-columns: 1fr 1fr; gap: 32px; } }   /* контейнер страницы ~736 px: плитки остаются в две колонки */
@media (prefers-reduced-motion: reduce) { .gtile { transition: none; } }
