:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --primary: #c8332f;
  --border: #d9dee5;
  /* Цены и ползунок цены (без синего) */
  --price-color: #c8332f;
  --price-on-dark: #ffd0da;
  --slider-thumb-a: #57534e;
  --slider-thumb-b: #44403c;
  --slider-fill: rgba(87, 83, 78, 0.42);
  --slider-track-active: rgba(87, 83, 78, 0.32);
  /* Как на apple.com: системный San Francisco на Apple, Segoe UI на Windows, без внешних веб-шрифтов */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
}
body.theme-forest {
  background: #4e5256;
  /*
   * theme-forest: смена акцентов — достаточно править переменные ниже.
   * --forest-cta* — заливка основных .btn (в корзину, «Войти», «Применить», триггер каталога…).
   * --forest-filter-more* — кнопка «Фильтры» в полоске фильтров (вторичная, без «синего Apple»).
   * --forest-favorite-product* — «В избранное» в блоке покупки на странице товара.
   * --forest-chrome-* — шапка и подвал: iOS/macOS «серые» (2c/3a), заметно светлее «чёрного» #1c1c1e.
   * --forest-action-secondary-* — «В сравнение» / «В избранное» на карточках (без синего и брендового цвета).
   * --forest-modal-* — модальные окна (фильтры каталога, личный кабинет): светлая панель без синего.
   */
  --forest-chrome-bg: #3a3a3c;
  --forest-chrome-border: #3a3a3c;
  --forest-chrome-text: #f5f5f7;
  --forest-chrome-muted: #86868b;
  --forest-chrome-link-hover: #2997ff;
  --forest-chrome-icon-bg: rgba(255, 255, 255, 0.08);
  --forest-chrome-badge-bg: #2c2c2e;
  --forest-modal-bg: #ffffff;
  --forest-modal-border: #d2d2d7;
  --forest-modal-footer-bg: #f5f5f7;
  --forest-modal-text: #1d1d1f;
  --forest-modal-muted: #6e6e73;
  --forest-modal-input-bg: #ffffff;
  --forest-modal-input-border: #d2d2d7;
  --forest-modal-input-text: #1d1d1f;
  --forest-modal-input-placeholder: #8e8e93;
  --forest-action-secondary-bg: #f5f5f7;
  --forest-action-secondary-border: #d2d2d7;
  --forest-action-secondary-text: #1d1d1f;
  --forest-action-secondary-hover-bg: #ebebed;
  --forest-action-secondary-hover-border: #aeaeb2;
  --forest-action-secondary-active-bg: #e5e5ea;
  --forest-action-secondary-active-border: #8e8e93;
  --forest-cta: #c8332f;
  --forest-cta-hover: #b32e2a;
  --forest-cta-border: #9a2522;
  --forest-cta-badge: #6e211f;
  --forest-filter-more-bg: #ffffff;
  --forest-filter-more-border: #c7c7cc;
  --forest-filter-more-text: #1d1d1f;
  --forest-filter-more-hover-bg: #f2f2f7;
  --forest-filter-more-hover-border: #8e8e93;
  --forest-favorite-product-border: #d2d2d7;
  --forest-favorite-product-active-bg: var(--forest-action-secondary-active-bg);
  --forest-favorite-product-active-border: var(--forest-action-secondary-active-border);
  --forest-favorite-product-active-text: var(--forest-action-secondary-text);
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

@media (max-width: 900px) {
  html {
    overflow-x: clip;
  }
  body {
    overflow-x: clip;
    padding-left: 0;
    padding-right: 0;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  main.container.page {
    padding-left: 3px;
    padding-right: 3px;
    padding-left: max(3px, env(safe-area-inset-left, 0px));
    padding-right: max(3px, env(safe-area-inset-right, 0px));
  }
  .topbar > .container {
    padding-left: 2px;
    padding-right: 2px;
    padding-left: max(2px, env(safe-area-inset-left, 0px));
    padding-right: max(2px, env(safe-area-inset-right, 0px));
  }
  .footer {
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
  }
  .footer > .container {
    box-sizing: border-box;
    padding-left: 2px;
    padding-right: 2px;
    padding-left: max(2px, env(safe-area-inset-left, 0px));
    padding-right: max(2px, env(safe-area-inset-right, 0px));
  }
  .hits-regard::before {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
  }
  .footer__grid {
    padding: 6px 0 2px;
    gap: 8px 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__grid > section {
    gap: 8px;
  }
  .footer__title {
    margin: 0 0 2px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .footer__link {
    display: flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    min-height: 48px;
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.24;
  }
  .footer__grid > section .footer__link:last-child {
    margin-bottom: 0;
  }
  .footer__link--icon {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    gap: 4px;
  }
  .footer__icon {
    min-width: 14px;
    height: 14px;
    font-size: 9px;
  }
  .footer__icon svg {
    width: 9px;
    height: 9px;
  }
  .footer__legal {
    padding: 4px 0 2px;
    font-size: 10px;
    line-height: 1.3;
  }
  .footer__legal p {
    margin-bottom: 1px;
  }
  .footer__legal p:last-child {
    margin-bottom: 0;
  }
  .footer__inner {
    padding: 3px 0 0;
    gap: 1px;
  }
  .footer__muted {
    font-size: 10px;
    line-height: 1.26;
  }
  .catalog-topline {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    overflow: visible;
  }
  .catalog-topline__trigger {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .catalog-topline__search {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
  .catalog-topline__links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 8px;
    width: 100%;
    max-width: none;
    min-height: 0;
    justify-content: stretch;
    justify-items: stretch;
    flex-wrap: nowrap;
    overflow: visible;
    padding-bottom: 2px;
  }
  .catalog-topline__link {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    min-width: 0;
  }
  .catalog-topline__link:hover,
  .catalog-topline__link:active {
    transform: none;
  }
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .hero-logo {
    width: 100%;
    max-width: 280px;
    justify-self: center;
  }
  .hero-promos {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 8px;
  }
  .topbar__inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
  }
  .topbar__left {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .topbar-track {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  .topbar-support {
    width: 100%;
    max-width: 100%;
    margin-inline-start: 0;
    justify-content: center;
    gap: 8px 10px;
    padding: 6px 10px;
    box-sizing: border-box;
  }
  .topbar-support__label {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
  .topnav {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 6px 10px;
    flex-wrap: wrap;
    margin-inline-start: 0;
  }
  .topnav__link {
    padding: 4px 8px;
    font-size: 13px;
  }
}
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
}
.topbar__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 0;
  min-width: 0;
  width: 100%;
  flex-wrap: wrap;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 0 1 auto;
}
.topbar-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  max-width: 100%;
  line-height: 1.25;
  transition: color 0.2s ease, transform 0.22s ease;
}
.topbar-track__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.topbar-track__icon svg {
  display: block;
}
.topbar-track__text {
  min-width: 0;
}
@keyframes topbar-truck-drive {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}
@keyframes topbar-block-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .topbar-track {
    animation: topbar-block-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .topbar-track__icon {
    animation: topbar-truck-drive 2.8s ease-in-out infinite;
    will-change: transform;
  }
  .topbar-support {
    animation: topbar-block-in 0.65s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .topbar-track:hover {
    transform: translateY(-2px);
  }
  .topbar-track:hover .topbar-track__icon {
    animation-duration: 1.15s;
  }
  .topbar-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(31, 41, 51, 0.14);
  }
  .theme-forest .topbar-support:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
  }
}
@media (prefers-reduced-motion: reduce) {
  .topbar-track,
  .topbar-track__icon {
    animation: none;
  }
  .topbar-track__icon {
    will-change: auto;
  }
}
.topbar-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-inline-start: clamp(16px, 2.5vw, 36px);
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(200, 51, 47, 0.08);
  border: 1px solid rgba(200, 51, 47, 0.22);
  box-shadow: 0 1px 3px rgba(31, 41, 51, 0.08);
  max-width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.2s ease;
}
.topbar-support__label {
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
}
.topbar-support__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
}
.topbar-support__item:hover {
  color: var(--primary);
}
.topbar-support__item > span:not(.topbar-support__icon) {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.topbar-support__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  font-size: 11px;
}
.topbar-support__icon svg {
  width: 11px;
  height: 11px;
  display: block;
  fill: currentColor;
}
.topbar-support__item--viber {
  color: #7360f2;
}
.topbar-support__item--telegram {
  color: #36aee2;
}
.topbar-support__item--email {
  color: #f4a23a;
}
.topbar-support__item--viber .topbar-support__icon,
.topbar-support__item--telegram .topbar-support__icon {
  animation: supportIconFloat 2.2s ease-in-out infinite;
}
.topbar-support__item--telegram .topbar-support__icon {
  animation-delay: 0.18s;
}
@keyframes supportIconFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2px;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  margin-inline-start: auto;
  flex: 0 1 auto;
}
.topnav__link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding: 0 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  transition:
    color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.topnav__link:hover {
  color: #7f1d1d;
  box-shadow: 0 2px 0 0 rgba(200, 51, 47, 0.4);
}
.topnav__link:focus-visible {
  outline: 2px solid rgba(200, 51, 47, 0.45);
  outline-offset: 3px;
  color: #7f1d1d;
  box-shadow: 0 2px 0 0 rgba(200, 51, 47, 0.4);
}
.topnav__link.is-active {
  color: #6f1818;
  font-weight: 600;
  box-shadow: 0 2px 0 0 #b32e2a;
}
@media (prefers-reduced-motion: reduce) {
  .topnav__link {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1220px) {
  .topbar-support {
    margin-inline-start: 0;
  }
}

/* Одна горизонтальная линия топбара с полным меню (в т.ч. «Главная»): без переноса на ≥1221px */
@media (min-width: 1221px) {
  .topbar__inner {
    flex-wrap: nowrap;
    gap: 10px 14px;
  }
  .topbar__left {
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }
  .topbar-support {
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    margin-inline-start: 8px;
    padding: 4px 10px;
    gap: 5px 8px;
  }
  .topbar-support__label {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(240px, 28vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topnav {
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }
  .topnav__link {
    padding: 0 6px;
  }
}

.cart-link span {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
}
.page { padding: 20px 0 40px; }
.page--tight-footer { padding-bottom: 0; }

.footer {
  margin-top: 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.footer__grid {
  padding: 10px 0 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.footer__grid > section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
.footer__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.footer__link {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
}
.footer__link:hover {
  color: var(--text);
}
.footer__grid > section .footer__link:last-child {
  margin-bottom: 0;
}
.footer__link--icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  max-width: 100%;
}
.footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.footer__icon svg {
  width: 11px;
  height: 11px;
  display: block;
  fill: currentColor;
}
.footer__icon--instagram { color: #e95ab4; }
.footer__icon--facebook { color: #1877f2; }
.footer__icon--vk { color: #4a76a8; }
.footer__icon--viber { color: #7360f2; }
.footer__icon--telegram { color: #229ed9; }
.footer__icon--whatsapp { color: #25d366; }
.footer__legal {
  border-top: 1px solid var(--border);
  padding: 6px 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.34;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer__legal p {
  margin: 0 0 2px;
}
.footer__legal p:last-child {
  margin-bottom: 0;
}
.footer__inner {
  border-top: 1px solid var(--border);
  padding: 5px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
}
.footer__muted {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}
.footer__sep {
  color: var(--muted);
  opacity: 0.55;
  font-size: 12px;
  line-height: 1;
  user-select: none;
}
@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }
  .footer__sep {
    display: none;
  }
}

.catalog-topline {
  background: #23252f;
  border: 1px solid #3a3d4b;
  border-radius: 6px;
  padding: 10px;
  display: grid;
  grid-template-columns: 204px minmax(240px, 500px) minmax(340px, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  justify-content: stretch;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.contacts-page,
.site-content-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}
@keyframes contacts-block-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contacts-page > .breadcrumbs,
.contacts-page > .contacts-page__hero,
.contacts-page > .contacts-split,
.contacts-page > .contacts-requisites,
.site-content-page > .breadcrumbs,
.site-content-page > .site-content-page__hero,
.site-content-page > .site-feature-grid,
.site-content-page > .site-prose-flow,
.site-content-page > .configurator-intro,
.site-content-page > .configurator-layout,
.site-content-page > .configurator-seo,
.site-content-page > .reviews-note-card,
.site-content-page > .reviews-sent,
.site-content-page > .reviews-form-wrap {
  animation: contacts-block-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.contacts-page > .breadcrumbs,
.site-content-page > .breadcrumbs {
  animation-delay: 0.03s;
}
.contacts-page > .contacts-page__hero,
.site-content-page > .site-content-page__hero {
  animation-delay: 0.09s;
}
.contacts-page > .contacts-split {
  animation-delay: 0.26s;
}
.contacts-page > .contacts-requisites {
  animation-delay: 0.36s;
}
.site-content-page > .site-feature-grid {
  animation-delay: 0.14s;
}
.site-content-page > .site-prose-flow {
  animation-delay: 0.18s;
}
.site-content-page > .configurator-intro {
  animation-delay: 0.14s;
}
.site-content-page > .configurator-layout {
  animation-delay: 0.22s;
}
.site-content-page > .configurator-seo {
  animation-delay: 0.28s;
}
.site-content-page > .reviews-note-card {
  animation-delay: 0.22s;
}
.site-content-page > .reviews-sent,
.site-content-page > .reviews-form-wrap {
  animation-delay: 0.3s;
}
.contacts-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.contacts-channels > .contacts-channel {
  margin-bottom: 0;
  animation: contacts-block-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.contacts-channels > .contacts-channel:nth-child(1) {
  animation-delay: 0.1s;
}
.contacts-channels > .contacts-channel:nth-child(2) {
  animation-delay: 0.15s;
}
.contacts-channels > .contacts-channel:nth-child(3) {
  animation-delay: 0.2s;
}
.contacts-channels > .contacts-channel:nth-child(4) {
  animation-delay: 0.25s;
}
.contacts-channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  min-height: 108px;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.24s ease;
}
.contacts-channel__body {
  display: grid;
  gap: 6px;
}
.contacts-channel__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.06);
  color: var(--primary);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.24s ease;
}
.contacts-channel__icon svg {
  display: block;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes contacts-icon-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(180, 35, 24, 0);
  }
  45% {
    box-shadow: 0 0 0 8px rgba(180, 35, 24, 0.14);
  }
}
.contacts-channels > .contacts-channel .contacts-channel__icon {
  animation: site-icon-pop 0.44s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.contacts-channels > .contacts-channel:nth-child(1) .contacts-channel__icon {
  animation-delay: 0.1s;
}
.contacts-channels > .contacts-channel:nth-child(2) .contacts-channel__icon {
  animation-delay: 0.15s;
}
.contacts-channels > .contacts-channel:nth-child(3) .contacts-channel__icon {
  animation-delay: 0.2s;
}
.contacts-channels > .contacts-channel:nth-child(4) .contacts-channel__icon {
  animation-delay: 0.25s;
}
.contacts-channel--pulse .contacts-channel__icon {
  animation:
    site-icon-pop 0.44s cubic-bezier(0.22, 1, 0.36, 1) backwards,
    contacts-icon-pulse 2.6s ease-in-out infinite 1.1s;
}
.contacts-channels > .contacts-channel.contacts-channel--pulse:nth-child(4) .contacts-channel__icon {
  animation-delay: 0.25s, 1.35s;
}
a.contacts-channel {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.contacts-channel:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  border-color: #c5c5c7;
}
a.contacts-channel:hover .contacts-channel__icon {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}
a.contacts-channel:hover .contacts-channel__icon svg {
  transform: scale(1.08);
}
.contacts-channel--static:hover {
  transform: none;
  box-shadow: none;
}
.contacts-channel__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.contacts-channel__value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
}
.contacts-channel__value--secondary {
  font-size: 14px;
  font-weight: 600;
}
.contacts-channel__hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.contacts-section-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.contacts-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.contacts-prose {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.contacts-prose p {
  margin: 0 0 10px;
}
.contacts-prose p:last-child {
  margin-bottom: 0;
}
.contacts-prose--compact {
  font-size: 13px;
  line-height: 1.5;
}
.contacts-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.contacts-split .info-card {
  margin-bottom: 0;
}
.contacts-map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef1f5;
}
.map-frame {
  width: 100%;
  min-height: 280px;
  height: 320px;
  border: 0;
  border-radius: 0;
  display: block;
}
.contacts-requisites {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .contacts-split {
    grid-template-columns: 1fr;
  }
  .map-frame {
    height: 260px;
    min-height: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contacts-page > .breadcrumbs,
  .contacts-page > .contacts-page__hero,
  .contacts-page > .contacts-split,
  .contacts-page > .contacts-requisites,
  .contacts-channels > .contacts-channel,
  .site-content-page > .breadcrumbs,
  .site-content-page > .site-content-page__hero,
  .site-content-page > .site-feature-grid,
  .site-content-page > .site-prose-flow,
  .site-content-page > .configurator-intro,
  .site-content-page > .configurator-layout,
  .site-content-page > .reviews-note-card,
  .site-content-page > .reviews-sent,
  .site-content-page > .reviews-form-wrap {
    animation: none !important;
  }
  a.contacts-channel:hover {
    transform: none;
  }
  .contacts-channels > .contacts-channel .contacts-channel__icon {
    animation: none !important;
  }
  .contacts-channel--pulse .contacts-channel__icon {
    animation: none !important;
  }
  a.contacts-channel:hover .contacts-channel__icon,
  a.contacts-channel:hover .contacts-channel__icon svg {
    transform: none;
    box-shadow: none;
  }
  a.site-tile:hover,
  a.reviews-link.site-tile:hover {
    transform: none;
  }
  .card-favorite-btn:hover,
  .card-favorite-btn:active,
  .card-favorite-btn[aria-pressed="true"],
  .product-favorite-btn:hover,
  .product-favorite-btn[aria-pressed="true"] {
    transform: none;
    box-shadow: none;
    animation: none !important;
  }
}
.theme-forest .contacts-channel__label,
.theme-forest .contacts-lead,
.theme-forest .contacts-channel__hint {
  color: #6e6e73;
}
.theme-forest .contacts-channel__icon {
  background: #f5f5f7;
  color: #b42318;
}
.theme-forest .contacts-section-title,
.theme-forest .contacts-prose,
.theme-forest .contacts-channel__value {
  color: #1d1d1f;
}
.theme-forest a.contacts-channel:hover {
  border-color: #d2d2d7;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.theme-forest .contacts-map-frame {
  border-color: #d2d2d7;
  background: #f5f5f7;
}

.site-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.site-prose-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-prose-flow > .info-card {
  margin-bottom: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.24s ease;
}
.site-prose-flow > .info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #c5c5c7;
}
.site-tile,
a.reviews-link.site-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
  margin-bottom: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.24s ease;
}
a.site-tile,
a.reviews-link.site-tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.site-tile:hover,
a.reviews-link.site-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  border-color: #c5c5c7;
}
.site-tile--static:hover {
  transform: none;
  box-shadow: none;
}
.site-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.06);
  color: var(--primary);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.24s ease;
}
.site-tile__icon svg {
  display: block;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes site-icon-pop {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.site-feature-grid .site-tile .site-tile__icon,
.configurator-intro__item .site-tile__icon {
  animation: site-icon-pop 0.44s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.site-feature-grid .site-tile:nth-child(1) .site-tile__icon,
.configurator-intro__item:nth-child(1) .site-tile__icon {
  animation-delay: 0.1s;
}
.site-feature-grid .site-tile:nth-child(2) .site-tile__icon,
.configurator-intro__item:nth-child(2) .site-tile__icon {
  animation-delay: 0.16s;
}
.site-feature-grid .site-tile:nth-child(3) .site-tile__icon,
.configurator-intro__item:nth-child(3) .site-tile__icon {
  animation-delay: 0.22s;
}
a.site-tile:hover .site-tile__icon,
a.reviews-link.site-tile:hover .site-tile__icon,
.configurator-intro__item:hover .site-tile__icon {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}
a.site-tile:hover .site-tile__icon svg,
a.reviews-link.site-tile:hover .site-tile__icon svg,
.configurator-intro__item:hover .site-tile__icon svg {
  transform: scale(1.08);
}
.site-tile__body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}
.site-tile__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
@keyframes cabinet-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes cabinet-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes cabinet-panel-in {
  from {
    opacity: 0;
    transform: translateY(calc(14px + 1.5vh)) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes cabinet-panel-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cabinet-modal[open]::backdrop,
  .cabinet-modal[open]:not(.cabinet-modal--closing) .cabinet-modal__panel,
  .cabinet-modal--closing .cabinet-modal__panel,
  .cabinet-modal--closing::backdrop {
    animation: none !important;
  }
}

.cabinet-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  width: 100%;
  height: 100%;
}
.cabinet-modal::backdrop {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cabinet-modal[open]::backdrop {
  animation: cabinet-backdrop-in 0.4s ease both;
}
.cabinet-modal--closing::backdrop {
  animation: cabinet-backdrop-out 0.28s ease both;
}
.cabinet-modal__panel {
  width: min(440px, 94vw);
  margin: 7vh auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transform-origin: 50% 40%;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 28px 56px rgba(15, 23, 42, 0.26);
}
.cabinet-modal[open]:not(.cabinet-modal--closing) .cabinet-modal__panel {
  animation: cabinet-panel-in 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cabinet-modal--closing .cabinet-modal__panel {
  animation: cabinet-panel-out 0.32s cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
}
.cabinet-modal__accent {
  height: 4px;
  background: linear-gradient(90deg, #d94642 0%, #fb923c 35%, #eab308 68%, #34d399 100%);
}
.cabinet-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.cabinet-modal__title-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.cabinet-modal__glyph {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(217, 70, 66, 0.14), rgba(217, 70, 66, 0.05));
  color: var(--primary);
  border: 1px solid rgba(217, 70, 66, 0.22);
}
.cabinet-modal__glyph svg {
  display: block;
}
.cabinet-modal__titles {
  min-width: 0;
}
.cabinet-modal__titles h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cabinet-modal__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.cabinet-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.18s ease;
}
.cabinet-modal__close:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}
.cabinet-modal__close:active {
  transform: scale(0.96);
}
.cabinet-modal__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.cabinet-modal__field {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.cabinet-modal__field input,
.cabinet-modal__field select,
.cabinet-modal__field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cabinet-modal__field textarea {
  min-height: 72px;
  resize: vertical;
}
.cabinet-modal__field input:focus,
.cabinet-modal__field select:focus,
.cabinet-modal__field textarea:focus {
  outline: none;
  border-color: rgba(217, 70, 66, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 70, 66, 0.12);
}
.cabinet-auth-message {
  min-height: 18px;
  font-size: 12px;
  color: #b45309;
}
.cabinet-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.cabinet-modal__btn-primary {
  min-width: 120px;
}
.cabinet-modal__tabs {
  display: flex;
  gap: 6px;
  padding: 8px 16px 0;
  border-bottom: 1px solid var(--border);
}
.cabinet-modal__tab {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.cabinet-modal__tab:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}
.cabinet-modal__tab--active {
  color: var(--text);
  border-bottom-color: rgba(217, 70, 66, 0.85);
}
.cabinet-modal__section .cabinet-modal__footer {
  justify-content: stretch;
}
.cabinet-modal__section .cabinet-modal__btn-primary {
  flex: 1;
}
.cabinet-modal__optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}

/* Auth modal (login / register on storefront) — compact layout */
.cabinet-modal--auth .cabinet-modal__panel {
  width: min(400px, 94vw);
  margin: 4vh auto;
  border-radius: 12px;
}
.cabinet-modal--auth .cabinet-modal__accent {
  height: 3px;
}
.cabinet-modal--auth .cabinet-modal__header {
  gap: 8px;
  padding: 10px 12px;
}
.cabinet-modal--auth .cabinet-modal__title-block {
  gap: 8px;
  align-items: center;
}
.cabinet-modal--auth .cabinet-modal__glyph {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.cabinet-modal--auth .cabinet-modal__titles h2 {
  margin: 0 0 2px;
  font-size: 16px;
}
.cabinet-modal--auth .cabinet-modal__subtitle {
  font-size: 11px;
  line-height: 1.25;
}
.cabinet-modal--auth .cabinet-modal__close {
  width: 32px;
  height: 32px;
  font-size: 20px;
  border-radius: 8px;
}
.cabinet-modal--auth .cabinet-modal__tabs {
  gap: 4px;
  padding: 4px 12px 0;
}
.cabinet-modal--auth .cabinet-modal__tab {
  padding: 7px 8px;
  font-size: 12px;
}
.cabinet-modal--auth.cabinet-modal--register-open .cabinet-modal__panel {
  width: min(420px, 94vw);
}
.cabinet-modal__stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px 20px;
  gap: 0;
}
.cabinet-modal__stub-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.cabinet-modal__stub-text {
  margin: 0 0 16px;
  max-width: 28em;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.cabinet-modal__body--register {
  gap: 6px;
  padding: 8px 12px 6px;
  grid-template-columns: 1fr 1fr;
  column-gap: 8px;
  row-gap: 6px;
}
.cabinet-modal__body--register .cabinet-auth-message,
.cabinet-modal__body--register .cabinet-modal__field--full {
  grid-column: 1 / -1;
}
.cabinet-modal__body--register .cabinet-modal__field {
  gap: 2px;
  font-size: 11px;
}
.cabinet-modal__body--register .cabinet-modal__field input {
  padding: 6px 9px;
  font-size: 13px;
  border-radius: 7px;
}
.cabinet-modal__body--register .cabinet-auth-message {
  min-height: 12px;
  margin-bottom: 2px;
  font-size: 11px;
  line-height: 1.25;
}
.cabinet-modal__section--register .cabinet-modal__footer {
  gap: 6px;
  padding: 6px 12px 8px;
}
.cabinet-modal__section--register .cabinet-modal__btn-primary {
  min-width: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
}
.cabinet-modal__phone-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cabinet-modal__body--register .cabinet-modal__field--phone input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
}
.cabinet-modal__phone-input:focus-within {
  border-color: rgba(217, 70, 66, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 70, 66, 0.12);
}
.cabinet-modal__phone-prefix {
  display: flex;
  align-items: center;
  padding: 6px 0 6px 9px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  user-select: none;
}
@media (max-width: 380px) {
  .cabinet-modal__body--register {
    grid-template-columns: 1fr;
  }
  .cabinet-modal__body--register .cabinet-modal__field--full {
    grid-column: auto;
  }
}
.cabinet-modal__recover-link-wrap {
  margin: -2px 0 0;
  text-align: right;
}
.cabinet-modal__link-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cabinet-modal__link-btn:hover {
  color: #b91c1c;
}
.cabinet-modal__recover-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.cabinet-modal__recover-hint {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.cabinet-modal--recover-open .cabinet-modal__footer {
  flex-wrap: wrap;
  justify-content: stretch;
}
.cabinet-modal--recover-open .cabinet-modal__footer .btn--light {
  flex: 0 0 auto;
}
.cabinet-modal--recover-open .cabinet-modal__footer .cabinet-modal__btn-primary {
  flex: 1;
  min-width: 0;
}
.theme-forest .cabinet-modal__link-btn {
  color: #f87171;
}
.theme-forest .cabinet-modal__recover-hint {
  color: var(--forest-modal-muted);
}

