/* =====================================================================
   АВТОСТИЛЬ — стили прототипа v4
   Корпоративный интернет-магазин: полноширинная сетка, белая база,
   фирменный жёлтый на действиях, графит в тёмных блоках.
   ===================================================================== */

:root {
  --bg: #ffffff;
  --band: #f4f4f1;
  --band-2: #eaeae6;
  --line: #e5e5e0;
  --line-2: #d4d4ce;
  --text: #131416;
  --text-2: #5c5f66;
  --text-3: #979aa1;

  --dark: #17181b;
  --dark-2: #23252a;
  --dark-line: rgba(255, 255, 255, 0.12);
  --yellow: #fff450;
  --yellow-2: #f5e71c;
  --on-yellow: #131416;
  --success: #17914c;
  --success-bg: #e6f4ec;
  --sale: #e3342f;
  --star: #f4a51c;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --t-h1: clamp(1.9rem, 1.2rem + 2vw, 3.1rem);
  --t-h2: clamp(1.5rem, 1.1rem + 1.15vw, 2.25rem);
  --t-h3: 1.1875rem;
  --t-body: 0.9375rem;
  --t-sm: 0.875rem;
  --t-xs: 0.8125rem;

  --wrap: 1920px;
  --gutter: clamp(16px, 3vw, 56px);
  --gap: clamp(12px, 1.05vw, 20px);
  --section: clamp(56px, 5.5vw, 104px);
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;

  --sh-sm: 0 1px 2px rgba(19, 20, 22, 0.05), 0 2px 8px rgba(19, 20, 22, 0.04);
  --sh-md: 0 6px 16px rgba(19, 20, 22, 0.07), 0 18px 40px rgba(19, 20, 22, 0.08);
  --sh-lg: 0 12px 32px rgba(19, 20, 22, 0.12), 0 32px 72px rgba(19, 20, 22, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --d-fast: 150ms;
  --d-base: 260ms;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--t-body); line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss03"; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--on-yellow); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section); }
.section--tight { padding-top: clamp(36px, 3.5vw, 56px); }
.section--last { padding-bottom: var(--section); }
.section--band { background: var(--band); padding-block: var(--section); margin-top: var(--section); }
.section--band + .section { padding-top: var(--section); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(18px, 1.8vw, 28px); }
.section__head h2, .h2 { font-size: var(--t-h2); line-height: 1.12; letter-spacing: -0.03em; font-weight: 750; }
.section__head p { color: var(--text-2); font-size: var(--t-sm); margin-top: 6px; max-width: 62ch; }
.h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.lead { color: var(--text-2); font-size: 1rem; max-width: 72ch; margin-top: 10px; }
.link { font-weight: 600; font-size: var(--t-sm); display: inline-flex; align-items: center; gap: 6px; color: var(--text); transition: gap var(--d-fast) var(--ease), color var(--d-fast); white-space: nowrap; }
.link:hover { gap: 10px; }
.link svg { width: 16px; height: 16px; }
.muted { color: var(--text-2); }
.small { font-size: var(--t-sm); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.show-mobile { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* элементы сеток не растягивают колонки своим содержимым (вкладки, длинные строки) */
.shop > *, .product > *, .builder > *, .layout > *, .studio > *, .moscow > *, .faq > *, .cart > *, .contacts > *, .grid > *, .cards > *, .fams > *, .gens > *, .materials > *, .cats > *, .promos > *, .benefits > * { min-width: 0; }

/* ---------- кнопки, поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: var(--t-sm); line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: background var(--d-fast), border-color var(--d-fast), color var(--d-fast), box-shadow var(--d-base) var(--ease), transform var(--d-fast); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--yellow); color: var(--on-yellow); }
.btn--primary:hover { background: var(--yellow-2); box-shadow: 0 8px 24px rgba(245, 231, 28, 0.35); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: var(--band); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 0.9375rem; border-radius: 14px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--t-xs); border-radius: 10px; }
.btn--block { width: 100%; }
.btn--icon { width: 46px; padding: 0; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn[data-fav].is-on { border-color: var(--sale); color: var(--sale); }
.btn[data-fav].is-on svg { fill: currentColor; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-xs); font-weight: 600; color: var(--text-2); }
.select, .input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; width: 100%; min-width: 0; transition: border-color var(--d-fast), box-shadow var(--d-fast); }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131416' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 18px; text-overflow: ellipsis; }
.select:focus, .input:focus { outline: 0; border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 244, 80, 0.65); }
.select:disabled { color: var(--text-3); background-color: var(--band); }
textarea.input { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-xs); color: var(--text-2); }
.check input { margin-top: 2px; accent-color: var(--text); flex: none; }
.check > span { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: var(--t-xs); font-weight: 550; border: 1px solid var(--line-2); background: #fff; color: var(--text); white-space: nowrap; transition: border-color var(--d-fast), background var(--d-fast); }
.chip:hover { border-color: var(--text); }
.chip.is-selected { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip small { color: var(--text-3); font-weight: 500; }
.chip.is-selected small { color: rgba(255, 255, 255, 0.6); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--band); font-size: 0.75rem; font-weight: 650; color: var(--text); }
.tag--yellow { background: var(--yellow); color: var(--on-yellow); }
.tag--dark { background: var(--dark); color: #fff; }
.tag--sale { background: var(--sale); color: #fff; }
.tag--green { background: var(--success-bg); color: var(--success); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.section__more { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(20px, 2vw, 32px); }

/* ---------- верхняя строка ---------- */
.topbar { background: var(--band); color: var(--text-2); font-size: 0.75rem; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 32px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a { transition: color var(--d-fast); }
.topbar a:hover { color: var(--text); }
.topbar .city { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; }
.topbar .city svg { width: 14px; height: 14px; }
.topbar__promo b { color: var(--text); font-weight: 650; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.header__row { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 38px; height: 38px; }
.logo__text { font-weight: 800; letter-spacing: 0.04em; font-size: 1.1875rem; line-height: 1; }
.logo__text small { display: block; font-weight: 500; letter-spacing: 0; font-size: 0.6875rem; color: var(--text-2); margin-top: 4px; }
.header__catalog { flex: none; min-height: 44px; padding: 0 18px; }
.header__catalog .ic-close { display: none; }
.header__catalog.is-open .ic-open { display: none; }
.header__catalog.is-open .ic-close { display: block; }
.header__search { flex: 1 1 auto; min-width: 0; position: relative; }
.header__contacts { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header__contacts b { font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; }
.header__contacts span { font-size: 0.75rem; color: var(--text-2); margin-top: 3px; }
.header__actions { display: flex; gap: 2px; flex: none; }
.hact { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 62px; height: 46px; padding: 0 6px; border-radius: 12px; font-size: 0.6875rem; font-weight: 550; color: var(--text-2); transition: background var(--d-fast), color var(--d-fast); }
.hact:hover { background: var(--band); color: var(--text); }
.hact svg { width: 22px; height: 22px; color: var(--text); }
.hact .badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yellow); color: var(--on-yellow); font-size: 0.6875rem; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.burger svg { width: 24px; height: 24px; }

.nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav .container::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; font-size: var(--t-sm); font-weight: 550; color: var(--text); white-space: nowrap; position: relative; transition: color var(--d-fast); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--text); transform: scaleX(0); transition: transform var(--d-base) var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:first-child { padding-left: 0; }
.nav a:first-child::after { left: 0; }
.nav a:last-child { padding-right: 0; }
.nav a:last-child::after { right: 0; }
.nav a.is-custom i { font-style: normal; font-size: 0.6875rem; font-weight: 750; padding: 3px 7px; border-radius: 6px; background: var(--yellow); }
.nav a.is-sale { color: var(--sale); }
.nav__sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 6px; flex: none; }

/* ---------- поиск ---------- */
.search { position: relative; }
.search__field { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 5px 0 16px; background: var(--band); border: 1px solid transparent; border-radius: 12px; transition: border-color var(--d-fast), box-shadow var(--d-fast), background var(--d-fast); }
.search__field:focus-within { background: #fff; border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 244, 80, 0.65); }
.search__field > svg { width: 18px; height: 18px; color: var(--text-3); flex: none; }
.search__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; font-size: var(--t-sm); }
.search__field input::placeholder { color: var(--text-3); }
.search__field .btn { min-height: 34px; }
.search--light .search__field { background: #fff; border-color: var(--line-2); }
.search__drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 6px; display: none; max-height: min(480px, 70vh); overflow: auto; }
.search__drop.is-open { display: block; }
.search__group { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding: 10px 12px 4px; }
.search__item { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; text-align: left; width: 100%; }
.search__item:hover, .search__item.is-active { background: var(--band); }
.search__item img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); padding: 4px; background: #fff; }
.search__item .t { font-weight: 600; font-size: var(--t-sm); }
.search__item .t mark { background: var(--yellow); color: inherit; border-radius: 2px; }
.search__item .s { font-size: var(--t-xs); color: var(--text-2); }
.search__item .p { font-size: var(--t-sm); font-weight: 650; white-space: nowrap; }
.search__empty { padding: 18px 12px; color: var(--text-2); font-size: var(--t-sm); }
.search__empty b { color: var(--text); }

/* ---------- мега-меню ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 32px 64px rgba(19, 20, 22, 0.16); display: none; }
.mega.is-open { display: block; animation: drop var(--d-base) var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__bg { position: fixed; inset: 0; z-index: 45; background: rgba(19, 20, 22, 0.4); display: none; }
.mega__bg.is-open { display: block; }
.mega__inner { display: grid; grid-template-columns: 290px minmax(0, 1fr) 320px; height: min(640px, calc(100vh - 170px)); }
.mega__brands { border-right: 1px solid var(--line); overflow: auto; padding: 14px 0; }
.mega__brands-title { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding: 4px 22px 10px; }
.mega__brand { display: grid; grid-template-columns: 28px 1fr auto 10px; align-items: center; gap: 12px; padding: 8px 18px 8px 22px; font-size: var(--t-sm); font-weight: 550; cursor: pointer; transition: background var(--d-fast); }
.mega__brand img { width: 28px; height: 28px; object-fit: contain; mix-blend-mode: multiply; }
.mega__brand small { color: var(--text-3); font-size: 0.75rem; font-weight: 500; }
.mega__brand::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--text-3); border-top: 2px solid var(--text-3); transform: rotate(45deg); opacity: 0; transition: opacity var(--d-fast); }
.mega__brand:hover, .mega__brand.is-active { background: var(--band); }
.mega__brand.is-active::after { opacity: 1; }
.mega__brand.is-active { font-weight: 700; }
.mega__models { padding: 24px 32px; overflow: auto; }
.mega__title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.mega__title img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.mega__title h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; }
.mega__title span { display: block; font-size: var(--t-xs); color: var(--text-2); font-weight: 400; margin-top: 2px; }
.mega__title .link { margin-left: auto; }
.mega__cols { columns: 3 220px; column-gap: 32px; }
.mega__fam { break-inside: avoid; margin-bottom: 16px; }
.mega__fam > a { display: block; font-weight: 700; font-size: var(--t-sm); margin-bottom: 4px; }
.mega__fam > a:hover { color: var(--text-2); }
.mega__fam ul a { display: block; padding: 3px 0; font-size: var(--t-xs); color: var(--text-2); }
.mega__fam ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.mega__promo { border-left: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.mega__card { border-radius: var(--r-lg); overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 18px; color: #fff; background: var(--dark); isolation: isolate; }
.mega__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.8; transition: transform 600ms var(--ease); }
.mega__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 24, 27, 0) 20%, rgba(23, 24, 27, 0.92)); }
.mega__card:hover img { transform: scale(1.04); }
.mega__card b { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; }
.mega__card span { font-size: var(--t-xs); color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.mega__card .tag { position: absolute; top: 14px; left: 14px; }
.mega__card--yellow { background: var(--yellow); color: var(--text); min-height: 0; padding: 16px 18px; }
.mega__card--yellow::before { display: none; }
.mega__card--yellow span { color: var(--text-2); }

/* ---------- hero ---------- */
.hero { --cat-h: clamp(150px, 18vh, 210px); padding-top: 14px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 440px); gap: var(--gap); }
.slider { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); isolation: isolate; }
.slider__track { display: flex; height: 100%; transition: transform 700ms var(--ease); }
.slide { position: relative; flex: 0 0 100%; min-height: clamp(320px, calc(100vh - 290px - var(--cat-h, 180px)), 560px); display: flex; align-items: center; padding: clamp(24px, 2.8vw, 48px) clamp(28px, 4vw, 72px) clamp(56px, 4.5vw, 72px); color: #fff; overflow: hidden; isolation: isolate; }
.slide__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 18, 20, 0.94) 0%, rgba(17, 18, 20, 0.8) 36%, rgba(17, 18, 20, 0.2) 70%, rgba(17, 18, 20, 0.05) 100%); }
.slide--yellow::before { background: linear-gradient(90deg, rgba(255, 244, 80, 1) 0%, rgba(255, 244, 80, 0.96) 42%, rgba(255, 244, 80, 0.15) 72%, rgba(255, 244, 80, 0) 100%); }
.slide--yellow { color: var(--text); }
.slide__body { max-width: 760px; position: relative; }
.slide__tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; background: var(--yellow); color: var(--on-yellow); margin-bottom: 16px; }
.slide--yellow .slide__tag { background: var(--dark); color: #fff; }
.slide h1, .slide h2 { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
.slide p { margin-top: 14px; font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem); max-width: 54ch; opacity: 0.82; }
.slide__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.slide__facts { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.slide__facts div { font-size: var(--t-xs); opacity: 0.85; }
.slide__facts b { display: block; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.slider__ui { position: absolute; left: clamp(28px, 4vw, 72px); right: clamp(20px, 2vw, 32px); bottom: 24px; display: flex; align-items: center; justify-content: space-between; z-index: 2; pointer-events: none; }
.slider__dots { display: flex; gap: 6px; pointer-events: auto; }
.slider__dots button { width: 30px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; position: relative; }
.slider__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: left; animation: dotfill 6s linear forwards; }
.slider.is-light .slider__dots button { background: rgba(19, 20, 22, 0.18); }
.slider.is-light .slider__dots button.is-active::after { background: var(--dark); }
.slider.is-paused .slider__dots button.is-active::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider__arrows { display: flex; gap: 8px; pointer-events: auto; }
.slider__arrows button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: background var(--d-fast); }
.slider__arrows button:hover { background: rgba(255, 255, 255, 0.28); }
.slider.is-light .slider__arrows button { background: rgba(19, 20, 22, 0.08); color: var(--text); border-color: rgba(19, 20, 22, 0.14); }
.slider__arrows svg { width: 20px; height: 20px; }
.hero__side { display: grid; grid-template-rows: 1fr auto; gap: var(--gap); }
.side-card { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; isolation: isolate; color: #fff; background: var(--dark); }
.side-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease); }
.side-card:hover > img { transform: scale(1.04); }
.side-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 18, 20, 0.05) 15%, rgba(17, 18, 20, 0.92) 100%); }
.side-card .tag { position: absolute; top: 20px; left: 20px; }
.side-card b { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.side-card span { font-size: var(--t-sm); color: rgba(255, 255, 255, 0.78); margin-top: 6px; }
.side-card .arrow { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--text); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--d-base) var(--ease); }
.side-card:hover .arrow { transform: rotate(-45deg); }
.side-card .arrow svg { width: 18px; height: 18px; }
.side-card--yellow { background: var(--yellow); color: var(--text); min-height: 0; padding: 22px 24px; justify-content: flex-start; }
.side-card--yellow::before { display: none; }
.side-card--yellow span { color: var(--text-2); }
.side-card--yellow .arrow { background: var(--dark); color: #fff; }

/* ---------- подбор по авто ---------- */
.picker { margin-top: 12px; border-radius: var(--r-xl); background: var(--band); padding: 14px 14px 14px clamp(18px, 2vw, 28px); display: grid; grid-template-columns: minmax(220px, 0.85fr) repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: center; }
.picker__title { display: flex; align-items: center; gap: 12px; }
.picker__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; }
.picker__ico svg { width: 22px; height: 22px; }
.picker__title span { display: none; }
.picker__title b { display: block; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.picker__title span { font-size: var(--t-xs); color: var(--text-2); line-height: 1.35; margin-top: 2px; }
.picker .btn { min-height: 48px; }
.picker--2 { grid-template-columns: minmax(200px, 0.9fr) repeat(2, minmax(0, 1fr)) auto; }
.subscribe { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.subscribe__row { display: flex; gap: 8px; }
.subscribe__row .input { width: 260px; }
.picker__hint { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: var(--t-xs); color: var(--text-2); }
.picker__hint a { color: var(--text); font-weight: 550; border-bottom: 1px solid var(--line-2); }
.picker__hint a:hover { border-color: var(--text); }

/* ---------- плитки категорий ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.cat { position: relative; display: flex; flex-direction: column; min-height: var(--cat-h, 200px); padding: 18px 20px; border-radius: var(--r-lg); background: var(--band); overflow: hidden; isolation: isolate; transition: background var(--d-fast); }
.cat:hover { background: var(--band-2); }
.cat b { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; max-width: 14ch; }
.cat span { font-size: var(--t-xs); color: var(--text-2); margin-top: 6px; max-width: 22ch; }
.cat img { position: absolute; right: 14px; bottom: 14px; width: min(44%, 150px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; z-index: -1; transition: transform 600ms var(--ease); box-shadow: var(--sh-md); }
.cat > b, .cat > span { position: relative; }
.cat > span:not(.cat__more) { max-width: 54%; }
.cat:hover img { transform: scale(1.05) rotate(-2deg); }
.cat--dark { background: var(--dark); color: #fff; }
.cat--dark:hover { background: var(--dark-2); }
.cat--dark span:not(.cat__more) { color: rgba(255, 255, 255, 0.7); }
.cat--yellow { background: var(--yellow); }
.cat--yellow:hover { background: var(--yellow-2); }
.cat__more { margin-top: auto; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--text); transition: transform var(--d-base) var(--ease); }
.cat:hover .cat__more { transform: translateX(4px); }
.cat__more svg { width: 18px; height: 18px; }

/* ---------- марки ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(112px, 8.2vw, 150px), 1fr)); gap: 10px; }
.brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-align: center; transition: border-color var(--d-fast), box-shadow var(--d-base), transform var(--d-base) var(--ease); }
.brand:hover { border-color: transparent; box-shadow: var(--sh-md); transform: translateY(-2px); }
.brand img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.8; transition: filter var(--d-base), opacity var(--d-base); }
.brand:hover img { filter: none; opacity: 1; }
.brand span { font-size: var(--t-sm); font-weight: 650; line-height: 1.2; }
.brand small { font-size: 0.75rem; color: var(--text-3); margin-top: -6px; }
.brand--all { background: var(--dark); color: #fff; border-color: var(--dark); }
.brand--all b { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 52px; }
.brand--all small { color: rgba(255, 255, 255, 0.6); }

/* ---------- сетка товаров и карточка ---------- */
.grid, .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(220px, 15vw, 290px), 1fr)); gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow var(--d-base), border-color var(--d-base); }
.card:hover { box-shadow: var(--sh-md); border-color: transparent; }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--band); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__logo { position: absolute; left: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 10px; background: #fff; padding: 5px; box-shadow: var(--sh-sm); }
.card__logo img { object-fit: contain; width: 100%; height: 100%; }
.card__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.card__tag { height: 24px; padding: 0 8px; border-radius: 6px; font-size: 0.6875rem; font-weight: 750; display: inline-flex; align-items: center; background: var(--yellow); color: var(--on-yellow); }
.card__tag--sale { background: var(--sale); color: #fff; }
.card__tag--dark { background: var(--dark); color: #fff; }
.card__tag--white { background: #fff; color: var(--text); }
.card__fav { position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh-sm); transition: color var(--d-fast), transform var(--d-fast); }
.card__fav svg { width: 18px; height: 18px; }
.card__fav:hover { color: var(--sale); transform: scale(1.06); }
.card__fav.is-on { color: var(--sale); }
.card__fav.is-on svg { fill: currentColor; }
.card__swatches { position: absolute; right: 12px; bottom: 12px; display: flex; padding-left: 6px; }
.card__swatches i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background-size: cover; margin-left: -7px; box-shadow: var(--sh-sm); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-weight: 600; font-size: var(--t-sm); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.card__title:hover { color: var(--text-2); }
.card__meta { font-size: var(--t-xs); color: var(--text-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card__ready { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--success); }
.card__ready::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stars { color: var(--star); letter-spacing: -0.05em; font-size: 0.8125rem; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.02em; white-space: nowrap; }
.price small { font-size: 0.75rem; font-weight: 500; color: var(--text-2); display: block; letter-spacing: 0; white-space: normal; }
.price s { font-size: 0.8125rem; font-weight: 500; color: var(--text-3); margin-left: 6px; letter-spacing: 0; }
.cart-btn { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; transition: background var(--d-fast), color var(--d-fast); }
.cart-btn:hover { background: var(--yellow-2); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn.is-added { background: var(--dark); color: #fff; }

/* большая плашка «индивидуальный пошив» внутри сетки */
.custom-card { grid-column: span 2; position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; transition: box-shadow var(--d-base); }
.custom-card:hover { box-shadow: var(--sh-lg); }
.custom-card__body { padding: clamp(20px, 1.8vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.custom-card__body .tag { align-self: flex-start; }
.custom-card h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.custom-card p { font-size: var(--t-sm); color: rgba(255, 255, 255, 0.72); }
.custom-card ul { display: flex; flex-direction: column; gap: 8px; font-size: var(--t-sm); margin-top: 4px; }
.custom-card li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, 0.88); }
.custom-card li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131416' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.custom-card__price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; }
.custom-card__price b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.custom-card__price small { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.custom-card__visual { position: relative; overflow: hidden; min-height: 240px; }
.custom-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.custom-card:hover .custom-card__visual img { transform: scale(1.04); }
.custom-card__visual .pal { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.custom-card__visual .pal i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background-size: cover; box-shadow: var(--sh-sm); }
.custom-card--wide { grid-column: 1 / -1; grid-template-columns: 1.1fr 1fr; }
.grid:has(> .custom-card--wide) { grid-auto-flow: row dense; }

/* ---------- промо-полосы ---------- */
.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.promo { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--band); min-height: 108px; }
.promo--yellow { background: var(--yellow); }
.promo--dark { background: var(--dark); color: #fff; }
.promo__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.promo--dark .promo__icon { background: rgba(255, 255, 255, 0.1); color: var(--yellow); }
.promo__icon svg { width: 24px; height: 24px; }
.promo b { display: block; font-weight: 750; font-size: 1rem; letter-spacing: -0.01em; }
.promo span { font-size: var(--t-xs); opacity: 0.75; }

/* ---------- блок «индивидуальный пошив» на главной ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: var(--r-xl); overflow: hidden; background: var(--dark); color: #fff; }
.studio__body { padding: clamp(28px, 4vw, 72px); display: flex; flex-direction: column; gap: 18px; }
.studio h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.875rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.studio p { color: rgba(255, 255, 255, 0.72); max-width: 52ch; }
.studio__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.studio__steps div { padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--dark-line); }
.studio__steps i { font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--yellow); }
.studio__steps b { display: block; font-size: var(--t-sm); margin-top: 6px; }
.studio__steps span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.studio__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.studio__visual { position: relative; min-height: 440px; }
.studio__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio__panel { position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: 400px; background: rgba(255, 255, 255, 0.97); color: var(--text); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-lg); }
.studio__panel b { font-size: var(--t-sm); }
.studio__panel .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: var(--t-xs); color: var(--text-2); }
.studio__panel .pal { display: flex; gap: 5px; }
.studio__panel .pal i { width: 22px; height: 22px; border-radius: 50%; background-size: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.studio__panel .pal i.on { outline: 2px solid var(--text); outline-offset: 2px; }
.studio__panel .price { font-size: 1.125rem; }

/* ---------- материалы ---------- */
.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.material { display: grid; grid-template-columns: 44% 1fr; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; transition: box-shadow var(--d-base), border-color var(--d-base); }
.material:hover { box-shadow: var(--sh-md); border-color: transparent; }
.material__img { min-height: 240px; position: relative; }
.material__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.material__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.material__body h3 { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; }
.material__body p { font-size: var(--t-xs); color: var(--text-2); }
.material__body .price { margin-top: auto; }
.material__sw { display: flex; gap: 5px; }
.material__sw i { width: 20px; height: 20px; border-radius: 50%; background-size: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }

/* ---------- Москва ---------- */
.moscow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.moscow__map { border-radius: var(--r-xl); overflow: hidden; background: var(--band); min-height: 400px; position: relative; }
.moscow__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.05); pointer-events: none; }
.moscow__body { border-radius: var(--r-xl); background: var(--band); padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.moscow__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.moscow__facts div { background: #fff; border-radius: var(--r-md); padding: 16px; }
.moscow__facts b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.moscow__facts span { font-size: var(--t-xs); color: var(--text-2); }

/* ---------- преимущества ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit b { display: block; font-weight: 750; font-size: 1rem; margin-bottom: 3px; letter-spacing: -0.01em; }
.benefit span { font-size: var(--t-xs); color: var(--text-2); }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.review { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--band-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 750; font-size: var(--t-xs); flex: none; }
.review__head b { display: block; font-weight: 650; font-size: var(--t-sm); }
.review__head span { font-size: var(--t-xs); color: var(--text-2); }
.review .stars { margin-left: auto; }
.review p { font-size: var(--t-sm); color: var(--text-2); }
.review__car { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); font-weight: 650; margin-top: auto; padding: 7px 11px; background: var(--band); border-radius: 8px; align-self: flex-start; }
.review__car img { width: 18px; height: 18px; object-fit: contain; }
.review__photos { display: flex; gap: 6px; }
.review__photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.review--reply { padding: 10px 12px; border-left: 3px solid var(--yellow); background: var(--band); font-size: var(--t-xs); }
.rating-box { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--band); margin-bottom: var(--gap); flex-wrap: wrap; }
.rating-box b { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
.rating-box .stars { font-size: 1rem; }
.rating-box .src { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.rating-box .src span { font-size: var(--t-xs); font-weight: 650; padding: 7px 11px; border-radius: 8px; background: #fff; }
.review-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--d-fast); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--t-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--band); display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 1.1rem; transition: transform var(--d-base) var(--ease), background var(--d-fast); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details p { padding: 0 20px 18px; font-size: var(--t-sm); color: var(--text-2); }
.faq__aside { padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-xl); background: var(--band); position: sticky; top: 150px; }
.faq__aside h2 { font-size: var(--t-h2); font-weight: 750; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 10px; }
.faq__aside p { color: var(--text-2); font-size: var(--t-sm); }

/* ---------- SEO-текст ---------- */
.seo { font-size: var(--t-sm); color: var(--text-2); max-width: none; }
.seo h2 { font-size: 1.375rem; letter-spacing: -0.02em; color: var(--text); margin-bottom: 14px; }
.seo h3 { font-size: 0.9375rem; color: var(--text); margin: 14px 0 6px; }
.seo h2:not(:first-child) { margin-top: 22px; }
.seo p { margin-bottom: 10px; }
.seo ul { list-style: disc; padding-left: 18px; margin-bottom: 10px; }

/* ---------- футер ---------- */
.footer { margin-top: var(--section); background: var(--dark); color: rgba(255, 255, 255, 0.66); padding-top: clamp(40px, 4vw, 64px); font-size: var(--t-sm); overflow: hidden; }
.footer a { transition: color var(--d-fast); }
.footer a:hover { color: #fff; }
.footer .logo__text { color: #fff; }
.footer .logo__text small { color: rgba(255, 255, 255, 0.5); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-bottom: clamp(28px, 2.6vw, 40px); border-bottom: 1px solid var(--dark-line); }
.footer__contacts { display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.footer__contacts > div span { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 2px; }
.footer__contacts > div b, .footer__contacts > div a { color: #fff; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.footer__phone { color: #fff; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); display: inline-flex; align-items: center; justify-content: center; transition: background var(--d-fast), color var(--d-fast); }
.socials a:hover { background: var(--yellow); color: var(--on-yellow); }
.socials svg { width: 18px; height: 18px; }
.footer__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; padding-top: clamp(32px, 3vw, 48px); }
.footer__cols > * { min-width: 0; }
.footer h4 { color: rgba(255, 255, 255, 0.42); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.footer__cols li { margin-bottom: 12px; line-height: 1.35; }
.footer__cols a { color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; }
.footer a.more { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; }
.footer__cities { padding-top: clamp(28px, 3vw, 48px); }
.footer__cities ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__cities a { color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; }
.footer__bottom { margin-top: clamp(32px, 3vw, 48px); padding-top: 22px; border-top: 1px solid var(--dark-line); display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 16px 40px; font-size: var(--t-xs); color: rgba(255, 255, 255, 0.45); }
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal { justify-self: end; max-width: 92ch; line-height: 1.55; }

/* ---------- заголовок страницы, крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--t-xs); color: var(--text-2); padding: 18px 0 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--text-3); border-top: 1.5px solid var(--text-3); transform: rotate(45deg); margin-right: 4px; }
.crumbs a:hover { color: var(--text); }
.page-head { padding-top: 14px; }
.page-head h1, .page-intro h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: var(--t-sm); color: var(--text-2); align-items: center; }
.page-head__meta b { color: var(--text); font-weight: 650; }
.page-intro { padding: 22px 0 6px; }
.page-intro p.lead { margin-top: 12px; }
.brand-head { display: flex; gap: 20px; align-items: center; }
.brand-head img { width: 84px; height: 84px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; }

/* ---------- каталог: боковая колонка + выдача ---------- */
.shop { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(20px, 2vw, 36px); align-items: start; margin-top: 24px; }
.side { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 170px); overflow: auto; scrollbar-width: thin; }
.side__box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; background: #fff; }
.side__box h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.side__list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-size: var(--t-sm); color: var(--text); transition: background var(--d-fast); }
.side__list a:hover { background: var(--band); }
.side__list a.is-active { background: var(--dark); color: #fff; font-weight: 650; }
.side__list a small { color: var(--text-3); font-size: 0.75rem; white-space: nowrap; }
.side__list a.is-active small { color: rgba(255, 255, 255, 0.6); }
.side__list .sub { padding-left: 12px; border-left: 2px solid var(--line); margin: 2px 0 6px 4px; }
.side__list .sub a { font-size: var(--t-xs); padding: 6px 10px; }
.side__box--yellow { background: var(--yellow); border-color: transparent; }
.side__box--yellow h4 { color: var(--text); }
.side__box--yellow p { font-size: var(--t-sm); margin: 0 0 12px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .select { width: auto; min-width: 200px; height: 40px; border-radius: 10px; }
.toolbar__count { font-size: var(--t-sm); color: var(--text-2); }
.toolbar__search { flex: 1 1 280px; max-width: 420px; }
.toolbar__sort { display: flex; gap: 10px; align-items: center; }
.ready-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.ready-strip > div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--band); font-size: var(--t-xs); color: var(--text-2); }
.ready-strip svg { width: 22px; height: 22px; flex: none; color: var(--text); }
.ready-strip b { display: block; color: var(--text); font-size: var(--t-sm); font-weight: 650; }

/* карточки моделей / поколений */
.fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 17vw, 320px), 1fr)); gap: var(--gap); }
.fam { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow var(--d-base), border-color var(--d-base); }
.fam:hover { box-shadow: var(--sh-md); border-color: transparent; }
.fam__media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--band); display: block; }
.fam__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.fam:hover .fam__media img { transform: scale(1.04); }
.fam__media .tag { position: absolute; left: 12px; top: 12px; }
.fam__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fam__title { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.fam__years { font-size: var(--t-xs); color: var(--text-2); margin-top: -6px; }
.fam__stats { display: flex; flex-wrap: wrap; gap: 6px; }
.fam__stats span { font-size: 0.75rem; color: var(--text-2); padding: 5px 10px; border-radius: 8px; background: var(--band); }
.fam__stats b { color: var(--text); font-weight: 700; }
.fam__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.fam__foot .price { font-size: 1.0625rem; white-space: nowrap; }
.fam:hover .fam__foot .btn { background: var(--text); color: #fff; border-color: var(--text); }
.gens { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 19vw, 360px), 1fr)); gap: var(--gap); }
.gen { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow var(--d-base), border-color var(--d-base); }
.gen:hover { box-shadow: var(--sh-md); border-color: transparent; }
.gen img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; }
.gen b { display: block; font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; }
.gen span { display: block; font-size: var(--t-xs); color: var(--text-2); margin-top: 3px; }
.gen .price { font-size: 1rem; margin-top: 10px; }
.alpha { display: flex; flex-wrap: wrap; gap: 6px; }
.alpha button { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: var(--t-xs); font-weight: 650; background: var(--band); transition: background var(--d-fast); }
.alpha button:hover, .alpha .is-active { background: var(--yellow); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 22px 0 18px; }
.filters .search { flex: 1 1 320px; max-width: 520px; }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--text-2); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* ---------- карточка товара ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); gap: clamp(24px, 3vw, 56px); align-items: start; margin-top: 22px; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; position: sticky; top: 150px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--band); transition: border-color var(--d-fast); }
.gallery__thumbs button.is-active { border-color: var(--text); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; background: var(--band); }
.gallery__main > img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--d-base); }
.gallery__main .card__tags { top: 16px; left: 16px; }
.buybox h1 { font-size: clamp(1.375rem, 1rem + 0.9vw, 1.875rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.buybox__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--t-xs); color: var(--text-2); margin-top: 12px; align-items: center; }
.buybox__meta b { color: var(--text); }
.buybox__price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.buybox__price .price { font-size: clamp(1.875rem, 1.5rem + 1vw, 2.5rem); letter-spacing: -0.035em; }
.buybox__price .price s { font-size: 1rem; }
.buybox__ready { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--success-bg); color: var(--success); font-size: var(--t-sm); }
.buybox__ready svg { width: 22px; height: 22px; flex: none; }
.buybox__ready b { color: var(--text); display: block; }
.buybox__ready span { color: var(--text-2); font-size: var(--t-xs); }
.opt-block { margin-top: 20px; }
.buy-panel { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); }
.buy-panel__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.buy-panel .buybox__price { margin-top: 0; gap: 12px; flex-wrap: nowrap; }
.buy-panel .buybox__price .muted { line-height: 1.3; }
.buy-panel__ready { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; background: var(--success-bg); font-size: var(--t-xs); line-height: 1.3; }
.buy-panel__ready svg { width: 22px; height: 22px; color: var(--success); flex: none; }
.buy-panel__ready b { display: block; font-size: var(--t-sm); }
.buy-panel__ready span { color: var(--text-2); }
.buy-panel .buybox__cta { margin-top: 14px; }
.buy-panel__perks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: var(--t-xs); color: var(--text-2); }
.buy-panel__perks li { display: flex; align-items: center; gap: 6px; }
.buy-panel__perks svg { width: 14px; height: 14px; flex: none; color: var(--success); }
.opt-block h4 { font-size: var(--t-xs); font-weight: 650; color: var(--text-2); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; }
.opt-block h4 b { color: var(--text); font-weight: 650; }
.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.variant { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; outline: 1px solid var(--line); transition: border-color var(--d-fast); }
.variant img { width: 100%; height: 100%; object-fit: cover; }
.variant.is-active { border-color: var(--text); outline-color: transparent; }
.variant:hover { border-color: var(--line-2); }
.variant.is-active:hover { border-color: var(--text); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 14px; background: var(--band); }
.seg button, .seg a { min-height: 48px; padding: 6px; border-radius: 10px; font-size: var(--t-sm); font-weight: 650; color: var(--text-2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; text-align: center; transition: background var(--d-fast), color var(--d-fast), box-shadow var(--d-fast); }
.seg small { font-size: 0.6875rem; font-weight: 500; margin-top: 2px; }
.seg .is-selected { background: #fff; color: var(--text); box-shadow: var(--sh-sm); }
.addons { display: grid; gap: 8px; }
.buybox__cta { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 24px; }
.buybox__info { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.buybox__info > div { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; font-size: var(--t-sm); border-bottom: 1px solid var(--line); }
.buybox__info > div:last-child { border-bottom: 0; }
.buybox__info svg { width: 20px; height: 20px; }
.buybox__info span { display: block; font-size: var(--t-xs); color: var(--text-2); }
.buybox__info em { font-style: normal; font-weight: 650; white-space: nowrap; }
.buybox__custom { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--dark); color: #fff; transition: background var(--d-fast); }
.buybox__custom:hover { background: var(--dark-2); }
.buybox__custom img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.buybox__custom b { display: block; font-size: var(--t-sm); }
.buybox__custom span { font-size: var(--t-xs); color: rgba(255, 255, 255, 0.65); }
.buybox__custom svg { margin-left: auto; width: 20px; height: 20px; flex: none; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; font-size: var(--t-sm); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--text-2); }
.spec dd { margin: 0; font-weight: 650; text-align: right; }
.includes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.includes div { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--band); font-size: var(--t-xs); font-weight: 550; }
.includes svg { width: 18px; height: 18px; flex: none; color: var(--success); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs button { height: 50px; padding: 0 16px; font-weight: 650; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: var(--t-sm); transition: color var(--d-fast); }
.tabs button:hover { color: var(--text); }
.tabs button.is-active { color: var(--text); border-color: var(--text); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; animation: fade var(--d-base) var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.prose { max-width: 80ch; font-size: var(--t-sm); color: var(--text-2); }
.prose h3 { color: var(--text); font-size: 1rem; margin: 18px 0 8px; }
.prose p { margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 10px; }
.prose li { margin-bottom: 4px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(19, 20, 22, 0.08); transform: translateY(110%); transition: transform var(--d-base) var(--ease); }
body.cta-away .sticky-cta { transform: none; }
.sticky-cta__in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.sticky-cta__img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.sticky-cta__name { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sticky-cta__name b { font-size: var(--t-sm); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta__name span { font-size: var(--t-xs); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .price { font-size: 1.5rem; letter-spacing: -0.03em; white-space: nowrap; margin-right: 8px; }
.sticky-cta .btn { min-width: 170px; }
body.has-sticky { padding-bottom: 80px; }

/* ---------- конструктор (индивидуальный пошив) ---------- */
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calc__grid + .calc__grid, .field + .calc__grid { margin-top: 18px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; text-align: left; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; transition: border-color var(--d-fast), box-shadow var(--d-fast); }
.opt:hover { border-color: var(--text); }
.opt.is-selected { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.opt.is-selected::after { content: ""; position: absolute; right: 10px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131416' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.opt b { font-weight: 650; font-size: var(--t-sm); padding-right: 24px; }
.opt span { font-size: var(--t-xs); color: var(--text-2); }
.opt .opt__price { font-weight: 650; color: var(--text); margin-top: 2px; }
.opt--swatch { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
.opt--swatch img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.opt--swatch > div { display: flex; flex-direction: column; min-width: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 42px; height: 42px; border-radius: 50%; padding: 0; border: 2px solid transparent; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); transition: transform var(--d-fast) var(--ease), border-color var(--d-fast); position: relative; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-selected { border-color: var(--text); box-shadow: 0 0 0 2px #fff inset; }
.swatch[title]::after { content: attr(title); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); background: var(--dark); color: #fff; font-size: 0.6875rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--d-fast); z-index: 3; }
.swatch:hover::after { opacity: 1; }
.toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; cursor: pointer; transition: border-color var(--d-fast); }
.toggle:hover { border-color: var(--text); }
.toggle b { font-weight: 650; font-size: var(--t-sm); display: block; }
.toggle span { font-size: var(--t-xs); color: var(--text-2); }
.toggle input { position: absolute; opacity: 0; }
.toggle .sw { flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; transition: background var(--d-fast); }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform var(--d-base) var(--ease); }
.toggle input:checked ~ .sw { background: var(--text); }
.toggle input:checked ~ .sw::after { transform: translateX(18px); }
.toggle .tp { font-weight: 650; font-size: var(--t-xs); white-space: nowrap; }
.calc__car { font-weight: 750; font-size: 1.0625rem; letter-spacing: -0.01em; }
.calc__car small { display: block; font-size: var(--t-xs); color: var(--text-2); font-weight: 500; margin-top: 3px; letter-spacing: 0; }
.calc__lines { margin: 14px 0; border-top: 1px dashed var(--line-2); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-xs); }
.calc__lines div { display: flex; justify-content: space-between; gap: 12px; }
.calc__lines div > :last-child { white-space: nowrap; text-align: right; }
.calc__lines .free { color: var(--success); font-weight: 650; }
.calc__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 14px 0 16px; }
.calc__total .price { font-size: 1.875rem; letter-spacing: -0.03em; }
.calc__note { font-size: var(--t-xs); color: var(--text-2); margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; }
.calc__note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--success); }
.calc__savings { display: inline-flex; align-items: center; gap: 6px; background: var(--success-bg); color: var(--success); font-weight: 650; font-size: var(--t-xs); padding: 4px 10px; border-radius: 6px; }

/* ---------- контентные страницы (информация, блог, компания) ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 56px); align-items: start; margin-top: 22px; }
.layout > *, .article, .prose--lg { min-width: 0; max-width: 100%; }
.aside { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 12px; }
.aside__box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.aside__box h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.aside__box li a { display: block; padding: 8px 0; font-size: var(--t-sm); border-bottom: 1px solid var(--line); color: var(--text-2); }
.aside__box li:last-child a { border-bottom: 0; }
.aside__box li a:hover { color: var(--text); }
.aside__box--yellow { background: var(--yellow); border-color: transparent; }
.aside__box--yellow h4 { color: var(--text); }
.aside__box--yellow p { font-size: var(--t-sm); margin: 4px 0 12px; }
.article { max-width: 820px; }
.article h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--t-xs); color: var(--text-2); margin: 14px 0 22px; align-items: center; }
.article__cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 26px; background: var(--band); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose--lg { font-size: 1rem; color: var(--text); line-height: 1.65; }
.prose--lg p { margin-bottom: 14px; }
.prose--lg h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; margin: 34px 0 12px; }
.prose--lg h3 { font-size: 1.125rem; font-weight: 700; margin: 24px 0 8px; }
.prose--lg ul, .prose--lg ol { padding-left: 22px; margin-bottom: 14px; }
.prose--lg ul { list-style: disc; } .prose--lg ol { list-style: decimal; }
.prose--lg li { margin-bottom: 6px; }
.prose--lg img { border-radius: var(--r-md); margin: 6px 0 16px; }
.prose--lg blockquote { margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--yellow); background: var(--band); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 0.9375rem; }
.prose--lg a { text-decoration: underline; text-decoration-color: var(--yellow-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--band); margin: 18px 0; font-size: var(--t-sm); }
.callout--yellow { background: var(--yellow); }
.callout--red { background: #fdecea; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.callout b { display: block; margin-bottom: 2px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: 12px 0 20px; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-2); background: var(--band); }
.table .ok { color: var(--success); font-weight: 650; }
.steps-list { counter-reset: st; display: flex; flex-direction: column; gap: 12px; margin: 16px 0 24px; }
.steps-list > li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.steps-list > li::before { content: counter(st); width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-weight: 750; }
.steps-list b { display: block; margin-bottom: 4px; }
.steps-list p { font-size: var(--t-sm); color: var(--text-2); margin: 0; }
.article__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--t-sm); flex-wrap: wrap; }
.article__nav .link { white-space: normal; }
.share { display: flex; gap: 8px; align-items: center; margin-top: 28px; font-size: var(--t-xs); color: var(--text-2); }
.share a { width: 36px; height: 36px; border-radius: 10px; background: var(--band); display: inline-flex; align-items: center; justify-content: center; }
.share svg { width: 16px; height: 16px; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.guide { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow var(--d-base), border-color var(--d-base); }
.guide:hover { box-shadow: var(--sh-md); border-color: transparent; }
.guide__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }
.guide__icon svg { width: 22px; height: 22px; }
.guide b { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; }
.guide p { font-size: var(--t-sm); color: var(--text-2); }
.guide .link { margin-top: auto; white-space: normal; }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow var(--d-base), border-color var(--d-base); }
.post:hover { box-shadow: var(--sh-md); border-color: transparent; }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--band); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: var(--t-xs); color: var(--text-2); }
.post__title { font-size: 1.0625rem; font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; }
.post__lead { font-size: var(--t-sm); color: var(--text-2); }
.post--wide { grid-column: span 2; flex-direction: row; }
.post--wide .post__img { flex: 0 0 55%; aspect-ratio: auto; }
.post--wide .post__title { font-size: 1.5rem; letter-spacing: -0.02em; }
.post-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 2vw, 30px); }
.tile h3 { font-size: var(--t-h3); font-weight: 750; letter-spacing: -0.01em; }
.tile p { color: var(--text-2); font-size: var(--t-sm); }
.tile--soft { background: var(--band); border-color: transparent; }
.tile--yellow { background: var(--yellow); border-color: transparent; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.col-4 { grid-column: span 4; } .col-6 { grid-column: span 6; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }

/* корзина */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 26vw, 420px); gap: var(--gap); align-items: start; margin-top: 20px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cart-item__img { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; background: var(--band); }
.cart-item__title { font-weight: 650; font-size: var(--t-sm); }
.cart-item__sub { font-size: var(--t-xs); color: var(--text-2); margin-top: 3px; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__remove { font-size: var(--t-xs); color: var(--text-2); text-decoration: underline; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 34px; font-weight: 650; }
.qty button:hover { background: var(--band); }
.qty span { min-width: 30px; text-align: center; font-size: var(--t-sm); font-weight: 650; }
.cart-empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-xl); }
.cart-empty svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--text-3); }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r-md); cursor: pointer; margin-bottom: 8px; transition: border-color var(--d-fast); }
.radio:hover { border-color: var(--text); }
.radio input { margin-top: 3px; accent-color: var(--text); }
.radio b { display: block; font-size: var(--t-sm); }
.radio span { font-size: var(--t-xs); color: var(--text-2); }
.radio .rp { margin-left: auto; font-weight: 650; font-size: var(--t-sm); white-space: nowrap; }

