/* Превью ребрендинга «Мастер Офис»: поверх styles.css. Цвета из брендбука:
   бордовый #A42654, коричневый RAL 8017 #292C32, белый RAL 9010, чёрный RAL 9017 #000 */
/* Contacts button preview, Ivan 13.11.2026; test copy only. */
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"]) {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 54px; border-radius: 999px !important;
  border: 1px solid #a42654 !important; color: #fff !important;
  background: linear-gradient(180deg,#41444a 0%,#33363c 25%,#292c32 70%,#303339) !important;
  box-shadow: inset 0 1px 2px #ffffff55, inset 0 -1px 2px #ffffff22, 0 3px 0 #080808, 0 13px 18px -6px #0005 !important;
  transform: translateY(-2px); transition: transform .35s, box-shadow .35s !important;
}
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"])::before {
  content: ''; position:absolute; inset:3px; border-radius:inherit; pointer-events:none; z-index:-1;
  background: radial-gradient(ellipse at 75% 0%,#fff9,transparent 35%), radial-gradient(ellipse at 18% 100%,#ee7ba9,transparent 42%), linear-gradient(165deg,#a42654aa,transparent 55%,#a4265477);
  opacity:0; transition:opacity .4s;
}
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"])::after {
  content:''; position:absolute; width:150%; height:100%; left:-25%; top:-45%; border-radius:50%; pointer-events:none; z-index:-1;
  background:linear-gradient(180deg,#fff8,#fff1); opacity:0; transform:rotate(-8deg) translateX(-15%); transition:opacity .4s,transform .8s;
}
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"]):is(:hover,:focus-visible) {
  transform:translateY(-5px);
  background:linear-gradient(165deg,#64122f,#302630 65%,#292c32) !important;
  box-shadow:inset 0 1px 2px #fffc,inset 0 -2px 5px #e578a3,0 0 0 1px #a42654,0 4px 0 #160a10,0 15px 22px -7px #0006,0 0 23px #a4265488 !important;
}
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"]):is(:hover,:focus-visible)::before {opacity:1}
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"]):is(:hover,:focus-visible)::after {opacity:.8;transform:rotate(-8deg) translateX(10%)}
@media(prefers-reduced-motion:reduce){:is(.btn--blue,.product__buy,.btn-catalog,.ct2__btn,[id="cmapRoute"],[id="callback"] button[type="submit"]),:is(.btn--blue,.product__buy,.btn-catalog,.ct2__btn,[id="cmapRoute"],[id="callback"] button[type="submit"])::before,:is(.btn--blue,.product__buy,.btn-catalog,.ct2__btn,[id="cmapRoute"],[id="callback"] button[type="submit"])::after{transition:none!important}}
:root {
  --blue: #292C32;          /* основной (бывший синий) → коричневый 8017 */
  --blue-dark: #292C32;
  --pink: #A42654;          /* фирменный акцент */
  --pink-dark: #A42654;
  --black: #000000;
  --grey: #F6F4F4;          /* тёплый светло-серый под коричневый */
  --line: #E9E4E4;
  --muted: #7A6E6F;
  --shadow: 0 4px 18px rgba(41,44,50, .08);
}
body, button, input, select, textarea { font-family: "Montserrat", Arial, sans-serif; }
h1, h2, h3 { letter-spacing: -.01em; }

/* Векторный логотип на прозрачном фоне для экранов любой плотности. */
.dm-logo { display: block; height: 38px; aspect-ratio: 1050 / 225;
  background: url("/icons/master-office.svg?v=4") center / contain no-repeat; transition: height .25s; }
.header .dm-logo { background-image: url("/icons/master-office-header.svg"); }
.header.is-scrolled .dm-logo { height: 32px; }
.dm-logo--white { height: 56px; }
@media (min-width: 768px) {
  .header .dm-logo, .header.is-scrolled .dm-logo { width: 177px; height: auto; }
}

/* Тёмные блоки — фирменный коричневый, чёрный только для текста */
.footer { background: var(--blue); }
.footer__bottom { border-top-color: rgba(255, 255, 255, .15); }

/* Жёстко прописанные синие полупрозрачные подложки */
.pf-card__img i, .crop__size { background: rgba(41,44,50, .85); }
.ab-year, .ab-why svg, .ab-audio svg { background: rgba(164, 38, 84, .10); }
.ab-year { color: var(--pink-dark); }
.pf-tile::after { background: linear-gradient(0deg, rgba(41,44,50, .88) 0%, rgba(41,44,50, .25) 45%, transparent 70%); }
.pf-tile:hover::after { background: linear-gradient(0deg, rgba(164, 38, 84, .85) 0%, rgba(41,44,50, .35) 55%, transparent 80%); }
.shot span { background: linear-gradient(to top, rgba(41,44,50, .85), transparent); }
.megamenu { box-shadow: 0 16px 30px rgba(41,44,50, .12); }
.fab__btn { box-shadow: 0 8px 24px rgba(41,44,50, .25); }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(41,44,50, .10); }

/* ---------- Баннеры главной: свёрстаны, размеры от ширины баннера (cqw) ---------- */
.slider { background: var(--grey); }
.bn { container-type: inline-size; overflow: hidden; color: var(--blue); }
.bn h2 { font-size: 4.6cqw; line-height: 1.12; font-weight: 700; margin: 0; }
.bn h2 em { font-style: normal; color: var(--pink); }
.bn p { font-size: 1.9cqw; line-height: 1.4; margin: 0; max-width: 34cqw; }
.bn .btn { font-size: 1.35cqw; padding: 1.1cqw 2.2cqw; margin-top: 2.4cqw; align-self: flex-start; }
.bn__txt { position: absolute; z-index: 2; left: 6cqw; top: 50%; transform: translateY(-50%); width: 46cqw; display: flex; flex-direction: column; }
.bn__line { display: block; width: 9cqw; height: .35cqw; background: var(--pink); border-radius: 1cqw; margin: 2.2cqw 0; }
.bn__kicker { font-size: 1.5cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); font-weight: 600; margin-bottom: 1.6cqw; }
.bn__mark.dm-logo { position: absolute; z-index: 2; right: 3.5cqw; bottom: 3.6cqw; height: 6cqw; }

/* 1. Кабинет из дизайн-проекта под коричневой вуалью */
.bn--room { color: var(--white); }
.bn--room .bn__txt { width: 52cqw; }
.bn--room .bn__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.bn--room::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(41,44,50, .94) 0%, rgba(41,44,50, .82) 38%, rgba(41,44,50, .15) 70%, rgba(41,44,50, 0) 100%); }
.bn--room::after { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: .8cqw; background: var(--pink); }
.bn--room p { color: rgba(255, 255, 255, .85); }

/* 2–3. Товары на светлом фоне: белый фон фото растворяется (multiply), низ с водяным знаком срезан */
.bn--chairs, .bn--sofa { background:
  radial-gradient(60cqw 45cqw at 92% 18%, rgba(164, 38, 84, .22), transparent 70%),
  radial-gradient(40cqw 30cqw at 0% 100%, rgba(164, 38, 84, .12), transparent 70%),
  linear-gradient(180deg, #FFFFFF 0%, #F4F0F0 100%); }
.bn__goods { position: absolute; display: flex; align-items: flex-end; mix-blend-mode: multiply; } /* без z-index, иначе multiply не видит фон */
.slide .bn__goods img { width: auto; height: 100%; object-fit: contain; clip-path: inset(0 0 7% 0);
  filter: brightness(1.07) contrast(1.12); } /* серый фон фото → белый, чтобы не было «коробок» */
.bn--chairs .bn__goods { right: 4cqw; bottom: 3cqw; height: 37cqw; gap: 0; }
.bn--chairs .bn__mark.dm-logo { top: 3.6cqw; bottom: auto; }
.bn--chairs .bn__goods img:nth-child(1) { height: 82%; margin-right: -4cqw; }
.bn--chairs .bn__goods img:nth-child(2) { height: 100%; position: relative; z-index: 1; }
.bn--chairs .bn__goods img:nth-child(3) { height: 78%; margin-left: -3cqw; }
.bn--chairs::after { content: ""; position: absolute; left: 50%; right: 3cqw; bottom: 3.4cqw; height: 4cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(41,44,50, .18), transparent); }

.bn--sofa .bn__txt { top: 7cqw; left: 0; right: 0; width: auto; transform: none; align-items: center; text-align: center; }
.bn--sofa h2 { font-size: 5cqw; }
.bn--sofa p { max-width: none; margin-top: 1.2cqw; font-size: 2.2cqw; color: var(--muted); }
.bn--sofa .bn__goods { left: 50%; transform: translateX(-50%); bottom: 6cqw; height: 33cqw; }
.bn__wave { position: absolute; left: 0; right: 0; bottom: 8cqw; width: 100%; height: 26cqw; fill: none; stroke-width: 3; opacity: .55; }
.bn__wave path:last-child { stroke-width: 4; opacity: .9; }
.bn--sofa .bn__cta { position: absolute; z-index: 2; right: 5cqw; bottom: 10cqw; margin: 0; }
.bn__strip { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.5cqw; text-align: center;
  background: var(--pink); color: var(--white); font-size: 1.9cqw; font-weight: 500; }
.bn__strip b { font-weight: 700; letter-spacing: .02em; }
.slider__dots { background: rgba(41,44,50, .35); }

/* Баннеры-картинки (02.11): картинка заполняет слайд как cover, но прижата к краю с текстом —
   срезается только сторона с мебелью. Кнопка — по координатам нарисованной (в % картинки), закрывает её. */
.bn--pic { container-type: size; background: #efe6dd; }
.bn-pic { position: absolute; left: 0; top: 50%; transform: translateY(-50%); container-type: inline-size;
  width: max(100cqw, calc(100cqh * var(--r))); height: max(100cqh, calc(100cqw / var(--r))); }
.bn--p1 .bn-pic { top: auto; bottom: 0; transform: none; } /* текст внизу — прижимаем низ */
.bn-pic__btn { position: absolute; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  background: var(--blue); color: var(--white); font-weight: 600; border-radius: .8cqw;
  box-shadow: 0 .4cqw 1.4cqw rgba(41,44,50, .35); transition: background .2s, transform .2s; } /* фирменный коричневый (Иван) */
.bn--pic:hover .bn-pic__btn { background: #292C32; transform: translateY(-1px); }
.bn--p1 { --r: 1.4825; } .bn--p1 .bn-pic__btn { left: 33.46%; top: 88.35%; width: 19.19%; height: 6.12%; font-size: 1.75cqw; }
.bn--p2 { --r: 1.7168; } .bn--p2 .bn-pic__btn { left: 5.05%;  top: 68.86%; width: 23.31%; height: 8.36%; font-size: 1.75cqw; }
.bn--p3 { --r: 1.6947; } .bn--p3 .bn-pic__btn { left: 5.82%;  top: 69.99%; width: 19.98%; height: 7.68%; font-size: 1.6cqw; }
.slider:has(.bn--pic) .slider__dots { left: auto; right: 16px; transform: none; } /* по центру точки ложились на кнопку 1-го баннера */
@container (max-width: 560px) { /* телефон: мелкий подзаголовок не читается — оставляем заголовок и кнопку */
  .bn--room p, .bn--chairs p, .bn__kicker { display: none; }
  .bn h2 { font-size: 6cqw; }
  .bn .btn { font-size: 2.6cqw; }
}

/* ---------- Ролики справа: вшитая подпись закрыта фирменной плашкой ---------- */
.promo--video { container-type: inline-size; }
.promo--zoom video { transform: scale(1.32); transform-origin: 50% 100%; } /* срезаем чужую вывеску сверху */
.promo__band { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 31%;
  display: flex; align-items: center; justify-content: space-between; gap: 4cqw; padding: 0 5.5cqw;
  background: linear-gradient(180deg, rgba(30, 22, 22, .45), rgba(30, 22, 22, .82)); /* «Стекло» (Иван 02.11): матовое стекло, вшитая подпись размыта */
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, .22); color: var(--white);
  font-size: 4.3cqw; line-height: 1.15; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.promo__band em { font-style: normal; color: var(--pink); }
.promo__band > span { white-space: nowrap; }
/* Правая часть плашки: подпись и розовая стрелка, чтобы не было пустоты */
.promo__side { display: flex; align-items: center; gap: 2.6cqw; text-transform: none; }
.promo__side small { font-size: 2.8cqw; font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, .75); text-align: right; letter-spacing: 0; }
.promo__go { flex: none; display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 50%;
  background: var(--pink); color: var(--white); font-style: normal; font-size: 5.5cqw; transition: transform .2s; }
.promo:hover .promo__go { transform: translateX(4px); }
/* Ролик дизайн-проекта целиком; чужую вывеску на тёмной стене закрываем светящейся «вывеской» Мастер Офис */
.promo__sign { position: absolute; z-index: 1; left: 33%; top: 2%; width: 36%; height: 17%;
  background: radial-gradient(closest-side, #1c1514 72%, rgba(28, 21, 20, 0)); }
.promo__sign::after { content: ""; position: absolute; inset: 22% 14%;
  background: url("/icons/master-office.svg?v=4") center / contain no-repeat;
  filter: drop-shadow(0 0 .6cqw rgba(164, 38, 84, .9)) drop-shadow(0 0 1.4cqw rgba(255, 255, 255, .35)); }

/* 18.11 Иван: фото вместо роликов в плитках справа. Выбран вариант 3 «Тонкая плашка» (preview-promo-variants.html):
   плашка в одну строку (19% высоты, без мелкой подписи), фото над ней крупно и сдвинуто так, чтобы каталог и ЛДСП
   были видны, а не под плашкой. Прежние варианты: site_backups\promo-photos-2026-11-18. */
.promo--photo { overflow: hidden; background: #19171c; }
.promo--photo img { position: absolute; z-index: 1; left: 0; right: 0; top: 0; bottom: auto; width: 100%; height: 81%;
  object-fit: cover; object-position: 50% 16%; display: block; }
.promo--photo-design img { object-position: 50% 30%; }
.promo--photo .promo__band { height: 19%; font-size: 3.7cqw; }
.promo--photo .promo__band br { display: none; }
.promo--photo .promo__band em::before { content: " "; }
.promo--photo .promo__side small { display: none; }
.promo--photo .promo__go { width: 7.5cqw; height: 7.5cqw; font-size: 4.5cqw; }
.promo--photo .promo__band, .promo--photo .promo__more { z-index: 2; }

/* ---------- Популярные категории: коричневая вуаль вместо синей, розовая черта у каждой ---------- */
.cat::after { background: linear-gradient(to top, rgba(41,44,50, .88) 0%, rgba(41,44,50, .35) 38%, rgba(41,44,50, 0) 62%); }
.cat:not(.cat--big)::before { content: ""; position: absolute; z-index: 1; left: 0; bottom: 18px; width: 4px; height: 38px; background: var(--pink); }
.cat:hover::after { background: linear-gradient(to top, rgba(164, 38, 84, .78) 0%, rgba(41,44,50, .35) 45%, rgba(41,44,50, 0) 70%); }

/* Фото каталога: «водяной знак» внизу справа — увеличиваем от левого верхнего угла, угол уходит за рамку */
.cat img[src*="img/m/"] { transform-origin: 0 0; transform: scale(1.12); }
.cat:hover img[src*="img/m/"] { transform: scale(1.17); }

/* Главная, «Популярные категории» как на образце Ивана 02.11: тёмный фон, 3 + 4 фото в одном стиле
   (img/home-cats), подпись под фото, стрелка справа. Фото и обёртку .cat__ph ставит index.html. */
#categories { background: #1f2427; color: #fff; }
#categories .section__head { align-items: center; }
#categories .section__head h2 { color: #fff; }
#categories .more { margin-left: auto; color: #fff; text-decoration: none; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
#categories .more::after { content: "→"; font-size: 22px; line-height: 1; transition: transform .2s; }
#categories .more:hover { color: var(--pink); }
#categories .more:hover::after { transform: translateX(4px); }
#categories .cats { grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 34px 22px; }
#categories .cat { grid-column: span 3; grid-row: auto; padding: 0; background: none; border-radius: 0; overflow: visible;
  display: grid; grid-template-columns: 1fr; justify-content: stretch; }
#categories .cat:nth-child(-n+3) { grid-column: span 4; }
#categories .cat:hover { box-shadow: none; transform: none; }
#categories .cat::before { display: none; }
#categories .cat::after { content: "→"; inset: auto 12px 4px auto; background: none; font-size: 24px; line-height: 1; color: #fff; transition: transform .2s, color .2s; }
#categories .cat:hover::after { background: none; color: var(--pink); transform: translateX(4px); }
#categories .cat__ph { position: relative; margin-bottom: 16px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #2b3034; }
#categories .cat:nth-child(-n+3) .cat__ph { aspect-ratio: 1.62; }
#categories .cat img { position: absolute; inset: 0; transform: none; transform-origin: 50% 50%; }
#categories .cat:hover img { transform: scale(1.05); }
#categories .cat span, #categories .cat small { padding: 0 44px 0 12px; }
#categories .cat span { font-size: 22px; font-weight: 600; }
#categories .cat--big span { font-size: 22px; }
#categories .cat small { color: rgba(255, 255, 255, .75); font-size: 15px; margin-top: 4px; }
/* Варианты фона на выбор (Иван 02.11): class="section cats-brown" / "section cats-white" */
#categories.cats-brown { background: var(--blue); }
#categories.cats-brown .cat__ph { background: #5a4748; }
#categories.cats-white { background: #fff; color: #1f2427; }
#categories.cats-white .section__head h2, #categories.cats-white .more, #categories.cats-white .cat,
#categories.cats-white .cat::after { color: #1f2427; }
#categories.cats-white .cat small { color: #7a7273; }
#categories.cats-white .cat__ph { background: #eee; }
#categories.cats-white .more:hover, #categories.cats-white .cat:hover::after { color: var(--pink); }
@media (max-width: 1100px) {
  #categories .cat, #categories .cat:nth-child(-n+3) { grid-column: span 6; }
  #categories .cat span { font-size: 18px; }
}
@media (max-width: 560px) {
  #categories .cats { gap: 24px; }
  #categories .cat, #categories .cat:nth-child(-n+3) { grid-column: span 12; }
}

/* ---------- «Покажем ваш кабинет»: фоном знак Мастер Офис (стол и кресло) вместо старого логотипа ---------- */
/* Логотип целиком, внутри блока, не обрезан краями */
.showcase::before { right: 32px; bottom: 24px; top: auto; width: min(420px, 30vw); height: auto; aspect-ratio: 1893 / 451; opacity: .07;
  background: url("/icons/master-office.svg?v=4") center / contain no-repeat; filter: grayscale(1) brightness(3); }
/* Компактнее (Иван 30.10): меньше отступы, ниже картинка, плотнее текст */
.showcase.section { padding: 36px 0; }
.showcase__in { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 44px); }
.showcase__frame { aspect-ratio: 1.75; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.showcase__swatches { margin-top: 12px; }
.showcase__swatches button { padding: 6px 14px 6px 6px; font-size: 13px; }
.showcase__swatches i { width: 18px; height: 18px; }
.showcase__text h2 { font-size: clamp(22px, 1.9vw, 30px); margin: 10px 0 8px; }
.showcase__text > p { font-size: 14px; margin: 0 0 14px; }
.showcase__steps { gap: 8px; margin-bottom: 18px; }
.showcase__steps li { grid-template-columns: 32px 1fr; column-gap: 12px; }
.showcase__steps li::before { width: 32px; height: 32px; font-size: 14px; }
.showcase__steps b { font-size: 15px; }
.showcase__steps span { font-size: 13px; }
/* 3D-облёты: чужой логотип внизу слева вшит в ролик — увеличиваем от верха, низ с логотипом уходит за рамку */
.showcase__video video { transform: scale(1.24); transform-origin: 50% 0;
  clip-path: inset(0 9.7% 19.4% 9.7% round 14.5px); margin-bottom: 0; } /* обрезка = исходная рамка ролика */

/* Синие градиенты остальных страниц: плитки групп в «Комплектации» (товар) и шапка «О компании» */
.elhead { background: radial-gradient(circle at 85% 15%, rgba(164, 38, 84, .55), transparent 55%), linear-gradient(140deg, var(--blue), var(--blue-dark)); }
.ab-hero { background: radial-gradient(ellipse at 85% 20%, rgba(164, 38, 84, .35), transparent 50%), linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, #5E4849 100%); }
.ab-place > div { background: linear-gradient(0deg, rgba(41,44,50, .92), transparent); }
.ab-arrow { box-shadow: 0 8px 24px rgba(41,44,50, .2); }
.ab-why > div:hover { box-shadow: 0 18px 40px -20px rgba(41,44,50, .35); }
.ab-doc:hover .ab-doc__img { box-shadow: 0 20px 40px -18px rgba(41,44,50, .45); }
.faqx__list details { box-shadow: 0 2px 10px rgba(41,44,50, .05); }

/* ---------- «Мебель для офиса — под ключ» + вопросы: фото на всю высоту колонки, текст поверх (Иван 30.10: без пустот) ---------- */
.faqx { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.faqx__intro { position: relative; overflow: hidden; border-radius: 18px; min-height: 360px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); box-shadow: var(--shadow); }
.faqx__photo { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.faqx__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(41,44,50, .94) 0%, rgba(41,44,50, .6) 38%, rgba(41,44,50, 0) 68%); }
.faqx__badge { top: 16px; bottom: auto; z-index: 1; }
.faqx__intro h2, .faqx__intro p, .faqx__intro .btn { position: relative; z-index: 1; }
.faqx__intro h2 { margin: 0 0 8px; color: var(--white); }
.faqx__intro p { color: rgba(255, 255, 255, .85); font-size: 15px; margin: 0 0 18px; max-width: 520px; }
.faqx__intro .btn { align-self: flex-start; }
.faqx__list h2 { margin-top: 0; }
.faqx__list details { margin-bottom: 8px; }
.faqx__list summary { padding: 16px 60px 16px 20px; }

/* ---------- Подвал компактнее: каталог в две колонки, под логотипом — кнопка ---------- */
.footer { padding: 36px 0 16px; }
.footer__grid { grid-template-columns: 1.1fr 1.7fr .9fr 1.2fr; gap: 28px; }
.footer__grid > div:nth-child(2) { columns: 2; column-gap: 28px; }
.footer__grid > div:nth-child(2) h4 { column-span: all; }
.footer__grid > div:nth-child(2) a { break-inside: avoid; }
.footer .footer__cta { display: inline-block; margin: 18px 0 8px; color: var(--white); }
.footer .footer__cta:hover { color: var(--white); }
.footer__hours { color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer__bottom { margin-top: 22px; padding-top: 14px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } .footer__grid > div:nth-child(2) { columns: 1; } }

/* ---------- «Дизайн-проект»: картинка по высоте текста, без пустот (Иван 30.10) ---------- */
.split--design { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3.5vw, 56px); }
.split--design > img { width: 100%; aspect-ratio: 16 / 10; max-height: 440px; object-fit: cover; border-radius: 16px; }
.split--design h2 { margin-top: 0; }
.dfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 22px; }
.dfacts > div { background: var(--grey); border-radius: 12px; padding: 12px 14px; border-left: 4px solid var(--pink); }
.dfacts b { display: block; font-size: 20px; color: var(--blue); }
.dfacts span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .split--design { grid-template-columns: 1fr; } }

/* «Покажем ваш кабинет» на широких экранах: картинка не выше колонки с текстом */
@media (min-width: 1500px) { .showcase__frame { aspect-ratio: 2.5; } .showcase::before { width: 340px; } }

/* ---------- Галерея товара: большое фото со стрелками + одна строка миниатюр (Иван 30.10, как у поставщика) ---------- */
.gallery, .pcard > * { min-width: 0; } /* длинная строка миниатюр не должна растягивать колонку */
.gallery__main { position: relative; }
.gallery__main img { max-height: 70vh; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--blue); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
  opacity: .85; transition: opacity .2s, background .2s; }
.gallery__arrow:hover { opacity: 1; background: var(--pink); color: var(--white); }
.gallery__arrow.prev { left: 12px; } .gallery__arrow.next { right: 12px; }
/* 18.11: счётчик сверху (внизу справа он закрывал знак Мастер Офис на телефоне) */
.gallery__count { position: absolute; right: 12px; top: 12px; background: rgba(41,44,50, .75); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; }
.gallery__strip { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.gallery__strip .gallery__thumbs { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin-top: 0; gap: 8px;
  scrollbar-width: none; scroll-snap-type: x proximity; }
.gallery__strip .gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__strip .gallery__thumbs button { flex: none; width: 84px; height: 66px; scroll-snap-align: start; border-color: transparent; opacity: .75; }
.gallery__strip .gallery__thumbs button.is-active { border-color: var(--pink); opacity: 1; }
.gallery__strip .gallery__thumbs button:hover { opacity: 1; }
/* Миниатюры целиком, без обрезки (Иван 02.11: у кресел срезало спинку и колёса) */
.gallery__thumbs button { background: #fff; }
.gallery__thumbs img { object-fit: contain; }
/* «Вы недавно смотрели» / «Избранное»: кресло (узкое фото) целиком, интерьер — на всю карточку */
.product__img img.is-fit { object-fit: contain; background: var(--white); }
.products--viewed .product__img { aspect-ratio: 19 / 20; background: var(--white); }
.products--viewed .product__img img { object-fit: contain; }
.products--viewed .product:hover .product__img img { transform: none; }
/* Метта: рендеры mt1/mt2 имеют ~12% белого поля сверху и снизу.
   В превью кресло занимает ~93% высоты; исходное фото и галерея не меняются.
   Правило действует и при наведении, чтобы подголовник/колёса оставались целиком. */
.product .product__img img:is([src$="/mt1.webp"], [src$="/mt2.webp"]),
.product:hover .product__img img:is([src$="/mt1.webp"], [src$="/mt2.webp"]) {
  object-fit: contain;
  transform: none;   /* было scale(1.22) — фото Метты обрезаны по креслу 24.11 */
  transform-origin: center;
}

.gallery__nav { flex: none; width: 30px; height: 66px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
  color: var(--blue); font-size: 22px; cursor: pointer; }
.gallery__nav:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }
/* Галерея по высоте правой карточки — без пустого поля под ней (Иван 02.11): высоту ряда задаёт карточка, фото заполняет остаток */
@media (min-width: 1101px) {
  .pcard:has(.pinfo--m) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
  .pcard:has(.pinfo--m) .gallery { position: static; display: flex; flex-direction: column; }
  .pcard:has(.pinfo--m) .gallery__main { flex: 1 1 0; min-height: 380px; }
  /* фото целиком и не крупнее оригинала (как у поставщика) — без обрезки и мыла; поля по бокам — размытая копия того же фото */
  .pcard:has(.pinfo--m) .gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: scale-down; background: none; }
  .pcard:has(.pinfo--m) .gallery__main::before { content: ""; position: absolute; inset: -30px; background: var(--ph, none) center / cover; filter: blur(22px) brightness(.97); }
  .pcard:has(.pinfo--m) .gallery__main.is-fit { background: var(--white); }
  .pcard:has(.pinfo--m) .gallery__main.is-fit::before { content: none; }
}

/* Карточка товара: одна широкая кнопка «Прайс-лист»; «Комплектация и цены» не прячется под липкой шапкой */
.pinfo__pricelist { flex: 1; max-width: 340px; text-align: center; font-size: 16px; }

