: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;
}
.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: space-between;
  align-items: center;
  padding: 13px 0;
  min-width: 0;
  width: 100%;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 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) both;
  }
}
@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: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-left: 70px;
  padding: 8px 14px;
  border-radius: 10px;
  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: 13px;
  letter-spacing: 0.02em;
  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: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  font-size: 12px;
}
.topbar-support__icon svg {
  width: 12px;
  height: 12px;
  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: 10px 16px;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.topnav a { color: var(--text); text-decoration: none; font-size: 14px; }
.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; }
.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;
}
/* Каталог: половина вертикали между верхней полосой (топлайн / подкатегории / фильтры) и сеткой */
.page-catalog .catalog-topline {
  margin-bottom: 6px;
}
.page-catalog .catalog-subcats {
  margin: -2px 0 5px;
}
.page-catalog .searchbar {
  margin-bottom: 7px;
}
.catalog-topline__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  border-radius: 3px;
  border: 1px solid #d94642;
  min-width: 192px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}
.catalog-topline__trigger-top {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.catalog-topline__trigger--with-section {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.catalog-topline__trigger-section {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.92;
  padding-top: 5px;
  margin-top: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-topline__trigger-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: calc(13px * 1.05);
  font-weight: 700;
  line-height: 1.15;
}
.catalog-topline__trigger:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.catalog-topline__trigger:active {
  transform: translateY(0);
  filter: brightness(0.98);
  box-shadow: none;
}
.catalog-topline__trigger small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 22px;
  height: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  padding: 3px 7px;
}
.catalog-topline__trigger-top > span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  font-size: 1.05rem;
  transform: translateY(0.5px);
}
.catalog-topline__search {
  display: block;
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #3a3f52 0%, #323746 100%);
  border: 1px solid #4a4d5d;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  justify-self: start;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-topline__search-main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 46px;
}
.catalog-topline__search:focus-within {
  border-color: rgba(134, 179, 209, 0.75);
  box-shadow: 0 0 0 3px rgba(134, 179, 209, 0.22), 0 4px 18px rgba(0, 0, 0, 0.16);
}
.catalog-topline__search-main > input[type="text"],
.catalog-topline__search-main > input[name="q"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  padding: 13px 6px 13px 14px;
  font-size: 13px;
  border-radius: 12px 0 0 12px;
}
.catalog-topline__search-main > input[type="text"]::placeholder,
.catalog-topline__search-main > input[name="q"]::placeholder {
  color: #b8bccb;
}
.catalog-topline__live-count {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  align-self: stretch;
  max-width: min(200px, 46vw);
  padding: 0 6px 0 2px;
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  color: #c5cad8;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.catalog-topline__live-count.is-loading {
  color: #9aa3b8;
  font-weight: 500;
}
.catalog-topline__search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  margin: 0;
  border: 0;
  border-radius: 0 11px 11px 0;
  background: rgba(255, 255, 255, 0.04);
  color: #a8b0c8;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.catalog-topline__search-submit:hover {
  background: rgba(134, 179, 209, 0.18);
  color: #e8ecff;
}
.catalog-topline__search-submit:active {
  transform: scale(0.96);
}
.catalog-topline__search-submit:focus-visible {
  outline: 2px solid rgba(134, 179, 209, 0.95);
  outline-offset: 2px;
}
.catalog-topline__search-icon {
  display: block;
  width: 19px;
  height: 19px;
}
.catalog-search-suggest {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 6px);
  background: #2b3040;
  border: 1px solid #4a4d5d;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
  max-height: 380px;
  overflow: auto;
  z-index: 60;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 220ms ease;
}
.catalog-search-suggest.is-open {
  opacity: 1;
  transform: translateY(0);
}
.catalog-search-suggest__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  text-decoration: none;
  color: #edf1ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.catalog-search-suggest__item:last-child {
  border-bottom: 0;
}
.catalog-search-suggest__item:hover,
.catalog-search-suggest__item.is-active {
  background: rgba(134, 179, 209, 0.18);
}
.catalog-search-suggest__img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
}
.catalog-search-suggest__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.catalog-search-suggest__body {
  display: grid;
  gap: 2px;
}
.catalog-search-suggest__name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-search-suggest__meta {
  color: #b9c6df;
  font-size: 11px;
}
.catalog-search-suggest__price {
  white-space: nowrap;
  color: var(--price-on-dark);
  font-size: 12px;
  font-weight: 700;
}
.catalog-topline__links {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 44px;
}
.catalog-topline__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #eceffa;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid #454a5b;
  background: linear-gradient(180deg, #2f3444 0%, #292d3a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
  will-change: transform;
}
.catalog-topline__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  border-color: #66708a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.catalog-topline__link:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
.catalog-topline__icon {
  font-size: 17px;
  line-height: 1;
}
.catalog-topline__link--cart {
  position: relative;
  align-items: center;
  gap: 6px;
}
.catalog-topline__cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
}
@media (max-width: 1300px) {
  .catalog-topline {
    grid-template-columns: 204px minmax(220px, 1fr) minmax(260px, 1fr);
  }
  .catalog-topline__links {
    justify-content: flex-end;
    row-gap: 8px;
  }
}

