/* Базовая палитра: синий #0038A7, бордовый #A42654, белый, чёрный #0F0F0F, шрифт Arimo */
:root {
  --blue: #0038A7;
  --blue-dark: #002a7e;
  --pink: #A42654;
  --pink-dark: #A42654;
  --black: #0F0F0F;
  --white: #FFFFFF;
  --grey: #F2F2F4;
  --line: #E3E4EA;
  --muted: #6B7080;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 30, 90, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Arimo", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 15px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
h2 { font-size: 30px; letter-spacing: -.3px; }
.muted { color: var(--muted); font-weight: 400; }
/* Вёрстка на всю ширину экрана: поля растут вместе с экраном, на 4K строка не растягивается бесконечно */
.wrap { max-width: 1840px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 56px); }

/* Кнопки */
.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  padding: 14px 28px; border-radius: var(--radius); transition: background .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { background: var(--pink-dark); }

/* Верхняя полоса */
.topbar { background: var(--grey); font-size: 13px; }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 36px; }
.topbar__left { display: flex; gap: 20px; }
.topbar__strong { font-weight: 700; }
.topbar__accent { color: var(--pink); font-weight: 700; }
.topbar__nav { display: flex; gap: 22px; margin-left: auto; }
.topbar__nav a:hover, .topbar__mail:hover { color: var(--blue); }
.topbar__mail { text-decoration: underline; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 20px; height: 78px; }
.logo img { height: 46px; width: auto; }
.btn-catalog {
  display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--blue); color: var(--white); font: inherit; font-weight: 700;
  padding: 0 20px; height: 44px; border-radius: var(--radius);
}
.btn-catalog:hover, .btn-catalog[aria-expanded="true"] { background: var(--blue-dark); }
.burger { display: grid; gap: 3px; }
.burger i { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.search { flex: 1; display: flex; height: 44px; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; }
.search input { flex: 1; border: 0; padding: 0 14px; font: inherit; outline: none; min-width: 0; }
.search button { border: 0; background: none; color: var(--blue); padding: 0 14px; cursor: pointer; }
@media (min-width: 768px) and (max-width: 900px) {
  .header .search :is(input, button) { padding-inline: 10px; }
  .header .search .search-photo-link { flex: 0 0 38px; justify-content: center; padding-inline: 0; }
  .header .search .search-photo-link span { display: none; }
  .header .search-suggestions { right: auto; width: max(100%, 320px); }
  .header .search-suggestions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.header__phone { display: flex; flex-direction: column; text-align: right; }
.header__phone a { font-weight: 700; font-size: 17px; }
.header__phone span { font-size: 12px; color: var(--muted); }
.header__icons { display: flex; gap: 14px; }
.hicon { position: relative; color: var(--black); }
.hicon:hover { color: var(--blue); }
.badge {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--pink); color: var(--white); font-size: 11px;
  display: grid; place-items: center;
}

/* Выпадающий каталог */
.megamenu { background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 30, 90, .12); }
.megamenu__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 20px; padding-bottom: 24px; }
.megamenu a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); font-weight: 500; }
.megamenu a:hover { background: var(--grey); color: var(--blue); }
.megamenu svg { width: 34px; height: 34px; color: var(--blue); flex: none; }
/* Иконка раздела: синяя, при наведении — розовая (картинки из каталога поставщика) */
.mm-ic { position: relative; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #EAF0FB; display: grid; place-items: center; transition: background .2s; }
.mm-ic img { width: 26px; height: 26px; object-fit: contain; image-rendering: -webkit-optimize-contrast; grid-area: 1 / 1; transition: opacity .2s; }
.mm-ic svg { width: 28px; height: 28px; color: var(--blue); }
.mm-ic__h { opacity: 0; }
.megamenu a:hover .mm-ic { background: color-mix(in srgb, var(--pink) 10%, white); }
.megamenu a:hover .mm-ic img:not(.mm-ic__h) { opacity: 0; }
.megamenu a:hover .mm-ic__h { opacity: 1; }
.megamenu a:hover .mm-ic svg { color: var(--pink); }
.megamenu__in { max-height: 70vh; overflow-y: auto; }
.megamenu small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.badge--blue { background: var(--blue); }

/* Главный баннер */
.hero { background: var(--grey); padding: 24px 0 40px; }
/* 2.4 : 1 — два ролика 3:2 справа по высоте совпадают с баннером 1.8:1 слева */
.hero__grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 20px; }
.slider {
  position: relative; aspect-ratio: 1.8; border-radius: 14px; overflow: hidden; background: var(--blue);
}
/* Мягкое перетекание (Иван 02.11): новый проявляется поверх старого, старый держится под ним до конца — без провала в фон */
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1); }
.slide.is-prev { opacity: 1; visibility: visible; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .slide.is-active { transition: none; } }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 16px; display: flex; gap: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(15, 15, 15, .25); }
.slider__dots button { position: relative; overflow: hidden; width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
/* 16.11: активная чёрточка шире и заполняется — видно, когда сменится баннер (script.js frame()) */
.slider__dots button.is-active { width: 44px; background: rgba(255, 255, 255, .45); }
.slider__dots button i { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.slider__dots button { transition: width .3s; }
.slider { touch-action: pan-y; }
.hero__side { display: grid; gap: 20px; }
.promo {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 200px;
  box-shadow: var(--shadow); transition: transform .2s; background: var(--blue);
}
.promo:hover { transform: translateY(-3px); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; color: var(--white);
  background: var(--blue); border-top: 4px solid var(--pink); display: flex; flex-direction: column; gap: 2px;
}
.promo__cap b { font-size: 17px; }
/* Карточка с роликом: видео заполняет карточку, при наведении — розовая кнопка */
.hero__side { align-content: start; }
.promo--video { background: var(--black); min-height: 0; aspect-ratio: 3 / 2; }
.promo--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1101px) {
  .hero__grid .slider { aspect-ratio: auto; min-height: 100%; } /* баннер по высоте двух роликов */
}
.promo__more {
  position: absolute; left: 12px; top: 12px; padding: 7px 14px; border-radius: 20px;
  background: var(--pink); color: var(--white); font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s;
}
.promo--video:hover .promo__more, .promo--video:focus-visible .promo__more { opacity: 1; transform: none; }
.promo__cap span { font-size: 13px; opacity: .85; }

/* Секции */
.section { padding: 56px 0; }
.section--grey { background: var(--grey); }
.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.more { color: var(--pink); font-size: 14px; text-decoration: underline; }
.more:hover { color: var(--pink-dark); }
.arrows { margin-left: auto; display: flex; gap: 8px; }
.arrows button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--blue);
}
.arrows button:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Категории */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 13vw, 300px); gap: 20px; }
.cat {
  position: relative; background: var(--grey); border-radius: 14px; padding: 18px 20px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 30, 100, .85), rgba(0, 30, 100, 0) 60%); }
.cat span, .cat small { position: relative; z-index: 1; }
.cat span { font-weight: 700; font-size: 17px; }
.cat small { color: rgba(255, 255, 255, .8); margin-top: 2px; }
.cat--big { grid-row: span 2; }
.cat--big span { font-size: 24px; }
.cat--big::before { content: ""; position: absolute; z-index: 1; left: 0; bottom: 26px; width: 6px; height: 54px; background: var(--pink); }

/* Сервисы */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service {
  display: flex; align-items: center; gap: 20px; background: var(--white); border-radius: 14px; padding: 22px 26px;
  box-shadow: var(--shadow); transition: transform .2s;
}
.service:hover { transform: translateY(-3px); }
.service__ic {
  width: 68px; height: 68px; border-radius: 18px; flex: none; display: grid; place-items: center;
  background: #EAF0FB; color: var(--blue); transition: background .25s, color .25s;
}
.service__ic svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service__ic .acc { stroke: var(--pink); }
.service:hover .service__ic { background: var(--blue); color: var(--white); }
.service b { display: block; font-size: 17px; margin-bottom: 4px; }
.service small { color: var(--muted); }
.service i { margin-left: auto; font-style: normal; font-size: 26px; color: var(--pink); }

/* Товары */
/* Лента товаров: 4 карточки на ноутбуке, 5 на широком экране, 6 на очень широком */
.products { --cols: 4; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * 20px) / var(--cols)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.products::-webkit-scrollbar { display: none; }
.product {
  position: relative; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; transition: box-shadow .2s;
}
.product:hover { box-shadow: var(--shadow); }
.product__img { position: relative; aspect-ratio: 1; background: var(--grey); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.04); }
.product__label { z-index: 1; position: absolute; top: 10px; left: 10px; background: var(--pink); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.product__label--hit { background: var(--blue); }
.product__fav { z-index: 1; position: absolute; top: 8px; right: 8px; border: 0; background: var(--white); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--muted); font-size: 16px; }
.product__fav.is-on { color: var(--pink); }
.product__img { display: block; }
.product__name { display: block; font-size: 14px; min-height: 40px; margin-bottom: 4px; }
.product__name:hover { color: var(--blue); }
.product__brand { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.product__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 12px; }
.product__price b { font-size: 20px; }
.product__price .product__ask { font-size: 16px; color: var(--blue); }
.product__price s { color: var(--muted); font-size: 14px; }
.product__buy { border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 11px; transition: background .2s; }
.product__buy:hover { background: var(--blue-dark); }
.product__buy.is-added { background: var(--pink); }

