/**
 * Главная — макет main_width_1920.png
 * Desktop first: 1920 → 1100 → 767 → 374
 */

:root {
  --color-primary: #8e6fd5;
  --color-primary-hover: #7a5bc4;
  --color-dark: #263238;
  --color-dark-2: #344147;
  --color-text: #263238;
  --color-muted: #8ea0a6;
  --color-footer-heading: #9aa5aa;
  --color-accent: #ffb636;
  --color-orange-cta: #e85d04;
  --color-bg-bar: #f0f3f5;
  --color-border: #dee3e6;
  --color-bg-input: #f1f6f7;
  --color-white: #fff;
  --layout-max: 1920px;
  --content-max: 1880px;
  --gap-page: 20px;
  --radius-bar: 20px;
  --radius-btn: 24px;
  --search-h: 48px;
  --catalog-btn-w: 128px;
  --catalog-btn-h: 41px;
  --hero-card-h: 320px;
  --hero-gap: 16px;
  --header-stripe-h: 45px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); color: var(--color-text); background: var(--color-white); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
select { font: inherit; }

.page { max-width: var(--layout-max); margin: 0 auto; min-height: 100vh; }
.container { width: 100%; max-width: var(--content-max); margin: 0 auto; padding-left: var(--gap-page); padding-right: var(--gap-page); }
.container--narrow { max-width: 800px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----- Верхняя полоса: доставка на #263238 (Figma main_width_1920.svg) ----- */
.top-bar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
}
.top-bar[hidden] { display: none; }
.top-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-stripe-h);
  padding: 8px 52px 8px var(--gap-page);
  text-align: center;
}
.top-bar__text {
  margin: 0;
  max-width: 960px;
  line-height: 1.45;
}
.top-bar__close {
  position: absolute;
  right: var(--gap-page);
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--color-dark-2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.top-bar__close:hover {
  color: #fff;
  background: #3d4a52;
}

/* ----- Служебная полоса: по умолчанию тёмная; .utility-bar--surface — светлая ----- */
.utility-bar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
}
.utility-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: var(--header-stripe-h, 45px);
  padding-top: 6px;
  padding-bottom: 6px;
}
.utility-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-width: 0;
}
/* «Магазины и контакты» + логотип Pro Свет в одной группе */
.utility-bar__contacts-pro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.utility-bar__pro-svet-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
}
.utility-bar__pro-svet-badge:hover {
  text-decoration: none;
  opacity: 0.88;
}
.utility-bar__pro-svet-badge img {
  display: block;
  width: 71px;
  height: auto;
}
.utility-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}
.utility-bar__nav a {
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.utility-bar__nav a:hover { color: #fff; text-decoration: underline; }
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.utility-bar__phone {
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.utility-bar__phone:hover { color: var(--color-accent); }
.utility-bar__social { display: flex; align-items: center; gap: 6px; }
.utility-bar__soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.utility-bar__soc:hover { background: rgba(255, 255, 255, 0.22); }

.utility-bar--surface {
  background: var(--color-white);
  color: var(--color-text);
}
.utility-bar--surface .utility-bar__nav a {
  color: var(--color-text);
}
.utility-bar--surface .utility-bar__nav a:hover {
  color: var(--color-dark);
  text-decoration: underline;
}
.utility-bar--surface .utility-bar__phone {
  color: var(--color-dark);
}
.utility-bar--surface .utility-bar__phone:hover { color: var(--color-primary); }
.utility-bar--surface .utility-bar__soc {
  background: var(--color-bg-bar);
  color: var(--color-dark);
}
.utility-bar--surface .utility-bar__soc:hover {
  background: var(--color-border);
}
.utility-bar__soc--img {
  padding: 0;
  background: transparent !important;
}
.utility-bar__soc--img img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.utility-bar__soc--img:hover {
  opacity: 0.85;
}

/* ----- (legacy) светлая полоса доставки — см. .top-bar ----- */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 48px 10px var(--gap-page);
  background: var(--color-bg-bar);
  color: var(--color-text);
  font-size: 0.8125rem;
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.announce-bar[hidden] { display: none; }
.announce-bar__text {
  margin: 0;
  max-width: calc(100% - 40px);
  line-height: 1.4;
}
.announce-bar__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
.announce-bar__close:hover {
  color: var(--color-text);
  background: rgba(38, 50, 56, 0.06);
}

/* ----- Рубрикатор под шапкой ----- */
.catalog-nav-wrap {
  background: var(--color-white);
}
.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.catalog-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: normal;
  line-height: 1.25;
}
.catalog-nav__ic-img {
  flex-shrink: 0;
  display: block;
  width: 13px;
  height: 15px;
}
.catalog-nav__ic-img--sale {
  width: 14px;
}
.catalog-nav__link:hover { color: var(--color-primary); }

/* ----- Строка 1 (legacy): только доставка по центру + крестик ----- */
.pre-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 48px 10px var(--gap-page);
  background: var(--color-dark-2);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  position: relative;
  text-align: center;
}
.pre-header[hidden] { display: none; }
.pre-header__delivery {
  margin: 0;
  max-width: calc(100% - 40px);
  text-align: center;
  line-height: 1.4;
}
.pre-header__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
.pre-header__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ----- Строка меню (legacy) ----- */
.top-menu-bar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.92);
}
.top-menu-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: var(--header-stripe-h, 45px);
  padding-top: 6px;
  padding-bottom: 6px;
}
.top-menu-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  flex-shrink: 0;
}
.top-menu-bar__phone {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.top-menu-bar__phone:hover {
  color: var(--color-accent);
}
.top-menu-bar__social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-menu-bar__soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.top-menu-bar__soc:hover {
  background: rgba(255, 255, 255, 0.22);
}
.top-menu-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 18px;
  flex: 1 1 auto;
  min-width: 0;
}
.top-menu-bar__nav a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.top-menu-bar__nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.top-menu-bar__pro {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  line-height: 0;
}
.top-menu-bar__pro-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* ----- Шапка: блок #F0F3F5 с rx20 под логотип + поиск (как в SVG) ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
}

