/* ============================================================
   БЕЛПОЛ — концепт-каркас интернет-магазина напольных покрытий
   Дизайн-система «Плашка»: фаска вместо скруглений, плиточная
   геометрия ламелей, палитра из мира материала.
   ============================================================ */

:root {
  /* Палитра */
  --plaster: #efece6;      /* фон — светлая штукатурка */
  --plaster-2: #e5dfd2;    /* фон-2 — тёплый слой */
  --card: #faf8f3;         /* поверхность карточек */
  --ink: #231c15;          /* морёный дуб — текст и тёмные секции */
  --ink-2: #4a3e2f;
  --paper: #f2eee4;        /* текст на тёмном */
  --paper-dim: #beb4a0;
  --oak: #c68b4e;          /* дуб-янтарь */
  --pine: #1d5c46;         /* хвойный акцент */
  --pine-deep: #174a38;
  --pine-light: #8ed0ae;
  --line: rgba(35, 28, 21, 0.16);
  --muted: #6f6353;

  /* Типографика */
  --disp: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --fs-h1: clamp(1.85rem, 4vw, 2.9rem);
  --fs-h2: clamp(1.35rem, 2.6vw, 1.95rem);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--disp); line-height: 1.18; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Фаска — фирменный срез угла (как у ламели) */
.cut {
  clip-path: polygon(
    var(--ch, 10px) 0, 100% 0,
    100% calc(100% - var(--ch, 10px)),
    calc(100% - var(--ch, 10px)) 100%,
    0 100%, 0 var(--ch, 10px)
  );
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 14px;
}
.sec--ink .eyebrow { color: var(--pine-light); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--pine);
  color: #f2efe7;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border: 0;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--pine-deep); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #3a2f22; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--sm { padding: 9px 15px; font-size: 0.85rem; }
.btn--wide { width: 100%; justify-content: center; }

.arrow-link { font-weight: 600; color: var(--pine); white-space: nowrap; }
.arrow-link:hover { color: var(--pine-deep); }

/* ---------- Шапка ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 236, 230, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 30px; height: 64px; }
.logo { font-family: var(--disp); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.01em; }
.logo b {
  font-weight: 800;
  background-size: 110px;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--oak); /* до готовности текстуры */
}
.logo b.textured { color: transparent; }
.hdr nav { display: flex; gap: 24px; margin-left: 8px; }
.nlink { font-size: 0.94rem; font-weight: 500; color: var(--ink-2); }
.nlink:hover { color: var(--pine); }
.hdr-cart { margin-left: auto; position: relative; }
.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--oak);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-badge.on { display: inline-flex; }