/* О компании */
.about { background: var(--blue); color: var(--white); padding: 64px 0; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.about__text { position: relative; }
.about__text h1, .about__text h2 { font-size: 32px; line-height: 1.2; position: relative; padding-left: 22px; }
.about__text h1::before, .about__text h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 8px; background: var(--pink); }
.about__text p { font-size: 16px; opacity: .9; margin-top: 18px; }
.about__sun { width: 160px; height: 160px; color: rgba(255, 255, 255, .25); margin-top: 18px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.benefit { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 20px; }
.benefit b { display: block; font-size: 16px; margin-bottom: 6px; }
.benefit b::before { content: ""; display: block; width: 26px; height: 4px; background: var(--pink); border-radius: 2px; margin-bottom: 12px; }
.benefit span { font-size: 13px; opacity: .8; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--grey); border-radius: 14px; padding: 24px; }
.stars { color: var(--pink); letter-spacing: 2px; }
.review p { margin: 12px 0 16px; }

/* Проекты */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { display: flex; flex-direction: column; gap: 4px; }
.project__img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 10px; transition: transform .2s; }
.project:hover .project__img { transform: translateY(-3px); }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project small { color: var(--muted); }

/* Производители */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brands span {
  height: 84px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center;
  font-weight: 700; font-size: 18px; color: var(--muted); transition: color .2s, border-color .2s;
}
.brands span:hover { color: var(--blue); border-color: var(--blue); }

/* SEO и вопросы */
.seo { max-width: 960px; }
.seo p { color: #3b3f4a; }
.faq { max-width: 960px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 16px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; color: var(--pink); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: #3b3f4a; }

/* Форма */
.consult { background: var(--grey); padding: 56px 0; }
.consult__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: var(--white); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); border-left: 10px solid var(--pink); }
.consult p { color: var(--muted); }
.consult__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult__form input:not([type=checkbox]) { height: 50px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; font: inherit; outline: none; }
.consult__form input:focus { border-color: var(--blue); }
.check { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.check input { accent-color: var(--blue); }
.consult__form .btn { grid-column: 1 / -1; }
.consult__ok { grid-column: 1 / -1; color: var(--blue); font-weight: 700; margin: 0; }
.consult__err { grid-column: 1 / -1; color: #c62828; font-weight: 700; margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button[disabled] { opacity: .6; cursor: wait; }

/* Подвал */
.footer { background: var(--black); color: rgba(255, 255, 255, .8); padding: 48px 0 20px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer__logo { height: 54px; width: auto; }
.footer__small { margin-top: 12px; }
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 15px; }
.footer a, .footer span { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--pink); }
.footer__phone { font-size: 18px; font-weight: 700; color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ===== Внутренние страницы ===== */
.page { padding: 20px 0 56px; }
.page__title { font-size: 34px; margin: 10px 0 14px; letter-spacing: -.3px; }
.page__lead { color: var(--muted); font-size: 16px; max-width: 760px; margin: 0 0 24px; }
.page__h2 { margin: 48px 0 20px; }
.page .consult__in { margin-top: 48px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 4px; }
.crumbs b { color: var(--black); font-weight: 500; }
.section--tight { padding: 36px 0 0; }
.empty { color: var(--muted); padding: 24px 0; }
.empty a, .faq a, .ptabs a, .pinfo a { color: var(--blue); text-decoration: underline; }
.pinfo .btn, .faq .btn { text-decoration: none; color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }

.grid3, .grid4 { display: grid; gap: 20px; }
.grid3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid4 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* Каталог: плитки категорий */
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 12px; }
.catcard { display: flex; flex-direction: column; gap: 2px; }
.catcard__img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--grey); margin-bottom: 10px; }
.catcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.catcard:hover img { transform: scale(1.05); }
.catcard:hover b { color: var(--blue); }
.catcard small { color: var(--muted); }

/* Категория: фильтры и список */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { background: var(--grey); border-radius: 14px; padding: 20px; position: sticky; top: 96px; }
.filters :is(h2,h3) { font-size: 15px; margin: 0 0 10px; }
.filters :is(h2,h3) + div { margin-bottom: 20px; }
.fcheck { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.fcheck input { accent-color: var(--blue); width: 16px; height: 16px; }
.fcheck small { margin-left: auto; color: var(--muted); }
.filters__reset { border: 0; background: none; color: var(--pink); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 0; }
.listing__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.listing__bar select { margin-left: 8px; font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }

/* Карточка товара */
.pcard { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 18px; align-items: start; }
/* окно фото по форме самого фото — без белых полос у широких интерьеров (Иван 30.10); фото едет вместе с описанием */
.pcard .gallery { position: sticky; top: 96px; }
.gallery__main { border-radius: 14px; overflow: hidden; background: var(--grey); display: flex; justify-content: center; }
.gallery__main img { width: 100%; height: auto; max-height: 76vh; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 88px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.gallery__thumbs button.is-active { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: 30px; line-height: 1.15; margin: 8px 0 18px; }
.pinfo__tag { position: static; display: inline-block; }
.specs { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0 0 22px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.pinfo__price { font-size: 30px; font-weight: 700; color: var(--blue); }
.pinfo__note { color: var(--muted); font-size: 13px; margin: 4px 0 18px; }
.pinfo__buttons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pinfo__buttons .product__buy { padding: 14px 28px; }
.pinfo__fav { width: 48px; height: 48px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); font-size: 20px; color: var(--muted); cursor: pointer; }
.pinfo__fav.is-on, .pinfo__fav[aria-pressed="true"] { color: var(--pink); border-color: var(--pink); }
.pinfo__fav[data-compare] { display: inline-grid; place-items: center; }
.pinfo__fav[data-compare] svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pinfo__perks { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.ptabs { margin-top: 40px; }
.ptabs__head { display: flex; gap: 6px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.ptabs__head button { border: 0; background: none; font: inherit; font-weight: 700; padding: 12px 18px; cursor: pointer; color: var(--muted); margin-bottom: -2px; border-bottom: 2px solid transparent; }
.ptabs__head button.is-active { color: var(--blue); border-bottom-color: var(--pink); }
.ptabs__body { max-width: 860px; padding-top: 6px; }

/* Корзина */
.cartbox { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cartrow { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cartrow img { width: 110px; height: 90px; object-fit: cover; border-radius: 8px; }
.cartrow__info { display: flex; flex-direction: column; gap: 4px; }
.cartrow__info small { color: var(--muted); }
.cartrow__info span { color: var(--blue); font-weight: 700; }
.qty { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.qty button, .cartrow__del { border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--blue); }
.cartrow__del { color: var(--muted); }
.cart__total { padding: 18px 0; font-size: 18px; }
.cart__total b { color: var(--blue); font-size: 22px; }
.cart__total small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.cartform { background: var(--grey); border-radius: 14px; padding: 22px; display: grid; gap: 12px; position: sticky; top: 96px; }
.cartform h3 { margin: 0; }
.cartform p { margin: 0; color: var(--muted); font-size: 14px; }
.cartform input:not([type=checkbox]), .cartform textarea { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font: inherit; outline: none; background: var(--white); }
.cartform input:focus, .cartform textarea:focus { border-color: var(--blue); }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.infocard { background: var(--grey); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--pink); }
.infocard h3 { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 0 4px; }
.infocard__big { font-size: 20px; font-weight: 700; color: var(--blue); }
.infocard small { color: var(--muted); }

/* Текст + фото */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 24px; }
.split img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin-bottom: 12px; }
.split p { color: #3b3f4a; }
.split--rev img { order: 2; }
.split .btn { margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: var(--pink); color: var(--white); font-size: 12px; display: grid; place-items: center; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--grey); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; display: grid; place-items: center; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 14px; }
.benefits--light .benefit { background: var(--grey); border: 0; color: var(--black); }
.benefits--light .benefit span { opacity: 1; color: var(--muted); }
.benefits--wide { grid-template-columns: repeat(3, 1fr); }
.page .about { margin: 40px 0 0; }

/* Галерея интерьеров */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.masonry { columns: 3; column-gap: 16px; }
.shot { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; border-radius: 12px; overflow: hidden; break-inside: avoid; }
.shot img { width: 100%; display: block; transition: transform .4s; }
.shot:hover img { transform: scale(1.03); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: var(--white); font-size: 13px; font-weight: 700; text-align: left; background: linear-gradient(to top, rgba(0, 30, 100, .8), transparent); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 15, 15, .9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 16px; right: 20px; border: 0; background: none; color: var(--white); font-size: 28px; cursor: pointer; }

/* ===== Идеи как у крупных мебельных магазинов ===== */

/* Шапка сжимается при прокрутке */
.header__in, .logo img { transition: height .25s; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 30, 90, .08); }
@media (min-width: 721px) {
  .header.is-scrolled .header__in { height: 62px; }
  .header.is-scrolled .logo img { height: 38px; }
}

/* Карточка: второе фото при наведении и «Быстрый просмотр» */
.product__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.product:hover .product__alt { opacity: 1; }
.product__media { position: relative; }
.product__quick {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); white-space: nowrap;
  z-index: 2; opacity: 0; pointer-events: none;
  border: 0; border-radius: 20px; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  background: rgba(255, 255, 255, .95); color: var(--blue); box-shadow: var(--shadow); transition: opacity .2s;
}
.product:hover .product__quick { opacity: 1; pointer-events: auto; }
.product__quick:hover { background: var(--blue); color: var(--white); }

/* Окно быстрого просмотра */
.no-scroll { overflow: hidden; }
.qv { position: fixed; inset: 0; z-index: 200; background: rgba(15, 15, 15, .6); display: grid; place-items: center; padding: 16px; }
.qv__win { position: relative; background: var(--white); border-radius: 18px; overflow: hidden; width: min(1000px, 100%); max-height: 92vh; display: grid; grid-template-columns: 1.2fr 1fr; }
.qv__photo { position: relative; background: var(--grey); }
.qv__photo img { width: 100%; height: 100%; object-fit: cover; max-height: 92vh; }
.qv__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.qv__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .6); cursor: pointer; }
.qv__dots button.is-active { background: var(--pink); }
.qv__info { padding: 32px; display: flex; flex-direction: column; gap: 10px; overflow: auto; border-top: 6px solid var(--pink); }
.qv__info small { color: var(--muted); }
.qv__info h3 { font-size: 24px; line-height: 1.2; }
.qv__info p { margin: 0 0 6px; color: #3b3f4a; }
.qv__close { position: absolute; top: 12px; right: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--white); font-size: 18px; cursor: pointer; box-shadow: var(--shadow); }