/* ---------- Правая колонка товара как у поставщика (Иван 02.11) ---------- */
.pinfo--m { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px 0; align-self: start; }
.pinfo--m h1 { margin: 0; font-size: clamp(22px, 1.7vw, 30px); line-height: 1.2; }
.pinfo--m .pinfo__short { margin: 0; font-size: 14px; line-height: 1.6; color: #4a3f40;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; }
.pfacts span { color: var(--muted); }
.pcolors h4 { margin: 0 0 10px; font-size: 16px; }
.pcolors h4 small { color: var(--pink); font-weight: 600; margin-left: 4px; }
.pcolors__list { display: flex; flex-wrap: wrap; gap: 12px; }
.pcolor { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.pcolor img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--line); transition: border-color .2s; }
.pcolor span { font-size: 12px; line-height: 1.2; text-align: center; color: #4a3f40; }
.pcolor:hover img { border-color: rgba(164, 38, 84, .4); }
.pcolor.is-active img { border-color: var(--pink); }
/* «Выберите обивку / цвет» (варианты ?color=…): только кружки, название выбранного — строкой под ними */
.pvars .pcolor { width: auto; }
.pvars .pcolor span { display: none; }
.pvars__name { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.pbuy__cart.is-added { background: var(--blue); border-color: var(--blue); }

/* «Остались вопросы? Мы поможем!» — общий баннер (Иван 10.11, образец banner-manager-white-fields.html; разметка — askBanner() в layout.js).
   Компактная плашка в две колонки, бордовый фон, контурный менеджер с облачком, белые поля с тёмным текстом. */
.ask { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(16px, 3vw, 42px); align-items: center;
  margin: 40px 0 24px; padding: clamp(18px, 2.4vw, 32px); border-radius: 18px; color: #fff; color-scheme: only light;
  background: linear-gradient(110deg, #55283a, #392d30 63%, #54363e); box-shadow: 0 12px 26px rgba(52, 32, 39, .16); }
.consult.consult--ask { padding: 32px 0; background: none; }
.consult--ask .ask { margin: 0; }
.ask__intro { display: grid; grid-template-columns: 1fr minmax(70px, 26%); gap: 12px; align-items: center; }
.ask h2 { margin: 0 0 8px; color: #fff; font-size: clamp(20px, 2.1vw, 31px); line-height: 1.1; letter-spacing: 0; text-transform: none; }
.ask h2::before, .ask h2::after { content: none; }
.ask__intro p { margin: 0; color: #ead8df; line-height: 1.45; }
.ask__manager { border: 0; background: none; padding: 0; color: #ebafc4; cursor: pointer; }
.ask__manager svg { display: block; width: 100%; height: auto; }
.ask__manager.is-run .ask__bubble { animation: askAppear .4s .15s both; }
.ask__manager.is-run circle { animation: askTyping .9s .35s both; }
.ask__manager.is-run circle:nth-of-type(2) { animation-delay: .5s; }
.ask__manager.is-run circle:nth-of-type(3) { animation-delay: .65s; }
@keyframes askAppear { from { opacity: 0; transform: translateY(4px); } }
@keyframes askTyping { 50% { opacity: .2; } }
.ask__form { display: block; min-width: 0; }
.ask__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* поля белые и при тёмной теме браузера */
.ask .ask__fields input, .ask .ask__fields textarea, .ask [name=calltime_at] {
  width: 100%; min-width: 0; height: auto; padding: 9px 12px; border: 1px solid #eadfe3; border-radius: 8px; font: inherit; font-size: 15px;
  appearance: none; -webkit-appearance: none; color-scheme: only light !important;
  background: #fff linear-gradient(#fff, #fff) !important; color: #30252a !important; -webkit-text-fill-color: #30252a !important; }
.ask .ask__fields input::placeholder, .ask .ask__fields textarea::placeholder { color: #74686d; -webkit-text-fill-color: #74686d !important; opacity: 1; }
.ask .ask__fields input:focus, .ask .ask__fields textarea:focus, .ask [name=calltime_at]:focus {
  outline: none; border-color: #A42654; box-shadow: 0 0 0 3px rgba(164,38,84, .35); }
.ask .ask__fields input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; }
.ask__fields textarea { resize: vertical; min-height: 0; }
.ask__bar { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.ask__time { border: 0; padding: 0; margin: 0; min-width: 0; }
.ask__time legend { padding: 0; margin-bottom: 3px; font-weight: 650; color: #fff; }
.ask__time label { margin-right: 10px; color: #f5e8ed; font-size: 13px; cursor: pointer; }
.ask input[type=radio], .ask input[type=checkbox] { accent-color: #A42654; }
.ask [name=calltime_at] { display: block; margin-top: 6px; }
.ask [name=calltime_at][hidden] { display: none; }
.ask__send { border: 0; border-radius: 8px; padding: 9px 18px; background: #A42654; color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s; }
.ask__send:hover { background: #A42654; }
.ask__send:disabled { opacity: .6; cursor: default; }
.ask__consent.check { display: block; margin-top: 7px; color: #f5e8ed; font-size: 13px; }
.ask__consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ask .consult__ok, .ask .consult__err { margin: 8px 0 0; color: #fff; font-weight: 600; }
@media (max-width: 800px) { .ask { grid-template-columns: 1fr; } }
@media (max-width: 390px) { .ask__fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ask__manager.is-run .ask__bubble, .ask__manager.is-run circle { animation: none; } }
.pacts { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.pacts a { color: var(--blue); text-decoration: underline dotted; text-underline-offset: 3px; }
.pbuy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 0 -26px; padding: 20px 26px;
  border-top: 1px solid var(--line); background: var(--grey); border-radius: 0 0 16px 16px; }
.pbuy__sum { font-size: 20px; color: var(--blue); }
.pbuy__sum b { color: var(--pink); font-size: 28px; font-weight: 700; }
.pbuy__price p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.pbuy__act { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pbuy__act .pinfo__pricelist { min-width: 200px; }
/* количество рядом с «В корзину» (05.11, как defo.ru) */
.pbuy__row.eltile__foot { align-items: stretch; gap: 10px; padding: 0; }
.pbuy__row .elqty { flex: 0 0 120px; height: auto; min-height: 48px; }
.pbuy__row .elqty button { width: 36px; }
.pbuy__row .elqty input { font-size: 16px; }
.pbuy__row .pinfo__pricelist { min-width: 170px; }
.pbuy__one { border: 0; background: none; font: inherit; font-size: 14px; color: var(--blue); cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.pbuy__one:hover { color: var(--pink); }
.eltile.c-off { display: none !important; }
.oneclick { position: fixed; inset: 0; z-index: 200; background: rgba(41,44,50, .55); display: grid; place-items: center; padding: 16px; }
.oneclick[hidden] { display: none; }
.oneclick .oneclick__box { position: relative; width: min(420px, 100%); background: var(--white); border-radius: 16px; padding: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.oneclick__box > * { grid-column: 1 / -1; }
.oneclick__box h3 { margin: 0; }
.oneclick__box > p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.oneclick__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted); }
@media (max-width: 600px) { .pinfo--m { padding: 18px 16px 0; } .pbuy { grid-template-columns: 1fr; margin: 0 -16px; padding: 16px; } .pfacts { grid-template-columns: 1fr; }
  .pbuy__act, .pbuy__row { align-self: stretch; } .pbuy__row .pinfo__pricelist { flex: 1; min-width: 0; } }
.elements { scroll-margin-top: 96px; }
/* Описание / характеристики / доставка / оплата: во всю ширину, текст в две колонки — без пустого поля справа (Иван 30.10) */
.ptabs { margin-top: 32px; background: var(--grey); border-radius: 16px; padding: 6px 28px 22px; }
.ptabs__head { border-bottom-color: var(--line); }
.ptabs__body { max-width: none; padding-top: 14px; font-size: 15px; line-height: 1.6; }
.ptabs__body p { margin: 0 0 10px; break-inside: avoid; }
@media (min-width: 1100px) {
  .ptabs__body { columns: 2; column-gap: 48px; }
  .ptabs__body .chars { width: 100%; }
}
.ptabs__body .chars td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptabs__body .chars tr { break-inside: avoid; }
@media (max-width: 600px) { .ptabs { padding: 4px 16px 16px; } }

/* ---------- Контакты: карта и реквизиты ---------- */
.cmap { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; margin: 28px 0; }
.cmap__list { display: flex; flex-direction: column; gap: 10px; }
.cmap__tab { text-align: left; font: inherit; cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; transition: border-color .2s, box-shadow .2s; border-left: 5px solid var(--line); }
.cmap__tab b { font-size: 16px; color: var(--blue); }
.cmap__tab span { font-size: 14px; }
.cmap__tab small { font-size: 12px; color: var(--muted); }
.cmap__tab:hover { border-color: var(--pink); }
.cmap__tab.is-active { border-left-color: var(--pink); box-shadow: var(--shadow); }
.cmap__route { margin-top: auto; text-align: center; }
.cmap__map { border-radius: 16px; overflow: hidden; min-height: 380px; background: var(--grey); box-shadow: var(--shadow); }
.cmap__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
/* Контакты: одна панель — телефоны, заявка и адреса слева, карта справа (Иван 09.11, вариант 2 из preview-contacts.html) */
.ct2 { display: grid; grid-template-columns: 380px minmax(0, 1fr); background: var(--grey); border-radius: 20px; overflow: hidden; margin: 6px 0 28px; }
.ct2__side { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.ct2__blk { display: grid; gap: 4px; justify-items: start; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ct2__h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.ct2__ph { font-size: 26px; font-weight: 700; color: var(--blue); white-space: nowrap; line-height: 1.25; }
.ct2__ph2 { color: var(--blue); font-weight: 600; }
.ct2__muted { color: var(--muted); font-size: 13px; }
.ct2__btn { justify-self: stretch; text-align: center; margin-top: 10px; }
.ct2__links { list-style: none; margin: 12px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 16px; justify-self: stretch; }
.ct2__links li.ct2__mail { grid-column: 1 / -1; }
.ct2__links a { white-space: nowrap; }
.ct2__links a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--blue); }
.ct2__links a:hover { color: var(--pink); }
.ct2__links svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct2__links li:has(> a[data-need][href=""]) { display: none; }   /* мессенджер без ссылки — не показываем */
.ct2__tabs { display: grid; gap: 10px; }
.ct2__tab { text-align: left; font: inherit; color: inherit; cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 3px; transition: .2s; }
.ct2__tab b { font-size: 16px; color: var(--blue); }
.ct2__tab span { font-size: 14px; }
.ct2__tab small { font-size: 12px; color: var(--muted); }
.ct2__tab:hover { border-color: color-mix(in srgb, var(--pink) 45%, white); }
.ct2__tab.is-active { border-color: var(--pink); box-shadow: 0 10px 24px -14px rgba(164,38,84,.55); }
.ct2__acts { display: flex; gap: 8px; margin-top: 6px; }
.ct2__acts .btn { flex: 1; text-align: center; padding-inline: 10px; }
.ct2__map { min-height: 560px; background: #ebe9e9; position: relative; }
.ct2__map iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; }
.ct2__map > ymaps { position: absolute !important; inset: 0; }
/* серая подложка Яндекс Карты; метки и кнопки остаются цветными */
.ct2__map [class*="ground-pane"] { filter: grayscale(1) brightness(1.04) contrast(.92); }
/* своя метка Мастер Офис (09.11): табличка «иконка + название» с острием вниз и точкой на месте адреса;
   выбранная точка — розовая. Точка (::before) стоит ровно на координате */
.ymk { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)); display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border-radius: 12px; background: var(--blue); color: #fff; white-space: nowrap; cursor: pointer;
  font: 600 13px/1 Montserrat, sans-serif; box-shadow: 0 8px 18px -6px rgba(41,44,50,.55); transition: transform .2s, background .2s; }
.ymk::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 12px; height: 12px; background: inherit; border-radius: 0 0 3px 0;
  transform: translate(-50%, 50%) rotate(45deg); z-index: -1; }
.ymk::before { content: ""; position: absolute; left: 50%; bottom: -14px; width: 10px; height: 10px; border-radius: 50%; background: #fff;
  border: 3px solid var(--blue); box-sizing: border-box; transform: translate(-50%, 50%); box-shadow: 0 1px 4px rgba(41,44,50,.4); }
.ymk i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.ymk svg { width: 18px; height: 18px; fill: #fff; }
.ymk:hover { filter: brightness(1.15); }
.ymk.is-on { background: var(--pink); }
.ymk.is-on::before { border-color: var(--pink); }
/* Окно «Город доставки», город региона (Иван 10.11.2026): адрес склада самовывоза + «доставка и сборка — спросить менеджера».
   Варианты оформления 1–4 (city.js CARD_V), превью — preview-city-card.html */
.city__card.is-reg { display: grid; gap: 4px; }
.city__card.is-reg .city__cname { margin-bottom: 10px; }
.city__card.is-reg svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.city__card.is-reg .city__cbtns { margin-top: 14px; }
.city__card.is-reg .city__done { padding: 9px 22px; }
.cr-addr { display: block; font-size: 17px; line-height: 1.3; color: var(--black); }
.cr-addr--none { font-size: 15px; font-weight: 600; }
.cr-hrs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.cr-more { font-size: 12px; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; margin-top: 4px; justify-self: start; }
.city__card.is-reg small { display: flex; align-items: center; gap: 6px; }
/* 1 — адрес крупно, ниже строка-вопрос и кнопка */
.cr-big { display: grid; gap: 4px; background: #fff; border-radius: 14px; padding: 14px 16px; border-left: 4px solid var(--pink); }
.cr-big small { color: var(--pink) !important; font-weight: 700; }
.cr-ask { display: grid; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed #d8cfcf; }
.cr-ask > span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue); }
.cr-ask__btn { justify-self: stretch; text-align: center; padding: 11px 16px; }
/* 2 — «билет»: сверху адрес, снизу через перфорацию — доставка и круглая кнопка */
.cr-ticket { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.cr-ticket__top { display: grid; gap: 4px; padding: 14px 16px 16px; position: relative; }
.cr-ticket__bot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--blue); color: #fff;
  background-image: radial-gradient(circle at 0 0, var(--grey) 7px, transparent 7.5px), radial-gradient(circle at 100% 0, var(--grey) 7px, transparent 7.5px); }
.cr-ticket__bot span { display: grid; gap: 2px; font-size: 12px; opacity: .9; }
.cr-ticket__bot b { font-size: 14px; opacity: 1; }
.cr-round { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.cr-round:hover { transform: translateX(3px); }
.city__card .cr-round svg { width: 20px; height: 20px; }
/* 3 — две плитки: самовывоз | доставка и сборка */
.cr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-tile { display: grid; gap: 4px; align-content: start; background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.cr-tile i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grey); color: var(--pink); margin-bottom: 4px; }
.city__card .cr-tile i svg { width: 19px; height: 19px; }
.cr-tile .cr-addr { font-size: 14px; }
.cr-tile--alt { background: var(--blue); color: #fff; border-color: var(--blue); }
.cr-tile--alt i { background: rgba(255,255,255,.14); color: #fff; }
.cr-tile--alt small { color: rgba(255,255,255,.7) !important; }
.cr-tile--alt b { font-size: 14px; }
.cr-tile__btn { margin-top: 8px; padding: 9px 10px; font-size: 13px; text-align: center; }
/* 4 — простой адрес + тёмный баннер-кнопка на всю ширину */
.cr-plain { display: grid; gap: 4px; }
.cr-plain small svg { color: var(--pink); }
.cr-banner { margin-top: 14px; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; cursor: pointer; border: 0;
  border-radius: 14px; padding: 14px; color: #fff; background: linear-gradient(120deg, var(--blue), #6b4f50); transition: filter .2s; }
.cr-banner:hover { filter: brightness(1.12); }
.cr-banner i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.city__card .cr-banner i svg { width: 22px; height: 22px; }
.cr-banner span { display: grid; gap: 2px; font-size: 12px; opacity: .92; flex: 1; }
.cr-banner b { font-size: 14px; }
.cr-banner em { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
@media (max-width: 480px) { .cr-tiles { grid-template-columns: 1fr; } }
/* тот же баннер на «Контактах» под адресом склада отгрузки */
.ct2__ask { margin-top: 0; }
.ct2__ask[hidden] { display: none; }
.ct2__ask small { font-size: 12px; }
.ct2__ask svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct2__ask i svg { width: 22px; height: 22px; }
.ct2__ask em svg { width: 16px; height: 16px; }
/* «Доставка и сборка» (delivery-map.js, 10.11): склад отгрузки в карточке города региона */
.dl-pick { display: grid; gap: 3px; margin: 12px 0 2px; padding: 14px 16px; border-radius: 14px; background: var(--grey); border-left: 4px solid var(--pink); font-size: 14px; }
.dl-pick small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); }
.dl-pick > b { font-size: 16px; line-height: 1.3; }
.dl-pick > span, .dl-pick li span { color: var(--muted); font-size: 13px; }
.dl-pick ul { list-style: none; margin: 8px 0 0; padding: 0; }
.dl-pick li { padding: 7px 0; border-top: 1px solid #e6dfdd; display: grid; }
.dl-pick--none > b { font-size: 14px; font-weight: 600; }
.dl-ask { margin-top: 14px; }
/* Верх «Доставки» для города региона (Иван 10.11, вариант 1 «Два пути», компактно): две колонки без пустот —
   слева заголовок + «Самовывоз со склада», справа фото + тёмная «Доставка и сборка» */
.g1-head.is-reg { display: block; margin-bottom: 26px; }
.dlr { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 22px; align-items: stretch; }
.dlr-left, .dlr-right { display: grid; gap: 18px; align-content: start; }
.dlr-left { grid-template-rows: auto auto auto 1fr; }
.dlr-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dlr-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.dlr-tag .dlr-ic { width: 16px; height: 16px; }
.dlr-tag { flex-wrap: wrap; row-gap: 2px; } .dlr-tag a { white-space: nowrap; }   /* 24.11: на телефоне «другой город» ломался в столбик справа */
.g1-hero .dlr h1 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.14; margin: -6px 0 0; }
.g1-hero .dlr > div > p { font-size: 16px; line-height: 1.5; margin: -4px 0 0; }
.dlr-way { border-radius: 22px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -32px rgba(0,0,0,.4); }
.dlr-way h3 { margin: 0 0 4px; font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dlr-way h3 i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grey); color: var(--pink); }
.dlr-chip { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pink) 10%, white); color: var(--pink); }
.dlr-way small { font-size: 12px; color: var(--muted); }
.dlr-addr { font-size: 18px; line-height: 1.3; }
.dlr-hrs { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.dlr-hrs .dlr-ic { width: 15px; height: 15px; }
.dlr-more { font-size: 13px; color: var(--muted); }
.dlr-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.dlr-way ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: 14px; }
.dlr-way li { padding-left: 20px; position: relative; } .dlr-way li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }
.dlr-way .btn { padding: 11px 20px; }
.dlr-way--dark { background: var(--blue); color: #fff; border-color: var(--blue); }
.dlr-way--dark h3 i { background: rgba(255,255,255,.12); color: #fff; }
.dlr-way--dark .dlr-chip { background: rgba(255,255,255,.14); color: #fff; }
.dlr-way--dark li::before { color: #f3a6c2; }
.dlr-way--dark p, .g1-hero .dlr-way--dark p { margin: 4px 0 6px; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.45; }   /* 24.11: .g1-hero p перебивал — текст был серый 17px на тёмном */
.dlr-way--dark .btn { justify-self: start; background: var(--pink); color: #fff; }
.dlr-way--dark .btn:hover { filter: brightness(1.1); }
.dlr-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dlr-info > ul { align-self: stretch; }
/* контакты внизу карточки «Самовывоз» — заполняют место под адресом, прижаты к низу */
.dlr-contacts { margin-top: auto; align-self: stretch; display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: var(--grey); }
.dlr-info > .btn { margin-bottom: 8px; }
.dlr-contacts small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dlr-ph { font-size: 24px; font-weight: 700; color: var(--blue); white-space: nowrap; line-height: 1.25; }
.dlr-ph:hover { color: var(--pink); }
.dlr-ph2 { font-size: 13px; color: var(--muted); }
.dlr-ph2 a { color: var(--blue); font-weight: 600; }
.dlr-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #e3dcdc; }
.dlr-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--blue); }
.dlr-links a:hover { color: var(--pink); }
.dlr-links .dlr-ic { width: 18px; height: 18px; }
.dlr-info .btn { justify-self: start; margin-top: 6px; }
.dlr-way--map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-content: stretch; }   /* карта — на всю высоту карточки, без пустоты снизу */
.g1-hero:has(.g1-head.is-reg) .g1-box, .g1-box.is-hidden { display: none; }   /* город региона: карта России не нужна (Иван 10.11) */
.dlr-tag a { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; cursor: pointer; }
.dlr-map { position: relative; min-height: 230px; border-radius: 16px; overflow: hidden; background: #ebe9e9; }
.dlr-map > ymaps { position: absolute !important; inset: 0; }
.dlr-map [class*="ground-pane"] { filter: grayscale(1) brightness(1.04) contrast(.92); }
.dlr-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 10px)); display: flex; align-items: center; gap: 7px; background: var(--blue); color: #fff;
  border-radius: 10px; padding: 5px 10px 5px 5px; font: 700 12px Montserrat, sans-serif; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.dlr-pin i { width: 24px; height: 24px; border-radius: 7px; background: var(--pink); display: grid; place-items: center; }
.dlr-pin .dlr-ic { width: 14px; height: 14px; }
.dlr-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--blue); transform: translateX(-50%) rotate(45deg); }
@media (max-width: 640px) { .dlr-way--map { grid-template-columns: minmax(0, 1fr); } .dlr-map { min-height: 220px; } }
.dlr-fig { margin: 0; }
.dlr-fig img { display: block; width: 100%; height: auto; }
@media (max-width: 1000px) { .dlr { grid-template-columns: minmax(0, 1fr); } .dlr-fig { max-width: 640px; } }

.dlr-copy--mobile { display: none; }

@media (max-width: 767px) {
  .g1-head.is-reg { margin-bottom: 18px; }
  .dlr, .dlr-left, .dlr-right { gap: 12px; }
  .dlr-left, .dlr-right, .dlr-info { min-width: 0; overflow-wrap: anywhere; }
  .dlr-copy--desktop { display: none; }
  .dlr-copy--mobile { display: inline; }
  .g1-hero .dlr h1 {
    margin: 0;
    font-size: clamp(22px, 5.7vw, 25px);
    line-height: 1.18;
    text-wrap: balance;
  }
  .g1-hero .dlr > div > p { margin: 0; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
  .dlr-way { padding: 14px; border-radius: 16px; }
  .dlr-way h3 { gap: 8px; font-size: 16px; line-height: 1.3; }
  .dlr-way h3 i { width: 32px; height: 32px; }
  .dlr-addr { font-size: 16px; }
  .dlr-ph { font-size: 20px; }
}

/* Склады отгрузки ТК «Байкал Сервис» (Иван 10.11.2026): вкладка «Склад отгрузки — город» + список городов под панелью */
.ct2__tab[hidden] { display: none; }
.ct2__tab[data-number] { position: relative; padding-inline-start: 54px; }
.ct2__tab[data-number]::before {
  content: attr(data-number); position: absolute; top: 14px; left: 14px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pink); color: #fff; font-weight: 700;
}
.ct2__city { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ct2__city strong { font-size: clamp(24px, 3vw, 32px); line-height: 1.12; }
.ct2__city a { border: 1px solid currentColor; border-radius: 8px; padding: 7px 10px; color: var(--pink); font-size: 13px; font-weight: 700; }
.ct2__city a:hover { background: var(--pink); color: #fff; }
.ct2__city small { flex-basis: 100%; color: var(--muted); }
/* 11.11 Иван: строка «Вы не в Москве? Склад отгрузки в вашем городе» — фраза со ссылкой, а не кнопка-плашка
   (прежний стиль кнопки «Сменить город» с рамкой и заливкой рвался на две строки) */
.ct2__city > span { display: block; flex: 1 1 100%; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ct2__city > span b { color: var(--text, #292C32); }
.ct2__city > span a { border: 0; border-radius: 0; padding: 0; background: none; color: var(--pink); font-size: inherit; font-weight: 600;
  text-decoration: underline dotted; text-underline-offset: 3px; white-space: nowrap; }
.ct2__city > span a:hover { background: none; color: var(--blue); text-decoration-style: solid; }
.ct2__more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 100%; font-size: 13px; color: var(--muted); }
.ct2__more button { padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: inherit; color: var(--blue); cursor: pointer; }
.ct2__more button:hover { border-color: var(--pink); color: var(--pink); }
.ct2__map iframe { filter: grayscale(1); }
.ymk i { font-style: normal; font-weight: 700; }
.bkl { margin: 0 0 32px; scroll-margin-top: 90px; }
.bkl__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.bkl__head h2 { margin: 0 0 6px; }
.bkl__sub { margin: 0; color: var(--muted); max-width: 640px; }
.bkl__tools { display: grid; gap: 6px; justify-items: end; flex: 0 1 320px; }
.bkl__q { position: relative; width: 100%; }
.bkl__geo { font: inherit; font-size: 13px; background: none; border: 0; padding: 2px 0; cursor: pointer; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.bkl__geo:hover { color: var(--pink); }
.bkl__q input { width: 100%; box-sizing: border-box; font: inherit; padding: 11px 40px 11px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.bkl__q input:focus { outline: none; border-color: var(--pink); }
.bkl__q svg { position: absolute; right: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.bkl__list { columns: 4 210px; column-gap: 28px; background: var(--grey); border-radius: 20px; padding: 24px 26px 10px; }
.bkl__g { break-inside: avoid; display: grid; grid-template-columns: 22px 1fr; margin-bottom: 14px; }
.bkl__g[hidden], .bkl__g li[hidden] { display: none; }
.bkl__l { color: var(--muted); font-size: 13px; padding-top: 3px; }
.bkl__g ul { list-style: none; margin: 0; padding: 0; }
.bkl__g button { font: inherit; font-size: 14px; background: none; border: 0; padding: 3px 0; cursor: pointer; color: inherit; text-align: left; }
.bkl__g button:hover { color: var(--pink); }
.bkl__g button i { font-style: normal; color: var(--muted); font-size: 13px; }
.bkl__none { color: var(--muted); }
@media (max-width: 600px) { .bkl__list { padding: 18px 16px 6px; columns: 2 140px; column-gap: 16px; } .bkl__tools { flex-basis: 100%; justify-items: start; } }
@media (max-width: 1000px) { .ct2 { grid-template-columns: minmax(0, 1fr); } .ct2__map, .ct2__map iframe { min-height: 380px; } }
@media (max-width: 600px) { .ct2__side { padding: 20px 16px; } .ct2__ph { font-size: 23px; } .ct2__map, .ct2__map iframe { min-height: 320px; } }

/* Реквизиты (contacts.html): три карточки «Компания / Регистрация / Банк»; строка копируется по клику (09.11.2026) */
.reqs { background: var(--grey); border-radius: 20px; padding: 30px 32px 32px; margin-bottom: 28px; position: relative; }
.reqs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.reqs__head h2 { margin: 0; }
.reqs__sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.reqs__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; align-items: stretch; }
.reqs__card { background: #fff; border-radius: 16px; padding: 20px 22px 10px; box-shadow: 0 1px 2px rgba(41,44,50,.05); }
.reqs__card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 16px; color: var(--blue); }
.reqs__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 700;
  background: color-mix(in srgb, var(--pink) 10%, white); color: var(--pink); flex: none; }
.reqs__card dl { margin: 0; }
.reqs__card dl > div { position: relative; margin: 0 -10px; padding: 11px 34px 11px 10px; border-top: 1px solid var(--line); cursor: copy; border-radius: 8px; transition: background .15s; }
.reqs__card dl > div:first-child { border-top: 0; }
.reqs__card dl > div:hover, .reqs__card dl > div:focus-visible { background: #faf6f7; border-top-color: transparent; outline: none; }
.reqs__card dl > div:hover + div { border-top-color: transparent; }
.reqs__card dl > div::after { content: "⧉"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #c3b8b9; opacity: 0; transition: .15s; }
.reqs__card dl > div:hover::after, .reqs__card dl > div:focus-visible::after { opacity: 1; color: var(--pink); }
.reqs__card dl > div.is-copied::after { content: "✓"; opacity: 1; color: #2e8b57; }
.reqs__card dt { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.reqs__card dd { margin: 3px 0 0; font-weight: 600; color: var(--black); line-height: 1.4; overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.reqs__ok { position: absolute; right: 32px; bottom: 10px; margin: 0; font-size: 13px; color: #2e8b57; font-weight: 600; }
@media (max-width: 1100px) { .reqs__grid { grid-template-columns: 1fr 1fr; } .reqs__card:first-child { grid-column: 1 / -1; } }
@media (max-width: 800px) { .cmap { grid-template-columns: 1fr; } .reqs { padding: 22px 16px 30px; } }
@media (max-width: 640px) { .reqs__grid { grid-template-columns: minmax(0, 1fr); } .reqs__card { padding: 16px 16px 6px; } .reqs__head .btn { width: 100%; } }

/* ---------- Карта сайта и страница 404 (build_static.py) ---------- */
.smap { columns: 3 300px; column-gap: 40px; }
.smap__box { break-inside: avoid; margin-bottom: 26px; }
.smap__box h2 { font-size: 18px; margin: 0 0 8px; }
.smap__box h2 a { color: var(--blue); }
.smap__box ul { margin: 0; padding-left: 16px; font-size: 14px; line-height: 1.7; }
.smap__box a { color: var(--blue); }
.smap__l { color: var(--muted); font-size: 13px; }
.nf { max-width: 760px; padding: 20px 0 40px; }
.nf__code { display: block; font-size: 96px; line-height: 1; color: var(--pink); }
.nf p { font-size: 16px; color: #4a3f40; }
.nf__search { display: flex; gap: 10px; margin: 18px 0; max-width: 560px; }
.nf__search input { flex: 1; }
.nf .chips { margin: 18px 0; }

/* ---------- Карточка товара: серия, подборки, популярное (build_static.py, Иван 02.11) ---------- */
.plinks:empty { display: none; }
.plinks { display: grid; gap: 22px; margin-top: 28px; }
.plinks__box h2 { font-size: 20px; margin: 0 0 12px; }
.plinks__series { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.plinks__item { flex: none; width: 168px; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); font-size: 13px; color: var(--black); transition: border-color .2s; }
.plinks__item:hover { border-color: var(--pink); }
.plinks__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 8px; }
.plinks__item b { color: var(--pink); }
.plinks__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.plinks__tags a { padding: 6px 14px; border-radius: 18px; background: var(--grey); border: 1px solid var(--line); color: var(--blue); font-size: 14px; }
.plinks__tags a:hover { border-color: var(--pink); color: var(--pink); }
.plinks__list { columns: 2 320px; column-gap: 32px; margin: 0; padding-left: 18px; font-size: 14px; }
.plinks__list li { margin-bottom: 6px; break-inside: avoid; }
.plinks__list a { color: var(--blue); }

/* ---------- «Также часто ищут»: подборки раздела (build_static.py) ---------- */
.often:empty { display: none; }
/* 03.11 вкладки (Иван выбрал вариант 1): строка групп, под ней подборки выбранной группы */
.oft { margin: 4px 0 18px; padding: 4px 8px 14px; background: var(--grey); border-radius: 14px; font-size: 13px; }
.oft__r { position: absolute; opacity: 0; pointer-events: none; }
.oft__head { display: flex; align-items: center; gap: 4px 14px; border-bottom: 1px solid var(--line); padding: 0 8px; }
.oft__head > b { color: var(--blue); white-space: nowrap; }
.oft__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.oft__tabs::-webkit-scrollbar { display: none; }
.oft__t { padding: 11px 12px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.oft__t:hover { color: var(--blue); }
.oft__p { display: none; flex-wrap: wrap; gap: 8px; padding: 14px 8px 0; }
.oft__a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  color: var(--blue); font-weight: 500; white-space: nowrap; }
.oft__a em { font-style: normal; color: var(--muted); font-size: 12px; }
.oft__a:hover { border-color: var(--pink); color: var(--pink); }
.oft__a.is-active { background: var(--pink); border-color: var(--pink); color: var(--white); }
.oft__a.is-active em { color: rgba(255,255,255,.8); }
.oft__sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
#oft0:checked ~ .oft__p[data-i="0"], #oft1:checked ~ .oft__p[data-i="1"], #oft2:checked ~ .oft__p[data-i="2"], #oft3:checked ~ .oft__p[data-i="3"],
#oft4:checked ~ .oft__p[data-i="4"], #oft5:checked ~ .oft__p[data-i="5"], #oft6:checked ~ .oft__p[data-i="6"], #oft7:checked ~ .oft__p[data-i="7"],
#oft8:checked ~ .oft__p[data-i="8"], #oft9:checked ~ .oft__p[data-i="9"], #oft10:checked ~ .oft__p[data-i="10"], #oft11:checked ~ .oft__p[data-i="11"] { display: flex; }
#oft0:checked ~ .oft__head [for="oft0"], #oft1:checked ~ .oft__head [for="oft1"], #oft2:checked ~ .oft__head [for="oft2"], #oft3:checked ~ .oft__head [for="oft3"],
#oft4:checked ~ .oft__head [for="oft4"], #oft5:checked ~ .oft__head [for="oft5"], #oft6:checked ~ .oft__head [for="oft6"], #oft7:checked ~ .oft__head [for="oft7"],
#oft8:checked ~ .oft__head [for="oft8"], #oft9:checked ~ .oft__head [for="oft9"], #oft10:checked ~ .oft__head [for="oft10"], #oft11:checked ~ .oft__head [for="oft11"] {
  color: var(--blue); border-bottom-color: var(--pink); }
.oft__r:focus-visible ~ .oft__head { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 8px; }

/* ---------- SEO-текст раздела каталога (data/seo.js) ---------- */
.seo-text { margin: 40px 0 8px; padding: 28px 32px; background: var(--grey); border-radius: 16px; border-left: 5px solid var(--pink);
  color: #4a3f40; font-size: 15px; line-height: 1.6; columns: 2 440px; column-gap: 48px; }
.seo-text h2 { column-span: all; margin: 0 0 12px; font-size: 22px; color: var(--blue); }
.seo-text p { margin: 0 0 10px; }
.seo-text ul { margin: 0 0 10px; padding-left: 18px; }
.seo-text li { margin-bottom: 6px; break-inside: avoid; }
.seo-text b { color: var(--blue); }
@media (max-width: 600px) { .seo-text { padding: 20px; columns: 1; } }

/* Меню «Каталог»: подложка иконок была голубой */
.mm-ic { background: #F4EEEE; }

/* Иконки меню разделов были синими PNG — тонируем в коричневый */
img[src*="img/menu/"][src*="-hover"] { filter: grayscale(1) sepia(.35) brightness(.55); }

/* ---------- Каталог /catalog/: плитки-фото с интерьером, как на образце Ивана (02.11) ---------- */
.page__title--dash { display: flex; align-items: center; gap: 18px; }
.page__title--dash::before { content: ""; flex: none; width: 36px; height: 3px; border-radius: 2px; background: var(--pink); }
.catgrid--photo { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.page__title--dash + .page__lead { font-size: 18px; color: #555; }
/* «Строго как на образце» (Иван 02.11): фото на всю плитку, подпись лежит на самом фото внизу. Фото вырезаны целиком из
   образца (img/catalog-tiles/_source.webp), нарисованный там текст стёрт; низ фото светлый — тёмный текст читается. */
.catx { position: relative; display: block; aspect-ratio: 1.45; border-radius: 10px; overflow: hidden; background: var(--white);
  box-shadow: 0 2px 10px rgba(41,44,50, .10); color: #222; transition: box-shadow .25s; }
.catx img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  transition: transform .5s; transform-origin: 50% 70%; }
.catx__txt { position: absolute; z-index: 1; left: 18px; right: 54px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.catx__txt b { font-size: 17px; line-height: 1.25; font-weight: 700; }
.catx__txt small { font-size: 14px; color: #555; }
.catx__go { position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 8px rgba(41,44,50, .18); transition: background .2s, transform .2s; }
.catx__go::before { content: ""; position: absolute; inset: 0; background: var(--pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.catx:hover { box-shadow: 0 8px 24px rgba(41,44,50, .18); }
.catx:hover img { transform: scale(1.04); }
.catx:hover .catx__go { background: var(--pink); transform: translateX(3px); }
.catx:hover .catx__go::before { background: var(--white); }
/* неполный последний ряд — плитки шире, чтобы ряд был заполнен (14 разделов: 4+4+4+2, как на образце) */
@media (min-width: 1101px) {
  .catgrid--photo .catx:nth-child(4n+1):nth-last-child(2),
  .catgrid--photo .catx:nth-child(4n+1):nth-last-child(2) + .catx { grid-column: span 2; aspect-ratio: 3.9; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .catgrid--photo { grid-template-columns: repeat(3, 1fr); }
  .catgrid--photo .catx:nth-child(3n+1):nth-last-child(2) + .catx { grid-column: span 2; aspect-ratio: auto; }
}
@media (max-width: 760px) {
  .catgrid--photo { grid-template-columns: 1fr 1fr; gap: 10px; }
  .catx { aspect-ratio: 1.2; }
  .catx__txt { left: 10px; right: 38px; bottom: 9px; }
  .catx__txt b { font-size: 13px; }
  .catx__txt small { font-size: 12px; }
  .catx__go { right: 8px; bottom: 10px; width: 26px; height: 26px; }
}

/* ---------- Первый экран главной (Иван 02.11): баннеры + лента преимуществ помещаются без прокрутки ----------
   Высота баннеров = экран − шапка (≈115) − отступы − лента (≈84); не выше прежних 690 и не шире, чем позволяет ширина.
   Ролики справа 3:2 — ширина колонки считается от этой высоты. */
@media (min-width: 1101px) {
  .hero { padding: 20px 0 22px; }
  .hero__grid { --hh: clamp(420px, calc(100vh - 245px), min(690px, calc((100vw - 64px) / 2.75)));
    height: var(--hh); grid-template-columns: minmax(0, 1fr) calc((var(--hh) - 20px) / 2 * 1.5); }
  .hero__side { grid-template-rows: 1fr 1fr; align-content: stretch; }
  .hero__side .promo--video { aspect-ratio: auto; height: 100%; }
  .hero__grid .slider { min-height: 0; height: 100%; }
}
/* Лента преимуществ — вариант «Стекло» (Иван 02.11): отдельные белые карточки с мягкой тенью, коричневый только в тексте */
.perks { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; color: var(--blue); }
.perks a { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 18px; color: inherit; overflow: hidden;
  background: var(--white); border-radius: 14px; box-shadow: 0 4px 18px rgba(41,44,50, .08); transition: box-shadow .25s; }
.perks a:hover { box-shadow: 0 10px 26px rgba(41,44,50, .14); }
.perks a::after { content: ""; position: absolute; left: 20px; bottom: 0; width: 0; height: 3px; background: var(--pink); transition: width .3s; }
.perks a:hover::after { width: calc(100% - 40px); }
.perks svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perks svg .acc { stroke: var(--pink); }
.perks span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.perks b { font-size: 15px; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.perks em { font-style: normal; color: var(--pink); }
.perks small { font-size: 13px; color: #7A6B6C; line-height: 1.35; }
.perks__go, .perks-dots { display: none; }
.perks .perks__ic { flex: none; width: 38px; height: 38px; object-fit: contain; }   /* иконки Ивана 23.11 (icons/perks/*.webp) */
@media (max-width: 1500px) { .perks .perks__ic { width: 32px; height: 32px; } }   /* кружок-стрелка и точки — только на телефоне (mobile-shell.css, 23.11) */
@media (max-width: 1500px) { .perks a { padding: 14px 12px; gap: 10px; } .perks b { font-size: 13px; white-space: normal; } .perks small { font-size: 12px; } .perks svg { width: 28px; height: 28px; } }
@media (max-width: 1100px) { .perks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .perks a:last-child { grid-column: span 2; }
}

/* ===== Фото товара во весь экран (product.html openViewer), как fancybox у поставщика — Иван 02.11 ===== */
.pview { position: fixed; inset: 0; z-index: 1000; background: rgba(24, 24, 27, .94); color: #fff; display: flex; flex-direction: column; user-select: none; }
.pview[hidden] { display: none; }
.pview__top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 0 18px; min-height: 48px; position: relative; z-index: 2; }
.pview__count { font-size: 14px; opacity: .85; }
.pview__tools { display: flex; }
.pview__tools button, .pview__arrow { border: 0; background: rgba(30, 30, 30, .6); color: #ddd; cursor: pointer; font: inherit; }
.pview__tools button { width: 44px; height: 44px; font-size: 18px; }
.pview__tools button:hover, .pview__arrow:hover { color: #fff; background: rgba(60, 60, 60, .8); }
.pview.is-play [data-act=play], .pview.is-zoom [data-act=zoom] { color: var(--pink); }
.pview__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 72px; overflow: hidden; }
.pview__stage img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; cursor: zoom-in; transition: transform .25s; }
.pview.is-zoom .pview__stage img { transform: scale(2.2); cursor: zoom-out; }
.pview__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 80px; font-size: 40px; line-height: 1; z-index: 2; }
.pview__arrow.prev { left: 8px; }
.pview__arrow.next { right: 8px; }
.pview__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 18px 14px; scrollbar-width: thin; }
.pview__thumbs button { flex: none; width: 82px; height: 64px; padding: 0; border: 2px solid transparent; background: #fff; cursor: pointer; opacity: .55; }
.pview__thumbs button.is-active { border-color: var(--pink); opacity: 1; }
.pview__thumbs button:hover { opacity: 1; }
.pview__thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pview.no-thumbs .pview__thumbs, .pview.is-one .pview__thumbs, .pview.is-one .pview__arrow,
.pview.is-one [data-act=play], .pview.is-one [data-act=thumbs] { display: none; }
@media (max-width: 640px) {
  .pview__stage { padding: 4px; }
  .pview__arrow { width: 40px; height: 60px; font-size: 30px; background: rgba(30, 30, 30, .35); }
  .pview__thumbs button { width: 62px; height: 48px; }
  .pview [data-act=full] { display: none; }
}

/* ===== Телефон (Иван 02.11: «в мобильной версии всё поплыло»). Правила выше без @media
   перебивали адаптив из styles.css — здесь возвращаем одну колонку и поджимаем шапку ===== */
@media (max-width: 1100px) {
  .showcase__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .faqx { grid-template-columns: minmax(0, 1fr); }
  .faqx__intro { min-height: 340px; padding: 84px 20px 22px; }
}
@media (max-width: 720px) {
  .dm-logo, .header.is-scrolled .dm-logo { height: 34px; }
  .header__in { flex-wrap: wrap; }
  .btn-catalog { padding-left: 14px; padding-right: 14px; }
  #categories .section__head { flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
  #categories .more { margin-left: 0; font-size: 15px; }
  .showcase.section { padding: 28px 0; }
  .showcase::before { width: 160px; right: 16px; bottom: 16px; }
  .showcase__swatches { gap: 8px; }
  .faqx__intro h2 { font-size: 24px; }
  .faqx__list summary { padding: 14px 54px 14px 16px; }
}
/* Раздел каталога на телефоне: товары начинались только через 2 экрана фильтров —
   подборки и разделы одной лентой с прокруткой вбок, цена и галочки компактно */
@media (max-width: 760px) {
  .oft { margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 0 0 10px; }
  .oft__head { padding: 0 8px 0 16px; }
  .oft__head > b { display: none; }
  .oft__p { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 16px 0; }
  .oft__p::-webkit-scrollbar { display: none; }
  .listing { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .filters { min-width: 0; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .filters :is(h2,h3) { margin: 0; flex-basis: 100%; font-size: 14px; }
  .filters :is(h2,h3):has(+ #fCats) { display: none; }
  .filters :is(h2,h3) + div { margin-bottom: 0; }
  #fCats { flex-basis: calc(100% + 28px); display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 2px; }
  #fCats::-webkit-scrollbar { display: none; }
  #fCats .fcheck { flex: none; white-space: nowrap; padding: 6px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; font-size: 13px; }
  #fCats .fcheck small { margin-left: 2px; }
  .listing__bar { flex-wrap: wrap; gap: 6px 12px; }
}

/* Колл-центр 24/7 у телефона в шапке */
.header__tel { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.h247 { background: var(--pink); color: #fff; font-size: 11px; font-weight: 600; line-height: 1;
  padding: 4px 8px; border-radius: 20px; white-space: nowrap; cursor: default; }

/* Комплектация и цены (03.11, Иван: как на eco-office, но компактнее): разделы по отдельности,
   липкая строка разделов, плотная сетка, фото на всю ширину карточки, корзина — иконкой у цены */
.elnav { position: sticky; top: var(--top, 0px); z-index: 20; display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 12px 0 0; margin-bottom: 4px; }
.elnav::-webkit-scrollbar { display: none; }
.elnav a { flex: none; padding-bottom: 10px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; white-space: nowrap; text-decoration: none; }
.elnav a sup { font-size: 10px; margin-left: 2px; color: var(--muted); }
.elnav a:hover { color: var(--blue); }
.elnav a.is-on { color: var(--blue); border-bottom-color: var(--pink); font-weight: 600; }
.elnav a[hidden], .elgrp[hidden] { display: none !important; }
.elgrp { margin-top: 22px; }
.elgrp__title { font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.elgrp__title span { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.elements .eltiles { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.elements .eltile { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 2px; padding: 8px 10px 10px; }
/* фото в окне 4:3 одной высоты у всех карточек (высокая тумба раньше растягивала окно — подписи «плясали») */
.elements .eltile__img { position: relative; height: auto; aspect-ratio: 4 / 3; margin: 0 0 6px; overflow: hidden; }
.elements .eltile__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.elements .eltile__name { font-size: 13px; font-weight: 500; min-height: 34px; }
.elements .eltile__size { font-size: 13px; font-weight: 600; color: var(--blue); }
.elements .eltile small { font-size: 11px; color: var(--muted); }
.elements .eltile__price { margin: auto 0 0; padding-top: 6px; font-size: 16px; color: var(--blue); white-space: nowrap; }
.eltile__foot { display: flex; align-items: center; gap: 6px; padding-top: 6px; }
.elqty { flex: 1; min-width: 0; display: flex; height: 36px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.elqty button { flex: none; width: 30px; border: 0; background: none; color: var(--blue); font-size: 18px; line-height: 1; cursor: pointer; }
.elqty button:hover { background: #f5f1f1; }
.elqty input { flex: 1; min-width: 0; width: 100%; border: 0; text-align: center; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--blue); -moz-appearance: textfield; appearance: textfield; }
.elqty input::-webkit-outer-spin-button, .elqty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.elqty input:focus { outline: 0; background: #fbf8f8; }
.elements .eltile .el__buy { flex: none; width: 36px; height: 36px; padding: 0; margin: 0; border-radius: 10px; font-size: 0;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / 20px no-repeat; }
.elements .eltile .el__buy:hover { background-color: #292C32; }
.elements .eltile .el__buy.is-added { background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
/* фото и название плитки — ссылки на страницу позиции */
a.eltile__name { color: inherit; text-decoration: none; }
a.eltile__name:hover { color: var(--pink); }

/* Страница одной позиции комплектации (03.11, Иван: как на eco-office) — product.html renderElement, /product/<серия>/?el=<артикул> */
.el-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 40px; margin-top: 10px; }
.el-photo { border: 1px solid var(--line); border-radius: 16px; background: #fff; align-self: start; }
.el-photo__main { aspect-ratio: 4 / 3; position: relative; cursor: zoom-in; }
/* фото на всё окно (Иван 03.11: схема была мелкой — фото показывалось в своём размере) */
.el-photo__main img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.el-photo__tag { z-index: 1; }
.el-photo__thumbs { display: flex; gap: 8px; padding: 0 16px 16px; }
.el-photo__thumbs button { width: 74px; height: 58px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 3px; cursor: pointer; }
.el-photo__thumbs button.is-on { border-color: var(--pink); }
.el-photo__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.el-photo__tag { position: absolute; left: 14px; top: 14px; font-size: 12px; background: #f4efef; color: var(--blue); border-radius: 20px; padding: 4px 10px; }
.el-info__top { display: flex; gap: 14px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.el-info h1 { line-height: 1.25; margin: 8px 0 6px; }
#product .el-info h1 { font-size: 23px; font-weight: 600; }
.el-series { font-size: 14px; }
.el-series a { color: var(--pink); }
.el-size { margin: 12px 0 4px; font-size: 15px; }
.el-size b { color: var(--blue); }
.el-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.el-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0a23b; }
.el-stock.is-in::before { background: #2fa36b; }
.el-opt { margin: 0 0 16px; }
.el-opt h4 { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 8px; }
.el-opt h4 b { color: var(--blue); font-weight: 600; }
.el-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.el-sw { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--line); padding: 3px; background: #fff; display: block; overflow: hidden; }
.el-sw img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.el-sw.is-on { border-color: var(--pink); }
.el-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.el-sizes a { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 13px; color: var(--blue); text-decoration: none; line-height: 1.25; }
.el-sizes a small { display: block; color: var(--muted); font-size: 11px; }
.el-sizes a.is-on { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); font-weight: 600; }
.el-buy { border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 6px 0 18px; }
.el-buy__price { font-size: 30px; font-weight: 700; color: var(--blue); }
.el-buy__note { font-size: 12px; color: var(--muted); margin: 2px 0 14px; }
.el-buy__row.eltile__foot { display: flex; gap: 10px; padding: 0; }
.el-buy .elqty { flex: 0 0 130px; height: 48px; }
.el-buy__cart { flex: 1; height: 48px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--blue);
  color: #fff; font: 600 15px Montserrat, sans-serif; cursor: pointer; text-decoration: none; transition: background .2s; }
.el-buy__cart:hover { background: var(--blue-dark); }
.el-buy__cart.is-added { background: var(--pink); }
.el-buy__one { width: 100%; margin-top: 8px; height: 42px; border: 0; border-radius: 12px; background: #f6f1f1; color: var(--blue); font: 600 14px Montserrat, sans-serif; cursor: pointer; }
.el-buy__sum { font-size: 13px; color: var(--muted); margin-top: 10px; }
.el-buy__sum:empty { display: none; }
.el-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 13px; }
.el-facts span { color: var(--muted); }
.el-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.el-links a { font-size: 13px; border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; color: var(--blue); text-decoration: none; }
.el-sec { margin-top: 48px; }
.el-sec h2 { font-size: 24px; margin: 0 0 14px; }
/* характеристики: плитки главного + список в две колонки; описание и вопросы — одна серая карточка (компактно, без пустого поля) */
.el-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.el-tiles div { background: #f7f3f3; border-radius: 12px; padding: 12px 14px; }
.el-tiles span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.el-tiles b { font-size: 15px; font-weight: 600; color: var(--blue); }
.el-list { columns: 2; column-gap: 48px; margin: 0; font-size: 13px; }
.el-list div { break-inside: avoid; display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #ece6e6; }
.el-list dt { color: var(--muted); }
.el-list dd { margin: 0; }
.el-about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; background: #f7f3f3; border-radius: 18px; padding: 28px 32px; }
.el-about h2 { font-size: 20px; }
.el-text p { font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.el-faq details { border-bottom: 1px solid #e6dede; padding: 10px 0; font-size: 14px; }
.el-faq details:first-child { padding-top: 0; }
.el-faq summary { cursor: pointer; font-weight: 600; }
.el-faq p { margin: 8px 0 0; color: #4a4040; line-height: 1.5; }
/* «С этим берут» — лента плиток со стрелками */
.el-with { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.el-with .eltile { flex: 0 0 200px; scroll-snap-align: start; color: inherit; text-decoration: none; }
@media (max-width: 900px) {
  .el-card, .el-about { grid-template-columns: 1fr; gap: 20px; }
  .el-about { padding: 20px 16px; }
  .el-list { columns: 1; }
  .el-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #product .el-info h1 { font-size: 21px; }
  .el-buy .elqty { flex-basis: 110px; }
  .el-with .eltile { flex-basis: 160px; }
}
@media (max-width: 720px) {
  .elnav { gap: 18px; margin: 0 -16px 4px; padding: 10px 16px 0; }
  .elements .eltiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .elements .eltile { display: flex; padding: 8px; }
  .elgrp__title { font-size: 17px; }
}

/* Разделы и подборки: не больше 4 серий в ряду (Иван 03.11, «5 тяжело для глаза»).
   Карточка не уже 270px — на узком экране само становится 3/2; телефон (≤720) остаётся 2 в ряду из styles.css. */
@media (min-width: 721px) {
  .listing #grid { grid-template-columns: repeat(auto-fill, minmax(max(270px, calc((100% - 60px) / 4)), 1fr)); }
}
/* Планшет: рядом с фильтрами по 270px влезала одна карточка — ставим две (03.11) */
@media (min-width: 721px) and (max-width: 1100px) {
  .listing #grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Ползунки «Цена» и «Макс. нагрузка» во вкладках «Также часто ищут», перед Эконом/Премиум (Иван 03.11, вариант «Классика»;
   category.html rangeFilter, место .oft__rng — build_static.py). Поля от/до и ползунок в одну строку, подборки справа. */
.oft__p:has(.oft__rng) { align-items: center; gap: 10px 8px; }
.oft__rng { flex: 0 1 560px; display: grid; grid-template-columns: 250px 1fr; align-items: center; gap: 0 18px; margin-right: 14px; }
.oft__rng .rngf__scale { grid-column: 2; margin-top: -4px; }
.rngf__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rngf__box { display: flex; align-items: baseline; gap: 4px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 11px; cursor: text; }
.rngf__box span { color: var(--muted); font-size: 13px; }
.rngf__box input { border: 0; outline: 0; padding: 0; width: 100%; min-width: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue); }
.rngf__box:focus-within { border-color: var(--pink); }
.rngf__rng { position: relative; height: 26px; }
.rngf__track, .rngf__fill { position: absolute; top: 50%; height: 4px; transform: translateY(-50%); border-radius: 4px; }
.rngf__track { left: 0; right: 0; background: #ddd5d3; }
.rngf__fill { background: var(--pink); }
.rngf__rng input { position: absolute; inset: 0; width: 100%; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rngf__rng input::-webkit-slider-runnable-track { background: none; }
.rngf__rng input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; cursor: grab;
  background: var(--white); border: 3px solid var(--pink); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.rngf__rng input::-moz-range-track { background: none; }
.rngf__rng input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; cursor: grab;
  background: var(--white); border: 3px solid var(--pink); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.rngf__rng input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(164, 38, 84, .25); }
.rngf__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
/* фильтр «прилипает» сверху и выше экрана — низ не был виден: своя прокрутка */
@media (min-width: 761px) {
  .listing .filters { max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; }
}
/* Фильтр сбоку — «строгий список» (Иван 03.11, вариант 3 из 4): круглые галочки, тонкие линии, ровные числа справа.
   Разделы свыше 7 спрятаны до «Ещё N разделов» (category.html, #fCats.is-short); на телефоне — прежняя лента таблеток */
.filters input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0;
  border: 1.5px solid #C9BFC0; border-radius: 50%; background: var(--white) center / 10px no-repeat; cursor: pointer; transition: .15s; }
.filters input[type=checkbox]:checked { border-color: var(--pink); background-color: var(--pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.filters input[type=checkbox]:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(164, 38, 84, .25); }
.filters__more { display: none; }
@media (min-width: 761px) {
  .filters :is(h2,h3) { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
  .filters .fcheck { gap: 11px; }
  #fCats .fcheck { padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.25; }
  #fCats .fcheck:last-of-type { border-bottom: 0; }
  #fCats .fcheck span { flex: 1; transition: color .15s; }
  #fCats .fcheck:hover span { color: var(--pink); }
  #fCats .fcheck:has(:checked) span { font-weight: 600; }
  #fCats .fcheck small { font-size: 12px; font-variant-numeric: tabular-nums; }
  #fCats.is-short .fcheck:nth-child(n+8):not(:has(:checked)) { display: none; }
  #fCats.is-short .fcheck:nth-child(7) { border-bottom: 0; }
  .filters__more { display: block; margin: 6px 0 0 2px; padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 600; color: var(--pink); }
}
@media (max-width: 760px) {
  /* телефон: ползунок на всю ширину, подборки под ним */
  .oft__p:has(.oft__rng) { flex-wrap: wrap; }
  .oft__rng { flex-basis: 100%; grid-template-columns: 1fr; gap: 8px; margin-right: 0; }
  .oft__rng .rngf__scale { grid-column: 1; }
}

/* SEO-текст раздела v2 (03.11, Иван «более мощный текст»): вступление и блок цен — на всю ширину, дальше 2 колонки */
.seo-text > h2 + p, .seo-facts { column-span: all; }
.seo-text h3 { margin: 16px 0 8px; font-size: 17px; color: var(--blue); break-after: avoid; }
.seo-text h3:first-of-type { margin-top: 4px; }
.seo-facts { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4px 32px; align-items: start;
  margin: 6px 0 20px; padding: 18px 20px; background: #fff; border-radius: 12px; }
.seo-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.seo-facts__side > :first-child { margin-top: 0 !important; }
.seo-tbl caption { text-align: left; font-weight: 700; color: var(--blue); padding-bottom: 6px; }
.seo-tbl th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; color: #8a7f80; padding: 4px 8px 6px 0; }
.seo-tbl td { padding: 6px 8px 6px 0; border-top: 1px solid #ece6e6; }
.seo-tbl td:not(:first-child), .seo-tbl th:not(:first-child) { white-space: nowrap; }
.seo-text a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.seo-line { margin: 0 0 8px !important; font-size: 14px; }
.seo-models-t { margin: 4px 0 4px !important; font-weight: 700; color: var(--blue); }
.seo-models { margin: 0 !important; padding-left: 18px; font-size: 14px; }
.seo-models li { margin-bottom: 3px; }
.seo-faq { margin: 0 0 10px; }
.seo-faq dt { font-weight: 700; color: var(--blue); margin-top: 10px; break-after: avoid; }
.seo-faq dd { margin: 4px 0 0; break-inside: avoid; }
.seo-facts > .seo-facts__side:only-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .seo-facts { grid-template-columns: minmax(0, 1fr); } }
/* SEO-текст /catalog/ (05.11, build_static.catalog_facts): плитки цифр + таблица разделов в две колонки */
.seo-facts--catalog { display: block; }
.seo-text--catalog { columns: auto; }
.seo-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.seo-two .seo-faq dt:first-child { margin-top: 0; }
@media (max-width: 900px) { .seo-two { grid-template-columns: minmax(0, 1fr); } }
.seo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.seo-kpi { padding: 12px 16px; border-radius: 10px; background: var(--grey); border-top: 3px solid var(--pink); }
.seo-kpi b { display: block; font-size: 24px; line-height: 1.15; color: var(--blue); }
.seo-kpi span { font-size: 13px; color: #8a7f80; }
.seo-tbl2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 10px; }
.seo-facts--catalog .seo-line { margin: 0 !important; color: #8a7f80; }
@media (max-width: 900px) { .seo-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .seo-tbl2 { grid-template-columns: minmax(0, 1fr); }
  .seo-tbl2 .seo-tbl + .seo-tbl thead { display: none; } }

/* Баннеры между рядами раздела (03.11, category.html catBanner): узкая полоса ≈6,75:1 как «выезд менеджера»
   у поставщика; текст живой слева, справа левая половина картинки Ивана (3:1) с растушёвкой; смена каждые 5 с.
   Размеры шрифта в cqh — от высоты полосы. Планшет 3.8:1, телефон 2.4:1 (фото на весь фон, текст поверх) */
.cbn { grid-column: 1 / -1; position: relative; aspect-ratio: 6.75 / 1; border-radius: 12px; overflow: hidden;
  container-type: size; margin: 4px 0; box-shadow: 0 8px 22px rgba(41,44,50, .18);
  background: radial-gradient(60% 140% at 72% 100%, rgba(164, 38, 84, .35), transparent 60%),
    linear-gradient(100deg, #120c0d 0%, #24191a 45%, #3a2a2b 100%); }
.cbn__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 0s 1s; color: #fff; }
.cbn__slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s; z-index: 1; }
.cbn__ph { position: absolute; right: 0; top: 0; bottom: 0; width: 210cqh; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.cbn__ph img { position: absolute; left: 0; top: -16%; height: 134%; width: auto; max-width: none; display: block; }
.cbn__txt { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 5cqh; padding: 0 225cqh 0 22cqh; }
.cbn__pill { background: var(--pink); border-radius: 999px; padding: 2.5cqh 9cqh; font-size: 11cqh; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.cbn__txt strong { font-size: 21cqh; font-weight: 700; line-height: 1.1; }
.cbn__txt em { font-style: normal; color: var(--pink); white-space: nowrap; }
.cbn__txt small { font-size: 10.5cqh; opacity: .85; line-height: 1.25; }
.cbn__slide:hover .cbn__pill { background: #A42654; }
.cbn__dots { position: absolute; z-index: 2; right: 14px; bottom: 9px; display: flex; gap: 7px; }
.cbn__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; }
.cbn__dots i.is-on { background: var(--pink); }
@media (max-width: 1100px) {
  .cbn { aspect-ratio: 3.8 / 1; }
  .cbn__ph { width: 175cqh; }
  .cbn__txt { padding: 0 170cqh 0 12cqh; gap: 4cqh; }
  .cbn__txt strong { font-size: 16cqh; } .cbn--cat-prices em { display: block; }
  .cbn__pill { font-size: 9cqh; } .cbn__txt small { font-size: 8.5cqh; }
}
@media (max-width: 720px) {
  .cbn { aspect-ratio: 2.4 / 1; border-radius: 10px; }
  .cbn__ph { width: 70%; -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 35%, #000 75%);
    mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 35%, #000 75%); }
  .cbn__txt { padding: 0 18% 0 7%; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
  .cbn__txt strong { font-size: 15cqh; }
  .cbn__dots { right: 10px; bottom: 7px; }
}

/* ---------- Кнопки коричневые, как «Каталог» (Иван 03.11) ----------
   На тёмном фоне (подвал, тёмные блоки) коричневая кнопка сольётся — там остаётся розовая (.btn--on-dark). */
.btn--pink { background: var(--blue); }
.btn--pink:hover { background: var(--blue-dark); }
.btn--pink.is-added { background: var(--pink); }
.footer .btn--pink, .showcase .btn--pink, .about .btn--pink, .ab-hero .btn--pink, .faqx__intro .btn--pink, .btn--pink.btn--on-dark { background: var(--pink); }
.footer .btn--pink:hover, .showcase .btn--pink:hover, .about .btn--pink:hover, .ab-hero .btn--pink:hover, .faqx__intro .btn--pink:hover,
.btn--pink.btn--on-dark:hover { background: var(--pink-dark); }


/* ---------- Политика конфиденциальности + уведомление о cookie (Иван 05.11) ---------- */
/* слева липкое оглавление, справа разделы-карточки; на широком экране карточки в 2 колонки (Иван: «справа пусто») */
.policy { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start;
  font-size: 14.5px; line-height: 1.6; color: var(--text, #2b2324); margin-bottom: 40px; }
.policy__side { position: sticky; top: 90px; display: grid; gap: 16px; }
.policy__toc { display: grid; gap: 2px; padding: 16px 12px; border-radius: 14px; background: #f6f3f2; }
.policy__toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 10px 8px; }
.policy__toc a { padding: 7px 10px; border-radius: 8px; color: var(--text, #2b2324); font-size: 13.5px; text-decoration: none; line-height: 1.35; }
.policy__toc a:hover { background: #ebe5e3; }
.policy__toc a.is-on { background: var(--blue); color: #fff; }
.policy__ask { display: grid; gap: 8px; padding: 18px; border-radius: 14px; background: var(--blue); color: rgba(255, 255, 255, .8); font-size: 13px; }
.policy__ask b { color: #fff; font-size: 15px; }
.policy__ask .btn { background: var(--pink); color: #fff; justify-content: center; margin-top: 4px; }
.policy__ask .btn:hover { background: var(--pink-dark); }
.policy__intro { padding: 20px 24px; border-radius: 14px; background: #f6f3f2; border-left: 4px solid var(--pink); margin-bottom: 18px; }
.policy__lead { font-size: 16px; margin: 0 0 6px; }
.policy__date { color: var(--muted); font-size: 13px; margin: 0; }
.policy__body { columns: 2 440px; column-gap: 18px; }
.policy__intro { column-span: all; }
.policy__sec { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 18px; padding: 20px 24px;
  border: 1px solid #ece6e4; border-radius: 14px; background: #fff; }
.policy h2 { font-size: 18px; margin: 0 0 12px; scroll-margin-top: 90px; }
.policy p { margin: 0 0 8px; }
.policy p:last-child { margin-bottom: 0; }
.policy ul { margin: 0 0 10px; padding-left: 20px; }
.policy li { margin: 0 0 3px; }
.policy li::marker { color: var(--pink); }
.policy__card { background: #f6f3f2; border-radius: 10px; padding: 14px 18px; }
.policy__card p { margin: 0 0 6px; }
.policy a { color: var(--blue); }
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: #fff; }
.check a { color: inherit; text-decoration: underline; }
.cookie { position: fixed; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 95; max-width: 560px;
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 34px rgba(40, 25, 25, .22); font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie__text { margin: 0; }
.cookie__text a { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }
.cookie__ok { flex: none; padding: 10px 20px; }
@media (max-width: 720px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; flex-direction: column; align-items: stretch; gap: 10px; }
  .policy__sec { padding: 16px; }
  .policy h2 { font-size: 17px; }
}
@media (max-width: 900px) {
  .policy { grid-template-columns: 1fr; gap: 16px; font-size: 14px; }
  .policy__side { position: static; }
  .policy__toc { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .policy__toc b { width: 100%; padding: 0 4px 2px; }
  .policy__toc a { background: #fff; padding: 6px 10px; font-size: 12.5px; }
  .policy__ask { display: none; }
}

/* До определения пропорций показываем фото целиком. */
.product__img--m img:not(.is-shown) { object-fit: contain; }

/* Старая обложка CLG-621-C из прайса может остаться в кэше каталога. */
.listing:not(#mz) #grid .product--m .product__img--m img[src*="/kreslo-clg-621-c/"]:is([src$="/cl1.webp"], [src$="-cl1-master-office.webp"]) {
  transform: scale(1.43);
}

/* У многоместных секций на фото должны помещаться сиденья и опоры. */
@media (min-width: 768px) {
  html:has(link[rel="canonical"][href*="/catalog/sektsii-stulev/"]) #grid .product--m .product__img--m img {
    object-fit: contain;
    transform: none;
  }
}

/* ---------- Страница «Оплата» oplata.html (Иван 05.11 выбрал вариант 1 «Живой счёт») ---------- */
.op-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.op-h2 { font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 22px; }
.op-sec { padding: 44px 0; }
.op-ic { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 16px; background: rgba(164, 38, 84,.1); }
.op-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.op-ic svg .a { stroke: var(--pink); }
.op-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.op-rv.on { opacity: 1; transform: none; }
.op-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.op-faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.op-faq summary::-webkit-details-marker { display: none; }
.op-faq summary::after { content: "+"; color: var(--pink); font-size: 22px; line-height: 1; transition: transform .3s; }
.op-faq details[open] summary::after { transform: rotate(45deg); }
.op-faq p { margin: 10px 0 0; color: var(--muted); }
.op-faq a { color: var(--blue); }
/* первый экран: текст + анимация «счёт → карта → штамп ОПЛАЧЕНО» */
.v1-hero { padding: 0 0 50px; }
.v1-hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.v1-hero h1 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; margin: 0 0 18px; }
.v1-hero h1 em { font-style: normal; color: var(--pink); }
.v1-hero p { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 0 26px; }
.v1-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.v1-ghost { border: 2px solid var(--blue); color: var(--blue); background: none; }
.v1-ghost:hover { background: var(--blue); color: #fff; }
.v1-stage { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--pink) 12%, white) 0, #f6f1f0 55%, #efe8e6 100%); overflow: hidden; }
.v1-bill { position: absolute; left: 16%; top: 11%; width: 50%; aspect-ratio: 3 / 4; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px rgba(41,44,50,.18);
  padding: 7%; animation: v1float 6s ease-in-out infinite; }
.v1-bill b { display: block; font-size: clamp(11px, 1.05vw, 16px); color: var(--blue); }
.v1-bill small { display: block; color: var(--muted); font-size: clamp(8px, .7vw, 11px); margin: 2px 0 10%; }
.v1-bill i { display: block; height: 7px; border-radius: 4px; background: #eee6e4; margin: 0 0 7%; transform-origin: left; animation: v1line 4.8s ease infinite; }
.v1-bill i:nth-of-type(2) { width: 80%; animation-delay: .15s; } .v1-bill i:nth-of-type(3) { width: 90%; animation-delay: .3s; }
.v1-bill i:nth-of-type(4) { width: 65%; animation-delay: .45s; }
.v1-bill__sum { display: flex; justify-content: space-between; border-top: 2px dashed #eee6e4; padding-top: 8%; margin-top: 12%; font-weight: 700; color: var(--blue); font-size: clamp(10px, 1vw, 15px); }
.v1-stamp { position: absolute; right: 8%; bottom: 14%; border: 3px solid var(--pink); color: var(--pink); font-weight: 800; letter-spacing: .08em;
  font-size: clamp(10px, 1.1vw, 16px); padding: 4px 10px; border-radius: 8px; transform: rotate(-14deg) scale(0); animation: v1stamp 4.8s ease infinite; }
.v1-card { position: absolute; right: 9%; top: 40%; width: 38%; aspect-ratio: 1.586; border-radius: 14px; padding: 4%;
  background: linear-gradient(135deg, #5a4546, #292C32); color: #fff; box-shadow: 0 20px 40px rgba(41,44,50,.35); animation: v1card 4.8s ease infinite; }
.v1-card::before { content: ""; display: block; width: 18%; aspect-ratio: 1.3; border-radius: 4px; background: linear-gradient(135deg, #f1d38a, #c99c42); }
.v1-card span { position: absolute; left: 8%; bottom: 12%; font-size: clamp(8px, .8vw, 12px); letter-spacing: .15em; opacity: .8; }
.v1-card u { position: absolute; right: 8%; bottom: 10%; width: 22%; aspect-ratio: 1.6; text-decoration: none;
  background: radial-gradient(circle at 35% 50%, var(--pink) 0 34%, transparent 35%), radial-gradient(circle at 65% 50%, color-mix(in srgb, var(--pink) 45%, white) 0 34%, transparent 35%); }
.v1-chip { position: absolute; left: 6%; bottom: 9%; background: #fff; border-radius: 999px; padding: 8px 14px 8px 8px; display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: clamp(10px, .9vw, 13px); color: var(--blue); box-shadow: 0 10px 24px rgba(41,44,50,.15); animation: v1float 5s ease-in-out infinite reverse; }
.v1-chip b { width: 26px; height: 26px; border-radius: 50%; background: #2fa36b; color: #fff; display: grid; place-items: center; font-size: 14px; }
@keyframes v1float { 50% { transform: translateY(-10px); } }
@keyframes v1line { 0%, 8% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }
@keyframes v1card { 0%, 30% { transform: translate(40%, 30%) rotate(14deg); opacity: 0; } 45%, 100% { transform: rotate(-6deg); opacity: 1; } }
@keyframes v1stamp { 0%, 55% { transform: rotate(-14deg) scale(0); opacity: 0; } 62% { transform: rotate(-14deg) scale(1.25); opacity: 1; } 68%, 92% { transform: rotate(-14deg) scale(1); opacity: 1; } 100% { opacity: 0; transform: rotate(-14deg) scale(1); } }
/* способы оплаты */
.v1-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v1-way { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; transition: opacity .7s, transform .3s, box-shadow .3s, border-color .3s; }
.v1-way:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(41,44,50,.12); border-color: transparent; }
.v1-way .op-ic { transition: background .3s; margin-bottom: 18px; }
.v1-way:hover .op-ic { background: var(--pink); } .v1-way:hover .op-ic svg, .v1-way:hover .op-ic svg .a { stroke: #fff; }
.v1-way h3 { font-size: 18px; margin: 0 0 8px; }
.v1-way p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.v1-way small { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--grey); padding: 5px 10px; border-radius: 999px; }
.v1-way--main { background: var(--blue); color: #fff; border-color: var(--blue); }
.v1-way--main p { color: rgba(255,255,255,.75); } .v1-way--main small { background: rgba(255,255,255,.12); color: #fff; }
.v1-way--main .op-ic { background: rgba(255,255,255,.12); } .v1-way--main .op-ic svg { stroke: #fff; }
.v1-way--main a { color: #fff; font-weight: 600; font-size: 14px; display: block; margin-top: 14px; }
/* 4 шага: розовая линия заполняется, кружки загораются по очереди */
.v1-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.v1-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; background: var(--line); }
.v1-steps::after { content: ""; position: absolute; left: 6%; top: 27px; height: 3px; width: 0; background: var(--pink); transition: width 2.4s ease; }
.v1-steps.on::after { width: 88%; }
.v1-step { position: relative; text-align: center; padding: 0 8px; }
.v1-step b { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--line); color: var(--muted); font-size: 20px; transition: all .4s; }
.v1-steps.on .v1-step b { border-color: var(--pink); color: #fff; background: var(--pink); }
.v1-steps.on .v1-step:nth-child(2) b { transition-delay: .7s; } .v1-steps.on .v1-step:nth-child(3) b { transition-delay: 1.4s; } .v1-steps.on .v1-step:nth-child(4) b { transition-delay: 2.1s; }
.v1-step h3 { font-size: 17px; margin: 0 0 6px; } .v1-step p { color: var(--muted); font-size: 14px; margin: 0; } .v1-step a { color: var(--blue); }
/* документы */
.v1-docs { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: var(--grey); border-radius: 26px; padding: 40px; }
.v1-docs ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v1-docs li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 14px; }
.v1-docs li::before { content: "✓"; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(164, 38, 84,.12); color: var(--pink); }
/* «Нужен счёт?» — коричневая плашка с формой */
.v1-cta { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: center; background: var(--blue); color: #fff; border-radius: 26px; padding: 34px 40px; }
.v1-cta h2 { margin: 0 0 6px; font-size: 26px; } .v1-cta p { margin: 0; color: rgba(255,255,255,.7); }
.v1-cta p a { color: #fff; font-weight: 600; white-space: nowrap; }
.v1-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.v1-form input:not([type=checkbox]) { border: 0; border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 14px; }
.v1-form .btn { background: var(--pink); grid-column: auto; white-space: nowrap; } .v1-form .btn:hover { background: var(--pink-dark); }
.v1-form .check { color: rgba(255,255,255,.65); } .v1-form .check input { accent-color: var(--pink); }
.v1-form .consult__ok { grid-column: 1 / -1; color: #fff; margin: 0; }
@media (max-width: 1100px) { .v1-ways { grid-template-columns: 1fr 1fr; } .v1-hero__in, .v1-docs, .v1-cta { grid-template-columns: 1fr; } .v1-stage { max-width: 560px; } }
@media (max-width: 720px) {
  .v1-ways, .v1-docs ul, .v1-form { grid-template-columns: 1fr; } .v1-form .btn { grid-column: 1 / -1; } .v1-docs, .v1-cta { padding: 24px; }
  .v1-steps { grid-template-columns: 1fr; gap: 18px; } .v1-steps::before, .v1-steps::after { display: none; }
  .v1-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; text-align: left; } .v1-step b { margin: 0; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .op-rv { opacity: 1; transform: none; transition: none; } .v1-stage * { animation: none !important; } .v1-stamp, .v1-card { transform: rotate(-8deg); opacity: 1; } }

/* ---------- Доставка: карта (delivery.html + delivery-map.js; Иван 05.11 выбрал вариант 1 «Карта России», ночная карта) ---------- */
.gs { position: relative; }
.gs input { width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 46px; font: 500 16px Montserrat, sans-serif; background: #fff; transition: border-color .2s; }
.gs input:focus { outline: 0; border-color: var(--pink); }
.gs::before { content: "📍"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.gs__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(41,44,50,.18); overflow: hidden; max-height: 300px; overflow-y: auto; }
.gs__list button { display: flex; justify-content: space-between; gap: 10px; width: 100%; border: 0; background: none; padding: 11px 16px; font: 500 15px Montserrat, sans-serif; text-align: left; cursor: pointer; }
.gs__list button:hover, .gs__list button.is-act { background: var(--grey); }
.gs__list small { color: var(--muted); font-size: 12px; } .gs__list .mo small { color: var(--pink); }
.chips-pop { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips-pop button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: 500 13px Montserrat, sans-serif; cursor: pointer; color: var(--blue); }
.chips-pop button:hover, .chips-pop button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
/* Карта v3 (Иван 05.11 «скучная, эффектней; не показывать, что едет из Москвы — город просто загорается»):
   ночная карта — тёмно-коричневая Россия, мерцающие города, выбранный город светится и карта плавно приближается к нему.
   --k = ширина viewBox / 1000: точки и подписи остаются одного размера при приближении. */
.gmap { position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 30% 35%, #4a3637 0%, #2d2223 55%, #1d1617 100%); }
.gmap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(164, 38, 84,.18), transparent 60%); }
.gm { width: 100%; height: auto; display: block; --k: 1; }
.gm .ru { fill: url(#gmRu); stroke: rgba(255,255,255,.22); stroke-width: calc(1px * var(--k)); filter: drop-shadow(0 0 calc(10px * var(--k)) rgba(164, 38, 84,.25)); }
.gm .grid { fill: none; stroke: rgba(255,255,255,.05); stroke-width: calc(1px * var(--k)); }
.gm .c { cursor: pointer; } .gm .c .s { transform: scale(var(--k)); }
.gm .c .hit { fill: transparent; }
.gm .c .d { fill: rgba(255,255,255,.6); animation: gmtw 3.2s ease-in-out infinite; transition: fill .2s; }
.gm .c.mo .d { fill: #A42654; }
.gm .c:hover .d { fill: #fff; animation: none; }
.gm .c:hover .s { transform: scale(calc(var(--k) * 1.7)); }
@keyframes gmtw { 50% { opacity: .35; } }
.gm .lbl { font: 600 calc(11px * var(--k)) Montserrat, sans-serif; fill: rgba(255,255,255,.55); pointer-events: none; }
.gm .lbl.near { display: none; } .gm.is-zoom .lbl.near.vis { display: block; }
.gm .hl { pointer-events: none; } .gm .hl .s { transform: scale(var(--k)); }
.gm .hl .glow { fill: url(#gmGlow); }
.gm .hl .ring { fill: none; stroke: #A42654; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: gmring 2.4s ease-out infinite; }
.gm .hl .ring:nth-of-type(2) { animation-delay: .8s; } .gm .hl .ring:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes gmring { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.gm .hl .core { fill: #fff; stroke: var(--pink); stroke-width: 3; }
.gm .hl .pill { fill: #fff; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.gm .hl text { font: 700 14px Montserrat, sans-serif; fill: var(--blue); }
.gm .hl.pop .s { animation: gmpop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes gmpop { from { transform: scale(0); } }
.gm-all { position: absolute; z-index: 2; right: 12px; top: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  color: #fff; font: 600 12px Montserrat, sans-serif; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.gm-all:hover { background: rgba(255,255,255,.2); }
.gm-tip { position: absolute; z-index: 3; pointer-events: none; background: #fff; color: var(--blue); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; transform: translate(-50%, -140%); white-space: nowrap; display: none; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.gm-tip small { display: block; color: var(--muted); font-weight: 500; }
/* карточка города: способы получения + терминалы ТК */
.ways2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.ways2 button { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; cursor: pointer; font-family: inherit; color: var(--text, #2b2324); transition: border-color .2s, background .2s, transform .2s; }
.ways2 button:hover { transform: translateY(-2px); } .ways2 button.on { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 5%, white); }
.ways2 i { font-style: normal; font-size: 22px; display: block; margin-bottom: 6px; } .ways2 b { display: block; font-size: 14px; margin-bottom: 3px; } .ways2 small { color: var(--muted); font-size: 12px; line-height: 1.4; display: block; }
.tkl { border-radius: 14px; background: var(--grey); padding: 12px 14px; font-size: 13px; margin-bottom: 10px; }
.tkl b { display: block; margin-bottom: 6px; } .tkl ul { list-style: none; margin: 0; padding: 0; }
.tkl li { padding: 8px 0; border-top: 1px solid #e6dfdd; } .tkl li:first-child { border-top: 0; } .tkl li span { color: var(--muted); display: block; } .tkl a { color: var(--pink); font-weight: 600; }
.tkl--empty { color: var(--muted); }
.kind { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--pink); color: #fff; }
.kind--tk { background: var(--blue); }
.ticks2 { list-style: none; margin: 0; padding: 0; font-size: 14px; } .ticks2 li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--line); }
.ticks2 li::before { content: "✓"; position: absolute; left: 4px; color: var(--pink); font-weight: 800; } .ticks2 li.q::before { content: "?"; color: var(--muted); }
.flash { animation: flash .6s ease; } @keyframes flash { from { box-shadow: 0 0 0 6px rgba(164, 38, 84,.35); } }
.dl-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-svc > div { display: flex; gap: 16px; background: #fff; border-radius: 18px; padding: 20px; transition: background .3s; }
.dl-svc > div:hover { background: color-mix(in srgb, var(--pink) 5%, white); } .dl-svc > div:hover .op-ic { transform: rotate(-8deg) scale(1.08); } .dl-svc .op-ic { transition: transform .3s; }
.dl-svc b { display: block; margin: 2px 0 4px; } .dl-svc span { color: var(--muted); font-size: 14px; }
.dl-cta { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: center; background: var(--blue); color: #fff; border-radius: 26px; padding: 34px 40px; }
.dl-cta h2 { margin: 0 0 6px; font-size: 26px; } .dl-cta p { margin: 0; color: rgba(255,255,255,.7); }
@media (max-width: 1100px) { .dl-svc { grid-template-columns: 1fr 1fr; } .dl-cta { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .dl-svc { grid-template-columns: 1fr; } .dl-cta { padding: 24px; } }
.g1-hero { padding: 0 0 10px; }
.g1-hero h1 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; margin: 0 0 10px; } .g1-hero h1 em { font-style: normal; color: var(--pink); }
.g1-hero p { color: var(--muted); font-size: 17px; margin: 0 0 22px; max-width: 760px; }
.g1-box { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: 0; background: #fff; border-radius: 28px; box-shadow: 0 20px 60px rgba(41,44,50,.12); overflow: visible; }
.g1-map { position: relative; padding: 14px; background: #241b1c; border-radius: 28px 0 0 28px; }
.g1-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.65); margin: 12px 8px 4px; }
.g1-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); margin-right: 6px; vertical-align: -1px; } .g1-legend i.mo { background: #A42654; }
.g1-side { padding: 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.g1-side h3 { margin: 0; font-size: 26px; line-height: 1.15; }
.g1-side .btn { margin-top: auto; text-align: center; }
@media (max-width: 1000px) { .g1-box { grid-template-columns: 1fr; } .g1-map { border-radius: 28px 28px 0 0; padding: 14px; } .g1-side { border-left: 0; border-top: 1px solid var(--line); } }
.tkl li b { margin: 0; }
.dmap-card__text { margin: 0; color: var(--muted); }


/* ---------- Подвал v2 (Иван 05.11 «много пустого места — компактнее и красивее») ----------
   ссылки каталога и «Покупателям» в 2 колонки, меньше отступы, нижняя строка — одна линия: © слева, политика справа */
.footer--v2 { padding: 30px 0 14px; font-size: 13.5px; }
.footer--v2 .footer__grid { grid-template-columns: minmax(200px, .9fr) 1.7fr 1.25fr minmax(220px, 1fr); gap: 36px; align-items: start; }
.footer--v2 .footer__grid > * { columns: auto; }
.footer--v2 a, .footer--v2 span { margin: 0; }
.footer--v2 h4 { margin: 2px 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer--v2 .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; }
.footer--v2 .footer__links a { display: block; color: rgba(255, 255, 255, .85); line-height: 1.35; transition: color .2s, transform .2s; }
.footer--v2 .footer__links a:hover { color: var(--pink); transform: translateX(3px); }
.footer--v2 .footer__all { color: #fff !important; font-weight: 600; }
.footer--v2 .footer__brand .dm-logo { height: 44px; }
.footer--v2 .footer__small { margin: 10px 0 14px; color: rgba(255, 255, 255, .6); line-height: 1.45; max-width: 240px; }
.footer--v2 .footer__cta { margin: 0; padding: 10px 18px; font-size: 13px; }
.footer--v2 .footer__contacts a, .footer--v2 .footer__contacts span { display: block; }
/* Подвал v2 · соцсети (Иван 17.11: значок ВК под кнопкой «Получить консультацию») */
.footer--v2 .footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer--v2 .footer__vk { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: 13px; transition: color .2s; }
.footer--v2 .footer__vk svg { width: 30px; height: 30px; flex: none; fill: currentColor; color: #fff; transition: color .2s, transform .2s; }
.footer--v2 .footer__vk:hover, .footer--v2 .footer__vk:hover svg { color: var(--pink); }
.footer--v2 .footer__vk:hover svg { transform: translateY(-2px); }
.footer--v2 .footer__phone { font-size: 19px; margin-bottom: 2px; }
.footer--v2 .footer__free { color: rgba(255, 255, 255, .7); font-size: 13px; margin-bottom: 10px; }
.footer__addrs { display: grid; justify-items: start; }   /* офис+склад или склад отгрузки города (layout.js footAddr, 10.11) */
.footer--v2 .footer__addr { color: rgba(255, 255, 255, .75); line-height: 1.4; margin-bottom: 6px; }
.footer--v2 .footer__addr b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer--v2 .footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 24px; padding-top: 12px; font-size: 12.5px; }
.footer--v2 .footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer--v2 .footer__bottom a { display: inline; }
/* Иван 10.11: права + не оферта (ст. 437 ГК) — две короткие строки под тонкой линией, не под круглыми кнопками */
.footer__rights { flex: 1 0 100%; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__rights p { max-width: min(1280px, calc(100% - 90px)); margin: 0; font-size: 11px; line-height: 1.55; color: rgba(255, 255, 255, .38); }
.footer__rights p + p { margin-top: 3px; }
@media (max-width: 600px) { .footer__rights p { max-width: none; font-size: 10.5px; } }   /* на телефоне кнопки уже над подвалом (padding-bottom 84px) */
@media (max-width: 1100px) { .footer--v2 .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 30px; } }
@media (max-width: 600px) { .footer--v2 .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } .footer--v2 { padding-top: 24px; } }
@media (max-width: 600px) { .footer--v2 { padding-bottom: 84px; } }   /* круглые кнопки «позвонить/наверх» не закрывают нижнюю строку */

/* ---------- Доставка: вкладки «Разгрузка и подъём / Сборка / Вывоз упаковки» (Иван 05.11, как eco-office, без цифр) ---------- */
.dz-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dz-tabs button, .dz-tabs a { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px;
  font: 600 14px Montserrat, sans-serif; color: var(--blue); cursor: pointer; transition: all .2s; }
.dz-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dz-tabs svg .a { stroke: var(--pink); }
.dz-tabs button:hover, .dz-tabs a:hover { border-color: color-mix(in srgb, var(--pink) 25%, white); }
.dz-tabs button.on { background: var(--blue); border-color: var(--blue); color: #fff; } .dz-tabs button.on svg .a { stroke: color-mix(in srgb, var(--pink) 55%, white); }
.dz-tabs a { margin-left: auto; border-style: dashed; }
.dz-panel { display: none; animation: dzin .45s ease; } .dz-panel.on { display: block; }
@keyframes dzin { from { opacity: 0; transform: translateY(12px); } }
.dz-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 26px; align-items: start; }
.dz-grid--sb { grid-template-columns: 1fr 1fr; }
.dz-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.dz-ways article { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .25s, box-shadow .25s; }
.dz-ways article:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(41,44,50,.1); }
.dz-ways h3 { font-size: 16px; margin: 8px 0 6px; } .dz-ways p { margin: 0; font-size: 13.5px; color: var(--muted); }
.dz-n { font-size: 26px; font-weight: 800; color: var(--pink); opacity: .85; }
.dz-cost { background: var(--grey); border-radius: 18px; padding: 18px 20px; font-size: 14px; }
.dz-cost b { display: block; font-size: 16px; margin-bottom: 4px; } .dz-cost span { color: var(--muted); display: block; }
.dz-cost ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dz-cost li { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--blue); }
.dz-cost--big { background: var(--blue); color: #fff; padding: 26px; } .dz-cost--big span { color: rgba(255,255,255,.75); margin-bottom: 16px; } .dz-cost--big .btn { background: var(--pink); }
.dz-house { background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--pink) 12%, white), #f3edeb); border-radius: 22px; padding: 20px; text-align: center; }
.dz-house svg { width: 100%; max-width: 220px; height: auto; }
.dz-house .b { fill: #fff; stroke: #e2d8d6; stroke-width: 2; } .dz-house .fl rect { fill: #f1eae8; } .dz-house .door { fill: #e9e1df; }
.dz-house .shaft { fill: #f6f1f0; stroke: #e2d8d6; stroke-dasharray: 4 4; } .dz-house .gr { stroke: #cbbfbd; stroke-width: 3; }
.dz-house .lift rect:first-child { fill: var(--blue); } .dz-house .lift .box { fill: #c99c6a; }
.dz-house .lift { animation: dzlift 5s ease-in-out infinite; }
@keyframes dzlift { 0%, 12% { transform: translateY(208px); } 50%, 62% { transform: translateY(30px); } 100% { transform: translateY(208px); } }
.dz-house p { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--blue); }
.dz-prep { margin-top: 18px; border: 1px dashed color-mix(in srgb, var(--pink) 28%, white); border-radius: 18px; padding: 16px 20px; }
.dz-prep > b { display: block; margin-bottom: 10px; }
.dz-prep > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dz-prep span { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.dz-prep svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .dz-prep svg .a { stroke: var(--pink); }
.dz-h3 { font-size: 18px; margin: 0 0 12px; }
.dz-check { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.dz-check li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 12px 48px; font-size: 14px; color: var(--muted); }
.dz-check li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: rgba(164, 38, 84,.12); color: var(--pink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.dz-check b { display: block; color: var(--text, #2b2324); font-size: 15px; }
.dz-room { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dz-room > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; transition: border-color .2s; }
.dz-room > div:hover { border-color: var(--pink); }
.dz-room i { font-style: normal; font-size: 26px; display: block; height: 30px; }
.dz-room svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .dz-room svg .a { stroke: var(--pink); }
.dz-room b { display: block; margin: 8px 0 2px; } .dz-room span { font-size: 13px; color: var(--muted); }
.dz-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; } .dz-note--city { background: var(--grey); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 1000px) { .dz-grid, .dz-grid--sb { grid-template-columns: 1fr; } .dz-ways, .dz-prep > div { grid-template-columns: 1fr; } .dz-house { max-width: 340px; } }
@media (max-width: 600px) { .dz-tabs a { margin-left: 0; } .dz-tabs button, .dz-tabs a { padding: 8px 14px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .dz-house .lift { animation: none; transform: translateY(30px); } }

/* ---------- Доставка: фото (Иван 05.11, вариант 2 «фото рядом с текстом»; фото целиком, без обрезки) ---------- */
.g1-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; margin-bottom: 28px; }
.g1-head p { margin-bottom: 0; }
.dl-fig { position: relative; margin: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 22px 50px rgba(41,44,50,.18); background: #2d2223; cursor: zoom-in; }
.dl-fig img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.dl-fig:hover img { transform: scale(1.035); }
.dl-fig figcaption { position: absolute; left: 14px; bottom: 14px; right: auto; max-width: calc(100% - 28px); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--blue); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.svc-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.svc-wrap .dl-svc { grid-template-columns: 1fr 1fr; }
.dl-ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-ship .dl-fig { border-radius: 20px; }
.dl-ship figcaption { left: 12px; right: 12px; bottom: 12px; max-width: none; font-weight: 500; color: var(--muted); }
.dl-ship figcaption b { display: block; color: var(--blue); font-size: 14px; margin-bottom: 2px; }
.dl-zoom { position: fixed; inset: 0; z-index: 300; background: rgba(20,14,15,.92); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.dl-zoom[hidden] { display: none; }
.dl-zoom figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.dl-zoom img { max-width: 100%; max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.dl-zoom p { color: rgba(255,255,255,.8); margin: 12px 0 0; font-size: 14px; } .dl-zoom p b { color: #fff; margin-right: 6px; }
.dl-zoom__x { position: absolute; top: 14px; right: 18px; border: 0; background: none; color: #fff; font-size: 38px; cursor: pointer; line-height: 1; }
.dl-zoom__nav { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; cursor: pointer; }
.dl-zoom__nav:hover { background: var(--pink); }
@media (max-width: 1000px) { .g1-head, .svc-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; } .dl-ship { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-wrap .dl-svc, .dl-ship { grid-template-columns: minmax(0, 1fr); } .dl-zoom__nav { display: none; } .dl-fig { border-radius: 18px; } }
.dl-ship .dl-fig { background: #fff; box-shadow: 0 14px 34px rgba(41,44,50,.12); }   /* подпись под фото, а не поверх — фото видно целиком */
.dl-ship figcaption { position: static; max-width: none; background: none; backdrop-filter: none; box-shadow: none; border-radius: 0; padding: 12px 16px 16px; font-size: 13px; }
/* фото на «Доставке» не открываются по клику и не сохраняются удобно (Иван 05.11) */
[data-nosave].dl-fig { cursor: default; } [data-nosave] img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* «Доставка»: первый экран компактнее (Иван 05.11 «много пустого места»): фото не шире 640 px, слева факты и кнопки */
.g1-head { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 44px; }
.g1-head h1 { margin-bottom: 10px; }
.dl-hfacts { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-hfacts li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 13px; color: var(--muted); transition: border-color .2s, transform .2s; }
.dl-hfacts li:hover { border-color: var(--pink); transform: translateY(-2px); }
.dl-hfacts svg { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 10px; background: rgba(164, 38, 84,.1); fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dl-hfacts svg .a { stroke: var(--pink); }
.dl-hfacts b { display: block; color: var(--text, #2b2324); font-size: 14px; }
.dl-hbtns { display: flex; flex-wrap: wrap; gap: 10px; }
#gmap { scroll-margin-top: 90px; }
@media (max-width: 1000px) { .g1-head { grid-template-columns: minmax(0, 1fr); } .dl-fig--trassa { max-width: 640px; } }
@media (max-width: 560px) { .dl-hfacts { grid-template-columns: minmax(0, 1fr); } }
/* «Как мы готовим заказ к отправке»: 4 фото (Иван 05.11 добавил проверку комплектации) — 4 в ряд, на планшете 2, на телефоне 1 */
.dl-ship { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .dl-ship { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dl-ship { grid-template-columns: minmax(0, 1fr); } }

/* «Оплата»: первый экран компактнее (Иван 05.11 «много пустого места»): картинка-счёт не шире 560 px, слева факты */
.v1-hero { padding-bottom: 24px; }
.v1-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 44px; }
.v1-hero h1 { margin-bottom: 12px; }
.v1-hero p { margin-bottom: 0; }
.v1-hero .dl-hfacts { margin: 20px 0 22px; max-width: 640px; }
.v1-stage { aspect-ratio: 4 / 3; }
.v1-hero + .op-sec { padding-top: 24px; }
@media (max-width: 1100px) { .v1-hero__in { grid-template-columns: minmax(0, 1fr); } .v1-stage { max-width: 520px; } }

/* ---------- О компании v2 (about.html; Иван 05.11 выбрал вариант 1 «Три блока с фото») ----------
   Фото никогда не обрезаются: height:auto; в коллаже ряд — flex, у каждой фото flex-grow = её ширина/высота → высоты в ряду равны. */
.ab2-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.ab2-h2 { font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 20px; line-height: 1.2; }
.ab2-sec { padding: 46px 0; } .ab2-sec--grey { background: var(--grey); } .ab2-sec--stats { padding: 6px 0 30px; }
.ab2-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: rgba(164, 38, 84,.1); transition: background .3s; }
.ab2-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .ab2-ic svg .a { stroke: var(--pink); }
.ab2-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease, border-color .25s, box-shadow .25s; } .ab2-rv.on { opacity: 1; transform: none; }
.ab2-hero { padding: 0 0 26px; }
.ab2-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 44px; align-items: center; }
.ab2-hero h1 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.1; margin: 0 0 14px; } .ab2-hero h1 em { font-style: normal; color: var(--pink); }
.ab2-hero p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }
.ab2-aud { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ab2-aud li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 7px; font-size: 13px; font-weight: 600; color: var(--blue); }
.ab2-aud li i { width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.ab2-aud .ab2-aud--law { background: var(--blue); border-color: var(--blue); color: #fff; } .ab2-aud--law i { background: #fff; color: var(--blue); }
.ab2-collage { position: relative; display: grid; gap: 10px; }
.ab2-row { display: flex; gap: 10px; align-items: flex-start; }
.ab2-row figure, .ab2-ph { position: relative; margin: 0; min-width: 0; overflow: hidden; border-radius: 18px; background: #2d2223; box-shadow: 0 14px 34px rgba(41,44,50,.14); }
.ab2-row img, .ab2-ph img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ab2-row figure:hover img, .ab2-ph:hover img { transform: scale(1.035); }
.ab2-widget { position: absolute; z-index: 2; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 14px 34px rgba(41,44,50,.22);
  font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; animation: ab2float 6s ease-in-out infinite; }
.ab2-widget b { display: block; color: var(--blue); font-size: 14px; } .ab2-widget .ab2-ic { width: 38px; height: 38px; border-radius: 12px; } .ab2-widget .ab2-ic svg { width: 22px; height: 22px; }
.ab2-widget--1 { left: -26px; top: 46%; } .ab2-widget--2 { right: -16px; top: -14px; animation-delay: -3s; }
@keyframes ab2float { 50% { transform: translateY(-8px); } }
.ab2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ab2-stat { background: #fff; border-radius: 20px; padding: 18px 20px; border: 1px solid var(--line); }
.ab2-stat b { display: block; font-size: 32px; font-weight: 800; color: var(--blue); line-height: 1; } .ab2-stat b i { font-style: normal; color: var(--pink); }
.ab2-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.ab2-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ab2-block--rev .ab2-ph { order: 2; }
.ab2-ph { border-radius: 24px; box-shadow: 0 20px 50px rgba(41,44,50,.16); }
.ab2-num { position: absolute; z-index: 2; left: 16px; top: 16px; background: var(--pink); color: #fff; font-weight: 800; border-radius: 12px; padding: 6px 12px; font-size: 13px; }
.ab2-list { display: grid; gap: 12px; }
.ab2-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.ab2-item:hover { border-color: transparent; box-shadow: 0 16px 34px rgba(41,44,50,.1); }
.ab2-item:hover .ab2-ic { background: var(--pink); } .ab2-item:hover .ab2-ic svg, .ab2-item:hover .ab2-ic svg .a { stroke: #fff; }
.ab2-item h3 { margin: 2px 0 4px; font-size: 16px; } .ab2-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; } .ab2-item a { color: var(--pink); font-weight: 600; }
/* госзакупки: тёмный блок */
.ab2-gz { background: var(--blue); color: #fff; }
.ab2-gz .ab2-tag { color: color-mix(in srgb, var(--pink) 55%, white); } .ab2-gz p { color: rgba(255,255,255,.78); line-height: 1.6; margin: 0; }
.ab2-gz__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 26px; }
.ab2-laws { display: grid; gap: 10px; }
.ab2-laws div { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 12px 16px; }
.ab2-laws b { font-size: 24px; font-weight: 800; color: #fff; min-width: 96px; } .ab2-laws span { font-size: 13px; color: rgba(255,255,255,.7); }
.ab2-gz__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ab2-gzi { background: #fff; color: var(--text, #2b2324); border-radius: 20px; padding: 20px; }
.ab2-gzi h3 { margin: 14px 0 6px; font-size: 16px; } .ab2-gzi p { color: var(--muted); font-size: 13.5px; }
.ab2-gz__note { margin-top: 14px; display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); border-radius: 20px; padding: 16px 20px; }
.ab2-gz__note .ab2-ic { background: rgba(255,255,255,.12); } .ab2-gz__note .ab2-ic svg { stroke: #fff; } .ab2-gz__note .ab2-ic svg .a { stroke: color-mix(in srgb, var(--pink) 55%, white); }
.ab2-gz__note p { flex: 1; } .ab2-gz__note .btn { background: var(--pink); flex: none; } .ab2-gz__note .btn:hover { background: var(--pink-dark); }
.ab2-cta { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: center; background: var(--grey); border-radius: 26px; padding: 34px 40px; }
.ab2-cta h2 { margin: 0 0 6px; font-size: 26px; } .ab2-cta p { margin: 0; color: var(--muted); }
.ab2-cta .v1-form input:not([type=checkbox]) { border: 1px solid var(--line); } .ab2-cta .v1-form .check { color: var(--muted); }
@media (max-width: 1100px) { .ab2-hero__in, .ab2-block, .ab2-gz__head { grid-template-columns: minmax(0, 1fr); } .ab2-block--rev .ab2-ph { order: 0; }
  .ab2-gz__grid, .ab2-stats { grid-template-columns: 1fr 1fr; } .ab2-widget--1 { left: 10px; } .ab2-widget--2 { right: 10px; top: 10px; } .ab2-cta { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 600px) { .ab2-gz__grid { grid-template-columns: minmax(0, 1fr); } .ab2-widget { display: none; } .ab2-gz__note { flex-wrap: wrap; } .ab2-row { gap: 6px; } .ab2-collage { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .ab2-rv { opacity: 1; transform: none; } .ab2-widget { animation: none; } }
/* «О компании»: 5 подтверждённых преимуществ «Для организаций» (Иван 05.11) */
.ab2-more { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ab2-mi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.ab2-mi:hover { border-color: transparent; box-shadow: 0 16px 34px rgba(41,44,50,.1); }
.ab2-mi:hover .ab2-ic { background: var(--pink); } .ab2-mi:hover .ab2-ic svg, .ab2-mi:hover .ab2-ic svg .a { stroke: #fff; }
.ab2-mi h3 { margin: 14px 0 6px; font-size: 16px; } .ab2-mi p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 1100px) { .ab2-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ab2-more { grid-template-columns: minmax(0, 1fr); } }
/* «О компании»: первый экран без пустот (Иван 05.11) — цифры в колонке текста, коллаж уже */
.ab2-hero { padding-bottom: 10px; }
.ab2-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 40px; }
.ab2-hero h1 { margin-bottom: 12px; }
.ab2-hero .ab2-aud { margin-top: 16px; }
.ab2-hero .ab2-stats { margin-top: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ab2-hero .ab2-stat { padding: 12px 14px; border-radius: 16px; }
.ab2-hero .ab2-stat b { font-size: 24px; } .ab2-hero .ab2-stat span { font-size: 12px; margin-top: 4px; line-height: 1.3; }
@media (max-width: 1100px) { .ab2-hero__in { grid-template-columns: minmax(0, 1fr); } .ab2-collage { max-width: 640px; } }
@media (max-width: 600px) { .ab2-hero .ab2-stats { grid-template-columns: 1fr 1fr; } }
/* «О компании»: строка действий под отметками (Иван 05.11) — госзакупки + кнопки, вместо одинокой плашки 44-ФЗ */
.ab2-hero .ab2-aud li { padding: 5px 12px 5px 6px; font-size: 12.5px; }
.ab2-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.ab2-act .btn { padding: 12px 20px; }
.ab2-law { display: flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; border-radius: 14px; padding: 7px 14px 7px 7px; transition: background .2s, transform .2s; }
.ab2-law:hover { background: #292C32; transform: translateY(-2px); }
.ab2-law i { width: 32px; height: 32px; border-radius: 10px; background: var(--pink); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.ab2-law span { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.25; } .ab2-law b { display: block; color: #fff; font-size: 14px; }
.ab2-law em { font-style: normal; color: color-mix(in srgb, var(--pink) 55%, white); margin-left: 4px; transition: transform .2s; } .ab2-law:hover em { transform: translateX(3px); }
@media (max-width: 600px) { .ab2-act > * { flex: 1 1 100%; justify-content: center; text-align: center; } }
/* «О компании»: SEO-текст + вопросы для Яндекса (Иван 05.11); колонки — общие .dv-seo со «Доставки» */
.ab2-seo h3 { font-size: 17px; margin: 4px 0 8px; break-after: avoid; color: var(--blue); }
.ab2-seo .dv-seo__cols { color: #4a4142; font-size: 14.5px; }
/* карточка «Мастер Офис в цифрах» в конце 3-й колонки (Иван 09.11: «пусто, сделай красиво») */
.ab2-seocard { break-inside: avoid; position: relative; overflow: hidden; margin: 22px 0 4px; padding: 22px 22px 20px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--pink) 45%, transparent) 0%, transparent 55%), linear-gradient(150deg, #292C32, var(--blue)); box-shadow: 0 18px 40px -22px rgba(41,44,50,.6); }
.ab2-seocard::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(255,255,255,.05); pointer-events: none; }
.ab2-seocard__tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--pink); border-radius: 20px; padding: 4px 11px; }
.ab2-seocard__nums { list-style: none; margin: 16px 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ab2-seocard__nums li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 11px 13px; line-height: 1.2; }
.ab2-seocard__nums b { display: block; font-size: 23px; font-weight: 800; color: #fff; white-space: nowrap; }
.ab2-seocard__nums span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.7); }
.ab2-seocard__txt { margin: 0 0 16px !important; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.82); }
.ab2-seocard__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; position: relative; z-index: 1; }
.ab2-seocard__tel { color: #fff !important; font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; }
.ab2-seocard__tel:hover { color: color-mix(in srgb, var(--pink) 50%, white) !important; }
.ab2-seo .ab2-seocard__btn { margin-left: auto; padding: 11px 18px; background: var(--pink); color: #fff; border: 0; border-radius: 12px; font-weight: 700; text-decoration: none; transition: filter .2s, transform .2s; }
.ab2-seo .ab2-seocard__btn:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; }
@media (max-width: 420px) { .ab2-seo .ab2-seocard__btn { margin-left: 0; flex: 1 1 100%; text-align: center; } }
.ab2-faq-h { margin-top: 34px; }
.ab2-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.ab2-faq details { background: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; border-bottom: 0; }
@media (max-width: 900px) { .ab2-faq { grid-template-columns: minmax(0, 1fr); } }

/* ===== Шапка раздела компактно (05.11, Иван: вариант 5 «банально» → вариант 1):
   «Также часто ищут» справа от заголовка, без серой подложки; «Найдено» + сортировка над товарами как раньше ===== */
.cathead { display: flex; align-items: center; gap: 12px 40px; margin: 0 0 20px; }
.cathead__l { flex: none; max-width: 44%; }
.cathead .page__title { margin: 0; line-height: 1.15; }
.cathead .often { flex: 1 1 auto; min-width: 0; max-width: 1100px; margin-left: auto; }
.cathead .oft { margin: 0; padding: 0; background: none; border-radius: 0; }
.cathead .oft__head { padding: 0; }
.cathead .oft__t { padding: 7px 10px; }
.cathead .oft__p { padding: 10px 0 0; }
@media (max-width: 1100px) {
  .cathead { flex-direction: column; align-items: stretch; gap: 10px; }
  .cathead__l { max-width: none; }
  .cathead .often { max-width: none; margin-left: 0; }
}
@media (max-width: 760px) {
  .cathead { margin-bottom: 12px; }
  .cathead .oft { margin: 0 -16px; }
  .cathead .oft__head { padding: 0 8px 0 16px; }
  .cathead .oft__p { padding: 10px 16px 0; }
}

/* ===== «Лидеры продаж» на главной: тонкая кнопка «В коллекцию» (Иван 05.11) ===== */
.product__coll {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: auto; padding: 8px 14px; min-height: 38px;
  border: 1px solid var(--blue); border-radius: 999px;
  color: var(--blue); background: transparent;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s;
}
.product__coll span { font-size: 15px; letter-spacing: 0; transition: transform .2s; }
.product__coll:hover { background: var(--blue); color: #fff; }
.product__coll:hover span { transform: translateX(4px); }
@media (max-width: 720px) { .product__coll { font-size: 12px; padding: 7px 10px; min-height: 34px; } }

/* ---------- Мини-корзина при наведении на значок (Иван 05.11, как usb59.ru) ---------- */
.hcart { position: relative; display: flex; }
.minicart {
  position: absolute; top: calc(100% + 14px); right: -12px; z-index: 60; width: min(640px, calc(100vw - 32px));
  background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(40, 25, 25, .22); padding: 22px 26px 20px;
  color: var(--black); text-align: left; animation: mcIn .18s ease-out;
}
.minicart[hidden] { display: none; }
.minicart::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* мостик: мышь не теряет окно */
.minicart::after { content: ""; position: absolute; top: -7px; right: 22px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px 0 0 0; }
@keyframes mcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.minicart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.minicart__head b { font-size: 20px; }
.minicart__head span { font-size: 14px; color: var(--muted, #6b6060); }
.minicart__list { max-height: min(420px, 55vh); overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.mc-row { display: grid; grid-template-columns: 64px 1fr 112px 92px 24px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mc-row__img { width: 64px; height: 64px; border-radius: 8px; display: flex; overflow: hidden; }
.mc-row__img img { width: 100%; height: 100%; object-fit: contain; }
.mc-row__info { min-width: 0; }
.mc-row__info a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; color: var(--black); text-decoration: none; }
.mc-row__info a:hover { color: var(--blue); text-decoration: underline; }
.mc-row__info small { display: block; margin-top: 4px; font-size: 12px; color: #8a8080; }
.mc-row__qty { display: flex; flex-direction: column; gap: 3px; }
.mc-row__qty .elqty { flex: none; height: 32px; }
.mc-row__qty .elqty b { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.mc-row__qty small { font-size: 11px; color: #8a8080; white-space: nowrap; }
.mc-row__price { text-align: right; font-size: 15px; white-space: nowrap; }
.mc-row__del { border: 0; background: none; color: #a9a0a0; font-size: 16px; cursor: pointer; padding: 4px; }
.mc-row__del:hover { color: var(--pink); }
.minicart__foot { display: flex; align-items: center; gap: 18px; padding-top: 16px; }
.minicart__total { flex: 1; font-size: 15px; color: #6b6060; }
.minicart__total b { font-size: 24px; color: var(--black); margin-left: 4px; }
.minicart__total small { display: block; font-size: 12px; }
.minicart__clear { border: 0; background: none; color: #8a8080; font-size: 14px; cursor: pointer; }
.minicart__clear:hover { color: var(--pink); }
.minicart__go { white-space: nowrap; }
@media (hover: none), (max-width: 720px) { .minicart { display: none !important; } }

/* ---------- Корзина: карточки товаров (Иван 05.11, как у фабрики — порядок, компактно) ---------- */
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: #6b6060; }
.cc-clear { border: 0; background: none; color: #8a8080; font: inherit; cursor: pointer; }
.cc-clear:hover { color: var(--pink); }
.cc {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) 130px 120px 120px 36px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px 14px 16px; margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(40, 25, 25, .04); transition: box-shadow .2s;
}
.cc:hover { box-shadow: 0 8px 24px rgba(40, 25, 25, .09); }
.cc__img { width: 104px; height: 88px; display: flex; align-items: center; justify-content: center; }
.cc__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cc__info { padding: 2px 20px; margin-left: 16px; border-left: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cc__name { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--black); text-decoration: none; }
.cc__name:hover { color: var(--blue); text-decoration: underline; }
.cc__attrs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; margin: 8px 0 0; font-size: 12.5px; }
.cc__attrs dt { color: #8a8080; }
.cc__attrs dd { margin: 0; color: var(--black); display: flex; align-items: center; gap: 8px; min-width: 0; line-height: 1.3; }
.cc-sw { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.cc__price { text-align: right; padding: 0 16px; border-left: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; justify-content: center; font-size: 15px; white-space: nowrap; }
.cc__price small { font-size: 12px; color: #8a8080; }
.cc__psum { display: none; font-style: normal; font-weight: 700; font-size: 13px; margin-top: 2px; }
.cc__price span { font-size: 13px; color: #8a8080; white-space: normal; }
.cc__qty.elqty { flex: none; height: 38px; margin: 0 6px; }
.cc__qty b { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.cc__sum { text-align: right; font-size: 17px; font-weight: 700; white-space: nowrap; padding-right: 8px; }
.cc__del { border: 0; background: none; color: #a9a0a0; font-size: 18px; cursor: pointer; padding: 6px; justify-self: center; }
.cc__del:hover { color: var(--pink); }
.cc-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 14px 18px; margin-top: 4px; border-radius: 14px; background: var(--grey); }
.cc-total div { font-size: 16px; }
.cc-total b { font-size: 24px; margin-left: 6px; }
.cc-total span, .cc-total small { font-size: 13px; color: #8a8080; }
/* ноутбук: форма справа сужает список — сумму под ценой */
@media (max-width: 1400px) {
  .cc { grid-template-columns: 88px minmax(0, 1fr) 128px 112px 32px; }
  .cc__img { width: 88px; height: 76px; }
  .cc__sum { display: none; }
  .cc .cc__psum { display: block; }
}
@media (max-width: 640px) {
  .cc { grid-template-columns: 76px minmax(0, 1fr) 30px; padding: 12px; gap: 10px 0; }
  .cc__img { width: 76px; height: 70px; grid-row: 1; }
  .cc__info { grid-column: 2; grid-row: 1; margin-left: 10px; padding: 0 0 0 12px; }
  .cc__del { grid-column: 3; grid-row: 1; align-self: start; }
  .cc__price { grid-column: 1 / 3; grid-row: 2; border: 0; padding: 0 124px 0 0; flex-flow: row wrap; align-items: baseline; justify-content: flex-start; gap: 0 6px; }
  .cc .cc__psum { flex-basis: 100%; text-align: left; }
  .cc__qty.elqty { grid-column: 2 / 4; grid-row: 2; justify-self: end; width: 116px; margin: 0; }
  .cc__sum { display: none; }
  .cc__attrs { gap: 2px 12px; }
}

/* ---------- Дизайн-проект v2 (Иван 05.11 выбрал вариант 1 «Чертёж → 3D»; старая страница — site_backups/design-2026-11-05) ---------- */
.dp { --cream: #f7f2ee; --sand: #efe6df; }
.dp h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; margin: 0 0 14px; }
.dp h2 em, .dp h1 em { font-style: normal; color: var(--pink); }
.dp .kick { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.dp .sec { padding: clamp(40px, 5vw, 72px) 0; }
.dp .sec--cream { background: var(--cream); }
.dp .lead { font-size: 17px; line-height: 1.55; color: #5d5252; max-width: 620px; }
.dp .btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.dp .btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 1.5px solid var(--blue); border-radius: 12px; color: var(--blue); font-weight: 600; text-decoration: none; }
.dp .btn-ghost:hover { background: var(--blue); color: #fff; }
/* план кабинета (SVG в design.html) */
.plan { display: block; width: 100%; height: 100%; background: #fbf8f5; }
.plan .grid { stroke: #e9dfd8; stroke-width: 1; }
.plan .wall { fill: none; stroke: var(--blue); stroke-width: 9; stroke-linejoin: round; }
.plan .f { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.plan .f2 { fill: #f1e7e0; stroke: var(--blue); stroke-width: 2; }
.plan .soft { fill: #e8dcd4; stroke: var(--blue); stroke-width: 2; }
.plan .dim { stroke: var(--pink); stroke-width: 1.4; fill: none; }
.plan text { font: 600 13px Montserrat, sans-serif; fill: var(--blue); }
.plan .t-pk { fill: var(--pink); font-size: 12px; }
.plan .t-mut { fill: #9a8d8a; font-size: 11px; font-weight: 500; letter-spacing: .08em; }
/* до/после: план ↔ 3D */
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(41,44,50,.18); user-select: none; touch-action: pan-y; background: #fff; }
/* Горизонтальный жест двигает ползунок, вертикальный прокручивает страницу. */
.ba .ba__knob { touch-action: pan-y; }
.ba > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__plan { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
/* 09.11: слева фото пустого помещения или план; сцены — кнопки над ползунком */
.ba__before, .ba__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__before { object-fit: cover; } .ba__svg > svg { width: 100%; height: 100%; display: block; }
.ba > img, .ba__before { transition: opacity .25s; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ba-tabs button { border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 999px; padding: 8px 14px; font: 600 13px/1 Montserrat, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ba-tabs button:hover { border-color: color-mix(in srgb, var(--pink) 45%, white); }
.ba-tabs button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(41,44,50,.25); transform: translateX(-1px); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ba__tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--blue); pointer-events: none; }
.ba__tag--l { left: 14px; } .ba__tag--r { right: 14px; background: var(--blue); color: #fff; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
/* один кабинет — три отделки */
.fin__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.fin__tab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1.5px solid var(--line); border-radius: 30px; background: #fff; font: 600 14px Montserrat, sans-serif; color: var(--blue); cursor: pointer; transition: border-color .2s, background .2s; }
.fin__tab i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.fin__tab.is-on { border-color: var(--blue); background: var(--cream); }
.fin__stage { position: relative; aspect-ratio: 1280 / 960; border-radius: 22px; overflow: hidden; background: var(--sand); }
.fin__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.fin__stage img.is-on { opacity: 1; }
.fin__note { font-size: 14px; color: #8a7e7c; margin: 0; }
.sw-1 { background: linear-gradient(135deg, #4a362c, #2b1f19); } .sw-2 { background: linear-gradient(135deg, #b48c66, #8a6646); } .sw-3 { background: linear-gradient(135deg, #e3cfb3 50%, #1f1f1f 50%); }
/* FAQ и форма */
.dp .faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.dp .faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.dp .faq summary::-webkit-details-marker { display: none; }
.dp .faq summary::after { content: "+"; color: var(--pink); font-size: 22px; line-height: 1; transition: transform .2s; }
.dp .faq details[open] summary::after { transform: rotate(45deg); }
.dp .faq details p { margin: 10px 0 0; color: #5d5252; line-height: 1.55; }
.dp-form { display: grid; gap: 10px; }
.dp-form input:not([type=checkbox]) { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font: inherit; outline: none; background: #fff; }
.dp-form .check { font-size: 13px; color: rgba(255,255,255,.75); }
.dp-form .check a { color: #fff; }
.dp-form .consult__ok { color: #fff; margin: 0; }
/* первый экран */
.dp1-hero { padding: 20px 0 48px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
/* картинки ограничены по ширине — на широком экране не растут в высоту (Иван 05.11 «много пустого места») */
.dp1-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: clamp(28px, 4vw, 64px); align-items: center; }
.dp1-need { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: #7a6e6c; }
.dp1-need span { padding: 6px 12px; border: 1px dashed #d9cbc4; border-radius: 20px; background: rgba(255,255,255,.6); color: var(--blue); font-weight: 500; }
.fin__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 10px; margin: 0 0 16px; }
.fin__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; transition: border-color .2s, transform .2s; }
.fin__thumbs button:hover { transform: translateY(-2px); }
.fin__thumbs button.is-on { border-color: var(--pink); }
.fin__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp1-hero h1 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.01em; }
.dp1-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; max-width: 560px; }
.dp1-chips div { background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 4px 16px rgba(41,44,50,.06); }
.dp1-chips b { display: block; font-size: 22px; color: var(--blue); }
.dp1-chips span { font-size: 12.5px; color: #7a6e6c; }
.dp1-hint { margin-top: 12px; font-size: 13px; color: #8a7e7c; text-align: center; }
/* что вы получите */
.dp1-get { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.dp1-get article { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.dp1-get article:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(41,44,50,.10); }
.dp1-get .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; margin-bottom: 16px; }
.dp1-get .ico svg { width: 30px; height: 30px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dp1-get h3 { font-size: 17px; margin: 0 0 8px; }
.dp1-get p { margin: 0; font-size: 14px; line-height: 1.5; color: #6b6060; }
.dp1-get .n { position: absolute; top: 18px; right: 20px; font-size: 13px; font-weight: 700; color: #d9cbc4; }
.dp1-fin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(24px, 4vw, 56px); align-items: center; }
/* шаги */
.dp1-steps { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 34px 0 0; counter-reset: s; }
.dp1-steps li { list-style: none; position: relative; padding: 0 18px 0 0; }
.dp1-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; position: relative; z-index: 1; margin-bottom: 16px; }
.dp1-steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--pink) 0 8px, transparent 8px 14px); }
.dp1-steps li:last-child::after { display: none; }
.dp1-steps b { display: block; font-size: 16px; margin-bottom: 6px; }
.dp1-steps span { font-size: 14px; color: #6b6060; line-height: 1.45; }
/* вопросы + заявка */
.dp1-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.dp1-cta { background: var(--blue); color: #fff; border-radius: 22px; padding: 30px; position: sticky; top: 100px; }
.dp1-cta h3 { font-size: 24px; margin: 0 0 8px; color: #fff; }
.dp1-cta > p { margin: 0 0 18px; color: rgba(255,255,255,.75); font-size: 14px; }
.dp1-cta .btn { background: var(--pink); border-color: var(--pink); color: #fff; }
.dp1-cta .btn:hover { background: #A42654; }
/* 10.11: колонка «форма + карточка» под ней; форма больше не липкая, иначе наезжает на карточку */
.dp1-bottom { grid-template-areas: "faq cta" "faq more"; grid-template-rows: auto 1fr; row-gap: 20px; }
.dp1-bottom > .faq { grid-area: faq; }
.dp1-bottom > .dp1-cta { grid-area: cta; position: static; }
.dp1-more { grid-area: more; border: 1px solid #ece6e4; border-radius: 22px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.dp1-bottom > .dp1-more { align-self: stretch; }
/* фото тянется на всю оставшуюся высоту — низ карточки вровень с концом FAQ */
.dp1-more__img { position: relative; margin: 0; flex: 1 1 auto; min-height: 120px; overflow: hidden; }
.dp1-more__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.dp1-more:hover .dp1-more__img img { transform: scale(1.04); }
.dp1-more__img figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--blue); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.dp1-more__list { list-style: none; margin: 0; padding: 16px 22px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dp1-more__list li { position: relative; padding-top: 30px; }
.dp1-more__list li::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dp1-more__list b { display: block; font-size: 14px; margin-bottom: 3px; }
.dp1-more__list span { font-size: 13px; color: #6b6060; line-height: 1.4; }
.dp1-more__tel { margin: auto 22px 20px; padding-top: 14px; border-top: 1px dashed #e3dbd9; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; text-decoration: none; color: inherit; }
.dp1-more__tel span { font-size: 13px; color: #6b6060; }
.dp1-more__tel b { font-size: 18px; color: var(--blue); }
.dp1-more__tel:hover b { color: var(--pink); }
@media (max-width: 1100px) {
  .dp1-bottom { grid-template-areas: "faq" "cta" "more"; grid-template-rows: auto; }
  .dp1-more__img { flex: none; aspect-ratio: 16 / 7; }
}
@media (max-width: 520px) {
  .dp1-more__list { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .dp1-hero__in, .dp1-fin, .dp1-bottom { grid-template-columns: 1fr; }
  .dp1-get { grid-template-columns: repeat(2, 1fr); }
  .dp1-steps { grid-template-columns: 1fr; gap: 18px; }
  .dp1-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding: 0; }
  .dp1-steps li::before { grid-row: span 2; margin: 0; }
  .dp1-steps li::after { display: none; }
  .dp1-cta { position: static; }
}
@media (max-width: 640px) {
  .dp1-get { grid-template-columns: 1fr; }
  .dp1-chips b { font-size: 18px; }
  .dp .lead { font-size: 16px; }
}

/* Поделиться товаром */
.pshare { position: relative; display: inline-flex; }
.pshare__button { display: grid; place-items: center; }
.pshare__button:hover, .pshare__button[aria-expanded="true"] { color: var(--blue); border-color: currentColor; }
.pacts > a, .el-info__top > span:first-child:not(.pshare) { margin-right: auto; }
.pacts, .el-info__top { justify-content: flex-end; gap: 8px; }
.product-fallback .el-info__top { justify-content: flex-start; }
.pshare__panel {
  position: absolute; z-index: 12; top: calc(100% + 8px); right: 0;
  width: 248px; padding: 10px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); box-shadow: 0 8px 24px #0002;
}
.pshare__panel > :is(a, button) {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px;
  padding: 6px 10px; border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer;
}
.pshare__panel > :is(a, button):hover { background: #00000008; }
.pshare__panel svg { width: 24px; height: 24px; flex: none; }
.pshare__panel .pshare__social { padding: 3px; border-radius: 50%; background: #69757a; color: #fff; }
@media (max-width: 480px) {
  .pshare__button { width: 44px; height: 44px; }
  .pacts, .el-info__top { gap: 6px; }
  .pshare__panel { width: min(248px, 75vw); }
}

/* Действия карточки в разделах каталога */
@media (hover: hover) and (pointer: fine) {
  #grid .product--m:not(:hover):not(:focus-within) :is(.product__fav, .product__plist) {
    opacity: 0;
    pointer-events: none;
  }
}

/* Прайс-лист в строке цены при наведении */
@media (hover: hover) and (pointer: fine) {
  #grid .product--m { position: relative; padding-bottom: 16px; }
  #grid .product--m .product__price { min-height: 27px; margin-bottom: 0; align-content: center; }
  #grid .product--m:is(:hover, :focus-within) .product__price { opacity: 0; }
  #grid .product--m .product__plist {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    min-height: 27px; white-space: nowrap;
  }
}

/* Тёмное меню «Поделиться» */
.pshare__panel {
  width: 238px; padding: 7px 10px; border-color: #242526; border-radius: 13px;
  background: #242526; color: #fff;
}
.pshare__panel::before { content: ""; position: absolute; inset: -9px 0 auto; height: 9px; }
.pshare__panel::after {
  content: ""; position: absolute; top: -5px; right: 18px;
  width: 9px; height: 9px; background: #242526; transform: rotate(45deg); pointer-events: none;
}
.pshare__panel > :is(a, button) {
  min-height: 36px; padding: 6px; color: inherit; font-size: 13px; border-radius: 0;
}
.pshare__panel > :is(a, button) + :is(a, button) { border-top: 1px solid #ffffff40; }
.pshare__panel > :is(a, button):hover { background: #ffffff24; }
.pshare__panel svg, .pshare__panel .pshare__social {
  width: 18px; height: 18px; padding: 0; border-radius: 0; background: transparent; color: #c3c3c3;
}
@media (max-width: 480px) {
  .pshare__panel { width: min(238px, 75vw); }
}

/* Страница поиска по фото */
.photo-search-page { padding-top: 28px; padding-bottom: 48px; }
.photo-search-page h1 { margin: 0 0 8px; }
.photo-search-drop {
  display: grid; justify-items: center; gap: 10px; width: min(100%, 480px);
  margin: 18px 0; padding: 18px; text-align: center;
  border: 1px dashed var(--blue); border-radius: 12px; background: #faf6f5; cursor: pointer;
}
.photo-search-drop input { max-width: 100%; }
.photo-search-drop img { max-width: 100%; max-height: 180px; object-fit: contain; }
.photo-search-result { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); text-decoration: none; }
.photo-search-result:hover { color: var(--pink); }
.photo-search-result img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 720px) {
  .photo-search-page { padding-top: 18px; }
  .photo-search-result { font-size: 13px; }
}

/* Камера с подписью внутри строки поиска */
.search .search-photo-link {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  align-self: center; margin-right: 4px; padding: 5px 8px; min-height: 30px;
  border-radius: 6px; background: #f4eeec; color: var(--blue);
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.search .search-photo-link:hover { color: var(--pink); }
.search .search-photo-link:focus-visible { outline-offset: -2px; }
@media (max-width: 720px) {
  .search .search-photo-link { font-size: 12px; padding-inline: 6px; }
}

/* Подсказки поиска с витриной товаров */
.header-search { position: relative; flex: 1; min-width: 0; }
.search-suggestions {
  position: absolute; z-index: 15; top: calc(100% + 6px); left: 0; right: 0;
  max-height: min(70vh, 600px); overflow: auto; padding: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 28px #35232226; font-size: 14px;
}
.search-suggestions h2 { margin: 0 0 7px; font-size: 14px; }
.search-suggestions p { margin: 0 0 10px; }
.search-suggestions__hints { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.search-suggestions__hints :is(a, button) {
  display: block; padding: 5px 7px; border: 0; border-radius: 5px;
  color: var(--blue); background: transparent; text-decoration: none; font: inherit; text-align: left; cursor: pointer;
}
.search-suggestions__hints :is(a, button):hover, .search-suggestions__card:hover { background: #f7eeef; }
.search-suggestions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.search-suggestions__card {
  display: grid; align-content: start; gap: 5px; padding: 6px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--blue);
  text-decoration: none; overflow-wrap: anywhere; font-size: 13px;
}
.search-suggestions__card img { width: 100%; height: 105px; object-fit: contain; background: #f6f3f2; border-radius: 5px; }
.search-suggestions__all { display: block; width: max-content; margin: 10px 0 0 auto; color: var(--blue); }
/* 23.11 цвет в карточке поиска (каждый цвет модели — своя карточка) */
.search-suggestions__colour { color: var(--muted, #7a6e6f); font-size: 12px; line-height: 1.3; }
.product__colour { margin: -2px 0 6px; font-size: 13px; line-height: 1.35; color: var(--muted, #7a6e6f); }
@media (max-width: 720px) {
  .header-search { order: 5; flex-basis: 100%; }
  .search-suggestions { max-height: min(58vh, 450px); padding: 10px; }
  .search-suggestions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-suggestions__card img { height: 84px; }
}

/* Метки каталога: светлая плашка с цветным штрихом. */
.product__sticker {
  --sticker-accent: #b68962;
  left: -5px;
  clip-path: none;
  border-radius: 5px;
  background: #f4e9dc;
  color: #67462f;
  padding: 4px 10px 4px 13px;
  line-height: 16px;
  white-space: nowrap;
}
.product__sticker.is-hit {
  --sticker-accent: #A42654;
  background: color-mix(in srgb, var(--pink) 11%, white);
  color: #A42654;
}
.product__sticker::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 3px;
  width: 2px;
  border-radius: 2px;
  background: var(--sticker-accent);
}
@media (max-width: 600px) {
  .product__sticker {
    left: 0;
    top: 4px;
    font-size: 11px;
    padding: 2px 6px 2px 9px;
  }
}

/* Листалка фотографий серий в каталоге. */
.series-gallery .product__img--m {margin-bottom:0}
.series-gallery .product__img--m img {transition:none}
.series-gallery__steps {display:flex;gap:3px;margin:0 0 3px}
.series-gallery .product__img {touch-action:pan-y}  /* 23.11: свайп по фото листает серию (layout.js), страница по-прежнему крутится вверх-вниз */
/* На главной свайп по фотографии листает ленту даже на планшете. */
#hitsRow .series-gallery .product__img { touch-action: auto; }
@media (any-pointer: coarse) {
  #hitsRow.hits1 { scroll-snap-type: x proximity; }
}
.series-gallery__steps button {display:flex;align-items:flex-start;border:0;background:none;flex:1;min-width:0;height:15px;padding:3px 0 0;cursor:pointer}
.series-gallery__steps button::before {content:"";width:100%;height:1px;background:#e6dddd}
.series-gallery__steps button[aria-pressed=true]::before {background:#A42654}
.series-gallery__steps button:focus-visible {outline:2px solid #A42654;outline-offset:1px}
@media(max-width:600px), (pointer:coarse) {.series-gallery__steps button{height:27px}}
@media (hover:hover) and (pointer:fine) {
  .series-gallery__steps {opacity:0}
  .series-gallery:has(.product__img:hover, .product__img:focus-visible) .series-gallery__steps,
  .series-gallery__steps:hover, .series-gallery__steps:focus-within {opacity:1}
}

/* Избранное и сравнение в правом верхнем углу товарных карточек. */
.catalog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 5px; margin-bottom: 5px; }
.catalog-actions button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: white; color: #4a3838; cursor: pointer; }
.catalog-actions svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.catalog-actions button:hover, .catalog-actions button:focus-visible { background: color-mix(in srgb, var(--pink) 8%, white); }
.catalog-actions button[aria-pressed="true"] { color: var(--pink); background: color-mix(in srgb, var(--pink) 10%, white); }
.catalog-actions [data-fav][aria-pressed="true"] svg { fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .product:not(:hover):not(:has(:focus-visible)) > .catalog-actions { opacity: 0; pointer-events: none; }
}
.header-compare { border: 0; background: transparent; cursor: pointer; padding: 0; }
.header-compare[hidden] { display: none; }
.header-compare svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.catalog-comparison { margin: auto; width: min(680px, calc(100% - 24px)); padding: 18px; border: 1px solid #e2d6d6; border-radius: 14px; color: #443333; }
.catalog-comparison::backdrop { background: #271d2070; }
.catalog-comparison__content { overflow: auto; margin: 12px 0; }
.catalog-comparison table { width: 100%; border-collapse: collapse; font-size: 14px; }
.catalog-comparison th, .catalog-comparison td { padding: 8px; text-align: left; border-bottom: 1px solid #eee4e4; }
@media (max-width: 600px) {
  .catalog-actions button { width: 34px; height: 34px; }
  .catalog-comparison th, .catalog-comparison td { padding: 5px; }
}


/* Действия карточки в правом нижнем углу под фотографией. */
.product:has(> .catalog-actions),
.actions-demo[data-variant="1"] .product:has(> .card-actions) { position: relative; }
.product > .catalog-actions,
.actions-demo[data-variant="1"] .product > .card-actions {
  position: absolute;
  right: 14px;
  bottom: 9px;
  z-index: 2;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.product > .catalog-actions button,
.actions-demo[data-variant="1"] .product > .card-actions button { width: 30px; min-width: 30px; height: 28px; }
@media (max-width: 600px) {
  .product > .catalog-actions,
  .actions-demo[data-variant="1"] .product > .card-actions { right: 5px; bottom: 5px; gap: 2px; }
  .product > .catalog-actions button,
  .actions-demo[data-variant="1"] .product > .card-actions button { width: 26px; min-width: 26px; height: 28px; padding: 0; }
  .product > .catalog-actions svg,
  .actions-demo[data-variant="1"] .product > .card-actions svg { width: 17px; height: 17px; }
}
.product:has(> .catalog-actions) > :is(.product__buy, .product__coll) { margin-right: 42px; }
@media (max-width: 600px) {
  .product:has(> .catalog-actions) > :is(.product__buy, .product__coll) { margin-right: 28px; }
}

/* Коричневый цвет основных иконок меню, независимо от адреса изображения. */
.megamenu .mm-ic img:not(.mm-ic__h) { filter: grayscale(1) sepia(.55) brightness(.65); }

/* Панель разделов каталога. */
.listing-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-left: auto; color: var(--blue); }
.listing-stock, .listing-sort { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; cursor: pointer; }
.listing-stock input { appearance: none; position: relative; width: 30px; height: 16px; margin: 0; border-radius: 20px; background: #d8cecf; cursor: pointer; }
.listing-stock input:checked { background: #2fa84f; }
.listing-stock input::before { content: ""; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; border-radius: 50%; background: white; }
.listing-stock input:checked::before { left: 16px; }
.listing-sort svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.listing__bar .listing-sort select { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; max-width: 155px; cursor: pointer; }
@media (max-width: 600px) {
  .listing-controls { gap: 4px 9px; }
}

/* Компактные карточки серий в каталоге. */
.product.product--compact-series { background: #fff; padding: 12px; }
.product--compact-series .product__category { color: #626a71; font-size: 13px; text-align: center; }
.product--compact-series .product__name { text-align: center; margin: 3px 0 9px; min-height: 0; }
.product--compact-series .product__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin: auto 0 4px; }
.product--compact-series .product__meta .product__status { margin: 0; font-size: 12px; }
#grid .product--compact-series .product__meta .product__price { margin: 0; text-align: left; }
@media (max-width: 600px) {
  .product.product--compact-series { padding: 8px; }
  .product--compact-series .product__category { font-size: 12px; }
}

/* Кнопки компактных карточек располагаются под строкой цены и наличия. */
#grid .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) {
  #grid .product--compact-series:is(:hover, :focus-within) .product__price { opacity: 1; }
  #grid .product--compact-series > .product__plist {
    left: 12px;
    bottom: 16px;
    transform: none;
  }
}
@media (max-width: 600px) {
  #grid .product--compact-series > .catalog-actions { gap: 3px; }
}

/* На устройствах с мышью строка цены сменяется действиями. */
@media (hover: hover) and (pointer: fine) {
  #grid .product--compact-series > .product__meta {
    min-height: 32px;
    margin-bottom: 0;
  }
  #grid .product--compact-series:is(:hover, :focus-within) > .product__meta {
    visibility: hidden;
  }
  #grid .product--compact-series > .product__plist,
  #grid .product--compact-series > .catalog-actions {
    position: absolute;
    bottom: 18px;
  }
  #grid .product--compact-series > .catalog-actions {
    right: 12px;
    margin: 0;
  }
  #grid .product--compact-series:focus-within > .catalog-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Разделы каталога: плашки с тёмным акцентом. */
.listing .filters--tiles { background: transparent; padding: 0; align-self: start; }
.filters--tiles :is(h2,h3):has(+ #fCats) { display: block; color: #292C32; font-size: 15px; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.filters--tiles #fCats .fcheck { position: relative; gap: 8px; min-height: 45px; margin-bottom: 7px; padding: 7px 9px;
  background: white; color: #292C32; border: 1px solid #e9dfe0; border-radius: 9px; font-size: 13px; line-height: 1.2; text-decoration: none; }
.filters--tiles #fCats .fcheck:hover { border-color: #A42654; }
.filters--tiles #fCats .fcheck:hover span { color: inherit; }
.filters--tiles #fCats .fcheck[aria-current] { min-height: 57px; background: #292C32; border-color: #292C32; color: white; }
.filters--tiles #fCats .fcheck:focus-visible { outline: 2px solid #A42654; outline-offset: 2px; }
.filters--tiles #fCats .fcheck small { color: #675458; }
.filters--tiles #fCats .fcheck[aria-current] small { color: color-mix(in srgb, var(--pink) 9%, white); }
.fcheck__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f2e8e6; color: #785950; }
.fcheck__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.filters--tiles #fCats .fcheck[aria-current] .fcheck__icon { background: #6a4b54; color: color-mix(in srgb, var(--pink) 9%, white); }
.filters--tiles .filters__more { width: 100%; margin: 0; padding: 8px 10px; text-align: left; color: #675458;
  border: 1px dashed #d9c9cc; border-radius: 9px; }
@media (max-width: 760px) {
  .listing .filters--tiles { display: block; }
  .filters--tiles #fCats { margin: 0; padding: 3px 3px 5px; }
  .filters--tiles #fCats .fcheck, .filters--tiles #fCats .fcheck[aria-current] { min-height: 44px; margin: 0; }
  .filters--tiles .filters__reset { margin-top: 5px; }
}

/* Компактная лента недавно просмотренных товаров на карточке товара. */
.page:has(> #viewed > .section) { padding-bottom: 16px; }
.page > #viewed > .section { padding: 22px 0 0; }
.page > #viewed .section__head { margin-bottom: 14px; }
.page > #viewed .product__brand { display: none; }
.page > #viewed .product__name { min-height: 0; margin-bottom: 6px; }
.page > #viewed .product__price { margin-bottom: 8px; }
@media (max-width: 760px) {
  .page:has(> #viewed > .section) { padding-bottom: 12px; }
  .page > #viewed > .section { padding-top: 16px; }
  .page > #viewed .section__head { margin-bottom: 10px; }
}

/* Доставка: фотоколлаж подготовки заказа. */
.dl-collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.dl-collage > li { min-width: 0; border-radius: 16px; overflow: hidden; background: #f7f1f3; }
.dl-collage > li:nth-child(-n+2) { grid-column: span 2; }
.dl-collage figure { margin: 0; }
.dl-collage img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #ece5e6; }
.dl-collage > li:nth-child(-n+2) img { aspect-ratio: 16 / 9; }
/* 18.11: 9 шагов — последний ряд: 2 обычных + широкая «Доставка» той же высоты; фото заполняют рамку без серых полос */
.dl-collage img { object-fit: cover; }
.dl-collage > li.dl-collage-wide { grid-column: span 2; }
.dl-collage > li.dl-collage-wide figure { display: flex; flex-direction: column; height: 100%; }
.dl-collage > li.dl-collage-wide img { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; }
.dl-collage figcaption { padding: 14px; }
.dl-collage figcaption span { font-size: 12px; font-weight: 700; color: #A42654; }
.dl-collage h3, .dl-collage-assembly h3 { margin: 4px 0 6px; font-size: 18px; line-height: 1.2; }
.dl-collage p, .dl-collage-assembly p { margin: 0; font-size: 14px; }
.dl-collage-assembly { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); align-items: center; gap: 16px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.dl-collage-assembly img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 950px) {
  .dl-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-collage > li:nth-child(-n+2) { grid-column: auto; }
  .dl-collage > li.dl-collage-wide figure { display: block; height: auto; }
  .dl-collage > li.dl-collage-wide img { aspect-ratio: 16 / 9; }
}
@media (max-width: 530px) { .dl-collage > li.dl-collage-wide { grid-column: auto; } }
@media (max-width: 530px) {
  .dl-collage, .dl-collage-assembly { grid-template-columns: minmax(0, 1fr); }
}

/* Компактный поиск и подписанные кнопки шапки */
.header__icons { gap: 8px; align-items: center; }
.header__icons .hicon {
  display: grid; justify-items: center; align-content: center; gap: 2px;
  min-width: 76px; min-height: 50px; font-family: inherit;
}
.header__icons .header-compare[hidden] { display: none; }
.header__icons .hicon svg { width: 26px; height: 26px; }
.header__icons .badge { top: 0; right: calc(50% - 26px); }
.hicon__label { font-size: 12px; line-height: 1.25; }

@media (min-width: 901px) {
  .header-search { max-width: 620px; }
  .header__phone { margin-left: auto; flex: none; }
  .header .search { border: 1px solid #d5c9c7; border-radius: 22px; }
}
@media (max-width: 720px) {
  .header__icons { gap: 1px; }
  .header__icons .hicon { min-width: 33px; min-height: 44px; }
  .header__icons .hicon svg { width: 24px; height: 24px; }
  .header__icons .badge { top: 0; right: 0; }
  .hicon__label { display: none; }
}

/* Первый вариант шапки из предпросмотра */
@media (min-width: 1000px) {
  .header-search { margin-left: clamp(24px, 8vw, 154px); }
  .header__icons { margin-left: clamp(8px, 3vw, 60px); }
}
@media (max-width: 720px) {
  .header-search { margin-left: 0; }
}

.header__phone > .header__email, .header__phone > .header-preview-email { text-align: center; }

/* Поиск по фото с тонким разделителем */
.search .search-photo-link {
  gap: 5px; padding: 4px 8px; font-weight: 500;
  background: transparent; border-left: 1px solid #ded5d3; border-radius: 0;
}
.search .search-photo-link:hover { background: #efe3e7; color: #78213f; }
@media (max-width: 480px) {
  .search .search-photo-link { padding-inline: 7px; }
}

/* ===== Ссылки разделов без JavaScript (SEO-аудит 09.11.2026) =====
   build_static кладёт <nav class="seo-nav"> в <div id="site-footer">; layout.js заменяет его подвалом.
   Видно, только если скрипт не сработал. */
.seo-nav { max-width: 1200px; margin: 24px auto; padding: 0 16px; font-size: 13px; line-height: 1.9; color: #6b6262; }
.seo-nav a { color: inherit; }
@media (max-width: 720px) { .seo-nav { font-size: 12px; margin: 16px auto; } }

/* ===== Скидка: старая цена зачёркнута (CMS, поле «Старая цена», 09.11.2026) ===== */
.product__old, .pbuy__old { color: #9a8f90; text-decoration: line-through; font-weight: 400; margin-right: 4px; }
.pbuy__old { font-size: .8em; }
.pbuy__disc { display: inline-block; background: #A42654; color: #fff; border-radius: 20px; padding: 1px 8px; font-size: 13px; font-weight: 600; vertical-align: middle; }

/* ===== Сертификаты дилера — «О компании» (09.11.2026). Разметку пишет админка (Certs.php), поведение — certs.js.
   .crt--v1 лента · .crt--v2 плитки · .crt--v3 стена · .crt--v4 витрина ===== */
.crt__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.crt__head .ab2-h2 { margin-bottom: 8px; }
.crt__lead { margin: 0; color: var(--muted); max-width: 720px; line-height: 1.55; }
.crt__nav { display: none; align-items: center; gap: 10px; flex: none; font-size: 14px; color: var(--muted); }
.crt__arr { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue);
  font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: .2s; font-family: inherit; }
.crt__arr:hover:not(:disabled) { border-color: var(--pink); color: var(--pink); }
.crt__arr:disabled { opacity: .35; cursor: default; }
.crt__list { list-style: none; margin: 0; padding: 0; }
.crt__it { margin: 0; min-width: 0; }
.crt__ph { display: block; cursor: zoom-in; }
.crt__ph img { display: block; width: 100%; height: 100%; object-fit: contain; }
.crt__it figcaption b { display: block; font-size: 16px; color: var(--blue); }
.crt__it figcaption span { display: block; font-size: 13.5px; line-height: 1.45; color: #4d4243; margin-top: 4px; }
.crt__it figcaption small { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* 1 — лента: 5 в ряд, прокрутка стрелками и пальцем */
.crt--v1 .crt__nav { display: flex; }
.crt--v1 .crt__list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); column-gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.crt--v1 .crt__list::-webkit-scrollbar { display: none; }
.crt--v1 .crt__it { scroll-snap-align: start; text-align: center; }
.crt--v1 .crt__ph { height: 230px; padding: 14px; background: var(--grey); border-radius: 14px; transition: .25s; }
.crt--v1 .crt__ph img { filter: drop-shadow(0 6px 14px rgba(41,44,50,.18)); }
.crt--v1 .crt__ph:hover { background: #efe6e7; }
.crt--v1 figcaption { padding: 12px 6px 0; }

/* 2 — плитки: миниатюра слева, фабрика, подпись и срок справа */
.crt--v2 { background: var(--grey); }
.crt--v2 .crt__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.crt--v2 .crt__it { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: .25s; }
.crt--v2 .crt__it:hover { box-shadow: 0 12px 30px rgba(41,44,50,.10); transform: translateY(-2px); border-color: transparent; }
.crt--v2 .crt__ph { height: 140px; background: var(--grey); border-radius: 10px; padding: 8px; }
.crt--v2 figcaption b { font-size: 17px; }
.crt--v2 figcaption small { background: color-mix(in srgb, var(--pink) 9%, white); color: var(--pink); font-weight: 600; border-radius: 20px; padding: 3px 10px; }

/* 3 — стена: крупные сертификаты в рамках, подпись под ними */
.crt--v3 .crt__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; }
.crt--v3 .crt__it { text-align: center; }
.crt--v3 .crt__ph { height: 330px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 0 #fff inset, 0 18px 36px -18px rgba(41,44,50,.35); transition: transform .3s, box-shadow .3s; position: relative; }
.crt--v3 .crt__ph::after { content: ""; position: absolute; left: 50%; top: -9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #A42654, var(--pink)); box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.crt--v3 .crt__it:nth-child(3n+1) .crt__ph { transform: rotate(-1.2deg); }
.crt--v3 .crt__it:nth-child(3n) .crt__ph { transform: rotate(1deg); }
.crt--v3 .crt__ph:hover { transform: rotate(0) scale(1.03) !important; box-shadow: 0 26px 46px -18px rgba(41,44,50,.45); }
.crt--v3 figcaption { padding-top: 16px; }
.crt--v3 figcaption b { font-size: 18px; }

/* 4 — витрина: слева выбранный сертификат, справа список фабрик */
.crt--v4 { background: var(--grey); }
.crt--v4 .crt__nav { display: flex; }
.crt--v4 .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; }
.crt--v4 .crt__head { grid-column: 1 / -1; }
.crt__stage { display: grid; place-items: center; background: #fff; border-radius: 18px; padding: 24px; min-height: 520px; cursor: zoom-in;
  box-shadow: 0 20px 50px -30px rgba(41,44,50,.45); }
.crt__stage img { max-width: 100%; max-height: 640px; object-fit: contain; display: block; }
.crt--v4 .crt__list { display: grid; gap: 10px; align-content: start; }
.crt--v4 .crt__it { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px;
  background: #fff; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.crt--v4 .crt__it:hover { border-color: var(--line); }
.crt--v4 .crt__it.is-on { border-color: var(--pink); box-shadow: 0 10px 24px -14px rgba(164,38,84,.5); }
.crt--v4 .crt__ph { height: 66px; cursor: pointer; }
.crt--v4 figcaption span { font-size: 13px; }
.crt--v4 figcaption small { margin-top: 4px; }

/* просмотр крупно */
.crt-box { position: fixed; inset: 0; z-index: 1000; background: rgba(28,20,21,.86); display: none; align-items: center; justify-content: center; padding: 30px 70px; }
.crt-box.on { display: flex; }
.crt-box figure { margin: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.crt-box img { max-width: min(92vw, 1100px); max-height: calc(100vh - 150px); object-fit: contain; background: #fff; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.crt-box figcaption { color: #fff; text-align: center; max-width: 640px; font-size: 14px; }
.crt-box figcaption b { display: block; font-size: 17px; }
.crt-box figcaption span { display: block; opacity: .8; } .crt-box figcaption small { opacity: .6; }
.crt-box__x, .crt-box__a { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; font-family: inherit; }
.crt-box__x { top: 16px; right: 16px; }
.crt-box__a { top: 50%; margin-top: -24px; } .crt-box__a--l { left: 14px; } .crt-box__a--r { right: 14px; }
.crt-box__x:hover, .crt-box__a:hover { background: rgba(255,255,255,.25); }
.crt-box__n { position: absolute; top: 26px; left: 24px; color: rgba(255,255,255,.7); font-size: 14px; }

@media (max-width: 1000px) {
  .crt--v1 .crt__list { grid-auto-columns: calc((100% - 2 * 16px) / 3); column-gap: 16px; }
  .crt--v2 .crt__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crt--v3 .crt__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crt--v4 .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .crt__stage { min-height: 0; height: 420px; }
  .crt__stage img { max-height: 100%; }
}
@media (max-width: 600px) {
  .crt__head { flex-direction: column; align-items: flex-start; }
  .crt--v1 .crt__list { grid-auto-columns: 72%; }
  .crt--v1 .crt__ph { height: 220px; }
  .crt--v2 .crt__list { grid-template-columns: minmax(0, 1fr); }
  .crt--v3 .crt__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .crt--v3 .crt__ph { height: 210px; padding: 8px; }
  .crt--v3 figcaption span { display: none; }
  .crt__stage { height: 340px; padding: 12px; }
  .crt-box { padding: 60px 8px 20px; }
  .crt-box__a { top: auto; bottom: 14px; margin: 0; }
}

/* «Заказать звонок» у телефона в шапке — вариант 1 (Иван 09.11): серая таблетка, при наведении коричневая */
.hcall { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; flex: none;
  border: 0; border-radius: 20px; background: var(--grey); color: var(--blue); font: 600 13px "Montserrat", Arial, sans-serif;
  white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.hcall:hover, .hcall:focus-visible { background: var(--blue); color: #fff; }
@media (min-width: 901px) { .hcall { margin-left: auto; } .hcall + .header__phone { margin-left: 16px; } }
@media (max-width: 1180px) { .hcall { display: none; } .hcall + .header__phone { margin-left: auto; } }
/* на 1181–1600 px кнопка съедает место поиска — уменьшаем отступы вокруг поиска */
@media (min-width: 1181px) and (max-width: 1600px) { .header-search { margin-left: 28px; } .header__icons { margin-left: 24px; } }

/* Окно «Заказать звонок» */
.cbm { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--black);
  box-shadow: 0 30px 80px rgba(41,44,50, .35); overflow: visible; }
.cbm[open] { animation: cbmIn .22s ease-out; }
.cbm::backdrop { background: rgba(41,44,50, .55); backdrop-filter: blur(3px); }
@keyframes cbmIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.cbm__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--grey); color: var(--blue); font-size: 22px; line-height: 1; cursor: pointer; transition: .2s; }
.cbm__x:hover { background: var(--blue); color: #fff; }
.cbm__form { display: flex; flex-direction: column; gap: 14px; padding: 34px 32px 28px; }
.cbm__head { text-align: center; margin-bottom: 4px; }
.cbm__ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 12px;
  background: rgba(164, 38, 84, .10); color: var(--pink); }
.cbm__ic svg { width: 24px; height: 24px; }
.cbm__head h2 { font-size: 24px; margin: 0 0 8px; }
.cbm__head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cbm__f, .cbm__when { display: flex; flex-direction: column; gap: 6px; }
.cbm__f > span, .cbm__when > span { font-size: 12px; font-weight: 600; color: var(--muted); padding-left: 4px; }
.cbm input:not([type=checkbox]), .cbm select { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--grey); font: 500 15px "Montserrat", Arial, sans-serif; color: var(--black); transition: border-color .2s, background .2s, box-shadow .2s; }
.cbm input:not([type=checkbox]):focus, .cbm select:focus { outline: 0; background: #fff; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(164, 38, 84, .12); }
.cbm input::placeholder { color: #b3a8a9; }
.cbm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cbm select { cursor: pointer; }
.cbm .check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--muted); }
.cbm .check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--pink); }
.cbm .check a { color: var(--pink); }
.cbm__send { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 4px; border: 0; border-radius: 14px;
  background: var(--pink); color: #fff; font: 700 16px "Montserrat", Arial, sans-serif; cursor: pointer; transition: background .2s, transform .1s; }
.cbm__send:hover { background: #8a1f47; }
.cbm__send:active { transform: scale(.99); }
.cbm__send:disabled { opacity: .6; cursor: wait; }
.cbm .consult__err { margin: 0; color: var(--pink); font-size: 13px; text-align: center; }
/* после отправки — только «Спасибо» */
.cbm__form:has(.cbm__done:not([hidden])) > :not(.cbm__head):not(.cbm__done) { display: none; }
.cbm__form:has(.cbm__done:not([hidden])) .cbm__head p { display: none; }
.cbm__done { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 14px; color: var(--muted); }
.cbm__done[hidden] { display: none; }
.cbm__done b { font-size: 18px; color: var(--black); }
.cbm__close { margin-top: 12px; height: 46px; padding: 0 34px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font: 600 15px "Montserrat", Arial, sans-serif; cursor: pointer; }
@media (max-width: 480px) { .cbm__form { padding: 30px 20px 22px; } .cbm__head h2 { font-size: 21px; } }

/* страница выбора вида (preview-certs.html) */
.pv-label { background: var(--blue); color: #fff; padding: 12px 0; font-size: 15px; }
.pv-label b { color: #ffb3cd; }

/* ===== Страница «Сертификаты дилера» (sertifikaty.html, 09.11.2026) + ссылка на неё из блока «О компании» ===== */
.crt__more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--pink); text-decoration: none; }
.crt__more:hover { text-decoration: underline; }
.crp-hero { padding-bottom: 10px; }
.crp-hero #crumbs { padding-top: 20px; }
/* 24.11 Иван «отступы не верные»: на первых экранах с padding-top:0 у main крошки прилипали к шапке (0 px) и к заголовку.
   Как на каталоге/контактах: 20 px от шапки, 10 px до содержимого. Доставка, Оплата, Гарантия, Для бизнеса, Отзывы, Офис под ключ. */
.g1-hero #crumbs, .v1-hero #crumbs, .otz-hero #crumbs { padding: 20px 0 10px; }
.pkh > .wrap > #crumbs { padding-top: 10px; }
.crp-hero h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; margin: 22px 0 16px; max-width: 900px; }
/* герой: текст + «веер» сертификатов справа (09.11) */
.crp-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; align-items: center; }
.crp-hero__txt .crp-facts, .crp-hero__txt .crp-lead { max-width: none; }
.crp-fan { position: relative; display: block; height: 430px; border-radius: 28px; text-decoration: none; isolation: isolate;
  background: radial-gradient(80% 70% at 70% 20%, color-mix(in srgb, var(--pink) 18%, transparent), transparent 70%), linear-gradient(160deg, #f6f1f0, #ece4e3); }
.crp-fan::before { content: ""; position: absolute; inset: 22px; border: 1.5px dashed rgba(41,44,50,.14); border-radius: 20px; z-index: -1; }
.crp-fan__c { position: absolute; top: 50%; left: 50%; width: 210px; height: auto; border-radius: 6px; background: #fff; padding: 7px;
  box-shadow: 0 22px 40px -18px rgba(41,44,50,.45), 0 2px 6px rgba(41,44,50,.12); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.crp-fan__c--1 { transform: translate(-50%, -50%) translate(-120px, 14px) rotate(-11deg); }
.crp-fan__c--2 { transform: translate(-50%, -50%) translate(120px, 14px) rotate(10deg); }
.crp-fan__c--3 { transform: translate(-50%, -50%) translateY(-6px); z-index: 2; }
.crp-fan:hover .crp-fan__c--1 { transform: translate(-50%, -50%) translate(-150px, 18px) rotate(-15deg); }
.crp-fan:hover .crp-fan__c--2 { transform: translate(-50%, -50%) translate(150px, 18px) rotate(14deg); }
.crp-fan:hover .crp-fan__c--3 { transform: translate(-50%, -50%) translateY(-16px) scale(1.03); }
.crp-fan__seal { position: absolute; z-index: 3; right: 34px; bottom: 34px; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--pink); color: #fff; font-size: 13px; line-height: 1.15; box-shadow: 0 0 0 6px rgba(255,255,255,.75), 0 14px 28px -10px rgba(164,38,84,.7); transform: rotate(-8deg); }
.crp-fan__seal b { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: .02em; }
.crp-fan__seal small { display: block; font-size: 11px; opacity: .85; margin-top: 2px; }
.crp-fan__more { position: absolute; z-index: 3; left: 34px; bottom: 34px; background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; border-radius: 30px; padding: 9px 16px; box-shadow: 0 8px 20px -10px rgba(41,44,50,.4); transition: background .2s, color .2s; }
.crp-fan:hover .crp-fan__more { background: var(--blue); color: #fff; }
@media (max-width: 1200px) { .crp-hero__in { grid-template-columns: minmax(0, 1fr) 420px; } .crp-fan { height: 380px; } .crp-fan__c { width: 175px; } }
@media (max-width: 1000px) { .crp-hero__in { grid-template-columns: minmax(0, 1fr); } .crp-fan { height: 340px; max-width: 560px; width: 100%; } }
@media (max-width: 600px) { .crp-fan { height: 280px; } .crp-fan__c { width: 130px; padding: 5px; }
  .crp-fan__c--1 { transform: translate(-50%, -50%) translate(-82px, 10px) rotate(-11deg); } .crp-fan__c--2 { transform: translate(-50%, -50%) translate(82px, 10px) rotate(10deg); }
  .crp-fan__seal { width: 86px; height: 86px; right: 16px; bottom: 16px; font-size: 11px; } .crp-fan__seal b { font-size: 11.5px; } .crp-fan__more { left: 16px; bottom: 16px; font-size: 13px; } }
.crp-lead { max-width: 900px; font-size: 16.5px; line-height: 1.65; color: #4d4243; margin: 0 0 26px; }
.crp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.crp-facts > div { background: var(--grey); border-radius: 16px; padding: 16px 20px; }
.crp-facts b { display: block; font-size: 28px; color: var(--blue); line-height: 1.1; }
.crp-facts span { font-size: 13.5px; color: var(--muted); }
.crp-hint { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.crt--page { padding: 34px 0 70px; }
.crt--page.crt--v3 .crt__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crt--page.crt--v3 .crt__ph { height: 300px; }
.crt--page.crt--v3 figcaption b { font-size: 17px; }
.crp-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.crp-why > div { background: #fff; border-radius: 18px; padding: 24px 22px; }
.crp-why i { font-style: normal; font-weight: 700; font-size: 14px; color: var(--pink); }
.crp-why h3 { margin: 10px 0 8px; font-size: 18px; color: var(--blue); }
.crp-why p { margin: 0; font-size: 14px; line-height: 1.55; color: #4d4243; }
/* в первом экране (Иван 09.11): 2×2 серые карточки вместо цифр */
.crp-hero .crp-lead { margin-bottom: 22px; }
.crp-why--top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
.crp-why--top > div { background: var(--grey); border-radius: 16px; padding: 16px 18px; }
.crp-why--top h3 { margin: 6px 0 4px; font-size: 16px; }
.crp-why--top p { font-size: 13.5px; line-height: 1.5; }
@media (max-width: 600px) { .crp-why--top { grid-template-columns: minmax(0, 1fr); } }
/* текст «Почему официальный дилер / дополнительные услуги» под стеной сертификатов */
.crp-text__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.crp-text__cols > div { background: #fff; border-radius: 20px; padding: 28px 30px; }
.crp-text .ab2-h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 12px; }
.crp-text p { margin: 0 0 14px; line-height: 1.6; color: #4d4243; }
.crp-text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.crp-text li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: #4d4243; }
.crp-text li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.crp-text li b { color: var(--blue); }
.crp-text li a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--pink) 45%, transparent); text-underline-offset: 3px; }
.crp-text li a:hover { color: var(--pink); }
.crp-text__note { margin: 24px 0 0 !important; background: #fff; border-left: 4px solid var(--pink); border-radius: 0 16px 16px 0; padding: 18px 24px; }
.crp-text__note a { color: var(--pink); font-weight: 600; white-space: nowrap; text-decoration: none; }
@media (max-width: 900px) { .crp-text__cols { grid-template-columns: minmax(0, 1fr); } .crp-text__cols > div { padding: 22px 20px; } }
@media (max-width: 1000px) {
  .crt--page.crt--v3 .crt__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .crp-facts { grid-template-columns: minmax(0, 1fr); }
  .crt--page.crt--v3 .crt__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crt--page.crt--v3 .crt__ph { height: 220px; }
  .crp-why { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Главная: анимированные преимущества (09.11.2026; скрипт в mo.js) ===== */
.benefits--anim .benefit { position: relative; overflow: hidden; isolation: isolate; padding: 22px 20px 20px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, box-shadow .3s; }
.benefits--anim .benefit b::before { display: none; }
.benefit__ic { display: block; width: 46px; height: 46px; padding: 11px; margin-bottom: 14px; border-radius: 13px; box-sizing: border-box;
  background: rgba(164, 38, 84, .35); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: background .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
/* блик и розовая линия снизу */
.benefits--anim .benefit::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.13) 50%, transparent 65%); transform: translateX(-110%); }
.benefits--anim .benefit::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--pink);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.benefits--anim .benefit:hover { transform: translateY(-5px); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.32);
  box-shadow: 0 18px 34px -18px rgba(0,0,0,.55); }
.benefits--anim .benefit:hover::after { transform: scaleX(1); }
.benefits--anim .benefit:hover::before { animation: bnf-shine .9s ease; }
.benefits--anim .benefit:hover .benefit__ic { background: var(--pink); transform: scale(1.08) rotate(-6deg); }
/* появление при прокрутке: карточки по очереди, иконки «рисуются» */
.benefits--anim.is-ready .benefit { opacity: 0; transform: translateY(28px) scale(.96); }
.benefits--anim.is-ready .benefit__ic { transform: scale(.4); opacity: 0; }
.benefits--anim.is-ready .benefit__ic > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.benefits--anim.is-in .benefit { opacity: 1; transform: none;
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, box-shadow .3s;
  transition-delay: calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), 0s, 0s, 0s; }
.benefits--anim.is-in .benefit__ic { transform: none; opacity: 1;
  transition: opacity .3s ease calc(var(--i, 0) * 110ms + 150ms), transform .6s cubic-bezier(.3,1.6,.5,1) calc(var(--i, 0) * 110ms + 150ms), background .3s; }
.benefits--anim.is-in .benefit__ic > * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease calc(var(--i, 0) * 110ms + 350ms); }
.benefits--anim.is-in .benefit::before { animation: bnf-shine 1.1s ease calc(var(--i, 0) * 110ms + 700ms) both; }
/* после появления наведение работает без задержек */
.benefits--anim.is-done .benefit, .benefits--anim.is-done .benefit__ic { transition-delay: 0s; }
.benefits--anim.is-done .benefit { transition: transform .5s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, box-shadow .3s; }
.benefits--anim.is-done .benefit__ic { transition: background .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.benefits--anim.is-done .benefit:not(:hover)::before { animation: none; }
.benefits--anim.is-done .benefit:hover::before { animation: bnf-shine .9s ease; }
.benefits--anim.is-in.is-done .benefit:hover { transform: translateY(-5px); }
/* крупная копия иконки справа (клон из mo.js) */
.benefit__bg { position: absolute; z-index: -1; right: -14px; top: 50%; width: 118px; height: 118px; pointer-events: none;
  fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .09;
  transform: translateY(-50%) rotate(-12deg); transition: opacity .4s, transform .6s cubic-bezier(.2,.8,.2,1), stroke .4s; }
.benefits--anim .benefit:hover .benefit__bg { opacity: .22; stroke: #A42654; transform: translateY(-50%) translateX(-8px) rotate(0deg) scale(1.06); }
.benefits--anim.is-ready .benefit__bg > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.benefits--anim.is-in .benefit__bg > * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s ease calc(var(--i, 0) * 110ms + 500ms); }
@media (max-width: 600px) { .benefit__bg { width: 92px; height: 92px; } }
@keyframes bnf-shine { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) {
  .benefits--anim .benefit, .benefits--anim .benefit__ic { transition: none !important; }
  .benefits--anim .benefit::before { display: none; }
}
/* «О компании», первый экран (Иван 09.11 «вода»): переключатель «Вы — …» + четыре факта с счётчиками */
.ab2-who { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 14px; }
.ab2-who__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ab2-who__lbl { font-weight: 800; color: var(--blue); margin-right: 4px; font-size: 15px; }
.ab2-who__tabs button { border: 1px solid var(--line); background: var(--grey); color: var(--blue); border-radius: 999px; padding: 7px 14px; font: 600 13px/1 Montserrat, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ab2-who__tabs button:hover { border-color: color-mix(in srgb, var(--pink) 45%, white); }
.ab2-who__tabs button.is-on { background: var(--pink); border-color: var(--pink); color: #fff; }
.ab2-who__pane { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ab2-who__pane[hidden] { display: none; }
.ab2-who__pane.is-on li { animation: ab2-who-in .35s both; } .ab2-who__pane.is-on li:nth-child(2) { animation-delay: .06s; } .ab2-who__pane.is-on li:nth-child(3) { animation-delay: .12s; }
.ab2-who__pane li { position: relative; padding: 0 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--muted); border-left: 2px solid color-mix(in srgb, var(--pink) 35%, white); }
.ab2-who__pane li b { display: block; color: var(--blue); font-size: 14px; margin-bottom: 2px; }
.ab2-who__pane li a { color: var(--pink); font-weight: 600; white-space: nowrap; }
@keyframes ab2-who-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ab2-facts { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ab2-fact { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; color: var(--muted); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ab2-fact b { display: block; font-size: 26px; font-weight: 800; color: var(--blue); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab2-fact b small { font-size: 15px; font-weight: 700; color: var(--pink); }
.ab2-fact > span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; }
.ab2-fact--link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pink) 45%, white); box-shadow: 0 12px 24px -16px rgba(164,38,84,.55); }
.ab2-fact--dark { background: var(--blue); border-color: var(--blue); color: rgba(255,255,255,.72); }
.ab2-fact--dark b { color: #fff; font-size: 20px; padding: 3px 0; }
.ab2-tick { font-style: normal; font-weight: 700; color: var(--blue); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s, transform .25s; }
.ab2-tick.out { opacity: 0; transform: translateY(-4px); }
@media (max-width: 760px) { .ab2-who__pane { grid-template-columns: 1fr; } .ab2-facts { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .ab2-who__pane.is-on li { animation: none; } .ab2-fact, .ab2-tick { transition: none; } }
/* ===== sertifikaty.html, первый экран «Витрина» (Иван 10.11.2026 выбрал вариант 1 из preview-certs-hero.html; скрипт — в certs.js) =====
   слева текст и кнопки фабрик, справа сертификат переворачивается каждые 3,5 с; ниже 4 преимущества с «рисующимися» иконками */
.ch-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ch-cert { display: block; background: #fff; padding: 6px; border-radius: 6px; box-shadow: 0 18px 34px -16px rgba(41,44,50,.45), 0 2px 6px rgba(41,44,50,.1); }
.ch-cert img { display: block; width: 100%; height: auto; border-radius: 3px; }
.crp-hero.is-anim .ch-rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.crp-hero.is-in .ch-rv { opacity: 1; transform: none; }
.crh { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 44px; align-items: start; margin-top: 18px; }
.crh h1 { margin-top: 0; }
.crh-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--pink); background: color-mix(in srgb, var(--pink) 10%, white);
  border-radius: 999px; padding: 6px 14px 6px 10px; }
.crh-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: crh-ping 1.8s infinite; }
@keyframes crh-ping { 0% { box-shadow: 0 0 0 0 rgba(164,38,84,.5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(164,38,84,0); } }
.crh-chips-h { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .05em; }
.crh-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.crh-chips button { border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 999px; padding: 7px 13px; font: 600 13px/1 Montserrat, sans-serif; cursor: pointer; position: relative; overflow: hidden; transition: color .25s, border-color .25s; }
.crh-chips button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.75); transform: scaleX(0); transform-origin: left; }
.crh-chips button:hover { border-color: var(--pink); }
.crh-chips button.is-on { background: var(--pink); border-color: var(--pink); color: #fff; }
.crh-chips button.is-on.run::after { animation: crh-bar var(--t, 3.5s) linear both; }
@keyframes crh-bar { to { transform: scaleX(1); } }
.crh-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.crh-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 700 14px/1 Montserrat, sans-serif; text-decoration: none; transition: transform .2s, border-color .2s, color .2s; }
.crh-btn--p { background: var(--pink); color: #fff; box-shadow: 0 10px 22px -12px rgba(164,38,84,.8); }
.crh-btn--p:hover { transform: translateY(-2px); color: #fff; }
.crh-btn--g { background: #fff; color: var(--blue); border: 1px solid var(--line); }
.crh-btn--g:hover { border-color: var(--pink); color: var(--pink); }
.crh-stage { position: relative; perspective: 1400px; }
.crh-card { position: relative; height: 470px; border-radius: 26px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 60% at 75% 15%, color-mix(in srgb, var(--pink) 20%, transparent), transparent 70%), linear-gradient(160deg, #f6f1f0, #ebe2e1); }
.crh-card::before { content: ""; position: absolute; inset: 18px; border: 1.5px dashed rgba(41,44,50,.15); border-radius: 18px; }
.crh-flip { position: relative; display: block; width: 262px; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.4,.1,.2,1); cursor: zoom-in; }
.crh-flip.turn { transform: rotateY(-180deg); }
.crh-flip .ch-cert { backface-visibility: hidden; }
.crh-flip .ch-cert + .ch-cert { position: absolute; inset: 0 0 auto 0; transform: rotateY(180deg); }
.crh-ghost { position: absolute; width: 220px; opacity: .55; }
.crh-ghost--l { transform: translateX(-150px) rotate(-12deg) scale(.86); }
.crh-ghost--r { transform: translateX(150px) rotate(12deg) scale(.86); }
.crh-info { position: relative; margin: -46px 22px 0; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: 0 16px 34px -18px rgba(41,44,50,.45); z-index: 2; min-height: 96px; }
.crh-info b { display: block; font-size: 19px; color: var(--blue); padding-right: 50px; }
.crh-info p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: #4d4243; }
.crh-info small { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #2f7a4b; background: #e7f4ec; border-radius: 999px; padding: 4px 10px; }
.crh-info small:empty { display: none; }
.crh-info > * { transition: opacity .3s, transform .3s; }
.crh-info.out > * { opacity: 0; transform: translateY(6px); }
/* сканы сертификатов скрыты (Certs::imagesHidden, Иван 16.11.2026): метки фабрик, карточка «копии по запросу», список текстом */
.crh-chips--static button { cursor: default; }
.crh-chips--static button:hover { border-color: var(--line); }
.crh-card--none { height: auto; min-height: 340px; padding: 40px 34px; }
.crh-none { position: relative; text-align: center; max-width: 330px; }
.crh-none .ch-ic { width: 64px; height: 64px; padding: 15px; border-radius: 18px; background: #fff; color: var(--pink); box-sizing: border-box;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 12px 26px -16px rgba(41,44,50,.5); }
.crh-none b { display: block; margin: 18px 0 8px; font-size: 21px; color: var(--blue); }
.crh-none p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: #4d4243; }
.crt--nophoto.crt--v3 .crt__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.crt--nophoto .crt__it { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 18px 46px; position: relative; }
.crt--nophoto .crt__it::before { content: ""; position: absolute; left: 20px; top: 23px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.crt--nophoto figcaption { padding: 0 !important; }
.crt--nophoto figcaption span { display: block !important; }
.crt--names .crt__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.crt--names .crt__it figcaption b { font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; }
@media (max-width: 1000px) { .crt--nophoto.crt--v3 .crt__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .crt--nophoto.crt--v3 .crt__list { grid-template-columns: minmax(0, 1fr); } .crh-card--none { min-height: 0; padding: 30px 20px; } }
.crh-n { position: absolute; right: 18px; top: 16px; font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.crh-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.crh-why > div { background: var(--grey); border-radius: 18px; padding: 18px 18px 20px; transition: transform .3s, box-shadow .3s, background .3s, opacity .6s ease; }
.crh-why > div:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 16px 30px -18px rgba(41,44,50,.4); }
.crh-why .ch-ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: #fff; color: var(--pink); box-sizing: border-box; margin-bottom: 12px; transition: background .3s, color .3s; }
.crh-why > div:hover .ch-ic { background: var(--pink); color: #fff; }
.crh-why h3 { margin: 0 0 6px; font-size: 16px; color: var(--blue); }
.crh-why p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #4d4243; }
.crp-hero.is-anim .crh-why .ch-ic > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.crp-hero.is-in .crh-why .ch-ic > * { animation: crh-draw 1.3s ease forwards; animation-delay: calc(var(--i, 0) * 120ms + 300ms); }
@keyframes crh-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1100px) {
  .crh { grid-template-columns: minmax(0, 1fr); }
  .crh-stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .crh-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .crh-why { grid-template-columns: minmax(0, 1fr); }
  .crh-card { height: 380px; } .crh-flip { width: 200px; } .crh-ghost { width: 160px; }
  .crh-ghost--l { transform: translateX(-100px) rotate(-12deg) scale(.86); } .crh-ghost--r { transform: translateX(100px) rotate(12deg) scale(.86); }
  .crh-info { margin: -40px 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .crh-tag::before { animation: none; }
  .crp-hero.is-anim .ch-rv { opacity: 1; transform: none; transition: none; }
  .crp-hero.is-anim .crh-why .ch-ic > * { stroke-dashoffset: 0; animation: none; }
  .crh-flip { transition: none; }
}

/* Блок «О серии» под всей комплектацией серии (Иван 10.11, «Две колонки»): текст слева, главные характеристики справа */
.sabout { margin-top: 40px; background: var(--grey); border-radius: 16px; padding: 22px 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px 40px; }
.sabout__title { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.sabout__text p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.sabout__text p:last-child { margin-bottom: 0; }
.sabout dl { margin: 0 0 12px; }
.sabout dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sabout dt { color: var(--muted); }
.sabout dd { margin: 0; font-weight: 600; text-align: right; }
.sabout__more { color: var(--pink); font-weight: 600; font-size: 14px; text-decoration: none; }
.sabout__more:hover, .sabout__more:focus-visible { text-decoration: underline; }
.sabout + .ptabs { margin-top: 20px; }
@media (max-width: 760px) {
  .sabout { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; gap: 18px; margin-top: 20px; }
}

/* ---------- Карточка товара «Б1 Чистый белый» (Иван 10.11, из 6 вариантов preview-phero) ----------
   Фото и карточка в одной рамке; в карточке вкладки Обзор / Характеристики / Состав серии / Доставка; внизу цена и кнопки.
   Разметка — product.js itemInfo (.pinfo--w) + .pcard--w */
.pinfo--w { gap: 0; padding-bottom: 20px; }
.pinfo--w .pw-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.pw-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--grey); color: var(--blue); font-weight: 600; font-size: 12px; }
.pw-pill i { width: 7px; height: 7px; border-radius: 50%; background: #d9a441; }
.pw-pill.is-stock i { background: #3fa365; }
.pinfo--w h1 { margin: 0; }
/* 11.11 Иван: заголовок аккуратнее и меньше; над ним раздела больше нет, «в наличии» — в строке с цветом, справа */
.pinfo.pinfo--w h1 { font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.pinfo--w .pw-under { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.pinfo--w .pw-under:empty { display: none; }
.pinfo--w .pw-under > .pw-sw { margin-top: 0; }
.pinfo--w .pw-under > .pw-pill { margin-left: 4px; }
/* цвета — кружки, название выбранного — рядом */
.pinfo--w .pw-sw { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
/* 13.11 Иван: название выбранного цвета — под кружками, а не справа */
.pinfo--w .pw-sw:not(.pw-sw--single) { flex-direction: column; align-items: flex-start; gap: 8px; }
.pinfo--w .pw-under:has(> .pw-sw:not(.pw-sw--single)) { align-items: flex-start; }
.pinfo--w .pw-under:has(> .pw-sw:not(.pw-sw--single)) > .pw-pill { margin-top: 8px; }
.pinfo--w .pw-sw .pcolors__list { gap: 10px; }
.pinfo--w .pw-sw .pcolor { width: auto; }
.pinfo--w .pw-sw .pcolor span { display: none; }
.pinfo--w .pw-sw .pcolor img { width: 36px; height: 36px; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: box-shadow .2s; }
.pinfo--w .pw-sw .pcolor:hover img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c9bcbc; }
.pinfo--w .pw-sw .pcolor.is-active img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.pinfo--w .pw-swname { margin: 0; font-size: 14px; font-weight: 400; color: var(--muted); }
.pinfo--w .pw-sw--single > img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
/* вкладки */
.pw-tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pw-tabs::-webkit-scrollbar { display: none; }
.pw-tabs button { position: relative; flex: none; border: 0; background: none; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.pw-tabs button:hover { color: var(--black); }
.pw-tabs button.is-on { color: var(--black); }
.pw-tabs button.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--blue); }
.pw-pane { padding: 16px 0 18px; min-height: 196px; font-size: 14px; line-height: 1.55; animation: pwIn .3s; }
.pw-pane[hidden] { display: none; }
@keyframes pwIn { from { opacity: .35; transform: translateY(6px); } }
.pinfo--w .pinfo__short { margin: 0 0 12px; -webkit-line-clamp: 3; }
.pw-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pw-perks div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--grey); font-size: 13px; }
.pw-i { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--pink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pw-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 13px; max-height: 230px; overflow: auto; }
.pw-dl dt, .pw-dl dd { padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.pw-dl dt { color: var(--muted); }
.pw-dl dd { margin: 0; }
.pw-bars { display: grid; gap: 7px; max-height: 240px; overflow: auto; }
.pw-bars a { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 84px; gap: 10px; align-items: center; color: var(--black); text-decoration: none; font-size: 13px; }
.pw-bars i { height: 8px; border-radius: 99px; background: #f0ebeb; overflow: hidden; }
.pw-bars i::before { content: ""; display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #c9b4b5, var(--blue)); animation: pwBar .8s cubic-bezier(.2, .8, .2, 1); }
@keyframes pwBar { from { width: 0; } }
.pw-bars small { text-align: right; color: var(--muted); white-space: nowrap; }
.pw-bars a:hover small { color: var(--blue); }
.pw-bars a:hover i::before { background: linear-gradient(90deg, #A42654, var(--pink)); }
.pw-city { padding: 14px 16px; border-radius: 14px; background: var(--grey); }
.pw-city small { display: block; color: var(--muted); font-size: 12.5px; }
.pw-city b { font-size: 16px; }
.pw-city ul { margin: 8px 0 8px; padding-left: 18px; color: #4a3f40; }
.pw-city a { color: var(--blue); font-weight: 600; font-size: 13px; text-decoration: none; }
.pw-city a:hover { color: var(--pink); }
/* цена и кнопки: цена слева, сердце/поделиться и кнопка справа, «Купить в 1 клик» / «Задать вопрос» строкой ниже */
.pinfo--w .pw-buy { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 12px; margin: auto 0 0; padding: 18px 0 0; background: none; border-radius: 0; border-top: 1px solid var(--line); }
.pinfo--w .pbuy__sum { color: var(--muted); font-size: 14px; }
.pinfo--w .pbuy__sum b { display: inline-block; color: #292C32; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.pinfo--w .pbuy__price p { font-size: 12.5px; }
.pinfo--w .pbuy__act { order: 3; }
.pinfo--w .pw-icons { order: 2; display: flex; gap: 8px; }
.pinfo--w .pw-icons .pinfo__fav { width: 50px; height: 50px; border-radius: 12px; }
.pinfo--w .pbuy__act .pinfo__pricelist { min-width: 180px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.pw-links { order: 4; grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 22px; font-size: 14px; }
.pw-links a { color: var(--blue); text-decoration: underline dotted; text-underline-offset: 3px; }
/* 13.11 Иван (кресло Смарт RCH 8074, вариант «1 — без плашки» из конструктора): отдельный товар (#pBuy), сетка 3 колонки —
   «Цена: N ₽» по центру первой колонки, напротив во 2–3 колонках справа «− N +» и «В корзину» (240 px);
   строкой ниже ♥/«поделиться» слева, «Купить в 1 клик» / «Задать вопрос» справа. Сверху — тонкая линия, без плашки.
   body-префикс и !important — сильнее раскладки из buy-approved.js; на телефоне (≤600px) — как было. */
@media (min-width: 601px) {
  body .pinfo--w .pbuy:has(#pBuy) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-items: center !important; gap: 12px 16px !important;
    background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding: 18px 0 0 !important; margin-top: 14px !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pbuy__price { grid-column: 1 / span 1 !important; grid-row: 1; justify-self: center !important; align-self: center; text-align: center !important; min-width: 0; margin: 0 !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pbuy__sum b { font-size: 32px !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pbuy__act { grid-column: 2 / span 2 !important; grid-row: 1; justify-self: end !important; width: auto !important; align-items: stretch; order: 0; margin: 0 !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pbuy__row { width: auto !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pbuy__row #pBuy { flex: 0 0 240px !important; min-width: 240px !important; max-width: 240px !important; height: 54px !important; min-height: 54px !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pbuy__row .elqty { height: 54px !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pw-icons { grid-column: 1 / span 1 !important; grid-row: 2; justify-self: start !important; display: flex !important; gap: 8px; order: 0; margin: 0 !important; }
  body .pinfo--w .pbuy:has(#pBuy) .pw-icons .pinfo__fav, body .pinfo--w .pbuy:has(#pBuy) .pw-icons button:not(.pshare__panel button) { width: 40px !important; height: 40px !important; background: #fff; }
  body .pinfo--w .pbuy:has(#pBuy) .pw-links { grid-column: 2 / span 2 !important; grid-row: 2; justify-self: end !important; align-self: center; display: flex !important; justify-content: flex-end; gap: 18px; order: 0; margin: 0 !important; }
}
/* 13.11 Иван, верх «A — Компактно»: наличие («В наличии: N шт.») — в строке с названием цвета под кружками; текст «Обзора» — 3 строки,
   плитки преимуществ компактнее, чтобы вкладка помещалась без прокрутки */
.pinfo--w .pw-namerow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pinfo--w .pw-namerow .pw-pill { margin: 0 !important; }
@media (min-width: 601px) {
  .pinfo--w .pw-under { gap: 6px 16px; }
  .pinfo--w .pinfo__short { -webkit-line-clamp: 3; margin: 0 0 10px; }
  .pinfo--w .pw-perks { gap: 6px; }
  .pinfo--w .pw-perks div { padding: 7px 10px; font-size: 12.5px; border-radius: 10px; }
}
/* 17.11 Иван: разделы с товарами Комуса — подразделы с круглым фото и видами товара (ссылки на подборки, для SEO) */
.cht[hidden] { display: none !important; }
/* 17.11: «Мебель для вашего офиса» на карточках товаров Комуса */
.kmeb { margin: 34px 0 10px; }
.kmeb .section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.kmeb .section__head h2 { margin: 0; }
.kmeb__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .kmeb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.subcats:has(.kcats) { display: block; }
/* компактно (Иван 17.11): фото 76 px слева, название и виды справа; подразделы — в одну-две строки */
.kcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px 22px; margin: 4px 0 20px; }
.kcat { min-width: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.kcat > :not(.kcat__img) { grid-column: 2; }
.kcat__img { grid-row: 1 / span 2; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #f1eeed; overflow: hidden; }
/* низ фото Комуса со значками-характеристиками («65 л», «30 листов») срезаем: показываем верхние ~80 % кадра */
.kcat__img img { width: 80%; height: 66%; object-fit: cover; object-position: 50% 0; margin-top: 4%; mix-blend-mode: multiply; transition: transform .25s; }
.kcat__img:hover img { transform: scale(1.06); }
.kcat__t { display: block; margin: 2px 0 5px; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--blue); text-decoration: none; }
.kcat__t:hover { color: var(--pink); }
.kcat em, .kcat__t em { font-style: normal; font-weight: 400; color: #a5a1a0; }
.kcat ul { margin: 0; padding: 0; list-style: none; }
.kcat li { margin: 0 0 3px; font-size: 13px; line-height: 1.3; }
.kcat li a { color: #3d3a39; text-decoration: none; }
.kcat li a:hover { color: var(--pink); }
@media (max-width: 600px) { .kcats { grid-template-columns: 1fr; gap: 14px; } }
/* 17.11 Иван: у товаров «Всё для офиса» три плитки в один ряд — «Обзор» помещается без полосы прокрутки */
@media (min-width: 601px) {
  .pinfo--w .pw-perks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pinfo--w .pw-perks--3 div { gap: 7px; line-height: 1.25; }
  .pinfo--w .pw-pane:has(.pw-perks--3) .pinfo__short { -webkit-line-clamp: 4; }   /* текст до 170 знаков — целиком, без «…» */
}
.pw-links a:hover { color: var(--pink); }
/* одна рамка на фото и карточку (широкий экран); миниатюры — стеклянной полосой внизу фото */
@media (min-width: 1101px) {
  /* 10.11: overflow: hidden на карточке обрезал меню «Поделиться» — скругляем колонки по отдельности */
  .pcard.pcard--w { gap: 0; border: 1px solid var(--line); border-radius: 22px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .pcard.pcard--w .pinfo--w { border: 0; border-radius: 0 21px 21px 0; align-self: stretch; padding: 28px 32px 22px; }
  .pcard.pcard--w .gallery { position: relative; top: 0; border-radius: 21px 0 0 21px; overflow: hidden; }   /* styles.css: sticky top 96px — при relative сдвигал фото вниз */
  /* 10.11 листалка «Фото + лента» (Иван выбрал вариант 1 из 5): фото на всю площадь без размытых полей, под ним белая лента
     миниатюр. Высоту ряда задаёт карточка справа; фото — absolute, поэтому при перелистывании размер не меняется */
  .pcard.pcard--w .gallery { display: flex; flex-direction: column; background: #fff; }
  /* фото НИКОГДА не обрезаем (Иван 10.11: срезало низ и знак Мастер Офис) — целиком, поля белые */
  .pcard.pcard--w .gallery__main { flex: 1 1 0; min-height: 0; border-radius: 0; background: #fff; }
  .pcard.pcard--w .gallery__main::before { content: none; }
  .pcard.pcard--w .gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .pcard.pcard--w .gallery__main.is-fit { background: #fff; }
  .pcard.pcard--w .gallery__main.is-fit img { object-fit: contain; padding: 12px; }   /* кресло на белом — целиком */
  .pcard.pcard--w .gallery__count { top: 14px; bottom: auto; }
  .pcard.pcard--w .gallery__arrow { opacity: 0; transition: opacity .2s; }
  .pcard.pcard--w .gallery:hover .gallery__arrow { opacity: .9; }
  .pcard.pcard--w .gallery__strip { position: static; margin: 0; padding: 10px 12px; gap: 0; border-top: 1px solid var(--line); background: #fff; }
  .pcard.pcard--w .gallery__nav { display: none; }
  .pcard.pcard--w .gallery__strip .gallery__thumbs { gap: 8px; scroll-behavior: smooth; }
  /* 11.11 Иван (образец — сайт фабрики): миниатюра = фото целиком на белом, без обрезки и затемнения; выбранная — розовая рамка */
  .pcard.pcard--w .gallery__strip .gallery__thumbs button { position: relative; width: 104px; height: 84px; padding: 3px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; opacity: 1; transition: border-color .2s; }
  .pcard.pcard--w .gallery__strip .gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .pcard.pcard--w .gallery__strip .gallery__thumbs button::after { content: none; }
  .pcard.pcard--w .gallery__strip .gallery__thumbs button:hover { border-color: #e7b9c9; }
  .pcard.pcard--w .gallery__strip .gallery__thumbs button.is-active { border-color: var(--pink); }
  /* вкладки карточки одной высоты (Иван: при переключении менялся размер) — длинное содержимое листается внутри */
  .pcard.pcard--w .pw-pane { height: 184px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  .pcard.pcard--w .pw-dl, .pcard.pcard--w .pw-bars { max-height: none; overflow: visible; }
  /* 11.11 Иван: цена по центру своей колонки и по высоте кнопок (как у Метты) — без пустоты справа */
  .pcard.pcard--w .pbuy__price { align-self: center; justify-self: center; text-align: center; }
}
@media (max-width: 600px) {
  .pw-perks { grid-template-columns: 1fr; }
  .pw-bars a { grid-template-columns: 110px 1fr 74px; }
  .pinfo--w .pw-buy { grid-template-columns: minmax(0, 1fr) auto; }
  .pinfo--w .pbuy__act { grid-column: 1 / -1; }
  .pinfo--w .pbuy__act .pinfo__pricelist { width: 100%; max-width: none; }
  .pw-links { justify-content: space-between; }
  .pw-pane { min-height: 0; }
}

/* Метта: целое кресло крупным планом и лента без обрезки (Иван, 11.11). */
.pcard .gallery--metta .gallery__main img {
  object-fit: contain;
  padding: 0;
  transform: none;   /* было scale(1.22) — фото Метты обрезаны по креслу 24.11 */
  transform-origin: center;
}
.gallery.gallery--metta .gallery__strip .gallery__thumbs button {
  width: 110px;
  height: 88px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  opacity: 1;
}
.gallery.gallery--metta .gallery__strip .gallery__thumbs button.is-active {
  border-color: var(--pink);
}
.gallery.gallery--metta .gallery__strip .gallery__thumbs button::after { content: none; }
.gallery.gallery--metta .gallery__strip .gallery__thumbs img {
  display: block;
  object-fit: contain;
  transform: scale(1.18);
}
@media (min-width: 1101px) {
  .pcard.pcard--w .gallery--metta .gallery__main img { padding: 0; }
  .pcard.pcard--w .gallery--metta .gallery__strip {
    flex: 0 0 var(--metta-strip-height, 123px);
    min-height: 0;
    align-items: flex-start;
    padding: 12px;
  }
  .pcard.pcard--w .gallery--metta .gallery__strip .gallery__thumbs button {
    height: min(88px, calc(var(--metta-strip-height, 123px) - 25px));
  }
}
@media (max-width: 1100px) {
  .pcard .gallery--metta .gallery__main { height: clamp(300px, 55vh, 520px); }
  .pcard .gallery--metta .gallery__main img { height: 100%; max-height: none; }
  .gallery.gallery--metta .gallery__strip .gallery__thumbs button { width: 88px; height: 72px; }
}

/* Метта: непрерывный разделитель и цена на одной линии с количеством и кнопкой корзины. */
@media (min-width: 1101px) {
  .pcard.pcard--w:has(.gallery--metta) .pw-buy {
    position: relative;
    border-top-color: transparent;
    padding-top: 22px;
  }
  .pcard.pcard--w:has(.gallery--metta) .pw-buy::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -32px;
    right: -32px;
    height: 1px;
    background: var(--line);
    pointer-events: none;
  }
  .pcard.pcard--w:has(.gallery--metta) .pbuy__price {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    text-align: center;
  }
  .pcard.pcard--w:has(.gallery--metta) .pw-icons { grid-column: 2; grid-row: 1; }
  .pcard.pcard--w:has(.gallery--metta) .pbuy__act { grid-column: 3; grid-row: 1; }
  .pcard.pcard--w:has(.gallery--metta) .pw-links { grid-column: 2 / -1; grid-row: 2; }
  .pcard.pcard--w .gallery--metta .gallery__strip { align-items: center; }
}
@media (min-width: 1101px) and (max-width: 1400px) {
  .pcard.pcard--w:has(.gallery--metta) .pw-buy { grid-template-columns: minmax(0, 1fr) 180px; }
  .pcard.pcard--w:has(.gallery--metta) .pbuy__price { grid-row: 1 / 4; }
  .pcard.pcard--w:has(.gallery--metta) .pw-icons { justify-self: end; }
  .pcard.pcard--w:has(.gallery--metta) .pbuy__act { grid-column: 2; grid-row: 2; }
  .pcard.pcard--w:has(.gallery--metta) .pbuy__row { flex-direction: column; width: 180px; }
  .pcard.pcard--w:has(.gallery--metta) .pbuy__row .elqty { flex: none; height: 48px; width: 100%; }
  .pcard.pcard--w:has(.gallery--metta) .pw-links { grid-column: 2; grid-row: 3; flex-direction: column; align-items: flex-end; gap: 6px; }
}

/* Метта в корзине: тот же масштаб предмета, что в превью каталога. */
:is(.cc__img, .mc-row__img):has(img:is([src$="/mt1.webp"], [src$="/mt2.webp"])) {
  overflow: hidden;
  background: #fff;
}
:is(.cc__img, .mc-row__img) img:is([src$="/mt1.webp"], [src$="/mt2.webp"]) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;   /* было scale(1.22) — фото Метты обрезаны по креслу 24.11 */
  transform-origin: center;
}

/* Иван 12.11.2026: Ягода → графит, Прайс-лист и В корзину в товарах. */
.pinfo__pricelist,
.product__buy.el__buy:not(.is-added),
.el-buy__cart:not(.is-added) {
  background: linear-gradient(155deg,#A42654 0%,#963058 48%,#542c40 76%,#29252d 100%) !important;
  border: 1px solid #943453 !important;
  color: #fff !important;
  transition: filter .2s, box-shadow .2s, transform .2s;
}
.pinfo__pricelist:hover,
.product__buy.el__buy:not(.is-added):hover,
.el-buy__cart:not(.is-added):hover {
  filter: brightness(1.09);
  box-shadow: 0 4px 12px #542c4026;
  transform: translateY(-1px);
}
.pinfo__pricelist:focus-visible,
.product__buy.el__buy:focus-visible,
.el-buy__cart:focus-visible { outline: 3px solid #A42654; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .pinfo__pricelist, .product__buy.el__buy, .el-buy__cart { transition: none; transform: none !important; }
}

/* Иван 12.11.2026: Каталог — Графит + ягода. */
.btn-catalog {
 background: radial-gradient(ellipse at 50% 0%,#8f3657 0%,#3c202d 52%,#171519 100%) !important;
 border: 1px solid #694451 !important;
 color: #fff !important;
 transition: filter .2s, box-shadow .2s;
}
.btn-catalog:hover { filter: brightness(1.12); box-shadow: 0 3px 10px #542c4026; }
.btn-catalog:focus-visible { outline: 3px solid #A42654; outline-offset: 3px; }
.btn-catalog .burger i { background: #fff; }
@media (prefers-reduced-motion: reduce) { .btn-catalog { transition: none; } }

/* Иван 12.11.2026: правые промобаннеры, вариант 1 «Графит → ягода». */
.promo__band {
 background: radial-gradient(ellipse at 50% 0%,#703047 0%,#30242c 55%,#19171c 100%) !important;
 color: #fff !important;
}
.promo__band em { color: #f3accb !important; }
.promo__side small { color: #e0d9df !important; }
.promo__go {
 background: linear-gradient(145deg,#A42654,#542c40) !important;
 color: #fff !important;
 border: 1px solid transparent !important;
 box-shadow: none !important;
}
.promo:hover .promo__go { transform: translateX(3px); filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) {
 .promo__go { transition: none !important; transform: none !important; }
}

/* Codex 2026-11-12: выбран Иваном вариант 1 каталога; только тестовая копия. */
.filters--tiles{background:transparent!important;padding:8px!important;border-radius:14px}
.filters--tiles :is(h2,h3){color:#282b30!important}
.filters--tiles #fCats .fcheck{background:#fff!important;color:#282b30!important;border:1px solid #dfe3e8!important;border-radius:11px;box-shadow:none;transition:border-color .16s}
.filters--tiles #fCats .fcheck:hover{border-color:#a42654!important}
.filters--tiles #fCats .fcheck[aria-current]{background:#282b30!important;color:#fff!important;border-color:#282b30!important}
.filters--tiles #fCats .fcheck small{color:inherit!important;opacity:.8}
.filters--tiles .fcheck__icon{background:#edf0f4!important;color:#565d68!important}
.filters--tiles .fcheck[aria-current] .fcheck__icon{background:#ffffff22!important;color:inherit!important}
.filters--tiles #fCats .fcheck span{color:inherit!important}

/* master-office-final */
.dm-logo{max-width:100%;}
.dm-logo--white{background-color:white;border-radius:4px;background-size:calc(100% - 12px) auto;}
@media(max-width:480px){.dm-logo{height:30px;}.header.is-scrolled .dm-logo{height:28px;}.footer--v2 .footer__brand .dm-logo{height:38px;}}

/* Approved by Ivan: palette 1, graphite and berry, 2026-11-12. */
:root{--blue:#292C32;--blue-dark:#292C32;--pink:#A42654;--pink-dark:#A42654;--grey:#F6F4F5;--line:#E9E4E7}
.showcase,.footer{background:#292C32;color:#fff}
.showcase__swatches button{color:inherit;border-color:currentColor}
.showcase__swatches button.is-active{background:#fff;color:#292C32}
#about{background:#292C32;color:#fff;--pink:#A42654}
#about .benefit{background:#363940;color:#fff;border-color:rgba(255,255,255,.18)}
#about .benefit:hover{background:#363940;border-color:#A42654}
#about .benefit__ic{background:#A42654;stroke:#fff}
#about .benefit__bg{stroke:#fff}
#about .btn--pink{background:#A42654;color:#fff}
#about .btn--pink:hover{filter:brightness(1.12)}
/* Иван: выбран вариант 1 шапки, 12.11.2026. Только тестовая копия. */
@media (min-width: 1100px) {
  .header__in { display:grid!important; grid-template-columns:220px 132px minmax(260px,1fr) 168px 240px 158px!important; gap:24px!important; padding-top:22px!important; padding-bottom:22px!important; align-items:center!important; }
  .header__in > * { margin:0!important; min-width:0; }
  .header .dm-logo, .header.is-scrolled .dm-logo { width: 100%; }
  .header-search { width:100%!important; max-width:none; }
  .header__icons { justify-content:space-between!important; }
  .header__phone { width:auto!important; }
  .logo img { max-width:190px!important; }
  .search { width:100%!important; }
  .hcall { display:inline-flex!important; }
}
/* На небольшом ноутбуке уменьшаем интервалы, сохраняя все элементы. */
@media (min-width:1100px) and (max-width:1399px) {
  .header__in { grid-template-columns:minmax(177px,204px) 115px minmax(180px,1fr) 145px 205px 130px!important; gap:16px!important; }
  .logo img { max-width:155px!important; }
  .hcall { font-size:12px; padding-left:10px; padding-right:10px; }
}

/* Исправление высоты закреплённой шапки: контент + отступы вместо старых 62px. */
@media (min-width:1100px) {
  .header .header__in { height:auto!important; min-height:88px; box-sizing:border-box; }
  .header.is-scrolled .header__in { height:auto!important; min-height:76px; padding-top:12px!important; padding-bottom:12px!important; }
  .header .header__email { font-size:13px; font-weight:400; line-height:1.4; }
}

/* Иван: баннер «Остались вопросы?» — утверждён вариант 1, 12.11.2026. Тестовый сайт, все страницы. */
.ask {
  padding:34px!important;
  border:1px solid #714454;
  box-shadow:0 12px 28px #3215221a!important;
  gap:38px!important;
  background:radial-gradient(ellipse at 50% 0,#793349 0,transparent 65%),linear-gradient(120deg,#36202b,#211b20);
}
.ask__fields { gap:12px; }
.ask .ask__fields input,.ask .ask__fields textarea { border-radius:8px; padding:12px 14px; }
.ask__bar { margin-top:16px; }
.ask__consent.check { margin-top:12px; }
.ask__send {
  padding:12px 26px;
  background:linear-gradient(145deg,#A42654,#742444 65%,#291d25);
  border:1px solid #A42654;
  box-shadow:0 3px 8px #0002;
}
.ask__send:hover { background:linear-gradient(145deg,#A42654,#893052 65%,#382430); }
@media(max-width:800px) { .ask { padding:22px!important; } }

/* Иван: логотип — анимация 3, однотонный водяной знак. 12.11.2026. */
.showcase::before {
  background-image:url("icons/master-office-animated-3.svg?v=final1")!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-color:transparent!important;
  opacity:.12!important;
  filter:none!important;
}
.footer--v2 .footer__brand .footer__logo {
  content:url("icons/master-office-animated-3.svg?v=final1");
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  opacity:.9;
  height:auto!important;
  width:220px;
  max-width:100%;
  filter:none!important;
}
.footer--v2 .footer__brand .dm-logo {
  background:url("icons/master-office-animated-3.svg?v=final1") center / contain no-repeat!important;
  background-color:transparent!important;
  border-radius:0!important;
  opacity:.9;
}


/* Catalog design selector: test preview only. */
.catalog-design-preview{max-width:1180px;margin:20px auto;padding:18px;background:#f6f4f4;color:#30292b;border:1px solid #e9e4e4;border-radius:14px;font-family:Montserrat,Arial,sans-serif}
.catalog-design-preview>div{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.catalog-design-preview button{font:inherit;font-size:13px;padding:10px 12px;border:1px solid #c7babe;border-radius:8px;background:#fff;color:#453536;cursor:pointer}
.catalog-design-preview button[aria-pressed=true]{background:#453536;color:#fff;border-color:#a42654}
.catalog-design-preview small{display:block}
html[data-catalog-design] .btn-catalog{min-height:44px;height:44px;white-space:nowrap;flex-shrink:0}
html[data-catalog-design="2"] .btn-catalog{border-radius:9px!important;border-color:#555!important;background:linear-gradient(#41444a,#292c32)!important}
html[data-catalog-design="2"] .btn-catalog:hover{box-shadow:inset 0 1px 1px #fff5,0 10px 15px -5px #0006,0 0 12px #a4265466!important}
html[data-catalog-design="2"] .btn-catalog::after{display:none}
html[data-catalog-design="3"] .btn-catalog{border-radius:16px!important;border:2px solid #a42654!important;background:#292c32!important}
html[data-catalog-design="3"] .btn-catalog:hover{box-shadow:inset 0 0 8px #a4265488,0 0 4px #f5b1cb,0 0 22px #a42654aa!important}
html[data-catalog-design="3"] .btn-catalog::after{display:none}
html[data-catalog-design="4"] .btn-catalog{border-radius:12px!important;border-color:#363636!important;border-left:5px solid #a42654!important;background:linear-gradient(110deg,#35262c,#292c32 70%)!important}
html[data-catalog-design="4"] .btn-catalog:hover{background:linear-gradient(110deg,#721d3c,#292c32 80%)!important;box-shadow:-5px 0 17px #a4265466,0 12px 16px -6px #0006!important}
html[data-catalog-design="5"] .btn-catalog{border-radius:14px!important;border-color:#444!important;background:linear-gradient(#41444a,#292c32)!important;box-shadow:inset 0 1px 1px #fff3,0 4px 0 #090909,0 15px 17px -6px #0007!important}
html[data-catalog-design="5"] .btn-catalog:hover{transform:translateY(-7px);box-shadow:inset 0 1px 1px #fff3,0 4px 0 #090909,0 20px 20px -6px #0008,0 9px 16px -7px #a42654!important}
html[data-catalog-design="5"] .btn-catalog::after{display:none}
html[data-catalog-design="6"] .btn-catalog{border-radius:22px!important;background:linear-gradient(#41444a,#292c32)!important}
html[data-catalog-design="6"] .btn-catalog:hover{background:radial-gradient(ellipse at 10% 100%,#a42654,transparent 65%),radial-gradient(ellipse at 85% 0%,#d17899aa,transparent 50%),#292c32!important;box-shadow:inset 0 1px 2px #fffa,inset 0 -2px 4px #dc719b,0 0 22px #a4265499,0 14px 18px -6px #0006!important}

/* Additional catalog alternatives 7–11. */
html[data-catalog-design="7"] .btn-catalog{border-radius:999px!important;border:3px double #c96c8e!important;background:linear-gradient(#41444a,#292c32)!important;box-shadow:inset 0 0 0 2px #111,0 10px 16px -6px #0007!important}
html[data-catalog-design="7"] .btn-catalog:hover{box-shadow:inset 0 0 0 2px #111,inset 0 0 14px #a4265477,0 0 18px #a4265499!important}
html[data-catalog-design="8"] .btn-catalog{border-radius:5px 22px 5px 22px!important;background:linear-gradient(135deg,#41444a,#292c32 65%)!important;border-color:#71505d!important}
html[data-catalog-design="8"] .btn-catalog:hover{background:linear-gradient(135deg,#842748,#292c32 65%)!important;box-shadow:-5px -3px 15px #a4265455,5px 8px 18px #0005!important}
html[data-catalog-design="9"] .btn-catalog{border-radius:14px!important;background:#292c32!important;border-color:#3a3034!important;gap:14px}
html[data-catalog-design="9"] .btn-catalog .burger{background:#a42654;border-radius:8px;padding:8px;box-shadow:inset 0 1px 1px #fff4}
html[data-catalog-design="9"] .btn-catalog:hover .burger{box-shadow:0 0 14px #a42654bb,inset 0 1px 1px #fff8}
html[data-catalog-design="9"] .btn-catalog:hover{background:#292c32!important;box-shadow:0 12px 16px -6px #0007!important}
html[data-catalog-design="9"] .btn-catalog::after{display:none}
html[data-catalog-design="10"] .btn-catalog{border-radius:10px!important;background:linear-gradient(#41444a,#292c32)!important;border-color:#383838!important;border-bottom:3px solid #a42654!important}
html[data-catalog-design="10"] .btn-catalog:hover{background:radial-gradient(ellipse at 50% 120%,#a42654aa,transparent 70%),#292c32!important;box-shadow:0 12px 16px -7px #a42654dd,0 16px 20px -8px #0008!important}
html[data-catalog-design="10"] .btn-catalog::after{display:none}
html[data-catalog-design="11"] .btn-catalog{border-radius:18px!important;border-color:#777!important;background:linear-gradient(175deg,#555 0%,#252525 20%,#292c32 52%,#222 90%,#444)!important;box-shadow:inset 0 1px 2px #fffa,inset 0 -1px 2px #fff5,0 12px 17px -7px #0008!important}
html[data-catalog-design="11"] .btn-catalog:hover{border-color:#d184a0!important;background:linear-gradient(175deg,#875065,#30212a 20%,#292c32 52%,#391522 90%,#a42654)!important;box-shadow:inset 0 1px 2px #fffc,inset 0 -1px 3px #e399b4,0 0 18px #a4265477,0 14px 20px -7px #0008!important}
/* Ivan: preview contact buttons with the selected catalog corner shape. */
html body .ct2 .ct2__btn, html body #cmapRoute {
  border-radius: 5px 22px 5px 22px !important;
}

/* Header logo previews: original artwork remains intact. */
.logo-design-preview{max-width:1180px;margin:18px auto;padding:18px;background:#f6f4f4;border:1px solid #e9e4e4;border-radius:14px;color:#30292b;font-family:Montserrat,Arial,sans-serif}
.logo-design-preview>div{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.logo-design-preview button{font:inherit;font-size:13px;padding:10px 12px;border:1px solid #c7babe;border-radius:8px;background:#fff;color:#453536;cursor:pointer}.logo-design-preview button[aria-pressed=true]{background:#453536;color:#fff;border-color:#a42654}
html[data-logo-design] .header .logo{position:relative;isolation:isolate;overflow:visible;transform:translateY(-2px);transition:transform .3s,filter .3s;flex-shrink:0}
html[data-logo-design] .header .logo:hover{transform:translateY(-5px)}
html[data-logo-design="1"] .header .logo{filter:drop-shadow(0 7px 4px #0004)}
html[data-logo-design="1"] .header .logo:hover{filter:drop-shadow(0 10px 5px #0005)}
html[data-logo-design="2"] .header .logo{filter:drop-shadow(0 5px 3px #0003) drop-shadow(0 3px 5px #a4265433)}
html[data-logo-design="2"] .header .logo:hover{filter:drop-shadow(0 8px 5px #0004) drop-shadow(0 0 8px #a4265477)}
html[data-logo-design="3"] .header .logo::before,html[data-logo-design="4"] .header .logo::before{content:'';position:absolute;inset:-10px -12px;z-index:-1;background:linear-gradient(#fff,#f7f5f5);border:1px solid #e4dade;border-radius:12px;box-shadow:inset 0 1px 1px #fff,0 3px 0 #d4ced0,0 12px 16px -5px #0004;transition:box-shadow .3s}
html[data-logo-design="3"] .header .logo:hover::before{box-shadow:0 3px 0 #d4ced0,0 15px 18px -6px #0005,0 0 14px #a4265433}
html[data-logo-design="4"] .header .logo::before{border-radius:5px 22px 5px 22px;border-color:#a4265477;box-shadow:inset 0 1px 1px #fff,0 3px 0 #c7b9bf,0 12px 17px -5px #0005}
html[data-logo-design="4"] .header .logo:hover::before{box-shadow:inset 0 1px 1px #fff,0 3px 0 #c7b9bf,0 14px 18px -5px #0005,0 0 16px #a4265455}
html[data-logo-design="5"] .header .logo{filter:drop-shadow(0 5px 3px #0003)}
html[data-logo-design="5"] .header .logo::after{content:'';position:absolute;left:5%;right:5%;height:3px;bottom:-9px;background:linear-gradient(90deg,transparent,#a42654,transparent);box-shadow:0 3px 9px #a4265477;transition:opacity .3s;opacity:.55}
html[data-logo-design="5"] .header .logo:hover::after{opacity:1}
html[data-logo-design="6"] .header .logo{filter:drop-shadow(1px 2px 0 #fff) drop-shadow(0 5px 1px #0003) drop-shadow(0 11px 5px #0003)}
html[data-logo-design="6"] .header .logo:hover{filter:drop-shadow(1px 2px 0 #fff) drop-shadow(0 7px 1px #0003) drop-shadow(0 15px 6px #a4265444)}
@media(prefers-reduced-motion:reduce){html[data-logo-design] .header .logo{transition:none;transform:none}}

/* Метки каталога: компактные глянцевые капсулы, вариант 01. */
.product__sticker {
  --sticker-light: #d92b82;
  --sticker-mid: #a40955;
  --sticker-dark: #61052f;
  left: 8px;
  top: 8px;
  clip-path: none;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: linear-gradient(170deg, rgba(255,255,255,.38), transparent 36%), linear-gradient(155deg, var(--sticker-light), var(--sticker-mid) 48%, var(--sticker-dark) 78%, var(--sticker-mid));
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(45,0,25,.35);
  white-space: nowrap;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.65), inset 0 -2px 3px rgba(30,0,25,.3), 0 2px 5px rgba(75,5,42,.18);
  pointer-events: none;
}
.product__sticker.is-hit {
  --sticker-light: #a137ad;
  --sticker-mid: #70106f;
  --sticker-dark: #39053e;
}
.product__sticker::before {
  content: "";
  position: absolute;
  inset: 2px 8px auto;
  height: 36%;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,.32), rgba(255,255,255,0));
}
@media (max-width: 600px) {
  .product__sticker {
    left: 6px;
    top: 6px;
    font-size: 10px;
    padding: 3px 9px;
  }
}

/* Keep glossy hit treatment above earlier catalogue color overrides. */
.product .product__sticker.is-hit {
 background: linear-gradient(170deg, rgba(255,255,255,.38), transparent 36%), linear-gradient(155deg, #a137ad, #70106f 48%, #39053e 78%, #70106f);
 color: #fff;
}
/* Иван, 13.11.2026: показываем только фактическую метку «Новинка». */
.product__sticker.is-hit,
.product__label--hit {
  display: none !important;
}
/* Approved by Ivan 13.11.2026: anthracite button fill, preserve borders and effects. */
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"]) {
  background: linear-gradient(180deg,#41444a 0%,#33363c 25%,#292c32 70%,#303339) !important;
}
:is(.btn--blue, .product__buy, .btn-catalog, .ct2__btn, [id="cmapRoute"], [id="callback"] button[type="submit"]):is(:hover,:focus-visible) {
  background: linear-gradient(165deg,#64122f,#302630 65%,#292c32) !important;
}
/* ===== Страница «Отзывы клиентов» (otzyvy.html, Иван 17.11.2026): благодарственные письма + просмотр во весь экран ===== */
.otz-hero { padding-bottom: 40px; }
.otz-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.otz-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--pink); background: #a426541a; border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
.otz-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; }
.otz-facts li { background: var(--grey); border-radius: 14px; padding: 12px 16px; min-width: 132px; }
.otz-facts b { display: block; font-size: 20px; color: var(--blue); }
.otz-facts span { font-size: 13px; color: var(--muted); }
.otz-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.otz-fan { position: relative; height: 420px; }
.otz-fan img { position: absolute; top: 20px; left: 50%; width: 230px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top;
  border-radius: 10px; background: #fff; box-shadow: 0 18px 40px rgba(41,44,50,.18); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.otz-fan img:nth-child(1) { transform: translateX(-112%) rotate(-9deg) translateY(28px); }
.otz-fan img:nth-child(2) { transform: translateX(12%) rotate(8deg) translateY(28px); }
.otz-fan img:nth-child(3) { transform: translateX(-50%); z-index: 2; }
.otz-fan:hover img:nth-child(1) { transform: translateX(-122%) rotate(-12deg) translateY(20px); }
.otz-fan:hover img:nth-child(2) { transform: translateX(22%) rotate(11deg) translateY(20px); }
.otz-fan:hover img:nth-child(3) { transform: translateX(-50%) translateY(-8px); }

.otz-wall__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.otz-wall__head h2 { margin: 0; }
.otz-wall__head p { margin: 0; color: var(--muted); }
.otz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.otz-card { display: flex; flex-direction: column; gap: 6px; text-align: left; border: 0; padding: 14px 14px 18px; background: #fff; border-radius: 18px;
  font: inherit; color: var(--blue); cursor: zoom-in; box-shadow: 0 2px 12px rgba(41,44,50,.05); transition: transform .3s, box-shadow .3s; }
.otz-card:hover, .otz-card:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(41,44,50,.13); }
.otz-card__ph { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #f3f1f2; margin-bottom: 8px; }
.otz-card__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s; }
.otz-card:hover .otz-card__ph img { transform: scale(1.04); }
.otz-card__ph::after { content: "Читать письмо"; position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 8px); background: var(--pink); color: #fff;
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 7px 14px; opacity: 0; transition: .3s; white-space: nowrap; }
.otz-card:hover .otz-card__ph::after { opacity: 1; transform: translate(-50%, 0); }
.otz-card b { font-size: 15px; line-height: 1.3; }
.otz-card > span:last-child { font-size: 13px; line-height: 1.4; color: var(--muted); }

.otz-lock, .otz-lock body { overflow: hidden; }
.otz-lb { position: fixed; inset: 0; z-index: 2147483000; background: rgba(25,22,24,.92); display: flex; align-items: center; justify-content: center; padding: 20px 76px; }
.otz-lb[hidden] { display: none; }
.otz-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.otz-lb__fig img { max-height: calc(100vh - 120px); max-width: min(680px, 100%); width: auto; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 20px 60px #0008; }
.otz-lb__fig img.is-in { animation: otzIn .35s ease both; }
@keyframes otzIn { from { opacity: 0; transform: scale(.97); } }
.otz-lb figcaption { color: #fff; text-align: center; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.otz-lb figcaption span { color: #fffb; }
.otz-lb figcaption small { color: #fff9; }
.otz-lb__x, .otz-lb__a { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px;
  font-size: 30px; line-height: 1; font-family: inherit; transition: background .2s; }
.otz-lb__x:hover, .otz-lb__a:hover { background: var(--pink); }
.otz-lb__x { top: 16px; right: 16px; }
.otz-lb__a { top: 50%; transform: translateY(-50%); }
.otz-lb__a--l { left: 16px; } .otz-lb__a--r { right: 16px; }

@media (max-width: 1100px) { .otz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .otz-hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .otz-fan { height: 300px; }
  .otz-fan img { width: 170px; }
}
@media (max-width: 600px) {
  .otz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .otz-card { padding: 8px 8px 12px; border-radius: 14px; }
  .otz-card b { font-size: 13px; }
  .otz-card > span:last-child { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .otz-card__ph::after { display: none; }
  .otz-facts li { min-width: 0; flex: 1 1 40%; }
  .otz-fan { height: 250px; }
  .otz-fan img { width: 140px; }
  .otz-lb { padding: 64px 10px 20px; }
  .otz-lb__a { top: auto; bottom: 14px; transform: none; }
  .otz-lb__fig img { max-height: calc(100vh - 170px); }
}
@media (prefers-reduced-motion: reduce) { .otz-fan img, .otz-card, .otz-card__ph img { transition: none; } .otz-lb__fig img.is-in { animation: none; } }
/* «О компании»: превью писем → otzyvy.html */
.otz-teaser__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; align-items: center; }
.otz-teaser__txt p { color: var(--muted); margin: 8px 0 14px; }
.otz-teaser__pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.otz-teaser__pics img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 10px; background: #fff;
  box-shadow: 0 8px 22px rgba(41,44,50,.10); transition: transform .35s; }
.otz-teaser__pics img:nth-child(odd) { transform: rotate(-2deg); } .otz-teaser__pics img:nth-child(even) { transform: rotate(2deg) translateY(10px); }
.otz-teaser__pics:hover img { transform: none; }
@media (max-width: 860px) { .otz-teaser__in { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 600px) { .otz-teaser__pics { gap: 8px; } }
/* ===== Страница Отзывы клиентов: конверт (вариант 1 из otzyvy-hero-variants.html, Иван 17.11.2026) ===== */
.otz-hero h1 em { font-style: normal; color: var(--pink); }
.otz-hero__grid { min-height: 380px; }
.otz-env-vis { position: relative; height: 430px; display: grid; place-items: center; }
.otz-env-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, #a4265426, transparent 65%); }
.otz-env { position: relative; width: 330px; height: 220px; margin-top: 160px; }
.otz-env__back { position: absolute; inset: 0; background: #8d1f47; border-radius: 10px; }
.otz-env__letter { position: absolute; left: 22px; right: 22px; top: 12px; height: 196px; background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 10px 30px #0002; z-index: 1; animation: otzEnvLetter 7s cubic-bezier(.3,.7,.2,1) infinite; }
.otz-env__letter img { width: 100%; height: auto; display: block; }
.otz-env__front { position: absolute; inset: 0; z-index: 2; border-radius: 10px; overflow: hidden; }
.otz-env__front svg, .otz-env__flap svg { width: 100%; height: 100%; display: block; }
.otz-env__flap { position: absolute; left: 0; right: 0; top: 0; height: 152px; z-index: 3; transform-origin: top; animation: otzEnvFlap 7s ease infinite; }
.otz-env__seal { position: absolute; z-index: 4; left: 50%; top: 106px; width: 78px; height: 78px; margin-left: -39px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d0517f, #A42654 60%, #7c1a3f); color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 6px 16px #a4265466; animation: otzEnvSeal 7s ease infinite; }
.otz-env__seal::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed #ffffff80; border-radius: 50%; }
.otz-spark { position: absolute; color: var(--pink); opacity: 0; font-size: 18px; font-style: normal; animation: otzSpark 7s ease infinite; }
.otz-spark:nth-of-type(1) { left: 20%; top: 26%; } .otz-spark:nth-of-type(2) { right: 18%; top: 18%; animation-delay: .3s; } .otz-spark:nth-of-type(3) { right: 24%; top: 50%; animation-delay: .6s; }
@keyframes otzEnvFlap { 0%, 12% { transform: rotateX(0); z-index: 3; } 26%, 78% { transform: rotateX(180deg); z-index: 0; } 92%, 100% { transform: rotateX(0); z-index: 3; } }
@keyframes otzEnvLetter { 0%, 22% { transform: translateY(0); } 40%, 74% { transform: translateY(-190px); } 88%, 100% { transform: translateY(0); } }
@keyframes otzEnvSeal { 0%, 8% { transform: scale(1); opacity: 1; } 16%, 82% { transform: scale(.4); opacity: 0; } 92%, 100% { transform: scale(1); opacity: 1; } }
@keyframes otzSpark { 0%, 38% { opacity: 0; transform: scale(.4) rotate(0); } 48% { opacity: 1; transform: scale(1) rotate(45deg); } 66%, 100% { opacity: 0; transform: scale(.6) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .otz-env__flap, .otz-env__seal, .otz-spark { animation: none; }
  .otz-env__letter { animation: none; transform: translateY(-150px); }
  .otz-env__flap { transform: rotateX(180deg); z-index: 0; } .otz-env__seal { opacity: 0; }
}
@media (max-width: 860px) { .otz-hero__grid { min-height: 0; } .otz-env-vis { height: 380px; } .otz-env { transform: scale(.85); margin-top: 150px; } }
@media (max-width: 600px) { .otz-env-vis { height: 320px; } .otz-env { transform: scale(.72); margin-top: 130px; } }

/* ===== «Популярные категории»: внизу «Показать ещё N разделов» (Иван 17.11, вариант 1 из /cats-more-variants.html) =====
   Разделы после 8-го в разметке, но скрыты (.is-more); кнопка раскрывает на месте, последней — тёмная плитка «Весь каталог»
   (17 + 1 = 18: последний ряд — две широкие плитки по общему правилу 4n+1). Логика — script.js. */
#categories .catgrid--photo .catx.is-more { display: none; }
#categories.cats-open .catgrid--photo .catx.is-more { display: block; animation: catsMoreUp .45s both; }
@keyframes catsMoreUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 1101px) { #categories .catgrid--photo .catx:nth-child(4n+1):nth-last-child(2) img { object-position: 50% 45%; } }
#categories .catx--all { background: #292C32; color: #fff; }
#categories .catx--all::before { content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 38, 84, .5), transparent 70%); }
#categories .catx--all .catx__txt b { font-size: 22px; }
#categories .catx--all .catx__txt small { color: #c9cbd1; }
#categories .catx--all .catx__go { background: var(--pink); }
#categories .catx--all .catx__go::before { background: #fff; }
#categories .catx--all:hover .catx__go { background: #fff; }
#categories .catx--all:hover .catx__go::before { background: var(--pink); }
.cats-more { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.cats-more[hidden] { display: none; }
.cats-more__line { flex: 1; height: 1px; background: #e7e3df; }
.cats-more__mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cats-more__btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 30px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--pink); background: #fff; color: var(--pink); font: 600 15px/1 Montserrat, sans-serif;
  transition: background .2s, color .2s, box-shadow .2s; }
.cats-more__btn:hover { background: var(--pink); color: #fff; box-shadow: 0 8px 22px rgba(164, 38, 84, .25); }
.cats-more__btn svg { width: 18px; height: 18px; transition: transform .3s; }
#categories.cats-open .cats-more__btn svg { transform: rotate(180deg); }
.cats-more__sub { font-size: 13px; color: #6b6f78; text-align: center; }
.cats-more__sub a { color: var(--pink); font-weight: 600; text-decoration: none; }
.cats-more__sub a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .cats-more { gap: 12px; margin-top: 20px; justify-content: center; }
  .cats-more__line { display: none; }
  .cats-more__btn { padding: 13px 22px; font-size: 14px; }
  .cats-more__sub { font-size: 12px; }
}
/* Каталог /catalog/: вкладки по группам + плитки 6 в ряд (Иван 17.11, вариант 6; разметку делает catalog.html) */
.cat6-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.cat6-tabs button { font: inherit; font-size: 14px; font-weight: 500; color: #292C32; background: #fff; border: 1px solid #e7e3df;
  border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cat6-tabs button small { color: #6b6f78; margin-left: 6px; font-size: 12px; }
.cat6-tabs button:hover { border-color: var(--pink); }
.cat6-tabs button.on { background: #292C32; color: #fff; border-color: #292C32; }
.cat6-tabs button.on small { color: #c9cbd1; }
.catgrid--v6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.catgrid--v6 .catx { aspect-ratio: 1.15; animation: cat6In .35s both; }
.catgrid--v6 .catx[hidden] { display: none; }
.catgrid--v6 .catx__txt { left: 12px; right: 44px; bottom: 10px; }
.catgrid--v6 .catx__txt b { font-size: 14px; }
.catgrid--v6 .catx__txt small { font-size: 12.5px; }
.catgrid--v6 .catx__go { right: 10px; bottom: 12px; width: 28px; height: 28px; }
@keyframes cat6In { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1300px) { .catgrid--v6 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { .catgrid--v6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .catgrid--v6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .catgrid--v6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .catgrid--v6 .catx { aspect-ratio: 1.3; }
  .cat6-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-right: -16px; scrollbar-width: none; }
  .cat6-tabs::-webkit-scrollbar { display: none; }
  .cat6-tabs button { white-space: nowrap; flex: none; }
}/* плитки уже, подпись бывает в 2 строки — светлая подложка снизу, чтобы текст читался на любом фото */
.catgrid--v6 .catx::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(255,255,255,.94) 0, rgba(255,255,255,.78) 26%, rgba(255,255,255,0) 50%); }
/* Каталог /catalog/: подразделы при наведении — тёмная вуаль поднимается снизу (Иван 17.11, вариант 3 из catalog-veil-variants.html).
   Разметку делает catalog.html: div.cw > a.catx + span.cw__badge + div.cw__veil. На телефонах (нет наведения) вуали и метки нет. */
.catgrid--v6 > .cw { position: relative; min-width: 0; border-radius: 10px; overflow: hidden; }
.catgrid--v6 > .cw[hidden] { display: none; }
.catgrid--v6 > .cw > .catx { height: 100%; }
.cw--subs .catx img { transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.cw--subs .catx__txt, .cw--subs .catx__go { transition: opacity .2s; }
.cw__badge { position: absolute; z-index: 2; top: 10px; left: 10px; display: none; align-items: center; gap: 5px; pointer-events: none;
  font-size: 11.5px; font-weight: 600; color: #292C32; background: rgba(255,255,255,.88); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 4px 9px 4px 8px; box-shadow: 0 2px 8px rgba(41,44,50,.12); transition: opacity .2s; }
.cw__badge::before { content: ""; width: 9px; height: 9px; background:
  linear-gradient(var(--pink), var(--pink)) 0 0 / 4px 4px no-repeat, linear-gradient(var(--pink), var(--pink)) 100% 0 / 4px 4px no-repeat,
  linear-gradient(var(--pink), var(--pink)) 0 100% / 4px 4px no-repeat, linear-gradient(var(--pink), var(--pink)) 100% 100% / 4px 4px no-repeat; }
.cw__veil { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; padding: 14px; color: #fff; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .35s; }
.cw__veil::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,26,31,.9), rgba(24,26,31,.68));
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.cw__veil > * { position: relative; z-index: 1; flex: none; }
.cw__h { display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.25; margin-bottom: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw__h::after { content: ""; display: block; width: 0; height: 3px; border-radius: 2px; background: #e46a97; margin-top: 5px;
  transition: width .5s cubic-bezier(.2,.8,.2,1) .25s; }
.cw__veil ul { list-style: none; margin: 0; padding: 0; }
.cw__veil li { opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.cw__veil li a { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 12.5px; line-height: 1.3;
  padding: 3px 8px; margin: 0 -8px; border-radius: 7px; transition: background .15s; }
.cw__veil--5 li a { padding-top: 2px; padding-bottom: 2px; }
.cw__veil li a span { min-width: 0; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw__veil li a small { flex: none; font-size: 11.5px; opacity: .6; }
.cw__veil li a:hover { background: rgba(255,255,255,.14); }
.cw__more { margin-top: auto; padding-top: 4px; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: #ff9dc2; text-decoration: none; }
.cw__more:hover { color: #fff; }
@media (hover: hover) {
  .cw__badge { display: inline-flex; }
  .cw__veil { display: flex; }
  .cw--subs:hover .catx img, .cw--subs:focus-within .catx img { transform: scale(1.1); filter: blur(2px); }
  .cw--subs:hover .catx__txt, .cw--subs:hover .catx__go, .cw--subs:focus-within .catx__txt, .cw--subs:focus-within .catx__go,
  .cw--subs:hover .cw__badge, .cw--subs:focus-within .cw__badge { opacity: 0; }
  .cw--subs:hover .cw__veil, .cw--subs:focus-within .cw__veil { opacity: 1; pointer-events: auto; }
  .cw--subs:hover .cw__veil::before, .cw--subs:focus-within .cw__veil::before { transform: none; }
  .cw--subs:hover .cw__h::after, .cw--subs:focus-within .cw__h::after { width: 38px; }
  .cw--subs:hover .cw__veil li, .cw--subs:focus-within .cw__veil li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 200ms); }
}
/* Главная «Популярные категории»: та же тёмная вуаль, что на /catalog/ (Иван 17.11), без метки. Плитки лежат в div.cw —
   правила «скрытые .is-more» и «широкий последний ряд» повторены для обёртки (в старых правилах .catx — прямой ребёнок сетки). */
#cats > .cw { position: relative; min-width: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(41,44,50,.10); }
#cats > .cw > .catx { box-shadow: none; }
#cats > .cw:hover { box-shadow: 0 8px 24px rgba(41,44,50,.18); }
#categories .catgrid--photo > .cw.is-more { display: none; }
#categories.cats-open .catgrid--photo > .cw.is-more { display: block; animation: catsMoreUp .45s both; }
@media (min-width: 1101px) {
  #categories .catgrid--photo > .cw:nth-child(4n+1):nth-last-child(2),
  #categories .catgrid--photo > .cw:nth-child(4n+1):nth-last-child(2) + .catx { grid-column: span 2; aspect-ratio: 3.9; }
  #categories .catgrid--photo > .cw:nth-child(4n+1):nth-last-child(2) > .catx { aspect-ratio: 3.9; }
  #categories .catgrid--photo > .cw:nth-child(4n+1):nth-last-child(2) img { object-position: 50% 45%; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  #categories .catgrid--photo > .cw:nth-child(3n+1):nth-last-child(2) + .catx { grid-column: span 2; aspect-ratio: auto; }
}@media (min-width: 1101px) {
  /* широкая плитка последнего ряда низкая — подразделы в две колонки */
  #categories .catgrid--photo > .cw:nth-child(4n+1):nth-last-child(2) .cw__veil ul { columns: 2; column-gap: 28px; }
  #categories .catgrid--photo > .cw:nth-child(4n+1):nth-last-child(2) .cw__veil li { break-inside: avoid; }
}/* старые правила «широкий последний ряд» (.catx:nth-child(4n+1):nth-last-child(2)) цепляли плитку внутри обёртки .cw — гасим */
#categories #cats > .cw > .catx { grid-column: auto; aspect-ratio: 1.45; }
#categories #cats > .cw > .catx img { object-position: 50% 100%; }
@media (min-width: 1101px) {
  #categories #cats > .cw:nth-child(4n+1):nth-last-child(2) > .catx { aspect-ratio: 3.9; }
  #categories #cats > .cw:nth-child(4n+1):nth-last-child(2) > .catx img { object-position: 50% 45%; }
}
@media (max-width: 760px) { #categories #cats > .cw > .catx { aspect-ratio: 1.2; } }

/* 18.11 Claude (Иван): у кнопки «Каталог» убрана тяжёлая тень и подскок — ровно по высоте поиска (44 px) */
html[data-catalog-design] .btn-catalog{box-shadow:none!important;transform:none!important}
html[data-catalog-design] .btn-catalog:is(:hover,:focus-visible){transform:none!important;box-shadow:0 0 0 4px #a4265424!important}
/* Сертификаты на ООО «МАСТЕР-ОФИС» (18.11.2026): в витрине листаются только они, остальные фабрики — метки; под стеной — «Другие фабрики» */
.crh-chips .crh-tag { border: 1px dashed var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 7px 13px; font: 600 13px/1 Montserrat, sans-serif; cursor: default; }
.crt--page + .crt--page { padding-top: 8px; }
.crt__sub { font-size: 20px; font-weight: 700; margin: 0 0 18px; color: var(--blue); }
/* Каталог /catalog/: вариант «Фото во всю ширину» (Иван 19.11). Пропорции рамки совпадают
   с исходными фото 762 × 504; другие пропорции вписываются целиком. Подпись под фото. */
.catgrid--v3 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.catgrid--v3 > .cw { border-radius: 14px; }
.catgrid--v3 .catx { display: flex; flex-direction: column; aspect-ratio: auto; border-radius: 14px; background: #fff;
  border: 1px solid #e9e5e2; box-shadow: none; transition: box-shadow .25s, transform .25s, border-color .25s; }
.catgrid--v3 > .cw > .catx { height: 100%; }
.catgrid--v3 .catx::after { display: none; }
#catgrid.catgrid--v3 .catx__ph { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 127 / 84; overflow: hidden; background: #EEEDEE; }
#catgrid.catgrid--v3 .catx__ph img { position: absolute; inset: 0; object-fit: contain; object-position: center; transform: none; filter: none; }
.catgrid--v3 .catx__txt { position: static; padding: 12px 54px 14px 14px; margin-top: auto; flex: 1; justify-content: center; }
.catgrid--v3 .catx__txt b { font-size: 15px; font-weight: 600; line-height: 1.25; transition: color .2s; }
.catgrid--v3 .catx__txt small { font-size: 12.5px; color: #6b6f78; }
.catgrid--v3 .catx__go { right: 12px; bottom: auto; top: calc(100% - 46px); width: 32px; height: 32px; background: #F4F2F3; box-shadow: none; }
.catgrid--v3 .catx:hover { box-shadow: 0 14px 30px rgba(41,44,50,.14); transform: translateY(-3px); border-color: transparent; }
.catgrid--v3 .catx:hover .catx__txt b { color: var(--pink); }
.catgrid--v3 > .cw--subs:hover .catx { transform: none; }
@media (max-width: 1250px) { .catgrid--v3 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 920px) { .catgrid--v3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .catgrid--v3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .catgrid--v3 .catx, .catgrid--v3 > .cw { border-radius: 12px; }
  .catgrid--v3 .catx__txt { padding: 9px 10px 11px; }
  .catgrid--v3 .catx__txt b { font-size: 13px; }
  .catgrid--v3 .catx__txt small { font-size: 11.5px; }
  .catgrid--v3 .catx__go { display: none; }
}

/* ===== Подвал v3 (Иван 24.11.2026 выбрал вариант 3 из preview-footer.html: «много пустого места… стильно, современно») =====
   Слева карточка компании: логотип, телефон, почта, кнопка, ВК. Справа три ровные колонки ссылок
   («Каталог», «Покупателям», «Компания»), под ними адреса (#footAddr — офис и склад или склад отгрузки города). */
.footer--v3 { padding: 40px 0 0; }
.footer--v3 .footer__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
.footer--v3 .footer__brand { background: #33373e; border-radius: 18px; padding: 26px 26px 22px; }
.footer--v2.footer--v3 .footer__brand .footer__logo { width: 210px; }
.footer--v3 .footer__small { margin: 12px 0 18px; max-width: none; line-height: 1.5; }
.footer--v2.footer--v3 .footer__phone { display: block; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: .01em; margin: 0; }
.footer--v2.footer--v3 .footer__free { display: block; margin: 2px 0 10px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.footer--v2.footer--v3 .footer__mail { display: inline-block; color: rgba(255, 255, 255, .86); transition: color .2s; }
.footer--v3 .footer__mail:hover { color: var(--pink); }
.footer--v3 .footer__row { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer--v2.footer--v3 .footer__social { margin: 0 0 0 auto; }
.footer--v3 .footer__social span { display: none; }   /* в карточке — только значок ВК (подпись — в aria-label) */
/* Иван 24.11 (2-й снимок): «между колонками много пустого места, склад отгрузки — красиво справа» →
   колонки по ширине текста, адреса — четвёртой колонкой справа за тонкой линией */
/* четыре колонки (3 списка + склад) с равными промежутками: .footer__cols «растворяется» в сетке .footer__main */
.footer--v2.footer--v3 .footer__grid { grid-template-columns: clamp(320px, 22vw, 400px) minmax(0, 1fr); }
.footer--v2.footer--v3 .footer__grid > .footer__main { display: grid; grid-template-columns: repeat(3, max-content) minmax(220px, 300px); justify-content: space-between; gap: 28px 32px; align-items: start; }
.footer--v3 .footer__cols { display: contents; }
.footer--v2.footer--v3 .footer__links { grid-template-columns: minmax(0, 1fr); gap: 9px; }
.footer--v2.footer--v3 h4 { margin: 2px 0 14px; }
.footer__company-heading { display: flex; align-items: center; gap: 8px; }
.footer__staff-login { display: inline-grid; flex: none; place-items: center; width: 24px; height: 18px; color: #d2d5d8; border-radius: 3px; }
.footer__staff-login:hover { color: #fff; }
.footer__staff-login:focus-visible { outline: 2px solid currentColor; }
@media (max-width: 767px) {
  .footer__staff-login { width: 44px; height: 44px; }
}
.footer--v2.footer--v3 .footer__addrs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: 0 0 0 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.footer--v2.footer--v3 .footer__addr { margin: 0; line-height: 1.5; }
.footer--v2.footer--v3 .footer__addr b { margin: 2px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.footer--v2.footer--v3 .footer__addr + .footer__addr b { margin-top: 0; }
@media (max-width: 1240px) and (min-width: 768px) {
  .footer--v2.footer--v3 .footer__grid > .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
  .footer--v2.footer--v3 .footer__addrs { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 16px 36px; padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
}
.footer--v2.footer--v3 .footer__grid > .footer__main { columns: auto; }   /* старое правило «вторая колонка в 2 столбца» (строка ~276) */
.footer--v2.footer--v3 .footer__bottom { margin-top: 34px; padding-top: 16px; align-items: center; }
.footer--v2.footer--v3 .footer__reqs { display: inline; }
.footer--v3 .footer__rights { padding-bottom: 18px; }
@media (max-width: 1100px) {
  .footer--v2.footer--v3 .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* Телефон: раскрывающиеся списки и короткий подвал — как раньше (mobile-shell.css «Подвал, шаг 3»), карточка без фона */
@media (max-width: 767px) {
  .footer.footer--v2.footer--v3 .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer.footer--v2.footer--v3 .footer__brand { display: block !important; background: none; border-radius: 0; padding: 0 0 12px; }
  .footer.footer--v2.footer--v3 .footer__phone { margin-top: 10px; font-size: 19px !important; }
  .footer.footer--v2.footer--v3 .footer__free { margin: 0 0 4px; font-size: 12px; }
  .footer.footer--v2.footer--v3 .footer__row { margin-top: 10px; padding-top: 0; border-top: 0; }
  .footer.footer--v2.footer--v3 .footer__cols { display: block; }
  .footer.footer--v2.footer--v3 .footer__grid > .footer__main { display: block; }
  .footer.footer--v2.footer--v3 .footer__addrs { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .footer.footer--v2.footer--v3 .footer__addr b { margin: 0 5px 0 0; font-size: 11px; }
}

/* Иван 25.11: вкладка «Доставка» в карточке — вариант 4 (vybor-dostavka-vkladka.html), как на странице «Доставка»:
   светлая карточка «Самовывоз со склада» с адресом склада города + тёмная «Доставка и сборка» (product.js pwDelivery) */
.pw-dv__city { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pw-dv__city svg { width: 16px; height: 16px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pw-dv__city b { color: #000; font-size: 15px; }
.pw-dv__city a { color: var(--blue); font-weight: 600; font-size: 13px; text-decoration: none; border-bottom: 1px dashed currentColor; }
.pw-dv__city a:hover { color: var(--pink); }
.pw-dv__city .pw-dv__more { margin-left: auto; border-bottom: 0; }
.pw-dv__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 9px; }
.pw-dv__row--one { grid-template-columns: 1fr; }
.pw-dv__bx { border-radius: 14px; padding: 10px 13px; min-width: 0; }
.pw-dv__bx--lt { background: var(--grey); }
.pw-dv__bx--dk { background: #292C32; color: #fff; }
.pw-dv__bx h4 { margin: 0 0 6px; font-size: 14.5px; line-height: 1.25; display: flex; align-items: center; gap: 8px; }
.pw-dv__bx h4 i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #fff; flex: none; }
.pw-dv__bx--dk h4 i { background: rgba(255, 255, 255, .12); }
.pw-dv__bx h4 svg { width: 17px; height: 17px; fill: none; stroke: var(--pink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pw-dv__bx--dk h4 svg { stroke: #fff; }
.pw-dv__ad { display: block; font-size: 13.5px; line-height: 1.35; }
.pw-dv__t { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pw-dv__bx--dk .pw-dv__t { color: #cfcacc; margin-top: 3px; }
.pw-dv__chip { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: #F4E3E9; color: var(--pink); }
.pw-dv__bx ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.45; }
.pw-dv__bx li::before { content: "✓ "; color: #e0679a; font-weight: 700; }
.pcard.pcard--w .pw-pane:has(.pw-dv) { padding: 10px 0 4px; }
@media (max-width: 600px) {
  .pw-dv__row { grid-template-columns: 1fr; }
}
/* узкая колонка (экран ~1400 px): окно вкладки 184 px — текст чуть мельче, чтобы всё помещалось без прокрутки */
.pw-dv { container-type: inline-size; }
@container (max-width: 640px) {
  .pw-dv__bx { padding: 9px 11px; }
  .pw-dv__bx h4 { font-size: 13.5px; margin-bottom: 4px; }
  .pw-dv__bx h4 i { width: 24px; height: 24px; }
  .pw-dv__bx ul, .pw-dv__t { font-size: 12px; line-height: 1.4; }
  .pw-dv__chip { margin-top: 4px; }
}

/* Иван 25.11 (2): самовывоз — списком, как «Доставка и сборка»: значок адреса, часов и ✓ «Без доплаты за доставку» */
.pw-dv__bx ul.pw-dv__ic { color: #2b2324; }
.pw-dv__ic li { position: relative; padding-left: 19px; }
.pw-dv__ic li::before { position: absolute; left: 0; top: 0; }
.pw-dv__ic li.pw-dv__pin::before, .pw-dv__ic li.pw-dv__clock::before { content: none; }
.pw-dv__ic li svg { position: absolute; left: 0; top: .2em; width: 13px; height: 13px; fill: none; stroke: #e0679a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pw-dv__ic li.pw-dv__clock { color: var(--muted); }
.pw-dv__bx--dk ul li { position: relative; padding-left: 19px; }
.pw-dv__bx--dk ul li::before { position: absolute; left: 0; top: 0; }

/* Метка новинки располагается в правом верхнем углу фотографии
   прижата к фото, винная полупрозрачная основа со скруглённым «хвостиком», белая искра и белая скошенная плашка с винным словом; высота и размер как у ярлыка
   (3,2 % ширины фото, 10–13 px; тут ×1,08 — размер слова). Только CSS, разметка прежняя (layout.js itemCard, Builder::card).
   :not(#n1)… — перебивает правила каталога с #grid в mobile-shell.css. Если на фото есть ярлык онлайн-скидки — «Новинка» под ним.
   На телефоне — компактная плашка справа, под скидкой при наличии обеих меток. */
.product__media:has(> .product__sticker:not(.is-hit)) { container-type: inline-size; }
.product__media > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3) {
  position: absolute; top: 0; right: 0; left: auto; bottom: auto; z-index: 3; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; width: 8.7em; height: 2.565em; margin: 0; padding: 0 .463em 0 2.222em;
  font: 700 clamp(10.8px, 3.456cqw, 14.04px)/1 Montserrat, Arial, sans-serif; letter-spacing: .01em; text-transform: none;
  color: #981F4C; background: none; border: 0; border-radius: 0; box-shadow: none; text-shadow: none; clip-path: none; white-space: nowrap; pointer-events: none;
}
.product__media > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3)::before {
  content: ""; position: absolute; top: 0; right: auto; bottom: auto; left: -1.0185em; width: 9.722em; height: 2.565em; z-index: -1;
  border-radius: 0; opacity: 1; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1050 277' preserveAspectRatio='none'%3E%3Cpath fill='%23981F4C' fill-opacity='.86' d='M135 0C52.2 0 5.1 62 30 138.5C54.85 215 142.2 277 225 277H960A90 90 0 0 0 1050 187V69A69 69 0 0 0 981 0Z'/%3E%3Cg fill='%23fff' transform='translate(165 66) scale(6.0417)'%3E%3Cpath d='M10 2.5c.5 3.9 2.6 6 6.5 6.5-3.9.5-6 2.6-6.5 6.5-.5-3.9-2.6-6-6.5-6.5 3.9-.5 6-2.6 6.5-6.5z'/%3E%3Cpath opacity='.85' d='M18 13.5c.3 2 1.3 3 3.3 3.3-2 .3-3 1.3-3.3 3.3-.3-2-1.3-3-3.3-3.3 2-.3 3-1.3 3.3-3.3z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.product__media > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3)::after {
  content: ""; position: absolute; top: .352em; right: .463em; width: 6.015em; height: 1.861em; z-index: -1;
  background: #fff; border-radius: .45em; transform: skewX(-12deg); box-shadow: 0 1px 2px rgba(60,0,25,.18);
}
.product__media > .product__img:has(> .od-ban) ~ .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3) { top: calc(2.565em + 6px); }
@media (max-width: 767px) {
  .product__media > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3) {
    top: 6px; right: 6px; gap: 5px; width: auto; height: 22px; padding: 0 9px;
    color: #fff; background: var(--pink, #A42654); border-radius: 999px; text-transform: uppercase;
  }
  .product__media > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3)::before {
    content: "✦"; position: static; width: auto; height: auto; z-index: auto; background: none;
  }
  .product__media > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3)::after { content: none; }
  .product__media:has(.od-ban) > .product__sticker:not(.is-hit):not(#n1):not(#n2):not(#n3) { top: 36px; }
  button[data-compare], .header .header-compare { display: none; }

  /* Сердечко в строке под фото, справа от цены в каталоге. */
  .listing:not(#mz) #grid > .product.product--m:is(.product--tall, .product--wide) > .catalog-actions,
  html.m-home #hitsRow > .product.product--m > .catalog-actions {
    position: static; opacity: 1; pointer-events: auto;
  }
  .listing:not(#mz) #grid > .product.product--m:is(.product--tall, .product--wide) > .catalog-actions {
    grid-area: auto / 2; order: 7; align-self: center; justify-self: end;
    margin: 0 6px 6px 0; padding: 0;
  }
  .listing:not(#mz) #grid > .product.product--m:is(.product--tall, .product--wide) > .product__price,
  .listing:not(#mz) #grid > .product.product--wide > .product__meta > .product__price {
    grid-column: 1; align-self: center; padding-block: 0 6px;
  }
  .listing:not(#mz) #grid > .product.product--m > .catalog-actions > [data-fav],
  html.m-home #hitsRow > .product.product--m > .catalog-actions > [data-fav] {
    width: 32px !important; min-width: 32px; height: 32px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 4px rgba(41, 44, 50, .14);
  }
}

/* Иван 24.11: значок «Рейтинг организации в Яндексе» в карточке подвала (layout.js footYa; только master-office.ru, Москва и МО) */
.footer--v2.footer--v3 .footer__ya[hidden] { display: none; }
.footer--v2.footer--v3 .footer__ya { display: inline-grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; column-gap: 7px; row-gap: 5px; margin-top: 16px; padding: 9px 12px 8px; background: #25272c; border-radius: 6px; color: #fff; text-decoration: none; transition: background .2s; }
.footer--v2.footer--v3 .footer__ya:hover { background: #1d1f23; }
.footer--v2.footer--v3 .footer__ya .fy-pin { width: 15px; height: 19px; fill: #fff; }
.footer--v2.footer--v3 .footer__ya b { font-size: 17px; font-weight: 600; line-height: 1; color: #fff; }
.footer--v2.footer--v3 .footer__ya .fy-stars { display: inline-flex; gap: 2px; margin-left: 5px; }
.footer--v2.footer--v3 .footer__ya .fy-stars svg { width: 15px; height: 15px; fill: #FFCC00; }
.footer--v2.footer--v3 .footer__ya small { grid-column: 1 / -1; display: block; font-size: 10.5px; line-height: 1.2; color: rgba(255, 255, 255, .72); }
@media (max-width: 767px) {
  .footer.footer--v2.footer--v3 .footer__ya { margin: 12px 0 2px; }
}