.header__wrap {
  padding-top: 12px;
  padding-bottom: 4px;
}

.header__panel {
  display: grid;
  grid-template-columns: minmax(140px, 260px) 1fr minmax(152px, auto);
  align-items: center;
  gap: 12px 16px;
  min-height: 65px;
  padding: 8px 12px 8px 8px;
  background: var(--color-bg-bar);
  border-radius: var(--radius-bar);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Общая «пилюля» логотипа-знака: шапка и футер */
.site-logo-mark-wrap {
  flex-shrink: 0;
  width: 62px;
  height: 42px;
  border-radius: 21px;
  overflow: hidden;
  line-height: 0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo-mark {
  width: 98px;
  height: 72px;
  max-width: none;
  object-fit: cover;
  object-position: 1px 13px;
  display: block;
  flex-shrink: 0;
}

.header__logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.02;
}

.header__logo-line {
  font-family: var(--font-sans);
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.header__logo-line--top { font-size: 1rem; }
.header__logo-line--bottom { font-size: 1rem; }

.header__search {
  justify-self: center;
  width: 100%;
  max-width: 820px;
  display: flex;
  align-items: stretch;
  min-height: var(--search-h);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  overflow: hidden;
}
.header__catalog-btn {
  flex-shrink: 0;
  width: var(--catalog-btn-w);
  min-height: var(--catalog-btn-h);
  margin: 3.5px 0 3.5px 3.5px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 20.5px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.header__catalog-btn:hover { background: var(--color-dark-2); }
.header__catalog-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.header__search-input {
  flex: 1; min-width: 0; border: none; padding: 0 12px; font-size: 0.9375rem; outline: none;
}
.header__search-input::placeholder { color: var(--color-muted); }
.header__search-by-image {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: auto 4px auto 0;
  border: none;
  border-left: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__search-by-image img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.header__search-by-image:hover { opacity: 0.9; }
.header__search-submit {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: auto 4px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
}
.header__search-submit--icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.header__search-submit:hover { opacity: 0.92; }

.header__user-panel {
  justify-self: end;
  line-height: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__user-action {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}
.header__user-action img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.header__user-action:hover {
  background: #f0f3f5;
}

/* Третья строка шапки */
.header__sub-wrap {
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}
.header__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header__sub--stock-only {
  justify-content: flex-start;
}
.header__sub-stock { display: flex; flex-wrap: wrap; gap: 8px; }
.header__stock-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-bar);
  border: 1px solid transparent;
}
.header__stock-pill:hover { border-color: var(--color-border); }

/* ----- Герой (Figma node 55:866) ----- */
.hero {
  padding: 24px 0 8px;
  /* сдвиг стрелок карусели от края контента к центру */
  --hero-ctrl-shift: clamp(48px, 8vw, 160px);
}
.hero__carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__ctrl {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.hero__ctrl-icon {
  display: block;
  flex-shrink: 0;
}
.hero__ctrl--prev {
  left: max(40px, calc(50% - 940px + var(--hero-ctrl-shift)));
}
.hero__ctrl--next {
  right: max(40px, calc(50% - 940px + var(--hero-ctrl-shift)));
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hero-gap);
  width: 100%;
}
.hero__pagination-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 0 8px;
}
.hero__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero__pagination-dot {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}
.hero-slide {
  position: relative;
  border-radius: var(--radius-bar);
  overflow: hidden;
  min-height: var(--hero-card-h);
}
.hero-slide__info {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  line-height: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.hero-slide__info:hover { background: rgba(0, 0, 0, 0.58); }
.hero-slide__info-icon { display: block; flex-shrink: 0; }
.hero-slide--tone-gray { background: #dadada; color: var(--color-text); }
.hero-slide--tone-dark { background: #161616; color: #fff; }
.hero-slide--tone-light { background: #e9e9e9; color: var(--color-text); }
.hero-slide__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  min-height: var(--hero-card-h);
}
.hero-slide__title { margin: 0 0 8px; font-size: 1.875rem; font-weight: 700; line-height: 1.15; }
.hero-slide__subtitle { margin: 0 0 14px; font-size: 0.78rem; line-height: 1.45; opacity: 0.9; }
.hero-slide--tone-dark .hero-slide__subtitle { color: rgba(255, 255, 255, 0.85); }
.hero-slide__btn {
  display: inline-block;
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--color-bg-bar);
  color: var(--color-text);
  border: none;
}
.hero-slide--tone-dark .hero-slide__btn {
  background: var(--color-bg-bar);
  color: var(--color-text);
  border: none;
}
.hero-slide__visual { display: flex; align-items: center; justify-content: center; }
.hero-slide__img { width: 100%; max-height: 240px; object-fit: contain; }

/* ----- Популярные разделы (5 плиток, Figma 40:317) ----- */
.quick-cats { padding: 20px 0 32px; }
.quick-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.qc-card {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.qc-card:hover { box-shadow: 0 8px 24px rgba(38, 50, 56, 0.1); }

/* Промо-плитка: текст слева, фото справа */
.qc-card--promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(220px, 42%);
  align-items: stretch;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f3f5;
  border: 1px solid var(--color-border);
}
.qc-card--promo .qc-card__text {
  padding: 22px 12px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
.qc-card--promo .qc-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}
.qc-card--promo .qc-card__sub {
  font-size: 0.875rem;
  line-height: 1.3;
  color: #55686e;
}
.qc-card--promo .qc-card__img {
  position: relative;
  min-height: 180px;
  background: #e8ecf0;
  overflow: hidden;
}
.qc-card--promo .qc-card__img img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

/* «Сложно с выбором?» */
.qc-card--consult {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 20px 16px;
  border-radius: 20px;
  background: #f4eee6;
  border: 1px solid #e8dfd4;
  box-sizing: border-box;
}
.qc-consult__avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.qc-consult__avatar {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(38, 50, 56, 0.1);
}
.qc-consult__avatar--side {
  width: 48px;
  height: 48px;
  margin: 0 -14px;
  z-index: 0;
}
.qc-consult__avatar--center {
  width: 64px;
  height: 64px;
  z-index: 1;
  position: relative;
}
.qc-consult__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qc-consult__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
}
.qc-consult__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  max-width: 240px;
  color: var(--color-text);
}

/* ----- УТП ----- */
.usp-block { padding: 8px 0 40px; }
.usp-block__heading {
  margin: 0 auto 28px;
  max-width: 48rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  padding: 0 var(--gap-page);
}
.usp-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* Карточка УТП — как в Figma: белая, rx20, тень filter0_d (dy 10, blur 10, opacity 0.1), без обводки */
.usp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 20px;
  padding: 28px 24px;
  background: #fff;
  border: none;
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.usp-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin: 0 0 18px;
  border-radius: 20px;
  background: #f0f3f5;
}
.usp-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #263238;
}
.usp-card__icon svg { display: block; width: auto; height: auto; max-width: 30px; max-height: 30px; }
.usp-card__title {
  margin: 0 0 8px;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: #000;
}
.usp-card__desc {
  margin: 0;
  width: 100%;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  color: #000;
}
.usp-card__text { margin: 0; font-size: 0.875rem; font-weight: 600; }

