/* ==========================================================================
   ПК «ВИКИНГ» · Стеновые панели на заказ — стили тематической страницы
   Дизайн-система совпадает с основным сайтом (палитра, шрифты, радиусы 2–3px)
   ========================================================================== */
:root {
  --ink: #27241f;
  --muted: #777169;
  --line: #ded8ce;
  --paper: #f7f5f1;
  --card: #fffdf9;
  --accent: #83735b;
  --accent-dark: #675943;
  --dark: #1e1b18;
  --sand: #dfceb4;
  --sand-2: #c4b299;
  --ok: #3b6e4c;
  --err: #a74e42;
  --wa: #2e6f40;
  --tg: #246a99;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--sand); }
.badge { padding: 2px 8px; background: var(--accent); color: #fff; border-radius: 2px; letter-spacing: 0.08em; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.2; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 680px; margin: 18px 0 0; }

.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section--card { background: var(--card); }
.section--dark { background: var(--dark); color: #f7f5f1; }
.section-head { display: grid; gap: 16px; margin-bottom: 36px; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.7); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.8); font-size: 12px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--sand); text-decoration: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; padding: 5px; object-fit: contain; background: var(--ink); border-radius: 2px; }
.brand strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: 0.08em; line-height: 1; }
.brand small { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

.nav { display: none; gap: 4px; }
.nav a {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
}
.nav a:hover { background: rgba(39, 36, 31, 0.06); color: var(--accent); }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 2px;
  cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--card); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; min-height: 44px; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* Breadcrumbs */
.crumbs { padding: 16px 0 0; font-size: 12px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--sand-2); }
.crumbs a { color: var(--accent-dark); text-decoration: none; }

