/* RIO FIORE · Atelier — витрина-шоурум: травертин, эспрессо, коньячная кожа.
   Сетка — золотое сечение (61,8 / 38,2), отступы — ряд Фибоначчи 8·13·21·34·55·89·144.
   Острые углы, волосяные линии, без теней. */

:root {
  --bg: #F5F0E8;
  --surface: #FBF8F3;
  --surface-alt: #EDE4D6;
  --text: #2A1E17;
  --muted: #6E5E52;
  --line: #E2D7C7;
  --line-strong: #CDBDA8;
  --accent: #94532A;
  --accent-hover: #7A4220;
  --espresso: #2A1E17;
  --espresso-soft: #4A382D;
  --cognac: #9C5A2B;
  --cognac-light: #C79A6F;
  --travertine: #D9CBB6;
  --sand: #EDE4D6;
  --on-accent: #FFFFFF;
  --on-espresso: #F5F0E8;
  --success: #4E6B4A;
  --danger: #A23B2A;
  --fit-small: #A23B2A;
  --fit-true: #4E6B4A;
  --fit-large: #94532A;
  --pack: #ECEAE7;

  --f-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-label: 'Tenor Sans', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --s1: 8px; --s2: 13px; --s3: 21px; --s4: 34px; --s5: 55px; --s6: 89px; --s7: 144px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1376px;
  --hdr: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .35s var(--ease);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 15px/1.62 var(--f-body); font-feature-settings: 'lnum' 1, 'tnum' 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--cognac-light); color: var(--espresso); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main { display: block; outline: none; }
section[id], [id] { scroll-margin-top: calc(var(--hdr) + 60px); }

.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--espresso); color: var(--on-espresso); padding: 10px 16px; font: 12px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.skip:focus { left: 16px; }
.noscript { padding: 89px 0; font-family: var(--f-display); font-size: 24px; }

/* ---------- типографика ---------- */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; color: inherit; }
.h1 { font-size: clamp(40px, 5vw, 72px); }
.h1--xl { font-size: clamp(46px, 6.8vw, 104px); line-height: .98; }
.h2 { font-size: clamp(32px, 3.4vw, 50px); }
.h2--xl { font-size: clamp(38px, 4.7vw, 68px); line-height: 1; }
.h3 { font-size: clamp(23px, 2vw, 29px); line-height: 1.15; }
.h1 em, .h2 em, .h3 em, h1 em, h2 em { font-style: italic; color: var(--cognac); font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 13px; margin-bottom: 21px;
  font: 400 11.5px/1.3 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--cognac);
}
.eyebrow::before { content: ''; width: 21px; height: 1px; background: currentColor; flex: none; }
.lbl { font: 400 11px/1.4 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lbl--gap { margin-top: 21px; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--espresso-soft); max-width: 54ch; }
.dropcap::first-letter { float: left; font: 400 4.6em/.8 var(--f-display); color: var(--cognac); margin: .06em .1em 0 0; }
.price { font-family: var(--f-body); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.price--lg { font-size: 24px; letter-spacing: -.01em; }
.old { color: var(--muted); font-weight: 400; font-size: .87em; white-space: nowrap; }

/* ---------- раскладка ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 89px 0; }
.sec--tight { padding: 55px 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec--flush { padding: 0; }
.band { padding: 89px 0; }
.band--sand { background: var(--sand); }
.band--dark { background: var(--espresso); color: var(--on-espresso); }
.band--dark .eyebrow { color: var(--cognac-light); }
.band--dark .lead, .band--dark p { color: rgba(245, 240, 232, .78); }
.band--dark .h2 em, .band--dark .h1 em { color: var(--cognac-light); }

/* ---------- иконки, бренд ---------- */
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; }
.ic--lg { width: 34px; height: 34px; }
.ic--xl { width: 55px; height: 55px; }
.mark { width: 18px; height: 18px; color: var(--cognac); flex: none; }
.mark--lg { width: 55px; height: 55px; }
.mark--xl { width: 89px; height: 89px; }
/* знак RIOFIORE заказчика — строго ЧБ: чёрный на светлом, белый на эспрессо */
.logo { display: inline-flex; align-items: center; color: #000; line-height: 0; }
.logo svg { display: block; height: 30px; width: auto; aspect-ratio: 362.9 / 95.37; }
.logo--inv { color: #fff; }
.logo--sm svg { height: 24px; }

.stars { position: relative; display: inline-flex; color: var(--cognac); vertical-align: middle; }
.stars__bg, .stars__fg { display: inline-flex; gap: 2px; }
.stars__bg { color: var(--cognac-light); opacity: .55; }
.stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.stars svg { width: 13px; height: 13px; flex: none; }

/* ---------- кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 34px;
  background: var(--espresso); color: var(--on-espresso); border: 1px solid var(--espresso);
  font: 400 12px/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; text-align: center;
  transition: background var(--t), color var(--t), border-color var(--t); cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .38; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--espresso); border-color: var(--espresso); color: var(--on-espresso); }
.btn--lg { min-height: 58px; font-size: 12.5px; }
.btn--sm { min-height: 40px; padding: 0 21px; font-size: 11px; }
.btn--block, .btn--full { display: flex; width: 100%; }
.btn--inv { background: var(--on-espresso); color: var(--espresso); border-color: var(--on-espresso); }
.btn--inv:hover { background: var(--cognac-light); border-color: var(--cognac-light); color: var(--espresso); }
.btn--ghost-inv { background: transparent; color: var(--on-espresso); border-color: rgba(245, 240, 232, .6); }
.btn--ghost-inv:hover { background: var(--on-espresso); color: var(--espresso); border-color: var(--on-espresso); }
.btns { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.btns--c { justify-content: center; }

.lnk {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--text);
  font: 400 12px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; text-align: left;
}
.lnk span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size var(--t); }
.lnk:hover span { background-size: 0 1px; background-position: 100% 100%; }
.lnk .ic { width: 16px; height: 16px; transition: transform var(--t); }
.lnk:hover .ic { transform: translateX(5px); }
.lnk:hover { color: var(--accent); }
button.lnk:not(:has(span)) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lnk--sm { font-size: 11px; }
.lnk--inv { color: var(--on-espresso); }
.lnk--inv:hover { color: var(--cognac-light); }
.lnk--mute { color: var(--muted); }
.lnk--reset { color: var(--muted); }

.icbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text); transition: color var(--t); flex: none; }
.icbtn:hover { color: var(--accent); }
.icbtn .ic { width: 21px; height: 21px; }
.cnt {
  position: absolute; top: 5px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: var(--on-accent); font: 700 10px/17px var(--f-body); text-align: center;
}
.cnt.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong);
  font: 400 11.5px/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: transparent;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.chip:hover { border-color: var(--text); }
.chip--x .ic { width: 14px; height: 14px; }
.chips--nav { margin-bottom: 34px; }
.chips--nav .chip:hover { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }

/* ---------- формы ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; position: relative; }
.field__l { font: 400 10.5px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field__e { font-size: 12.5px; color: var(--danger); min-height: 0; }
.field__e:empty { display: none; }
.field__h { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0;
  font: 400 15px/1.3 var(--f-body); color: var(--text); transition: border-color var(--t); -webkit-appearance: none; appearance: none;
}
textarea { padding: 14px; min-height: 110px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #A39484; }
input:focus, select:focus, textarea:focus { border-color: var(--espresso); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid var(--espresso); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="date"] { padding-right: 8px; }
.cm { position: relative; display: block; }
.cm input { padding-right: 46px; font-size: 18px; font-weight: 600; }
.cm__u { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }
.select { position: relative; display: block; }
.select select { padding-right: 40px; cursor: pointer; }
.select .ic { position: absolute; right: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select--bare { display: inline-block; }
.select--bare select { min-height: 0; height: auto; padding: 4px 26px 4px 0; border: 0; background: transparent; font-weight: 600; font-size: 13.5px; }
.select--bare .ic { right: 0; }
.select--sm select { font-size: 13px; }

.ck, .rd { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; position: relative; font-size: 14px; line-height: 1.45; }
.ck input, .rd input, .tgl input, .szc input, .seg__in input, .tile input, .tilec input, .nom input, .slot input, .bmod input, .rate input, .wrapopt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.ck__b, .rd__b { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; transition: background var(--t), border-color var(--t); }
.ck__b .ic { width: 12px; height: 12px; color: var(--on-espresso); opacity: 0; stroke-width: 2; }
.ck input:checked + .ck__b, .wrapopt input:checked ~ .wrapopt__t .ck__b { background: var(--espresso); border-color: var(--espresso); }
.ck input:checked + .ck__b .ic, .wrapopt input:checked ~ .wrapopt__t .ck__b .ic { opacity: 1; }
.ck input:focus-visible + .ck__b, .rd input:focus-visible + .rd__b { outline: 2px solid var(--accent); outline-offset: 2px; }
.rd__b { border-radius: 50%; }
.rd input:checked + .rd__b { border-color: var(--espresso); box-shadow: inset 0 0 0 4px var(--surface); background: var(--espresso); }
.ck__l { flex: 1; }
.ck__n { color: var(--muted); font-size: 12px; margin-left: auto; padding-left: 8px; }
.ck > input + span:not(.ck__b) { position: relative; padding-left: 29px; }
.ck > input + span:not(.ck__b)::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border: 1px solid var(--line-strong); background: var(--surface); }
.ck > input:checked + span:not(.ck__b)::before { background: var(--espresso) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F0E8' stroke-width='2.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--espresso); }
.ck > input:focus-visible + span::before { outline: 2px solid var(--accent); outline-offset: 2px; }
.ck--agree { font-size: 13px; color: var(--muted); }
.ck--agree a { text-decoration: underline; text-underline-offset: 3px; }

.tgl { display: flex; align-items: center; gap: 13px; cursor: pointer; position: relative; font-size: 14px; }
.tgl__s { flex: none; width: 38px; height: 22px; border-radius: 11px; background: var(--line-strong); position: relative; transition: background var(--t); }
.tgl__s::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); transition: transform var(--t); }
.tgl input:checked + .tgl__s { background: var(--accent); }
.tgl input:checked + .tgl__s::after { transform: translateX(16px); }
.tgl input:focus-visible + .tgl__s { outline: 2px solid var(--accent); outline-offset: 2px; }
.tgl small { display: block; color: var(--muted); font-size: 12px; }

.seg { min-width: 0; }
.seg legend { margin-bottom: 7px; }
.seg__in { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); background: var(--surface); }
.seg__in label { position: relative; cursor: pointer; }
.seg__in label + label { border-left: 1px solid var(--line); }
.seg__in span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 16px; font: 400 11.5px/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; transition: background var(--t), color var(--t); white-space: nowrap; }
.seg__in span small { font: 600 11px var(--f-body); letter-spacing: 0; color: var(--muted); }
.seg__in label:hover span { background: var(--sand); }
.seg__in input:checked + span { background: var(--espresso); color: var(--on-espresso); }
.seg__in input:checked + span small { color: var(--cognac-light); }
.seg__in input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }

.form { display: grid; gap: 21px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.form__err { color: var(--danger); font-size: 13px; }
.form__err:empty { display: none; }
.form__ok { color: var(--success); font-size: 14px; }
.form__ok:empty { display: none; }
.form__note { font-size: 12.5px; color: var(--muted); }
.inrow { display: flex; gap: 8px; }
.inrow input { flex: 1; min-width: 0; }
.inrow .btn { flex: none; }

/* ================= шапка ================= */
.ann { background: var(--espresso); color: var(--on-espresso); font: 400 10.5px/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.ann__in { display: flex; align-items: center; justify-content: space-between; gap: 21px; min-height: 36px; }
.ann__msg { display: grid; min-width: 0; flex: 1; }
.ann__msg i { display: none; }
.ann__msg span { grid-area: 1 / 1; opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* смена без наложения: старая строка уходит, новая входит после паузы */
.ann__msg span.is-on { opacity: 1; transform: none; transition-duration: .5s; transition-delay: .32s; }
@media (min-width: 601px) { .ann__msg span[data-dup] { display: none; } }
.ann__util { display: flex; gap: 21px; flex: none; }
.ann__util a { color: var(--cognac-light); transition: color var(--t); }
.ann__util a:hover { color: var(--on-espresso); }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(245, 240, 232, .94); -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); transition: border-color var(--t), background var(--t); }
.hdr.is-scrolled { background: rgba(251, 248, 243, .97); border-bottom-color: var(--line-strong); }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--hdr); gap: 21px; }
.hdr__l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hdr__menu { display: none; margin-left: -10px; }
.hdr__search {
  display: inline-flex; align-items: center; gap: 13px; min-width: 0; width: min(100%, 300px); height: 40px;
  border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; text-align: left; transition: border-color var(--t), color var(--t);
}
.hdr__search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr__search .ic { width: 18px; height: 18px; color: var(--text); }
.hdr__search:hover { border-color: var(--text); color: var(--text); }
.hdr__logo { justify-self: center; }
.hdr__r { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.hdr__phone { font: 600 13.5px/1 var(--f-body); letter-spacing: .01em; margin-right: 13px; white-space: nowrap; transition: color var(--t); }
.hdr__phone:hover { color: var(--accent); }
.hdr__s2 { display: none; }
.hdr__cart { margin-right: -10px; }

.nav { border-top: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 34px); min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.nav__in::-webkit-scrollbar { display: none; }
.nav__in a { position: relative; display: block; padding: 14px 0; font: 400 11.5px/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: color var(--t); }
.nav__in a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--cognac); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.nav__in a:hover { color: var(--accent); }
.nav__in a:hover::after, .nav__in a[aria-current]::after { transform: scaleX(1); }
.nav__in a[aria-current] { color: var(--accent); }
.nav__sep { display: flex; color: var(--cognac-light); }
.nav__sep .mark { width: 15px; height: 15px; color: var(--cognac-light); }