/* ----- Секции + сетки товаров ----- */
.section-block { padding: 32px 0 40px; }
.section-block--muted { background: #f7f9fa; }
.section-block--guides { background: #fff; }
.section-block__title {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 700;
}
.section-block__title--center { text-align: center; }
.section-block__head-with-avatars {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.section-block__head-with-avatars--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-block__head-with-avatars--center .section-block__title {
  margin-bottom: 12px;
}
.section-block__head-with-avatars--center .mini-avatars {
  justify-content: center;
}
.section-block__more { text-align: center; margin-top: 28px; }
.mini-avatars { display: flex; gap: -6px; }
.mini-avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.mini-avatars img:first-child { margin-left: 0; }

.products-grid {
  display: grid;
  gap: 16px;
}
.products-grid--6 { grid-template-columns: repeat(6, 1fr); }
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }

.p-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.p-card > .p-card__img-link,
.p-card__media .p-card__img-link {
  display: block;
  aspect-ratio: 1;
  background: var(--color-bg-bar);
}
.p-card > .p-card__img-link img,
.p-card__media .p-card__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.p-card__media {
  position: relative;
}
.p-card__discount {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 4px;
  background: #e53935;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.p-card__actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-card__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  line-height: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.p-card__action-btn:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transform: scale(1.04);
}
.p-card__rating {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  margin: 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.2;
}
.p-card__rating-star {
  color: #f5b400;
  margin-right: 2px;
}
.p-card__brand-overlay {
  position: absolute;
  left: 11px;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  padding: 0;
  max-width: 52%;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.25;
  pointer-events: none;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.85);
}
.p-card__gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 5px;
  align-items: center;
}
.p-card__gallery-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d0d5d9;
  box-shadow: none;
}
.p-card__gallery-dot--active {
  background: var(--color-text);
  width: 6px;
  height: 6px;
}
.p-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.p-card--rich .p-card__body { padding: 12px 14px 14px; gap: 0; }
.p-card__brand { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.p-card__name { margin: 6px 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; }
.p-card--rich .p-card__name {
  margin: 8px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-card--rich .p-card__name a { color: inherit; text-decoration: none; }
.p-card--rich .p-card__name a:hover { color: var(--color-primary); }
.p-card__collection {
  margin: 0 0 12px;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--color-muted);
}
.p-card__prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.p-card--rich .p-card__prices { margin-bottom: 0; }
.p-card__price { font-size: 1rem; font-weight: 700; }
.p-card__old { font-size: 0.8125rem; color: var(--color-muted); text-decoration: line-through; }
.p-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.p-card__cart {
  flex: 1;
  padding: 10px 8px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}
.p-card__cart--with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  flex: none;
  margin-top: auto;
  cursor: pointer;
}
.p-card__cart-icon {
  flex-shrink: 0;
  opacity: 0.85;
  filter: brightness(0) saturate(100%) invert(0.22);
}
.p-card__cart:hover { border-color: var(--color-primary); color: var(--color-primary); }
.p-card__cart:hover .p-card__cart-icon { opacity: 1; }
.p-card__mini { display: flex; gap: 4px; color: var(--color-muted); }
.p-card__mini button { padding: 6px; border-radius: 8px; }
.p-card__mini button:hover { color: var(--color-primary); background: var(--color-bg-bar); }