@media (max-width: 1220px) and (min-width: 901px) {
  .topbar__inner {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }
  .topbar__left {
    flex: 0 1 auto;
    width: 100%;
    max-width: 920px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .topbar-track {
    text-align: center;
  }
  .topbar-support {
    justify-content: center;
  }
  .topnav {
    flex: 0 1 auto;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-top: 0;
  }
  .catalog-topline {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    justify-items: center;
    gap: 10px;
  }
  .catalog-topline__trigger {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    justify-self: center;
  }
  .catalog-topline__search {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
  .catalog-topline__links {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 960px;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

.catalog-subcats {
  margin: -2px 0 10px;
  border: 1px solid #3a3d4b;
  border-top: 0;
  background: #23252f;
  border-radius: 0 0 6px 6px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 220ms ease, opacity 180ms ease;
}
.catalog-subcats.is-open {
  max-height: 360px;
  opacity: 1;
  pointer-events: auto;
}

/* Панель фильтров: скрыта на «корне» каталога, пока блок разделов закрыт;
   при выбранной категории (.is-active) — всегда видна */
#catalogSubcats:not(.is-open):not(:has(.catalog-subcats__item.is-active))
  ~ .searchbar
  .catalog-filter-bar {
  display: none;
}

@media (max-width: 991px) {
  .catalog-subcats {
    grid-template-columns: 1fr;
    box-sizing: border-box;
  }
  .catalog-subcats.is-open {
    /* 12 разделов по высоте, остальное — прокрутка; не выше вьюпорта */
    max-height: min(
      calc(16px + 12 * 44px + 11 * 6px + env(safe-area-inset-bottom, 0px)),
      calc(100dvh - 9rem)
    );
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
}

.catalog-subcats__item {
  color: #d3d8ea;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #44495a;
  border-radius: 6px;
  padding: 7px 9px;
  background: #2b2e39;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.catalog-subcats__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.catalog-subcats__count {
  color: #98a0b8;
  font-size: 12px;
}
.catalog-subcats__item.is-active {
  border-color: #c8332f;
  color: #fff;
}
.catalog-razdel-search-scope {
  margin: -4px 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #4a4d5d;
  background: rgba(134, 179, 209, 0.14);
}
.catalog-razdel-search-scope__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  justify-content: space-between;
}
.catalog-razdel-search-scope__msg {
  margin: 0;
  flex: 1 1 200px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d8deef;
}
.catalog-razdel-search-scope__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12px;
  padding: 8px 12px;
}
.theme-forest {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --primary: #0071e3;
  --border: #d2d2d7;
  --price-color: #1d1d1f;
  --price-on-dark: #f5f5f7;
  --slider-thumb-a: #6e6e73;
  --slider-thumb-b: #52525b;
  --slider-fill: rgba(110, 110, 115, 0.38);
  --slider-track-active: rgba(110, 110, 115, 0.26);
}
body.theme-forest {
  background: #f5f5f7;
}
.theme-forest .breadcrumbs a,
.theme-forest .breadcrumbs {
  color: #6e6e73;
}
.theme-forest .hero,
.theme-forest .info-card,
.theme-forest .card,
.theme-forest .catalog-extra-filters__group,
.theme-forest .searchbar input,
.theme-forest .searchbar select,
.theme-forest .filter-field input,
.theme-forest .filter-field select,
.theme-forest .checkbox-filter--boxed {
  background: #ffffff;
  border-color: #d2d2d7;
  color: #1d1d1f;
}
.theme-forest .hero-promo {
  background: #fbfbfd;
  border-color: #d2d2d7;
}
.theme-forest .hero:hover {
  border-color: #b6b6bd;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}
.theme-forest .hero-promo:hover {
  border-color: #b6b6bd;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  background: #f5f5f7;
}
.theme-forest .hero-promo:hover h3 {
  color: #1d1d1f;
}
.theme-forest .hero-promo:hover p {
  color: #6e6e73;
}
.theme-forest a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner {
  border-color: rgba(45, 212, 191, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #132028 0%, #1a2e38 48%, #101c22 100%);
}
.theme-forest a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner:hover {
  border-color: rgba(52, 211, 153, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
    linear-gradient(135deg, #163240 0%, #224556 52%, #121f26 100%);
}
.theme-forest a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner {
  border-color: rgba(167, 139, 250, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #1a1530 0%, #251d3d 48%, #141022 100%);
}
.theme-forest a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner:hover {
  border-color: rgba(232, 189, 250, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
    linear-gradient(135deg, #221a3d 0%, #32264d 52%, #181328 100%);
}
.theme-forest a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner {
  border-color: rgba(200, 51, 47, 0.5);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    linear-gradient(135deg, #141923 0%, #1c2638 48%, #10151f 100%);
}
.theme-forest a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner:hover {
  border-color: rgba(255, 176, 32, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
    linear-gradient(135deg, #182031 0%, #243349 52%, #141b29 100%);
}
.theme-forest .hero-promo--promo-banner__phrase {
  color: #fff;
}
.theme-forest .hero-logo__tagline {
  color: #6e6e73;
}
.theme-forest .hero:hover .hero-logo__tagline {
  color: #3f3f46;
}
.theme-forest .hero-logo__brand {
  background: linear-gradient(105deg, #047857 0%, #b45309 50%, #be123c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .theme-forest .hero-logo__brand {
    color: #b42318;
    background: none;
  }
}
.theme-forest .filter-field,
.theme-forest .hero__subtitle,
.theme-forest .card__meta {
  color: #6e6e73;
}
.theme-forest .card__name,
.theme-forest .price,
.theme-forest .hits-regard__title,
.theme-forest .section-title {
  color: var(--price-color);
}
.theme-forest .catalog-subcats {
  background: #f5f5f7;
  border-color: #d2d2d7;
}
.theme-forest .catalog-subcats__item {
  background: #ffffff;
  border-color: #d2d2d7;
  color: #1d1d1f;
}
.theme-forest .catalog-subcats__item.is-active {
  background: #e8f3ff;
  border-color: #0071e3;
  color: #0071e3;
}
.theme-forest #catalogGrid.grid--list .card__list-extras,
.theme-forest #catalogGrid.grid:not(.grid--list) .card__list-extras {
  color: #6e6e73;
}
.theme-forest #catalogGrid.grid--list .card__list-extras-k,
.theme-forest #catalogGrid.grid:not(.grid--list) .card__list-extras-k {
  color: #86868b;
}
.theme-forest .catalog-razdel-search-scope {
  background: #e8f3ff;
  border-color: #b8d4f0;
}
.theme-forest .catalog-razdel-search-scope__msg {
  color: #424245;
}
.theme-forest .catalog-topline {
  background: #ffffff;
  border-color: #d2d2d7;
}
.theme-forest .catalog-topline__search {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border-color: #d2d2d7;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.04);
}
.theme-forest .catalog-topline__search:focus-within {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22), 0 6px 22px rgba(0, 0, 0, 0.06);
}
.theme-forest .catalog-topline__trigger,
.theme-forest .btn {
  background: var(--forest-cta);
  border-color: var(--forest-cta-border);
  color: #fff;
  font-weight: 700;
}
.theme-forest .catalog-topline:not(.catalog-topline--shared) .catalog-topline__trigger {
  background: var(--forest-cta) !important;
  border-color: var(--forest-cta-border) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.theme-forest .catalog-topline:not(.catalog-topline--shared) .catalog-topline__trigger:hover {
  background: var(--forest-cta-hover) !important;
  border-color: var(--forest-cta-hover) !important;
  color: #fff !important;
}
.theme-forest .catalog-topline:not(.catalog-topline--shared) .catalog-topline__trigger-title {
  flex: 0 1 auto;
  min-width: 0;
}
.theme-forest .catalog-topline:not(.catalog-topline--shared) .catalog-topline__trigger small {
  margin-left: 0;
  background: var(--forest-cta-badge);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.theme-forest .btn.btn-remove,
.theme-forest .btn.btn-remove-mini {
  background: #ffffff;
  color: var(--forest-cta);
  border-color: var(--forest-cta-border);
  font-weight: 700;
}
.theme-forest .btn.btn-remove:hover,
.theme-forest .btn.btn-remove-mini:hover {
  filter: none;
  background: #fff5f5;
  border-color: var(--forest-cta);
}
.theme-forest .btn--light {
  background: #ffffff;
  border-color: #d2d2d7;
  color: #1d1d1f;
}
.theme-forest .topbar {
  background: #4a4a4d;
  border-bottom: 1px solid var(--forest-chrome-border);
}
.theme-forest header.topbar {
  background-color: #4a4a4d !important;
}
.theme-forest .topbar::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0));
}
.theme-forest .topbar-track,
.theme-forest .topnav a {
  color: var(--forest-chrome-text);
}
.theme-forest .topbar-track__icon {
  color: #ffb020;
}
.theme-forest .topbar-support {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.theme-forest .topbar-support__label {
  color: var(--forest-chrome-text);
  font-weight: 700;
}
.theme-forest .topbar-support__item {
  color: var(--forest-chrome-text);
}
.theme-forest .topbar-support__item:hover {
  color: var(--forest-chrome-link-hover);
}
.theme-forest .topbar-support__icon {
  background: var(--forest-chrome-icon-bg);
  color: inherit;
}
.theme-forest .topbar-support__item--viber {
  color: #d4c4ff;
}
.theme-forest .topbar-support__item--telegram {
  color: #b8e8ff;
}
.theme-forest .topbar-support__item--email {
  color: #ffd6a8;
}
.theme-forest .topnav a:hover {
  color: var(--forest-chrome-link-hover);
}
.theme-forest .catalog-topline__link {
  color: #1d1d1f;
  border-color: #e5b5b2;
  background: #fff5f5;
}
.theme-forest .catalog-topline__link:hover {
  border-color: var(--forest-cta-border);
  background: #ffeaea;
  box-shadow: 0 8px 18px rgba(180, 35, 24, 0.16);
}
.theme-forest .catalog-topline__link:active {
  background: #ffe0e0;
}
.theme-forest .catalog-topline__cart-count {
  background: var(--forest-cta) !important;
  color: #fff;
}
.theme-forest .catalog-topline__search-main input[type="text"],
.theme-forest .catalog-topline__search-main input[name="q"] {
  color: #1d1d1f;
}
.theme-forest .catalog-topline__search-main input[type="text"]::placeholder,
.theme-forest .catalog-topline__search-main input[name="q"]::placeholder {
  color: #8e8e93;
}
.theme-forest .catalog-topline__live-count {
  color: #515154;
  border-left-color: rgba(0, 0, 0, 0.1);
}
.theme-forest .catalog-topline__live-count.is-loading {
  color: #86868b;
}
.theme-forest .catalog-topline__search-submit {
  background: rgba(0, 0, 0, 0.03);
  color: #86868b;
}
.theme-forest .catalog-topline__search-submit:hover {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}
.theme-forest .catalog-topline__search-submit:focus-visible {
  outline-color: #0071e3;
}
.theme-forest .searchbar input::placeholder,
.theme-forest .searchbar select,
.theme-forest .filter-field input::placeholder {
  color: #c8d8e6;
}
.theme-forest .searchbar {
  margin-bottom: 10px;
}
.theme-forest .catalog-chip,
.theme-forest .section-chip {
  background: #99CED3;
  border-color: #D1E8E2;
  color: #2d3947;
}
.theme-forest .catalog-filters-modal__panel {
  background: var(--forest-modal-bg);
  border-color: var(--forest-modal-border);
  color: var(--forest-modal-text);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}
.theme-forest .catalog-filters-modal__header h2 {
  color: var(--forest-modal-text);
}
.theme-forest .catalog-filters-modal__header,
.theme-forest .catalog-filters-modal__footer {
  border-color: var(--forest-modal-border);
}
.theme-forest .catalog-filters-modal__footer {
  background: var(--forest-modal-footer-bg);
}
.theme-forest .catalog-filters-modal__close {
  color: var(--forest-modal-muted);
  background: #ececef;
}
.theme-forest .catalog-filters-modal__close:hover {
  color: var(--forest-modal-text);
  background: #e2e2e7;
}
.theme-forest .catalog-filters-modal__body {
  color: var(--forest-modal-text);
}
.theme-forest .catalog-extra-filters__group legend {
  color: var(--forest-modal-muted);
}
.theme-forest .catalog-extra-filters__values label {
  color: #1d1d1f;
}
.theme-forest .catalog-filter-bar .catalog-price-slider__range::-webkit-slider-runnable-track {
  background: rgba(148, 163, 184, 0.38);
}
.theme-forest .catalog-filter-bar .catalog-price-slider__range::-moz-range-track {
  background: rgba(148, 163, 184, 0.38);
}
.theme-forest .catalog-filter-bar .catalog-price-slider__range::-webkit-slider-thumb {
  background: linear-gradient(165deg, var(--slider-thumb-a) 0%, var(--slider-thumb-b) 100%);
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}
.theme-forest .catalog-filter-bar .catalog-price-slider__range::-moz-range-thumb {
  background: linear-gradient(165deg, var(--slider-thumb-a) 0%, var(--slider-thumb-b) 100%);
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}
.theme-forest .catalog-filter-bar .catalog-price-slider__fill {
  background: var(--slider-fill);
}
.theme-forest .catalog-filter-bar__badge {
  background: #EDB5BF;
  color: #2d3947;
}

/* Catalog filter strip: light compact bar + motion */
.theme-forest .catalog-filter-bar.filters--clean {
  background: linear-gradient(165deg, #ffffff 0%, #f4f7fb 45%, #e9eef6 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #0f172a;
  padding: 6px 9px;
  gap: 10px;
  border-radius: 10px;
  box-shadow:
    0 2px 14px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease;
  animation: catalog-filter-bar-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.theme-forest .catalog-filter-bar.filters--clean:hover {
  border-color: rgba(134, 179, 209, 0.58);
  box-shadow:
    0 10px 32px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 #ffffff;
  transform: translateY(-2px);
}
.theme-forest .catalog-filter-bar .filter-field {
  color: #64748b;
  gap: 3px;
}
.theme-forest .catalog-filter-bar .filter-field > span {
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}
.theme-forest .catalog-filter-bar .catalog-price-slider__label {
  color: #475569;
  font-size: 11px;
  margin-bottom: 3px;
  gap: 5px;
}
.theme-forest .catalog-filter-bar .catalog-price-slider__values {
  color: var(--price-color);
}
.theme-forest .catalog-filter-bar .catalog-price-slider__hints {
  color: #94a3b8;
}
.theme-forest .catalog-filter-bar select {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
  font-size: 12px !important;
  padding: 6px 9px !important;
  border-radius: 8px !important;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.18s ease;
}
.theme-forest .catalog-filter-bar select:hover {
  border-color: rgba(134, 179, 209, 0.85);
}
.theme-forest .catalog-filter-bar select:focus {
  outline: none;
  border-color: #86b3d1;
  box-shadow: 0 0 0 3px rgba(134, 179, 209, 0.28);
}
.theme-forest .catalog-filter-bar .catalog-view-switch {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.42);
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.24s ease,
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s ease;
}
.theme-forest .catalog-filter-bar .catalog-view-switch:hover {
  border-color: rgba(134, 179, 209, 0.65);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.theme-forest .catalog-filter-bar .catalog-view-btn {
  color: #64748b;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-forest .catalog-filter-bar .catalog-view-btn:hover:not(.is-active) {
  background: #f1f5f9;
  color: #0f172a;
}
.theme-forest .catalog-filter-bar .catalog-view-btn:active {
  transform: scale(0.94);
}
.theme-forest .catalog-filter-bar .catalog-view-btn.is-active {
  background: linear-gradient(180deg, #eaf2fb 0%, #dce9f5 100%);
  color: #0f172a;
}
.theme-forest .catalog-filter-bar .btn.catalog-filter-bar__more {
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9px;
  background: var(--forest-filter-more-bg);
  border: 1px solid var(--forest-filter-more-border);
  color: var(--forest-filter-more-text);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  filter: none;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}
.theme-forest .catalog-filter-bar .btn.catalog-filter-bar__more:hover {
  transform: translateY(-1px);
  background: var(--forest-filter-more-hover-bg);
  border-color: var(--forest-filter-more-hover-border);
  color: var(--forest-filter-more-text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  filter: none;
}
.theme-forest .catalog-filter-bar .btn.catalog-filter-bar__more:active {
  transform: translateY(0);
}
.theme-forest .catalog-filter-bar .btn.catalog-filter-bar__more:focus-visible {
  outline: 2px solid var(--forest-cta);
  outline-offset: 2px;
}

@keyframes catalog-filter-bar-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-forest .catalog-filter-bar.filters--clean {
    animation: none;
  }
}
.theme-forest .hits-regard {
  background: #f5f5f7;
  margin-top: 20px;
  position: relative;
}
.theme-forest .hits-regard::before {
  background: #f5f5f7;
  border-top: 0;
  border-bottom: 0;
}
.theme-forest .hits-regard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
}
.theme-forest .hits-regard__header,
.theme-forest .hits-regard__tabs {
  border-top: 0;
  border-bottom: 0;
}
.theme-forest .page {
  border: 0;
}
.theme-forest .hits-tab {
  background: #ffffff;
  border-color: #d2d2d7;
  color: #1d1d1f;
}
.theme-forest .hits-tabs-nav {
  background: #ffffff;
  border-color: #d2d2d7;
  color: #1d1d1f;
}
.theme-forest .hits-tabs-nav:hover {
  background: #f5f5f7;
  border-color: #0071e3;
}
.theme-forest .hits-tab__count {
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
}
.theme-forest .hits-tab.is-active {
  background: #e8f3ff;
  border-color: #0071e3;
  color: #0071e3;
}
.theme-forest .hits-tab.is-active .hits-tab__count {
  background: rgba(0, 113, 227, 0.15);
  color: #0051a1;
}
.theme-forest .hits-card {
  background: #ffffff;
  border-color: #d2d2d7;
}
.theme-forest .hits-card__image {
  background: #f5f5f7;
}
.theme-forest .hits-card__price {
  color: var(--price-color);
}
.theme-forest .hits-card__meta,
.theme-forest .hits-card__name {
  color: #1d1d1f;
}
.theme-forest .hits-regard__subtitle {
  color: #6e6e73;
  opacity: .8;
}
.theme-forest .empty-state {
  background: #ffffff;
  border-color: #d2d2d7;
  color: #1d1d1f;
}
.theme-forest .footer {
  background: var(--forest-chrome-bg);
  position: relative;
  border-top-color: var(--forest-chrome-border);
  color: var(--forest-chrome-text);
}
.theme-forest .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0));
}
.theme-forest .footer__title {
  color: var(--forest-chrome-text);
}
.theme-forest .footer__link {
  color: var(--forest-chrome-muted);
}
.theme-forest .footer__link:hover {
  color: var(--forest-chrome-text);
}
.theme-forest .footer__inner,
.theme-forest .footer__muted {
  color: var(--forest-chrome-muted);
}
.theme-forest .footer-badge {
  background: var(--forest-chrome-badge-bg);
  border-color: var(--forest-chrome-border);
  color: var(--forest-chrome-text);
}
.theme-forest .footer__icon {
  background: var(--forest-chrome-icon-bg);
  color: var(--forest-chrome-text);
}
.theme-forest .footer__inner,
.theme-forest .footer__legal {
  border-top-color: var(--forest-chrome-border);
}
.theme-forest .footer__legal {
  color: var(--forest-chrome-muted);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--text);
}

.hero {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.hero-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  align-items: stretch;
}
.hero-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  justify-content: center;
  justify-self: center;
  text-align: center;
  transition: transform 220ms ease, filter 220ms ease;
}
.hero-logo img {
  width: 163px;
  height: 67px;
  object-fit: contain;
  transition: transform 260ms ease, filter 260ms ease;
}
.hero-logo__tagline {
  margin-top: 6px;
  font-family: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: clamp(12.5px, 3.2vw, 16px);
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  max-width: 22em;
  transition: letter-spacing 220ms ease, color 220ms ease;
}
.hero-logo__brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.06em;
  /* без синего: бирюза → янтарь → винный */
  background: linear-gradient(105deg, #0f766e 0%, #c2410c 48%, #9f1239 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-logo__brand {
    color: #b42318;
    background: none;
  }
}
.hero-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1180px) and (min-width: 901px) {
  .hero-promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hero-promo {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  will-change: transform;
}
.hero-promo h3 {
  margin: 0 0 6px;
  font-size: 14px;
  transition: color 220ms ease;
}
.hero-promo p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 220ms ease;
}
.hero:hover {
  border-color: #b9c4d8;
  box-shadow: 0 10px 22px rgba(12, 20, 34, 0.12);
}
.hero:hover .hero-logo {
  transform: translateY(-2px);
}
.hero:hover .hero-logo img {
  transform: scale(1.02);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}
.hero:hover .hero-logo__tagline {
  letter-spacing: 0.17em;
  color: #475569;
}
.hero-promo:hover {
  transform: translateY(-4px);
  border-color: #b8c4d9;
  box-shadow: 0 12px 20px rgba(12, 20, 34, 0.14);
}
.hero-promo:hover h3 {
  color: #1f2a3f;
}
.hero-promo:hover p {
  color: #4f5c73;
}

/* Промо-баннеры в hero каталога (конфигуратор, сервис) */
a.hero-promo.hero-promo--promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f3f6fb;
  border-color: rgba(148, 163, 184, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #151b28 0%, #1f2937 48%, #121826 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  min-height: 108px;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner {
  border-color: rgba(34, 197, 211, 0.5);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #0f1a1f 0%, #162a32 48%, #0e181c 100%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner .hero-promo--promo-banner__glow {
  background: radial-gradient(circle at center, rgba(34, 197, 211, 0.42) 0%, transparent 68%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner .hero-promo--promo-banner__icon {
  color: #5eead4;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner .hero-promo--promo-banner__cta {
  color: #a7f3d0;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner {
  border-color: rgba(200, 51, 47, 0.55);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner .hero-promo--promo-banner__glow {
  background: radial-gradient(circle at center, rgba(200, 51, 47, 0.45) 0%, transparent 68%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner .hero-promo--promo-banner__icon {
  color: #ffb020;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner .hero-promo--promo-banner__cta {
  color: #ffb020;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner {
  border-color: rgba(167, 139, 250, 0.55);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #1a1530 0%, #251d3d 48%, #141022 100%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner .hero-promo--promo-banner__glow {
  background: radial-gradient(circle at center, rgba(167, 139, 250, 0.42) 0%, transparent 68%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner .hero-promo--promo-banner__icon {
  color: #e9d5ff;
}
a.hero-promo.hero-promo--cabinet-banner .hero-promo--promo-banner__phrase {
  white-space: pre-line;
}
.hero-promo--promo-banner__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(148, 163, 184, 0.25) 0%, transparent 68%);
  pointer-events: none;
}
.hero-promo--promo-banner__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  z-index: 1;
}
.hero-promo--promo-banner__icon svg {
  width: 44px;
  height: auto;
  display: block;
}
.hero-promo--promo-banner__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hero-promo--promo-banner__rotator {
  position: relative;
  display: block;
  min-height: 3.5rem;
  isolation: isolate;
}
.hero-promo--promo-banner__rotator--tight {
  min-height: 4rem;
}
.hero-promo--promo-banner__rotator--tight .hero-promo--promo-banner__phrase {
  font-size: 10.5px;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.hero-promo--promo-banner__phrase {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  font-size: clamp(10px, 0.35vw + 9px, 11.5px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease;
  pointer-events: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.hero-promo--promo-banner__phrase.is-active {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .hero-promo--promo-banner__phrase {
    transition: none;
  }
}
.hero-promo--promo-banner__cta {
  margin-top: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
a.hero-promo.hero-promo--promo-banner:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(15, 23, 42, 0.45);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner:hover {
  border-color: rgba(52, 211, 153, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
    linear-gradient(135deg, #12242c 0%, #1d3d4a 50%, #0f1a20 100%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--service-banner:hover .hero-promo--promo-banner__cta {
  color: #d1fae5;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner:hover {
  border-color: rgba(255, 176, 32, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
    linear-gradient(135deg, #1a2234 0%, #253047 50%, #161d2e 100%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--config-banner:hover .hero-promo--promo-banner__cta {
  color: #ffc94d;
}
a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner:hover {
  border-color: rgba(216, 180, 254, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
    linear-gradient(135deg, #221a3d 0%, #32264d 50%, #181328 100%);
}
a.hero-promo.hero-promo--promo-banner.hero-promo--cabinet-banner:hover .hero-promo--promo-banner__cta {
  color: #f5d0fe;
}
a.hero-promo.hero-promo--promo-banner:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero__title { margin: 0 0 8px; font-size: 26px; }
.hero__subtitle { margin: 0; color: var(--muted); }

.hero.hero--checkout {
  animation: checkout-hero-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero--checkout__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hero--checkout__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(217, 70, 66, 0.14), rgba(217, 70, 66, 0.05));
  color: var(--primary);
}
.hero--checkout__icon svg {
  display: block;
}
.hero--checkout__text {
  min-width: 0;
}
.hero--checkout .hero__title {
  margin: 0 0 6px;
}
.hero--checkout .hero__subtitle {
  line-height: 1.5;
  max-width: 52ch;
}
@keyframes checkout-hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero.hero--empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px);
  gap: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero.hero--empty-state .hero__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  max-width: 22ch;
}
.hero.hero--empty-state .hero__subtitle {
  margin: 0;
  line-height: 1.55;
  max-width: 36ch;
}
#favoritesGrid.grid:has(> .hero.hero--empty-state) {
  display: flex;
  justify-content: center;
}

.section-title { margin: 20px 0 12px; font-size: 22px; }
.searchbar { margin-bottom: 14px; }
.searchbar input {
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}
.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 130px 130px auto minmax(170px, 220px);
  gap: 10px;
  align-items: center;
}
.filters--clean {
  grid-template-columns: 140px 140px minmax(190px, 240px) minmax(190px, 240px) auto auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.catalog-filter-bar.filters.filters--clean {
  padding: 7px 10px;
  gap: 10px;
  border-radius: 10px;
  transition:
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}
.catalog-filter-bar.filters.filters--clean:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.catalog-filter-bar {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(150px, 210px) minmax(150px, 210px) minmax(160px, 230px) auto auto;
  gap: 10px;
  align-items: center;
}
.catalog-filter-bar__view {
  justify-self: end;
  align-self: center;
}
.catalog-filter-bar__price {
  min-width: 0;
  width: 80%;
  justify-self: center;
}
.catalog-filter-bar__sort,
.catalog-filter-bar__stock {
  align-self: center;
}
.catalog-filter-bar__brand {
  align-self: center;
}
.catalog-filter-bar {
  --toolbar-control-h: 38px;
}
.catalog-price-slider__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.catalog-price-slider__values {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.catalog-price-slider__track {
  position: relative;
  height: 22px;
  margin-bottom: 2px;
  --range-start: 0%;
  --range-end: 100%;
}
.catalog-price-slider__track--dual::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      rgba(148, 163, 184, 0.35) 0%,
      rgba(148, 163, 184, 0.35) var(--range-start),
      var(--slider-track-active) var(--range-start),
      var(--slider-track-active) var(--range-end),
      rgba(148, 163, 184, 0.35) var(--range-end),
      rgba(148, 163, 184, 0.35) 100%
    );
  z-index: 0;
}
.catalog-price-slider__track--dual .catalog-price-slider__range {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  opacity: 0;
  pointer-events: none;
}
.catalog-price-slider__range {
  width: 100%;
  height: 28px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  z-index: 2;
  outline: none;
}
.catalog-price-slider__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}
.catalog-price-slider__range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}
.catalog-price-slider__range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}
.catalog-price-slider__range::-moz-focus-outer {
  border: 0;
}
.catalog-price-slider__range::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-top: -4px;
  border: 2px solid #fff;
  background: var(--slider-thumb-a);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  cursor: grab;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    filter 0.18s ease;
}
.catalog-price-slider__range:active::-webkit-slider-thumb {
  transform: scale(1.12);
  cursor: grabbing;
  filter: brightness(1.08);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.28);
}
.catalog-price-slider__range::-moz-range-thumb {
  pointer-events: auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--slider-thumb-a);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  cursor: grab;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    filter 0.18s ease;
}
.catalog-price-slider__range:active::-moz-range-thumb {
  transform: scale(1.12);
  cursor: grabbing;
}
.catalog-price-slider__range--low::-webkit-slider-thumb {
  background: var(--slider-thumb-a);
}
.catalog-price-slider__range--low::-moz-range-thumb {
  background: var(--slider-thumb-a);
}
.catalog-price-slider__range--high::-webkit-slider-thumb {
  background: var(--slider-thumb-b);
}
.catalog-price-slider__range--high::-moz-range-thumb {
  background: var(--slider-thumb-b);
}
.catalog-price-slider__range--high {
  z-index: 3;
}
.catalog-price-slider__range--low {
  z-index: 4;
}
.catalog-price-slider__fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  background: var(--slider-fill);
  z-index: 3;
}
.catalog-price-slider__thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  cursor: grab;
  z-index: 5;
  padding: 0;
}
.catalog-price-slider__thumb:active {
  cursor: grabbing;
}
.catalog-price-slider__thumb--low {
  background: var(--slider-thumb-a);
}
.catalog-price-slider__thumb--high {
  background: var(--slider-thumb-b);
}
.catalog-price-slider__hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 10px;
  color: var(--muted);
}
.catalog-price-slider__hints-sep::before {
  content: '\00b7';
  display: inline-block;
  padding: 0 5px;
  color: var(--muted);
  font-weight: 700;
}

/* Разделитель между min/max — только когда обе подсказки заполнены */
.catalog-price-slider__hints:has(#priceMinHint:empty) .catalog-price-slider__hints-sep,
.catalog-price-slider__hints:has(#priceMaxHint:empty) .catalog-price-slider__hints-sep {
  display: none;
}
.catalog-filter-bar .filter-field {
  gap: 4px;
}
.catalog-filter-bar .filter-field > span {
  font-size: 11px;
}
.catalog-filter-bar__sort > span,
.catalog-filter-bar__stock > span {
  display: none;
}
.catalog-filter-bar .filter-field select {
  height: var(--toolbar-control-h);
  padding: 0 10px;
  font-size: 12px;
  border-radius: 8px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.catalog-filter-bar .filter-field select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.catalog-filter-bar__sort select {
  width: 100%;
}
.catalog-filter-bar__more {
  justify-self: end;
  position: relative;
  min-height: var(--toolbar-control-h);
  padding: 0 13px;
  font-size: 12px;
  border-radius: 9px;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease,
    filter 0.2s ease;
}
.catalog-filter-bar__more:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.catalog-filter-bar__more:active {
  transform: translateY(0);
}
.catalog-filter-bar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #c8332f;
  color: #fff;
  vertical-align: middle;
}

.catalog-filters-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
}

/* Без [open] нельзя задавать display — иначе перебивается скрытое состояние <dialog> */
.catalog-filters-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: 100%;
  box-sizing: border-box;
}

.catalog-filters-modal:not([open]) {
  display: none !important;
}
.catalog-filters-modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.catalog-filters-modal__panel {
  width: min(640px, calc(100vw - 32px));
  max-height: min(85dvh, calc(100dvh - 32px));
  margin: max(16px, 3vh) 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.catalog-filters-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.catalog-filters-modal__header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.catalog-filters-modal__close {
  border: none;
  background: #f1f5f9;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  flex-shrink: 0;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}
.catalog-filters-modal__close:hover {
  color: var(--text);
  background: #e2e8f0;
  transform: scale(1.04);
}
.catalog-filters-modal__close:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}
.catalog-filters-modal__body {
  padding: 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.catalog-extra-filters--modal {
  margin: 0;
  padding: 14px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* Нет строк фильтров — не оставляем «пустую подложку» под блоком «нет параметров» */
.catalog-extra-filters--modal:empty {
  display: none;
  padding: 0;
  min-height: 0;
}
.catalog-filters-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.92);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .catalog-filters-modal__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .catalog-filters-modal__footer .btn {
    width: 100%;
    min-width: 0;
  }
}
.filter-field {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.filter-field small {
  font-size: 11px;
  color: #64748b;
}
.filter-field input,
.filter-field select {
  width: 100%;
}
.checkbox-filter--boxed {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
  align-self: end;
}
.filters input[type="number"] {
  max-width: 140px;
}
.filters select {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}
.checkbox-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
}
.catalog-extra-filters {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}
.catalog-extra-filters__group {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 14px 14px;
}
.catalog-extra-filters__group legend {
  padding: 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.catalog-extra-filters__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  min-width: 0;
}
.catalog-extra-filters__values label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
}
.catalog-extra-filters__values input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0d9488;
}
.catalog-total-hint {
  margin: 8px 0 4px;
  text-align: center;
  font-size: 0.9375rem;
  color: #64748b;
}
.catalog-load-more-wrap {
  margin: 12px 0 2px;
  text-align: center;
}
.btn--light {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.catalog-active-chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.catalog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--text);
}
.catalog-chip--remove {
  cursor: pointer;
}
.catalog-chip--remove:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.reviews-link:not(.site-tile) {
  text-decoration: none;
  color: var(--text);
  display: block;
}
.reviews-link:not(.site-tile) h3 {
  margin: 0 0 6px;
}
.reviews-link:not(.site-tile) p {
  margin: 0;
  color: var(--muted);
}
.reviews-note {
  margin: 0;
  line-height: 1.5;
}
.reviews-form-wrap {
  margin-top: 12px;
}
.site-content-page .reviews-form-wrap,
.site-content-page .reviews-sent {
  margin-top: 0;
}
.reviews-form {
  display: grid;
  gap: 10px;
}
.reviews-form textarea {
  width: 100%;
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.reviews-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}
.theme-forest .reviews-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14);
}
.reviews-form .btn {
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}
.reviews-form .btn:hover {
  transform: translateY(-1px);
}
.reviews-sent {
  margin-top: 12px;
  font-weight: 600;
}
.catalog-view-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.22s ease,
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.catalog-filter-bar .catalog-view-switch:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.catalog-view-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  min-height: var(--toolbar-control-h);
  padding: 0 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.catalog-view-btn:hover:not(.is-active) {
  background: #f8fafc;
}
.catalog-view-btn:active {
  transform: scale(0.96);
}
.catalog-view-btn.is-active {
  background: #eef3f7;
  color: #0f172a;
  font-weight: 700;
}
.catalog-sections {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}
.section-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  cursor: pointer;
}
.section-chip.is-active {
  border-color: var(--primary);
  background: #fde8e8;
  color: #7e1f1d;
}
.catalog-count {
  color: var(--muted);
  font-size: 14px;
}
.catalog-count strong {
  color: var(--text);
}
.favorites-hero {
  margin: 10px 0 14px;
}
.favorites-hero__title {
  margin: 0 0 6px;
  font-size: 28px;
}
.favorites-hero__hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.favorites-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.favorites-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.favorites-toolbar__sort-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.favorites-toolbar__sort-label select {
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0 10px;
}
.favorites-toolbar__count {
  color: var(--muted);
  font-size: 14px;
}
.favorites-toolbar__count strong {
  color: var(--text);
}
#favoritesGrid .card__image-wrap {
  position: relative;
}
#favoritesGrid .favorites-card__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  color: #475569;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.18s ease;
}
#favoritesGrid .favorites-card__remove:hover {
  background: rgba(200, 51, 47, 0.15);
  color: var(--primary);
  transform: scale(1.06);
}
#favoritesGrid .favorites-card__remove:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.theme-forest #favoritesGrid .favorites-card__remove {
  background: rgba(0, 0, 0, 0.08);
  color: #3a3a3c;
}
.theme-forest #favoritesGrid .favorites-card__remove:hover {
  background: rgba(217, 70, 66, 0.18);
  color: #d94642;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