/* компания, контакты */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.map { border-radius: var(--r-xl); overflow: hidden; background: var(--band); min-height: 380px; position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: flex-start; }
.info-list > div > svg { width: 22px; height: 22px; margin: 2px auto 0; }
.info-list b { display: block; font-size: var(--t-sm); }
.info-list span { font-size: var(--t-sm); color: var(--text-2); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat { padding: 22px; border-radius: var(--r-lg); background: var(--band); }
.stat b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.stat span { font-size: var(--t-sm); color: var(--text-2); }
.timeline div { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.timeline b { font-weight: 750; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); width: 100%; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pricing > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.pricing > div.is-featured { background: var(--yellow); border-color: transparent; }
.pricing b { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0; }
.pricing ul { list-style: disc; padding-left: 18px; font-size: var(--t-sm); color: var(--text-2); margin-top: 8px; }
.sales-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.sale { display: grid; grid-template-columns: 1fr 220px; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: var(--band); overflow: hidden; }
.sale--yellow { background: var(--yellow); }
.sale--dark { background: var(--dark); color: #fff; }
.sale--dark p { color: rgba(255, 255, 255, 0.72); }
.sale h3 { font-size: 1.25rem; font-weight: 750; margin-bottom: 6px; letter-spacing: -0.01em; }
.sale p { font-size: var(--t-sm); color: var(--text-2); }
.sale small { display: block; margin-top: 10px; font-size: var(--t-xs); opacity: 0.7; }
.sale img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; min-height: 150px; }
.thanks { max-width: 640px; margin: 48px auto; text-align: center; padding: 44px 24px; border: 1px solid var(--line); border-radius: var(--r-xl); }
.thanks svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--success); }
.thanks h1 { font-size: var(--t-h2); margin-bottom: 8px; letter-spacing: -0.03em; }
.thanks p { color: var(--text-2); margin-bottom: 20px; }
.select-car { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; padding: 18px; border-radius: var(--r-lg); background: var(--band); margin-top: 18px; }
.legal { max-width: 820px; font-size: var(--t-sm); color: var(--text-2); }
.legal h2 { font-size: 1.125rem; color: var(--text); margin: 22px 0 8px; }
.legal p { margin-bottom: 10px; }
.legal ol { list-style: decimal; padding-left: 20px; }