.section-block--popular {
  background: #fafbfc;
}
.section-block--popular .section-block__title {
  margin-bottom: 20px;
}

.p-card--guide {
  background: #f7f6f2;
  border-color: rgba(38, 50, 56, 0.08);
  min-height: 100%;
  height: 100%;
}
.p-card__guide-inner {
  box-sizing: border-box;
  padding: 22px 16px 20px;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.p-card__guide-thumbs {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
  padding: 10px 8px 12px;
  flex-shrink: 0;
}
.p-card__guide-thumb-stack {
  position: relative;
  width: 128px;
  height: 96px;
  flex-shrink: 0;
}
.p-card__guide-pic {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(38, 50, 56, 0.12);
  background: #fff;
}
.p-card__guide-pic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.p-card__guide-pic--back {
  left: 4px;
  top: 14px;
  z-index: 1;
  transform: rotate(-7deg);
  transform-origin: center center;
}
.p-card__guide-pic--front {
  left: 46px;
  top: 4px;
  z-index: 2;
  transform: rotate(7deg);
  transform-origin: center center;
}
.p-card__guide-title {
  margin: 0 0 10px;
  font-size: clamp(1.1875rem, 2.4vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.p-card__guide-lead {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text);
  max-width: 240px;
  opacity: 0.88;
}
.p-card__guide-badge {
  display: inline-block;
  margin-bottom: 12px;
  line-height: 0;
}
.p-card__guide-inner > .p-card__guide-btn {
  margin-top: auto;
  align-self: center;
}
.p-card__guide-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.p-card__guide-btn:hover { background: var(--color-dark-2); color: #fff; }
.p-card__guide-btn--outline {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-border);
}
.p-card__guide-btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff;
}

.section-block--popular .section-block__more--popular {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.section-block--popular .section-block__more--popular .btn-show-more {
  width: calc((100% - 5 * 16px) / 6);
  max-width: 100%;
  margin: 0;
  flex: 0 0 auto;
}
.btn-show-more {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid #e0e4e8;
  background: #f0f3f5;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-show-more:hover {
  background: #e8ecf0;
  border-color: #d0d6dc;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline--dark { border-color: var(--color-dark); color: var(--color-dark); }

/* Комнаты */
.section-block--rooms {
  background: #fff;
}
.rooms-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 18px 14px;
  max-width: 100%;
}
.rooms-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.15s ease;
}
.rooms-row__item:hover {
  color: var(--color-primary);
}
.rooms-row__item:focus-visible {
  outline: none;
}
.rooms-row__item:focus-visible .rooms-row__thumb {
  box-shadow: 0 0 0 3px var(--color-primary), 0 4px 20px rgba(38, 50, 56, 0.12);
}
.rooms-row__thumb {
  box-sizing: border-box;
  width: 158px;
  height: 158px;
  margin: 0 0 14px;
  border-radius: 20px;
  overflow: hidden;
  background: #f2f4f5;
  box-shadow: 0 4px 18px rgba(38, 50, 56, 0.08);
  border: 3px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.rooms-row__item:hover .rooms-row__thumb {
  box-shadow: 0 6px 22px rgba(38, 50, 56, 0.12);
}
.rooms-row__item--active .rooms-row__thumb {
  border-color: #1e88e5;
  box-shadow: 0 6px 22px rgba(30, 136, 229, 0.18);
}
.rooms-row__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rooms-row__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
  padding-bottom: 2px;
}

/* Подбор 30 сек — баннер с фото + светлая панель формы */
.picker-strip {
  position: relative;
  overflow: hidden;
  margin: 28px var(--gap-page) 36px;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-bar);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(38, 50, 56, 0.12);
  color: #fff;
}
.picker-strip__bg {
  position: absolute;
  inset: 0;
  background-color: #2d3238;
  background-image: url("images/picker-strip-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.picker-strip__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 28, 0.55) 0%,
    rgba(12, 14, 18, 0.62) 100%
  );
  pointer-events: none;
}
.picker-strip__inner {
  position: relative;
  z-index: 1;
  padding: 44px var(--gap-page) 40px;
  text-align: center;
}
.picker-strip__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}
.picker-strip__subtitle {
  margin: 0 auto 28px;
  max-width: 520px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.picker-strip__panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 22px 22px;
  text-align: left;
  border-radius: 18px;
  background: #e8ecef;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.picker-strip__panel-heading {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
}
.picker-strip__form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px 16px;
  align-items: end;
}
.picker-strip__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.picker-strip__field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}
.picker-strip__field select {
  width: 100%;
  padding: 12px 38px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238EA0A6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--color-text);
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.picker-strip__field select:focus {
  outline: 2px solid rgba(142, 111, 213, 0.45);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.picker-strip__field option { color: var(--color-text); }
.picker-strip__submit {
  padding: 12px 22px;
  min-height: 46px;
  border-radius: 12px;
  background: #1c2125;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
.picker-strip__submit:hover {
  background: #000;
}
.picker-strip__submit:active {
  transform: scale(0.98);
}
@media (max-width: 960px) {
  .picker-strip__form {
    grid-template-columns: 1fr 1fr;
  }
  .picker-strip__submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .picker-strip__form {
    grid-template-columns: 1fr;
  }
  .picker-strip__inner {
    padding: 32px var(--gap-page) 28px;
  }
}

/* Табы */
.tabs-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tabs-line--center { justify-content: center; }
.tabs-line__btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--color-muted);
  background: transparent;
  border: 1px solid transparent;
}
.tabs-line__btn:hover { color: var(--color-text); }
.tabs-line__btn--active {
  color: var(--color-text);
  background: var(--color-bg-bar);
  border-color: var(--color-border);
  font-weight: 600;
}

