/* ==========================================================================
   V4 — мебель как искусство
   Макеты: Figma v4-furniture (кадр 1200, поля 50)

   Единицы: 1rem = 10px на макете 1200. Шире 1200 корневой размер растёт
   вместе с окном, и вся страница масштабируется пропорционально
   (на 1920 — в 1,6 раза), до потолка ~2560px. Уже 1200 — 10px, сетки
   резиновые, на телефоне своя раскладка.
   ========================================================================== */

:root {
  --c-text: #000;
  --c-ink: #141414;
  --c-bg: #fff;
  --c-grey: #eee;

  --f-mont: "Montserrat", system-ui, sans-serif;
  --f-inter: var(--f-mont); /* на сайте один шрифт — Montserrat */

  --page: 120rem;
  /* плёночное зерно (подвал, первое фото и фото каталога на главной) */
  /* зерно — заранее отрисованная картинка (2× для ретины): живой SVG-шум при прокрутке перерисовывается и «шевелится» */
  --grain: url("grain.png") 0 0 / 220px 220px repeat;
  --gutter: 5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html {
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Плавная прокрутка (Lenis, js/vendor) — его служебные стили */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
@media (min-width: 1201px) {
  html { font-size: min(calc(var(--vw, 100vw) / 120), 21.33px); }
}

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-mont);
  font-size: 1.2rem;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, address { margin: 0; font-size: inherit; font-weight: inherit; }
address { font-style: normal; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Подчёркивание ссылок, которое «вырастает» слева направо */
.nav a,
.catalog__list a,
.footer a,
.header__download,
.header__cart,
.feature h3 a,
.contacts__links a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"],
.catalog__list a:hover,
.footer a:hover,
.header__download:hover,
.header__cart:hover,
.feature h3 a:hover,
.contacts__links a:hover { background-size: 100% 1px; }

/* --- Общие медиа ------------------------------------------------------- */

.hero__media,
.catalog__img,
.how__img,
.gallery__item,
.about__img,
.feature__img,
.media {
  position: relative;
  overflow: hidden;
}

/* зерно поверх фото, как в макете (176:919, 176:943, 176:944) */
.hero__media::after,
.catalog__img::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: var(--grain);
  opacity: .45;
  mix-blend-mode: overlay;
  transform: translateZ(0);
}

.hero__media img,
.catalog__img img,
.how__img img,
.gallery__item img,
.feature__img img,
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Кадрирование «как в Figma»: картинка больше рамки и сдвинута */
.crop img {
  position: absolute;
  max-width: none;
  width: var(--w);
  height: var(--h);
  left: var(--x);
  top: var(--y);
}

.flip-x { transform: scaleX(-1); }


/* Полукруглый край: радиус = половина высоты при любой ширине.
   Горизонтальный радиус в % от ширины, вертикальный в % от высоты. */
.pill { --rx: calc(var(--ah) / var(--aw) * 50%); }
.pill--left  { border-radius: var(--rx) 0 0 var(--rx) / 50% 0 0 50%; }
.pill--right { border-radius: 0 var(--rx) var(--rx) 0 / 0 50% 50% 0; }
.pill--left.pill--soft-right { border-radius: var(--rx) 1.5rem 1.5rem var(--rx) / 50% 1.5rem 1.5rem 50%; }

/* --- Типографика -------------------------------------------------------- */

.title {
  font-family: var(--f-mont);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: normal;
}
.title--plain { letter-spacing: 0; }

/* Заголовок внутренних страниц: Inter Bold 32 */
.h2 {
  font-family: var(--f-inter);
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--c-ink);
  color: #fff;
  font-family: var(--f-inter);
  font-size: 2.2rem;
  line-height: normal;
  white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.btn-dark:hover { background: #fff; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }

/* ==========================================================================
   Шапка: логотип слева, меню по центру, «к заказу» справа
   ========================================================================== */

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 2.4rem;
}
/* макет 176:911: одна строка на y 24 — логотип 19×15 слева, меню по центру, «к заказу» справа */
.header__left { grid-column: 1; grid-row: 1; justify-self: start; display: flex; }
.brand { display: block; }
.brand__logo { width: 1.9rem; height: 1.5rem; object-fit: cover; }
.header__download { display: none; }
.nav { grid-column: 2; grid-row: 1; display: flex; gap: 2rem; white-space: nowrap; }
.nav__extra { display: none; }
.header__cart { grid-column: 3; grid-row: 1; justify-self: end; font-weight: 700; white-space: nowrap; }
.header__count:not(:empty)::before { content: " ("; }
.header__count:not(:empty)::after { content: ")"; }
.burger { display: none; }

/* Плавающее меню: появляется, когда шапка ушла с экрана, и стоит справа — там же,
   где «к заказу» в шапке. Свёрнуто — бургер и «к заказу», раскрыто — пункты меню
   выезжают влево, при скрытии втягиваются обратно к «к заказу» */
.minibar {
  position: fixed;
  z-index: 50;
  top: 2rem;
  right: 5rem;  /* 50 от правого края экрана */
  display: flex;
  align-items: center;
  height: 4.4rem;
  padding: 0 2rem 0 1.4rem;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(1.2rem);
  backdrop-filter: blur(1.2rem);
  box-shadow: 0 .4rem 2.4rem rgba(0, 0, 0, .08);
  font-size: 1.2rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-150%);
  transition: transform .5s var(--ease), opacity .4s var(--ease), visibility .5s;
}
.minibar.is-shown { opacity: 1; visibility: visible; transform: none; }
.minibar__toggle:focus:not(:focus-visible) { outline: none; }
.minibar__toggle {
  position: relative;
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.minibar__toggle span {
  position: absolute;
  left: .4rem;
  right: .4rem;
  height: 1.5px;
  background: var(--c-text);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.minibar__toggle span:first-child { top: 1rem; }
.minibar__toggle span:last-child { top: 1.7rem; }
.minibar.is-open .minibar__toggle span:first-child { top: 1.35rem; transform: rotate(45deg); }
.minibar.is-open .minibar__toggle span:last-child { top: 1.35rem; transform: rotate(-45deg); }
.minibar__nav {
  display: flex;
  gap: 1rem;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .6s var(--ease), opacity .3s var(--ease), margin .6s var(--ease);
}
.minibar.is-open .minibar__nav { max-width: min(80rem, calc(100vw - 24rem)); margin-left: 2rem; opacity: 1; transition-delay: 0s, .15s, 0s; }
.minibar__nav a,
.minibar__cart {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.minibar__nav a:hover,
.minibar__nav a[aria-current="page"],
.minibar__cart:hover { background-size: 100% 1px; }
.minibar__cart { margin-left: 2.4rem; font-weight: 700; }

/* Выпадающий список категорий у пункта «каталог» */
.nav__item { position: relative; }
.nav__sub {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: -1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 18rem;
  margin-top: 1rem;
  padding: 1.6rem;
  background: var(--c-bg);
  box-shadow: 0 .8rem 2.4rem rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.6rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
/* «Мостик» над списком, чтобы он не закрывался, пока курсор едет вниз */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; }
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }

/* Первый блок каждой страницы — через 80 после меню (шапка занимает 66) */
.page { padding-top: 8rem; }

/* ==========================================================================
   Главная (макет 148:444)
   ========================================================================== */

.hero { position: relative; }
/* подпись одной строкой лежит в пустом скруглённом углу фото (50, 162) */
.hero__tagline { position: absolute; z-index: 1; top: 0; left: var(--gutter); font-size: 1.2rem; line-height: 1; }
.hero__media { margin-top: 8rem; }
/* Фото стоит на месте, а верхняя грань формы (со скруглением) при прокрутке
   опускается и закрывает его — --cut задаёт js/main.js */
.hero__media {
  --hero-r: 34.8rem;
  margin-right: calc(-1 * var(--gutter));
  aspect-ratio: 1150 / 492;
  clip-path: inset(var(--cut, 0px) 0 0 0 round var(--hero-r) 0 0 0);
  will-change: clip-path;
}
.hero__media img { animation: hero-in 1.8s var(--ease) both; }
@keyframes hero-in {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.catalog { margin-top: 12.1rem; }
.catalog__grid {
  display: grid;
  grid-template-columns: 261fr 56fr 420fr 362fr;
  align-items: start;
  margin-top: 6.8rem;
}
.catalog__img--a { grid-column: 1; margin-top: 16.7rem; aspect-ratio: 261 / 391; border-bottom-left-radius: 13.05rem; }
.catalog__list {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 16.7rem;
  font-size: 1.2rem;
  white-space: nowrap;
}
.catalog__list a { display: inline-block; transition: background-size .4s var(--ease), transform .4s var(--ease); }
.catalog__list a:hover { transform: translateX(.6rem); }
.catalog__img--b { grid-column: 4; aspect-ratio: 362 / 435; border-bottom-right-radius: 18.1rem; }

.br-m { display: none; }
.how { margin-top: 23rem; }
.how__grid { display: grid; grid-template-columns: 477fr 622fr; align-items: start; margin-top: 3rem; }
.how__lead { max-width: 33.4rem; font-size: 1.8rem; font-weight: 400; letter-spacing: -0.01em; }
.how__note { max-width: 12.3rem; margin-top: .5rem; font-size: 1rem; line-height: 1.2; }
.how__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28.2rem;
  margin-top: 23.2rem;
  font-size: 1.4rem;
  line-height: 1.2;
}
/* Зеркальная пара одного снимка 283×425 у оси x 866 */
.how__pair {
  --pw: 28.3rem;
  position: relative;
  width: 56.6rem;
  height: 42.5rem;
  margin: 8.3rem 0 0 5.6rem;
}
.how__img {
  position: absolute;
  top: 50%;
  width: var(--pw);
  aspect-ratio: 283 / 425;
  transform: translateY(-50%);
}
.how__pair > .how__img:first-child { right: 50%; }
.how__pair > .how__img:nth-child(2) { left: 50%; }

/* На десктопе — по координатам макета 176:911 (от верха сетки 1658, слева 50):
   абзац 0, список 267 (152 шириной), «Доставляем…» 317/472, пара фото 533/83 */
@media (min-width: 1200px) {
  .how__grid { display: block; position: relative; height: 50.8rem; }
  .how__lead { position: absolute; top: 0; left: 0; width: 33.4rem; max-width: none; }
  .how__list { position: absolute; top: 26.7rem; left: 0; width: 15.2rem; max-width: none; margin: 0; gap: 1rem; }
  .how__note { position: absolute; top: 47.2rem; left: 31.7rem; width: 14.9rem; max-width: none; margin: 0; }
  .how__pair { position: absolute; top: 8.3rem; left: 53.3rem; margin: 0; }
}

.gallery {
  display: grid;
  grid-template-columns: 211fr 413fr 128fr 233fr 115fr;
  align-items: start;
  margin-top: 21.2rem;
}
.gallery__item--a { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 624 / 297; }
.gallery__item--b { grid-column: 2; grid-row: 2; margin-top: 4.8rem; aspect-ratio: 413 / 517; }
.gallery__item--c { grid-column: 4; grid-row: 1 / span 2; margin-top: 16.9rem; aspect-ratio: 233 / 352; }

/* Немного о нас — макет 266:9: сетка от x 50 и 59 px под заголовком (3546), 1100×1292.
   Координаты в процентах от сетки, чтобы на узких экранах блок сжимался целиком.
   Абзац (50, 3605), текст (367, 3673), фото 362×218 (734, 3666),
   видео 256×405 (50, 3926) и 299×473 (451, 4424) */
.about { margin-top: 28.5rem; }
.about__grid { position: relative; aspect-ratio: 1100 / 1292; margin-top: 3rem; font-size: 1.4rem; line-height: 1.2; }
.about__grid > * { position: absolute; left: 0; }
.about__lead { top: 0; width: 26.5rem; }
.about__grid > .about__text { top: 5.263%; left: 28.818%; width: 18.1rem; }
.about__text p + p { margin-top: 1.2em; }
.about__grid > .about__img { top: 4.721%; left: 62.182%; width: 32.909%; height: auto; aspect-ratio: 362 / 218; object-fit: cover; }
.about__video { height: auto; object-fit: cover; background: #eee; }
.about__video--1 { top: 24.845%; width: 23.273%; aspect-ratio: 256 / 405; }
.about__grid > .about__video--2 { top: 63.39%; left: 36.455%; width: 27.182%; aspect-ratio: 299 / 473; }


/* Фото главной: когда рамка проходит середину экрана, её верхняя грань
   опускается и скрывает фото сверху вниз, у верхнего края экрана — целиком (--cut задаёт js/main.js).
   Фото в «что мы делаем?» вместо этого едут чуть быстрее текста (--dy).
*/
[data-parallax] { clip-path: inset(var(--cut, 0px) 0 0 0 round var(--cr, 0px)); }
[data-parallax].is-cut { --cr: var(--r, 0px); }
[data-drift] { translate: 0 var(--dy, 0px); }
/* размытие при наведении — только у трёх фото галереи под «как мы создаем» */
.gallery__item img { transition: filter .7s var(--ease); }
@media (hover: hover) {
  .gallery__item:hover img { filter: blur(22px); }
}

/* Большое фото столовой перед «скачать каталог» (макет: 1100×567 на 7901) */
.dining { margin-top: 23rem; }
.dining__img { position: relative; overflow: hidden; aspect-ratio: 1100 / 857; }
.dining__img img { width: 100%; height: 100%; object-fit: cover; }
.cta { margin-top: 20rem; } /* 200px от последнего фото стопки до текста */
.cta__row { display: flex; align-items: center; gap: 1.1rem; font-family: var(--f-inter); font-size: 1.8rem; }
.cta__row p { width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 4rem;
  padding: 0 1rem;
  border: 1px solid var(--c-text);
  border-radius: .8rem;
  font-family: var(--f-inter);
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.btn:hover { background: var(--c-text); color: var(--c-bg); }

/* Лента изделий: уходит за правый край, листается */
.strip {
  --sh: 34.7726rem;
  margin-top: 4rem;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; }
.strip.is-dragging img { pointer-events: none; }
.strip__track {
  display: flex;
  gap: 1.6714rem;
  width: max-content;
  padding-inline: max(var(--gutter), calc((var(--vw, 100vw) - var(--page)) / 2 + var(--gutter)));
}
.strip__track img {
  flex: none;
  height: var(--sh);
  width: calc(var(--r) * var(--sh) / 347.726);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   Каталог (категория)
   ========================================================================== */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.7rem;
  row-gap: 6rem;
  align-items: start;
  margin-top: 4.8rem;
}
/* на десктопе колонки как в макете 176:586: карточки 284 шириной с x 209 / 548 / 866 */
@media (min-width: 1200px) {
  .products, .products.products--shop { grid-template-columns: 33.9fr 31.8fr 28.4fr; column-gap: 0; }
  .products > .product-card { width: 28.4rem; }
}
/* Карточка в сетке (макет 176:586, карточка 176:617–619): справа квадрат под фото 173×173,
   слева по верху фото название и сразу под ним цена (на 21 ниже начала названия) */
.product-card {
  display: grid;
  grid-template-columns: 111fr 173fr;
  grid-template-rows: auto auto 1fr;
  font-family: var(--f-inter);
  font-size: 1.276rem;
}
.product-card__img {
  grid-column: 2;
  grid-row: 1 / -1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.product-card__img img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .8s var(--ease); }
.product-card__img--photo img { object-fit: cover; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__name { grid-column: 1; grid-row: 1; padding-right: .8rem; font-weight: 400; line-height: 1.2; }
.product-card__price { grid-column: 1; grid-row: 2; margin-top: .6rem; line-height: 1.2; white-space: nowrap; }

/* Каталог: слева категории (с 50), справа сетка (с 209) — макет 148:175 */
.shop { display: grid; grid-template-columns: 15.9rem 1fr; align-items: start; margin-top: 5rem; }
.shop__cats {
  position: sticky;
  top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.2rem;
}
.shop__cats a { transition: opacity .3s; }
.shop__cats a:hover { opacity: .6; }
/* выбранная категория — подчёркнута (макет 176:606) */
.shop__cats a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.products--shop { margin-top: 0; column-gap: 4.45rem; row-gap: 2.5rem; }

/* Заказ */
.order { display: flex; flex-direction: column; align-items: center; margin-top: 4.9rem; }
.order__empty { font-size: 2.4rem; line-height: 1; text-align: center; }
.order__empty a { display: block; margin-top: 1.5rem; text-decoration: underline; text-underline-offset: .15em; }
.order__list { display: flex; flex-direction: column; width: min(72rem, 100%); font-family: var(--f-inter); }
/* строка товара: фото | название | цена | количество | крестик — крестик вплотную справа от количества (10) */
.order__item {
  display: grid;
  grid-template-columns: 8rem 1fr auto auto auto;
  align-items: center;
  gap: 2.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid #e3e3e3;
  font-size: 1.6rem;
}
.order__item img { width: 8rem; height: 8rem; object-fit: contain; }
.order__item a { font-weight: 700; }
.order__item .order__price { grid-column: 3; grid-row: 1; }
.order__qty { grid-column: 4; grid-row: 1; display: flex; align-items: center; gap: 1rem; }
.order__remove { grid-column: 5; grid-row: 1; margin-left: -1.4rem; }  /* 2.4 − 1.4 = 1rem от количества */
.order__qty button,
.order__remove { width: 2.8rem; height: 2.8rem; border: 1px solid #ccc; background: none; font: inherit; line-height: 1; cursor: pointer; }
.order__remove { border: 0; opacity: .5; }
.order__remove:hover { opacity: 1; }
.order__total { width: min(72rem, 100%); margin-top: 2.4rem; font-size: 2.2rem; font-weight: 700; }
.order__total:empty { display: none; }
.order__form { display: grid; gap: 1.5rem; width: 27rem; max-width: 100%; margin-top: 8rem; }
.order__form label { display: grid; gap: 1.5rem; font-size: 1.2rem; line-height: 1; }
.order__form input,
.order__form textarea { width: 100%; height: 2.7rem; padding: 0 1rem; border: 0; border-radius: 0; background: rgba(217, 217, 217, .3); font: 400 1.2rem var(--f-inter); color: var(--c-ink); }
.order__form textarea { height: 7.5rem; padding: .8rem 1rem; resize: none; }
.order__form input:focus,
.order__form textarea:focus { outline: 1px solid var(--c-ink); outline-offset: 0; }
.order__form .btn-dark { width: 100%; height: 2.7rem; padding: 0 1rem; border: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.order__form .btn-dark:disabled { opacity: .5; cursor: default; }
.order__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order__error { font-size: 1.2rem; line-height: 1.2; color: #b3261e; }
.order__done { font-size: 2.4rem; line-height: 1.2; text-align: center; }
[data-add-to-order].is-added { background: #fff; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }

/* «каталог / стулья» над карточкой товара */
.crumbs { display: flex; gap: .8rem; margin-bottom: 4rem; font-size: 1.2rem; }
.crumbs span { opacity: .4; }
.crumbs a { opacity: .6; transition: opacity .3s; }
.crumbs a:hover { opacity: 1; }

/* ==========================================================================
   Партнёры
   ========================================================================== */

/* Макет 175:258 (блоки 175:271–281 — образец для всех): заголовок 24 в две строки и подпись
   по левому краю (x 50); через 61 под подписью — три фото 186 / 330 / 186 (высота 248)
   с зазором 11.5 по центру страницы; до следующего заголовка 169 */
.page--partners { overflow-x: clip; padding-top: 8rem; }
.partner + .partner { margin-top: 13.9rem; }
.partner__title { font-weight: 700; font-size: 2.4rem; line-height: 1; }
.partner__note { margin-top: 1rem; font-size: 1.2rem; }
.partner__gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.15rem;
  margin-top: 6.1rem;
}
.partner__side { flex: 0 0 18.6rem; aspect-ratio: 186 / 248; }
.partner__main { flex: 0 0 33rem; aspect-ratio: 330 / 248; }

.partner__gallery .media img { transition: transform 1.2s var(--ease); }
.partner__gallery .media:hover img { transform: scale(1.04); }
.partner__gallery .crop:hover img { transform: none; }

/* ==========================================================================
   О нас
   ========================================================================== */

/* Макет 229:642: фото 465 шахматкой (слева с 50, справа до 1150), текст в другой колонке
   с 684 / с 50, ширина 466. Заголовок 24 по верху фото (у «Дизайна» — блок по низу фото),
   отступ текста от заголовка в каждом ряду свой (--bt). Дуга 275 из 465 (59%) — только у первого и последнего фото */
.page--about { padding-top: 8rem; }
.story {
  display: grid;
  grid-template-columns: minmax(0, 46.6rem) minmax(4rem, 1fr) minmax(0, 46.6rem);
  align-items: start;
}
.story + .story { margin-top: 8rem; }
.story:nth-of-type(1) { --bt: 5rem; }
.story:nth-of-type(2) { --bt: 4.3rem; }
.story:nth-of-type(3) { --bt: 4.8rem; }
.story:nth-of-type(4) { --bt: 5.8rem; margin-top: 14rem; }
.story:nth-of-type(5) { --bt: 5rem; margin-top: 12.9rem; }
.story:nth-of-type(5) .story__text { align-self: end; }
.story__img { aspect-ratio: 1; }
.story__img--br { border-bottom-right-radius: 59%; }
.story__img--tr { border-top-right-radius: 59%; }
.story__text .h2 { font-size: 2.4rem; line-height: 2.9rem; }
.story--img-left .story__img { grid-column: 1; grid-row: 1; }
.story--img-left .story__text { grid-column: 3; grid-row: 1; }
.story--img-right .story__img { grid-column: 3; grid-row: 1; }
.story--img-right .story__text { grid-column: 1; grid-row: 1; }
.story__body { margin-top: var(--bt, 5rem); font-size: 1.4rem; line-height: 1.2; }
.story__body p + p { margin-top: 1.2em; }

/* ==========================================================================
   Карточка товара
   ========================================================================== */

/* Макет 233:819 (кадр 1200), поведение как на olivedesign.fr: слева колонка фото 472
   (с x 50) — квадрат, остальные фото во всю ширину в своих пропорциях через 50, в конце
   3D-модель; справа с x 684 колонка с текстом закреплена у верха экрана, пока листаются фото.
   Название на одной линии с верхом колонки, фото на 33 ниже */
.page--product { padding-top: 8rem; overflow-x: clip; }
.pd {
  display: grid;
  grid-template-columns: 47.2rem 16.2rem minmax(0, 1fr);
  align-items: start;
  font-size: 1.2rem;
}
.pd-media { grid-column: 1; display: flex; flex-direction: column; gap: 0; padding-top: 3.3rem; }  /* фото вплотную друг к другу */
.pd-side { display: block; position: relative; overflow: hidden; aspect-ratio: 472 / 471; }
a.pd-side, a.pd-shot,
.partner__gallery a { cursor: zoom-in; }
.pd-side img { width: 100%; height: 100%; object-fit: contain; }
.pd-side--photo img { object-fit: cover; }
.pd-side.crop img { position: absolute; max-width: none; width: var(--w); height: var(--h); left: var(--x); top: var(--y); }
.pd-shot { display: block; overflow: hidden; }
.pd-shot img { width: 100%; height: auto; }

.pd-info { grid-column: 3; position: sticky; top: 8rem; }
.pd-head__name { font-weight: 700; font-size: 2.4rem; line-height: normal; }
.pd-head__type { line-height: 1.2; }
.pd-price { margin-top: 1.8rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pd-info__title { margin-top: 1.9rem; font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.pd-info__title--next { margin-top: 3.5rem; }
.pd-specs {
  display: grid;
  grid-template-columns: 16rem 1fr;
  row-gap: 1rem;
  margin-top: 2rem;
  line-height: 1.2;
}
.pd-extra { margin-top: 2rem; line-height: 1.2; }
.pd-extra p + p { margin-top: .4rem; }
.pd-buy { margin-top: 5rem; }
.pd-buy .btn-dark { width: 27rem; max-width: 100%; height: 2.7rem; padding: 0 1rem; font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.pd-note { max-width: 24.1rem; margin-top: 2.3rem; }

/* Просмотр фото на весь экран */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
/* всё вокруг фото размывается */
.lightbox::backdrop { background: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(1.6rem); backdrop-filter: blur(1.6rem); }
.lightbox img { position: absolute; top: 6rem; left: 8rem; width: calc(100% - 16rem); max-width: none; height: calc(100% - 12rem); object-fit: contain; }
.lightbox button {
  position: absolute;
  border: 0;
  background: none;
  color: var(--c-ink);
  font: 400 2.2rem/1 var(--f-inter);
  cursor: pointer;
  padding: 2rem;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); font-size: 1.2rem; opacity: .6; }

/* 3D-модель — последней в колонке фото: вьюер 476×377, под ним подпись слева и
   «скачать модель» 270×27 справа. Появляется плавно, когда до неё долистали */
.pd-model { margin-top: 4.7rem; }
.pd-model__viewer {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 476 / 377;
  --poster-color: transparent;
  --progress-bar-color: var(--c-ink);
  cursor: grab;
}
.pd-model__viewer:active { cursor: grabbing; }
.pd-model__poster { width: 100%; height: 100%; object-fit: contain; }
.pd-model__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-top: 10.3rem; }
.pd-model__title { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.pd-model .btn-dark { flex: none; width: 27rem; height: 2.7rem; padding: 0 1rem; font-size: 1.2rem; font-weight: 700; }

/* ==========================================================================
   Оплата и доставка, сотрудничество, контакты (центрированные тексты)
   ========================================================================== */

.center-col { text-align: center; font-family: var(--f-inter); }
.lead-list { display: flex; flex-direction: column; gap: 2rem; font-size: 2.2rem; line-height: 1.2; letter-spacing: -0.01em; }
.text-18 { max-width: 46.7rem; margin-inline: auto; font-size: 1.8rem; line-height: 1.2; }
.text-18 p + p { margin-top: 1.2em; }
.text-22b { max-width: 46.2rem; margin-inline: auto; font-size: 2.2rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

/* Оплата и доставка (макет 176:524): ниже 1200 — колонки с 50 и 599 потоком;
   с 1200 — всё по координатам макета от верха заголовка (y 250), см. ниже */
.page--delivery { padding-top: 8rem; }
.page--catalog { padding-top: 8rem; }
.delivery {
  position: relative;
  display: grid;
  grid-template-columns: 54.9rem 1fr;
  align-items: start;
  align-content: start;
  min-height: 115.3rem;
  font-size: 1.2rem;
}
.delivery__title { grid-column: 1; grid-row: 1; }
.delivery__pay { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 1rem; margin-top: 3.9rem; font-size: 1.4rem; line-height: 1.2; }
.delivery__h { grid-column: 2; grid-row: 1; margin-top: 1.1rem; font-weight: 700; }
.delivery__intro { grid-column: 2; grid-row: 2; width: 23.4rem; margin-top: 2.7rem; line-height: 1.2; letter-spacing: -0.01em; }
.delivery__intro p + p { margin-top: 1.2em; }
.delivery__carriers { grid-column: 2; grid-row: 3; display: flex; gap: .5rem; margin-top: 1.3rem; font-weight: 700; }
.delivery__terms { grid-column: 2; grid-row: 4; max-width: 24.4rem; margin-top: 5rem; line-height: 1.2; letter-spacing: -0.01em; }
.delivery__terms p + p { margin-top: 1.2em; }
.delivery__photo { position: absolute; width: 32.1rem; aspect-ratio: 321 / 428; }
.delivery__photo--a { left: 0; top: 51.1rem; }
.delivery__photo--b { left: 54.9rem; top: 72.5rem; }
@media (min-width: 1200px) {
  .page--delivery { padding-bottom: 0; }
  .delivery { display: block; height: 115.6rem; min-height: 0; }
  .delivery > * { position: absolute; margin: 0; }
  .delivery__title { left: 0; top: 0; }
  .delivery__pay { left: 0; top: 6.8rem; }
  .delivery__h { left: 54.9rem; top: 18.9rem; }
  .delivery__intro { left: 54.9rem; top: 23.4rem; }
  .delivery__carriers { left: 54.9rem; top: 33.3rem; white-space: nowrap; }
  .delivery__terms { left: 54.9rem; top: 39.8rem; width: 24.4rem; }
  .delivery__photo--a { left: 0; top: 51.1rem; }
  .delivery__photo--b { left: 55rem; top: 82.6rem; width: 23.3rem; aspect-ratio: 233 / 311; }
}

/* Сотрудничество и контакты (макеты 175:156, 175:107): блоки стоят по координатам
   макета — left = x − 50, top = y − 200 (от верха заголовка) */
.page--abs { padding-top: 8rem; }
.abs { position: relative; font-size: 1.2rem; line-height: 1.2; }
.abs > *:not(.title) { position: absolute; }
.abs .media img { width: 100%; height: 100%; object-fit: cover; }
.coop { height: 109.5rem; }
.coop__lead { left: 53.5rem; top: 7.8rem; width: 46.2rem; font-size: 2.4rem; font-weight: 400; line-height: 1; }
.coop__img--a { left: 95.1rem; top: 19.6rem; width: 14.8rem; aspect-ratio: 148 / 198; }
.coop__cta { left: 0; top: 19.6rem; width: 27rem; height: 2.7rem; padding: 0 1rem; font-size: 1.2rem; font-weight: 700; }
.coop__text1 { left: 0; top: 25.3rem; width: 27.6rem; letter-spacing: -0.01em; }
.coop__lead2 { left: 53.5rem; top: 44rem; font-weight: 700; letter-spacing: -0.01em; }
.coop__text2 { left: 53.5rem; top: 48.4rem; width: 41.6rem; letter-spacing: -0.01em; }
.coop__text2 p + p { margin-top: 1.2em; }
.coop__img--b { left: 0; top: 73.5rem; width: 27rem; aspect-ratio: 270 / 360; }
.coop__img--c { left: 66rem; top: 70.9rem; width: 10.6rem; aspect-ratio: 106 / 142; }
.coop__outro { left: 71.3rem; top: 90.1rem; transform: translateX(-50%); text-align: center; white-space: nowrap; letter-spacing: -0.01em; }
.coop__outro p + p { margin-top: .4rem; }

.contacts { height: 63.5rem; }
.contacts__links { left: 54.9rem; top: 9.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; transform: translateX(-50%); }
.js .contacts__links.reveal { transform: translate(-50%, 2.8rem); }
.js .contacts__links.reveal.is-in { transform: translateX(-50%); }
.contacts__img { left: 0; top: 28.4rem; width: 49.4rem; aspect-ratio: 494 / 351; }
.contacts__addr { left: 54.9rem; top: 28.4rem; width: 26.4rem; }
.contacts__addr strong { font-weight: 700; }
.contacts__addr p { margin-top: .5rem; font-size: 1rem; }

/* ==========================================================================
   Подвал
   ========================================================================== */

.footer {
  --f-col1: 31.7rem;
  --f-col2: 31.2rem;
  /* граница тёмной и зелёной частей — на 93 левее правой колонки (x 586 в макете) */
  --f-split: calc(max(var(--gutter), (var(--vw, 100vw) - var(--page)) / 2 + var(--gutter)) + var(--f-col1) + var(--f-col2) - 9.3rem);
  position: relative; isolation: isolate; overflow: hidden; margin-top: 12rem;
  background: linear-gradient(to right, #141414 var(--f-split), #cce4b0 var(--f-split));
  color: #171414;
}  /* на всех страницах подвал через 120 после последнего блока */

/* Макет 247:1237 (1200×386): слева тёмная основа, с x 586 светло-зелёная; поверх обеих — фото
   (растянуто, низ по низу подвала) с наложением «исключение»: слева оно светлое, справа фиолетовое.
   Слева тёмным: «меню» (x 50) и «каталог» (x 367) 24 на 38, списки с 97; справа белым:
   «скачать каталог» (x 679) и адрес по правому краю на 48, контакты строкой с 687 на 190,
   документы 8 на 338 */
.footer__bg { position: absolute; z-index: 0; inset: 0; overflow: hidden; mix-blend-mode: exclusion; pointer-events: none; }
.footer__bg img { position: absolute; left: -1.5rem; bottom: 0; width: calc(100% + 1.5rem); max-width: none; height: calc(100% + 4.1rem); object-fit: fill; }
/* размытие по диагонали: левый нижний угол почти резкий, вверх и вправо — сильно размыто */
.footer__bg .footer__bg-blur {
  left: -4.5rem;
  bottom: -3rem;
  width: calc(100% + 7.5rem);
  height: calc(100% + 10.1rem);
  filter: blur(2.4rem);
  -webkit-mask-image: linear-gradient(to top right, transparent 12%, #000 52%);
  mask-image: linear-gradient(to top right, transparent 12%, #000 52%);
}
/* зерно поверх всего подвала (под текстами) */
.footer__grain {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: overlay;
  background: var(--grain);
  transform: translateZ(0);
}
.footer__inner {
  display: grid;
  grid-template-columns: var(--f-col1) var(--f-col2) minmax(0, 1fr);
  align-items: start;
  min-height: 38.6rem;
  padding-top: 3.8rem;
  padding-bottom: 3.8rem;
}
/* тексты над фото */
.footer__col,
.footer__side > * { position: relative; }
.footer__heading { font-size: 2.4rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.footer__list { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin: 3rem 0 0 .3rem; font-size: 1.2rem; }
.footer__col--catalog .footer__list { margin-left: 0; }
.footer__side { align-self: stretch; display: flex; flex-direction: column; color: #fff; font-size: 1.2rem; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-top: 1rem; }
.footer__top address { font-family: var(--f-inter); }
/* telegram, max, почта, два телефона — строго между краями «скачать каталог» и адреса (владелец) */
.footer__contacts { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 1rem; margin: 12.7rem 0 0; white-space: nowrap; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; margin: auto 0 0 .8rem; padding-top: 3rem; font-size: .8rem; }

/* ==========================================================================
   Главная (макет 176:911): шапка, «что мы делаем?», сцена из четырёх фото
   ========================================================================== */

/* Шапка главной: маленький логотип по центру сверху (50), ниже меню и «к заказу» (82) */

/* «Что мы делаем?»: страница листается вниз как обычно, а лента панелей — отдельно вбок:
   тачпадом, колесом с Shift, перетаскиванием мышью или стрелками справа от заголовка */
.what { margin-top: 22.5rem; }
.what__sticky { position: relative; }
.what__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 5rem; }
.what .title { margin-bottom: 0; }
/* стрелки — в пустой колонке слева от ленты, по низу фото */
.what__arrows { position: absolute; z-index: 1; bottom: 0; left: max(var(--gutter), (var(--vw, 100vw) - var(--page)) / 2 + var(--gutter)); display: flex; gap: 1rem; }
.what__arrow {
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 1px solid var(--c-text);
  background: #fff;
  color: var(--c-text);
  font: 400 1.6rem/1 var(--f-mont);
  cursor: pointer;
  transition: background .3s, color .3s, opacity .3s;
}
.what__arrow:hover { background: var(--c-text); color: #fff; }
.what__arrow:disabled { opacity: .25; cursor: default; background: #fff; color: var(--c-text); }
.what__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-left: calc(max(var(--gutter), (var(--vw, 100vw) - var(--page)) / 2 + var(--gutter)) + 31.7rem);
  padding-right: var(--gutter);
  cursor: grab;
}
.what__track::-webkit-scrollbar { display: none; }
.what__track.is-dragging { cursor: grabbing; }
.what__track.is-dragging a { pointer-events: none; }
.what__track img { -webkit-user-drag: none; user-select: none; }
.wpanel { display: flex; align-items: flex-start; gap: 5rem; flex: none; margin-right: 5rem; }
.wpanel:last-child { margin-right: 0; }
.wpanel--wide { gap: 5.3rem; }
.wpanel__text { width: 25rem; font-size: 1.4rem; line-height: 1.2; }
.wpanel__text p + p { margin-top: 1.2em; }
.wpanel__label { margin-bottom: 2rem; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.01em; line-height: normal; }
.wpanel__label a { transition: opacity .3s; }
.wpanel__label a:hover { opacity: .6; }
.wpanel__img { position: relative; display: block; flex: none; overflow: hidden; width: 35rem; height: 35rem; background: #ece9e3; }
.wpanel--soft .wpanel__img { width: 35.3rem; height: 35.2rem; }
.wpanel__img img { width: 100%; height: 100%; object-fit: cover; }
.wpanel__img.pos-bottom img { object-position: bottom; }
.wpanel__img.crop img { position: absolute; max-width: none; width: var(--w); height: var(--h); left: var(--x); top: var(--y); }

/* Сцена из четырёх фото (макет 176:1005–1014): размеры и места ровно как в макете —
   по центру, каждое следующее крупнее и ниже. При прокрутке появляются по очереди
   поверх предыдущего и остаются (--o и --ty задаёт js/main.js) */
.stack { height: calc(101.4rem + var(--stack-dist, 0px)); margin: 24.9rem 0 calc(-1 * var(--stack-over, 0px)); }
/* сцена закрепляется у верха экрана; сдвиг --shift задаёт js/main.js */
.stack__stage { position: sticky; top: 0; width: 49.9rem; height: 101.4rem; margin: 0 auto; transform: translateY(var(--shift, 0px)); }
.stack__img {
  position: absolute;
  left: 50%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: var(--o, 0);
  transform: translate(-50%, calc(var(--ty, 4) * 1rem));
  will-change: opacity, transform;
}
.stack__img--1 { top: 0; width: 27.7rem; z-index: 1; }
.stack__img--2 { top: 10.5rem; width: 34.1rem; z-index: 2; }
.stack__img--3 { top: 21.2rem; width: 40.8rem; z-index: 3; }
.stack__img--4 { top: 34.9rem; width: 49.9rem; z-index: 4; }

/* «Скачать каталог»: текст с x 50, кнопка 270×27 с x 589 */
.cta__row { display: grid; grid-template-columns: 53.9rem auto; justify-content: start; align-items: center; gap: 0; }
.cta__btn { width: 27rem; height: 2.7rem; padding: 0 1rem; font-size: 1.2rem; font-weight: 700; }
.btn-dark.cta__btn { background: #fff; color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-text); }
.btn-dark.cta__btn:hover { background: var(--c-text); color: #fff; }

/* ==========================================================================
   Появление при скролле (только при включённом JS)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(2.8rem);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.story__img,
  [data-drift],
  .story__img,
  .how__img { opacity: 1; transform: none; translate: none; transition: none; }
  .hero__media img { animation: none; }
  .feature__img img,
  .catalog__list a,
  .media img,
  .product-card__img { transition: none; }
}

/* ==========================================================================
   Планшет
   ========================================================================== */

@media (max-width: 1024px) {
  :root { --gutter: 3.2rem; }

}

/* На планшетах меню не помещается между логотипом и «к заказу» — переносим вниз */
/* Уже 980 меню не помещается в строку между логотипом и «к заказу» — оно уходит
   по центру строкой ниже */
@media (min-width: 768px) and (max-width: 979px) {
  .header .nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 1.3rem; }
}


@media (min-width: 768px) and (max-width: 1100px) {
  .delivery { grid-template-columns: 1fr 40rem; column-gap: 3rem; }
  .delivery__photo--b { left: auto; right: 0; }
}

/* Сотрудничество и контакты уже 1200: раскладка по координатам не помещается — обычный поток */
@media (max-width: 1199px) {
  /* главная: кнопка каталога и пара фото не вылезают за экран на планшете */
  .cta__row { grid-template-columns: minmax(0, 53.9rem) auto; column-gap: 2rem; }
  .how__pair { margin-left: 0; }
  .how__note { margin-top: 2.4rem; }
  .how__list br { display: none; }
  /* «о нас» на главной: без отступа 317 слева, чтобы видео поместились */
  /* подвал: колонки «меню» и «каталог» уже, чтобы справа всё помещалось в строку */
  .footer { --f-col1: 22rem; --f-col2: 22rem; }
  .footer__contacts { flex-wrap: wrap; }
  .footer__top { flex-wrap: wrap; }
  /* сотрудничество и контакты: обычный поток */
  .abs { height: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .abs > *:not(.title) { position: static; width: auto; transform: none; }
  .js .abs .reveal.is-in { transform: none; }
  .abs br { display: none; }
  .coop__cta { width: 100%; height: 44px; }
  .coop__lead2 { margin-top: 20px; }
  .coop__img--a,
  .coop__img--b { width: 70%; }
  .coop__img--c { width: 35%; }
  .coop__outro { white-space: normal; text-align: left; }
  .contacts__links { align-items: flex-start; }
  .contacts__img { width: 100%; }
  /* карточка товара: квадрат и характеристики сужаются */
  .pd { grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr); }
  .pd-specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
  .pd-model__bar { flex-direction: column; }
  .pd-model .btn-dark { max-width: 100%; }
}

/* ==========================================================================
   Телефон
   ========================================================================== */

@media (max-width: 767px) {
  :root { --gutter: 25px; }

  /* плавающее меню: на телефоне бургер открывает полноэкранное меню */
  .minibar { top: 12px; right: 8px; height: 44px; padding: 0 18px 0 12px; }
  .minibar__nav { display: none; }
  .minibar__toggle { width: 28px; height: 28px; }
  .minibar__toggle span { left: 4px; right: 4px; }
  .minibar__toggle span:first-child { top: 10px; }
  .minibar__toggle span:last-child { top: 17px; }
  .minibar__cart { margin-left: 16px; }
  .menu-open .minibar { opacity: 0; visibility: hidden; }

  /* шапка (общая для всех страниц) */
  .header {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 20px;
    padding-top: 20px;
  }
  .header__left { position: relative; z-index: 30; }
  .header .header__download { display: none; }
  .header__left { grid-column: 1; grid-row: 1; justify-self: start; }
  .brand__logo { width: 32px; height: 25px; }
  .header__cart { grid-column: 2; grid-row: 1; margin-right: 0; }

  .burger {
    position: relative;
    z-index: 30;
    grid-column: 3;
    grid-row: 1;
    display: block;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .burger span {
    position: absolute;
    left: 3px;
    right: 3px;
    height: 1.5px;
    background: var(--c-text);
    transition: transform .35s var(--ease), top .35s var(--ease);
  }
  .burger span:first-child { top: 10px; }
  .burger span:last-child { top: 17px; }
  .burger[aria-expanded="true"] span:first-child { top: 13.5px; transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { top: 13.5px; transform: rotate(-45deg); }

  .header .nav {
    position: fixed;
    inset: 0;
    z-index: 20;
    justify-self: stretch; /* иначе выравнивание с десктопа сжимает fixed-оверлей до ширины контента */
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 80px var(--gutter) 40px;
    background: var(--c-bg);
    font-size: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .header .nav.is-open { opacity: 1; visibility: visible; }
  .nav__extra { display: inline; margin-top: 18px; font-size: 16px; font-style: italic; }
  .header .nav { justify-content: safe center; overflow-y: auto; }
  .nav__item { display: flex; flex-direction: column; align-items: flex-start; }
  .nav__sub {
    position: static;
    gap: 8px;
    min-width: 0;
    margin: 10px 0 4px;
    padding: 0 0 0 18px;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
    transform: none;
    font-size: 17px;
  }
  .nav__sub::before { display: none; }
  body.menu-open { overflow: hidden; }

  .page { padding-top: 48px; }

  /* главная */
  .hero__tagline { position: static; margin-top: 28px; margin-bottom: 12px; }
  .hero__media { margin-top: 0; }
  .hero__media { --hero-r: 160px; aspect-ratio: 4 / 3; }
  .catalog,
  .how,
  .about,
  .what,
  .stack,
  .cta { margin-top: 112px; }
  .dining { margin-top: 88px; }
  .gallery { margin-top: 64px; }

  /* переносы строк из макета рассчитаны на ширину 1200 — на телефоне текст переносится сам */
  main :is(p, li, h1, h2, h3):not(.hero__tagline, .partner__title) br { display: none; }

  /* на телефоне — без эффектов появления и прокрутки: всё сразу на месте */
  .js .reveal,
  .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  [data-parallax] { clip-path: none; }
  .hero__media { clip-path: inset(0 round var(--hero-r) 0 0 0); }
  .hero__media img { animation: none; }

  /* шапка главной: логотип слева, «к заказу» и бургер справа */

  /* о нас: текст, два видео рядом, фото */
    .about__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px 10px; }
  .about__grid > .about__lead { grid-row: 1; }
  .about__grid > .about__text { grid-row: 2; }
  .about__grid > .about__img { grid-row: 3; position: static; width: 100%; margin-top: 0; }
    .about__grid > .about__lead,
  .about__grid > .about__text { width: auto; }
  .about__lead,
  .about__text,
  .about__img { grid-column: 1 / -1; }

  /* что мы делаем: на телефоне листается пальцем, стрелки не нужны */
  .what__arrows { display: none; }
  .what__head { margin-bottom: 40px; }
  .what__track { display: flex; flex-direction: column; gap: 72px; width: auto; padding: 0 var(--gutter); cursor: auto; }
  .wpanel,
  .wpanel:last-child { display: flex; flex-direction: column; gap: 16px; width: auto; height: auto; }
  .wpanel > * { position: static; }
  .wpanel__label br { display: none; }
  .wpanel .wpanel__img { order: 1; position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .wpanel__text { order: 2; width: auto; }
  .wpanel,
  .wpanel--wide { margin-right: 0; gap: 16px; }
  .wpanel--soft .wpanel__img { width: 100%; height: auto; }

  /* сцена из четырёх фото: сетка 2×2 */
  .stack { padding: 0 var(--gutter); }
  .stack { height: auto; }
  .stack__stage { position: static; transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: auto; height: auto; }
  .stack__img { position: static; width: 100%; opacity: 1; transform: none; }

  .cta__row { grid-template-columns: 1fr; gap: 20px; }
  .cta__btn { width: 100%; height: 44px; }
  .title { margin-bottom: 0; }
  .catalog__grid { grid-template-columns: 261fr 362fr; column-gap: 10px; margin-top: 24px; }
  .catalog__list { grid-column: 1 / -1; grid-row: 1; margin: 0 0 28px; }
  .catalog__img--a { grid-column: 1; grid-row: 2; margin-top: 30px; }
  .catalog__img--b { grid-column: 2; grid-row: 2; }

  .how__grid { grid-template-columns: 1fr; margin-top: 24px; }
  .how__list { gap: 18px; margin: 28px 0 0; max-width: none; }
  .how__list br { display: none; }
  .how__note { margin-top: 24px; max-width: none; }
  .how__pair { --pw: 50%; width: 100%; height: auto; aspect-ratio: 566 / 425; margin: 32px 0 0; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item--a { grid-column: 1 / -1; }
  .gallery__item--b { grid-column: 1; grid-row: 2; margin-top: 0; }
  .gallery__item--c { grid-column: 2; grid-row: 2; margin-top: 48px; }

  .about__grid { height: auto; aspect-ratio: auto; margin: 24px 0 0; }
  .about__grid > * { position: static; }
  .about__lead,
  .about__text { max-width: none; }
  .about__text { margin-top: 0; }
  .about__img { width: 100%; margin-top: 24px; }
  .feature__text br { display: none; }

  .cta__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta__row p { width: auto; }

  .strip { --sh: 240px; margin-top: 28px; }

  /* каталог */
  .products { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 36px; margin-top: 28px; }
  .shop { grid-template-columns: 1fr; margin-top: 20px; }
  .shop__cats { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .products--shop { margin-top: 28px; }
  .products--shop { column-gap: 16px; row-gap: 32px; }
  .product-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
  .product-card__img { grid-column: 1; grid-row: 1; }
  .product-card__name { grid-column: 1; grid-row: 2; margin-top: 8px; padding-right: 0; }
  .product-card__price { grid-column: 1; grid-row: 4; margin-top: 4px; }
  .order__item { grid-template-columns: 56px 1fr auto auto; gap: 8px 12px; }
  .order__item img { width: 56px; height: 56px; grid-row: span 2; }
  .order__item .order__price { grid-column: 2; grid-row: 2; }
  .order__qty { grid-column: 3; }
  .order__remove { grid-column: 4; margin-left: -2px; }  /* 12 − 2 = 10px от количества */
  .order__form { width: 100%; }  /* на телефоне форма во всю ширину, как остальные блоки */
  .crumbs { margin-bottom: 24px; }
  .lightbox img { top: 56px; left: 8px; width: calc(100% - 16px); height: calc(100% - 112px); }

  /* партнёры */
  .partner + .partner { margin-top: 64px; }
  .partner__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .partner__main { grid-column: 1 / -1; grid-row: 1; }
  .partner__side { aspect-ratio: 3 / 4; }

  /* о нас */
  .story,
  .story--first { grid-template-columns: 1fr; align-items: start; }
  .story + .story,
  .story:nth-of-type(n) { margin-top: 80px; }  /* от текста до следующего фото — 80 */
  .story:first-of-type { margin-top: 0; }
  .story .story__img { grid-column: 1; grid-row: 1; }
  .story .story__text { grid-column: 1; grid-row: 2; max-width: none; padding: 24px 0 0; }
  .story__body { margin-top: 16px; }
  .story__text .h2 { line-height: 1.2; }

  /* карточка */
  .page--product { padding-top: 48px; }
  /* телефон, макет 266:114: справа артикул и тип, квадратное фото, «в корзину»,
     «характеристики:» с ценой в одной строке, характеристики, материалы, примечание —
     потом остальные фото и 3D. Блоки колонок «растворены» (display: contents) в сетке .pd:
     первые пять строк заданы явно, остальное встаёт ниже по порядку (order) */
  .pd { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .pd-media,
  .pd-info { display: contents; }
  .pd .pd-info > *,
  .pd .pd-media > * { grid-column: 1 / -1; margin-top: 0; }
  .pd .pd-info > .pd-head__name { grid-row: 1; justify-self: end; font-size: 24px; text-align: right; }
  .pd .pd-info > .pd-head__type { grid-row: 2; justify-self: end; max-width: 84px; text-align: right; }
  .pd .pd-media > .pd-side { grid-row: 3; margin-top: 24px; aspect-ratio: 325 / 324; }
  .pd .pd-media > .pd-side img { object-fit: cover; }
  .pd .pd-info > .pd-buy { grid-row: 4; margin-top: 25px; }
  .pd .pd-info > .pd-info__title:first-of-type { grid-row: 5; grid-column: 1; margin-top: 25px; }
  .pd .pd-info > .pd-price { grid-row: 5; grid-column: 2; margin-top: 25px; font-size: 12px; }
  .pd .pd-info > .pd-specs { margin-top: 20px; }
  .pd .pd-info > .pd-info__title--next { margin-top: 27px; }
  .pd .pd-info > .pd-extra { margin-top: 20px; }
  .pd .pd-info > .pd-note { margin-top: 50px; max-width: 163px; font: 8px/normal var(--f-inter); }
  .pd .pd-media > .pd-shot { order: 1; }
  .pd .pd-info::after { content: ""; grid-column: 1 / -1; height: 50px; } /* отступ перед остальными фото */
  .pd .pd-media > .pd-model { order: 2; margin-top: 40px; }
  .pd-buy .btn-dark { width: 100%; height: 27px; }
  .pd-specs { grid-template-columns: 50.8% minmax(0, 1fr); gap: 10px 0; line-height: normal; }
  .pd-model__bar { flex-direction: column; gap: 16px; margin-top: 16px; }
  .pd-model .btn-dark { width: 100%; height: 44px; }

  /* центрированные страницы */

  .text-18 br { display: none; }
  .page--delivery { padding-top: 48px; }
  .delivery { grid-template-columns: 1fr; }
  .delivery > * { grid-column: 1; grid-row: auto; }
  .delivery__pay { margin-top: 24px; }
  .delivery__h { margin-top: 56px; }
  .delivery__intro { width: auto; margin-top: 16px; }
  .delivery__carriers { margin-top: 16px; }
  .delivery__terms { max-width: none; margin-top: 40px; }
  .delivery { min-height: 0; }
  .delivery__carriers { flex-wrap: wrap; gap: 4px 10px; }
  .delivery__photo { position: relative; left: auto; right: auto; top: auto; width: 70%; margin-top: 40px; }
  .delivery__photo--b { justify-self: end; }
  .page--delivery { padding-bottom: 0; }
  .delivery br { display: none; }

  /* подвал */
  /* телефон, макет 281:380 (375×555): как на компьютере — слева тёмная основа, справа (с x 183)
     светло-зелёная, поверх фото с «исключением». Слева тёмным «каталог» (27, 43) и «меню» (27, 271),
     справа белым по правому краю: «скачать каталог» (37), контакты столбиком через 40 (с 177),
     документы мелко (478, 498, 518) */
  .footer { background: linear-gradient(to right, #141414 48.8%, #cce4b0 48.8%); }  /* граница чёткая, как на компьютере */
  .footer__inner { position: relative; display: block; height: 555px; min-height: 0; padding: 0; }
  .footer__col { position: absolute; left: 27px; }
  .footer__col--catalog { top: 43px; }
  .footer__col--menu { top: 271px; }
  .footer__heading { font-size: 12px; font-weight: 700; line-height: normal; letter-spacing: 0; }
  .footer__list,
  .footer__col--catalog .footer__list { gap: 10px; margin: 15px 0 0; font-size: 12px; line-height: normal; }
  .footer__side { position: absolute; inset: 0; display: block; margin: 0; padding: 0; background: none; font-size: 12px; line-height: normal; }
  .footer__side > * { position: absolute; }
  .footer__top { top: 37px; right: 19px; margin: 0; }
  .footer__top address { display: none; }
  .footer__download { font-weight: 700; }
  .footer__contacts { top: 177px; right: 26px; flex-direction: column; align-items: flex-end; gap: 25px; margin: 0; }
  .footer__legal { top: 478px; right: 26px; flex-direction: column; align-items: flex-end; gap: 10px; margin: 0; padding: 0; font-size: 8px; line-height: normal; }
}

/* Только для скринридеров и поисковиков */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Телефон: оплата и доставка, сотрудничество, контакты — мобильные макеты
   212:146, 212:220, 212:263 (кадр 375, поля 25, заголовок справа на y 100)
   ========================================================================== */

@media (max-width: 767px) {
  .page--delivery .wrap,
  .page--delivery,
  .page--coop,
  .page--contacts { padding-left: 25px; padding-right: 25px; }
  .page--delivery .title,
  .page--coop .title,
  .page--contacts .title { justify-self: end; align-self: flex-end; margin-top: 4px; text-align: right; }

  /* оплата и доставка */
  .page--delivery { padding-bottom: 0; }
  .delivery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 77px;
    column-gap: 11px;
    grid-template-areas:
      "title  title"
      "pay    pay"
      "h      h"
      "intro  small"
      "carr   carr"
      "terms  terms"
      "big    big";
    min-height: 0;
  }
  .delivery > * { grid-row: auto; grid-column: auto; }
  .delivery__title { grid-area: title; }
  .delivery__pay { grid-area: pay; justify-self: end; margin-top: 14px; font-size: 14px; line-height: 1.2; text-align: right; display: flex; flex-direction: column; gap: 10px; }
  .delivery__h { grid-area: h; margin-top: 86px; font-size: 12px; font-weight: 700; }
  .delivery__intro { grid-area: intro; width: auto; max-width: 234px; margin-top: 15px; font-size: 12px; line-height: 1.2; letter-spacing: -0.01em; }
  .delivery__intro p + p { margin-top: 1.2em; }
  .delivery__photo { position: relative; left: auto; right: auto; top: auto; margin: 0; }
  .delivery__photo--b { grid-area: small; width: 77px; margin-top: 11px; aspect-ratio: 77 / 102; justify-self: end; }
  .delivery__carriers { grid-area: carr; justify-self: center; display: flex; flex-wrap: nowrap; gap: 5px; margin-top: 80px; font-size: 12px; font-weight: 700; white-space: nowrap; }
  .delivery__terms { grid-area: terms; max-width: none; margin-top: 40px; font-size: 12px; line-height: 1.2; letter-spacing: -0.01em; }
  .delivery__terms p + p { margin-top: 1.2em; }
  .delivery__photo--a { grid-area: big; width: 100%; margin-top: 80px; aspect-ratio: 696 / 928; }

  /* сотрудничество */
  /* макет 212:220: заголовок, абзац, фото справа, кнопка, тексты, финальные фразы слева, фото во всю ширину */
  .page--coop .abs.coop { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .page--coop .abs > * { position: static; transform: none; }
  .page--coop .abs .coop__lead { width: auto; margin-top: 79px; font-size: 24px; font-weight: 700; line-height: 1; }
  .page--coop .abs .coop__img { width: auto; }
  .page--coop .abs .coop__img--a { align-self: flex-end; width: 160px; margin-top: 79px; aspect-ratio: 160 / 214; }
  .page--coop .abs .coop__cta { align-self: flex-start; width: 270px; height: 27px; margin-top: 80px; padding: 0 10px; font-size: 12px; font-weight: 700; line-height: 1.2; }
  .page--coop .abs .coop__text1 { max-width: 276px; margin-top: 15px; font-size: 12px; line-height: 1.2; letter-spacing: -0.01em; }
  .page--coop .abs .coop__lead2 { margin-top: 100px; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
  .page--coop .abs .coop__text2 { margin-top: 14px; font-size: 12px; line-height: 1.2; letter-spacing: -0.01em; }
  .page--coop .abs .coop__text2 p + p { margin-top: 1.2em; }
  .page--coop .abs .coop__img--b { order: 2; width: 100%; margin: 100px 0 0; aspect-ratio: 325 / 434; opacity: .9; }
  .page--coop .abs .coop__img--c { display: none; }  /* в мобильном макете 212:220 его нет */
  .page--coop .abs .coop__outro { order: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-top: 30px; font-size: 12px; line-height: 1.2; letter-spacing: -0.01em; text-align: left; white-space: normal; }
  .page--coop .abs .coop__outro p:last-child { max-width: 310px; }

  /* контакты */
  .page--contacts .abs.contacts { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .page--contacts .abs > * { position: static; transform: none; }
  .page--contacts .abs .contacts__links { align-self: center; align-items: center; gap: 13px; margin-top: 79px; font-size: 12px; line-height: normal; }
  .page--contacts .abs .contacts__addr { order: 1; align-self: flex-start; display: flex; flex-direction: column; gap: 5px; width: 264px; max-width: none; margin: 81px 0 0 3px; text-align: left; }
  .page--contacts .abs .contacts__addr strong { font-size: 12px; font-weight: 700; }
  .page--contacts .abs .contacts__addr p { font-size: 10px; line-height: 1.2; }
  .page--contacts .abs .contacts__img { order: 2; align-self: flex-end; width: 300px; max-width: calc(100% - 25px); margin-top: 36px; aspect-ratio: 3 / 2; }
}


/* ==========================================================================
   Телефон: главная (макет 229:497, кадр 375, поля 25). Заголовки справа,
   в первом экране фото ниши 326×579, «что мы делаем?» листается свайпом.
   Видео, «скачать каталог» и ленты изделий в мобильном макете нет.
   ========================================================================== */

@media (max-width: 767px) {
  .home .hero,
  .home .catalog,
  .home .how,
  .home .about,
  .home .dining { padding-left: 25px; padding-right: 25px; }
  .home .title { text-align: right; }

  /* макет 229:514/518: фото на 78, «мебель как искусство» под ним слева, через 15 */
  .home .hero { display: flex; flex-direction: column; }
  .home .hero__tagline { order: 1; position: static; margin: 15px 0 0; text-align: left; font-size: 12px; line-height: 1; }
  .home .hero__media { --hero-r: 163px; margin: 30px 0 0; aspect-ratio: 326 / 579; clip-path: inset(0 round var(--hero-r) 0 0 0); }
  .home .hero__media.crop img { position: static; width: 100%; height: 100%; max-width: none; object-fit: cover; }

  .home .catalog { margin-top: 75px; }
  .home .catalog__grid { display: grid; grid-template-columns: 180px 1fr; column-gap: 30px; align-items: center; margin-top: 80px; }
  .home .catalog__img--a { display: none; }
  .home .catalog__img--b { grid-column: 1; grid-row: 1; width: 180px; margin: 0; aspect-ratio: 180 / 225; border-radius: 0; }
  .home .catalog__list { grid-column: 2; grid-row: 1; gap: 20px; margin: 0; align-self: center; height: auto; justify-content: center; font-size: 12px; }

  .home .how { margin-top: 100px; }
  .home .how__grid { display: block; margin-top: 80px; }
  .home .how__lead { max-width: 323px; font-size: 18px; }
  .home .how__lead .br-m { display: inline; }  /* макет 229:541: «Работаем только» — отдельной строкой */
  .home .how__list { gap: 10px; max-width: none; margin: 25px 0 0; font-size: 14px; }
  .home .how__note { width: 102px; max-width: none; margin: 50px 0 0 auto; font-size: 10px; line-height: 1.2; text-align: right; }
  .home .how__pair { --pw: 50%; width: 100%; height: auto; aspect-ratio: 324 / 241; margin: 80px 0 0; }

  .home .gallery { display: flex; align-items: center; gap: 26px; margin-top: 25px; }
  .home .gallery__item--a { display: none; }
  .home .gallery__item--c { order: 1; flex: none; width: 127px; margin: 0; aspect-ratio: 127 / 200; }
  .home .gallery__item--b { order: 2; flex: none; width: 173px; margin: 0; aspect-ratio: 173 / 306; }
  .home .gallery__item--b img { transform: none; object-position: left; }

  .home .about { margin-top: 100px; }
  .home .about__grid { display: block; height: auto; aspect-ratio: auto; margin: 80px 0 0; font-size: 14px; }
  .home .about__grid > * { position: static; }
  .home .about__lead { width: 244px; }
  .home .about__text { width: 244px; margin-top: 25px; }
  .home .about__grid > .about__img { display: block; width: 100%; margin-top: 80px; aspect-ratio: 325 / 196; }
  .home .about__video { display: block; }
  .home .about__video--1 { width: 62%; margin-top: 80px; }
  .home .about__video--2 { width: 72%; margin: 80px 0 0 auto; }  /* 80, как между всеми элементами блока */
  .home 
  .home .what { margin-top: 120px; }
  .home .what__head { justify-content: flex-end; margin-bottom: 80px; padding: 0 25px; }
  .home .what__track {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: auto;
    padding: 0 25px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 25px;
    scrollbar-width: none;
    transform: none;
  }
  .home .what__track::-webkit-scrollbar { display: none; }
  .home .wpanel,
  .home .wpanel:last-child { display: flex; flex-direction: row; align-items: flex-start; gap: 50px; flex: none; width: auto; height: auto; margin-right: 50px; scroll-snap-align: start; }
  .home .wpanel:last-child { margin-right: 0; padding-right: 25px; }
  .home .wpanel--wide { gap: 53px; }
  .home .wpanel .wpanel__text { order: 0; width: 250px; }
  .home .wpanel .wpanel__img { order: 0; width: 350px; height: 350px; aspect-ratio: auto; }
  .home .wpanel--soft .wpanel__img { width: 353px; height: 352px; }

  .home .dining { margin-top: 203px; }
  .home .dining__img { aspect-ratio: 325 / 282; }

  /* стопка фото как в макете: по центру, каждое следующее крупнее и ниже.
     Сцена не закрепляется — фото по одному выезжают при прокрутке (js/main.js) */
  .home .stack { height: auto; margin: 207px 0 0; padding: 0; }
  .home .stack__stage { position: relative; display: block; width: 325px; max-width: calc(100% - 50px); height: auto; aspect-ratio: 325 / 660; margin: 0 auto; transform: none; }
  .home .stack__img { position: absolute; left: 50%; height: auto; aspect-ratio: 3 / 4; opacity: var(--o, 0); transform: translate(-50%, calc(var(--ty, 4) * 1rem)); }
  .home .stack__img--1 { top: 0; width: 55.48%; }
  .home .stack__img--2 { top: 10.36%; width: 68.36%; }
  .home .stack__img--3 { top: 20.92%; width: 81.76%; }
  .home .stack__img--4 { top: 34.41%; width: 100%; }

  /* после фото — как на компе: «скачать каталог» и лента изделий (листается пальцем) */
  .home .cta { margin-top: 120px; }
  .home .cta__row { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .home .cta__btn { width: 270px; height: 27px; }
  .home .strip { --sh: 240px; margin-top: 40px; }
  .home .strip__track { gap: 12px; padding-inline: 25px; }
}

/* Попапы конструктора Elementor со старого сайта — на страницах темы не показываем */
.elementor-location-popup,
[data-elementor-type="popup"],
.elementor-popup-modal { display: none !important; }
