@font-face{font-family:'Prata';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/prata-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Prata';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/prata-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/manrope-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/manrope-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/manrope-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/manrope-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root {
  --bg: #f5f3ef;
  --stage: #f1efeb;
  --paper: #fffefc;
  --ink: #1f1c18;
  --muted: #776f66;
  --line: #e3ded6;
  --line-2: #d4cdc2;
  --accent: #8a6a45;
  --accent-2: #b8996c;
  --wa: #1f6e50;
  --r: 16px;
  --title: 'Prata', 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--title); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 20px; }
.frame { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main, main:focus, main:focus-visible { outline: none; }
main { min-height: 70vh; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 14px 0 0; }
.muted { color: var(--muted); font-size: 13px; margin: 0; }

/* ── Шапка */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 243, 239, 0.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo b { font: 400 23px/1 var(--title); letter-spacing: 0.2em; }
.logo small { font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 13px; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover { background: rgba(31, 28, 24, 0.05); }
.nav a.on { background: var(--ink); color: #fff; }
.nav-fav b { background: var(--accent); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0 5px; }

/* ── Главная */
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; padding-top: 44px; padding-bottom: 30px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 600px; }
.entry { display: grid; gap: 10px; margin-top: 30px; max-width: 560px; }
.entry-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; background: var(--paper); transition: border-color 0.2s, transform 0.2s; }
.entry-link:hover { border-color: var(--ink); transform: translateY(-1px); }
.entry-link span { display: flex; flex-direction: column; }
.entry-link strong { font-weight: 600; font-size: 16px; }
.entry-link small { color: var(--muted); font-size: 13px; }
.entry-link i { font-style: normal; font-size: 20px; color: var(--accent); }
.entry-link.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.entry-link.primary small, .entry-link.primary i { color: #d8cfc2; }
.hero-stage .stage { aspect-ratio: 1 / 1; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.stage-link { font-size: 14px; font-weight: 600; text-decoration: none; }
.stage-link:hover { color: var(--accent); }
.block { padding-top: 56px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.block-head a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--accent); }
.styles-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.styles-row.three { grid-template-columns: repeat(3, 1fr); }
.style-card { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.style-card img { width: 100%; height: auto; border-radius: var(--r); background: var(--stage); aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; transition: transform 0.3s; }
.style-card:hover img { transform: scale(1.015); }
.style-card b { font: 400 18px/1.2 var(--title); }
.style-card small { color: var(--muted); font-size: 13px; }
.how h2 { margin-bottom: 20px; }
.steps-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.steps-row li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; counter-increment: s; display: flex; flex-direction: column; gap: 6px; }
.steps-row li::before { content: counter(s); font: 400 30px/1 var(--title); color: var(--accent-2); }
.steps-row b { font-size: 17px; font-weight: 600; }
.steps-row span { color: var(--muted); font-size: 14px; }
.try-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.try-band > div { background: transparent; }
.try-band p { color: var(--muted); max-width: 640px; margin: 8px 0 0; }

/* ── 3D-сцена */
.stage { position: relative; background: var(--stage); border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; }
.stage-inner, .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { object-fit: cover; transition: opacity 0.4s; }
.stage.ready .stage-fallback { opacity: 0; pointer-events: none; }
.viewer-canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.is-grabbing .viewer-canvas { cursor: grabbing; }
.stage-load { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.7); padding: 6px 12px; border-radius: 999px; }
.stage.ready .stage-load, .stage.no-gl .stage-load { display: none; }
.stage.no-gl::after { content: '3D недоступно в этом браузере — показан снимок модели'; position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.stage-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.hint { font-size: 12.5px; color: var(--muted); }
.tools { display: flex; gap: 6px; }
.tools button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500; }
.tools button:hover { border-color: var(--ink); }

/* ── Каталог */
.page-head { padding-top: 40px; padding-bottom: 8px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px auto 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 18px; }
.card { position: relative; }
.card-link { text-decoration: none; display: block; }
.card-img { border-radius: var(--r); overflow: hidden; background: var(--stage); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card-link:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 12px 2px 0; }
.card-body h3 { font-size: 20px; }
.card-body p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.card-body .card-price { color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 6px; }
.fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.86); font-size: 18px; line-height: 1; color: var(--ink); display: grid; place-items: center; }
.fav.on { color: #b0413e; }
.card-build { border: 1.5px dashed var(--line-2); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; text-decoration: none; min-height: 300px; }
.card-build b { font: 400 22px/1.2 var(--title); }
.card-build small { color: var(--muted); max-width: 200px; }
.card-build .btn { margin-top: 10px; }
.card-build-ico .cut-ico { width: 64px; height: 64px; }

/* ── Кнопки, чипы */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 14.5px; line-height: 1.2; text-align: center; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #3a342d; }
.btn.ghost { border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn.wa-btn { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa-btn:hover { background: #17573f; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: progress; }
.chip { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color 0.15s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seg { display: flex; gap: 6px; margin-top: 10px; }
.seg.hide { display: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 5px 13px 5px 5px; font-size: 13.5px; font-weight: 500; }
.swatch i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.swatch.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches.small .swatch { padding: 4px; }
.swatches.small .swatch i { width: 26px; height: 26px; }
.mini-link { font-size: 12.5px; color: var(--accent); }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Страница изделия */
.product { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr); gap: 44px; padding-top: 28px; align-items: start; }
.product-stage { position: sticky; top: 90px; }
.product-panel { padding-bottom: 20px; }
.back { display: inline-block; font-size: 13.5px; text-decoration: none; color: var(--muted); margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.product-panel h1 { font-size: clamp(32px, 3.6vw, 44px); }
.note { color: var(--muted); margin: 10px 0 0; }
.price-box { margin: 22px 0 6px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.price-label { font-size: 13px; color: var(--muted); }
.price { font: 400 34px/1.1 var(--title); }
.price-sub { color: var(--muted); font-size: 13px; margin-top: 6px; }
.price-parts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.price-parts span::before { content: '·'; margin-right: 6px; color: var(--accent-2); }
.opt { margin-top: 22px; }
.opt-head { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.opt-head span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 13.5px; }
.opt-inline select { border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; background: var(--paper); min-width: 120px; margin-right: 12px; }
.spec { margin: 26px 0 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.actions .btn.primary, .actions .wa-btn { grid-column: span 1; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perks li { font-size: 13px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.perks b { display: block; color: var(--ink); font-weight: 600; }

/* ── Конструктор */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 20px; }
.steps button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 12px; padding: 10px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-align: left; }
.steps button i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--stage); font-size: 12px; flex: none; }
.steps button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.steps button.on i { background: #fff; color: var(--ink); }
.cuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cut { border: 1px solid var(--line-2); background: var(--paper); border-radius: 12px; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; }
.cut.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cut-ico { width: 40px; height: 40px; }
.cut-ico path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.cut-ico path.in { stroke: var(--accent-2); stroke-width: 0.9; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.setting { border: 1px solid var(--line-2); background: var(--paper); border-radius: 12px; padding: 12px 14px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.setting b { font-weight: 600; font-size: 14.5px; }
.setting small { color: var(--muted); font-size: 12.5px; }
.setting.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.builder .btn.primary.wide { margin-top: 24px; }
.row-btns { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.builder .actions + .btn { margin-top: 12px; }

/* ── Своя модель */
.try .drop { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--line-2); border-radius: 22px; cursor: pointer; text-align: center; padding: 20px; transition: background 0.2s; }
.try .drop b { font: 400 22px/1.2 var(--title); }
.try .drop span { color: var(--muted); font-size: 14px; }
.try .drop.over { background: rgba(138, 106, 69, 0.08); border-color: var(--accent); }
.product-stage:has(.stage.loaded) .drop { inset: auto; top: 12px; left: 12px; right: auto; aspect-ratio: auto; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); flex-direction: row; }
.product-stage:has(.stage.loaded) .drop b { font: 600 13px/1.2 var(--body); }
.product-stage:has(.stage.loaded) .drop span { display: none; }
.mesh-list { display: grid; gap: 6px; max-height: 340px; overflow: auto; }
.mesh { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.mesh .seg { margin: 0; }
.mesh .chip { padding: 4px 10px; font-size: 12.5px; }
.samples { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.samples li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.samples a { color: var(--muted); font-size: 12.5px; }

/* ── Шоурум */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 40px; align-items: start; }
.contacts { margin: 26px 0 0; display: grid; gap: 14px; }
.contacts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contacts dd { margin: 2px 0 0; font-size: 16px; }
.my-visits { margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.my-visits h3 { font-size: 18px; margin-bottom: 8px; }
.my-visits p { margin: 6px 0; font-size: 14px; }
.my-visits small { color: var(--muted); }
.visit-form { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.visit-form fieldset { border: 0; padding: 0; margin: 0; }
.visit-form legend, .visit-form label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.visit-form label { display: grid; gap: 6px; margin: 0; }
.visit-form input, .visit-form select, .visit-form textarea { font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: #fff; width: 100%; }
.visit-form .bad { border-color: #b0413e; background: #fff7f6; }
.visit-form .check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13.5px; }
.visit-form .check input { width: auto; }
.for-box { background: var(--stage); border-radius: 12px; padding: 12px 14px; display: grid; }
.for-box small { color: var(--muted); font-size: 12px; }
.form-note { color: var(--muted); font-size: 12.5px; margin: 0; }
.done { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 20px 0; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 26px; }
.saved-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.empty { display: flex; gap: 10px; margin-top: 20px; }

/* ── WhatsApp-окно и уведомления */
dialog.wa { border: 0; padding: 0; background: transparent; max-width: 440px; width: calc(100% - 24px); }
dialog.wa::backdrop { background: rgba(20, 18, 15, 0.45); }
.wa-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.wa-head { background: #0f4b39; color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.wa-head small { display: block; color: #bfe3d4; font-size: 12px; }
.wa-ava { width: 38px; height: 38px; border-radius: 50%; background: #e9dfcf; color: var(--ink); display: grid; place-items: center; font-family: var(--title); font-size: 18px; flex: none; }
.wa-x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; }
.wa-body { background: #efe7dc; padding: 18px 16px; max-height: 50vh; overflow: auto; }
.wa-bubble { background: #d9fdd3; border-radius: 12px 12px 4px 12px; padding: 10px 12px; font-size: 14px; margin-left: 30px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); word-break: break-word; }
.wa-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 6px; }
.wa-note { color: var(--muted); font-size: 12px; padding: 0 16px 16px; margin: 6px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Подвал */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 36px 0 40px; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.footer-in p { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; max-width: 380px; }
.footer-in nav { display: grid; gap: 6px; font-size: 14px; }
.footer-in nav a { text-decoration: none; }
.footer-in nav a:hover { color: var(--accent); }
.footer-in .demo-note { max-width: none; grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }

@media (max-width: 1100px) {
  .styles-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .frame { padding: 0 18px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 26px; }
  .hero-stage { order: -1; }
  .product, .visit { grid-template-columns: 1fr; gap: 24px; }
  .product-stage { position: static; }
  .styles-row, .styles-row.three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .style-card { flex: 0 0 62%; scroll-snap-align: start; }
  .styles-row.three .style-card { flex-basis: 70%; }
  .steps-row { grid-template-columns: 1fr; }
  .try-band { flex-direction: column; align-items: flex-start; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .header-in { height: auto; padding-top: 10px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
  .nav { width: 100%; overflow-x: auto; margin: 0 -6px; padding-bottom: 2px; }
  .nav a { padding: 7px 11px; font-size: 13.5px; }
  .nav .t { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .card-body h3 { font-size: 17px; }
  .card-body p { font-size: 12.5px; }
  .card-build { min-height: 0; grid-column: 1 / -1; }
  .actions, .perks, .settings, .samples, .wa-actions { grid-template-columns: 1fr; }
  .cuts { grid-template-columns: repeat(4, 1fr); }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .steps button { font-size: 12px; padding: 8px; }
  .visit-form { padding: 20px; }
  .tools button { padding: 6px 10px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