/* В наличии сегодня — табы в «капсуле» */
.stock-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.stock-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  padding: 6px;
  border-radius: 14px;
  background: var(--color-bg-bar);
  border: 1px solid var(--color-border);
}
.stock-tabs__btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.stock-tabs__btn:hover {
  color: var(--color-text);
}
.stock-tabs__btn--active {
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(38, 50, 56, 0.08);
}
.section-block--stock .products-carousel {
  margin-top: 4px;
}

/* Проекты клиентов и дизайнеров */
.section-block--projects .section-block__title {
  margin-bottom: 8px;
}
.section-projects__subtitle {
  margin: 0 auto 18px;
  max-width: 520px;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-muted);
}
.section-projects__carousel.products-carousel {
  margin-top: 6px;
}
.section-block--projects .products-carousel__viewport {
  container-type: inline-size;
  container-name: projcarousel;
}
.section-block--projects .products-carousel__track {
  align-items: flex-start;
}
.section-block--projects .products-carousel__track .proj-card {
  flex: 0 0 auto;
  width: min(304px, calc(100vw - 100px));
  max-width: 320px;
  scroll-snap-align: start;
  min-width: 0;
}
@supports (width: 1cqi) {
  .section-block--projects .products-carousel__track .proj-card {
    flex: 0 0 calc((100cqi - 48px) / 4);
    width: calc((100cqi - 48px) / 4);
    max-width: none;
  }
  @container projcarousel (max-width: 900px) {
    .section-block--projects .products-carousel__track .proj-card {
      flex: 0 0 calc((100cqi - 16px) / 2);
      width: calc((100cqi - 16px) / 2);
    }
  }
  @container projcarousel (max-width: 480px) {
    .section-block--projects .products-carousel__track .proj-card {
      flex: 0 0 calc(100cqi - 4px);
      width: calc(100cqi - 4px);
    }
  }
}
.proj-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  text-decoration: none;
  color: inherit;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: opacity 0.15s ease;
}
.proj-card:hover {
  opacity: 0.92;
}
.proj-card:hover .proj-card__title {
  color: var(--color-primary);
}
.proj-card__thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-bg-bar);
}
.proj-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
  transform-origin: center center;
}
.proj-card__text {
  display: block;
  padding-top: 2px;
}
.proj-card__title {
  display: block;
  margin: 14px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  transition: color 0.15s ease;
}
.proj-card__desc {
  display: block;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}
.section-block__more--projects {
  margin-top: 26px;
  text-align: center;
}
.btn-all-projects {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 12px 28px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid #e0e4e8;
  background: #f0f3f5;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-all-projects:hover {
  background: #e8ecf0;
  border-color: #d0d6dc;
  color: var(--color-text);
}

/* Гайды / калькуляторы */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.guide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 28px 22px 30px;
  border-radius: 18px;
  background: #f2f4f5;
  border: none;
  box-sizing: border-box;
}
.guide-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  min-height: 140px;
  margin: 0 0 18px;
}
.guide-card__thumb img {
  width: 100%;
  max-width: 200px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
}
.guide-card__title {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}
.guide-card__desc {
  margin: 0 0 22px;
  flex: 1 1 auto;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 320px;
}
.guide-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e8ea;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7a80;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.guide-card__btn:hover {
  background: #fafbfc;
  border-color: #d8dee1;
  color: var(--color-text);
}

/* Бренды */
.section-block--brands {
  background: #fff;
}
.brands-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.brands-carousel__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.brands-carousel__btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}
.brands-carousel__btn:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 2px;
}
.brands-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 14px;
  display: flex;
  justify-content: center;
}
.brands-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.brands-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  flex-shrink: 0;
  padding: 0 4px;
  margin-inline: auto;
}
.brands-carousel__card {
  box-sizing: border-box;
  flex: 0 0 200px;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.brands-carousel__card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
}
.brands-carousel__card:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 2px;
}
.brands-carousel__logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