/* ---------- модалки, шторка, уведомления ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal__bg { position: absolute; inset: 0; background: rgba(19, 20, 22, 0.5); }
.modal__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-lg); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.modal__head h3 { font-size: 1.375rem; font-weight: 750; letter-spacing: -0.02em; }
.iconbtn { position: relative; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; transition: background var(--d-fast); }
.iconbtn:hover { background: var(--band); }
.iconbtn svg { width: 22px; height: 22px; }
.city-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; max-height: 320px; overflow: auto; }
.city-list__item { text-align: left; padding: 10px 12px; border-radius: 10px; font-size: var(--t-sm); transition: background var(--d-fast); }
.city-list__item:hover { background: var(--band); }
.city-list__item.is-active { background: var(--yellow); font-weight: 650; }
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.is-open { display: block; }
.drawer__bg { position: absolute; inset: 0; background: rgba(19, 20, 22, 0.5); }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(400px, 90vw); background: #fff; padding: 16px; overflow: auto; display: flex; flex-direction: column; gap: 14px; animation: slide var(--d-base) var(--ease); }
@keyframes slide { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--band); }
.drawer__tabs button { height: 40px; border-radius: 9px; font-size: var(--t-sm); font-weight: 650; color: var(--text-2); }
.drawer__tabs button.is-active { background: #fff; color: var(--text); box-shadow: var(--sh-sm); }
.drawer__pane { display: none; }
.drawer__pane.is-active { display: block; }
.nav-list a { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 550; font-size: var(--t-sm); }
.nav-list a.is-custom { font-weight: 750; }
.nav-list small { font-size: 0.75rem; color: var(--text-3); margin: 14px 0 2px; display: block; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; font-weight: 550; font-size: var(--t-sm); cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary img { width: 28px; height: 28px; object-fit: contain; }
.acc summary small { color: var(--text-3); font-size: 0.75rem; }
.acc details[open] summary { font-weight: 700; }
.acc__models { padding: 0 0 10px 38px; display: flex; flex-direction: column; gap: 2px; }
.acc__models a { font-size: var(--t-xs); padding: 6px 0; color: var(--text-2); }
.acc__models a b { color: var(--text); font-weight: 600; }
.acc__models .more { font-weight: 650; color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--dark); color: #fff; padding: 13px 18px; border-radius: 12px; font-size: var(--t-sm); font-weight: 550; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity var(--d-base), transform var(--d-base) var(--ease); z-index: 200; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.toast a { color: var(--yellow); font-weight: 650; margin-left: 6px; }

/* ======================================================================
   АДАПТИВ
   ====================================================================== */