/* ������� ��������: ������ ������, ����� ������� ������� --catalog-vitrina-cols �� JS */
#catalogGrid.grid:not(.grid--list) {
  grid-template-columns: repeat(var(--catalog-vitrina-cols, 2), minmax(0, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card__image {
  height: 170px;
  background: #f5f5f7;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card__image img {
  max-height: 84%;
  max-width: 84%;
  object-fit: contain;
}
.card__body { padding: 12px; }
.card__meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.card__name { font-size: 14px; line-height: 1.35; min-height: 38px; }
.card__line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card__line .card__name {
  margin: 0;
  min-height: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}
.card__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.card__footer .price {
  white-space: nowrap;
  font-weight: 700;
}
.card__footer .btn-add,
.card-compare-btn,
.card-favorite-btn {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.card-compare-btn {
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.card-compare-btn:hover {
  background: #eef2f7;
  border-color: #cbd5e1;
}
.card-compare-btn[aria-pressed="true"] {
  background: #e4edf7;
  border-color: #86b3d1;
}
.card-compare-btn:active {
  transform: translateY(1px);
}
.card-favorite-btn {
  border: 1px solid var(--border);
  background: #f3f5f8;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}
.card-favorite-btn:hover {
  background: #e9edf3;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.09);
}
.card-favorite-btn[aria-pressed="true"] {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
  animation: favorite-btn-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-favorite-btn:active {
  transform: translateY(1px);
}
@keyframes favorite-btn-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
.theme-forest .card-compare-btn {
  background: var(--forest-action-secondary-bg);
  border-color: var(--forest-action-secondary-border);
  color: var(--forest-action-secondary-text);
}
.theme-forest .card-compare-btn:hover {
  background: var(--forest-action-secondary-hover-bg);
  border-color: var(--forest-action-secondary-hover-border);
}
.theme-forest .card-compare-btn[aria-pressed="true"] {
  background: var(--forest-action-secondary-active-bg);
  border-color: var(--forest-action-secondary-active-border);
  color: var(--forest-action-secondary-text);
}
.theme-forest .card-favorite-btn {
  background: var(--forest-action-secondary-bg);
  border-color: var(--forest-action-secondary-border);
  color: var(--forest-action-secondary-text);
}
.theme-forest .card-favorite-btn:hover {
  background: var(--forest-action-secondary-hover-bg);
  border-color: var(--forest-action-secondary-hover-border);
}
.theme-forest .card-favorite-btn[aria-pressed="true"] {
  background: var(--forest-action-secondary-active-bg);
  border-color: var(--forest-action-secondary-active-border);
  color: var(--forest-action-secondary-text);
}
.grid--list {
  grid-template-columns: 1fr;
}
.grid--list .card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: start;
}
/* Каталог / избранное: тот же фон превью #f5f5f7, что у .card__image и хитов */
#catalogGrid .card__image,
#favoritesGrid .card__image {
  background: #f5f5f7;
}
.grid--list .card__image {
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.grid--list .card__name {
  min-height: 0;
}

/* Каталог, список: текст и кнопки не вылезают за карточку на узком экране */
#catalogGrid.grid--list .card__body {
  min-width: 0;
}
#catalogGrid.grid--list .card__line {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
#catalogGrid.grid--list .card__line .card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  flex: none;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
#catalogGrid.grid--list .card__footer {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}
#catalogGrid.grid--list .card__meta {
  overflow-wrap: anywhere;
}
#catalogGrid.grid:not(.grid--list) .card__list-extras {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  line-height: 1.35;
  color: #98a0b8;
  margin: 0 0 2px;
  width: 100%;
  min-height: 0;
}
#catalogGrid.grid:not(.grid--list) .card__list-extras-item {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#catalogGrid.grid:not(.grid--list) .card__list-extras-k {
  color: #b4bac9;
  margin-right: 3px;
  font-weight: 600;
}
#catalogGrid.grid--list .card__list-extras {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #98a0b8;
  margin: 2px 0 4px;
}
#catalogGrid.grid--list .card__list-extras-item {
  display: block;
}
#catalogGrid.grid--list .card__list-extras-k {
  color: #b4bac9;
  margin-right: 4px;
  font-weight: 600;
}