/* Клуб PRO Свет — статьи, табы, карусель */
.section-block--club {
  background: #fff;
  overflow-x: visible;
}
.club-section__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2em 0.45em;
  max-width: 52rem;
  margin: 0 auto 22px;
  text-align: center;
  line-height: 1.25;
}
.club-section__brand {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.club-section__brand-img {
  display: block;
  height: clamp(1.05em, 3.2vw, 1.45em);
  width: auto;
}
.club-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.club-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  padding: 6px;
  border-radius: 999px;
  background: #f2f4f5;
}
.club-tabs__btn {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.club-tabs__btn:hover {
  color: var(--color-text);
}
.club-tabs__btn--active {
  color: var(--color-text);
  font-weight: 600;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}
/* Карусель клуба: на всю ширину окна, стрелки поверх превью карточек */
.club-carousel-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(var(--gap-page), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gap-page), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  margin-bottom: 4px;
}
.club-carousel {
  position: relative;
  width: 100%;
}
.club-carousel__btn {
  position: absolute;
  z-index: 3;
  top: clamp(88px, calc(6px + min(150px, 22vw)), 176px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.club-carousel__btn--prev {
  left: 8px;
}
.club-carousel__btn--next {
  right: 8px;
}
.club-carousel__btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}
.club-carousel__btn:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 2px;
}
.club-carousel__viewport {
  container-type: inline-size;
  container-name: clubcarousel;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 0 14px;
}
.club-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.club-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  flex-shrink: 0;
  /* До/после JS: запасной правый отступ, чтобы последняя карточка не обрезалась */
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: clamp(64px, 30vw, 560px);
}
.club-article-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  width: min(458px, calc(100vw - 96px));
  max-width: min(458px, 100%);
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}
@supports (width: 1cqi) {
  .club-carousel__viewport .club-article-card {
    flex: 0 0 calc((100cqi - 60px) / 4);
    width: calc((100cqi - 60px) / 4);
    max-width: 458px;
  }
  @container clubcarousel (max-width: 960px) {
    .club-carousel__viewport .club-article-card {
      flex: 0 0 calc((100cqi - 20px) / 2);
      width: calc((100cqi - 20px) / 2);
      max-width: 458px;
    }
  }
  @container clubcarousel (max-width: 520px) {
    .club-carousel__viewport .club-article-card {
      flex: 0 0 calc(100cqi - 8px);
      width: calc(100cqi - 8px);
      max-width: min(458px, 100%);
    }
  }
}
.club-article-card:hover {
  opacity: 0.92;
}
.club-article-card:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 4px;
  border-radius: 4px;
}
.club-article-card__media {
  width: 100%;
  aspect-ratio: 458 / 300;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f4f5;
}
.club-article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.club-article-card__date {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--color-muted);
}
.club-article-card__title {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  text-align: left;
}
.club-article-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.club-article-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.club-article-card__icon {
  flex-shrink: 0;
  opacity: 0.85;
}
.club-section__cta-wrap {
  margin: 8px 0 0;
  text-align: center;
}
.club-section__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 14px 36px;
  border-radius: 999px;
  background: #f2f4f5;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.club-section__all:hover {
  background: #e8ecee;
  color: #000;
}
.club-section__all:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 2px;
}

/* Отзывы */
.section-block--reviews {
  background: #fff;
}
.reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}
.reviews-head__avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.reviews-head__avatars img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  margin-left: -14px;
}
.reviews-head__avatars img:first-child {
  margin-left: 0;
}
.reviews-head__more {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -14px;
  border-radius: 50%;
  background: #ffdc40;
  color: #000;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.reviews-head__title {
  margin: 0;
  max-width: 36rem;
}
.reviews-carousel {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.reviews-carousel__btn {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background: #f2f4f5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.reviews-carousel__btn:hover {
  background: #e8ecee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.reviews-carousel__btn:focus-visible {
  outline: 2px solid var(--color-accent, #ffb636);
  outline-offset: 2px;
}
.reviews-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 14px;
}
.reviews-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.reviews-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding: 0 2px;
}
.review-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  width: clamp(220px, 19vw, 268px);
  min-height: 300px;
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #f5f6f7;
  border: 1px solid var(--color-border);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
}
.review-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.review-card__star {
  flex-shrink: 0;
  color: #f5a623;
}
.review-card__score {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}
.review-card__text {
  flex: 1 1 auto;
  margin: 0;
  text-align: left;
}
.review-card__foot {
  margin-top: auto;
  padding-top: 16px;
  text-align: left;
}
.review-card__author {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
}
.review-card__source {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
}
.reviews-section__cta-wrap {
  margin: 4px 0 0;
  text-align: center;
}
.reviews-section__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 14px 36px;
  border-radius: 999px;
  background: #f2f4f5;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.reviews-section__all:hover {
  background: #e8ecee;
  color: #000;
}
.reviews-section__all:focus-visible {
  outline: 2px solid var(--color-accent, #ffb636);
  outline-offset: 2px;
}

/* Клиенты */
.section-block--clients {
  background: #fff;
  padding: 40px 0 48px;
}
.clients-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.clients-carousel__btn,
.products-carousel__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.clients-carousel__btn:hover,
.products-carousel__btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.12);
}
.clients-carousel__btn:focus-visible,
.products-carousel__btn:focus-visible {
  outline: 2px solid var(--color-accent, #c9a227);
  outline-offset: 2px;
}
.clients-carousel__viewport,
.products-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px;
  display: flex;
  justify-content: center;
}
.clients-carousel__viewport::-webkit-scrollbar,
.products-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.clients-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  width: max-content;
  flex-shrink: 0;
  padding: 0 8px;
  margin-inline: auto;
}
.clients-carousel__item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-carousel__item img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: min(220px, 40vw);
  object-fit: contain;
}