/* Плавающие кнопки */
.fab { position: fixed; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 30, 90, .25); font-size: 22px; font-weight: 700; }
.fab__btn--call { background: var(--pink); color: var(--white); animation: pulse 2.4s infinite; }
.fab__btn--up { background: var(--white); color: var(--blue); }
.fab__btn[hidden] { display: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238, 77, 138, .5); } 50% { box-shadow: 0 0 0 12px rgba(238, 77, 138, 0); } }

/* Цифры о компании */
.stats { background: var(--blue); color: var(--white); }
.stats__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 26px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .15); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(28px, 2.6vw, 44px); line-height: 1; }
.stat b::after { content: ""; display: block; width: 28px; height: 4px; background: var(--pink); border-radius: 2px; margin-top: 10px; }
.stat span { font-size: 14px; opacity: .85; }

/* Оснащаем офис по зонам */
/* Компактно: вкладки-«таблетки» сверху, ниже фото и список одной высоты */
.zones { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 16px 20px; align-items: stretch; }
.zones__tabs { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.zones__tabs button { border: 1px solid var(--line); background: var(--white); border-radius: 24px; padding: 9px 18px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.zones__tabs button:hover { color: var(--blue); border-color: var(--blue); }
.zones__tabs button.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: inset 0 -3px 0 var(--pink); }
.zones__photo { border-radius: 14px; overflow: hidden; height: clamp(260px, 24vw, 400px); }
.zones__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.zones__photo:hover img { transform: scale(1.03); }
.zones__list { background: var(--white); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.zones__list p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.zones__list .btn { padding: 11px 20px; }
.zones__list .btn { margin-top: auto; text-align: center; }
.zitem { display: flex; gap: 12px; align-items: center; padding: 6px; border-radius: 10px; }
.zitem:hover { background: var(--grey); }
.zitem img { height: clamp(40px, 3.4vw, 60px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; flex: none; }
.zitem b { display: block; font-size: 14px; font-weight: 500; }
.zitem small { color: var(--blue); font-weight: 700; font-size: 13px; }

#services .service { background: var(--grey); box-shadow: none; }

/* Бесплатный дизайн-проект: визуализация кабинета в разных отделках */
.showcase { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.showcase::before { /* фирменное солнце фоном */
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; opacity: .07;
  background: url("icons/master-office-vector-white.svg") left center / auto 100% no-repeat;
}
.showcase__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; position: relative; }
.showcase__frame {
  position: relative; aspect-ratio: 1.4; border-radius: 18px; overflow: hidden; background: #efe9e2;
  box-shadow: 0 24px 60px rgba(0, 10, 40, .35);
}
.showcase__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .8s ease, transform 4s ease; }
.showcase__frame img.is-active { opacity: 1; transform: scale(1); }
.showcase__tag { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .92); color: var(--blue); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 20px; }
.showcase__swatches { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.showcase__swatches button {
  display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white);
  border-radius: 24px; padding: 8px 16px 8px 8px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s;
}
.showcase__swatches button:hover { border-color: var(--white); }
.showcase__swatches button.is-active { background: var(--white); color: var(--blue); border-color: var(--white); }
.showcase__swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.showcase__free { display: inline-block; background: var(--pink); color: var(--white); font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 6px 14px; border-radius: 20px; }
.showcase__text h2 { font-size: clamp(26px, 2.4vw, 40px); line-height: 1.15; margin: 14px 0 12px; }
.showcase__text > p { opacity: .9; font-size: 16px; margin: 0 0 22px; }
.showcase__steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.showcase__steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.showcase__steps li::before {
  content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 2px solid var(--pink); font-weight: 700;
}
.showcase__steps b { font-size: 16px; }
.showcase__steps span { font-size: 14px; opacity: .8; }
.page .showcase { margin-top: 48px; }
.showcase__videos { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.showcase__video { position: relative; margin: 0; }
.showcase__video video {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: #e9e6e1;
  box-shadow: 0 18px 44px rgba(0, 10, 40, .3);
}
.showcase__video figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; padding-left: 14px; border-left: 4px solid var(--pink); }

/* Карточка товара поставщика: комплектация и характеристики */
.pinfo__short { margin: 18px 0 0; color: #3b3f4a; font-size: 14px; }
.product__img--m { background: var(--white); border: 1px solid var(--line); }
.product__img--m img { object-fit: contain; }
.product__img--empty img { object-fit: contain; padding: 22%; opacity: .35; }
/* Карточка товара поставщика — как у поставщика: название и страна сверху, фото 4:3 без белых полос, «Прайс-лист» */
.product--m { text-align: center; padding: 14px 14px 16px; }
.product--m .product__name { order: 0; min-height: 0; color: var(--blue); font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 2px; }
.product--m .product__name:hover { color: var(--pink); }
.product--m .product__brand { margin-bottom: 10px; }
.product--m .product__img--m { aspect-ratio: 4 / 3; border: 0; border-radius: 8px; margin-bottom: 12px; }
.product--m .product__img--m img { object-fit: cover; }
.product--m .product__img--m img.is-fit { object-fit: contain; }
.product--m .product__price { display: block; margin: auto 0 10px; font-size: 15px; line-height: 1.35; color: #3b3f4a; }
.product--m .product__price b { font-size: 20px; color: var(--pink); }
.product--m .product__price .product__ask { color: var(--blue); font-size: 16px; }
.product--m .product__media { position: relative; }
.product__sticker { position: absolute; left: -6px; top: 10px; z-index: 1; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 14px 4px 10px; clip-path: polygon(0 0, 100% 0, 86% 50%, 100% 100%, 0 100%); }
.product__sticker.is-hit { background: var(--pink); }
.product__status { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; color: #3b3f4a; margin: -2px 0 8px; }
.product__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.product__status.is-in::before { background: #2fa84f; }
.product__plist { align-self: center; display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px dashed currentColor; padding-bottom: 1px; }
.product__plist::before { content: ""; width: 14px; height: 16px; border: 2px solid currentColor; border-radius: 2px; box-sizing: border-box;
  background: linear-gradient(currentColor, currentColor) 2px 3px / 6px 2px no-repeat, linear-gradient(currentColor, currentColor) 2px 7px / 6px 2px no-repeat, linear-gradient(currentColor, currentColor) 2px 11px / 4px 2px no-repeat; }
.product__plist:hover { color: var(--pink); }
.gallery__main img { object-fit: contain; background: var(--white); }
.gallery__main img[src$="logo.svg"], .gallery__main img[src$="master-office.svg"] { padding: 22%; opacity: .25; aspect-ratio: 1.15; }
.elements { margin-top: 40px; scroll-margin-top: 100px; }
.elements .chips { margin-bottom: 14px; }
/* Комплектация плитками по разделам, как у поставщика */
.chip span { opacity: .55; font-size: 12px; margin-left: 2px; }
.eltiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 10px; }
.eltiles [hidden] { display: none !important; }
.elhead { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px 14px; border-radius: 12px; color: var(--white); min-height: 120px;
  background: radial-gradient(circle at 85% 15%, rgba(238, 77, 138, .55), transparent 55%), linear-gradient(140deg, var(--blue), #002a7e); }
.elhead b { font-size: 18px; line-height: 1.2; }
.elhead span { font-size: 13px; opacity: .8; }
.eltile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .25s, border-color .25s; }
.eltile:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.eltile__name { font-size: 13px; line-height: 1.3; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eltile small { color: var(--muted); font-size: 12px; }
.eltile__img { display: flex; align-items: center; justify-content: center; width: 100%; height: 80px; margin: 2px 0; }
.eltile__img img { max-width: 100%; max-height: 80px; object-fit: contain; }
.eltile__size { font-size: 13px; color: #3b3f4a; }
.eltile__price { font-size: 16px; font-weight: 700; color: var(--pink); margin: 0 0 6px; }
.eltile .el__buy { width: 100%; margin-top: auto; padding: 8px 6px; font-size: 13px; }
table.chars { border-collapse: collapse; width: 100%; max-width: 760px; }
table.chars td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.chars td:first-child { color: var(--muted); width: 45%; padding-right: 16px; }

/* Каталог: разделы и подразделы */
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.price-range { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.price-range input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; }
.more-btn { display: block; margin: 26px auto 0; }
.more-btn[hidden] { display: none; }   /* Иван 10.11: в конце списка кнопка оставалась видна — «Показать ещё -26» */
.catgrid--big .catcard__img { aspect-ratio: 4 / 3; background: var(--white); }
.catgrid--big .catcard__img img { object-fit: contain; }
.catcard__subs { font-size: 13px; color: var(--muted); }

/* Главная: «Мебель для офиса» + частые вопросы в две колонки */
.faqx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faqx h2 { margin-bottom: 16px; }
.faqx__intro p { color: #3b3f4a; font-size: 16px; margin: 0 0 22px; }
.faqx__photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 22px; box-shadow: var(--shadow); }
.faqx__photo img { width: 100%; height: 100%; object-fit: cover; }
.faqx__badge { position: absolute; left: 16px; bottom: 16px; background: var(--blue); color: var(--white); border-radius: 14px; padding: 10px 16px; font-size: 13px; line-height: 1.2; border-left: 5px solid var(--pink); }
.faqx__badge b { display: block; font-size: 22px; }
.faqx__list details { background: var(--white); border-radius: 14px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(0, 30, 90, .05); transition: box-shadow .2s; }
.faqx__list details[open] { box-shadow: var(--shadow); }
.faqx__list summary { cursor: pointer; list-style: none; padding: 18px 64px 18px 20px; font-weight: 700; position: relative; }
.faqx__list summary::-webkit-details-marker { display: none; }
.faqx__list summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  background: color-mix(in srgb, var(--pink) 10%, white); color: var(--pink); display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform .2s, background .2s;
}
.faqx__list details[open] summary::after { content: "−"; background: var(--pink); color: var(--white); }
.faqx__list details[open] summary { color: var(--blue); }
.faqx__list details p { margin: 0; padding: 0 20px 18px; color: #3b3f4a; }
.faqx__list a { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .faqx { grid-template-columns: 1fr; } }

/* Портфолио */
.pf-bar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pf-bar input { flex: 1; min-width: 200px; border: 2px solid var(--blue); border-radius: var(--radius); padding: 10px 14px; font: inherit; }
.pf-bar select { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 8px; }
.pf-card { display: flex; flex-direction: column; gap: 4px; }
.pf-card__img { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--grey); margin-bottom: 8px; }
.pf-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-card:hover img { transform: scale(1.04); }
.pf-card:hover b { color: var(--blue); }
.pf-card__img i { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(0, 56, 167, .85); color: var(--white); padding: 4px 9px; border-radius: 12px; }
.pf-card small { color: var(--muted); }
.pf-about { font-size: 16px; color: #3b3f4a; margin-top: 0; }
.pf-text p { margin: 0 0 10px; }
.pf-text b { color: var(--blue); }
.gallery__main--cover img { object-fit: cover; }

/* Страница «Фото и ролики сайта» (admin.html) */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.slot { background: var(--grey); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; border: 2px dashed transparent; transition: border-color .2s; }
.slot.is-over { border-color: var(--pink); }
.slot.is-busy { opacity: .5; pointer-events: none; }
.slot__media { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--white); }
.slot__media img, .slot__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot__drop { position: absolute; inset: 0; display: none; place-items: center; background: rgba(0, 56, 167, .75); color: var(--white); font-weight: 700; }
.slot.is-over .slot__drop { display: grid; }
.slot b { font-size: 14px; font-weight: 500; }
.slot__btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.slot__btns .btn { padding: 8px 16px; font-size: 14px; }
.slot__undo { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.slot__btns .slot__crop { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.slot__btns .slot__crop:hover { background: var(--blue); color: var(--white); }
.crop__win { background: var(--white); border-radius: 18px; padding: 20px; width: min(1100px, 100%); max-height: 96vh; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.crop__head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.crop__head b { font-size: 20px; }
.crop__ratios { display: flex; gap: 8px; flex-wrap: wrap; }
.crop__stage { position: relative; align-self: center; line-height: 0; overflow: hidden; border-radius: 8px; user-select: none; touch-action: none; }
.crop__stage img { max-width: 100%; max-height: 62vh; display: block; }
.crop__box { position: absolute; border: 2px solid var(--white); outline: 1px solid rgba(0, 0, 0, .4); box-shadow: 0 0 0 9999px rgba(15, 15, 15, .55); cursor: move;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 33.333% 33.333%; background-position: -1px -1px; }
.crop__h { position: absolute; width: 18px; height: 18px; background: var(--pink); border: 2px solid var(--white); border-radius: 50%; }
.crop__h--nw { left: -10px; top: -10px; cursor: nwse-resize; }
.crop__h--ne { right: -10px; top: -10px; cursor: nesw-resize; }
.crop__h--sw { left: -10px; bottom: -10px; cursor: nesw-resize; }
.crop__h--se { right: -10px; bottom: -10px; cursor: nwse-resize; }
.crop__size { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 56, 167, .85); color: var(--white); font-size: 12px; line-height: 1; padding: 5px 8px; border-radius: 6px; }
.crop__btns { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; background: var(--blue); color: var(--white); padding: 14px 22px; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow); border-left: 6px solid var(--pink); }
.toast--bad { background: #c62828; border-left-color: var(--white); }
.toast[hidden] { display: none; }

/* Иконки в полосе с цифрами */
.stat { flex-direction: row; align-items: center; gap: 16px; }
.stat__ic { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.stat__ic svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat__ic .acc { stroke: var(--pink); }
.stat__txt { display: flex; flex-direction: column; gap: 4px; }

/* Адаптив */
@media (min-width: 1500px) {
  .products { --cols: 5; }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .cat--big { grid-column: span 2; }
}
@media (min-width: 1850px) {
  .products { --cols: 6; }
  h2 { font-size: 34px; }
}
@media (max-width: 1100px) {
  .topbar__nav { display: none; }
  .header__phone { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .products { --cols: 3; }
  .consult__in { grid-template-columns: 1fr; }
  .showcase__in { grid-template-columns: 1fr; }
  .showcase__videos { grid-template-columns: 1fr; }
  .consult__form input { min-width: 0; }
  .zones { grid-template-columns: 1fr 1fr; }
  .stats__in { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .qv__win { grid-template-columns: 1fr; overflow: auto; }
  .qv__photo img { max-height: 46vh; }
  .about__grid { grid-template-columns: 1fr; }
  .megamenu__in { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: 210px 1fr; }
  .pcard, .cartbox { grid-template-columns: 1fr; }
  .pcard .gallery { position: static; }
  .cartform { position: static; }
  .contacts, .steps { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
}
@media (max-width: 720px) {
  h2 { font-size: 24px; }
  .topbar__left .topbar__item:not(:first-child) { display: none; }
  .topbar__mail { margin-left: auto; }
  .header__in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .logo img { height: 38px; }
  .header__icons { margin-left: auto; }
  .search { order: 5; flex-basis: 100%; }
  .hero__side { grid-template-columns: 1fr; }
  .promo__more { opacity: 1; transform: none; top: 10px; left: 10px; font-size: 12px; padding: 5px 10px; }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .cat--big { grid-row: span 1; grid-column: span 2; }
  .cat span { font-size: 15px; }
  .services, .reviews, .projects { grid-template-columns: 1fr; }
  .products { grid-auto-columns: 75%; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .consult__in { grid-template-columns: 1fr; padding: 24px; }
  .consult__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .megamenu__in { grid-template-columns: 1fr; }
  .page__title { font-size: 26px; }
  .grid3, .grid4, .catgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 10px; }
  .product__buy { padding: 9px 6px; font-size: 13px; }
  /* комплектация на телефоне: разделы лентой, позиции строками */
  .elements .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .elements .chips::-webkit-scrollbar { display: none; }
  .elements .chip { flex: none; }
  .product--m { padding: 10px 10px 12px; }
  .product--m .product__name { font-size: 13px; min-height: 0; }
  .product--m .product__price { font-size: 13px; }
  .product--m .product__price b { font-size: 17px; }
  .product__plist { font-size: 13px; }
  .eltiles { grid-template-columns: 1fr; gap: 8px; }
  .elhead { display: none !important; }
  .eltile { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "img name name" "img size price" "img art buy"; align-items: center; text-align: left; column-gap: 12px; row-gap: 2px; padding: 10px; }
  .eltile__img { grid-area: img; height: 64px; margin: 0; }
  .eltile__img img { max-height: 64px; }
  .eltile__name { grid-area: name; min-height: 0; }
  .eltile small { grid-area: art; }
  .eltile__size { grid-area: size; }
  .eltile__price { grid-area: price; margin: 0; text-align: right; }
  .eltile .el__buy { grid-area: buy; width: auto; padding: 7px 12px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; }
  .split, .contacts, .steps, .benefits--wide { grid-template-columns: 1fr; }
  .split--rev img { order: 0; }
  .cartrow { grid-template-columns: 80px 1fr auto; }
  .cartrow img { width: 80px; height: 66px; }
  .cartrow .qty { grid-column: 2; justify-self: start; }
  .cartrow__del { grid-row: 1; grid-column: 3; }
  .masonry { columns: 1; }
  .pinfo h1 { font-size: 24px; }
  .zones { grid-template-columns: 1fr; }
  .zones__photo { height: auto; aspect-ratio: 16 / 10; }
  .zones__tabs { flex-wrap: nowrap; overflow-x: auto; }
  .zones__tabs button { white-space: nowrap; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 12px; gap: 10px; }
  .stat__ic { width: 40px; height: 40px; border-radius: 12px; }
  .stat__ic svg { width: 22px; height: 22px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 12px; }
  .stat:last-child { grid-column: 1 / -1; }
  .product__quick { display: none; }
  .fab__btn { width: 48px; height: 48px; }
  .qv__info { padding: 20px; }
}

/* ===== О компании (about.html, 30.10.2026) ===== */
.ab { padding-bottom: 0; }
.ab-tag { display: inline-block; background: var(--pink); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; margin-bottom: 14px; }
.ab-head { margin-bottom: 30px; }
.ab-head h2 { font-size: clamp(26px, 2.6vw, 38px); }
.ab-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; }
.ab-head--row p { max-width: 560px; color: var(--muted); margin: 0; }
.ab-hero { position: relative; overflow: hidden; margin-top: 10px; padding: clamp(36px, 5vw, 72px) 0; color: var(--white);
  background: radial-gradient(ellipse at 85% 20%, rgba(238, 77, 138, .35), transparent 50%), linear-gradient(120deg, #002a7e 0%, var(--blue) 55%, #1f47c9 100%); }
.ab-hero::before { content: ""; position: absolute; left: -6%; bottom: -30%; width: 46%; height: 90%; pointer-events: none;
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .08) 0 14px, transparent 14px 42px);
  -webkit-mask: linear-gradient(35deg, #000 25%, transparent 70%); mask: linear-gradient(35deg, #000 25%, transparent 70%); }
.ab-hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ab-hero h1 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.5px; margin-bottom: 20px; }
.ab-hero p { font-size: 17px; line-height: 1.6; opacity: .88; max-width: 620px; margin: 0 0 30px; }
.ab-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-btn-ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: var(--white); background: transparent; }
.ab-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.ab-collage { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(320px, 34vw, 500px); }
.ab-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.ab-collage .c1 { grid-row: 1 / 3; }
.ab-years { position: absolute; left: -26px; bottom: -18px; display: flex; align-items: center; gap: 12px; background: var(--pink); color: var(--white); padding: 14px 20px; border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(238, 77, 138, .8); }
.ab-years b { font-size: 46px; line-height: 1; }
.ab-years span { font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1.25; }

.ab-stats { background: var(--white); border-bottom: 1px solid var(--line); }
.ab-stats__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.ab-stats__in > div { padding: 26px 18px; border-left: 1px solid var(--line); }
.ab-stats__in > div:first-child { border-left: 0; padding-left: 0; }
.ab-stats b { font-size: clamp(26px, 2.6vw, 40px); color: var(--blue); }
.ab-stats i { font-style: normal; font-weight: 700; font-size: 22px; color: var(--pink); margin-left: 4px; }
.ab-stats span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }

.ab-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.ab-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--pink)); border-radius: 2px; }
.ab-timeline li { position: relative; padding-top: 44px; }
.ab-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 5px solid var(--pink); box-shadow: 0 0 0 6px rgba(238, 77, 138, .15); }
.ab-year { display: inline-block; font-weight: 700; color: var(--blue); background: rgba(0, 56, 167, .08); padding: 5px 12px; border-radius: 20px; font-size: 14px; }
.ab-timeline h3 { font-size: 20px; margin: 14px 0 8px; }
.ab-timeline p { color: var(--muted); margin: 0; line-height: 1.55; }

.ab-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-why > div { background: var(--white); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); border-top: 4px solid transparent; transition: transform .3s, border-color .3s, box-shadow .3s; }
.ab-why > div:hover { transform: translateY(-4px); border-top-color: var(--pink); box-shadow: 0 18px 40px -20px rgba(0, 30, 90, .35); }
.ab-why svg, .ab-audio svg { width: 52px; height: 52px; padding: 10px; border-radius: 50%; background: rgba(0, 56, 167, .08); fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-why svg .a, .ab-audio svg .a { stroke: var(--pink); }
.ab-why b { display: block; font-size: 18px; margin: 16px 0 8px; }
.ab-why span { color: var(--muted); line-height: 1.5; }

.ab-scroller { position: relative; }
.ab-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; }
.ab-doc { flex: 0 0 210px; scroll-snap-align: start; text-align: left; background: none; border: 0; padding: 0; cursor: zoom-in; font: inherit; color: inherit; }
.ab-track--certs .ab-doc { flex-basis: 180px; }
.ab-doc__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.ab-doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ab-doc:hover .ab-doc__img { transform: translateY(-5px); box-shadow: 0 20px 40px -18px rgba(0, 30, 90, .45); }
.ab-doc b { display: block; margin-top: 10px; font-size: 14px; line-height: 1.3; }
.ab-arrow { position: absolute; top: 40%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--blue); font-size: 20px; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 30, 90, .2); }
.ab-arrow:hover { background: var(--pink); color: var(--white); }
.ab-arrow.prev { left: -14px; }
.ab-arrow.next { right: -14px; }

.ab-audio { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; margin-top: 26px; padding: 18px 24px; border-radius: 14px; background: linear-gradient(120deg, var(--blue), #2B3FB0 70%, var(--pink) 140%); color: var(--white); }
.ab-audio svg { background: rgba(255, 255, 255, .15); stroke: var(--white); }
.ab-audio b { display: block; font-size: 17px; }
.ab-audio span { opacity: .85; font-size: 14px; }
.ab-audio audio { width: 100%; max-width: 460px; justify-self: end; }

.ab-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-place { position: relative; overflow: hidden; border-radius: 14px; min-height: 190px; color: var(--white); }
.ab-place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ab-place:hover img { transform: scale(1.05); }
.ab-place > div { position: absolute; inset: auto 0 0 0; padding: 44px 20px 18px; background: linear-gradient(0deg, rgba(0, 25, 80, .92), transparent); }
.ab-place span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--pink) 48%, white); }
.ab-place b { font-size: 17px; }
.ab-place a { color: inherit; text-decoration: none; }

.ab-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 12, 40, .88); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.ab-lightbox[hidden] { display: none; }
.ab-lightbox figure { margin: 0; text-align: center; }
.ab-lightbox img { max-width: min(92vw, 820px); max-height: 82vh; border-radius: 8px; background: var(--white); }
.ab-lightbox figcaption { color: var(--white); font-weight: 700; margin-top: 10px; }
.ab-lb-close { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: var(--white); font-size: 42px; cursor: pointer; }
.ab-lb-nav { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: var(--white); font-size: 30px; cursor: pointer; }
.ab-lb-nav:hover { background: var(--pink); }

.ab-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease, border-color .3s, box-shadow .3s; }
.ab-reveal.on { opacity: 1; transform: none; }
.ab-timeline li:nth-child(2), .ab-why > div:nth-child(3n+2) { transition-delay: .1s; }
.ab-timeline li:nth-child(3), .ab-why > div:nth-child(3n) { transition-delay: .2s; }
.ab-timeline li:nth-child(4) { transition-delay: .3s; }