/* Hero */
.hero { padding: 36px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: stretch; } }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.hero-facts div { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.hero-facts b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.hero-facts span { font-size: 12px; color: var(--muted); }
.hero-media { position: relative; min-height: 320px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: #eeeae2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  background: rgba(30, 27, 24, 0.85);
  color: #fff;
  font-size: 13px;
  border-radius: 2px;
}
.hero-media figcaption b { color: var(--sand); }

/* Quick answer (AEO) */
.answer {
  margin-top: 40px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 3px;
}
.answer h2 { font-size: 22px; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.answer p { margin: 10px 0 0; font-size: 15px; }

/* Types */
.types { display: grid; gap: 16px; }
@media (min-width: 700px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.type {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.type .swatch { height: 120px; border-bottom: 1px solid var(--line); }
.type .swatch svg { width: 100%; height: 100%; }
.type-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.type-body p { margin: 0; font-size: 14px; color: #3d3a34; }
.type dl { margin: 4px 0 0; font-size: 13px; display: grid; gap: 6px; }
.type dt { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.type dd { margin: 0; }
.type .price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--accent-dark); }

/* Tables */
.table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 3px; background: var(--card); }
.table-hint { display: block; margin-bottom: 8px; font-size: 11px; color: var(--muted); }
@media (min-width: 900px) { .table-hint { display: none; } }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--paper); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
tr.is-us td { background: rgba(131, 115, 91, 0.1); font-weight: 600; }
.source { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); font-weight: 400; }
.note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

/* Integration (dark) */
.integr { display: grid; gap: 24px; }
@media (min-width: 1024px) { .integr { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.integr-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .integr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.integr-item { padding: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 3px; }
.integr-item h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: #fff; }
.integr-item p { margin: 8px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.integr-media { position: relative; min-height: 300px; border-radius: 3px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); }
.integr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Calculator */
.calc { display: grid; gap: 24px; }
@media (min-width: 1024px) { .calc { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.calc-panel { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.calc-dark { padding: 24px; background: var(--ink); color: #fff; border-radius: 3px; }
@media (min-width: 1024px) { .calc-dark { position: sticky; top: 96px; } }
.field { display: block; margin-bottom: 18px; }
.field > span, .legend { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.field input[type='number'], .field input[type='text'], .field input[type='tel'], .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 15px;
}
.calc-dark .field input, .calc-dark .field textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.calc-dark .field input::placeholder, .calc-dark .field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(131, 115, 91, 0.18); }
.grid-2 { display: grid; gap: 12px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choices { display: grid; gap: 8px; margin-bottom: 18px; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; font-size: 13px; }
.choice input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice small { display: block; color: var(--muted); font-size: 11px; }
.estimate { margin: 0 0 20px; padding: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 2px; }
.estimate .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.estimate .value { display: block; margin-top: 4px; font-family: var(--mono); font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--sand); }
.estimate .sub { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); cursor: pointer; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: #fff; }
.form-error { min-height: 18px; margin: 0 0 12px; font-size: 12px; color: #f3b9ae; }
.form-note { margin: 12px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.55); }

/* Dispatch panel */
.dispatch { display: none; margin-top: 20px; padding: 20px; background: var(--card); color: var(--ink); border: 1px solid var(--accent); border-radius: 3px; }
.dispatch.is-visible { display: block; }
.dispatch h3 { font-size: 24px; }
.dispatch .ok { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ok); }
.channels { display: grid; gap: 8px; margin: 14px 0; }
@media (min-width: 560px) { .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.channel { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.channel small { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.channel--mail:hover { border-color: var(--accent); }
.channel--wa:hover { border-color: var(--wa); color: var(--wa); }
.channel--tg:hover { border-color: var(--tg); color: var(--tg); }
.dispatch textarea { width: 100%; min-height: 160px; padding: 12px; font-family: var(--mono); font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.dispatch .fine { margin: 10px 0 0; font-size: 11px; color: var(--muted); }

/* Steps */
.steps { display: grid; gap: 12px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps li { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.steps li::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--accent); }
.steps h3 { margin-top: 8px; font-size: 21px; }
.steps p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 20px; line-height: 1; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 20px 20px; color: #3d3a34; font-size: 15px; }

/* CTA + footer */
.cta { display: grid; gap: 20px; padding: 32px; background: var(--ink); color: #fff; border-radius: 3px; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.cta p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.7); }
.footer { padding: 48px 0 32px; background: var(--dark); color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-2); }
.footer a { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   НАПОЛНЕНИЕ СТРАНИЦЫ: выгоды, обзор видов, подробные разделы, помещения,
   покрытия, монтаж, гид по выбору
   ========================================================================== */

/* Benefits strip */
.benefits { display: grid; gap: 12px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefit { display: flex; gap: 14px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; background: var(--ink); color: var(--sand); border-radius: 2px; }
.benefit h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.benefit p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* Overview cards with photos */
.overview { display: grid; gap: 16px; }
@media (min-width: 700px) { .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .overview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ov-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.ov-card:hover { border-color: var(--accent); box-shadow: 0 18px 40px -26px rgba(39, 36, 31, 0.45); }
.ov-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eeeae2; }
.ov-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ov-card:hover .ov-media img { transform: scale(1.04); }
.ov-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; background: rgba(30, 27, 24, 0.85); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; }
.ov-num { position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.ov-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px; }
.ov-body > p { margin: 0; font-size: 14px; color: #3d3a34; }
.ov-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ov-chips li { padding: 4px 9px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; font-size: 11px; }
.ov-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--accent-dark); }
.ov-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ov-actions .btn { min-height: 44px; padding: 0 10px; font-size: 11px; }

/* Type navigation chips */
.type-nav { position: sticky; top: 72px; z-index: 30; background: rgba(247, 245, 241, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.type-nav .wrap { display: flex; gap: 6px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.type-nav .wrap::-webkit-scrollbar { display: none; }
.type-nav a { flex-shrink: 0; padding: 8px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); background: var(--card); border-radius: 2px; white-space: nowrap; }
.type-nav a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Detailed type sections */
.detail { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.detail--alt { background: var(--card); }
.detail-head { display: grid; gap: 28px; margin-bottom: 32px; }
@media (min-width: 1024px) { .detail-head { grid-template-columns: 1fr 1fr; align-items: center; } }
.detail-head .ov-media { border-radius: 3px; border: 1px solid var(--line); }
.detail-text p { margin: 14px 0 0; color: #3d3a34; font-size: 15px; }
.detail-text .kicker { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.spec-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
@media (min-width: 640px) { .spec-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spec { padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; }
.detail--alt .spec { background: var(--paper); }
.spec span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.spec b { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; }

.variants { display: grid; gap: 12px; }
@media (min-width: 640px) { .variants { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .variants { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.variant { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.detail--alt .variant { background: var(--paper); }
.variant .swatch { height: 96px; border-bottom: 1px solid var(--line); }
.variant .swatch svg { width: 100%; height: 100%; }
.variant-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px; }
.variant-body h4 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.variant-body p { margin: 0; font-size: 13px; color: #3d3a34; }
.variant-body ul { margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 12px; color: var(--muted); display: grid; gap: 4px; }
.variant-body li::before { content: '— '; color: var(--accent); }

.pros-cons { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 900px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); }
.detail--alt .pros-cons > div { background: var(--paper); }
.pros-cons h4 { margin: 0 0 10px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pros-cons .pros h4 { color: var(--ok); }
.pros-cons .cons h4 { color: var(--accent-dark); }
.pros-cons ul { margin: 0; padding-left: 18px; font-size: 14px; color: #3d3a34; display: grid; gap: 6px; }
.detail-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Rooms */
.rooms { display: grid; gap: 12px; }
@media (min-width: 640px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.room { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.room h3 { font-size: 22px; }
.room p { margin: 0; font-size: 13px; color: #3d3a34; }
.room .fit { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }

/* Finishes & mounting */
.finishes, .mounts { display: grid; gap: 12px; }
@media (min-width: 640px) { .finishes, .mounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .finishes { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mounts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.finish, .mount { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.section--card .finish, .section--card .mount { background: var(--paper); }
.finish h3, .mount h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.finish p, .mount p { margin: 8px 0 0; font-size: 13px; color: #3d3a34; }
.finish small, .mount small { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.sub-head { margin: 44px 0 18px; font-size: clamp(24px, 3vw, 32px); }

/* Guide (long-read) */
.guide { display: grid; gap: 28px; }
@media (min-width: 1024px) { .guide { grid-template-columns: 280px 1fr; align-items: start; } }
.guide-toc { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; font-size: 13px; }
@media (min-width: 1024px) { .guide-toc { position: sticky; top: 140px; } }
.guide-toc b { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.guide-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.guide-toc a { color: var(--ink); text-decoration: none; }
.guide-toc a:hover { color: var(--accent-dark); text-decoration: underline; }
.guide-body { max-width: 780px; }
.guide-body h3 { margin: 32px 0 10px; font-size: 26px; }
.guide-body h3:first-child { margin-top: 0; }
.guide-body p { margin: 0 0 12px; font-size: 16px; color: #3d3a34; }
.guide-body ul { margin: 0 0 14px; padding-left: 20px; font-size: 15px; color: #3d3a34; display: grid; gap: 6px; }
.tip { margin: 16px 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 2px; font-size: 14px; color: #3d3a34; }

/* Back to top */
.to-top {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--sand);
  border: 1px solid rgba(131, 115, 91, 0.5);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .section { padding: 96px 0; }
}

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