/* ---------- Hero: комната с живым полом ---------- */
.hero {
  position: relative;
  height: clamp(640px, 92vh, 850px);
  overflow: hidden;
  background: var(--plaster-2);
}
.room-wall {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 48%;
  background:
    radial-gradient(90% 120% at 18% 0%, rgba(255, 252, 244, 0.85), transparent 55%),
    linear-gradient(180deg, #f3f0e8 0%, #e7e1d2 100%);
}
.room-plinth {
  position: absolute;
  left: 0; right: 0;
  top: calc(48% - 13px);
  height: 13px;
  background: linear-gradient(180deg, #f6f2e8, #d6cebc);
  border-bottom: 1px solid rgba(35, 28, 21, 0.28);
  z-index: 2;
}
.room-floorwrap {
  position: absolute;
  left: 0; right: 0; top: 48%; bottom: 0;
  perspective: 950px;
  perspective-origin: 50% -22%;
  overflow: hidden;
  background: #a8845c;
}
.floorlay {
  position: absolute;
  left: -18%; top: -6%;
  width: 136%; height: 270%;
  transform-origin: 50% 0;
  transform: rotateX(56deg);
  background-size: 470px;
  opacity: 0;
  transition: opacity 0.7s ease;
  backface-visibility: hidden;
}
.floorlay.show { opacity: 1; }
.room-floorshade {
  position: absolute;
  left: 0; right: 0; top: 48%; bottom: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(30, 23, 16, 0.20), rgba(30, 23, 16, 0) 42%),
    radial-gradient(130% 90% at 78% 105%, rgba(30, 23, 16, 0.14), transparent 60%);
}
.hero-deco {
  position: absolute;
  right: 3%;
  top: calc(48% - 200px);
  width: min(540px, 44vw);
  z-index: 3;
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 5;
  left: 0; right: 0;
  top: clamp(48px, 11%, 110px);
}
.hero-copy .inner { max-width: 680px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy p {
  max-width: 470px;
  font-size: 1.04rem;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.swatches {
  position: absolute;
  z-index: 6;
  left: 24px;
  right: 340px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: thin;
}
.swatch {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  height: 46px;
  background-size: 150px;
  background-position: center;
  cursor: pointer;
  border: 0;
  opacity: 0.85;
  transition: transform 0.2s, opacity 0.2s;
  --ch: 7px;
}
.swatch:hover { opacity: 1; transform: translateY(-3px); }
.swatch.active { opacity: 1; transform: scale(1.1); }
.swatch.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--paper);
}
.floor-chip {
  position: absolute;
  z-index: 6;
  right: 24px;
  bottom: 30px;
  width: 290px;
  background: rgba(35, 28, 21, 0.93);
  color: var(--paper);
  padding: 14px 18px;
  --ch: 10px;
}
.floor-chip .fc-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--paper-dim); }
.floor-chip .fc-name { font-family: var(--disp); font-weight: 600; font-size: 0.98rem; margin: 3px 0 2px; }
.floor-chip .fc-price { font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.floor-chip a { color: var(--pine-light); font-weight: 600; font-size: 0.88rem; }
.floor-chip a:hover { color: #b2e4c9; }

/* ---------- Бегущая строка ---------- */
.marquee {
  background: var(--ink);
  color: #ded5c2;
  overflow: hidden;
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  white-space: nowrap;
  animation: mq 30s linear infinite;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.marquee-track span::after { content: '◆'; margin-left: 44px; color: var(--oak); font-size: 0.6rem; vertical-align: 2px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.sec { padding: 90px 0; background: var(--plaster); }
.sec--tint { background: var(--plaster-2); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 40px;
}
.sec-head p { color: var(--muted); max-width: 560px; margin-top: 10px; }
.sec--ink .sec-head p, .sec--ink .note { color: var(--paper-dim); }

/* ---------- Карточки декоров ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.dcard {
  background: var(--card);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease;
  --ch: 12px;
}
.dcard:hover { transform: translateY(-4px); }
.dcard-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: 300px;
  background-position: center;
  transition: background-size 0.4s ease;
}
.dcard:hover .dcard-img { background-size: 345px; }
.dcard-chips { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  background: rgba(35, 28, 21, 0.84);
  color: #efe9db;
  --ch: 5px;
}
.chip--aqua { background: var(--pine); }
.dcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dcard-name { font-family: var(--disp); font-weight: 500; font-size: 1rem; }
.dcard-coll { font-size: 0.82rem; color: var(--muted); }
.dcard-price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.dcard-price b { font-size: 1.18rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dcard-price span { font-size: 0.8rem; color: var(--muted); }
.dcard-foot { margin-top: 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.dcard-pack { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Сравнение цен (тёмная секция) ---------- */
.cmp-scroll { overflow-x: auto; }
.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-variant-numeric: tabular-nums;
}
.cmp th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
  padding: 0 14px 12px 0;
  border-bottom: 1px solid rgba(242, 238, 228, 0.22);
}
.cmp td {
  padding: 15px 14px 15px 0;
  border-bottom: 1px solid rgba(242, 238, 228, 0.12);
  font-size: 0.97rem;
}
.cmp td:first-child { font-weight: 600; font-family: var(--disp); font-size: 0.9rem; }
.cmp .save { color: var(--pine-light); font-weight: 700; }
.note { font-size: 0.8rem; color: var(--muted); margin-top: 16px; }
.cmp-cta { margin-top: 30px; }

/* ---------- Калькулятор ---------- */
.calc {
  background: var(--card);
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  --ch: 14px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 7px;
}
.inp {
  width: 100%;
  background: #fdfcf8;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
.inp:focus { outline: 2px solid var(--pine); outline-offset: -1px; }
.calc-res { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.calc-packs { font-family: var(--disp); font-weight: 700; font-size: 2.5rem; line-height: 1.1; }
.calc-packs small { font-size: 1rem; font-weight: 500; font-family: var(--body); color: var(--muted); }
.calc-line { color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.calc-total { font-size: 1.3rem; font-weight: 800; color: var(--pine); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); padding: 24px 22px 26px; --ch: 11px; }
.step-num { font-family: var(--disp); font-weight: 800; color: var(--pine); font-size: 1.05rem; margin-bottom: 12px; }
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Доставка ---------- */
.deliv { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.deliv-tks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tk {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 13px;
  background: var(--plaster-2);
  --ch: 6px;
}
.city {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line);
}
.city b { font-weight: 600; }
.city span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.92rem; white-space: nowrap; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-row { margin: 20px 0; }
.contact-row .cl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.contact-row .cv { font-size: 1.15rem; font-weight: 600; margin-top: 2px; }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.map-stub {
  height: 320px;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(35, 28, 21, 0.05) 14px 15px),
    var(--plaster-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  --ch: 14px;
}

/* ---------- Подвал ---------- */
.ftr { background: var(--ink); color: var(--paper-dim); padding: 44px 0 36px; }
.ftr-in { display: flex; flex-wrap: wrap; gap: 26px; align-items: baseline; justify-content: space-between; }
.ftr .logo { color: var(--paper); }
.ftr .logo b { color: var(--oak); }
.ftr p { font-size: 0.84rem; max-width: 480px; }

/* ---------- Каталог ---------- */
.view { display: none; }
.view.active { display: block; }
.page-head { padding: 48px 0 8px; }
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 30px;
}
.tchip {
  padding: 8px 15px;
  background: var(--card);
  border: 0;
  font-weight: 500;
  font-size: 0.88rem;
  --ch: 7px;
  transition: background 0.2s, color 0.2s;
}
.tchip:hover { background: var(--plaster-2); }
.tchip.active { background: var(--ink); color: var(--paper); }
.toolbar .inp { width: auto; padding: 9px 12px; font-size: 0.9rem; }
.tb-check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.tb-check input { accent-color: var(--pine); width: 16px; height: 16px; }
.tb-count { margin-left: auto; color: var(--muted); font-size: 0.88rem; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }
.cat-pad { padding-bottom: 90px; }

/* ---------- Карточка товара ---------- */
.pgrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  padding: 44px 0 40px;
  align-items: start;
}
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--pine); font-weight: 600; }
.pview {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: 430px;
  background-position: center;
  --ch: 14px;
  overflow: hidden;
}
/* мини-комната внутри карточки товара */
.pview .mini-wall {
  position: absolute; left: 0; right: 0; top: 0; height: 42%;
  background: linear-gradient(180deg, #f3f0e8, #e5dfd0);
  border-bottom: 6px solid #d6cebc;
}
.pview .mini-floorwrap {
  position: absolute; left: 0; right: 0; top: 42%; bottom: 0;
  perspective: 700px; perspective-origin: 50% -20%; overflow: hidden;
}
.pview .mini-floor {
  position: absolute; left: -20%; top: -5%; width: 140%; height: 280%;
  transform-origin: 50% 0; transform: rotateX(54deg);
  background-size: 330px;
}
.pview .mini-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,23,16,0.14), transparent 55%);
  pointer-events: none;
}
.seg { display: flex; gap: 8px; margin-top: 14px; }
.seg button {
  padding: 9px 16px;
  background: var(--card);
  border: 0;
  font-weight: 600;
  font-size: 0.86rem;
  --ch: 7px;
}
.seg button.active { background: var(--ink); color: var(--paper); }
.pinfo h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.pinfo .pcoll { color: var(--muted); margin-bottom: 14px; }
.pinfo .pchips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 22px; }
.pinfo .pchips .chip { font-size: 0.78rem; padding: 6px 11px; }
.pprice { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.pprice b { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pprice span { color: var(--muted); }
.psave {
  display: inline-block;
  background: var(--pine);
  color: #eaf5ee;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  margin-bottom: 26px;
  --ch: 7px;
  font-variant-numeric: tabular-nums;
}
.specs { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.specs td:first-child { color: var(--muted); width: 46%; }
.specs td:last-child { font-weight: 600; }
.pcalc { background: var(--card); padding: 22px; margin-bottom: 20px; --ch: 11px; }
.pcalc-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.pcalc-row .field { margin: 0; flex: 1; min-width: 130px; }
.pcalc-out { margin-top: 14px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.pcalc-out b { color: var(--pine); }
.pbuy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.similar { padding: 30px 0 90px; }
.similar h2 { font-size: 1.3rem; margin-bottom: 24px; }

/* ---------- Корзина ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 9, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 55;
}
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  background: var(--card);
  z-index: 60;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 60px rgba(20, 15, 9, 0.25);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.1rem; }
.drawer-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--muted); padding: 4px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci-swatch { width: 58px; height: 42px; flex: 0 0 auto; background-size: 130px; background-position: center; --ch: 6px; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 600; font-size: 0.92rem; }
.ci-meta { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ci-right { text-align: right; }
.ci-price { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.stepper { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; }
.stepper button {
  width: 26px; height: 26px;
  background: var(--plaster-2);
  border: 0;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.stepper button:hover { background: var(--plaster); }
.stepper span { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.ci-rm { background: none; border: 0; color: var(--muted); font-size: 1.1rem; padding: 4px; }
.ci-rm:hover { color: #a33; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.drawer-foot .note { margin-top: 12px; }
.cart-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- Тост ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  z-index: 70;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.1), opacity 0.3s;
  --ch: 9px;
  max-width: 92vw;
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Появление «укладкой» ---------- */
.lay { opacity: 0; transform: translateX(-28px); }
.lay.laid {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease var(--d, 0s),
    transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1.06) var(--d, 0s);
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .hdr nav { display: none; }
  .calc, .deliv, .contacts, .pgrid { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-deco { width: 420px; opacity: 0.9; }
  .sec { padding: 66px 0; }
}
@media (max-width: 700px) {
  .hero { height: 700px; }
  .room-wall { height: 54%; }
  .room-plinth { top: calc(54% - 11px); height: 11px; }
  .room-floorwrap, .room-floorshade { top: 54%; }
  .hero-deco { display: none; }
  .hero-copy { top: 40px; }
  .hero-copy p { font-size: 0.97rem; }
  .swatches { right: 24px; bottom: 158px; }
  .floor-chip { left: 24px; right: 24px; width: auto; bottom: 20px; }
  .steps { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .calc { padding: 26px 22px; }
}

/* ---------- Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .lay { opacity: 1; transform: none; }
  .floorlay { transition: none; }
  .dcard, .dcard-img, .drawer, .toast { transition: none; }
}