@media (max-width: 1100px) {
  .ab-hero__in { grid-template-columns: 1fr; }
  .ab-years { left: 12px; }
  .ab-stats__in { grid-template-columns: repeat(3, 1fr); }
  .ab-stats__in > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .ab-timeline { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .ab-timeline::before { display: none; }
  .ab-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ab-collage { height: 300px; }
  .ab-years b { font-size: 34px; }
  .ab-stats__in { grid-template-columns: 1fr 1fr; }
  .ab-stats__in > div { border-left: 0; padding-left: 0; }
  .ab-stats__in > div:last-child { grid-column: 1 / -1; }
  .ab-timeline, .ab-why, .ab-places { grid-template-columns: 1fr; }
  .ab-timeline { padding-left: 34px; row-gap: 26px; }
  .ab-timeline::before { display: block; left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, var(--blue), var(--pink)); }
  .ab-timeline li { padding-top: 0; }
  .ab-timeline li::before { left: -34px; top: 2px; }
  .ab-arrow { display: none; }
  .ab-doc { flex-basis: 160px; }
  .ab-track--certs .ab-doc { flex-basis: 140px; }
  .ab-audio { grid-template-columns: auto 1fr; }
  .ab-audio audio { grid-column: 1 / -1; max-width: none; }
  .ab-lb-nav { position: absolute; bottom: 20px; }
  .ab-lb-nav.prev { left: 30%; } .ab-lb-nav.next { right: 30%; }
}
@media (prefers-reduced-motion: reduce) { .ab-reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Доставка и оплата (delivery.html, Иван 02.11): блоки поверх стиля «О компании» ===== */
.dv .ab-stats b { font-size: clamp(24px, 2.2vw, 34px); }
.dv-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dv-zone { position: relative; background: var(--white); border-radius: 16px; padding: 30px 26px 22px; box-shadow: var(--shadow); border-top: 5px solid var(--blue); overflow: hidden; }
.dv-zone__n { position: absolute; right: 18px; top: 8px; font-size: 64px; font-weight: 700; line-height: 1; color: var(--blue); opacity: .07; }
.dv-zone h3 { font-size: 22px; margin: 0 0 10px; }
.dv-zone p { color: var(--muted); line-height: 1.55; margin: 0; }
.dv-zone .ticks { margin: 18px 0 0; font-size: 14px; }
.dv-zone--accent { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); border-top-color: var(--pink); }
.dv-zone--accent p { color: rgba(255, 255, 255, .82); }
.dv-zone--accent .dv-zone__n { color: var(--white); opacity: .12; }
.dv-wh { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--muted); }
.dv-wh svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: rgba(164, 38, 84, .1); fill: none; stroke: var(--pink); stroke-width: 2; }
.dv-wh b { color: var(--black); }
.dv-pay { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.dv-pay__card { background: var(--grey); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; gap: 8px; }
.dv-pay__card svg { width: 52px; height: 52px; padding: 10px; border-radius: 50%; background: var(--white); fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.dv-pay__card svg .a { stroke: var(--pink); }
.dv-pay__card b { font-size: 19px; }
.dv-pay__card span { color: var(--muted); line-height: 1.5; }
.dv-pay__card a { margin-top: auto; padding-top: 10px; color: var(--pink); font-weight: 700; text-decoration: none; }
.dv-pay__card--main { background: var(--blue); color: var(--white); border-left: 6px solid var(--pink); }
.dv-pay__card--main span { color: rgba(255, 255, 255, .8); }
.dv-pay__card--main a { color: color-mix(in srgb, var(--pink) 48%, white); }
.dv .ab-timeline p a { color: var(--blue); font-weight: 700; white-space: nowrap; text-decoration: none; }
.dv .faqx__intro .ab-tag { margin-bottom: 14px; }
.dv .consult__in { margin-top: 0; }
.dv-seo h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 20px; }
.dv-seo__cols { columns: 3 300px; column-gap: 40px; color: #3b3f4a; line-height: 1.7; }
.dv-seo__cols p { margin: 0 0 16px; break-inside: avoid; }
.dv-seo a { color: var(--blue); font-weight: 600; }
.dv-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dv-links a { background: var(--white); border-radius: 30px; padding: 9px 18px; font-size: 14px; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); transition: background .2s, color .2s; }
.dv-links a:hover { background: var(--pink); color: var(--white); }
@media (max-width: 1000px) {
  .dv-zones, .dv-pay { grid-template-columns: 1fr; }
}

/* ===== «Наши проекты» на главной: мозаика (Иван 30.10) ===== */
.pf-head { align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.pf-head__sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pf-head__sub b { color: var(--pink); font-size: 18px; }
.pf-head__btn { padding: 12px 22px; }
.pf-mosaic { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.pf-tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--grey); color: var(--white); text-decoration: none; }
.pf-tile--big { grid-row: 1 / 3; }
.pf-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pf-tile:hover img { transform: scale(1.06); }
.pf-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 25, 80, .88) 0%, rgba(0, 25, 80, .25) 45%, transparent 70%); transition: background .3s; }
.pf-tile:hover::after { background: linear-gradient(0deg, rgba(0, 56, 167, .9) 0%, rgba(0, 56, 167, .35) 55%, transparent 80%); }
.pf-tile__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.pf-tile__cap b { font-size: 16px; line-height: 1.25; text-transform: none; }
.pf-tile--big .pf-tile__cap { padding: 22px 24px; }
.pf-tile--big .pf-tile__cap b { font-size: 22px; }
.pf-tile__cap small { font-size: 13px; opacity: .85; }
.pf-tile__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pf-tile__tags em { font-style: normal; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); padding: 3px 10px; border-radius: 20px; }
.pf-tile__n { position: absolute; z-index: 1; top: 10px; right: 10px; font-style: normal; font-size: 12px; font-weight: 700; background: var(--pink); padding: 4px 10px; border-radius: 20px; }
@media (max-width: 1100px) {
  .pf-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 180px 180px; }
  .pf-tile--big { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .pf-mosaic { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 0 -16px; padding: 0 16px; }
  .pf-mosaic::-webkit-scrollbar { display: none; }
  .pf-tile { flex: 0 0 78%; height: 240px; scroll-snap-align: start; }
  .pf-head__btn { width: 100%; justify-content: center; }
}