/* Рекомендуем — карусель товаров */
.products-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.products-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  flex-shrink: 0;
  padding: 4px 4px 10px;
  margin-inline: auto;
}
.products-carousel .p-card.p-card--rich {
  flex: 0 0 auto;
  width: 248px;
  max-width: min(248px, calc(100vw - 96px));
  scroll-snap-align: start;
}
.section-block--rec .section-block__title {
  margin-bottom: 4px;
}
.p-card__media--tone-gray .p-card__img-link {
  background: #eceff1;
}
.p-card__discount--promo {
  background: #ff7043;
}
.p-card--rec .p-card__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  min-height: 1.25em;
}
.p-card--rec .p-card__brand-row .p-card__brand {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}
.p-card__rating-inline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.p-card--rec .p-card__prices {
  margin-bottom: 0;
}
.p-card--rec.p-card--rich .p-card__name {
  margin-top: 6px;
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  filter: grayscale(1);
  opacity: 0.85;
}
.clients-row img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }

/* Карта + карточка контактов поверх */
.map-section {
  position: relative;
  min-height: 380px;
  margin: 24px var(--gap-page) 40px;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-bar);
  overflow: hidden;
}
.map-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.map-section__card {
  position: relative;
  z-index: 1;
  max-width: min(28rem, calc(100% - 48px));
  margin: 36px 40px;
  padding: 28px 28px 24px;
  background: var(--color-white);
  border-radius: var(--radius-bar);
  box-shadow: 0 12px 40px rgba(38, 50, 56, 0.14);
}
.map-section__title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
}
.map-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  align-items: start;
}
.map-section__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.map-section__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}
.map-section__value {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.35;
}
.map-section__value:hover {
  color: var(--color-primary);
}
.map-section__messenger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
}
.map-section__messenger:hover {
  color: var(--color-primary);
}
.map-section__messenger img {
  flex-shrink: 0;
  display: block;
}
.map-section__stores-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #eef1f4;
  color: #000;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.map-section__stores-btn:hover {
  background: #e2e7eb;
  color: var(--color-text);
}

/* Консультация — карточка как в макете: фото + текст слева, форма на светлом фоне справа */
.consult-split {
  padding: 40px 0 48px;
  background: #fff;
}
.consult-split__shell {
  max-width: min(76rem, 100%);
  margin-left: auto;
  margin-right: auto;
}
.consult-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: var(--radius-bar);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(38, 50, 56, 0.1);
}
.consult-split__visual {
  position: relative;
  min-height: 360px;
}
.consult-split__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consult-split__visual-text {
  position: relative;
  z-index: 1;
  padding: 28px 24px 28px 28px;
  max-width: 22rem;
}
.consult-split__eyebrow {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.35;
  color: #000;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
}
.consult-split__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
}
.consult-split__form-wrap {
  background: #eef1f4;
  padding: 32px 28px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.consult-split__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.consult-split__field {
  display: block;
  margin-bottom: 14px;
}
.consult-split__field input,
.consult-split__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  font: inherit;
  font-size: 0.9375rem;
  background: #fff;
  color: var(--color-text);
}
.consult-split__field input::placeholder,
.consult-split__field textarea::placeholder {
  color: #9aa5aa;
}
.consult-split__field textarea {
  resize: vertical;
  min-height: 120px;
}
/* Телефон: подпись сверху + значение с фиолетовой линией снизу (как в макете) */
.consult-split__field--phone {
  padding: 14px 16px 12px;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  background: var(--color-white);
}
.consult-split__field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: #78909c;
}
.consult-split__field--phone input {
  padding: 2px 0 8px;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid var(--color-primary);
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}
.consult-split__field--phone input::placeholder {
  color: #9aa5aa;
  font-weight: 400;
}
.consult-split__field--phone input:focus {
  outline: none;
  border-bottom-color: var(--color-primary-hover);
  box-shadow: none;
}
.consult-split__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #546e7a;
}
.consult-split__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #333b3e;
}
.consult-split__consent label {
  cursor: pointer;
}
.consult-split__consent a {
  color: #37474f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consult-split__consent a:hover {
  color: #000;
}
.consult-split__submit {
  align-self: flex-start;
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  background: #333b3e;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.consult-split__submit:hover {
  background: #263238;
}
.consult-split__submit:focus-visible {
  outline: 2px solid var(--color-orange-cta);
  outline-offset: 3px;
}

/* FAQ — карточки-аккордеон как в макете */
.faq-block {
  background: #fff;
}
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  box-sizing: border-box;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #000;
  text-align: left;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #333b3e;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\00d7";
  font-size: 1.5rem;
  font-weight: 300;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--color-orange-cta, #e85d04);
  outline-offset: 3px;
  border-radius: 8px;
}
.faq-item p {
  margin: 14px 0 0;
  padding-right: 8px;
  max-width: 100%;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: #37474f;
}