@media (max-width: 480px) {
  #catalogGrid.grid--list .card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  #catalogGrid.grid--list .card__image {
    height: 96px;
    min-height: 96px;
    max-height: 96px;
  }
}

/* Витрина (#catalogGrid без grid--list) и избранное: блок под ценой и кнопки столбцом */
#catalogGrid.grid:not(.grid--list) .card__line,
#favoritesGrid.grid .card__line {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
#catalogGrid.grid:not(.grid--list) .card__line .card__name,
#favoritesGrid.grid .card__line .card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  flex: none;
  line-height: 1.45;
  min-height: calc(1.45em * 2);
  max-height: calc(1.45em * 2);
}
#catalogGrid.grid:not(.grid--list) .card__footer,
#favoritesGrid.grid .card__footer {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  flex: none;
  gap: 8px;
}
#catalogGrid.grid:not(.grid--list) .card__footer .price,
#favoritesGrid.grid .card__footer .price {
  text-align: center;
  width: 100%;
}
#catalogGrid.grid:not(.grid--list) .card__footer .btn-add,
#catalogGrid.grid:not(.grid--list) .card__footer .card-compare-btn,
#catalogGrid.grid:not(.grid--list) .card__footer .card-favorite-btn,
#favoritesGrid.grid .card__footer .btn-add,
#favoritesGrid.grid .card__footer .card-compare-btn,
#favoritesGrid.grid .card__footer .card-favorite-btn {
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  line-height: 1.3;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
}
#favoritesGrid.grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#favoritesGrid.grid .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#favoritesGrid.grid .card__line {
  flex: 1;
  min-height: 0;
}
#favoritesGrid.grid .card__line .card__name {
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
}
#favoritesGrid.grid .card__meta {
  text-align: left;
}