/* ===== admin.html: «Рекомендуем на главной» ===== */
.rec-admin__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-bottom: 16px; }
.rec-admin__item { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 8px; align-items: center; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.rec-admin__item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.rec-admin__item b { display: block; font-size: 14px; line-height: 1.25; }
.rec-admin__item small { color: var(--pink); font-weight: 700; }
.rec-admin__item button { width: 32px; height: 32px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; cursor: pointer; font-size: 15px; }
.rec-admin__item button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.rec-admin__item button[data-rec="del"]:hover { border-color: var(--pink); color: var(--pink); }
.rec-admin__item button:disabled { opacity: .3; cursor: default; }
.rec-admin #recFound { margin-top: 10px; }
.rec-admin #recFound .chip:disabled { opacity: .45; cursor: default; }
.rec-admin__bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.products .product--m { height: auto; }

/* ===== Выбор города (city.js, Иван 02.11) ===== */
.topbar__left { position: relative; align-items: center; }
.topbar__city { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; color: inherit; }
.topbar__city span { border-bottom: 1px dashed currentColor; }
.topbar__city:hover { color: var(--blue); }
.topbar__city.is-flash span { color: var(--pink); }
.city-ask { position: absolute; top: calc(100% + 8px); z-index: 120; width: 260px; padding: 16px 18px; background: var(--white);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .16); font-size: 14px; }
.city-ask::before { content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px; background: var(--white); transform: rotate(45deg); }
.city-ask p { margin: 0 0 12px; font-size: 15px; }
.city-ask div { display: flex; gap: 8px; }
.city-ask button { flex: 1; border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 8px 6px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.city-ask .city-ask__yes { background: var(--pink); border-color: var(--pink); color: var(--white); }
.city-ask .city-ask__no:hover { border-color: var(--blue); color: var(--blue); }

/* Окно: слева поиск и карточка города, справа карта, внизу все города по одной букве */
.city { position: fixed; inset: 0; z-index: 220; background: rgba(15, 15, 15, .55); display: grid; place-items: center; padding: 16px; }
.city[hidden] { display: none; }
.city__win { --city-padding-inline: clamp(20px, 3vw, 40px); position: relative; width: min(1320px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--white);
  border-radius: 18px; padding: 32px var(--city-padding-inline) 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.city__close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--grey); color: var(--black); font-size: 16px; transition: transform .2s, background .2s, color .2s; }