/* SEO — «Люстры и светильники»: заголовок по центру (shared-main-title), текст слева; колонка уже полной ширины сайта */
.seo-text {
  padding: 40px 0 48px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}
.seo-text .container {
  max-width: min(76rem, 100%);
  margin-left: auto;
  margin-right: auto;
}
.seo-text__heading {
  margin-bottom: 24px;
  max-width: none;
  width: 100%;
}
.seo-text__body {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  color: #000;
}
.seo-text__body p {
  margin: 0 0 1rem;
}
.seo-text__body p:last-child {
  margin-bottom: 0;
}

/* ----- Футер ----- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.9);
  padding-top: 48px;
  padding-bottom: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 24px;
  padding-bottom: 0;
}
/* Строка: знак + ВСЕ / ЛЮСТРЫ (как в шапке) */
.footer__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}
.footer__brand-row:hover .footer__brand-line { color: rgba(255, 255, 255, 0.92); }
.footer__brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.02;
}
.footer__brand-line {
  font-family: var(--font-sans);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
}

/* Юр. блок: один шрифт, без выделения */
.footer__legal-stack {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__legal-stack li {
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}
.footer__legal-stack a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}
.footer__legal-stack a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__yandex-rating {
  display: inline-block;
  line-height: 0;
  margin-top: 20px;
}
.footer__yandex-rating img {
  display: block;
  width: 166px;
  max-width: 100%;
  height: auto;
}
.footer__messengers {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.footer__messengers li { margin-bottom: 10px; }
.footer__msg-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.footer__msg-link:hover { color: var(--color-accent); }
.footer__msg-link img { flex-shrink: 0; display: block; }
.footer__heading {
  margin: 0 0 16px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-footer-heading);
}
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}
.footer__links a:hover { color: var(--color-accent); }
.footer__links-item--pro { margin-top: 4px; }
.footer__pro-svet-link {
  display: inline-block;
  line-height: 0;
}
.footer__pro-svet-link img {
  display: block;
  width: 71px;
  height: auto;
}
.footer__pro-svet-link:hover { opacity: 0.9; }

.footer__phone-big { display: block; font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.footer__mail { display: block; font-size: 0.875rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.85); }
.footer__addr { margin: 0 0 14px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }

.footer__socials { display: flex; gap: 8px; margin-bottom: 16px; }
.footer__soc {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer__soc:hover { background: rgba(255, 255, 255, 0.2); color: var(--color-accent); }

.footer__club-badge {
  display: inline-block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__club-badge:hover { color: #ffc85c; }

/* ----- Общие заголовки секций: размер и оформление — только здесь ----- */
.shared-main-title {
  font-size: clamp(1.71rem, 2.74vw, 2.28rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #000;
}
.shared-main-title--center {
  text-align: center;
}
/* Адаптив */
@media (max-width: 1400px) {
  .products-grid--6 { grid-template-columns: repeat(4, 1fr); }
  .section-block--popular .section-block__more--popular .btn-show-more {
    width: calc((100% - 3 * 16px) / 4);
  }
}
@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .section-block--popular .section-block__more--popular .btn-show-more {
    width: calc((100% - 2 * 16px) / 3);
  }
  .products-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .quick-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .usp-block__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .hero__ctrl { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .header__panel {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
  }
  .header__logo { justify-self: start; }
  .header__user-panel { grid-column: 2; grid-row: 1; align-self: center; }
  .header__search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    justify-self: stretch;
  }
}
@media (max-width: 900px) {
  .hero-slide__inner { grid-template-columns: 1fr; min-height: auto; }
  .top-menu-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .top-menu-bar__left { order: 1; }
  .top-menu-bar__nav {
    order: 2;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 4px 16px;
  }
  .top-menu-bar__pro {
    margin-left: 0;
    order: 3;
    justify-content: flex-start;
  }
  .header__sub-stock { justify-content: flex-start; }
  .quick-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides-grid { grid-template-columns: 1fr; }
  .consult-split__inner { grid-template-columns: 1fr; }
  .consult-split__visual { min-height: 280px; }
  .consult-split__form-wrap { padding: 24px 20px; }
}
@media (max-width: 767px) {
  .pre-header__delivery { font-size: 0.75rem; }
  .products-grid--6,
  .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .section-block--popular .section-block__more--popular .btn-show-more {
    width: calc((100% - 16px) / 2);
  }
  .rooms-row { gap: 16px 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .usp-block__grid { grid-template-columns: 1fr; }
  .consult-split__visual { min-height: 220px; }
  .consult-split__visual-text { max-width: none; padding: 20px 18px; }
  .map-section { min-height: 300px; margin-left: 12px; margin-right: 12px; }
  .map-section__card { margin: 24px 16px; max-width: none; }
}
@media (max-width: 640px) {
  .qc-card--promo {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .qc-card--promo .qc-card__img img { min-height: 200px; }
  .map-section__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid--6,
  .products-grid--4 { grid-template-columns: 1fr; }
  .section-block--popular .section-block__more--popular .btn-show-more {
    width: 100%;
  }
  .quick-cats__grid { grid-template-columns: 1fr; }
}