.hits-regard {
  position: relative;
  z-index: 0;
  margin-top: 34px;
  border-radius: 0;
  padding: 12px;
}
.hits-regard::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #23252f;
  border-top: 1px solid #3a3d4b;
  border-bottom: 1px solid #3a3d4b;
}
.hits-regard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hits-regard__title {
  margin: 0;
  color: #f4f6ff;
  font-size: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hits-regard__title span {
  font-size: 24px;
  color: #b8bccb;
  margin-left: 8px;
}
.hits-regard__icon {
  display: inline-flex;
  margin-left: 0 !important;
  color: #fbbf24 !important;
  font-size: 22px !important;
  animation: hitsGlow 1.8s ease-in-out infinite;
}
.hits-regard__subtitle {
  color: #9aa5b8;
  font-size: 12px;
}

@keyframes hitsGlow {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 0 rgba(251, 191, 36, 0)); }
  50% { transform: translateY(-1px) scale(1.12); filter: drop-shadow(0 0 8px rgba(251, 191, 36, .6)); }
}
.hits-regard__all {
  color: #6ea8ff;
  text-decoration: none;
  font-size: 13px;
}
.hits-regard__tabs-wrap {
  margin-top: 8px;
  padding: 8px 0 10px;
  border-bottom: 1px solid #3a3d4b;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: center;
}
.hits-regard__tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 8px) / 6);
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.hits-regard__tabs::-webkit-scrollbar {
  display: none;
}
.hits-tabs-nav {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #424655;
  background: #2b2f3b;
  color: #dbe2ef;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}
.hits-tabs-nav:hover {
  background: #333847;
  border-color: #64748b;
}
.hits-tabs-nav:disabled {
  opacity: .35;
  cursor: default;
}
.hits-tab {
  border: 1px solid #424655;
  border-radius: 10px;
  background: #2b2f3b;
  color: #c8ccdb;
  font-size: 12px;
  cursor: pointer;
  min-height: 38px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  scroll-snap-align: start;
}
.hits-tab__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.hits-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}
.hits-tab:hover {
  border-color: #64748b;
  background: #333847;
  color: #f8fafc;
  transform: translateY(-1px);
}
.hits-tab.is-active {
  color: #fff;
  background: #3a4254;
  border-color: #7e8aa8;
  box-shadow: inset 0 0 0 1px rgba(126, 138, 168, 0.25);
}
.hits-regard__grid-wrap {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: center;
}
.hits-regard__grid {
  margin-top: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 260px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  min-width: 0;
}
@media (min-width: 992px) {
  .hits-regard__grid {
    /* Ровно 6 карточек в видимой области трека; остальные — горизонтальный скролл */
    grid-auto-columns: calc((100% - 5 * 12px) / 6);
  }
}
.hits-regard__grid::-webkit-scrollbar {
  display: none;
}
.hits-card {
  scroll-snap-align: start;
  min-width: 0;
  background: #2b2e39;
  border: 1px solid #3f4351;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hits-card:hover {
  transform: translateY(-3px);
  border-color: #62708a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}
.hits-card__image {
  height: 122px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #3f4351;
}
.hits-card__image img {
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  transition: transform .22s ease;
}
.hits-card:hover .hits-card__image img {
  transform: scale(1.04);
}
.hits-card__body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hits-card__line {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex: 1;
}
.hits-card__price {
  color: #f2f5ff;
  font-size: 22px;
  font-weight: 700;
}
.hits-card__meta {
  color: #8e95aa;
  font-size: 11px;
  margin-top: 0;
}
.hits-card__name {
  margin-top: 0;
  color: #dde2f1;
  font-size: 13px;
  line-height: 1.35;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hits-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}
.hits-card__footer .hits-card__price {
  margin: 0;
  text-align: center;
  width: 100%;
}
.hits-card__footer .btn-add,
.hits-card__footer .card-compare-btn,
.hits-card__footer .card-favorite-btn {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.hits-card__btn {
  width: 100%;
  background: transparent;
  border-color: #4d5262;
  color: #f4f6ff;
}
.price {
  color: var(--price-color);
  font-size: 18px;
  font-weight: 700;
}
.btn {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
  box-shadow: none;
}
.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.product--showcase {
  display: grid;
  gap: 16px;
}
.product__layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(280px, 0.9fr) minmax(270px, 0.9fr);
  gap: 16px;
  align-items: start;
}
.product-gallery {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
}
.product-gallery__thumbs {
  display: grid;
  grid-template-rows: repeat(5, 56px);
  gap: 8px;
}
.product-gallery__thumb {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-gallery__thumb.is-active {
  border-color: #d94642;
  box-shadow: 0 0 0 2px rgba(217, 70, 66, 0.2);
}
.product__media {
  background: #f5f5f7;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product__media img {
  width: 100%;
  max-width: 520px;
  max-height: 500px;
  object-fit: contain;
}
.product__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
}
.product__section-title {
  margin: 10px 0 8px;
  font-size: 24px;
}
.product__short-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.product__short-list li {
  display: grid;
  gap: 2px;
}
.product__short-list span {
  color: var(--muted);
  font-size: 13px;
}
.product__short-list strong {
  color: var(--text);
  font-size: 15px;
}
.product-buybox {
  background: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  padding: 14px;
  color: #1d1d1f;
  display: grid;
  gap: 12px;
}
.product-buybox__price {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--price-color);
}
.product-buybox__stock {
  font-size: 14px;
}
.product-buybox__stock.is-in {
  color: #1f8b4c;
}
.product-buybox__stock.is-out {
  color: #b42318;
}
.product-buybox__cart {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 12px 14px;
}
.product-buybox__actions {
  display: grid;
  gap: 10px;
}
.product-favorite-btn {
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #ffffff;
  color: #1d1d1f;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}
.product-favorite-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.product-favorite-btn[aria-pressed="true"] {
  background: #e8f3ff;
  border-color: #0071e3;
  color: #0071e3;
  animation: favorite-btn-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.product-tabs__item {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}
.product-tabs__item.is-active,
.product-tabs__item:hover {
  background: rgba(134, 179, 209, 0.18);
  color: #d94642;
}
.product-panels {
  margin-top: 18px;
}
.product-panels > .product-tab-panel {
  display: none;
}
.product-panels > .product-tab-panel.is-active {
  display: block;
}
.product-panels > .product-description {
  margin-top: 0;
}
.product__meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.product-compare {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
}
.product-buybox .product-compare {
  width: 100%;
}
.product-buybox .product-compare__btn {
  width: 100%;
  justify-content: center;
}
.product-compare__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  white-space: nowrap;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.22s ease,
    background 0.28s ease;
}
.product-compare__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border-color: #0071e3;
}
.product-compare__btn:active {
  transform: translateY(0);
}
.product-compare__btn[aria-pressed="true"] {
  border-color: #0071e3;
  background: #e8f3ff;
  color: #0071e3;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.12);
}
.product-compare__glyph {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, #94a3b8 0%, #64748b 100%);
  position: relative;
  flex-shrink: 0;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.28s ease,
    box-shadow 0.28s ease;
}
.product-compare__glyph::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  left: 6px;
  top: 10px;
  box-shadow: 0 -4px 0 #fff, 0 4px 0 #fff;
}
.product-compare__glyph::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 10px;
  background: #fff;
  border-radius: 1px;
  left: 10px;
  top: 6px;
}
.product-compare--in .product-compare__glyph {
  background: linear-gradient(145deg, #86b3d1 0%, #508fb8 100%);
  transform: rotate(-10deg) scale(1.07);
  box-shadow: 0 4px 12px rgba(79, 130, 168, 0.35);
}
.product-compare__btn:hover .product-compare__glyph {
  transform: scale(1.09);
}
.product-compare--in .product-compare__btn:hover .product-compare__glyph {
  transform: rotate(-10deg) scale(1.14);
}
@keyframes compare-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(134, 179, 209, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(134, 179, 209, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 179, 209, 0);
  }
}
.product-compare--pulse .product-compare__btn {
  animation: compare-pulse-ring 0.7s ease-out;
}

