/* AllConsoles — стили сайта. Без сборки: один файл, токены в :root. */

/* ---------- Шрифты (свои файлы, без Google: трансграничная передача IP не нужна) ---------- */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-latin.woff2) format("woff2"); 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: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-latin.woff2) format("woff2"); 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: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-italic-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
/* Знак ₽ есть только в наборе latin-ext; без этих файлов он рисовался системным шрифтом и выглядел жирным */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-rub.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-rub.woff2) format("woff2"); unicode-range: U+20BD; }

/* ---------- Токены ---------- */
:root {
  --ink: #141518;
  --ink-2: #2b2c30;
  --muted: #6f6a63;
  --line: #e4dfd7;
  --line-2: #d3ccc1;
  --paper: #faf8f5;
  --white: #ffffff;
  --stone: #f2eee8;
  --sand: #e9e2d7;
  --gold: #9c7a45;
  --gold-soft: #c8a45c;
  --ok: #2f6b4f;
  --ok-bg: #e7f0ea;
  --warn: #8a5a12;
  --warn-bg: #f7eedc;
  --err: #a33a2b;
  --err-bg: #f8e6e2;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --gutter: 16px;
  --radius: 2px;
  --hdr-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --gutter: 32px; --hdr-h: 76px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* У Cormorant по умолчанию старинные цифры: 3, 5, 7, 9 уходят ниже строки, 6 и 8 выше. Цены и даты ровной строкой.
   !important нужен потому, что свойство font: в заголовках и ценах сбрасывает font-variant-numeric */
*, ::before, ::after { font-variant-numeric: lining-nums !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-top: 24px; padding-bottom: 80px; }
.page--narrow { max-width: 860px; }

/* ---------- Типографика ---------- */
.display { font: 400 clamp(42px, 7vw, 88px)/1.02 var(--serif); letter-spacing: -.01em; margin: 0 0 20px; }
.h1 { font: 400 clamp(32px, 4.4vw, 52px)/1.1 var(--serif); margin: 0 0 16px; letter-spacing: -.005em; }
.h2 { font: 400 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); margin: 0 0 20px; }
.h3 { font: 500 19px/1.35 var(--sans); margin: 0 0 8px; letter-spacing: 0; }
.label { font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.label--light { color: rgba(255, 255, 255, .78); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); margin: 10px 0; }
.note--dev { background: var(--warn-bg); color: var(--warn); padding: 8px 10px; }
.todo { background: var(--warn-bg); color: var(--warn); padding: 2px 6px; }
.err { color: var(--err); font-size: 14px; font-style: normal; display: block; min-height: 0; }
.err:empty { display: none; }