@media (max-width: 1440px) {
  .header__contacts span { display: none; }
  .mega__inner { grid-template-columns: 260px minmax(0, 1fr) 280px; }
}
@media (max-width: 1280px) {
  .hact span { display: none; }
  .hact { min-width: 46px; }
  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; padding-left: 14px; }
  .picker__title { grid-column: 1 / -1; padding: 2px 0 4px; align-items: flex-start; }
  .picker__title span { display: block; }
  .picker--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .materials { grid-template-columns: 1fr; }
  .material { grid-template-columns: 34% 1fr; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__legal { justify-self: start; }
  .mega__promo { display: none; }
  .mega__inner { grid-template-columns: 260px minmax(0, 1fr); }
  .studio__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats .cat:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 1100px) {
  .header__row { flex-wrap: wrap; min-height: 0; padding: 12px 0; row-gap: 10px; }
  .header__search { order: 10; flex-basis: 100%; }
  .header__contacts { margin-left: auto; }
  .mega { display: none !important; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .studio { grid-template-columns: 1fr; }
  .studio__visual { min-height: 340px; }
  .moscow { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promos { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .shop { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; overflow: visible; }
  .side .side__list { max-height: 260px; overflow: auto; }
  .shop > .side { order: 2; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery__main { aspect-ratio: 4 / 3; max-height: 70vh; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .cart { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .stat-row, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing, .sales-list { grid-template-columns: 1fr; }
  .ready-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__promo { display: none; }
}
@media (max-width: 767px) {
  :root { --r-xl: 18px; --r-lg: 14px; }
  .show-mobile { display: block !important; }
  .hide-mobile { display: none !important; }
  .topbar__right a:not(.keep) { display: none; }
  .header__row { gap: 8px; padding: 10px 0; }
  .burger { display: inline-flex; }
  .header__catalog, .header__contacts, .hact--fav { display: none; }
  .header__actions { margin-left: auto; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text { font-size: 1.0625rem; }
  .logo__text small { display: none; }
  .search__field { height: 46px; }
  .search__field .btn span { display: none; }
  .search__field .btn { width: 38px; padding: 0; }
  .nav { display: none; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .slide { min-height: 540px; align-items: flex-end; padding: 24px 20px 72px; }
  .slide::before { background: linear-gradient(180deg, rgba(17, 18, 20, 0.1) 0%, rgba(17, 18, 20, 0.72) 38%, rgba(17, 18, 20, 0.96) 100%); }
  .slide--yellow::before { background: linear-gradient(180deg, rgba(255, 244, 80, 0) 0%, rgba(255, 244, 80, 0.9) 38%, rgba(255, 244, 80, 1) 100%); }
  .slide__facts { gap: 18px; margin-top: 22px; }
  .slide__actions .btn { flex: 1 1 auto; }
  .slider__ui { left: 20px; right: 16px; bottom: 22px; }
  .slider__arrows { display: none; }
  .hero__side { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; padding: 18px; }
  .picker .btn { width: 100%; }
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 72%; scroll-snap-align: start; min-height: 200px; }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px 12px 12px; }
  .card__foot { gap: 6px; }
  .price { font-size: 1.0625rem; }
  .cart-btn { width: 40px; height: 40px; }
  .custom-card, .custom-card--wide { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .custom-card__visual { min-height: 180px; order: -1; }
  .studio__steps { grid-template-columns: 1fr 1fr; }
  .studio__panel { left: 14px; right: 14px; bottom: 14px; }
  .material { grid-template-columns: 1fr; }
  .material__img { min-height: 200px; }
  .moscow__facts { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .reviews, .posts, .guides { grid-template-columns: 1fr; }
  .post--wide { grid-column: span 1; flex-direction: column; }
  .post--wide .post__img { flex: none; aspect-ratio: 16 / 9; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__contacts { gap: 14px 24px; }
  .fams, .gens { grid-template-columns: 1fr; }
  .ready-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ready-strip > div { padding: 12px; gap: 10px; }
  .gen { grid-template-columns: 88px 1fr; }
  .gen img { width: 88px; height: 88px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery__thumbs button { flex: 0 0 64px; }
  .buybox__cta { grid-template-columns: 1fr auto; }
  .buybox__cta .btn--dark { grid-column: 1 / -1; order: 3; }
  .spec, .includes { grid-template-columns: 1fr; }
  .calc__grid, .calc__grid--3, .form-grid { grid-template-columns: 1fr; }
  .toolbar .select { width: 100%; }
  .brand-head img { width: 64px; height: 64px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__img { width: 72px; height: 72px; }
  .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .city-list { grid-template-columns: 1fr; }
  .sale { grid-template-columns: 1fr; }
  .stat b { font-size: 1.5rem; }
  .select-car { grid-template-columns: 1fr; }
  .sticky-cta__in { gap: 12px; }
  .sticky-cta__img, .sticky-cta__name b, .sticky-cta__buy { display: none; }
  .sticky-cta .price { font-size: 1.25rem; margin-right: 0; }
  .sticky-cta .btn { min-width: 0; }
  body.has-sticky { padding-bottom: 72px; }
  .link { white-space: normal; }
}
/* ---------- мобильная версия: одна карточка в ряд, кнопки без вылетов ---------- */
@media (max-width: 767px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; }
  .btn--lg:not(.btn--icon) { width: 100%; }
  .btn--lg { padding-left: 18px; padding-right: 18px; }
  .btn--icon, .btn--lg.btn--icon { padding: 0; }
  .btn--lg.btn--icon { width: 54px; }
  .buybox__price { gap: 2px 14px; }
  .buy-panel { padding: 14px; }
  .buy-panel__ready { width: 100%; }
  .sticky-cta__name { display: none; }
  .sticky-cta .price { flex: 1; }
  .toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; }
  .toggle > div { grid-column: 1; }
  .toggle .tp { grid-column: 1; grid-row: 2; color: var(--text); }
  .toggle .sw { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .studio__body { padding: 24px 18px; gap: 14px; }
  .studio__steps div { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 10px 12px; }
  .studio__steps i { grid-row: span 2; }
  .studio__steps b { margin-top: 0; }
  .studio__visual { min-height: 300px; }
  .ready-strip { gap: 0; background: var(--band); border-radius: var(--r-md); padding: 2px 14px; }
  .ready-strip > div { background: none; border-radius: 0; padding: 10px 0; }
  .ready-strip > div + div { border-top: 1px solid var(--line); }
  .moscow__facts { gap: 0; background: #fff; border-radius: var(--r-md); padding: 4px 14px; }
  .moscow__facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-radius: 0; background: none; }
  .moscow__facts div + div { border-top: 1px solid var(--line); }
  .moscow__facts b { font-size: 1rem; flex: none; }
  .moscow__facts span { text-align: right; }
  .actions, .slide__actions, .studio__actions, .section__more { flex-direction: column; align-items: stretch; }
  .actions > .btn, .slide__actions > .btn, .studio__actions > .btn, .section__more > .btn { width: 100%; }
  .section:has(.section__more) .section__head > .btn, .section:has(.section__more) .section__head > .link { display: none; }
  .section__head > .btn { align-self: stretch; }
  .slide__tag { height: auto; min-height: 26px; padding: 5px 10px; white-space: normal; line-height: 1.3; font-size: 0.625rem; letter-spacing: 0.02em; max-width: 100%; margin-bottom: 12px; }
  .slide h1, .slide h2 { font-size: clamp(1.625rem, 6.4vw + 0.4rem, 2.125rem); }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand { padding: 12px 8px 10px; gap: 6px; }
  .brand img { width: 40px; height: 40px; }
  .brand small { margin-top: -3px; }
  .brand--all b { line-height: 40px; font-size: 1.5rem; }
  #home-brands .brand:nth-child(n+12):not(.brand--all) { display: none; }
  .grid, .cards, .fams, .gens, .materials, .reviews, .posts, .guides, .promos, .benefits { grid-template-columns: 1fr; gap: 12px; }
  .card__media { aspect-ratio: 4 / 3; }
  .card__body { padding: 14px 16px 16px; }
  .ready-strip, .stat-row, .moscow__facts, .studio__steps, .gallery-grid, .includes, .pricing, .sales-list, .spec { grid-template-columns: 1fr; }
  .custom-card, .custom-card--wide { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .seg button, .seg a { font-size: var(--t-xs); }
  .picker .btn { width: 100%; }
  .picker, .picker--2 { grid-template-columns: 1fr; }
  .subscribe { grid-template-columns: 1fr; }
  .subscribe__row { flex-direction: column; }
  .subscribe__row .input, .subscribe__row .btn { width: 100%; }
  h1, h2, .h1, .h2 { overflow-wrap: break-word; }
  .page-head h1, .page-intro h1, .article h1 { font-size: clamp(1.5rem, 5.6vw + 0.5rem, 2rem); }
  .footer__contacts > div { flex: 1 1 100%; }
  .footer__bottom nav { gap: 10px 18px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar > * { width: 100%; flex: none; }
  .toolbar__count { white-space: nowrap; }
  .toolbar__search { max-width: none; }
  .toolbar__sort .select { flex: 1; min-width: 0; }
  .toolbar .chips { width: 100%; }
  .filters .search { max-width: none; }
  .rating-box .src { margin-left: 0; }
  .side-card b { font-size: 1.125rem; }
  .moscow__body h2 { font-size: 1.5rem; }
  .buybox__cta { grid-template-columns: 1fr auto; }
  .buybox__cta .btn--lg:not(.btn--icon) { width: auto; }
  .buybox__cta > .btn:first-child { width: 100%; }
}
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .logo__text { font-size: 0.9375rem; }
  .seg { gap: 4px; }
}

/* ---------- конструктор чехлов ---------- */
.builder-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-top: 8px; }
.builder-head h1 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.builder-head .lead { max-width: 760px; margin-top: 8px; }
.builder-head__perks { display: flex; flex-wrap: wrap; gap: 8px; }
.builder-head__perks li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--band); font-size: var(--t-xs); font-weight: 600; }
.builder-head__perks svg { width: 15px; height: 15px; color: var(--success); }
.builder { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) minmax(300px, 390px); gap: var(--gap); align-items: start; margin-top: 22px; }
.bstage { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h, 150px) + 12px); }
.bpanel--left { grid-column: 1; grid-row: 1; }
.bpanel--right { grid-column: 3; grid-row: 1; }
.bstage__box { position: relative; display: flex; flex-direction: column; height: calc(100vh - var(--header-h, 150px) - 36px); min-height: 540px; max-height: 880px; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(110% 80% at 50% 30%, #ffffff 0%, #f1f1ed 55%, #e1e1db 100%); }
.bstage__box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.035)); pointer-events: none; }
.bstage__top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 0; }
.bstage__top b { display: block; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.015em; }
.bstage__top span { font-size: var(--t-xs); color: var(--text-2); }
.bstage__hint { flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); font-size: 0.75rem !important; box-shadow: var(--sh-sm); }
.bstage__seat { position: relative; flex: 1; min-height: 0; perspective: 1400px; }
.bstage__seat svg { position: absolute; inset: 8px 16px; width: calc(100% - 32px); height: calc(100% - 16px); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 600ms var(--ease); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.12)); }
.bstage__legend { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 16px; }
.bstage__legend span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: var(--sh-sm); font-size: 0.75rem; color: var(--text-2); }
.bstage__legend span:not(:has(i)) { padding-left: 10px; }
.bstage__legend b { color: var(--text); font-weight: 650; }
.bstage__legend i { width: 18px; height: 18px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.bstage__tools { position: relative; z-index: 1; display: flex; justify-content: center; gap: 8px; padding: 12px 16px 18px; }
.bstage__tools .btn { background: rgba(255, 255, 255, 0.85); }
.bstage__tools svg { width: 16px; height: 16px; }
.bpanel { border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; overflow: hidden; }
.bsec { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.bsec:last-child { border-bottom: 0; }
.bsec__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bsec h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; }
.bsec h3 i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font-style: normal; font-size: 0.75rem; font-weight: 800; }
.bsec h3 small { font-size: var(--t-xs); font-weight: 500; color: var(--text-2); }
.bsec__head > span { font-size: var(--t-xs); color: var(--text-2); text-align: right; }
.bsec__fields { display: grid; gap: 8px; }
.bsec__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bsec__chips button { padding: 6px 10px; border-radius: 8px; background: var(--band); font-size: 0.75rem; font-weight: 600; transition: background var(--d-fast), color var(--d-fast); }
.bsec__chips button:hover { background: var(--yellow); }
.bsec__chips button.is-selected { background: var(--text); color: #fff; }
.bsec__sub { display: flex; flex-direction: column; gap: 8px; font-size: var(--t-xs); color: var(--text-2); }
.bsec__incl { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--text-2); }
.bsec__incl svg { width: 16px; height: 16px; flex: none; color: var(--success); }
.bdesign { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bdesign button, .bmat button { position: relative; border: 1px solid var(--line-2); border-radius: 12px; text-align: left; transition: border-color var(--d-fast), box-shadow var(--d-fast); }
.bdesign button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; }
.bdesign button:hover, .bmat button:hover { border-color: var(--text); }
.bdesign button.is-selected, .bmat button.is-selected { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.bdesign svg { width: 40px; height: 26px; color: var(--text-2); margin-bottom: 2px; }
.bdesign button.is-selected svg { color: var(--text); }
.bdesign b, .bmat b { font-size: var(--t-sm); font-weight: 650; line-height: 1.2; }
.bdesign span, .bmat span { font-size: 0.75rem; color: var(--text-2); }
.bmat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bmat button { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 8px 10px; }
.bmat img { grid-row: span 2; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.bmat span { font-weight: 600; color: var(--text); }
.bsw { display: flex; flex-wrap: wrap; gap: 8px; }
.bsw button { position: relative; width: 38px; height: 38px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); transition: transform var(--d-fast), box-shadow var(--d-fast); }
.bsw button:hover { transform: scale(1.08); }
.bsw button.is-selected { box-shadow: 0 0 0 2px var(--text); }
.bsw button[title]::after { content: attr(title); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--text); color: #fff; font-size: 0.6875rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--d-fast); z-index: 3; }
.bsw button:hover::after { opacity: 1; }
.bsw--sm button { width: 30px; height: 30px; }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.btotal { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; background: var(--band); }
.btotal__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.btotal__row small { font-size: var(--t-xs); color: var(--text-2); }
.btotal .price { font-size: 1.875rem; letter-spacing: -0.035em; }
.btotal__lines summary { cursor: pointer; font-size: var(--t-xs); font-weight: 600; color: var(--text-2); list-style: none; display: flex; align-items: center; gap: 6px; }
.btotal__lines summary::-webkit-details-marker { display: none; }
.btotal__lines summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--d-fast); }
.btotal__lines[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.btotal__lines .calc__lines { margin: 10px 0 0; }
.btotal__note { font-size: 0.75rem; color: var(--text-2); text-align: center; }
.bbar { display: none; }
.breq { width: min(760px, calc(100vw - 32px)) !important; }
.breq__body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; margin: 6px 0 18px; padding: 14px; border-radius: var(--r-lg); background: var(--band); }
.breq__mini img { width: 100%; height: auto; display: block; }
.breq__list { display: flex; flex-direction: column; font-size: var(--t-xs); }
.breq__list div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.breq__list dt { color: var(--text-2); }
.breq__list dd { font-weight: 600; text-align: right; }
.breq__total { border-bottom: 0 !important; font-size: var(--t-sm); }
.breq__total dd { font-weight: 800; font-size: 1.125rem; }
.breq__done { text-align: center; padding: 16px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.breq__done p { color: var(--text-2); font-size: var(--t-sm); max-width: 460px; }
.breq__done h4 { font-size: 1.25rem; font-weight: 750; }
.breq__ok { width: 56px; height: 56px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; }
.breq__ok svg { width: 28px; height: 28px; }
@media (max-width: 1279px) {
  .builder { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); }
  .bstage { grid-column: 1; grid-row: 1 / span 2; }
  .bpanel--left { grid-column: 2; grid-row: 1; }
  .bpanel--right { grid-column: 2; grid-row: 2; }
}
@media (max-width: 767px) {
  .builder-head__perks { display: none; }
  .builder { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
  .bstage, .bpanel--left, .bpanel--right { grid-column: 1; grid-row: auto; }
  .bstage { top: var(--header-h, 120px); z-index: 6; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; background: var(--bg, #fff); }
  .bstage__box { height: clamp(250px, 42vh, 340px); min-height: 0; border-radius: var(--r-lg); }
  .bstage__top { padding: 10px 12px 0; }
  .bstage__top b { font-size: var(--t-sm); }
  .bstage__top span, .bstage__hint, .bstage__legend, .bstage__tools { display: none; }
  .bstage__seat svg { inset: 4px 8px; width: calc(100% - 16px); height: calc(100% - 8px); }
  .bsec { padding: 16px; }
  .bdesign, .bmat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsw button { width: 36px; height: 36px; }
  .bsw--sm button { width: 30px; height: 30px; }
  .bsw button[title]::after { display: none; }
  .btotal [data-b-open] { display: none; }
  .bbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(19, 20, 22, 0.08); }
  .bbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .bbar small { font-size: 0.75rem; color: var(--text-2); }
  .bbar .price { font-size: 1.25rem; }
  .bbar .btn { width: auto; }
  body[data-page="custom"] { padding-bottom: 72px; }
  .breq__body { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .breq__list div:nth-child(n+5):not(.breq__total) { display: none; }
}

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