.catalog-topline__icon--compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(1.25rem * 1.1);
  height: calc(1.25rem * 1.1);
}
.catalog-topline__icon--compare::before {
  content: "\21c4";
  font-size: calc(14px * 1.1);
  line-height: 1;
  opacity: 0.92;
}
.catalog-topline__link[href*="favorites"] .catalog-topline__icon {
  font-size: calc(17px * 1.1);
}

.compare-hero {
  margin: 8px 0 18px;
}
.compare-hero__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 30px);
}
.compare-hero__hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.compare-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}
.compare-cards {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 22px;
  min-width: min-content;
}
.compare-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 180px;
  min-width: 168px;
  max-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.22s ease;
}
.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}
.compare-card__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.18s ease,
    color 0.2s ease;
}
.compare-card__remove:hover {
  background: rgba(200, 51, 47, 0.15);
  color: var(--primary);
  transform: scale(1.08);
}
.compare-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 10px;
  flex-shrink: 0;
  background: #dfe6ee;
  border-radius: 10px;
}
.compare-card__media img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}
.compare-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  margin-bottom: 8px;
  min-height: calc(1.4em * 2);
  flex: 1 1 auto;
}
.compare-card__name:hover {
  color: var(--primary);
}
.compare-card__price {
  font-weight: 700;
  font-size: 15px;
  color: var(--price-color);
  text-align: center;
  line-height: 1.3;
}
.compare-card__remove-btn {
  margin-top: auto;
  width: 100%;
  min-height: 34px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.compare-card__remove-btn:hover {
  background: #ffe4e6;
  border-color: #fca5a5;
}
.compare-card__remove-btn:active {
  transform: translateY(1px);
}

.compare-block {
  margin-bottom: 20px;
}
.compare-block__title {
  margin: 0 0 10px;
  font-size: 17px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(160px, 26%) repeat(var(--compare-cols, 2), minmax(104px, 1fr));
  gap: 10px 14px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.compare-block > .compare-row:nth-child(2n) {
  background: rgba(148, 163, 184, 0.07);
}
.compare-row__label {
  font-weight: 600;
  color: var(--muted);
  padding-right: 8px;
  line-height: 1.45;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}
.compare-row__cell {
  color: var(--text);
  line-height: 1.45;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}

@keyframes compare-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.compare-wrap--enter .compare-card {
  animation: compare-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.compare-wrap--enter .compare-card:nth-child(1) {
  animation-delay: 0.04s;
}
.compare-wrap--enter .compare-card:nth-child(2) {
  animation-delay: 0.1s;
}
.compare-wrap--enter .compare-card:nth-child(3) {
  animation-delay: 0.16s;
}
.compare-wrap--enter .compare-card:nth-child(4) {
  animation-delay: 0.22s;
}
.compare-wrap--enter .compare-card:nth-child(5) {
  animation-delay: 0.28s;
}
.compare-wrap--enter .compare-card:nth-child(6) {
  animation-delay: 0.34s;
}

@keyframes compare-block-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.compare-block--reveal {
  animation: compare-block-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.theme-forest .product-compare__btn {
  background: #ffffff;
  border-color: var(--forest-action-secondary-border);
  color: var(--forest-action-secondary-text);
}
.theme-forest .product-compare__btn:hover {
  border-color: var(--forest-action-secondary-hover-border);
  background: var(--forest-action-secondary-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.theme-forest .product-compare__btn[aria-pressed="true"] {
  background: var(--forest-action-secondary-active-bg);
  border-color: var(--forest-action-secondary-active-border);
  color: var(--forest-action-secondary-text);
  box-shadow: none;
}
.theme-forest .product-compare--in .product-compare__glyph {
  background: linear-gradient(145deg, #8e8e93 0%, #636366 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.theme-forest .product-compare--pulse .product-compare__btn {
  animation-name: compare-pulse-ring-forest;
}
@keyframes compare-pulse-ring-forest {
  0% {
    box-shadow: 0 0 0 0 rgba(142, 142, 147, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(142, 142, 147, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(142, 142, 147, 0);
  }
}
.theme-forest .product-buybox .btn.btn-add.product-buybox__cart {
  background: var(--forest-cta);
  border-color: var(--forest-cta-border);
  box-shadow: 0 2px 12px rgba(200, 51, 47, 0.28);
}
.theme-forest .product-buybox .btn.btn-add.product-buybox__cart:hover {
  background: var(--forest-cta-hover);
  border-color: var(--forest-cta-hover);
  filter: none;
}
.theme-forest .product-favorite-btn {
  background: #ffffff;
  border-color: var(--forest-favorite-product-border);
  color: #1d1d1f;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}
.theme-forest .product-favorite-btn:hover {
  border-color: var(--forest-favorite-product-active-border);
  background: var(--forest-filter-more-hover-bg);
}
.theme-forest .product-favorite-btn[aria-pressed="true"] {
  background: var(--forest-favorite-product-active-bg);
  border-color: var(--forest-favorite-product-active-border);
  color: var(--forest-favorite-product-active-text);
}
.theme-forest .product-favorite-btn:focus-visible {
  outline: 2px solid var(--forest-favorite-product-active-border);
  outline-offset: 2px;
}
.theme-forest .compare-card__media {
  background: #f5f5f7;
}
.theme-forest .compare-card__remove-btn {
  background: #7f94b5;
  border-color: #d1e8e2;
  color: #0f2f52;
}
.theme-forest .compare-card__remove-btn:hover {
  background: #90a4c2;
}
.theme-forest .compare-block > .compare-row:nth-child(2n) {
  background: rgba(134, 179, 209, 0.12);
}

.next-toast-root {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(420px, calc(100vw - 24px));
  pointer-events: none;
}
.next-toast {
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.next-toast.is-hide {
  transform: translateY(8px);
  opacity: 0;
}
.theme-forest .next-toast {
  background: rgba(24, 49, 83, 0.95);
  border-color: rgba(153, 206, 211, 0.35);
  color: #d1e8e2;
}
@media (prefers-reduced-motion: reduce) {
  .compare-wrap--enter .compare-card,
  .compare-block--reveal,
  .product-compare--pulse .product-compare__btn {
    animation: none !important;
  }
}
.product-description {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.product-description__content {
  color: var(--text);
  line-height: 1.45;
}
.product-specs {
  margin: 0;
  display: grid;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.product-specs__section {
  padding: 10px 12px;
  font-weight: 700;
  color: #273445;
  background: #eef3f9;
  border-bottom: 1px solid var(--border);
}
.product-specs__row {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
}
.product-specs__row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}
.product-specs__row dt,
.product-specs__row dd {
  margin: 0;
  padding: 10px 12px;
}
.product-specs__row dt {
  color: var(--muted);
  background: #f7f9fc;
  border-right: 1px solid var(--border);
  font-weight: 600;
}
.product-specs__row dd {
  color: var(--text);
}
.product-description__content--specs table {
  width: 100%;
  border-collapse: collapse;
}
.product-description__content--specs td,
.product-description__content--specs th {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}
.product-description__content--longtext {
  white-space: pre-wrap;
}
.product-description__content--prose {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.product-description__content--prose > p {
  margin: 0 0 1em;
}
.product-description__content--prose > p:last-child {
  margin-bottom: 0;
}
.product-description__content--prose > p:first-of-type {
  margin-top: 0;
}
.product-description__empty {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.theme-forest .product-description__content--prose {
  color: #1d1d1f;
}
.theme-forest .product-description__empty {
  color: #6e6e73;
}
.product-footnotes {
  margin-top: 0;
  display: grid;
  gap: 14px;
}
.product-footnotes__block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
}
.product-footnotes__notice {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
}
.product-footnotes__p {
  margin: 0;
  color: var(--text);
}
.product-footnotes__report a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-footnotes__report a:hover {
  text-decoration: none;
}
.product-footnotes__seo {
  color: var(--muted);
}
.theme-forest .product-footnotes__notice {
  background: #fff9e6;
  border-color: #fcd34d;
}
.theme-forest .product-footnotes__report a {
  color: #0071e3;
}
.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 > .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 > .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);
}
.configurator-intro {
  margin-bottom: 0;
}
.configurator-intro__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.configurator-intro__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.configurator-intro__item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.configurator-intro__item span:last-child {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 900px) {
  .configurator-intro__row {
    grid-template-columns: 1fr;
  }
}
.theme-forest .site-tile__icon {
  background: #f5f5f7;
  color: #b42318;
}
.theme-forest a.site-tile:hover,
.theme-forest a.reviews-link.site-tile:hover {
  border-color: #d2d2d7;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .site-prose-flow > .info-card,
  .site-prose-flow > .info-card:hover {
    transform: none;
    box-shadow: none;
  }
  .site-feature-grid .site-tile .site-tile__icon,
  .configurator-intro__item .site-tile__icon {
    animation: none !important;
  }
  a.site-tile:hover .site-tile__icon,
  a.reviews-link.site-tile:hover .site-tile__icon,
  .configurator-intro__item:hover .site-tile__icon,
  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: none;
    box-shadow: none;
  }
}

.tracking-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tracking-form input {
  flex: 1;
  min-width: 260px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}
.tracking-result {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.tracking-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.tracking-row__date {
  font-weight: 700;
  margin-bottom: 4px;
}
.cart-list {
  display: grid;
  gap: 10px;
}
.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto minmax(100px, auto) auto;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}
.cart-item__body {
  min-width: 0;
}
.cart-item__image {
  width: 96px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f7;
  border-radius: 8px;
}
.cart-item__image img {
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
}
.cart-item__name {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}
.cart-item__meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  overflow-wrap: break-word;
}
.cart-item__stock {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.cart-item__stock--in {
  color: #15803d;
}
.cart-item__stock--order {
  color: #b45309;
}
.cart-item__stock--out {
  color: var(--muted);
}
.cart-item__qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cart-qty__btn {
  width: 34px;
  min-height: 36px;
  border: none;
  background: #f5f5f7;
  color: var(--text);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cart-qty__btn:hover {
  background: #e8e8ed;
}
.cart-qty__input {
  width: 46px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
  background: #fff;
  -moz-appearance: textfield;
}
.cart-qty__input::-webkit-outer-spin-button,
.cart-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item__price {
  color: var(--price-color);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  white-space: nowrap;
}
.theme-forest .cart-item__qty {
  border-color: #d2d2d7;
}
.theme-forest .cart-qty__input {
  border-color: #d2d2d7;
}
.btn-remove {
  background: #fff;
  color: var(--primary);
}
.cart-summary {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cart-summary__total {
  min-width: 0;
  overflow-wrap: break-word;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
}
.checkout-form .section-title,
.checkout-summary .section-title {
  margin-top: 0;
}
.checkout-label {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  color: var(--muted);
}
.checkout-input {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}
.checkout-phone {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}
.checkout-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.checkout-error {
  color: #b42318;
  font-size: 13px;
}
.checkout-success {
  color: #0f766e;
  font-size: 13px;
}
.checkout-lines {
  display: grid;
  gap: 8px;
}
.checkout-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  font-size: 14px;
}
.checkout-line__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-line__meta {
  color: var(--muted);
}
.checkout-line__price {
  font-weight: 700;
  color: var(--price-color);
}
.checkout-total strong {
  color: var(--price-color);
}
.checkout-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  display: grid;
  gap: 6px;
}
.checkout-copy {
  margin-top: 12px;
}
.checkout-done {
  margin-top: 14px;
}

.checkout-done__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
@keyframes checkout-reveal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.checkout-reveal {
  animation: checkout-reveal-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.checkout-reveal--delay {
  animation-delay: 0.1s;
}
.section-title--checkout {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.section-title--checkout__icon {
  display: flex;
  color: var(--primary);
  flex-shrink: 0;
}
.section-title--checkout__icon svg {
  display: block;
}
.checkout-label__row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.checkout-label__icon {
  display: flex;
  color: #94a3b8;
  flex-shrink: 0;
}
.checkout-label__icon svg {
  display: block;
}
.theme-forest .checkout-label__icon {
  color: #86868b;
}
.checkout-label__icon--inline {
  margin-top: 1px;
}
.checkout-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.checkout-submit-btn__icon svg {
  display: block;
  transition: transform 0.25s ease;
}
.checkout-submit-btn:hover:not(:disabled) .checkout-submit-btn__icon svg {
  transform: translateX(2px);
}
.checkout-submit-btn.is-busy {
  opacity: 0.88;
  pointer-events: none;
}
.checkout-submit-btn.is-busy .checkout-submit-btn__icon svg {
  animation: checkout-btn-pulse 0.9s ease-in-out infinite;
}
@keyframes checkout-btn-pulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.55;
    transform: translateX(3px);
  }
}
.checkout-error:not([hidden]),
.checkout-success:not([hidden]) {
  animation: checkout-msg-in 0.28s ease both;
}
@keyframes checkout-msg-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.checkout-copy {
  align-items: flex-start;
}
.checkout-copy__row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.checkout-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 32px;
  gap: 12px;
  animation: checkout-hero-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.checkout-empty__icon {
  color: var(--muted);
  opacity: 0.88;
}
.checkout-empty__icon svg {
  display: block;
}
.checkout-empty__text {
  margin: 0;
  max-width: 38ch;
  line-height: 1.55;
  color: var(--text);
}
.checkout-done:not([hidden]) {
  animation: checkout-done-panel 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.checkout-done__hero {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.checkout-done__check {
  display: flex;
  color: #0d9488;
  filter: drop-shadow(0 4px 12px rgba(13, 148, 136, 0.22));
}
.checkout-done:not([hidden]) .checkout-done__check {
  animation: checkout-done-check 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.checkout-done__title {
  text-align: center;
  margin-bottom: 8px;
}
.checkout-done__lead {
  margin: 0 0 14px;
  text-align: center;
  color: var(--text);
  line-height: 1.55;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
@keyframes checkout-done-panel {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes checkout-done-check {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-25deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.08) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero--checkout,
  .checkout-reveal,
  .checkout-reveal--delay,
  .checkout-empty,
  .checkout-done:not([hidden]),
  .checkout-done:not([hidden]) .checkout-done__check,
  .checkout-error:not([hidden]),
  .checkout-success:not([hidden]),
  .checkout-submit-btn.is-busy .checkout-submit-btn__icon svg {
    animation: none !important;
  }
  .checkout-submit-btn:hover:not(:disabled) .checkout-submit-btn__icon svg {
    transform: none;
  }
}

.theme-forest .hero--checkout__icon {
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.14), rgba(0, 113, 227, 0.04));
  color: #0071e3;
}
.theme-forest .checkout-done__check {
  color: #0071e3;
  filter: drop-shadow(0 4px 14px rgba(0, 113, 227, 0.2));
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.configurator-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.configurator-page > .site-content-page__hero.hero--configurator {
  margin-bottom: 0;
  padding: clamp(14px, 2.5vw, 22px) clamp(16px, 3vw, 24px);
  border-radius: 14px;
  background: linear-gradient(145deg, #fafbfc 0%, #f1f3f6 55%, #eef1f5 100%);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.configurator-page .hero__title {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.configurator-page .hero__subtitle {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.55;
  color: var(--muted);
}
.configurator-page > .configurator-intro.info-card {
  padding: 16px 18px;
  border-radius: 14px;
}
.configurator-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 16px;
  align-items: start;
}
.configurator-layout > aside.info-card {
  position: sticky;
  top: 12px;
  align-self: start;
  max-height: calc(100vh - 24px);
  overflow: auto;
}
.info-card--configurator-aside {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.configurator-aside__head {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.configurator-aside__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.configurator-aside__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.info-card--configurator-build {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.configurator-build__block {
  padding: 16px 18px;
}
.configurator-build__block--list {
  padding-bottom: 14px;
}
.configurator-build__block--list .section-title {
  margin-top: 0;
  min-height: 1.35em;
}
.configurator-build__block--status {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}
.configurator-build__block--status .required-wrap {
  margin-top: 0;
}
.configurator-build__block--status .compat-status {
  margin-bottom: 0;
}
.configurator-build__block--cart {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  padding-bottom: 18px;
}
.configurator-build__block--cart .config-total {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}
.configurator-build__block--cart .config-total strong {
  font-size: clamp(17px, 2.4vw, 20px);
  letter-spacing: -0.02em;
}
.btn--configurator-cart {
  width: 100%;
  padding: 11px 18px;
  font-size: 14px;
  border-radius: 10px;
}
.configurator-build__row-actions {
  width: 100%;
}
.config-slots {
  display: grid;
  gap: 8px;
}
.config-group-title {
  margin: 8px 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.config-slot {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  font-size: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease;
}
.config-slot:not(.is-disabled):hover {
  transform: translateX(3px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
@media (prefers-reduced-motion: reduce) {
  .config-slot:not(.is-disabled):hover {
    transform: none;
  }
  .reviews-form .btn:hover {
    transform: none;
  }
}
.config-slot__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.config-slot__count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #eef1f5;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.config-slot.is-active {
  border-color: var(--primary);
  color: var(--primary);
}
.config-slot.is-active .config-slot__count {
  background: #fdecec;
  color: #b42318;
}
.config-slot.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto;
}
.selected-build {
  display: grid;
  gap: 8px;
}
.selected-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}
.selected-item__name {
  font-size: 14px;
}
.selected-item__row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.btn-remove-mini {
  padding: 4px 8px;
  font-size: 11px;
  background: #fff;
  color: var(--primary);
}
.config-empty {
  color: var(--muted);
  font-size: 13px;
}
.config-total {
  margin: 10px 0;
}
.required-wrap {
  margin: 8px 0 10px;
}
.required-title {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 700;
}
.required-status {
  min-height: 24px;
}
.config-name-input {
  width: 100%;
  margin: 8px 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}
.required-ok,
.required-missing {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-size: 12px;
  padding: 6px 10px;
}
.required-ok {
  background: #e7f8ee;
  color: #157347;
}
.required-missing {
  background: #fdecec;
  color: #b42318;
}
.compat-status {
  margin: 8px 0 10px;
}
.compat-ok,
.compat-warn {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-size: 12px;
  padding: 6px 10px;
}
.compat-ok {
  background: #e7f8ee;
  color: #157347;
}
.compat-warn {
  background: #fff4d6;
  color: #8a5a00;
}
.config-select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}
.config-filters {
  margin: -4px 0 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.config-found {
  margin: -2px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.config-found--sidebar {
  margin: 10px 0 2px;
}
.config-found span {
  color: var(--text);
  font-weight: 700;
}
.config-filter-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
}
.config-subcat-counts {
  margin: -2px 0 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.config-subcat-chip {
  display: inline-flex;
  align-items: center;
  border: 1px dashed var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
}
.config-current-selection {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}
.config-current-selection__label {
  color: var(--muted);
}
.config-current-selection__name {
  color: var(--text);
  font-weight: 700;
}
.config-current-selection__actions {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
}
.config-actions-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.config-modal[hidden] {
  display: none;
}
.config-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}
.config-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .42);
}
.config-modal__panel {
  position: relative;
  margin: 40px auto;
  width: min(980px, 94vw);
  max-height: calc(100vh - 80px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px;
}
.config-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.config-modal__header h3 {
  margin: 0;
  font-size: 26px;
}
.config-modal__close {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  min-width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}
.config-list {
  display: grid;
  gap: 8px;
}
.config-list-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
}
.config-list-item .btn {
  white-space: nowrap;
}
.config-list-item__img {
  width: 66px;
  height: 52px;
  background: #f2f4f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.config-list-item__img img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
}
.config-list-item__name {
  font-size: 14px;
  line-height: 1.25;
  word-break: break-word;
}
.config-list-item__right {
  display: grid;
  gap: 6px;
  justify-items: end;
  min-width: 120px;
}
.config-list-item__top {
  display: flex;
  gap: 8px;
  align-items: center;
}
.config-list-empty {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px;
  color: var(--muted);
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  margin: 4px 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ffe2e2;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

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

@media (max-width: 900px) {
  .topbar__inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .topbar__left {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .topbar-track {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  .topbar-support {
    width: 100%;
    gap: 8px 12px;
    margin-left: 0;
    justify-content: center;
  }
  .topnav {
    width: 100%;
    justify-content: center;
    gap: 8px 12px;
    flex-wrap: wrap;
  }
  .catalog-topline {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .catalog-topline__trigger {
    justify-self: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .catalog-topline__search {
    justify-self: stretch;
    max-width: none;
  }
  .site-feature-grid {
    grid-template-columns: 1fr;
  }
  .catalog-topline__links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 8px;
    width: 100%;
    min-height: 0;
    justify-content: stretch;
    justify-items: stretch;
    overflow: visible;
    padding-bottom: 2px;
  }
  .catalog-topline__link {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  .hero-promos {
    grid-template-columns: 1fr;
  }
  .hero-row {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    width: 100%;
    max-width: 280px;
    justify-self: center;
  }
  .hero-promos {
    width: 100%;
  }
  .hits-regard__title {
    font-size: 24px;
  }
  .hits-regard__title span {
    font-size: 19px;
  }
  .footer__badges {
    grid-template-columns: 1fr;
  }
  .product {
    padding: 12px;
  }
  .product__title {
    font-size: 28px;
  }
  .product__layout {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .product-gallery__thumbs {
    grid-template-rows: none;
    grid-template-columns: repeat(5, minmax(52px, 1fr));
  }
  .product__media {
    min-height: 280px;
  }
  .product-buybox__price {
    font-size: 28px;
  }
  .product-specs__row {
    grid-template-columns: 1fr;
  }
  .product-specs__row dt {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters--clean {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filter-bar {
    grid-template-columns: 1fr;
  }
  .catalog-filter-bar__price {
    width: 100%;
    justify-self: stretch;
  }
  .catalog-filter-bar__more {
    justify-self: stretch;
  }
  .filters input[type="number"] {
    max-width: none;
  }
  .favorites-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .favorites-toolbar__actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-items: start;
  }
  .cart-item__body {
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
  }
  .cart-item__image {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    width: 100%;
    max-width: 100%;
    height: 56px;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .cart-item__qty {
    grid-column: 2;
    grid-row: 2;
    margin-top: 4px;
    justify-self: start;
    width: max-content;
    max-width: 100%;
  }
  .cart-item__price {
    grid-column: 2;
    grid-row: 3;
    text-align: left;
    margin-top: 4px;
  }
  .cart-item__remove {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    margin-top: 6px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .configurator-layout {
    grid-template-columns: 1fr;
  }
  .configurator-layout > aside.info-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .config-list-item {
    grid-template-columns: 56px 1fr;
  }
  .config-list-item__right {
    grid-column: 1 / -1;
    justify-items: start;
    min-width: 0;
  }
  .config-modal__panel {
    margin: 14px auto;
    width: min(980px, 98vw);
    max-height: calc(100vh - 28px);
    padding: 10px;
  }
  .config-modal__header h3 {
    font-size: 20px;
  }
  .config-current-selection__actions {
    display: flex;
    margin: 8px 0 0;
    margin-left: 0;
    flex-wrap: wrap;
  }
  .catalog-sections {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .hits-regard__grid-wrap {
    grid-template-columns: 30px 1fr 30px;
    gap: 7px;
  }
  .hits-regard__grid {
    grid-auto-columns: minmax(200px, min(280px, 82vw));
  }
  .hits-regard__tabs-wrap {
    grid-template-columns: 30px 1fr 30px;
    gap: 7px;
    padding: 6px 0 8px;
  }
  .hits-regard__tabs {
    grid-auto-columns: calc((100% - 1 * 7px) / 2);
  }
  .hits-tab {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 11px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer-badge {
    font-size: 11px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 4px;
  }
  .catalog-topline__links {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 6px;
    font-size: 10px;
  }
  .config-modal__panel {
    margin: 8px auto;
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 8px;
  }
  .config-list-item {
    grid-template-columns: 48px 1fr;
    padding: 8px;
    gap: 8px;
  }
  .config-list-item__img {
    width: 48px;
    height: 42px;
  }
  .config-list-item__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .config-actions-inline {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@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 {
  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 input: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;
}
.theme-forest .cabinet-modal::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.theme-forest .cabinet-modal__panel {
  background: var(--forest-modal-bg);
  border-color: var(--forest-modal-border);
  color: var(--forest-modal-text);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    0 28px 56px rgba(0, 0, 0, 0.35);
}
.theme-forest .cabinet-modal__glyph {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border-color: var(--forest-modal-border);
  color: var(--forest-modal-text);
}
.theme-forest .cabinet-modal__titles h2 {
  color: var(--forest-modal-text);
}
.theme-forest .cabinet-modal__subtitle {
  color: var(--forest-modal-muted);
}
.theme-forest .cabinet-modal__header,
.theme-forest .cabinet-modal__footer {
  border-color: var(--forest-modal-border);
}
.theme-forest .cabinet-modal__footer {
  background: var(--forest-modal-footer-bg);
}
.theme-forest .cabinet-modal__close {
  color: var(--forest-modal-muted);
}
.theme-forest .cabinet-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--forest-modal-text);
}
.theme-forest .cabinet-modal__field {
  color: var(--forest-modal-muted);
}
.theme-forest .cabinet-modal__field input {
  background: var(--forest-modal-input-bg);
  border-color: var(--forest-modal-input-border);
  color: var(--forest-modal-input-text);
}
.theme-forest .cabinet-modal__field input::placeholder {
  color: var(--forest-modal-input-placeholder);
}
.theme-forest .cabinet-modal__field input:focus {
  outline: none;
  border-color: #8e8e93;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.theme-forest .config-modal__backdrop {
  background: rgba(0, 0, 0, 0.48);
}
.theme-forest .config-modal__panel {
  background: var(--forest-modal-bg);
  border-color: var(--forest-modal-border);
  color: var(--forest-modal-text);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}
.theme-forest .config-modal__header h3 {
  color: var(--forest-modal-text);
}
.theme-forest .config-modal__close {
  color: var(--forest-modal-muted);
  border-color: var(--forest-modal-border);
  background: var(--forest-modal-footer-bg);
  cursor: pointer;
}
.theme-forest .config-modal__close:hover {
  color: var(--forest-modal-text);
  border-color: #aeaeb2;
}

.footer {
  margin-top: 0;
  border-top: 1px solid #3a3d4b;
  background: #23252f;
  color: #eef1fb;
}
.footer__grid {
  padding: 18px 0 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.footer__grid > section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer__title {
  margin: 0 0 8px;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.footer__link {
  display: block;
  color: #c8ccdb;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}
.footer__link--icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  max-width: 100%;
}
.footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.footer__icon svg {
  width: 12px;
  height: 12px;
  display: block;
  fill: currentColor;
}
.footer__icon--instagram { color: #e95ab4; }
.footer__icon--facebook { color: #8ec0ff; }
.footer__icon--vk { color: #9ec7ff; }
.footer__icon--viber { color: #c6b8ff; }
.footer__icon--telegram { color: #9fe8ff; }
.footer__icon--whatsapp { color: #9df4bf; }
.footer__inner {
  border-top: 1px solid #3a3d4b;
  padding: 11px 0 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__muted {
  color: #aeb4c7;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
  word-break: break-word;
}
.footer__legal {
  border-top: 1px solid #3a3d4b;
  padding: 12px 0 8px;
  color: #c6cbdd;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer__legal div {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