/* ---------- выезжающие панели ---------- */
.drawer, .srch, .modal { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s linear .45s; }
.drawer.is-open, .srch.is-open, .modal.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.drawer__scrim, .srch__scrim, .modal__scrim { position: absolute; inset: 0; background: rgba(42, 30, 23, .42); opacity: 0; transition: opacity .45s var(--ease); }
.is-open > .drawer__scrim, .is-open > .srch__scrim, .is-open > .modal__scrim { opacity: 1; }
.drawer__box { position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: var(--surface); display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.drawer--l .drawer__box { left: 0; transform: translateX(-102%); }
.drawer--r .drawer__box { right: 0; transform: translateX(102%); }
.drawer.is-open .drawer__box { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 68px; padding: 0 13px 0 21px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__t { font: 400 26px/1 var(--f-display); }
.mini__n { color: var(--muted); font-size: .8em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 21px 21px 34px; overscroll-behavior: contain; }

.menu__all { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 13px; font: 400 32px/1.1 var(--f-display); border-bottom: 1px solid var(--text); }
.menu__all .ic { width: 22px; height: 22px; color: var(--cognac); }
.menu__cats a { display: flex; align-items: baseline; justify-content: space-between; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 22px/1.2 var(--f-display); transition: color var(--t), padding var(--t); }
.menu__cats a:hover { color: var(--accent); padding-left: 6px; }
.menu__cats small { font: 400 11px var(--f-label); letter-spacing: .1em; color: var(--muted); }
.menu__house { margin-top: 34px; display: grid; gap: 2px; }
.menu__house a { display: block; padding: 9px 0; font: 400 12px/1.3 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.menu__house a:hover { color: var(--accent); }
.menu__util { margin-top: 21px; padding-top: 13px; border-top: 1px solid var(--line); }
.menu__util a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 14px; color: var(--muted); }
.menu__util .ic { width: 16px; height: 16px; }
.menu__contact { margin-top: 21px; padding: 21px; background: var(--sand); display: grid; gap: 13px; font-size: 14px; }
.menu__contact a, .menu__contact p { display: flex; gap: 10px; align-items: flex-start; }
.menu__contact a { font-weight: 600; }
.menu__contact .ic { width: 18px; height: 18px; color: var(--cognac); margin-top: 1px; }
.menu__contact small { color: var(--muted); font-size: 12.5px; }

/* ---------- поиск ---------- */
.srch { z-index: 210; }
.srch__box { position: absolute; left: 0; right: 0; top: 0; max-height: 92vh; overflow-y: auto; background: var(--surface); border-bottom: 1px solid var(--line); transform: translateY(-24px); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.srch.is-open .srch__box { transform: none; opacity: 1; }
.srch__f { display: flex; align-items: center; gap: 13px; min-height: 96px; border-bottom: 1px solid var(--text); }
.srch__f > .ic { width: 24px; height: 24px; color: var(--cognac); }
.srch__f input { flex: 1; min-width: 0; min-height: 60px; border: 0; background: transparent; padding: 0; font: 400 clamp(24px, 3vw, 38px)/1.2 var(--f-display); }
.srch__f input:focus-visible { outline: none; }
.srch__f input::-webkit-search-cancel-button { display: none; }
.srch__body { padding: 34px 0 55px; }
.srch__hint .lbl { margin-bottom: 13px; }
.srch__res > .lbl { margin-bottom: 8px; }
.srch__res ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 55px; }
.sg { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); transition: background var(--t); }
.sg:hover, .sg:focus-visible { background: var(--bg); }
.sg__i { display: block; width: 56px; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.sg__i img { width: 100%; height: 100%; object-fit: cover; }
.sg__t { min-width: 0; display: grid; gap: 2px; }
.sg__n { font: 500 20px/1.15 var(--f-display); }
.sg__m { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg__p { font-weight: 600; font-size: 14px; white-space: nowrap; }
.srch__all { margin-top: 21px; }
.srch__empty { font: 400 24px/1.3 var(--f-display); color: var(--muted); }

/* ---------- мини-корзина ---------- */
.mini__body { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ship { padding: 13px 21px 16px; background: var(--sand); flex: none; }
.ship p { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.4; }
.ship .ic { width: 18px; height: 18px; color: var(--cognac); }
.ship__bar { display: block; height: 2px; margin-top: 10px; background: rgba(42, 30, 23, .12); }
.ship__bar i { display: block; height: 100%; background: var(--accent); transition: width .8s var(--ease); }
.mini__list { padding: 0 21px; }
.ml { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.ml.is-new { animation: mlnew 1.6s var(--ease); }
@keyframes mlnew { 0% { background: var(--sand); box-shadow: -21px 0 0 var(--sand), 21px 0 0 var(--sand); } 100% { background: transparent; box-shadow: -21px 0 0 transparent, 21px 0 0 transparent; } }
.ml__i { display: block; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.ml__i img { width: 100%; height: 100%; object-fit: cover; }
.ml__b { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ml__n { font: 500 19px/1.15 var(--f-display); }
.ml__n:hover { color: var(--accent); }
.ml__m { font-size: 12.5px; color: var(--muted); }
.ml__row { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 8px; }
.ml__x { align-self: flex-start; margin-top: 6px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ml__x:hover { color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 38px; background: var(--surface); }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--text); transition: color var(--t), background var(--t); }
.qty button:hover { background: var(--sand); }
.qty button:disabled { color: var(--line-strong); }
.qty .ic { width: 14px; height: 14px; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: 13.5px; }
.mini__foot { margin-top: auto; padding: 21px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; position: sticky; bottom: 0; }
.mini__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.mini__sum .price { font-size: 19px; }
.mini__dol { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.mini__dol .ic { width: 18px; height: 18px; color: var(--cognac); }
.mini__empty { display: flex; flex-direction: column; align-items: center; gap: 21px; text-align: center; padding: 55px 21px; margin: auto 0; }
.mini__empty p { font: 400 24px/1.25 var(--f-display); max-width: 18em; }

/* ---------- модальное окно, тост ---------- */
.modal { z-index: 220; display: grid; place-items: center; padding: 21px; }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 42px); overflow-y: auto; background: var(--surface); transform: translateY(16px); opacity: 0; transition: transform .45s var(--ease), opacity .35s var(--ease); }
.modal--wide .modal__box { width: min(880px, 100%); }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 64px; padding: 0 13px 0 34px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal__t { font: 400 26px/1.1 var(--f-display); }
.modal__body { padding: 34px; }
.modal__body > * + * { margin-top: 21px; }
.toast {
  position: fixed; left: 50%; bottom: calc(21px + var(--rs-sw-h, 0px)); z-index: 260; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--espresso); color: var(--on-espresso); padding: 14px 21px; font-size: 13.5px; max-width: calc(100vw - 32px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ================= подвал ================= */
.ftr { background: var(--espresso); color: var(--on-espresso); padding: 89px 0 calc(34px + var(--rs-sw-h, 0px)); margin-top: 0; }
.ftr .lbl { color: var(--cognac-light); margin-bottom: 16px; }
.ftr .lbl--gap { margin-top: 34px; }
.ftr__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr; gap: 34px; }
.ftr__brand { padding-right: 21px; }
.ftr__brand p { margin-top: 21px; max-width: 36ch; font-size: 14px; line-height: 1.7; color: rgba(245, 240, 232, .68); }
.ftr__col ul { display: grid; gap: 4px; }
.ftr__tg { all: unset; display: inline-flex; align-items: center; gap: 8px; cursor: default; pointer-events: none; }
.ftr__tg .ic { display: none; width: 14px; height: 14px; transition: transform var(--t); }
.ftr__col a { font-size: 14px; color: rgba(245, 240, 232, .82); transition: color var(--t); }
.ftr__col li a { display: inline-block; padding: 3px 0; }
.ftr__col a:hover { color: var(--cognac-light); }
.ftr__contact a { display: block; width: fit-content; }
.ftr__ph { font: 400 28px/1.2 var(--f-display) !important; color: var(--on-espresso) !important; margin-bottom: 6px; }
.ftr__muted { font-size: 13px; color: rgba(245, 240, 232, .55); margin-top: 4px; }
.ftr__sr { line-height: 1.5; }
.ftr__mid { display: grid; grid-template-columns: 1fr 1.618fr 1.618fr; gap: 34px 55px; margin-top: 55px; padding-top: 34px; border-top: 1px solid rgba(245, 240, 232, .14); align-items: start; }
.ftr__pay ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr__pay li { font: 400 11px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; padding: 8px 13px; border: 1px solid rgba(245, 240, 232, .28); }
.ftr__del p:not(.lbl) { font-size: 14px; color: rgba(245, 240, 232, .82); line-height: 1.7; }
.ftr__mp { font-size: 13px; line-height: 1.6; color: rgba(245, 240, 232, .55); align-self: end; }
.ftr__bot { display: flex; justify-content: space-between; gap: 8px 34px; margin-top: 55px; padding-top: 21px; border-top: 1px solid rgba(245, 240, 232, .14); font-size: 12px; color: rgba(245, 240, 232, .5); }

/* ================= общие блоки ================= */
.crumbs { padding: 21px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font: 400 10.5px/1.4 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs li { display: flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--line-strong); }
.crumbs a { transition: color var(--t); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

.phead { display: grid; grid-template-columns: 1.618fr 1fr; gap: 21px 55px; align-items: end; padding: 34px 0 34px; }
.phead .eyebrow { margin-bottom: 13px; }
.phead h1 sup, .rvsum h2 sup, .phead .h1 sup { font: 600 13px/1 var(--f-body); color: var(--muted); vertical-align: super; margin-left: 6px; letter-spacing: 0; }
.phead__p { font-size: 15px; color: var(--muted); max-width: 46ch; line-height: 1.65; }
.phead__a { display: flex; flex-wrap: wrap; gap: 13px; justify-content: flex-end; }
.phead--cat { padding-bottom: 21px; }

.subnav { margin-top: 34px; padding-bottom: 34px; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px 21px; }
.subnav a { display: inline-flex; padding: 6px 0; font: 400 11.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); transition: color var(--t), border-color var(--t); }
.subnav a:hover { color: var(--accent); border-color: var(--accent); }

.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 21px 55px; margin-bottom: 34px; }
.shead .eyebrow { margin-bottom: 13px; }
.shead__t { min-width: 0; }
.shead__a { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; max-width: 40ch; flex: 0 1 auto; min-width: 0; }
.shead__p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.ticks li > .ic { width: 18px; height: 18px; color: var(--cognac); margin-top: 1px; }
.ticks li:not(:has(.ic)) { padding-left: 24px; }
.ticks li:not(:has(.ic))::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 1px; background: var(--cognac); }
.dots { display: grid; gap: 6px; }
.dots li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; }
.dots li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--cognac-light); }
.numlist { counter-reset: n; display: grid; gap: 0; }
.numlist li { display: grid; grid-template-columns: 44px 1fr; gap: 13px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.numlist li > span { font: italic 400 22px/1 var(--f-display); color: var(--cognac); }
.numlist li > p { font-size: 14.5px; line-height: 1.6; }
.numlist--sm li { padding: 11px 0; grid-template-columns: 34px 1fr; }
.numlist--sm li > span { font-size: 18px; }
.note, .note2 { font-size: 13px; color: var(--muted); line-height: 1.6; }
.note2 { padding: 16px 21px; border-left: 2px solid var(--cognac-light); background: var(--surface); margin-top: 21px; }
.note2 p + p { margin-top: 6px; }
.note--warn { color: var(--danger); }
.note:empty { display: none; }
.cart__main > .note { display: flex; gap: 10px; align-items: flex-start; padding-top: 16px; }
.cart__main > .note .ic { flex: none; width: 18px; height: 18px; color: var(--cognac); margin-top: 1px; }
.cart__main > .note--warn .ic { color: var(--danger); }
.demo { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.demo .ic { width: 16px; height: 16px; color: var(--cognac); margin-top: 1px; }
.callout { display: flex; gap: 16px; padding: 21px; background: var(--surface); border: 1px solid var(--line); margin-top: 34px; }
.callout > .ic { width: 28px; height: 28px; color: var(--cognac); }
.callout p { font-size: 14px; margin-bottom: 8px; }

.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.thumbs a { display: grid; gap: 4px; }
.thumbs__i { display: block; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.thumbs__i img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.thumbs a:hover img { transform: scale(1.04); }
.thumbs__n { font: 500 16px/1.15 var(--f-display); margin-top: 6px; }
.thumbs__p { font-size: 12.5px; font-weight: 600; }

/* аккордеон, вопросы */
.faqw { max-width: 920px; }
.faq__t { margin-bottom: 21px; font-size: clamp(30px, 3vw, 42px); }
.faq { border-top: 1px solid var(--text); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 21px; padding: 21px 0; cursor: pointer; list-style: none; font: 500 20px/1.3 var(--f-display); transition: color var(--t); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--accent); }
.acc summary .ic { width: 18px; height: 18px; color: var(--cognac); transition: transform var(--t); }
.acc[open] summary .ic { transform: rotate(45deg); }
.acc__b { padding: 0 0 21px; max-width: 70ch; font-size: 14.5px; line-height: 1.7; color: var(--espresso-soft); }
.acc__b p + p { margin-top: 8px; }

/* таблицы */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl thead th { font: 400 10.5px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); white-space: normal; min-width: 80px; }
.tbl tbody th { font: 500 22px/1 var(--f-display); color: var(--text); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background var(--t); }
.tbl tbody tr:hover { background: var(--bg); }
.tbl tr.is-hl { background: var(--espresso) !important; color: var(--on-espresso); }
.tbl tr.is-hl th { color: var(--cognac-light); }
.tbl__note { margin-top: 13px; font-size: 13px; color: var(--muted); }

/* пустые состояния */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 21px; padding: 89px 21px; border: 1px solid var(--line); background: var(--surface); }
.empty > .ic, .empty > .mark { color: var(--cognac); }
.empty__t { font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--f-display); max-width: 22em; }
.empty p:not(.empty__t) { color: var(--muted); max-width: 46ch; font-size: 14.5px; }
.empty--page { margin: 55px auto 89px; max-width: 880px; }
.empty__picks { margin-top: 55px; }
.empty__picks > .lbl { margin-bottom: 21px; }