.city__close:hover { background: var(--pink); color: var(--white); transform: rotate(90deg); }
@media (min-width: 760px) {
  /* Отступы сохраняют положение крестика и высоту содержимого при прокрутке. */
  .city__close {
    position: sticky; display: block; z-index: 6; top: -16px; right: auto;
    margin: -16px calc(16px - var(--city-padding-inline)) -24px auto;
  }
}
.city__top { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 32px; align-items: stretch; }
.city__title { font-size: 28px; line-height: 1.15; }
.city__sub { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.city__search { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; color: var(--muted);
  border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.city__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(69, 53, 54, .08); }
.city__search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--black); background: none; }
.city__drop { position: absolute; z-index: 5; left: -1.5px; right: -1.5px; top: calc(100% + 6px); background: var(--white); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16); padding: 6px; max-height: 340px; overflow: auto; }
.city__opt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; border: 0; background: none;
  padding: 9px 10px; border-radius: 8px; font: inherit; font-size: 15px; color: var(--black); cursor: pointer; text-align: left; }
.city__opt small { flex: none; font-size: 12px; color: var(--muted); }
.city__opt.is-act, .city__opt:hover { background: var(--grey); }
.city__opt mark { background: rgba(164, 38, 84, .18); color: inherit; border-radius: 3px; }
.city__none { padding: 10px; font-size: 14px; color: var(--muted); }
.city__none .city__opt { margin-top: 6px; color: var(--pink); font-weight: 700; }
.city__quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.city__quick button { border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 6px 12px; font: inherit; font-size: 13px;
  cursor: pointer; color: var(--black); transition: border-color .15s, color .15s; }
