/* Turatbekoff — макет. Токены → компоненты → страницы */
:root {
  --brand: #12426c;
  --brand-ink: #0c2f4f;
  --brand-soft: #e8eef5;
  --bg: #f6f4f0;
  --surface: #ffffff;
  --ink: #1b1b1b;
  --muted: #5f5a54;
  --line: #e4dfd7;
  --accent: #a9824a;
  --wa: #15803d;
  --sale: #b42318;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 40, .06), 0 8px 24px rgba(20, 30, 40, .06);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font); font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; }
h1, h2, h3 { margin: 0; }
h2.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Mockup ribbon */
.mock-note { background: #fff7e0; color: #6b4e00; font-size: 13px; text-align: center; padding: 6px 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #116a32; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link { color: var(--brand); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; }

/* Header */
.topbar { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar .wrap { display: flex; gap: 20px; align-items: center; min-height: 40px; }
.topbar a:hover { color: var(--ink); }
.city { display: inline-flex; gap: 4px; align-items: center; }
.city button { border: 0; background: none; padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.city button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.topbar .spacer { flex: 1; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 40px; }
.logo b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.logo small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: -4px; }
.nav { display: flex; gap: 22px; font-weight: 500; font-size: 15px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--brand); }
.header .tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; position: relative; }
.icon-btn:hover { border-color: var(--ink); }
[hidden] { display: none !important; }
.badge-count { position: absolute; top: -2px; right: -2px; background: var(--brand); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; }

/* Hero */
.hero { position: relative; padding: 32px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: stretch; }
.hero-copy { background: var(--surface); border-radius: 24px; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; gap: 20px; box-shadow: var(--shadow); }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5.2vw, 68px); line-height: 1; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { border-radius: 24px; overflow: hidden; position: relative; min-height: 440px; background: #ddd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-media .tag { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.trust div { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; }
.trust b { display: block; font-size: 24px; font-weight: 700; color: var(--brand); }
.trust span { font-size: 13px; color: var(--muted); }
.stars { color: #e3a008; letter-spacing: 1px; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat { background: var(--surface); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s var(--ease); min-height: 190px; }
.cat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat img { height: 110px; width: 100%; object-fit: contain; }
.cat b { font-weight: 600; }
.cat span { font-size: 13px; color: var(--muted); }
.cat.custom { background: var(--brand); color: #fff; justify-content: space-between; }
.cat.custom span { color: #c9d6e4; }

/* Product card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; position: relative; }
.card:hover { box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12px; background: #fff; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.card-body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-type { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card-name { font-weight: 700; font-size: 18px; }
.card-dims { font-size: 13px; color: var(--muted); }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.card-price b { font-size: 20px; }
.card-price small { color: var(--muted); font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.chip-row { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); display: grid; place-items: center; }
.fav[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); }

/* Swatches */
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { width: 28px; height: 28px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background-size: cover; padding: 0; transition: box-shadow .15s, transform .15s; position: relative; }
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.sw::after { content: ""; position: absolute; inset: -8px; } /* touch area ≥44px */
.swatches.lg .sw { width: 44px; height: 44px; }

/* Feature: fabric demo */
.fabric-demo { background: var(--surface); border-radius: 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 32px; align-items: center; }
.fabric-demo .stage { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.fabric-demo .stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.fabric-demo h2 { margin-bottom: 12px; }
.fabric-name { font-weight: 600; margin: 14px 0 20px; }

/* Advantages */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv div { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.adv .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.adv .ic .icon { width: 24px; height: 24px; }
.adv b { display: block; font-size: 17px; margin-bottom: 6px; }
.adv p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-display); font-size: 40px; color: var(--accent); font-weight: 600; display: block; line-height: 1; margin-bottom: 12px; }
.step b { display: block; margin-bottom: 6px; }
.step p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.step small { font-weight: 600; color: var(--brand); }

/* Quiz banner */
.quiz-banner { background: var(--brand); color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.quiz-banner h2 { color: #fff; }
.quiz-banner p { color: #c9d6e4; margin: 12px 0 0; }
.quiz-banner ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.quiz-banner li { display: flex; gap: 10px; align-items: center; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: 16px; }
.rating-card { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rating-card .big { font-size: 56px; font-weight: 700; line-height: 1; }
.rating-src { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.rating-src .logo2gis { width: 36px; height: 36px; border-radius: 8px; background: #19aa1e; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.review header { display: flex; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.review p { margin: 0; }
.review-list .review { min-height: 0; }
.review footer { margin-top: auto; font-size: 13px; color: var(--muted); }

/* Showrooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.room { background: var(--surface); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.room h3 { font-size: 22px; }
.room dl { margin: 0; display: grid; grid-template-columns: 24px 1fr; gap: 10px 12px; font-size: 15px; }
.room dt { color: var(--brand); }
.room dd { margin: 0; }
.room .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.map-ph { height: 180px; border-radius: 12px; background: linear-gradient(135deg, #e9e5dd 25%, #efece6 25% 50%, #e9e5dd 50% 75%, #efece6 75%); background-size: 24px 24px; display: grid; place-items: center; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.footer { background: #0f2236; color: #c3cfdb; padding: 48px 0 96px; margin-top: 56px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer b { color: #fff; display: block; margin-bottom: 12px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .legal { border-top: 1px solid #23384e; margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Floating WhatsApp + mobile bar */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 999px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(21, 128, 61, .35); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.mbar { display: none; }

/* Catalog page */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; margin: 4px 0 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 500; min-height: 44px; }
.chips > a { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.chips button[aria-pressed="true"], .chips > a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips > a[aria-current] .muted { color: #cfcfcf; }
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filters { background: var(--surface); border-radius: var(--radius); padding: 20px; position: sticky; top: 88px; display: grid; gap: 20px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.filters legend { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.filters label { display: flex; gap: 10px; align-items: center; font-size: 15px; min-height: 32px; cursor: pointer; }
.filters input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); }
.range { display: flex; gap: 8px; }
.range input { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.toolbar select { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 14px; background: var(--surface); }
.catalog .grid { grid-template-columns: repeat(3, 1fr); }
.empty { background: var(--surface); border-radius: var(--radius); padding: 40px; text-align: center; grid-column: 1 / -1; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; padding-bottom: 24px; }
.gallery { position: sticky; top: 88px; display: grid; gap: 12px; }
.gallery .main { background: var(--surface); border-radius: 20px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; position: relative; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.gallery .note { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 4px 10px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 92px; height: 70px; border-radius: 10px; border: 2px solid transparent; background: var(--surface); padding: 4px; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy { display: grid; gap: 20px; }
.buy h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 4.5vw, 56px); line-height: 1; }
.buy .sub { color: var(--muted); }
.box { background: var(--surface); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.box h3 { font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.box h3 span { font-weight: 500; color: var(--muted); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg a, .seg span { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; display: grid; gap: 2px; min-width: 120px; }
.seg a:hover { border-color: var(--ink); }
.seg [aria-current] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg small { color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-row b { font-size: 34px; font-weight: 700; }
.installment { display: flex; gap: 10px; align-items: center; background: var(--brand-soft); color: var(--brand); padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.dims div { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.dims b { display: block; font-size: 18px; }
.dims span { font-size: 12px; color: var(--muted); }
.opts label { display: flex; gap: 10px; align-items: center; font-size: 15px; min-height: 36px; }
.opts input { width: 18px; height: 18px; accent-color: var(--brand); }
.cta-col { display: grid; gap: 10px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; }
.perks div { display: flex; gap: 8px; align-items: center; }
.perks .icon { color: var(--brand); }
.tabs { display: grid; gap: 10px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(10, 20, 30, .5); padding: 16px; }
.modal[open] { display: grid; }
.modal-card { background: var(--surface); border-radius: 20px; width: min(560px, 100%); max-height: 92dvh; overflow: auto; padding: 28px; position: relative; animation: pop .24s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close { position: absolute; top: 12px; right: 12px; }
.quiz-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 12px 0 20px; }
.quiz-progress i { display: block; height: 100%; background: var(--brand); transition: width .25s var(--ease); }
.opts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: left; background: var(--surface); min-height: 56px; font-weight: 500; }
.opt:hover, .opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font: inherit; font-weight: 400; }
.consent { font-size: 12px; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .burger { display: inline-grid; }
}
@media (max-width: 900px) {
  .hero-grid, .fabric-demo, .quiz-banner, .pdp, .reviews, .catalog { grid-template-columns: 1fr; }
  .hero-media { min-height: 300px; order: -1; }
  .hero-copy { padding: 28px 22px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .adv, .steps, .review-list { grid-template-columns: 1fr 1fr; }
  .rooms { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .gallery { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .catalog .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar .hide-m { display: none; }
  .grid, .catalog .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 4px 12px 12px; }
  .card-name { font-size: 16px; }
  .card-price b { font-size: 17px; }
  .sw { width: 22px; height: 22px; }
  .chip-row .chip:nth-child(n+2) { display: none; }
  .card-media { aspect-ratio: 4 / 3; padding: 8px; }
  .cats { grid-template-columns: 1fr 1fr; }
  .adv, .steps, .review-list, .opts-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .quiz-banner, .fabric-demo { padding: 24px; }
  .logo small { display: none; }
  .header .tools .hide-m { display: none; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; min-height: 48px; align-content: center; }
  .mbar a.wa { color: var(--wa); font-weight: 700; }
  .dims b { font-size: 16px; }
  .perks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- дополнения для рабочего сайта ---- */
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.promo-bar { background: var(--brand); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; }
.promo-bar a { text-decoration: underline; }
.lang a { padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.chat-btn { position: fixed; right: 20px; bottom: 92px; z-index: 50; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; border: 0;
  background: var(--brand); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; box-shadow: var(--shadow); }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { font-family: var(--font-display); font-size: 32px; margin: 32px 0 12px; }
.prose a { color: var(--brand); text-decoration: underline; }
.filters-toggle { display: none; }
.msg-ok { background: #ecfdf3; color: #14532d; border-radius: 12px; padding: 14px 16px; }
.msg-err { color: var(--sale); font-size: 14px; margin: 6px 0 0; }
.field select { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: #fff; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.tryon-btn { border-style: dashed; }
.price-row .old { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.lead-time { font-size: 14px; color: var(--muted); }
.page-head { padding-bottom: 8px; }
.seo-text { margin-top: 32px; color: var(--muted); max-width: 900px; font-size: 15px; }
.rooms-map { width: 100%; height: 220px; border: 0; border-radius: 12px; }
.map-ph { cursor: pointer; border: 0; width: 100%; font: inherit; }
@media (max-width: 900px) {
  .filters-toggle { display: inline-flex; }
  .filters.open { display: grid; }
}
@media (max-width: 640px) {
  .chat-btn { bottom: 76px; right: 12px; height: 48px; }
  .chat-btn span { display: none; }
}
.topbar [data-phone] { white-space: nowrap; }
.opts label { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
@media (max-width: 640px) {
  .topbar .wrap { gap: 10px; }
  .topbar .city button, .lang a { padding: 4px 6px; }
}

.gis-map { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #ece9e3; }
.gis-tiles { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; }
.gis-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
.gis-pin { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -30px 0 0 -15px; border-radius: 50% 50% 50% 0;
  background: var(--brand); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.gis-pin::after { content: ""; position: absolute; left: 9px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.gis-copy { position: absolute; right: 6px; bottom: 4px; font-size: 11px; background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 6px; color: #333; }

/* v3: разделы «скоро», «Премиум», сноски, заглушка раздела, языки */
.badge-soon { display: inline-block; align-self: flex-start; font-size: 12px !important; font-weight: 600; color: #8a5a00 !important; background: #f6ead0; border-radius: 99px; padding: 3px 10px; }
.cats .cat.custom { grid-column: span var(--span5, 1); }
.chip.premium { background: #1d2633; color: #e9c97f; font-weight: 700; letter-spacing: .02em; }
.eyebrow .chip.premium { vertical-align: middle; margin-left: 6px; font-size: 11px; padding: 3px 9px; }
.adv .fn { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.perks .wide { grid-column: 1 / -1; align-items: flex-start; }
.perks .wide .icon { margin-top: 2px; flex: 0 0 auto; }
.perks .fn { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.stub { background: var(--surface); border-radius: var(--radius); padding: 28px 24px 36px; text-align: center; max-width: 760px; margin: 8px auto 0; }
.stub img { width: 100%; height: 260px; object-fit: contain; display: block; margin: 0 auto 18px; }
.stub h2 { font-size: 26px; margin: 0 0 10px; }
.stub p { color: var(--muted); margin: 0 auto 22px; max-width: 560px; font-size: 16px; }
.stub .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stub .see { margin-top: 24px; font-size: 15px; }
.stub .see a { margin: 0 6px; }
.lang .l-short { display: none; }
@media (max-width: 1100px) { .cats .cat.custom { grid-column: span var(--span3, 1); } }
@media (max-width: 640px) {
  .cats .cat.custom { grid-column: span var(--span2, 1); }
  .lang .l-long { display: none; }
  .lang .l-short { display: inline; }
  .stub img { height: 200px; }
}

/* фото покупателей: слайдер, сетка, просмотр на весь экран */
.pj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pj-nav { display: flex; gap: 8px; align-items: center; }
.pj-nav .link { margin-right: 8px; }
.pj-btn { width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; cursor: pointer; color: var(--ink); }
.pj-btn:disabled { opacity: .35; cursor: default; }
.pj-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pj-track::-webkit-scrollbar { display: none; }
.pj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pj { margin: 0; scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); overflow: hidden; position: relative; }
.pj-img { display: block; }
.pj img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 62%; display: block; transition: transform .4s var(--ease); }
.pj-img { overflow: hidden; }
.pj:hover img { transform: scale(1.03); }
.pj figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.pj figcaption a { color: var(--brand); text-decoration: underline; }
.pj-meta { color: var(--muted); font-size: 12px; }
.pj-q { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pj-a { color: var(--muted); font-size: 12px; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 14, 18, .94); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 8px; user-select: none; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; }
.lb-x { top: 16px; right: 16px; font-size: 28px !important; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 16px; color: #ddd; font-size: 14px; padding: 0 16px; text-align: center; }
@media (max-width: 1100px) { .pj-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } .pj-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .pj-track { grid-auto-columns: 84%; }
  .pj-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pj-grid .pj-q, .pj-grid .pj-a { display: none; }
  .pj-btn { display: none; }
  .pj-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lb-prev, .lb-next { display: none; }
}