.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 48px; }
.prose h2.h3 { margin-top: 32px; }
.prose ul:not(.ticks) { padding-left: 20px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius);
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--line-light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .6); }
.btn--line-light:hover { background: rgba(255, 255, 255, .12); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.btn--wide { width: 100%; }
.link-arrow { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.row-gap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: 24px; }
.hdr__logo { display: block; color: var(--ink); flex: none; }
.hdr__logo svg { height: 34px; width: auto; display: block; }
@media (min-width: 900px) { .hdr__logo svg { height: 40px; } }
.hdr__nav { display: flex; gap: 28px; margin: 0 auto; }
.hdr__nav a { font: 400 15px/1 var(--sans); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.hdr__nav a[aria-current] { border-bottom-color: var(--ink); }
.hdr__nav-phone { display: none; }
.hdr__aside { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.hdr__phone { font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.hdr__cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.hdr__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--white); font: 600 11px/18px var(--sans); text-align: center; }
.hdr__burger { display: none; width: 44px; height: 44px; margin-left: -10px; padding: 12px 10px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.hdr__burger span { display: block; height: 1px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1080px) { .hdr__phone { display: none; } .hdr__nav { gap: 20px; } }
@media (max-width: 900px) {
  /* backdrop-filter делает шапку опорным блоком для position: fixed, и меню сжималось до 40 px */
  .hdr { backdrop-filter: none; background: var(--paper); }
  .hdr__burger { display: flex; }
  .hdr__in { gap: 8px; }
  .hdr__logo { margin: 0 auto; }
  .hdr__aside { margin-left: 0; }
  .hdr__nav { position: fixed; inset: var(--hdr-h) 0 0 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 32px; background: var(--paper);
    transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto; }
  .hdr__nav.is-open { transform: none; }
  .hdr__nav a { font: 400 26px/1.2 var(--serif); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hdr__nav a[aria-current] { border-bottom-color: var(--line); color: var(--gold); }
  .hdr__nav-phone { display: block; font-family: var(--sans) !important; font-size: 18px !important; }
}

/* ---------- Подвал ---------- */
.ftr { background: var(--ink); color: #cfcac2; padding: 64px 0 24px; margin-top: 0; }
.ftr a { color: #e9e5de; text-decoration: none; }
.ftr a:hover { color: var(--gold-soft); }
.ftr__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ftr__logo { color: var(--paper); margin-bottom: 16px; }
.ftr__logo svg { height: 44px; width: auto; }
.ftr__brand p { max-width: 320px; font-size: 15px; }
.ftr .label { color: #8f8a82; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ftr__legal { border-top: 1px solid #2c2d31; margin-top: 48px; padding-top: 20px; font-size: 13px; color: #8f8a82; }
.ftr__legal p { margin: 4px 0; }

/* ---------- Главная ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 21, 24, .15) 0%, rgba(20, 21, 24, .45) 35%, rgba(20, 21, 24, .82) 100%); }
.hero__in { position: relative; z-index: 1; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); padding-top: 120px; padding-bottom: clamp(40px, 8vh, 88px); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; color: rgba(255, 255, 255, .88); margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.facts { border-bottom: 1px solid var(--line); background: var(--white); }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts__grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 28px 16px 28px 0; display: grid; gap: 4px; }
.fact b { font: 400 30px/1.1 var(--serif); }
.fact span { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .fact { padding: 36px 24px 36px 0; border-right: 1px solid var(--line); } .fact + .fact { padding-left: 24px; } .fact:last-child { border-right: 0; } }

.section { padding: 72px 0; }
.section--stone { background: var(--stone); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__head .h2 { margin: 0; }

.series { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .series { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.series__item { display: grid; gap: 4px; padding: clamp(16px, 3vw, 24px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--paper); transition: background .2s; }
.series__item:hover { background: var(--white); color: var(--ink); }
.series__name { font: 400 clamp(24px, 4vw, 30px)/1.1 var(--serif); }
.series__meta { font-size: 14px; }
.series__mat { font-size: 13px; color: var(--muted); }

.split { display: grid; background: var(--white); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__text { padding: 48px var(--gutter); align-self: center; max-width: 620px; }
@media (min-width: 900px) { .split__text { padding: 72px 64px; } }
.split__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }

.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 1px; background: var(--gold); }

.cols3, .cols2 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .cols3 { grid-template-columns: repeat(3, 1fr); } .cols2 { grid-template-columns: repeat(2, 1fr); } }
.info { background: var(--paper); padding: 24px; }
.info p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Каталог ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.cat-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.cat-head .h1 { margin-bottom: 8px; }
.filters { display: grid; gap: 16px; margin: 16px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.seg { display: inline-flex; justify-self: start; border: 1px solid var(--line-2); border-radius: var(--radius); overflow-x: auto; max-width: 100%; }
.seg > a, .seg > button { padding: 10px 18px; font-size: 14px; text-decoration: none; white-space: nowrap; background: none; border: 0; border-right: 1px solid var(--line-2); cursor: pointer; }
.seg > :last-child { border-right: 0; }
.seg > [aria-current] { background: var(--ink); color: var(--paper); }
.seg--sm > button { padding: 8px 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; text-decoration: none; background: var(--white); }
.chip[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.colors { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.color { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.color.is-on { border-bottom-color: var(--ink); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); flex: none; }
.swatch--lg { width: 22px; height: 22px; }
/* Стекло: прозрачное — светлый блик, серое — тонированное */
.swatch--glass { border-radius: 3px; }
.swatch--clear { background: linear-gradient(135deg, #f4f8f9 0 45%, #dfe9ec 45% 55%, #f4f8f9 55%); }
.swatch--grey { background: linear-gradient(135deg, #8d9296 0 45%, #6f7478 45% 55%, #8d9296 55%); }
.frow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.frow__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 92px; }
.filters__reset { margin: 0; font-size: 14px; }
.sort { display: flex; gap: 8px; flex-wrap: wrap; }
.sort__q { padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 14px; width: 210px; max-width: 100%; }
.sort select { padding: 9px 36px 9px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141518'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 14px; }

.grid { display: grid; gap: 28px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; }
.card__media { display: block; aspect-ratio: 1; background: var(--stone); overflow: hidden; text-decoration: none; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding-top: 14px; display: grid; gap: 4px; }
.card__body .label { font-size: 11px; margin: 0; letter-spacing: .12em; }
.card__title { font: 400 24px/1.15 var(--serif); margin: 0; }
.card__title a { text-decoration: none; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.card__price { font-weight: 500; white-space: nowrap; }
.swatches { display: inline-flex; gap: 4px; }
.swatches .swatch { width: 12px; height: 12px; }
@media (max-width: 480px) { .card__title { font-size: 20px; } .card__body .label { display: none; } .card__price { font-size: 15px; } }

.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; color: #b3aa9c; background: var(--stone); aspect-ratio: 1; }
.ph svg { width: 56%; height: auto; }
.ph span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.empty { padding: 48px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }

/* ---------- Карточка товара ---------- */
.pdp { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.pdp > *, .cart > *, .co > * { min-width: 0; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; } .pdp__info { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.gallery__main { background: var(--stone); aspect-ratio: 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 1px solid transparent; background: var(--stone); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-on { border-color: var(--ink); }
.pdp__sku { font-size: 13px; color: var(--muted); margin: -6px 0 16px; }
.pdp__price { font: 400 40px/1 var(--serif); margin: 0 0 28px; }
.pdp__price-ask { font-size: 30px; color: var(--muted); }
.pdp__stock { margin: -16px 0 24px; font: 500 13px/1.4 var(--sans); letter-spacing: .04em; color: var(--muted); }
.pdp__stock.is-in { color: #2f7d4f; }
.opt { margin-bottom: 18px; }
.opt__label { font-size: 15px; margin: 0 0 10px; }
.opt__label b { font-weight: inherit; }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-2); text-decoration: none; background: var(--white); min-width: 124px; }
.opt__item span { display: grid; font-size: 14px; line-height: 1.25; }
.opt__item small { color: var(--muted); }
.opt__item.is-on { border-color: var(--ink); }
/* Значение есть, но в другом сочетании опций — клик переключит и соседнюю опцию */
.opt__item.is-far { border-style: dashed; color: var(--muted); }
@media (max-width: 480px) { .opt__item { min-width: calc(50% - 4px); } }
.opt__hint { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.buy { display: flex; gap: 12px; margin-bottom: 20px; }
.qty { display: inline-flex; border: 1px solid var(--line-2); background: var(--white); flex: none; }
.qty button { width: 42px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.perks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.perks li::before { content: "— "; color: var(--gold); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 42% 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.specs--lg > div { font-size: 17px; }
.figure { margin: 32px 0; }

/* ---------- Корзина и оформление ---------- */
.cart { display: grid; gap: 32px; }
@media (min-width: 900px) { .cart { grid-template-columns: 1fr 360px; align-items: start; } .cart__sum { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.cart > .muted, .cart > .empty { grid-column: 1 / -1; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:first-child { border-top: 1px solid var(--line); }
.line__img { width: 96px; height: 96px; background: var(--stone); display: block; overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__img .ph span { display: none; }
.line__title { font: 400 21px/1.2 var(--serif); margin: 0 0 4px; }
.line__title a { text-decoration: none; }
.line__meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.line__sum { font-weight: 500; text-align: right; white-space: nowrap; }
.line__remove { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; margin-left: auto; }
.line .qty button { width: 34px; font-size: 17px; }
.line .qty input { width: 36px; }
@media (max-width: 520px) { .line { grid-template-columns: 72px 1fr; } .line__img { width: 72px; height: 72px; } .line__right { grid-column: 2; display: flex; justify-content: space-between; align-items: center; } .line__remove { margin: 0; } }
.cart__sum, .co__sum { background: var(--white); border: 1px solid var(--line); padding: 24px; display: grid; gap: 12px; }
.sumrow { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.sumrow b { font-weight: 500; text-align: right; }
.sumrow--total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 19px; }
.sumrow--total b { font: 500 26px/1 var(--serif); }

.co { display: grid; gap: 32px; }
@media (min-width: 980px) { .co { grid-template-columns: 1fr 380px; align-items: start; } .co__aside { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.co__block { border: 0; padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line); min-width: 0; }
.co__block legend { padding: 0; margin-bottom: 16px; }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-size: 14px; }
.field--wide { grid-column: 1 / -1; }
.field > span small { color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select, .adm select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); font-size: 16px; }
.field input:not([type="radio"]):focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field.is-err input:not([type="radio"]) { border-color: var(--err); }
.point input { width: 16px; height: 16px; }
.field em { color: var(--err); font-style: normal; font-size: 13px; }
.field em:empty { display: none; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { margin: 4px 0 0; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.choice span { display: grid; gap: 2px; }
.choice small { color: var(--muted); font-size: 14px; }
.cdek { margin-top: 16px; display: grid; gap: 16px; }
.cdek__map { width: 100%; height: 560px; border: 1px solid var(--line); }
@media (max-width: 640px) { .cdek__map { height: 70vh; } }
.points { max-height: 340px; overflow-y: auto; border: 1px solid var(--line-2); background: var(--white); margin-top: 8px; }
.point { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.point:last-child { border-bottom: 0; }
.point:has(input:checked) { background: var(--stone); }
.point input { accent-color: var(--ink); margin-top: 3px; flex: none; }
.point small { display: block; color: var(--muted); }
.dquote { margin-top: 16px; padding: 16px; background: var(--ok-bg); display: grid; gap: 4px; font-size: 15px; }
.dquote b { font-weight: 500; }
.dquote--loading { background: var(--stone); color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 4px; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.mini li { display: flex; justify-content: space-between; gap: 12px; }
.mini small { color: var(--muted); }
.mini b { font-weight: 500; white-space: nowrap; }
.mini--lg { font-size: 16px; margin: 24px 0 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.status { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; }
.status__badge { display: inline-block; padding: 4px 10px; font: 500 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--stone); vertical-align: middle; }
.status--paid, .status--completed { background: var(--ok-bg); color: var(--ok); }
.status--awaiting_payment, .status--new { background: var(--warn-bg); color: var(--warn); }
.status--canceled { background: var(--err-bg); color: var(--err); }
.status--shipped, .status--processing { background: #e6ecf3; color: #2a4a6b; }

.cta-box { margin-top: 48px; padding: 32px; background: var(--white); border: 1px solid var(--line); }

.table { border: 1px solid var(--line); margin: 16px 0; font-size: 15px; }
.table__row { display: grid; gap: 4px 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table__row:last-child { border-bottom: 0; }
.table__row--head { display: none; }
@media (min-width: 760px) {
  .table__row { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .table__row--head { display: grid; background: var(--stone); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .table:has(.table__row--head span:nth-child(3):last-child) { --cols: 3; }
}
@media (max-width: 759px) { .table__row span:first-child { font-weight: 500; } }

/* ---------- Cookie, тост ---------- */
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 60; max-width: 560px; padding: 18px 20px; background: var(--ink); color: #e9e5de; display: grid; gap: 12px; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.nav-open .cookie { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--gold-soft); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn { background: var(--paper); color: var(--ink); }
.cookie .btn--ghost { background: transparent; color: #e9e5de; border-color: #55565b; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: 15px; display: flex; gap: 16px; align-items: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); max-width: calc(100% - 32px); }
.toast a { color: var(--gold-soft); white-space: nowrap; }

/* ---------- Админка ---------- */
.adm { background: var(--white); }
.adm__hdr { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.adm__brand { font-weight: 500; text-decoration: none; }
.adm__main { padding: 24px var(--gutter) 64px; max-width: 1280px; margin: 0 auto; }
.adm__login { max-width: 360px; margin: 64px auto; }
.adm__table { overflow-x: auto; margin-top: 20px; }
.adm table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm th, .adm td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm th { font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.adm small { color: var(--muted); }
.adm__cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .adm__cols { grid-template-columns: 1fr 1fr; } }
.adm select { width: auto; }
.pay--succeeded { color: var(--ok) !important; }
.pay--canceled { color: var(--err) !important; }
.log { list-style: none; padding: 0; font-size: 13px; display: grid; gap: 6px; }
.log time { color: var(--muted); margin-right: 6px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* SEO-блоки: вводный текст раздела, подборки, описание товара, вопросы */
.cat-lead { max-width: 760px; color: var(--ink-2); margin: 0 0 24px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.seo-links a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; text-decoration: none; background: var(--white); }
.seo-links a:hover { border-color: var(--ink); }
.seo-links--inline { margin-top: 20px; }
.cat-text { max-width: 760px; padding-bottom: 0; }
.pdp__about { max-width: 760px; padding-bottom: 0; }
.faq { max-width: 760px; }
.faq__item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq__item summary { cursor: pointer; font-weight: 500; list-style-position: outside; }
.faq__item p { margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 700px) { .section.faq, .section.cat-text, .section.pdp__about { padding: 48px 0 0; } }