.city__quick button:hover { border-color: var(--pink); color: var(--pink); }
.city__quick .city__geo { border-style: dashed; color: var(--muted); }
.city__card { position: relative; border-radius: 14px; padding: 18px 20px; background: var(--grey); transition: box-shadow .3s; }
.city__card.is-flash { box-shadow: 0 0 0 3px rgba(164, 38, 84, .45); }
.city__card small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.city__cname { display: block; font-size: 26px; line-height: 1.15; margin: 2px 0 8px; }
.city__badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--blue); color: var(--white); }
.city__card.is-mo .city__badge { background: var(--pink); }
.city__card ul { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; gap: 7px; font-size: 14px; line-height: 1.35; }
.city__card li { position: relative; padding-left: 22px; }
.city__card li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--pink); }
/* Склад самовывоза ТК «Байкал Сервис» в карточке города (10.11.2026) */
.city__pick { display: grid; gap: 3px; margin: -4px 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.city__pick b { font-size: 14px; }
.city__pick span { color: var(--muted); }
.city__pick a { color: var(--blue); text-decoration: underline; font-size: 12px; }
.city__cbtns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.city__cbtns .btn { padding: 11px 26px; }
.city__cbtns a { font-size: 13px; color: var(--muted); text-decoration: underline; }
.city__cbtns a:hover { color: var(--pink); }

.city__map { position: relative; min-width: 0; border-radius: 16px; background: linear-gradient(160deg, #faf6f6, #f3ecec); padding: 48px 10px 46px; overflow: hidden; }
.city__zoom { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; background: var(--white); border-radius: 10px; padding: 3px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.city__zoom button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: inherit; font-size: 13px; cursor: pointer; color: var(--muted); }
.city__zoom button.is-on { background: var(--blue); color: var(--white); }
.cm { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 560; overflow: visible; --k: 1; }
.cm-ru { fill: #fff; stroke: #dccfcf; stroke-width: calc(1px / var(--k)); stroke-linejoin: round; }
.cm-zone { fill: rgba(164, 38, 84, .16); stroke: rgba(164, 38, 84, .5); stroke-width: calc(1px / var(--k)); stroke-dasharray: 3 2; }
.cm-c { cursor: pointer; }
.cm-hit { fill: transparent; }
.cm-dot { fill: var(--blue); opacity: .55; transition: opacity .15s; }
.cm-c.is-big .cm-dot { opacity: .8; }
.cm-c.is-mo .cm-dot { fill: var(--pink); opacity: 1; }
.cm-c:hover .cm-dot, .cm-c.is-hit .cm-dot { opacity: 1; fill: var(--pink); }
.cm-c.is-hit .cm-dot { stroke: var(--white); stroke-width: 1; }
.cm-l.is-off { display: none; }
.cm-l { font-size: calc(12px / var(--k)); font-weight: 600; fill: var(--black); paint-order: stroke; stroke: #fff; stroke-width: calc(3px / var(--k)); stroke-linejoin: round; pointer-events: none; }
.cm-l--msk { font-size: calc(13px / var(--k)); font-weight: 800; fill: var(--pink); }
.cm-route { fill: none; stroke: var(--pink); stroke-width: calc(1.6px / var(--k)); stroke-dasharray: 5 4; stroke-linecap: round; animation: cm-route 1.2s ease-out; }
@keyframes cm-route { from { stroke-dashoffset: 300; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
/* Город региона (10.11): без Москвы, её зоны и подписи; остальные точки бледные, легенда про Москву скрыта */
.cm.is-reg .cm-zone, .cm.is-reg .cm-moscow, .cm.is-reg .cm-l--msk { display: none; }
.cm.is-reg .cm-c .cm-dot { fill: var(--blue); opacity: .22; }
.cm.is-reg .cm-c:hover .cm-dot { opacity: .8; fill: var(--pink); }
.cm.is-reg .cm-l:not(.cm-l--me) { opacity: .45; }
.city__map.is-reg .city__legend { display: none; }
.cm-me { pointer-events: none; }
.cm-me > circle:not(.cm-pulse) { fill: var(--pink); stroke: #fff; stroke-width: 2; }
.cm-pulse { fill: rgba(164, 38, 84, .35); transform-box: fill-box; transform-origin: center; animation: cm-pulse 1.8s ease-out infinite; }
@keyframes cm-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.cm-l--me { font-size: calc(13px / var(--k)); font-weight: 800; fill: var(--pink); }
.city__tip { position: absolute; z-index: 4; transform: translate(-50%, calc(-100% - 10px)); background: var(--black); color: var(--white);
  padding: 6px 10px; border-radius: 8px; font-size: 13px; line-height: 1.25; white-space: nowrap; pointer-events: none; text-align: center; }
.city__tip small { display: block; font-size: 11px; opacity: .7; }
.city__tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: var(--black); transform: rotate(45deg); }
.city__legend { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--muted); }
.city__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: .6; margin-right: 6px; vertical-align: 0; }
.city__legend i.is-mo { background: var(--pink); opacity: 1; }

.city__all { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.city__allhead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.city__allhead b { font-size: 18px; }
.city__allhead span { font-size: 13px; color: var(--muted); }
.city__abc { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.city__abc button { min-width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--grey); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--black); transition: background .15s, color .15s; }
.city__abc button:hover { background: rgba(164, 38, 84, .15); }
.city__abc button.is-on { background: var(--pink); color: var(--white); }
.city__letter { columns: 5 170px; column-gap: 24px; min-height: 120px; }
.city__a { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; line-height: 1.3; cursor: pointer; color: var(--black); break-inside: avoid; }
.city__a:hover { color: var(--pink); }
.city__a.is-mo::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--pink); vertical-align: 2px; }
.city__a.is-current { font-weight: 700; color: var(--pink); }
@media (max-width: 1000px) {
  .city__top { grid-template-columns: 1fr; }
  .city__map { order: -1; }
}
@media (max-width: 759px) {
  .city { padding: 0; place-items: stretch; }
  .city__win { max-height: 100vh; height: 100%; border-radius: 0; padding: 22px 16px 24px; }
  .city__close { top: 14px; right: 12px; }
  .city__map { display: none; }
  .city__title { font-size: 22px; padding-right: 48px; }
  .city__cname { font-size: 22px; }
  .city__abc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px; }
  .city__abc button { flex: none; }
  .city__letter { columns: 2; }
  .city-ask { left: 0 !important; }
}

/* 16.11 Claude (Иван: «дёргается при переходе»): шапку рисует layout.js в конце страницы. Пока её нет —
   держим под неё место (высота полосы + шапки по ширинам), чтобы содержимое не прыгало вниз. */
#site-header:empty { min-height: 115px; }
@media (min-width: 1181px) { #site-header:empty { min-height: 131px; } }
@media (max-width: 767px) { #site-header:empty { min-height: 58px; } }
/* Полоска листалки фото (.series-gallery__steps, 15 px + 3 px) добавляется layout.js после показа карточек —
   держим под неё место заранее, чтобы ряды карточек не сдвигались вниз */
#grid .product--m:not(.series-gallery) .product__media,
#hitsRow .product--m:not(.series-gallery) .product__media,
#hitsRow [data-series-gallery]:not(.series-gallery) .product__media { margin-bottom: 6px; }
@media (max-width: 600px), (pointer: coarse) {
  #grid .product--m:not(.series-gallery) .product__media,
  #hitsRow .product--m:not(.series-gallery) .product__media,
  #hitsRow [data-series-gallery]:not(.series-gallery) .product__media { margin-bottom: 18px; }
}


/* «Лидеры продаж» (Иван 16.11, вариант 1): вкладки в шапке + лёгкие карточки без «Хит»; меньше отступ до блога */
#hits.hits1-sec { padding-bottom: 20px; }
#hits + #blog { padding-top: 32px; }
.hits1-sec .section__head { align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; }
.hits1-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hits1-chips button { border: 1px solid #e3dfdb; background: #fff; border-radius: 20px; padding: 7px 14px; font: inherit; font-size: 14px; color: #292C32; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.hits1-chips button:hover { border-color: #292C32; }
.hits1-chips button.is-on { background: #292C32; border-color: #292C32; color: #fff; }
.hits1 { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px * 5) / 6); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hits1::-webkit-scrollbar { display: none; }
.hit1 { display: block; scroll-snap-align: start; color: inherit; text-decoration: none; min-width: 0; }
.hit1__ph { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3f0ed; }
.hit1__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hit1:hover .hit1__ph img { transform: scale(1.05); }
.hit1__nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; margin: 8px 0 4px; min-height: 2.6em; transition: color .2s; }
.hit1:hover .hit1__nm { color: var(--pink); }
.hit1__pr { display: block; font-weight: 700; white-space: nowrap; }
.hit1__pr small { font-weight: 400; color: #6b6f78; font-size: 12px; }
@media (max-width: 1100px) { .hits1 { grid-auto-columns: calc((100% - 14px * 3) / 4); } }
@media (max-width: 700px) {
  .hits1 { grid-auto-columns: 44%; }
  .hits1-sec .section__head .arrows { display: none; }
  .hits1-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .hits1-chips button { flex: none; }
}

/* «Лидеры продаж»: карточки как в разделах (Иван 17.11, вариант 1 из /hits-variants2.html) — itemCard() из layout.js,
   фото 4:3 как в каталоге. Поведение при наведении — копия правил «#grid …» из brand-mo.css для #hitsRow. */
/* сколько карточек в ряду — по ширине блока: карточке нужно ≥ 295 px, иначе «в наличии» уходит под цену */
#hits.hits1-sec > .wrap { container-type: inline-size; }
#hitsRow.hits1 { gap: 20px; grid-auto-columns: 44%; }
@container (min-width: 925px) { #hitsRow.hits1 { grid-auto-columns: calc((100% - 20px * 2) / 3); } }
@container (min-width: 1240px) { #hitsRow.hits1 { grid-auto-columns: calc((100% - 20px * 3) / 4); } }
@container (min-width: 1555px) { #hitsRow.hits1 { grid-auto-columns: calc((100% - 20px * 4) / 5); } }
#hitsRow .product--m { height: 100%; }
#hitsRow .product--compact-series .product__meta .product__price { margin: 0; text-align: left; }
#hitsRow .product--compact-series > .catalog-actions { position: static; flex-direction: row; align-self: flex-end; gap: 5px; margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  #hitsRow .product--m:not(:hover):not(:focus-within) :is(.product__fav, .product__plist) { opacity: 0; pointer-events: none; }
  #hitsRow .product--m { position: relative; padding-bottom: 16px; }
  #hitsRow .product--m .product__price { min-height: 27px; margin-bottom: 0; align-content: center; }
  /* 17.11: кресла, диваны — при наведении цену сменяет «Подробнее» (было пропущено — надписи накладывались) */
  #hitsRow .product--m:is(:hover, :focus-within) .product__price { opacity: 0; }
  #hitsRow .product--m .product__plist { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); min-height: 27px; white-space: nowrap; }
  #hitsRow .product--compact-series:is(:hover, :focus-within) .product__price { opacity: 1; }
  #hitsRow .product--compact-series > .product__plist { left: 12px; bottom: 16px; transform: none; }
  #hitsRow .product--compact-series > .product__meta { min-height: 32px; margin-bottom: 0; }
  #hitsRow .product--compact-series:is(:hover, :focus-within) > .product__meta { visibility: hidden; }
  #hitsRow .product--compact-series > .product__plist,
  #hitsRow .product--compact-series > .catalog-actions { position: absolute; bottom: 18px; }
  #hitsRow .product--compact-series > .catalog-actions { right: 12px; margin: 0; }
  #hitsRow .product--compact-series:focus-within > .catalog-actions { opacity: 1; pointer-events: auto; }
}
@media (max-width: 700px) { #hitsRow.hits1 { gap: 12px; grid-auto-columns: 62%; } }
@media (max-width: 600px) { #hitsRow .product--compact-series > .catalog-actions { gap: 3px; } }

/* Вопросы + форма (вариант 1, Иван 17.11.2026; черновик — faq-variants.html). Главная #faq:
   слева «Частые вопросы» (аккордеон), справа тёмная карточка «Не нашли ответа?» — имя, телефон, три факта.
   Заменили фото «Мебель для офиса — под ключ» и отдельную форму «Остались вопросы?» (818 → ~450 px на 1600). */
#faq.section { padding: 36px 0 44px; }
.faq1 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 28px; align-items: stretch; }
.faq1 .faqx__list h2 { margin: 0 0 14px; }
.faq1 .faqx__list details { margin-bottom: 6px; border-radius: 12px; }
.faq1 .faqx__list summary { padding: 13px 54px 13px 18px; }
.faq1 .faqx__list summary::after { width: 26px; height: 26px; font-size: 18px; right: 14px; }
.faq1 .faqx__list details p { padding: 0 18px 14px; font-size: 14px; }
.faq1__card { display: flex; flex-direction: column; padding: 26px 28px; border-radius: 18px; color: #fff; border: 1px solid #714454;
  background: radial-gradient(ellipse at 50% 0, #793349 0, transparent 65%), linear-gradient(120deg, #36202b, #211b20); box-shadow: 0 12px 28px #3215221a; }
.faq1__card h3 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.faq1__card > p { margin: 0 0 16px; color: #ead8df; font-size: 14px; line-height: 1.45; }
.faq1__form { display: grid; gap: 9px; }
.faq1__form input:not([type=checkbox]) { width: 100%; border: 1px solid #fff; border-radius: 8px; padding: 11px 13px; font: inherit; font-size: 14px; background: #fff; color: #292C32; }
.faq1__form input:not([type=checkbox])::placeholder { color: #74686d; opacity: 1; }
.faq1__form input:not([type=checkbox]):focus { outline: 2px solid #e58bb0; outline-offset: 1px; }
.faq1__form button { width: 100%; border: 1px solid #A42654; border-radius: 8px; padding: 11px 20px; font: inherit; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(145deg, #A42654, #742444 65%, #291d25); box-shadow: 0 3px 8px #0002; }
.faq1__form button:hover { background: linear-gradient(145deg, #A42654, #893052 65%, #382430); }
.faq1__form button:disabled { opacity: .6; cursor: default; }
.faq1__form .faq1__agree { display: block; margin-top: 2px; font-size: 12px; color: #e3d3da; }
.faq1__form .faq1__agree input { accent-color: #A42654; margin: 0 4px 0 0; vertical-align: -2px; }
.faq1__form .faq1__agree a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.faq1__form .consult__ok, .faq1__form .consult__err { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: 14px; }
.faq1__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #ffffff24; font-size: 13px; color: #f0e2e8; }
.faq1__card .faq1__form { margin-bottom: 0; }
.faq1__facts li { display: inline-flex; align-items: center; gap: 6px; }
.faq1__facts svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #ebafc4; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .faq1 { grid-template-columns: 1fr; gap: 20px; } #faq.section { padding: 26px 0 32px; } .faq1__card { padding: 22px; } }
/* ===== Клиенты и партнёры (вариант 2) — Иван 17.11.2026, плитки-перевёртыши. Черновик: clients-variants.html ===== */
.clients2.section { padding: 52px 0 8px; }
.clients2 + #faq.section { padding-top: 40px; }
.clients2__head { margin-bottom: 24px; }
.clients2__head h2 { margin: 0; }
.clients2__head p { margin: 6px 0 0; color: #6b6f78; }
.clients2__kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A42654; margin-bottom: 6px; }
.clients2 .lg { display: block; width: 100%; height: 100%; }
.clients2 .lg text { font-family: "Montserrat", Arial, sans-serif; }
.clients2 .logo { display: block; height: 100%; color: #9aa0ab; transition: color .35s; }
.clients2 .flip:hover .logo { color: var(--c); }
.flip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flip { display: block; perspective: 900px; height: 116px; cursor: pointer; border: 0; padding: 0; background: none; font: inherit; text-align: left; color: inherit; }
.flip__in { display: block; position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip:hover .flip__in, .flip.is-open .flip__in, .flip:focus-visible .flip__in { transform: rotateY(180deg); }
.flip__f, .flip__b { display: block; position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity 0s .15s; }
.flip__f { background: #fff; padding: 24px 22px; box-shadow: 0 2px 12px rgba(41,44,50,.05); }
.flip__b.flip__b { display: flex; flex-direction: column; justify-content: center; gap: 3px; transform: rotateY(180deg); background: var(--c); color: #fff; padding: 14px 16px; opacity: 0; }
/* смена сторон ещё и прозрачностью: где backface-visibility не срабатывает (слабая видеокарта), оборот всё равно виден */
.flip:hover .flip__f, .flip.is-open .flip__f, .flip:focus-visible .flip__f { opacity: 0; }
.flip:hover .flip__b, .flip.is-open .flip__b, .flip:focus-visible .flip__b { opacity: 1; }
.flip__b small { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.flip__b b { font-size: 15px; line-height: 1.2; }
.flip__b span { font-size: 12px; line-height: 1.35; opacity: .92; }
.clients2__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; color: #6b6f78; font-size: 14px; }
.clients2__foot a { color: #A42654; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .flip__in, .flip__f, .flip__b { transition: none; } }
@media (max-width: 1240px) { .flip-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px) { .flip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .clients2.section { padding: 32px 0 4px; }
  .clients2 + #faq.section { padding-top: 26px; }
  .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .flip { height: 88px; }
  .flip__f { padding: 18px 16px; }
  .flip__b.flip__b { padding: 8px 12px; gap: 1px; }
  .flip__b b { font-size: 13px; }
  .flip__b span { font-size: 11px; line-height: 1.3; }
}
/* Клиенты: настоящие логотипы (Wikimedia Commons, public domain) — серые, при наведении цветные. 17.11.2026 */
.clients2 .logo-img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .35s, opacity .35s; }
.clients2 .flip:hover .logo-img, .clients2 .flip.is-open .logo-img { filter: none; opacity: 1; }
/* ===== Верхняя полоса: меню «О компании» (Иван 17.11.2026) — О компании / Отзывы клиентов / Сертификаты дилера ===== */
.topbar__in { position: relative; z-index: 60; }
.topbar__dd { position: relative; }
.topbar__dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.topbar__dd-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.topbar__dd::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 12px; }   /* мостик, чтобы меню не закрывалось по дороге */
/* Вид — «Стекло, как «Каталог»» (Иван 18.11.2026, вариант 1 из dd-menu-variants): матовое стекло, блик сверху, раскрытие и строки по очереди, как у меню «Каталог» */
.topbar__dd-menu { position: absolute; top: calc(100% + 10px); right: -14px; width: 300px; padding: 10px; border-radius: 22px; border: 1px solid #ffffffd9;
  background: linear-gradient(125deg, #ffffffa8, transparent 55%), rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 24px 65px #29292926, inset 0 1px 2px #fff; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform-origin: top right; transform: scaleX(.2) translateY(-5px);
  transition: transform 360ms cubic-bezier(.22,1,.36,1), opacity 300ms, visibility 0s 360ms; }
.topbar__dd-menu::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff, transparent); }
.topbar__dd:hover .topbar__dd-menu, .topbar__dd:focus-within .topbar__dd-menu { opacity: 1; visibility: visible; transform: none;
  transition: transform 360ms cubic-bezier(.22,1,.36,1), opacity 300ms; }
.topbar__dd:hover .topbar__dd-btn svg, .topbar__dd:focus-within .topbar__dd-btn svg { transform: rotate(180deg); }
.topbar__dd-menu a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #292929;
  opacity: 0; transform: translateX(8px); transition: background .24s, color .24s, opacity .3s, transform .36s cubic-bezier(.22,1,.36,1); }
.topbar__dd:hover .topbar__dd-menu a, .topbar__dd:focus-within .topbar__dd-menu a { opacity: 1; transform: none; }
.topbar__dd-menu a:nth-child(2) { transition-delay: 0s, 0s, 40ms, 40ms; }
.topbar__dd-menu a:nth-child(3) { transition-delay: 0s, 0s, 80ms, 80ms; }
.topbar__dd-menu a:hover, .topbar__dd-menu a:focus-visible { background: #981f4c0d; color: #981f4c; }
.topbar__dd-menu i { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #981f4c08; color: #292929; display: grid; place-items: center; transition: background .24s, color .24s; }
.topbar__dd-menu a:hover i, .topbar__dd-menu a:focus-visible i { color: #981f4c; background: #981f4c12; }
.topbar__dd-menu i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topbar__dd-menu b { display: block; font-size: 14px; font-weight: 600; }
.topbar__dd-menu small { display: block; font-size: 12px; color: #777; margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .topbar__dd-menu, .topbar__dd-menu a, .topbar__dd-menu i, .topbar__dd-btn svg { transition: none; } }

/* ===== Кнопка города в верхней полосе — вариант 2 ««Ваш город: …»» (Иван 18.11.2026). Источник: city-variants.css, site_tools/claude_city_variants_2026-11-18.py ===== */
/*cv-common*/
.topbar__city.cv { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 4px; border-radius: 999px; font-weight: 600;
  line-height: 1; white-space: nowrap; transition: background .2s, box-shadow .2s, border-color .2s, color .2s; }
.topbar__city.cv span { border-bottom: 0; }
.topbar__city.cv:hover { color: inherit; }
.cv__ic { position: relative; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.cv__ic svg { width: 12px; height: 12px; position: relative; z-index: 1; }
.cv__chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .25s; }
.topbar__city.cv:hover .cv__chev { transform: translateY(1px); opacity: .9; }
.cv__lbl { font-weight: 500; color: #7A6E6F; font-size: 12px; }
.topbar__city.cv.is-flash { box-shadow: 0 0 0 3px rgba(164, 38, 84, .25); }
@keyframes cv-ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cv, .cv *, .cv *::after { animation: none !important; } }
@media (max-width: 600px) { .cv__lbl, .cv__more { display: none; } }
/*/cv-common*/
/*cv-2 «Доставляем в …» — без рамки, пин подпрыгивает*/
.cv--2 { background: none; padding: 0 4px 0 0; gap: 5px; }
.cv--2 .cv__ic { width: 18px; }
.cv--2 .cv__ic svg { width: 15px; height: 15px; fill: none; stroke: #A42654; stroke-width: 2; }
.cv--2 .cv__ic::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 3px; margin-left: -4px; border-radius: 50%; background: rgba(164, 38, 84, .3); }
.cv--2 .cv__ic svg { animation: cv-bob 2.8s ease-in-out infinite; }
.cv--2 span { color: #A42654; font-weight: 700; background: linear-gradient(#A42654, #A42654) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s; }
.cv--2:hover span { background-size: 0 1.5px; background-position: 100% 100%; }
.cv--2 .cv__chev { color: #A42654; }
@keyframes cv-bob { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-4px); } 80% { transform: translateY(0); } 88% { transform: translateY(-1.5px); } }
/*/cv-2*/