/* ================= карточка товара ================= */
.grid { display: grid; gap: 55px 21px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.card__img { position: absolute; inset: 0; display: block; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.card__alt { opacity: 0; }
.card__badges { position: absolute; top: 13px; left: 13px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.badge { display: inline-block; padding: 5px 9px 4px; background: var(--surface); color: var(--text); font: 400 10px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.badge--sale { background: var(--accent); color: var(--on-accent); }
.fav { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); z-index: 2; transition: color var(--t), transform var(--t); }
.fav .ic { width: 20px; height: 20px; transition: fill var(--t); }
.fav:hover { color: var(--accent); }
.fav.is-on { color: var(--accent); }
.fav.is-on .ic { fill: var(--accent); }
.fav.is-pop .ic { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
.card__quick { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__alt { opacity: 1; }
  .card:hover .card__img img:first-child { transform: scale(1.035); }
  .card__quick { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 13px; background: rgba(251, 248, 243, .96); transform: translateY(101%); transition: transform .45s var(--ease); }
  .card:hover .card__quick, .card__quick:focus-within { transform: none; }
}
.card__ql { font: 400 10px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card__qs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.qs { height: 32px; border: 1px solid var(--line-strong); font: 600 12px/1 var(--f-body); color: var(--text); background: var(--surface); transition: background var(--t), color var(--t), border-color var(--t); }
.qs:hover:not(:disabled) { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.qs:disabled { color: #BCAE9C; border-color: var(--line); background: transparent; text-decoration: line-through; text-decoration-color: rgba(110, 94, 82, .5); }
.qs--wide { width: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 400 11px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.qs--wide .ic { width: 14px; height: 14px; }
.card__body { display: flex; flex-wrap: wrap; align-items: center; column-gap: 13px; padding-top: 16px; }
.card__body > p, .card__body > h3 { width: 100%; }
.card__meta { font: 400 10px/1.4 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__name { margin: 6px 0 8px; font: 500 21px/1.12 var(--f-display); letter-spacing: 0; }
.card__name a { transition: color var(--t); }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__name a:hover { color: var(--accent); }
.card__price { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.card__dol { font-size: 12px; color: var(--muted); margin-top: 2px; }
.card .fitchip, .card__sw { margin-top: 10px; position: relative; z-index: 2; }
.card__sw { display: flex; gap: 6px; align-items: center; }
.sw { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(42, 30, 23, .14); transition: transform var(--t); }
a.sw:hover { transform: scale(1.25); }
.sw--on { outline: 1px solid var(--text); outline-offset: 2px; }
.fav, .card__quick { z-index: 3; }

.fitchip { display: inline-flex; align-items: center; gap: 7px; font: 400 10px/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fitchip i { width: 7px; height: 7px; border-radius: 50%; background: var(--fit-true); flex: none; }
.fitchip--small i { background: var(--fit-small); }
.fitchip--large i { background: var(--fit-large); }
.fitchip--true i { background: var(--fit-true); }

/* шкала посадки */
.fitscale__t { font: 400 10.5px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fitscale__bar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: 5px; margin: 16px 0 10px; }
.fitscale__seg:nth-child(1) { background: rgba(162, 59, 42, .22); }
.fitscale__seg:nth-child(2) { background: rgba(78, 107, 74, .3); }
.fitscale__seg:nth-child(3) { background: rgba(148, 83, 42, .26); }
.fitscale__mk { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--fit-true); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--fit-true); }
.fitscale__mk--small { background: var(--fit-small); box-shadow: 0 0 0 1px var(--fit-small); }
.fitscale__mk--large { background: var(--fit-large); box-shadow: 0 0 0 1px var(--fit-large); }
.fitscale__lab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.fitscale__lab span:nth-child(2) { text-align: center; }
.fitscale__lab span:nth-child(3) { text-align: right; }
.fitscale__lab b { display: block; color: var(--text); font-weight: 600; font-size: 13px; }
.fitscale__sum { margin-top: 10px; font-size: 13px; color: var(--espresso-soft); }
.fitscale--lg .fitscale__bar { height: 7px; }
.fitscale--lg .fitscale__mk { width: 19px; height: 19px; }

/* ================= подбор размера ================= */
.finder__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 21px; }
.finder__row > .field--cm { width: 230px; flex: none; }
.finder__row > .field:not(.field--cm) { flex: 1 1 240px; }
.finder__go { flex: none; }
.ruler { position: relative; margin-top: 34px; padding-top: 30px; }
.ruler__zones { position: relative; height: 50px; border: 1px solid var(--line-strong); background: var(--surface); }
.ruler__z { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-left: 1px solid var(--line); transition: background var(--t), color var(--t); }
.ruler__z:first-child { border-left: 0; }
.ruler__z b { font: 500 19px/1 var(--f-display); }
.ruler__z i { font: normal 400 10px/1 var(--f-body); color: var(--muted); }
.ruler__z.is-on { background: var(--espresso); color: var(--on-espresso); }
.ruler__z.is-on i { color: var(--cognac-light); }
.ruler__scale { position: relative; height: 26px; }
.ruler__cm { position: absolute; top: 9px; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); }
.ruler__cm::before { content: ''; position: absolute; left: 50%; top: -9px; width: 1px; height: 6px; background: var(--line-strong); }
.ruler__cm:first-child { transform: none; }
.ruler__cm:first-child::before { left: 0; }
.ruler__mk { position: absolute; top: 26px; height: 58px; width: 1px; background: var(--accent); transition: left .5s var(--ease); pointer-events: none; }
.ruler__mk::after { content: ''; position: absolute; left: -4px; bottom: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.ruler__v { position: absolute; bottom: 100%; left: 50%; transform: translateX(calc(var(--p, .5) * -100%)); background: var(--accent); color: var(--on-accent); padding: 4px 8px; font: 600 11px/1 var(--f-body); white-space: nowrap; }
.finder__out { margin-top: 21px; }
.finder__out:empty { display: none; }
.res { display: grid; grid-template-columns: auto 1fr auto; gap: 21px 34px; align-items: center; padding: 21px 34px; background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--accent); animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.res__size { font: 400 18px/1.15 var(--f-display); max-width: 9em; }
.res__size b { display: block; font: 500 64px/.9 var(--f-display); color: var(--accent); }
.res__txt { display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; color: var(--espresso-soft); }
.res__m { font: 400 10.5px/1.3 var(--f-label) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--text) !important; }
.res__btw, .res__av { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; }
.res__btw { color: var(--accent); }
.res__btw .ic, .res__av .ic { width: 16px; height: 16px; margin-top: 2px; }
.res__av--ok { color: var(--success); }
.res__av--no { color: var(--danger); }
.res__cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.res__cta .btn { min-height: 46px; padding: 0 21px; }
.res--err { display: block; border-left-color: var(--danger); }
.res--err p { font-size: 14px; }
.res__k { color: var(--muted); font-size: 13px !important; margin-bottom: 4px; }
.res--err .res__cta { display: block; margin-top: 8px; }
.res__err { color: var(--danger); font-size: 13.5px; }
.finder--compact .finder__row > .field--cm { flex: 1 1 160px; width: auto; }
.finder--compact .res, .modal .res { grid-template-columns: auto 1fr; padding: 21px; }
.modal .res { gap: 21px 34px; padding: 26px 34px; align-items: start; }
.modal .res__size { padding-top: 4px; }
.finder--compact .res__cta, .modal .res__cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.modal .res__cta { padding-top: 21px; border-top: 1px solid var(--line); }
.modal .res__cta .btn { flex: 1 1 220px; }

/* ================= главная ================= */
@keyframes heroin { from { transform: scale(1.04); opacity: .4; } to { transform: none; opacity: 1; } }


/* категории — указатель с превью */
.cats { display: grid; grid-template-columns: 1.618fr 1fr; gap: 89px; align-items: start; }
.cats__list h2 { margin-bottom: 34px; }
.cats__list ol { border-top: 1px solid var(--text); }
.cats__list a { display: grid; grid-template-columns: 44px 1fr auto 24px; align-items: center; gap: 21px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: color var(--t), padding var(--t); }
.cats__n { font: italic 400 16px/1 var(--f-display); color: var(--cognac); }
.cats__th { display: none; }
.cats__l { font: 400 clamp(26px, 2.6vw, 38px)/1.1 var(--f-display); transition: transform var(--t); }
.cats__c { font: 400 10.5px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cats__list .ic { width: 20px; height: 20px; color: var(--cognac); opacity: .4; transition: opacity var(--t), transform var(--t); }
.cats__list a:hover, .cats__list a.is-on { color: var(--accent); }
.cats__list a:hover .cats__l, .cats__list a.is-on .cats__l { transform: translateX(8px); }
.cats__list a:hover .ic, .cats__list a.is-on .ic { opacity: 1; transform: translateX(4px); }
.cats__prev { position: sticky; top: calc(var(--hdr) + 89px); aspect-ratio: 4 / 5; background: var(--pack); overflow: hidden; }
.cats__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.cats__fig.is-on { opacity: 1; }
.cats__fig img { width: 100%; height: 100%; object-fit: cover; }
.cats__fig figcaption { position: absolute; left: 21px; bottom: 21px; padding: 8px 13px; background: var(--surface); font: 400 10.5px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }

/* подбор размера — полоса */
.finder-band { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.finder-band__t .h2 { margin-bottom: 21px; }
.finder-band__t p:not(.eyebrow) { color: var(--espresso-soft); font-size: 15px; line-height: 1.65; margin-bottom: 21px; max-width: 40ch; }
.finder-band__w { background: var(--surface); padding: 34px; border: 1px solid var(--line); }
.finder-band--page { padding-top: 0; }

/* мастерская — анонс */
.atl { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px 89px; align-items: center; }
.atl__imgs { display: grid; grid-template-columns: 1.618fr 1fr; gap: 21px; align-items: end; }
.atl__a, .atl__b { overflow: hidden; background: var(--travertine); aspect-ratio: 4 / 5; }
.atl__b { margin-bottom: -55px; }
.atl__imgs img { width: 100%; height: 100%; object-fit: cover; }
.atl__t .h2 { margin-bottom: 21px; }
.atl__t .lead { margin-bottom: 34px; }
.stages-mini { border-top: 1px solid var(--line); margin-bottom: 34px; }
.stages-mini li { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.stages-mini span { font: italic 400 17px/1 var(--f-display); color: var(--cognac); width: 26px; flex: none; }

/* материалы */
.mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.mat { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 13px; align-content: start; }
.mat__img { grid-column: 1 / -1; aspect-ratio: 1 / 1; overflow: hidden; background: var(--travertine); margin-bottom: 16px; }
.mat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mat:hover .mat__img img { transform: scale(1.05); }
.mat__n { font: 400 28px/1.1 var(--f-display); grid-column: 1; }
.mat__l { grid-column: 1; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.mat__go { grid-column: 2; grid-row: 2 / 4; align-self: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background var(--t), color var(--t), border-color var(--t); }
.mat__go .ic { width: 16px; height: 16px; }
.mat:hover .mat__go { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.mat:hover .mat__n { color: var(--accent); }

/* коллекция — тёмная полоса */
.coll__head { display: grid; grid-template-columns: 1.618fr 1fr; gap: 21px 89px; align-items: end; margin-bottom: 55px; }
.coll__head p { margin-bottom: 21px; font-size: 15px; line-height: 1.65; }
.band--dark .card__meta, .band--dark .card__dol, .band--dark .fitchip { color: rgba(245, 240, 232, .62); }
.band--dark .card__name a { color: var(--on-espresso); }
.band--dark .card__name a:hover { color: var(--cognac-light); }
.band--dark .card__price .old { color: rgba(245, 240, 232, .55); }
.band--dark .sw--on { outline-color: var(--on-espresso); }
.band--dark .card__media { background: #3A2B22; }

/* примерка + «Долями» */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps__n { font: italic 400 26px/1 var(--f-display); color: var(--cognac); }
.steps__t { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.steps li p:not(.steps__t) { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.steps--lg { grid-template-columns: 1fr; }
.steps--lg li { grid-template-columns: 44px 1fr; padding: 21px 0; }
.dolcard { display: grid; grid-template-columns: 1fr 89px; align-content: start; column-gap: 21px; padding: 34px; background: var(--espresso); color: var(--on-espresso); }
.dolcard > * { grid-column: 1; }
.dolcard__p { grid-column: 2; grid-row: 1 / 4; display: block; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.dolcard__p img { width: 100%; height: 100%; object-fit: cover; }
.dolcard .lbl { display: flex; align-items: center; gap: 10px; color: var(--cognac-light); }
.dolcard .lbl .ic { width: 20px; height: 20px; }
.dolcard__ex { font: 400 26px/1.15 var(--f-display); margin-top: 16px; }
.dolcard__ex a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dolcard__t { font-size: 13.5px; color: rgba(245, 240, 232, .72); margin-top: 13px; line-height: 1.6; }
.dolcard .doltl, .dolcard > .lnk { grid-column: 1 / -1; }
.dolcard > .lnk { color: var(--on-espresso); margin-top: 21px; justify-self: start; }
.dolcard > .lnk:hover { color: var(--cognac-light); }
.doltl { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.doltl li { position: relative; display: grid; gap: 6px; padding-right: 8px; }
.doltl li::before { content: ''; position: absolute; left: 13px; right: 0; top: 6px; height: 1px; background: rgba(245, 240, 232, .22); }
.doltl li:last-child::before { display: none; }
.doltl__dot { position: relative; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--cognac-light); background: transparent; }
.doltl li.is-now .doltl__dot { background: var(--cognac-light); }
.doltl__w { font: 400 10px/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 240, 232, .62); margin-top: 6px; }
.doltl__s { font-weight: 600; font-size: 15px; white-space: nowrap; }
.dolcard--lg { grid-template-columns: 1fr 120px; padding: 55px 34px 34px; }

/* отзывы о посадке */
.rvs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.rv { display: flex; flex-direction: column; gap: 13px; padding: 34px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.rv__p { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rv__pi { flex: none; width: 44px; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.rv__pi img { width: 100%; height: 100%; object-fit: cover; }
.rv__pn { font: 500 18px/1.2 var(--f-display); transition: color var(--t); }
.rv__p:hover .rv__pn { color: var(--accent); }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 13px; flex-wrap: wrap; }
.rv__txt { font: 400 19px/1.45 var(--f-display); color: var(--text); flex: 1; }
.rv__by { font-size: 13px; color: var(--muted); }
.rv__by b { color: var(--text); font-weight: 600; }
.rv__ver { display: flex; align-items: center; gap: 6px; font: 400 10px/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--success); }
.rv__ver .ic { width: 14px; height: 14px; }

/* шоурум — раскол */
.split { display: grid; grid-template-columns: 1.618fr 1fr; gap: 0; align-items: stretch; background: var(--surface); padding: 0; }
.split__img { min-height: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--travertine); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__t { padding: 55px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-left: 0; }
.split__t .h2 { margin-bottom: 21px; }
.split__t > p:not(.eyebrow) { color: var(--espresso-soft); font-size: 15px; line-height: 1.65; }
.split__t .btns { margin-top: 34px; }
.sec--flush > .split { max-width: calc(var(--max) + 2 * var(--gut)); }
.kv { display: grid; gap: 13px; margin-top: 21px; }
.kv > div { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; }
.kv dt { flex: none; color: var(--cognac); }
.kv dt .ic { width: 20px; height: 20px; }
.kv--lg > div { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv--lg { gap: 0; border-top: 1px solid var(--line); }

/* сертификаты — анонс */
.gifth { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px 89px; align-items: center; }
.gifth__t .h2 { margin-bottom: 21px; }
.gifth__t .lead { margin-bottom: 34px; }
.nominals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.nominals a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 21px; border: 1px solid var(--line-strong); font: 400 24px/1 var(--f-display); transition: border-color var(--t), background var(--t), color var(--t); }
.nominals a:hover { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.gifth__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--travertine); }
.gifth__img img { width: 100%; height: 100%; object-fit: cover; }

/* уход — анонс */
.care-h { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.care-h > div .h2 { margin-bottom: 16px; }
.care-h > div p { color: var(--muted); font-size: 15px; margin-bottom: 21px; max-width: 42ch; }
.care-h__l { border-top: 1px solid var(--text); }
.care-h__l a { display: grid; grid-template-columns: 44px 1fr 24px; gap: 13px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 24px/1.2 var(--f-display); transition: color var(--t); }
.care-h__l span { font: italic 400 16px/1 var(--f-display); color: var(--cognac); }
.care-h__l .ic { width: 18px; height: 18px; color: var(--cognac); transition: transform var(--t); }
.care-h__l a:hover { color: var(--accent); }
.care-h__l a:hover .ic { transform: translateX(5px); }

/* рассылка */
.news { display: grid; grid-template-columns: 1fr 1.618fr; gap: 21px 89px; align-items: end; }
.news .h2 { margin-bottom: 13px; }
.news > div p { color: var(--espresso-soft); font-size: 15px; max-width: 40ch; }
.news__row { display: flex; gap: 0; }
.news__row input { flex: 1; min-width: 0; border-right: 0; }
.news__row .btn { flex: none; }
.news__note { margin-top: 13px; font-size: 12px; color: var(--muted); }
.news__ok { display: flex; gap: 10px; align-items: center; font: 400 22px/1.3 var(--f-display); color: var(--success); }
.news__ok .ic { width: 22px; height: 22px; }
.news__code { display: block; margin-top: 6px; font: 400 14px/1.5 var(--f-body); color: var(--muted); }
.news__code b { font-weight: 600; letter-spacing: .06em; color: var(--text); }

/* ================= каталог ================= */
.tabs { border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tabs ul { display: flex; gap: 0 34px; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { position: relative; display: inline-flex; align-items: flex-start; gap: 4px; padding: 16px 0; font: 400 12px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--muted); transition: color var(--t); }
.tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--text); transform: scaleX(0); transition: transform var(--t); transform-origin: left; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { color: var(--text); }
.tabs a[aria-current]::after { transform: scaleX(1); }
.tabs sup { font: 600 10px/1 var(--f-body); letter-spacing: 0; color: var(--cognac); }

.cat { display: grid; grid-template-columns: 250px 1fr; gap: 55px; align-items: start; padding-bottom: 89px; }
.cat__side { position: sticky; top: calc(var(--hdr) + 70px); max-height: calc(100vh - var(--hdr) - 70px - max(20px, var(--rs-sw-h, 0px))); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.cat__sidehead, .cat__sidefoot, .cat__scrim { display: none; }
.filters { display: grid; }
.fg { border-bottom: 1px solid var(--line); }
.fg:first-child { border-top: 1px solid var(--text); }
.fg summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; list-style: none; font: 400 11.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.fg summary::-webkit-details-marker { display: none; }
.fg summary .ic { width: 15px; height: 15px; color: var(--muted); transition: transform var(--t); }
.fg[open] summary .ic { transform: rotate(180deg); }
.fg__b { display: grid; gap: 11px; padding: 0 0 21px; }
.fg__note { display: flex; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.fg__note .ic { width: 20px; height: 20px; color: var(--cognac); }
.szchips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.szc { position: relative; cursor: pointer; }
.szc span { display: grid; place-items: center; height: 40px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 13px; transition: background var(--t), color var(--t), border-color var(--t); }
.szc:hover span { border-color: var(--text); }
.szc input:checked + span { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.szc input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rads { display: grid; gap: 11px; }
.prc { display: flex; align-items: center; gap: 8px; }
.prc label { position: relative; flex: 1; min-width: 0; }
.prc label span { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--muted); pointer-events: none; }
.prc input { padding-left: 30px; min-height: 44px; font-size: 14px; }
.filters > .lnk--reset { margin-top: 21px; justify-self: start; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 21px; min-height: 44px; margin-bottom: 13px; }
.toolbar__f { display: none; }
.toolbar__f .ic { width: 16px; height: 16px; }
.toolbar__n { font: 400 11px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.toolbar__s { display: flex; align-items: center; }
.actives { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 21px; }
.actives:empty { display: none; }
.actives .chip { background: var(--surface); }
.actives .chip:hover { border-color: var(--danger); color: var(--danger); }
.actives .lnk--reset { margin-left: 8px; }
.cat__grid { gap: 55px 21px; }
.cat__grid.is-empty { display: block; }
.ibanner { grid-column: span 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 13px; padding: 34px; background: var(--espresso); color: var(--on-espresso); min-height: 100%; }
.ibanner__svg { width: 140px; height: auto; color: var(--cognac-light); margin-bottom: 8px; }
.ibanner__t { font: 400 28px/1.1 var(--f-display); }
.ibanner p:not(.ibanner__t) { font-size: 13.5px; color: rgba(245, 240, 232, .72); line-height: 1.55; }
.ibanner .btn { margin-top: 8px; background: var(--on-espresso); color: var(--espresso); border-color: var(--on-espresso); }
.ibanner .btn:hover { background: var(--cognac-light); border-color: var(--cognac-light); }

/* ================= карточка модели ================= */
.pd { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px; align-items: start; padding-top: 21px; }
.gal { position: relative; min-width: 0; }
.gal__track { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gal__it { position: relative; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.gal__it:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.gal__it:nth-child(2n):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gal__it img { width: 100%; height: 100%; object-fit: cover; }
.gal__mat img { transition: transform 1.4s var(--ease); }
.gal__mat:hover img { transform: scale(1.04); }
.gal__matc { position: absolute; left: 21px; right: 21px; bottom: 21px; display: grid; gap: 4px; padding: 16px 21px; background: rgba(251, 248, 243, .95); }
.gal__matn { font: 400 24px/1.1 var(--f-display); }
.gal__matl { display: inline-flex; align-items: center; gap: 8px; font: 400 10.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--cognac); }
.gal__matl .ic { width: 14px; height: 14px; }
.gal__cnt { display: none; }
.pd__info { position: relative; align-self: stretch; }
.pd__sticky { position: sticky; top: calc(var(--hdr) + 70px); padding-bottom: 21px; }
.pd__sticky > .eyebrow { margin-bottom: 13px; }
.pd__sticky > .eyebrow a:hover { color: var(--accent-hover); text-decoration: underline; }
.pd__h { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.02; }
.pd__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 21px; margin-top: 13px; font-size: 12.5px; color: var(--muted); }
.pd__meta a { display: inline-flex; align-items: center; gap: 8px; transition: color var(--t); }
.pd__meta a:hover { color: var(--accent); }
.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 13px; margin-top: 21px; }
.pd__price .badge { align-self: center; }
.pd__dol { display: flex; align-items: center; gap: 13px; margin-top: 10px; font-size: 13px; color: var(--espresso-soft); }
.pd__dolbar { display: inline-grid; grid-template-columns: repeat(4, 13px); gap: 3px; flex: none; }
.pd__dolbar i { height: 4px; background: var(--line-strong); }
.pd__dolbar i:first-child { background: var(--accent); }
.pd__block { margin-top: 21px; padding-top: 21px; border-top: 1px solid var(--line); }
.pd__lr { display: flex; align-items: center; justify-content: space-between; gap: 8px 13px; flex-wrap: wrap; margin-bottom: 13px; }
.pd__cn, .pd__selsz { color: var(--text); text-transform: none; letter-spacing: 0; font: 600 13px var(--f-body); }
.pd__sw { display: flex; gap: 8px; margin-top: 13px; }
.swb { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; transition: border-color var(--t); }
.swb i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(42, 30, 23, .14); }
.swb.is-on { border-color: var(--text); }
a.swb:hover { border-color: var(--line-strong); }
.pd__fe { font-size: 13.5px; color: var(--espresso-soft); line-height: 1.55; }
.pd__fit .fitscale { margin-top: 16px; }
.pd__szlinks { display: flex; gap: 16px; flex-wrap: wrap; }
.pd__szlinks .lnk { gap: 6px; }
.pd__szlinks .lnk .ic { width: 16px; height: 16px; }
.pd__szlinks .lnk:hover .ic { transform: none; }
.sizes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sizes.is-shake { animation: shake .45s var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.sz { position: relative; height: 48px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--text); transition: background var(--t), color var(--t), border-color var(--t); }
.sz:hover:not(:disabled) { border-color: var(--text); }
.sz.is-on { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.sz:disabled { color: #BCAE9C; background: transparent; border-color: var(--line); cursor: not-allowed; background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); }
.sz.is-rec::after { content: ''; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sz.is-rec.is-on::after { background: var(--cognac-light); }
.pd__rec { display: flex; gap: 8px; align-items: flex-start; margin-top: 13px; font-size: 13px; color: var(--success); }
.pd__rec .ic { width: 16px; height: 16px; margin-top: 2px; }
.notify { margin-top: 13px; }
.notify__f { margin-top: 13px; }
.notify__ok { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--success); }
.notify__ok .ic { width: 16px; height: 16px; }
.pd__buy { display: flex; gap: 8px; margin-top: 21px; }
.pd__buy .btn { flex: 1; }
.pd__buy .btn .ic { width: 18px; height: 18px; }
.fav--box { position: static; flex: none; width: 58px; height: 58px; border: 1px solid var(--text); }
.fav--box:hover { background: var(--sand); }
.pd__msg { margin-top: 10px; font-size: 13px; color: var(--danger); }
.ledger { margin-top: 34px; border-top: 1px solid var(--text); }
.ledger li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--espresso-soft); }
.ledger li > .ic { width: 22px; height: 22px; color: var(--cognac); }
.ledger__t { font: 400 11px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.ledger__t a { display: inline-flex; gap: 6px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: color var(--t); }
.ledger__t a:hover { color: var(--accent); }
.ledger .lnk { padding: 0; margin-left: 4px; }
.cityp { display: inline-block; margin-bottom: 2px; }
.ledger__s { font-size: 12px; color: var(--success); margin-top: 2px; }

.pd__desc { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 89px; margin-top: 55px; border-top: 1px solid var(--line); }
.pd__lead { font: 400 clamp(22px, 2vw, 28px)/1.4 var(--f-display); margin-bottom: 34px; }
.pd__dr .acc:first-child { border-top: 1px solid var(--text); }
.specs { display: grid; margin-bottom: 16px; }
.specs > div { display: grid; grid-template-columns: 1fr 1.618fr; gap: 13px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.specs dt { color: var(--muted); }
.specs dd { color: var(--text); }
.acc__b .lnk { margin-top: 13px; }

.pd__rv { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.rvsum { position: sticky; top: calc(var(--hdr) + 70px); display: grid; gap: 21px; justify-items: start; }
.rvsum__r { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.rvsum__big { font: 400 64px/1 var(--f-display); }
.rvsum__c { font-size: 13px; color: var(--muted); }
.rvsum .fitscale { width: 100%; padding: 21px; background: var(--surface); border: 1px solid var(--line); }
.rvlist { display: grid; gap: 13px; min-width: 0; }
.rvlist > .empty__t { font: 400 24px/1.3 var(--f-display); color: var(--muted); padding: 34px 0; }
.wr { display: grid; gap: 21px; padding: 34px; border: 1px solid var(--text); background: var(--surface); margin-bottom: 21px; }
.wr__g { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.wr__err { color: var(--danger); font-size: 13px; }
.wr .btn { justify-self: start; }
.wr__ok { display: flex; gap: 10px; align-items: center; padding: 21px; background: var(--surface); border: 1px solid var(--line); font: 400 20px/1.35 var(--f-display); color: var(--success); }
.wr__ok .ic { width: 20px; height: 20px; }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate label { position: relative; cursor: pointer; }
.rate span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); font-weight: 600; transition: background var(--t), color var(--t); }
.rate input:checked + span, .rate label:hover span, .rate label:hover ~ label span { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.rate input:checked ~ span { background: var(--espresso); }
.rate input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.modal__lead { font-size: 14px; color: var(--espresso-soft); line-height: 1.6; }
.modal__more { margin-top: 21px; }
.modal .tbl th, .modal .tbl td { padding: 11px 10px; }

/* избранное */
.fav__note { padding: 13px 21px; background: var(--surface); border-left: 2px solid var(--success); font-size: 13.5px; margin-bottom: 21px; }
.favband { display: grid; grid-template-columns: auto 1fr auto; gap: 21px 34px; align-items: center; margin: 89px 0; padding: 34px 55px; background: var(--sand); }
.favband > .ic { color: var(--cognac); }
.favband .h3 { margin-bottom: 6px; }
.favband p:not(.h3) { font-size: 14px; color: var(--espresso-soft); max-width: 60ch; }
main[data-page="favorites"] > .wrap > .grid { padding-bottom: 0; }
main[data-page="favorites"] > .wrap > .empty { margin-bottom: 21px; }

/* ================= корзина и оформление ================= */
.cart { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px 89px; align-items: start; padding-bottom: 55px; }
.cart__main { display: grid; gap: 21px; min-width: 0; }
.cart__list { border-top: 1px solid var(--text); }
.cl { display: grid; grid-template-columns: 128px 1fr; gap: 21px 34px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.cl__i { display: block; aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.cl__i img { width: 100%; height: 100%; object-fit: cover; }
.cl__i--gift { background: var(--sand); }
.cl__b { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.cl__top { display: flex; justify-content: space-between; gap: 21px; align-items: flex-start; }
.cl__n { font: 400 24px/1.15 var(--f-display); transition: color var(--t); }
.cl__n:hover { color: var(--accent); }
.cl__m { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cl__m b { color: var(--text); font-weight: 600; }
.cl__p { display: grid; justify-items: end; gap: 2px; text-align: right; white-space: nowrap; }
.cl__p small { font-size: 12px; color: var(--muted); }
.cl__fit { align-self: flex-start; position: static; }
.cl__row { display: flex; align-items: center; gap: 8px 21px; flex-wrap: wrap; margin-top: auto; }
.cl__row .qty { margin-right: 8px; }

.wrapopt { position: relative; display: grid; grid-template-columns: 89px 1fr; gap: 21px; align-items: center; padding: 16px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color var(--t), background var(--t); }
.wrapopt:hover { border-color: var(--text); }
.wrapopt:has(input:checked) { border-color: var(--text); background: var(--sand); }
.wrapopt__i { aspect-ratio: 1; background: var(--pack); overflow: hidden; }
.wrapopt__i img { width: 100%; height: 100%; object-fit: cover; }
.wrapopt__t { display: grid; grid-template-columns: 22px 1fr; gap: 4px 13px; font-size: 13px; color: var(--espresso-soft); line-height: 1.5; }
.wrapopt__t .ck__b { grid-row: span 2; margin-top: 2px; }
.wrapopt__t b { font-weight: 600; color: var(--text); font-size: 14px; }
.wrapopt input:checked + span + .wrapopt__t .ck__b, .wrapopt input:checked ~ .wrapopt__t .ck__b { background: var(--espresso); border-color: var(--espresso); color: var(--on-espresso); }
.wrapopt input:checked ~ .wrapopt__t .ck__b .ic { opacity: 1; }
.wrapopt input:focus-visible ~ .wrapopt__t .ck__b { outline: 2px solid var(--accent); outline-offset: 2px; }
.codes { max-width: 520px; }
.codes__e { margin-top: 8px; font-size: 13px; color: var(--danger); }
.codes__e.is-ok { color: var(--success); }
.sum__disc dd { color: var(--accent); }
.sum__disc dt { display: inline-flex; align-items: center; gap: 6px; }
.sum__x { all: unset; cursor: pointer; display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--muted); border-radius: 50%; transition: color var(--t), background var(--t); }
.sum__x:hover { color: var(--text); background: var(--surface-alt); }
.sum__x:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.sum__x .ic { width: 12px; height: 12px; }

.co { display: grid; gap: 34px; margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--text); scroll-margin-top: calc(var(--hdr) + 21px); }
.co__h { outline: none; }
.co__st { display: grid; gap: 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.co__st legend { display: flex; align-items: baseline; gap: 13px; padding: 0; margin-bottom: 16px; font: 400 13px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.co__st legend span { font: 400 28px/1 var(--f-display); letter-spacing: 0; color: var(--cognac); }
.co__g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--wide { grid-column: 1 / -1; }
.field.is-opt .field__l::after { content: ' · необязательно'; text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--f-body); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tiles--pay { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile__b { display: grid; gap: 4px; align-content: start; height: 100%; padding: 16px 18px 16px 46px; border: 1px solid var(--line-strong); background: var(--surface); transition: border-color var(--t), background var(--t), box-shadow var(--t); position: relative; }
.tile__b::before { content: ''; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); transition: border-color var(--t), box-shadow var(--t); }
.tile:hover .tile__b { border-color: var(--text); }
.tile input:checked + .tile__b { border-color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1px var(--text); }
.tile input:checked + .tile__b::before { border-color: var(--espresso); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 9px var(--espresso); }
.tile input:focus-visible + .tile__b { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile input:disabled + .tile__b { opacity: .45; cursor: not-allowed; }
.tile__t { font-weight: 600; font-size: 14.5px; }
.tile__m { font-size: 13px; color: var(--espresso-soft); }
.tile__m b { font-weight: 600; color: var(--text); }
.tile__n { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.tile__try { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 400 10.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--cognac); }
.tile__try .ic { width: 16px; height: 16px; }
.co__hint { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--espresso-soft); line-height: 1.55; }
.co__hint .ic { width: 18px; height: 18px; color: var(--cognac); margin-top: 1px; }
.co__agree-e { margin-top: -21px; }

.cart__sum { position: sticky; top: calc(var(--hdr) + 70px); }
.sum__box { display: grid; gap: 21px; padding: 34px; background: var(--surface); border: 1px solid var(--line); }
.sum__dl { display: grid; }
.sum__dl > div { display: flex; justify-content: space-between; gap: 21px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sum__dl dt { color: var(--espresso-soft); }
.sum__dl dd { font-weight: 600; white-space: nowrap; }
.sum__dl > .sum__tot { border-bottom: 0; border-top: 1px solid var(--text); margin-top: 8px; padding-top: 16px; align-items: baseline; }
.sum__tot dt { font: 400 12px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.sum__tot dd { font-size: 26px; letter-spacing: -.01em; }
.sum__dol { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; background: var(--sand); font-size: 13px; line-height: 1.5; }
.sum__dol .ic { width: 18px; height: 18px; color: var(--cognac); flex: none; margin-top: 1px; }
.sum__cont { justify-self: center; }

.okp { max-width: 720px; margin: 34px auto 89px; display: grid; justify-items: center; gap: 21px; text-align: center; outline: none; }
.okp .mark { color: var(--cognac); }
.okp .lead { max-width: 52ch; }
.okp__try { display: flex; gap: 10px; align-items: center; padding: 13px 21px; background: var(--sand); font-size: 14px; }
.okp__try .ic { color: var(--cognac); }
.okp__dl { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); }
.okp__dl > div { padding: 21px; display: grid; gap: 6px; }
.okp__dl > div + div { border-left: 1px solid var(--line); }
.okp__dl dt { font: 400 11px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.okp__dl dd { font-weight: 600; font-size: 15px; }
.okp .demo { text-align: left; }

/* ================= общие плитки особых страниц ================= */
.tiles--3 { grid-template-columns: repeat(3, 1fr); gap: 34px; }
.tiles--4 { grid-template-columns: repeat(4, 1fr); gap: 34px; }
.tiles--5 { grid-template-columns: repeat(5, 1fr); gap: 21px; }
article.tile { display: flex; flex-direction: column; gap: 10px; padding-top: 21px; border-top: 1px solid var(--text); cursor: default; }
article.tile .tile__n { font: italic 400 26px/1 var(--f-display); color: var(--cognac); }
article.tile .tile__t { font: 400 24px/1.15 var(--f-display); font-weight: 400; margin-top: 4px; }
article.tile p { font-size: 14px; color: var(--espresso-soft); line-height: 1.6; }
article.tile .lnk { margin-top: auto; padding-top: 8px; }
article.tile > .ic--lg { color: var(--cognac); width: 34px; height: 34px; margin-bottom: 4px; }
.tiles--5 article.tile { padding: 21px 21px 21px; border: 1px solid var(--line); background: var(--surface); }
.sub-h { margin: 55px 0 21px; }

/* ================= Мастерская ================= */
.ahero { padding: 21px 0 55px; }
.ahero__in { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px; align-items: center; }
.ahero__t .h1 { margin: 13px 0 21px; }
.ahero__t .lead { max-width: 54ch; }
.ahero__img { aspect-ratio: 4 / 5; background: var(--pack); overflow: hidden; }
.ahero__img img { width: 100%; height: 100%; object-fit: cover; }
.intro2 { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 55px; font-size: 16px; line-height: 1.75; color: var(--espresso-soft); max-width: 1100px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border-top: 1px solid var(--text); }
.nums > div { padding: 21px 21px 0 0; display: grid; gap: 8px; align-content: start; }
.nums > div + div { padding-left: 21px; border-left: 1px solid var(--line); }
.nums dt { font: 400 clamp(40px, 4.4vw, 64px)/1 var(--f-display); color: var(--cognac); }
.nums dd { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 22ch; }
#materials .chips--nav { margin: 0 0 55px; }
.mtl { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; padding: 55px 0; border-top: 1px solid var(--line); }
.mtl--r { grid-template-columns: 1.618fr 1fr; }
.mtl--r .mtl__img { order: 2; }
.mtl__img { position: sticky; top: calc(var(--hdr) + 89px); aspect-ratio: 1; background: var(--pack); overflow: hidden; }
.mtl__img img { width: 100%; height: 100%; object-fit: cover; }
.mtl__img figcaption { position: absolute; left: 0; top: 0; min-width: 55px; padding: 10px 13px 8px; background: var(--bg); font: italic 400 26px/1 var(--f-display); color: var(--accent); text-align: center; }
.mtl__t { display: grid; gap: 21px; align-content: start; }
.mtl__t .h3 { font-size: clamp(30px, 2.8vw, 42px); }
.mtl__what { font: 400 21px/1.45 var(--f-display); color: var(--text); }
.mtl__what .lbl { display: block; margin-bottom: 6px; }
.mtl__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.mtl__dl > div { padding: 13px 0; border-top: 1px solid var(--line); }
.mtl__dl dt { margin-bottom: 6px; }
.mtl__dl dd { font-size: 14px; line-height: 1.6; color: var(--espresso-soft); }
.mtl__pl { margin-top: 8px; }
.mtl .thumbs { grid-template-columns: repeat(4, 1fr); }

.stages { display: grid; grid-template-columns: 1fr 1.618fr; gap: 55px 89px; align-items: start; }
.stages__h { position: sticky; top: calc(var(--hdr) + 89px); display: grid; gap: 13px; }
.stages__h p:not(.eyebrow) { font-size: 15px; color: var(--espresso-soft); line-height: 1.7; max-width: 44ch; }
.stages__l { border-top: 1px solid var(--text); }
.stage { display: grid; grid-template-columns: 89px 1fr; gap: 13px 21px; padding: 34px 0; border-bottom: 1px solid var(--line-strong); }
.stage__n { font: italic 400 44px/1 var(--f-display); color: var(--cognac); }
.stage__t { font: 400 26px/1.15 var(--f-display); margin-bottom: 8px; }
.stage__b p { font-size: 14.5px; line-height: 1.7; color: var(--espresso-soft); max-width: 60ch; }
.stage__img { grid-column: 2; aspect-ratio: 16 / 9; background: var(--pack); overflow: hidden; margin-top: 8px; }
.stage__img img { width: 100%; height: 100%; object-fit: cover; }

.anat { display: grid; grid-template-columns: 1.618fr 1fr; gap: 34px 89px; align-items: center; }
.anat__fig { display: grid; gap: 34px; }
.anat__svg { width: 100%; height: auto; overflow: visible; }
.anat__ground { stroke: var(--line-strong); stroke-width: 1; fill: none; stroke-dasharray: 2 5; }
.anat__upper { fill: var(--sand); stroke: var(--espresso); stroke-width: 1.4; stroke-linejoin: round; }
.anat__sole { fill: none; stroke: var(--espresso); stroke-width: 5; stroke-linecap: round; }
.anat__thin { fill: none; stroke: var(--cognac-light); stroke-width: 1.2; stroke-dasharray: 5 4; }
.anat__pad { fill: none; stroke: var(--cognac); stroke-width: 4; stroke-linecap: round; }
.anat__dash { fill: none; stroke: var(--cognac); stroke-width: 1.4; stroke-dasharray: 3 3; }
.anat__lift { fill: var(--espresso); }
.anat__pt circle { fill: var(--surface); stroke: var(--cognac); stroke-width: 1.2; transition: fill var(--t), r var(--t); }
.anat__pt text { font: 600 11px var(--f-body); fill: var(--cognac); text-anchor: middle; transition: fill var(--t); }
.anat__pt.is-on circle { fill: var(--accent); stroke: var(--accent); r: 14; }
.anat__pt.is-on text { fill: var(--on-accent); }
.anat__l { border-top: 1px solid var(--text); }
.anat__l li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 13px 8px 13px 0; border-bottom: 1px solid var(--line); cursor: default; outline: none; transition: background var(--t), padding var(--t); }
.anat__l li.is-on { background: var(--surface); padding-left: 8px; }
.anat__n { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--cognac); border-radius: 50%; font: 600 11px var(--f-body); color: var(--cognac); transition: background var(--t), color var(--t); }
.anat__l li.is-on .anat__n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.anat__p { font: 400 11.5px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.anat__l li p:not(.anat__p) { font-size: 13.5px; color: var(--espresso-soft); line-height: 1.55; }

.endcta { display: grid; justify-items: center; gap: 34px; text-align: center; padding-top: 34px; padding-bottom: 34px; }
.endcta .h2 { max-width: 22ch; font-style: italic; }
.endcta--split { grid-template-columns: 1fr 1fr; justify-items: start; text-align: left; align-items: end; gap: 34px 89px; }
.endcta--split .h2 { font-style: normal; margin-top: 13px; }
.endcta--split p:not(.eyebrow) { color: rgba(245, 240, 232, .76); font-size: 15.5px; line-height: 1.7; margin-bottom: 21px; max-width: 52ch; }

/* ================= Размеры ================= */
.measure { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: center; }
.measure__fig { background: var(--surface); border: 1px solid var(--line); padding: 34px; display: grid; place-items: center; }
.measure__svg { width: 100%; max-width: 300px; height: auto; }
.m-paper { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; }
.m-foot { fill: var(--sand); stroke: var(--espresso); stroke-width: 1.3; }
.m-mark { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 4; fill: none; }
.m-dim { stroke: var(--espresso); stroke-width: 1.2; fill: none; }
.m-t { font: 400 10px var(--f-label); letter-spacing: .1em; text-transform: uppercase; fill: var(--espresso-soft); text-anchor: middle; }
.m-n { font: italic 400 16px var(--f-display); fill: var(--accent); text-anchor: middle; }
.m-t--l { font-size: 8.5px; text-anchor: end; fill: var(--accent); }
.measure .h2 { margin-bottom: 21px; }
.fits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.fit { display: grid; gap: 10px; align-content: start; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--fit-true); }
.fit--small { border-top-color: var(--fit-small); }
.fit--large { border-top-color: var(--fit-large); }
.fit .fitscale__bar { margin-bottom: 13px; }
.fit__sh { font: 400 11px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--cognac); }
.fit p:not(.fit__sh) { font-size: 14px; color: var(--espresso-soft); line-height: 1.6; }
.fit .lnk { margin-top: 8px; }

/* ================= Доставка ================= */
.cities { border-top: 1px solid var(--text); }
.cities__h, .cities__r { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr 1.1fr; gap: 21px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cities__h span { font: 400 10.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cities__r { align-items: start; transition: background var(--t); }
.cities__r:hover { background: var(--surface); }
.cities__r > span { display: grid; gap: 2px; font-size: 13.5px; }
.cities__r b { font-weight: 600; }
.cities__r small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.cities__r em { font-style: normal; font-size: 12.5px; color: var(--cognac); font-weight: 600; }
.cities__r i.lbl { display: none; }
.cities__c b { font: 400 22px/1.15 var(--f-display); }
.cities__r > span:last-child { display: flex; gap: 6px; align-items: flex-start; color: var(--success); }
.cities__r > span:last-child .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.methods { border-top: 1px solid var(--text); }
.method { display: grid; grid-template-columns: 1.618fr 1fr .8fr 1fr; gap: 21px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.method__n { display: grid; gap: 2px; }
.method__n b { font-weight: 600; font-size: 14.5px; }
.method__n span { font-size: 12.5px; color: var(--muted); }
.method__t { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.method__t .ic { width: 16px; height: 16px; color: var(--cognac); }
.method__p { display: grid; font-weight: 600; font-size: 14px; }
.method__p small { font-weight: 400; font-size: 12px; color: var(--muted); }
.method__try { display: inline-flex; align-items: center; gap: 6px; font: 400 10.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.method__try .ic { width: 14px; height: 14px; }
.method__try--yes { color: var(--success); }
.method__try--no { color: var(--muted); }
.tryon__h { display: grid; grid-template-columns: 1fr 1.618fr; gap: 21px 89px; align-items: end; margin-bottom: 55px; }
.tryon__h .h2 { margin-top: 13px; }
.flow4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--text); counter-reset: f; }
.flow4 li { position: relative; padding: 34px 21px 0 0; display: grid; gap: 10px; align-content: start; }
.flow4 li + li { padding-left: 21px; border-left: 1px solid var(--line-strong); }
.flow4 li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.flow4 li + li::before { left: -4px; }
.flow4__n { font: italic 400 34px/1 var(--f-display); color: var(--cognac); }
.flow4__t { font: 400 22px/1.2 var(--f-display); }
.flow4 li p { font-size: 13.5px; line-height: 1.6; color: var(--espresso-soft); }
.rules { margin-top: 55px; padding: 34px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.rules .ticks { columns: 2; column-gap: 55px; display: block; }
.rules .ticks li { break-inside: avoid; margin-bottom: 10px; }
.dolp { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px 89px; align-items: start; }
.dolp__t { display: grid; gap: 21px; }
.dolp__t .h2 { margin-top: -8px; }
.dolp .steps { margin-top: 13px; }
.dolp .note2 { margin-top: 0; }
.ret { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.ret .h2 { margin: 13px 0 21px; }

/* ================= Шоурум ================= */
.shero { padding: 21px 0 55px; }
.shero__in { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px; align-items: stretch; }
.shero__img { position: relative; min-height: 520px; background: var(--pack); overflow: hidden; }
.shero__img > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.shero__img img { width: 100%; height: 100%; object-fit: cover; }
.shero__t { display: grid; gap: 16px; }
.shero__t .kv { margin-top: 8px; }
.shero__t .btns { margin-top: 13px; }
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 400; color: var(--muted); padding: 2px 21px 2px 0; font-size: 13.5px; }
.hours td { font-weight: 600; font-size: 14px; padding: 2px 0; }
.kv dd a { border-bottom: 1px solid var(--line-strong); transition: color var(--t), border-color var(--t); }
.kv dd a:hover { color: var(--accent); border-color: var(--accent); }
.book { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.book__t { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 89px); }
.book__sun { display: flex; gap: 10px; font-size: 13px; color: var(--espresso-soft); line-height: 1.55; }
.book__sun .ic { width: 18px; height: 18px; color: var(--cognac); flex: none; }
.book__f, .book__ok { padding: 34px; background: var(--surface); border: 1px solid var(--line); }
.book__f fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { position: relative; cursor: pointer; }
.slot span { display: grid; place-items: center; min-width: 72px; height: 40px; padding: 0 13px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 13.5px; background: var(--bg); transition: background var(--t), color var(--t), border-color var(--t); }
.slot:hover span { border-color: var(--text); }
.slot input:checked + span { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.slots__hint { font-size: 13px; color: var(--muted); padding: 10px 0; }
.slots__hint--warn { color: var(--danger); }
.bmods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.bmod { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 13px; align-items: center; padding: 6px 13px 6px 6px; border: 1px solid var(--line-strong); background: var(--bg); cursor: pointer; transition: border-color var(--t), background var(--t); }
.bmod:hover { border-color: var(--text); }
.bmod:has(input:checked) { border-color: var(--espresso); background: var(--sand); box-shadow: inset 0 0 0 1px var(--espresso); }
.bmod__i { aspect-ratio: 3 / 4; background: var(--pack); overflow: hidden; }
.bmod__i img { width: 100%; height: 100%; object-fit: cover; }
.bmod__n { display: grid; font: 400 17px/1.15 var(--f-display); }
.bmod__n small { font: 400 12px var(--f-body); color: var(--muted); }
.book__okt { display: flex; gap: 16px; align-items: flex-start; font: 400 24px/1.35 var(--f-display); color: var(--text); margin-bottom: 13px; }
.book__okt .ic { color: var(--success); flex: none; }
.route { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: center; }
.route__t { display: grid; gap: 21px; }
.route__t > p { font-size: 15px; line-height: 1.7; color: var(--espresso-soft); }
.route__ph { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.route__ph .ic { color: var(--cognac); }
.route__ph a:hover { color: var(--accent); }
.route__fig { display: grid; gap: 10px; }
.route__fig figcaption { font-size: 12px; color: var(--muted); }
.route__svg { width: 100%; height: auto; border: 1px solid var(--line); }
.r-bg { fill: var(--sand); }
.r-blk { fill: var(--travertine); }
.r-road { fill: var(--surface); }
.r-road--s { fill: var(--bg); }
.r-street { font: 400 11px var(--f-label); letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); text-anchor: end; }
.r-house { fill: var(--line-strong); stroke: var(--espresso-soft); stroke-width: 1; }
.r-hatch { stroke: var(--cognac-light); stroke-width: 1; opacity: .5; }
.r-house-t { font: italic 400 20px var(--f-display); fill: var(--espresso); text-anchor: middle; }
.r-door { stroke: var(--accent); stroke-width: 5; }
.r-sm { font: 400 9.5px var(--f-label); letter-spacing: .1em; text-transform: uppercase; fill: var(--espresso-soft); text-anchor: middle; }
.r-sm--l { text-anchor: start; }
.r-path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 8 6; stroke-linecap: round; stroke-linejoin: round; animation: rdash 1.6s linear infinite; }
@keyframes rdash { to { stroke-dashoffset: -28; } }
.r-step { fill: var(--accent); }
.r-pin circle:first-child { fill: var(--accent); fill-opacity: .16; stroke: var(--accent); stroke-width: 1.4; }
.r-pin__c { fill: var(--accent); }
.r-pin-t { font: 400 10.5px var(--f-label); letter-spacing: .1em; text-transform: uppercase; fill: var(--espresso); text-anchor: middle; }
.r-n path { fill: var(--espresso); }
.r-n text { font: 400 11px var(--f-label); fill: var(--espresso); text-anchor: middle; }

/* ================= Сертификаты ================= */
.ghero { padding: 21px 0 55px; }
.ghero__in { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px; align-items: end; }
.ghero__t { display: grid; gap: 21px; justify-items: start; }
.ghero__t .lead { max-width: 52ch; }
.ghero__img { aspect-ratio: 4 / 5; background: var(--pack); overflow: hidden; }
.ghero__img img { width: 100%; height: 100%; object-fit: cover; }
.gb { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 89px; align-items: start; }
.gb__f fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.noms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.noms .nom--c:nth-child(7) { grid-column: span 2; }
.gb__f .seg__in { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.gfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; width: 100%; margin: 34px 0 0; padding-top: 21px; border-top: 1px solid var(--line); }
.gfacts dt { font: 400 10.5px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.gfacts dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--espresso-soft); }
.nom { position: relative; cursor: pointer; }
.nom span { display: grid; place-items: center; height: 56px; padding: 0 8px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 600; font-size: 15px; text-align: center; transition: background var(--t), color var(--t), border-color var(--t); }
.nom--c span { font: 400 11px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.nom:hover span { border-color: var(--text); }
.nom input:checked + span { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.nom input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field--cust { margin-top: 13px; }
.fmts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tilec { position: relative; cursor: pointer; }
.tilec__b { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line-strong); background: var(--surface); transition: border-color var(--t), box-shadow var(--t); }
.tilec__b .ic { color: var(--cognac); margin-bottom: 6px; }
.tilec__b b { font-weight: 600; font-size: 14.5px; }
.tilec__b span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.tilec:hover .tilec__b { border-color: var(--text); }
.tilec input:checked + .tilec__b { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: var(--bg); }
.tilec input:focus-visible + .tilec__b { outline: 2px solid var(--accent); outline-offset: 2px; }
.gb__f .seg__in { margin-bottom: 0; }
.gb__dt { margin-top: 10px; }
.gb__pv { position: sticky; top: calc(var(--hdr) + 70px); display: grid; gap: 13px; justify-items: center; padding: 55px 34px; background: var(--sand); }
.gcard { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1.586; padding: 26px 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px; background: var(--espresso); color: var(--on-espresso); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(42, 30, 23, .55); transition: background .5s var(--ease), color .5s var(--ease); }
.gcard::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(199, 154, 111, .45); pointer-events: none; }
.gcard__top { display: flex; align-items: center; gap: 10px; }
.gcard__logo { display: block; height: 20px; width: auto; aspect-ratio: 362.9 / 95.37; color: #fff; }
.gcard__l { margin-top: 16px; font: 400 10px/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--cognac-light); }
.gcard__sum { font: 400 clamp(36px, 3.6vw, 52px)/1 var(--f-display); }
.gcard__msg { font: italic 400 15px/1.35 var(--f-display); color: rgba(245, 240, 232, .8); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; align-self: end; }
.gcard__ft { display: flex; justify-content: space-between; gap: 13px; font-size: 11.5px; color: rgba(245, 240, 232, .7); min-height: 16px; }
.gcard__fmt { position: absolute; right: 28px; top: 26px; font: 400 9.5px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--cognac-light); }
.gcard--box { background: var(--surface); color: var(--espresso); }
.gcard--box::before { border-color: var(--cognac-light); }
.gcard--box .gcard__logo { color: #000; }
.gcard--box .gcard__l, .gcard--box .gcard__fmt { color: var(--cognac); }
.gcard--box .gcard__msg { color: var(--espresso-soft); }
.gcard--box .gcard__ft { color: var(--muted); }
.gb__pvn { font-size: 12px; color: var(--muted); }
.gr { display: grid; grid-template-columns: 1.618fr 1fr; gap: 55px 89px; align-items: start; }
.gr .h2 { margin-bottom: 21px; }
.corp { display: grid; gap: 13px; justify-items: start; padding: 34px; background: var(--surface); border: 1px solid var(--line); }
.corp > .ic { color: var(--cognac); }
.corp p { font-size: 14px; color: var(--espresso-soft); line-height: 1.6; }

/* ================= Уход ================= */
.rules5 { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--text); }
.rules5 li { display: grid; gap: 13px; align-content: start; padding: 21px 21px 13px 0; }
.rules5 li + li { padding-left: 21px; border-left: 1px solid var(--line); }
.rules5 span { font: italic 400 34px/1 var(--f-display); color: var(--cognac); }
.rules5 p { font: 400 19px/1.35 var(--f-display); }
#materials .chips--nav, .cmats { margin-top: 0; }
.cmats { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-top: 34px; }
.cmat { display: grid; grid-template-columns: 144px 1fr; gap: 21px; padding: 21px; background: var(--surface); border: 1px solid var(--line); }
.cmat__img { aspect-ratio: 1; background: var(--pack); overflow: hidden; }
.cmat__img img { width: 100%; height: 100%; object-fit: cover; }
.cmat__b { display: grid; gap: 13px; align-content: start; min-width: 0; }
.cmat__dl { display: grid; gap: 10px; }
.cmat__dl > div { display: grid; gap: 4px; }
.cmat__dl dd { font-size: 13.5px; line-height: 1.55; color: var(--espresso-soft); }
.cmat__avoid dt { color: var(--danger); }
@media (min-width: 901px) {
  .cmats > .cmat:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: 233px minmax(0, 1fr); gap: 34px; }
  .cmats > .cmat:last-child:nth-child(odd) .cmat__dl { grid-template-columns: 1fr 1fr; gap: 13px 34px; }
}
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; }
.season { display: grid; gap: 13px; align-content: start; padding: 34px 21px; background: var(--surface); border-top: 2px solid var(--cognac); }
.season > .ic { color: var(--cognac); width: 34px; height: 34px; }
.season .dots li { font-size: 13.5px; }
.store2 { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; }
.kit li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 13px; padding: 21px 0; border-top: 1px solid var(--line); }
.kit__n { grid-row: span 2; font: italic 400 24px/1 var(--f-display); color: var(--cognac); }
.kit b { font-weight: 600; font-size: 14.5px; }
.kit li > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ================= Отзывы ================= */
.rvtop { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.rvtop__avg { display: grid; gap: 10px; justify-items: start; padding: 34px; background: var(--surface); border: 1px solid var(--line); }
.rvtop__n { font: 400 89px/1 var(--f-display); margin-bottom: 6px; }
.rvtop__c { font-size: 13px; color: var(--muted); }
.rdist { width: 100%; display: grid; gap: 6px; margin-top: 13px; }
.rdist li { display: grid; grid-template-columns: 14px 1fr 28px; gap: 10px; align-items: center; font-size: 12.5px; }
.rdist li span:last-child { text-align: right; color: var(--muted); }
.rdist i { display: block; height: 4px; background: var(--line); }
.rdist b { display: block; height: 100%; background: var(--cognac); }
.rvtop__fit { display: grid; gap: 21px; align-content: start; }
.rvtop__fit > p:not(.lbl) { font-size: 14.5px; color: var(--espresso-soft); line-height: 1.65; max-width: 60ch; }
.rvf { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 21px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.rvf__fit { flex-wrap: wrap; }
.rvf__fit small { font-weight: 600; font-size: 11px; opacity: .7; margin-left: 2px; }
.field--inline { display: block; }
.field--inline .select select { min-height: 44px; font-size: 13.5px; }
.rvf__sort { margin-left: auto; }
.rvf__n { margin: 21px 0 13px; font: 400 11px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rvlist--page { grid-template-columns: 1fr 1fr; gap: 21px; }
.rvlist--page .empty { grid-column: 1 / -1; }
.rvmore { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 13px; padding-top: 21px; }

/* ================= О бренде ================= */
.abh { padding: 21px 0 55px; }
.abh__in { display: grid; grid-template-columns: 1.618fr 1fr; gap: 34px 55px; align-items: end; }
.abh .h1 { margin-top: 13px; }
.abs { display: grid; grid-template-columns: 1fr 1.618fr; gap: 34px 89px; align-items: start; }
.abs__img { aspect-ratio: 4 / 5; background: var(--pack); overflow: hidden; }
.abs__img img { width: 100%; height: 100%; object-fit: cover; }
.abs__t { display: grid; gap: 21px; font-size: 16px; line-height: 1.8; color: var(--espresso-soft); max-width: 64ch; }
.quote { display: grid; justify-items: center; gap: 34px; text-align: center; padding: 34px 0; }
.quote__mk { width: 55px; height: 55px; color: var(--cognac-light); }
.quote blockquote p { font: italic 400 clamp(28px, 3.4vw, 50px)/1.2 var(--f-display); max-width: 26ch; }
.quote figcaption { font: 400 11.5px/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--cognac-light); }
.tline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--text); margin-bottom: 55px; }
.tline li { position: relative; display: grid; gap: 10px; align-content: start; padding: 34px 21px 0 0; }
.tline li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); }
.tline__y { font: 400 44px/1 var(--f-display); color: var(--cognac); }
.tline li p { font-size: 14px; line-height: 1.6; color: var(--espresso-soft); }

/* ================= адаптив ================= */
@media (max-width: 1240px) {
  .tiles--5 { grid-template-columns: repeat(3, 1fr); }
  .rules5 { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .rules5 li:nth-child(4) { padding-left: 0; border-left: 0; }
  .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 55px; }
  .ftr__brand { grid-column: 1 / 3; grid-row: 1; }
  .ftr__top > :last-child { grid-column: 3; grid-row: 1; }
}

@media (max-width: 1100px) {
  :root { --hdr: 68px; }
  .hdr__menu { display: inline-flex; }
  .nav, .hdr__phone { display: none; }
  .hdr__in { grid-template-columns: 1fr auto 1fr; }
  .pd__sticky, .rvsum, .cart__sum, .stages__h, .book__t, .gb__pv, .cats__prev, .cat__side { top: calc(var(--hdr) + 21px); }

  /* фильтры — выезжающая панель */
  .cat { grid-template-columns: minmax(0, 1fr); }
  .cat__side { position: fixed; inset: 0; z-index: 200; max-height: none; overflow: visible; padding: 0; visibility: hidden; pointer-events: none; transition: visibility 0s linear .45s; }
  .cat__sidebox { position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; width: min(400px, 92vw); display: flex; flex-direction: column; background: var(--surface); transform: translateX(-102%); transition: transform .5s var(--ease); }
  .cat__sidehead { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 13px 0 21px; border-bottom: 1px solid var(--line); flex: none; }
  .cat__sidebox .filters { flex: 1; overflow-y: auto; padding: 0 21px 21px; overscroll-behavior: contain; }
  .cat__sidebox .fg:first-child { border-top: 0; }
  .cat__sidefoot { display: block; padding: 13px 21px; border-top: 1px solid var(--line); flex: none; }
  .cat__scrim { display: block; position: absolute; inset: 0; background: rgba(42, 30, 23, .42); opacity: 0; transition: opacity .45s var(--ease); }
  .is-filters .cat__side { visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .is-filters .cat__sidebox { transform: none; }
  .is-filters .cat__scrim { opacity: 1; }
  .toolbar__f { display: inline-flex; }
  .toolbar__n { margin-right: auto; }

  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd { gap: 34px; }
  .seasons, .kit { grid-template-columns: repeat(2, 1fr); }
  .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .flow4 { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .flow4 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow4 li:nth-child(3)::before { left: 0; }
  .method { grid-template-columns: 1.618fr 1fr 1fr; }
  .method__try { grid-column: 1 / -1; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid--4.rail > :nth-child(4) { display: none; }
}

@media (max-width: 900px) {
  .hdr__s2 { display: inline-flex; }
  .hdr__search { display: none; }
  .sec, .band { padding: 55px 0; }
  .sec--tight { padding: 34px 0; }
  .shead { flex-direction: column; align-items: flex-start; gap: 13px; }
  .shead__a { max-width: 60ch; }

  .phead, .cats, .finder-band, .atl, .coll__head, .split, .gifth, .care-h, .news,
  .pd, .pd__desc, .pd__rv, .cart, .ahero__in, .mtl, .mtl--r, .stages, .anat, .endcta--split, .measure,
  .tryon__h, .dolp, .ret, .shero__in, .book, .route, .ghero__in, .gb, .gr, .store2, .rvtop, .abh__in, .abs, .intro2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .phead { padding: 21px 0; }
  .pd__sticky, .rvsum, .cart__sum, .stages__h, .book__t, .shero__img, .gb__pv { position: static; }
  .mtl__img { position: relative; top: auto; }
  .mtl--r .mtl__img { order: 0; }
  .mtl { gap: 21px; padding: 34px 0; }
  .mtl__img { aspect-ratio: 16 / 10; }
  .ahero__img, .ghero__img, .abs__img { aspect-ratio: 16 / 10; }
  .cats { gap: 0; }
  .cats__prev { display: none; }
  .cats__list a { grid-template-columns: 64px 1fr 24px; gap: 16px; padding: 10px 0; }
  .cats__n { display: none; }
  .cats__th { display: block; aspect-ratio: 1; background: var(--pack); overflow: hidden; }
  .cats__th img { width: 100%; height: 100%; object-fit: cover; }
  .cats__c { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .cats__list a .ic { grid-column: 3; grid-row: 1 / 3; }
  .cats__l { grid-column: 2; }
  .split__img { aspect-ratio: 3 / 2; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail, .rvs {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 46%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut);
  }
  .rail::-webkit-scrollbar, .rvs::-webkit-scrollbar { display: none; }
  .rail > *, .rvs > * { scroll-snap-align: start; }
  .rvs { grid-auto-columns: minmax(280px, 78%); }

  /* галерея — лента с перелистыванием */
  .gal { margin: 0 calc(-1 * var(--gut)); }
  .gal__track { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gal__track::-webkit-scrollbar { display: none; }
  .gal__it, .gal__it:first-child, .gal__it:nth-child(2n):last-child { flex: 0 0 88%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .gal__it:last-child { flex-basis: 100%; }
  .gal__cnt { display: block; position: absolute; right: calc(var(--gut) + 8px); bottom: 13px; padding: 6px 11px; background: rgba(251, 248, 243, .92); font: 600 12px/1 var(--f-body); }
  .pd__h { font-size: clamp(32px, 7vw, 44px); }

  .atl__b { margin-bottom: 0; }

  .ftr__mid { grid-template-columns: 1fr; }
  .favband { grid-template-columns: auto 1fr; padding: 34px; }
  .favband .btn { grid-column: 1 / -1; justify-self: start; }
  .srch__res ul { grid-template-columns: 1fr; }

  .fits, .tiles--3, .cmats, .rvlist--page { grid-template-columns: 1fr; }
  .tiles--5 { grid-template-columns: repeat(2, 1fr); }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .nums > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .nums > div:nth-child(n+3) { margin-top: 21px; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .stage { grid-template-columns: 55px 1fr; padding: 21px 0; }
  .stage__n { font-size: 34px; }
  .anat__fig { gap: 21px; }
  .endcta .h2 { font-size: clamp(30px, 6vw, 44px); }

  .cities__h { display: none; }
  .cities__r { grid-template-columns: 1fr 1fr; gap: 13px 21px; padding: 21px 0; }
  .cities__c { grid-column: 1 / -1; }
  .cities__r i.lbl { display: block; font-style: normal; margin-bottom: 4px; }
  .cities__r > span:last-child { grid-column: 1 / -1; display: block; }
  .cities__r > span:last-child .ic { display: inline-block; vertical-align: -3px; margin-right: 6px; }
  .rules .ticks { columns: 1; }
  .cart__sum { margin-top: 0; }
  .shero__img { order: -1; position: relative; top: auto; min-height: 0; aspect-ratio: 3 / 2; }
}

@media (max-width: 600px) {
  :root { --hdr: 60px; }
  body { font-size: 15px; }
  .ann__util { display: none; }
  .ann__msg { text-align: center; }
  .ann__in { min-height: 32px; }
  .hdr__in { gap: 4px; grid-template-columns: auto 1fr auto; }
  .hdr__l, .hdr__r { gap: 0; }
  .hdr__logo svg { height: 24px; }
  .icbtn { width: 40px; height: 40px; }

  .sec, .band { padding: 44px 0; }
  .sec--tight { padding: 21px 0; }
  .shead { margin-bottom: 21px; }
  .grid { gap: 34px 13px; }
  .cat__grid { gap: 34px 13px; }
  .card__badges { left: 8px; top: 8px; right: 44px; }
  .badge { font-size: 9px; letter-spacing: .06em; padding: 4px 6px 3px; }
  .ibanner { grid-column: 1 / -1; min-height: 0; padding: 34px 21px; }
  .ibanner__t { font-size: 30px; }
  .seg__in { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .seg__in span { padding: 0 4px; font-size: 10px; letter-spacing: .04em; min-height: 46px; text-align: center; }
  .rvf__fit { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .rvf__fit label:nth-child(3) { border-left: 0; }
  .rvf__fit label:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rvf__fit span { font-size: 10.5px; }
  .card__name { font-size: 18px; }
  .card__price { font-size: 14px; }
  .card__dol { font-size: 11px; }
  .rail { grid-auto-columns: 62%; }
  .rvs { grid-auto-columns: 86%; }

  .form__2, .co__g, .wr__g, .tiles, .tiles--pay, .tiles--4, .tiles--5, .bmods, .fmts, .okp__dl,
  .mtl__dl, .kit, .seasons, .flow4, .rules5, .ftr__top { grid-template-columns: 1fr; }
  .flow4 li, .flow4 li + li { padding-left: 0; border-left: 0; padding-top: 21px; }
  .flow4 li + li { border-top: 1px solid var(--line-strong); }
  .flow4 li::before, .flow4 li + li::before { left: 0; }
  .rules5 li, .rules5 li + li { padding: 16px 0 0; border-left: 0; }
  .rules5 li + li { border-top: 1px solid var(--line); }
  .rules5 { row-gap: 16px; }
  .okp__dl > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ftr { padding: 55px 0 calc(34px + var(--rs-sw-h, 0px)); }
  .ftr__top { gap: 34px; }
  .ftr__brand, .ftr__top > :last-child { grid-column: auto; grid-row: auto; }

  .mats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dolcard, .dolcard--lg { grid-template-columns: 1fr 72px; padding: 34px 21px 21px; }

  .cl { grid-template-columns: 88px 1fr; gap: 13px; }
  .cl__top { flex-direction: column; gap: 6px; }
  .cl__p { justify-items: start; text-align: left; }
  .cl__n { font-size: 20px; }
  .wrapopt { grid-template-columns: 64px 1fr; gap: 13px; }
  .sum__box, .wr, .book__f, .book__ok, .rvtop__avg, .rules, .corp { padding: 21px; }
  .gb__pv { padding: 34px 13px; }
  .noms { grid-template-columns: repeat(3, 1fr); }
  .noms .nom--c:nth-child(7) { grid-column: 1 / -1; }
  .gfacts { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .gfacts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 13px; align-items: baseline; }
  .gfacts dt { margin: 0; }
  .gcard { padding: 20px 22px; }
  .gcard__fmt { right: 22px; top: 20px; }
  .gcard__sum { font-size: 36px; }
  .gcard__logo { height: 16px; }
  .gcard__fmt { font-size: 8.5px; letter-spacing: .1em; }
  .ftr__bot { flex-direction: column; }
  .ftr__top { gap: 0; }
  .ftr__brand { padding: 0 0 34px; }
  .ftr__col--fold { border-top: 1px solid rgba(245, 240, 232, .14); }
  .ftr__col--fold .lbl { margin: 0; }
  .ftr__tg { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; width: 100%; min-height: 54px; box-sizing: border-box; }
  .ftr__tg:focus-visible { outline: 1px solid var(--cognac-light); outline-offset: 2px; }
  .ftr__tg .ic { display: block; }
  .ftr__col--fold.is-open .ftr__tg .ic { transform: rotate(45deg); }
  .ftr__col--fold ul { display: none; padding-bottom: 21px; }
  .ftr__col--fold.is-open ul { display: grid; }
  .ftr__contact { padding-top: 34px; border-top: 1px solid rgba(245, 240, 232, .14); }
  .favband { grid-template-columns: 1fr; padding: 21px; margin: 55px 0; }
  .cmat { grid-template-columns: 88px 1fr; gap: 13px; padding: 13px; }
  .mtl .thumbs { grid-template-columns: repeat(2, 1fr); }
  .nums dt { font-size: 40px; }
  .rvtop__n { font-size: 64px; }
  .rvf { gap: 13px; }
  .rvf__sort { margin-left: 0; }
  .rvf .field--inline { flex: 1 1 140px; }
  .fit { padding: 21px; }
  .measure__fig { padding: 21px; }
  .sizes { gap: 4px; }
  .sz { height: 44px; font-size: 13px; }
  .pd__buy .btn { padding: 0 13px; }
  .pd__desc { margin-top: 13px; }
  .stage { grid-template-columns: 44px 1fr; }
  .stage__img { grid-column: 1 / -1; }
  .tline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--text); margin-left: 5px; }
  .tline li { padding: 0 0 34px 21px; }
  .tline li::before { top: 8px; left: -5px; }
  .modal { padding: 0; align-items: end; }
  .modal__box { width: 100%; max-height: 92vh; }
  .toolbar { flex-wrap: wrap; gap: 8px 13px; }
  .toolbar__s { width: 100%; order: 3; }
  .tabs ul { gap: 0 21px; }
  .res, .finder--compact .res, .modal .res { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 21px; }
  .res__size { display: flex; align-items: baseline; gap: 10px; max-width: none; padding: 0 0 13px; border-bottom: 1px solid var(--line); }
  .res__size b { display: inline; font-size: 52px; }
  .res__cta, .modal .res__cta { grid-column: 1 / -1; flex-direction: column; padding-top: 8px; border-top: 0; }
  .modal .res__cta .btn { flex: none; }
  .method { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 21px; align-items: start; }
  .method__n { grid-column: 1 / -1; }
  .method__p { justify-items: end; text-align: right; }
  .method__try { grid-column: 1 / -1; }
  /* схема ужимается почти вдвое — подписи увеличиваем в единицах схемы, чтобы на экране они остались читаемыми */
  .r-street { font-size: 16px; letter-spacing: .06em; }
  .r-house-t { font-size: 30px; }
  .r-sm { font-size: 14px; letter-spacing: .04em; }
  .r-pin-t { font-size: 15px; letter-spacing: .04em; }
  .r-n text { font-size: 18px; }
}

/* узкий телефон: «БОЛЬШЕМЕРИТ» должен влезать в треть калькулятора без давки */
@media (max-width: 420px) {
  .finder-band__w { padding: 21px 16px; }
  .finder .seg__in span { padding: 0 2px; letter-spacing: .02em; }
}

/* =====================================================================
   Правки второго круга (fix2). Стоят в конце файла и перекрывают базовые правила.
   ===================================================================== */

/* AD2: у Cormorant по умолчанию старостильные цифры («10 000» читалось как «IO OOO»).
   Шорткат font: в каждом правиле сбрасывает font-feature-settings, поэтому выравненные цифры включены для всех элементов. */
*, *::before, *::after { font-feature-settings: 'lnum' 1 !important; }

/* AD15: у Tenor кириллические Л и Д похожи на Λ — меню, кнопки, ссылки и вкладки набраны Manrope капителью */
.btn, .lnk, .nav__in a, .tabs a, .qs--wide { font-family: var(--f-body); font-weight: 500; letter-spacing: .12em; }
.btn--sm, .lnk--sm { letter-spacing: .1em; }

/* AD9: тексты отзывов — Manrope; Cormorant остаётся для названия модели */
.rv__txt { font: 400 15.5px/1.6 var(--f-body); color: var(--text); }

/* AD25: телефон в подвале — Manrope с выравненными цифрами; строка о Wildberries — в колонке «Покупателям» */
.ftr__ph { font: 600 21px/1.3 var(--f-body) !important; letter-spacing: -.005em; }
.ftr__col li.ftr__mp { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(245, 240, 232, .14); align-self: auto; max-width: 30ch; }

/* AD14: ярлык посадки не вылезает за карточку; цифра — Manrope */
.fitchip { white-space: normal; max-width: 100%; }
.fitchip .num { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }

/* AD19: пара крупнее (кадр 4:5, опора на нижнюю треть) и тёплая подложка вместо холодного серого фона съёмки */
.card__media { aspect-ratio: 4 / 5; }
.card__media, .cl__i, .ml__i, .sg__i, .bmod__i, .rv__pi, .dolw__img { background: #F8F2E9; isolation: isolate; }
.card__img img { object-position: 50% 74%; }
.card__media img, .cl__i img, .ml__i img, .sg__i img, .bmod__i img, .rv__pi img, .dolw__img img { mix-blend-mode: multiply; }

/* QA21: закрытые выезжающие панели не расширяют страницу */
.drawer, .srch, .modal { overflow: hidden; }

/* ---------- Главная: первый экран (AD3, AD24) ---------- */
.hero { position: relative; }
.hero__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: clamp(560px, calc(100vh - 162px), 940px); }
@supports (height: 100svh) { .hero__in { min-height: clamp(560px, calc(100svh - 162px), 940px); } }
.hero__t { display: flex; flex-direction: column; gap: 34px; min-width: 0; padding: 55px 55px 72px max(var(--gut), calc((100vw - var(--max)) / 2)); }
.hero__copy { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero__copy .eyebrow { align-self: flex-start; }
.hero__h { font-size: clamp(44px, 4.6vw, 76px); line-height: 1; letter-spacing: -.015em; }
.hero__lead { margin-top: 21px; max-width: 44ch; }
.hero__btns { margin-top: 34px; }
.hero__card { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.hero__cl { display: flex; align-items: baseline; justify-content: space-between; gap: 13px; font-size: 14px; line-height: 1.4; color: var(--espresso-soft); transition: color var(--t); }
.hero__cl:hover { color: var(--accent); }
.hero__cl .price { font-size: 18px; color: var(--text); }
.hero__ql { font-size: 12.5px; color: var(--muted); }
.hero__qs { display: flex; flex-wrap: wrap; gap: 6px; }
.hero__qs .qs { min-width: 52px; height: 44px; padding: 0 10px; font-size: 13.5px; }
.qs.is-rec { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hero__fig { position: relative; min-height: 420px; margin: 0; background: var(--pack); overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; animation: heroin 1.6s var(--ease) both; }
.hero__mcap { display: none; }

/* ---------- Главная: примерка перед оплатой + три довода строкой (AD4) ---------- */
.hton { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: 34px 89px; align-items: center; }
.hton__img { aspect-ratio: 4 / 5; margin: 0; background: var(--pack); overflow: hidden; }
.hton__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hton__t .h2 { margin-bottom: 21px; text-wrap: balance; }
.hton__t .lead { margin-bottom: 34px; }
.steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 21px; margin-bottom: 34px; }
.args { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 55px; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); }
.args li { min-width: 0; }
.args li + li { border-left: 1px solid var(--line); }
.args a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 21px 34px 21px 0; }
.args li + li a { padding-left: 34px; }
.args__n { font: 600 clamp(28px, 2.6vw, 40px)/1.05 var(--f-body); letter-spacing: -.02em; font-variant-numeric: lining-nums proportional-nums; white-space: nowrap; }
.args__t { font-weight: 600; font-size: 15px; transition: color var(--t); }
.args a:hover .args__t { color: var(--accent); }
.args__x { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Главная: «Долями» — пример с товаром, шкала на всю ширину (AD20) ---------- */
.dolw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px 55px; align-items: center; padding: 55px; background: var(--surface); border: 1px solid var(--line); }
.dolw__ex { margin: 0 0 13px; font: 400 clamp(28px, 3vw, 44px)/1.18 var(--f-display); max-width: 24ch; }
.dolw__ex .price { font-size: .74em; letter-spacing: -.01em; }
.dolw__x { max-width: 60ch; margin-bottom: 21px; font-size: 14.5px; line-height: 1.6; color: var(--espresso-soft); }
.dolw__p { display: grid; grid-template-columns: 180px; gap: 6px; justify-items: start; transition: color var(--t); }
.dolw__p:hover { color: var(--accent); }
.dolw__img { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; }
.dolw__img img { width: 100%; height: 100%; object-fit: cover; }
.dolw__n { font: 500 17px/1.2 var(--f-display); }
.dolw__p .price { font-size: 14px; }
.dolw .doltl { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; margin-top: 0; padding-top: 34px; border-top: 1px solid var(--line); }
.dolw .doltl li::before { background: var(--line-strong); }
.dolw .doltl__dot { border-color: var(--accent); }
.dolw .doltl li.is-now .doltl__dot { background: var(--accent); }
.dolw .doltl__w { color: var(--muted); }
.dolw .doltl__s { font-size: clamp(17px, 1.6vw, 22px); color: var(--text); }

/* ---------- Калькулятор размера (AD10, QA16) ---------- */
.ruler__cm { font-size: 11.5px; }
.ruler__cm--a { transform: none; }
.ruler__cm--a::before { left: 0; }
.ruler__cm--z { transform: translateX(-100%); }
.ruler__cm--z::before { left: auto; right: 0; }
.ruler__z i { font-size: 11px; }
.finder .seg { flex: 1 1 320px; }
.finder .seg__in { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
.finder .seg__in span { min-height: 50px; padding: 0 8px; text-align: center; }
.mnf { margin-top: 13px; }
.mnf .inrow input, .mnf .btn { min-height: 44px; }
.mnf__e { margin-top: 8px; font-size: 13px; color: var(--danger); }
.mnf__e.is-ok { color: var(--success); }

/* ---------- Таблица размеров (AD17) ---------- */
.tbl--sizes { table-layout: fixed; min-width: 520px; font-family: var(--f-body); font-variant-numeric: lining-nums tabular-nums; }
.tbl--sizes thead th { white-space: normal; vertical-align: bottom; }
.tbl--sizes tbody th { font: 600 17px/1 var(--f-body); }
.tbl--sizes .tbl__key { font-weight: 600; color: var(--text); background: rgba(199, 154, 111, .13); }
.tbl--sizes thead .tbl__key { color: var(--cognac); }
.tbl--sizes tr.is-hl .tbl__key { background: transparent; color: var(--on-espresso); }

/* ---------- Карточка товара (AD5, AD6, AD7, AD22, QA2, QA19) ---------- */
.pd__fitl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); }
.pd__fitlnk { font-size: 13px; color: var(--espresso-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color var(--t); }
.pd__fitlnk:hover { color: var(--accent); }
.pd__fitl + .pd__block { margin-top: 13px; padding-top: 0; border-top: 0; }
.pd__try { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--espresso-soft); }
.pd__try .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--cognac); }
.pd__try a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cognac-light); text-underline-offset: 3px; transition: color var(--t); }
.pd__try a:hover { color: var(--accent); }
.pd__fitfull { display: grid; gap: 13px; width: 100%; }
.pd__fitfull .fitscale { padding: 21px; background: var(--surface); border: 1px solid var(--line); }
.rvlist__more { margin-top: 21px; padding-top: 21px; border-top: 1px solid var(--line); font: 400 11px/1.4 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.notify__row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 8px; }
.notify__row input, .notify__row select, .notify__row .btn { min-height: 44px; }
.notify__e { margin-top: 8px; font-size: 13px; color: var(--danger); }
@media (min-width: 901px) {
  .gal__it:first-child { aspect-ratio: auto; height: clamp(520px, calc(100vh - var(--hdr) - 105px), 983px); }
  .gal__it:first-child img { object-position: 50% 70%; }
}
.pbar { display: none; }

/* ---------- Каталог (AD18, QA8–QA10) ---------- */
.phead--cat { grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); padding: 21px 0; }
.phead__tl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; min-width: 0; }
.phead__n { font: 500 11px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.phead--cat .phead__p { justify-self: end; }
.tabs a.is-zero { opacity: .45; }
.ck.is-zero, .rd.is-zero, .szc.is-zero { opacity: .45; }
.cat__qnote { margin: 0 0 21px; font-size: 13.5px; line-height: 1.55; color: var(--espresso-soft); }
.cat__qnote a, .cat__qnote button { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Корзина и оформление (QA1, QA3, QA4, QA15, AD21) ---------- */
.codes__hint { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sum__code { font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.sum__left { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sum__dl > .sum__wide { flex-direction: column; gap: 4px; }
.sum__wide dd { white-space: normal; font-weight: 500; color: var(--espresso-soft); }
.co__hint--city { margin-top: -4px; }
.cl--gift .cl__m { line-height: 1.5; }
.ml__one { font-size: 12.5px; color: var(--muted); }
.okp__gifts { display: grid; gap: 8px; width: 100%; text-align: left; }
.okp__gifts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 13px; padding: 16px 21px; background: var(--surface); border: 1px solid var(--line); }
.okp__gifts .ic { margin-top: 2px; color: var(--cognac); }
.okp__gifts li > div { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.okp__gifts li > div > span { font-size: 13px; color: var(--espresso-soft); overflow-wrap: anywhere; }
.okp__code { margin-top: 4px; }
.okp__code b { color: var(--text); }

/* ---------- Шоурум: запись по чипам дней (AD16, QA5, QA13) и схема прохода (AD11) ---------- */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.day { position: relative; cursor: pointer; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.day span { display: grid; align-content: center; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 4px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; line-height: 1.2; text-align: center; transition: background var(--t), color var(--t), border-color var(--t); }
.day b { font-weight: 600; font-size: 12px; }
.day:hover span { border-color: var(--text); }
.day input:checked + span { background: var(--espresso); color: var(--on-espresso); border-color: var(--espresso); }
.day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.slot.is-off { cursor: not-allowed; }
.slot.is-off span { color: #BCAE9C; background: transparent; border-color: var(--line); text-decoration: line-through; text-decoration-color: rgba(110, 94, 82, .5); }
.slot.is-off:hover span { border-color: var(--line); }
.r-step circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.r-step text { font: 600 17px var(--f-body); fill: var(--on-accent); text-anchor: middle; }
.r-sm { font-size: 11.5px; text-anchor: start; }
.r-pin-t { font-size: 12px; }
.r-door { stroke: var(--cognac); }
.r-pin circle:first-child { stroke: var(--cognac); fill: var(--cognac); }
.route__ya { margin-top: -8px; }

/* ---------- Сертификаты: номиналы сеткой (AD24) ---------- */
.noms .nom span { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .toolbar { position: sticky; top: var(--hdr); z-index: 20; margin: 0 calc(-1 * var(--gut)) 13px; padding: 6px var(--gut); background: rgba(245, 240, 232, .97); border-bottom: 1px solid var(--line); }
  .hero__t { padding: 34px 34px 72px var(--gut); }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__fig { order: -1; height: 55vh; min-height: 300px; max-height: 620px; }
  @supports (height: 55svh) { .hero__fig { height: 55svh; } }
  .hero__t { gap: 21px; padding: 21px var(--gut) 34px; }
  .hero__card { display: none; }
  .hero__mcap { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
  .hero__mcap a { display: flex; align-items: center; gap: 10px; padding: 12px var(--gut); background: rgba(251, 248, 243, .93); font-size: 13px; line-height: 1.35; color: var(--text); }
  .hero__mcap a > span:first-child { flex: 1; min-width: 0; }
  .hero__mcap .price { font-size: 14px; }
  .hero__mcap .ic { width: 16px; height: 16px; color: var(--cognac); }
  .hton { grid-template-columns: minmax(0, 1fr); }
  .hton__img { aspect-ratio: 4 / 3; }
  .args { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
  .args li + li { border-left: 0; border-top: 1px solid var(--line); }
  .args a, .args li + li a { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  .args__n { grid-row: auto; font-size: 28px; }
  .phead--cat { grid-template-columns: minmax(0, 1fr); }
  .pd__desc { border-top: 0; }
  .dolw { padding: 34px 21px; gap: 21px 34px; }
  .pbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; align-items: center; gap: 13px; padding: 8px var(--gut); padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 24px rgba(42, 30, 23, .08); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .pbar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
  .pbar__i { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 2px; }
  .pbar__i .price { font-size: 17px; }
  .pbar__sz { max-width: 100%; min-height: 22px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  button.pbar__sz { text-decoration: underline; text-underline-offset: 3px; }
  .pbar__b { flex: none; min-height: 48px; padding: 0 21px; }
  .pbar__b .ic { width: 18px; height: 18px; }
  html.has-pbar body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .hero__copy .eyebrow { margin-bottom: 13px; }
  .hero__h { font-size: clamp(36px, 10.4vw, 46px); }
  .hero__b2 { display: none; }
  .hero__btns { order: 2; margin-top: 21px; }
  .hero__btns .btn { width: 100%; }
  .hero__lead { order: 3; margin-top: 21px; font-size: 15.5px; }
  .steps--row { grid-template-columns: minmax(0, 1fr); }
  .dolw { grid-template-columns: minmax(0, 1fr); padding: 21px; }
  .dolw__p { grid-template-columns: 64px minmax(0, 1fr); column-gap: 13px; align-items: center; justify-items: start; }
  .dolw__img { grid-column: 1; grid-row: 1 / 3; }
  .dolw__n { align-self: end; }
  .dolw__p .price { align-self: start; }
  .dolw .doltl { grid-template-columns: 1fr 1fr; row-gap: 21px; padding-top: 21px; }
  .dolw .doltl li:nth-child(2n)::before { display: none; }
  .fitchip__w { display: none; }
  .crumbs { padding-top: 13px; }
  .phead--cat { padding: 8px 0 13px; gap: 0; }
  .phead--cat .phead__p { display: none; }
  .phead--cat .h1 { font-size: 34px; }
  .tabs { margin-bottom: 8px; }
  .tabs a { padding: 12px 0; }
  .toolbar { flex-wrap: nowrap; }
  .toolbar__s { width: auto; order: 0; }
  .notify__row { grid-template-columns: 76px minmax(0, 1fr); }
  .notify__row .btn { grid-column: 1 / -1; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .day span { min-height: 52px; padding: 6px 2px; font-size: 12px; }
  .day b { font-size: 11px; }
  .route__fig { margin: 0 calc(-1 * var(--gut)); }
  .route__svg { border-left: 0; border-right: 0; }
  .route__fig figcaption { padding: 0 var(--gut); }
  .r-street { font-size: 21px; letter-spacing: .04em; }
  .r-sm { font-size: 19px; letter-spacing: .02em; }
  .r-pin-t { font-size: 20px; letter-spacing: .02em; }
  .r-house-t { font-size: 34px; }
  .r-step circle { r: 24px; }
  .r-step text { font-size: 21px; }
  .r-n text { font-size: 20px; }
  .card__badges .badge { white-space: nowrap; }
}

/* AD15: хлебные крошки — навигация, набираем Manrope */
.crumbs ol { font: 500 10.5px/1.4 var(--f-body); letter-spacing: .1em; }
/* Подписка «сообщить о 42-м» на телефоне: поле во всю ширину, кнопка под ним */
@media (max-width: 600px) {
  .mnf .inrow { flex-wrap: wrap; }
  .mnf .inrow input, .mnf .inrow .btn { flex: 1 1 100%; }
}

/* AD2: номинал в превью сертификата — как все суммы, Manrope 600 */
.gcard__sum { font: 600 clamp(32px, 3.2vw, 46px)/1 var(--f-body); letter-spacing: -.01em; }

/* V-1 (приёмка волны B): в тёмной полосе пара — на той же кремовой подложке, что и везде; на #3A2B22 multiply делал её мутной */
.band--dark .card__media { background: #F8F2E9; }
/* V-2, V-3: узкий телефон — длинные подписи кнопок подбора размера и «Избранного» переносятся, а не распирают блок */
@media (max-width: 560px) {
  .res__cta, .modal .res__cta, .finder--compact .res__cta { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .res__cta .btn, .modal .res__cta .btn { white-space: normal; text-align: center; line-height: 1.3; padding: 10px 14px; width: 100%; flex: none; }
}
@media (max-width: 400px) {
  .favband > * { min-width: 0; }
  .favband .btn { white-space: normal; text-align: center; line-height: 1.3; width: 100%; justify-self: stretch; padding: 10px 14px; }
}
/* V-4: isolation у кадра (AD19) сделала его отдельным слоем ниже растянутой ссылки названия (z 1) — сердечко и
   «быстрый размер» перестали нажиматься. Кадр — над ссылкой: клик по фото и так ведёт на товар (a.card__img). */
.card__media { z-index: 2; }
/* 320–360 px (проверка при закрытии): без прокрутки вбок — график оплаты долями в две колонки, длинные слова и подписи */
@media (max-width: 560px) {
  .dolcard .doltl { grid-template-columns: 1fr 1fr; row-gap: 21px; }
  .dolcard .doltl li:nth-child(2n)::before { display: none; }
}
@media (max-width: 400px) { .seg__in span { white-space: normal; text-align: center; padding: 8px 12px; } }
@media (max-width: 359px) {
  .card__name { font-size: 17px; overflow-wrap: break-word; hyphens: auto; }
  .mtl__t .h3 { font-size: 26px; overflow-wrap: break-word; hyphens: auto; }
  .mtl .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumbs__n { font-size: 14px; overflow-wrap: break-word; hyphens: auto; }
}
/* 360–400 px: длинные слова в названии и подписи карточки, подписи «Маломерит / Большемерит», быстрый выбор размера в 2 ряда */
@media (max-width: 400px) {
  .card__name, .card__meta { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
  .seg__in span { padding: 8px 6px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
  .card__qs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
