/**
 * GARUS — профессиональная тема интернет-магазина
 * Принципы: 8px-сетка, иерархия типографики, один акцент (CTA), без декора «ради декора»
 */

:root {
  /* Пропорции по образцу hikvisionpro.ru */
  --hik-container: 1210px;
  --hik-shop-sidebar: 262px;
  --hik-row-height: 42px;
  --hik-header-main: 80px;
  --hik-topbar: 38px;
  --hik-logo-h: 52px;
  --hik-logo-max-w: 220px;
  --hik-product-img: 196px;
  --hik-grid-gap: 14px;
  --hik-tab-h: 52px;
  --hik-slider-h: 340px;

  --garus-navy: #0c2340;
  --garus-navy-muted: #4a5568;
  --garus-surface: #ffffff;
  --garus-surface-2: #f5f5f5;
  --garus-border: #dddddd;
  --garus-accent: #e85d04;
  --garus-accent-hover: #c2410c;
  --garus-radius: 4px;
  --garus-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --garus-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --garus-font: 'IBM Plex Sans', system-ui, sans-serif;
  --garus-text: 0.875rem;
  --garus-leading: 1.5;
}

body {
  font-family: var(--garus-font);
  font-size: var(--garus-text);
  line-height: var(--garus-leading);
  color: var(--garus-navy);
  background: var(--garus-surface-2);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--hik-container);
  padding-left: 15px;
  padding-right: 15px;
}

.container--shop {
  max-width: var(--hik-container);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Topbar (светлая служебная полоса) ——— */
.topbar {
  position: relative;
  z-index: 1640;
  overflow: visible;
  background: #ebebeb;
  color: #333333;
  font-size: 0.8125rem;
  min-height: var(--hik-topbar);
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #d8d8d8;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  overflow: visible;
}

.topbar__nav-link {
  color: #444444;
  text-decoration: none;
  font-size: 0.8125rem;
}

.topbar__nav-link:hover {
  color: #000000;
}

.topbar__auth {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.user-menu--topbar {
  position: relative;
  vertical-align: middle;
  align-self: center;
}

.user-menu--topbar .user-menu__trigger {
  flex-direction: row;
  gap: 6px;
  padding: 2px 0;
  font-size: 0.8125rem;
  color: #444444;
}

.user-menu--topbar .user-menu__trigger:hover {
  background: transparent;
  color: #000000;
}

.user-menu--topbar .user-menu__name {
  max-width: 140px;
  font-size: 0.8125rem;
  color: inherit;
  text-align: left;
}

.user-menu--topbar .user-menu__dropdown {
  position: fixed;
  top: auto;
  left: auto;
  right: auto;
  margin-top: 0;
  padding: 8px 0;
  min-width: 200px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  z-index: 1650;
  background: #fff;
}

.user-menu--topbar .user-menu__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.topbar__contacts {
  gap: 24px;
  align-items: center;
}

.topbar__phone {
  color: #333 !important;
  font-weight: 600;
  font-size: 0.8125rem;
}

.topbar__contacts a:not(.topbar__phone) {
  color: #555555;
}

.topbar__contacts a:hover {
  color: #000000;
}

.topbar__hours {
  color: #777777;
}

@media (min-width: 992px) {
  .topbar__phone {
    display: none;
  }
}

/* ——— Header ——— */
.header {
  background: var(--garus-surface);
  border-bottom: 1px solid var(--garus-border);
  box-shadow: var(--garus-shadow-sm);
}

.header__inner {
  display: grid !important;
  grid-template-columns: minmax(140px, auto) 1fr auto auto;
  align-items: center;
  min-height: var(--hik-header-main);
  padding-top: 10px;
  padding-bottom: 10px;
  column-gap: 20px;
  row-gap: 8px;
}

.header .logo {
  flex-shrink: 0;
  justify-self: start;
}

.header .logo__icon {
  background: none !important;
  line-height: 0;
}

.header .logo__icon img {
  display: block;
  height: auto !important;
  max-height: var(--hik-logo-h) !important;
  width: auto !important;
  max-width: var(--hik-logo-max-w) !important;
  object-fit: contain;
  image-rendering: auto;
}

@media (min-width: 1200px) {
  :root {
    --hik-logo-h: 58px;
    --hik-logo-max-w: 248px;
    --hik-header-main: 84px;
  }
}

.header__inner > .nav {
  justify-self: center;
  justify-content: center;
  flex-wrap: wrap;
}

.header__phone {
  display: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--garus-navy);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.header__phone:hover {
  color: var(--garus-accent);
}

@media (min-width: 992px) {
  .header__phone {
    display: block;
  }
}

.header__inner > .header__actions {
  justify-self: end;
}

.header .logo__text-wrap,
.header .header__city {
  display: none !important;
}

.nav {
  gap: 8px;
}

.nav__link {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--garus-navy);
  padding: 6px 12px;
  border-radius: 0;
}

.nav__link:hover {
  color: var(--garus-accent);
  background: transparent;
}

.nav__link--active {
  color: var(--garus-navy);
  background: transparent;
  font-weight: 600;
}

.nav__link--active::after {
  display: none;
}

.header__actions {
  gap: 8px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--garus-radius);
  text-decoration: none;
  color: var(--garus-navy);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.header-btn:hover {
  background: var(--garus-surface-2);
  border-color: var(--garus-border);
}

.header-btn__icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.header-btn--cart {
  position: relative;
  padding-right: 10px;
}

.header-btn--cart .cart-count {
  position: static;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--garus-accent);
  font-size: 0.6875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-icon,
.cart-icon {
  font-size: inherit;
}

.header .user-menu:not(.user-menu--topbar) .user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--garus-radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--garus-navy);
}

.header .user-menu:not(.user-menu--topbar) .user-menu__trigger:hover {
  background: var(--garus-surface-2);
}

.header .user-menu:not(.user-menu--topbar) .user-menu__icon {
  display: flex;
  line-height: 0;
}

.header .user-menu:not(.user-menu--topbar) .user-menu__name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--garus-navy-muted);
  font-size: 0.8125rem;
}

.user-menu__dropdown {
  border-radius: var(--garus-radius);
  border: 1px solid var(--garus-border);
  box-shadow: var(--garus-shadow-md);
}

.header .user-menu:not(.user-menu--topbar) .user-menu__item {
  font-size: 0.875rem;
}

.login-icon__text {
  font-size: inherit;
}

/* ——— Кнопки ——— */
.btn {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--garus-radius);
  background: var(--garus-accent);
}

.btn:hover {
  background: var(--garus-accent-hover);
}

.btn--outline {
  border: 1px solid var(--garus-border);
  color: var(--garus-navy);
  background: var(--garus-surface);
}

.btn--outline:hover {
  background: var(--garus-surface-2);
  color: var(--garus-navy);
  border-color: var(--garus-navy-muted);
}

/* ——— Hero ——— */
.page-banner {
  background: var(--garus-surface);
  border-bottom: 1px solid var(--garus-border);
  padding: 40px 0 36px;
}

.page-banner__eyebrow {
  display: none;
}

.page-banner__inner {
  align-items: center;
  gap: 48px;
}

.page-banner__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--garus-navy);
  max-width: 640px;
  margin-bottom: 12px;
}

.page-banner__text {
  font-size: 1rem;
  color: var(--garus-navy-muted);
  max-width: 560px;
  margin-bottom: 0;
}

.page-banner__actions {
  margin-top: 24px;
}

.page-banner__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-width: 280px;
  border: 1px solid var(--garus-border);
  border-radius: var(--garus-radius);
  overflow: hidden;
  background: var(--garus-border);
}

.stat-pill {
  background: var(--garus-surface);
  border: none;
  border-left: none !important;
  border-radius: 0;
  min-width: 0;
  padding: 20px 16px;
  text-align: center;
}

.stat-pill strong {
  font-size: 1.5rem;
  color: var(--garus-navy);
}

.stat-pill span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--garus-navy-muted);
}

/* ——— Intro ——— */
.section--light {
  background: var(--garus-surface-2);
  border: none;
}

.store-intro {
  padding: 48px 0;
}

.store-intro__title {
  font-size: 1.25rem;
  font-weight: 700;
}

.store-intro__list {
  color: var(--garus-navy-muted);
}

.info-card {
  border-radius: var(--garus-radius);
  box-shadow: var(--garus-shadow-sm);
  border-color: var(--garus-border);
}

.info-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.info-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--garus-accent);
}

/* ——— Каталог ——— */
.section {
  padding: 40px 0 56px;
}

.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--garus-navy-muted);
  margin-bottom: 20px;
}

.shop-sidebar,
.shop-content {
  border-radius: var(--garus-radius);
  border-color: var(--garus-border);
  box-shadow: var(--garus-shadow-sm);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
}

.shop-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.shop-search-input,
.filter-select {
  border-radius: var(--garus-radius);
  border-color: var(--garus-border);
  font-size: 0.9375rem;
}

.shop-search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--garus-navy-muted);
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.08);
}

.product-card {
  border-radius: var(--garus-radius);
  border-color: var(--garus-border);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  border-color: var(--garus-navy-muted);
  box-shadow: var(--garus-shadow-md);
}

.product-card__title {
  border-bottom: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.product-card__price {
  font-weight: 700;
  color: var(--garus-navy);
}

.category-link.active {
  background: var(--garus-navy);
}

/* ——— Footer ——— */
.footer {
  background: var(--garus-navy);
  margin-top: auto;
}

.footer__text,
.footer__bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer__title {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Личный кабинет ——— */
.account-shell {
  border-radius: var(--garus-radius);
  box-shadow: var(--garus-shadow-sm);
  border-color: var(--garus-border);
  padding: 28px 32px;
}

.account-page__title {
  font-size: 1.5rem;
}

.account-tabs {
  gap: 4px;
  border-bottom: 1px solid var(--garus-border);
}

.tab-btn {
  font-size: 0.9375rem;
  padding: 10px 18px;
  border-radius: var(--garus-radius) var(--garus-radius) 0 0;
  color: var(--garus-navy-muted);
}

.tab-btn:hover {
  color: var(--garus-navy);
}

.tab-btn.active,
.account-tabs .tab-btn.active {
  color: var(--garus-navy);
  border-bottom-color: var(--garus-accent);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--garus-accent);
  margin-bottom: -1px;
}

.order-card,
.cart-item {
  border-radius: var(--garus-radius);
}

/* ——— Mobile ——— */
@media (max-width: 968px) {
  .header__phone {
    display: none !important;
  }

  .topbar__phone {
    display: inline !important;
  }

  :root {
    --hik-logo-h: 40px;
    --hik-logo-max-w: 160px;
    --hik-header-main: 64px;
  }

  .page-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .page-banner__stats {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-banner__stats {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    gap: 8px;
  }

  .stat-pill {
    border: 1px solid var(--garus-border) !important;
    border-radius: var(--garus-radius);
  }

  .header-btn__label {
    display: none;
  }

  .topbar__nav {
    display: none;
  }
}

/* ——— Полоса «Каталог + поиск» (hikvisionpro) ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 1630;
}

.header__inner,
.header .logo__icon img,
.header-shop,
.header-shop__catalog,
.header-shop__search {
  transition: min-height 0.22s ease, height 0.22s ease, max-height 0.22s ease, padding 0.22s ease, max-width 0.22s ease;
}

html.is-header-compact .header__inner {
  min-height: 44px;
  padding-top: 2px;
  padding-bottom: 2px;
  column-gap: 12px;
}

html.is-header-compact .header .logo__icon img {
  max-height: 28px !important;
  max-width: 132px !important;
}

html.is-header-compact .header__inner > .nav,
html.is-header-compact .header__phone {
  display: none !important;
}

html.is-header-compact .header-shop {
  padding: 4px 0;
}

html.is-header-compact .header-shop__catalog,
html.is-header-compact .header-shop__search {
  height: 34px;
  min-height: 34px;
}

html.is-header-compact .header-shop__search-submit {
  width: 28px;
  height: 28px;
}

html.is-header-compact .header-shop__cart {
  min-height: 34px;
}

html.is-header-compact .header-shop__cart-text {
  display: none;
}

html.is-header-compact .burger {
  min-width: 40px;
  min-height: 40px;
}

@media (prefers-reduced-motion: reduce) {
  .header__inner,
  .header .logo__icon img,
  .header-shop,
  .header-shop__catalog,
  .header-shop__search {
    transition: none;
  }
}

.header-shop {
  background: var(--garus-surface);
  border-bottom: 1px solid var(--garus-border);
  padding: 10px 0 12px;
}

.header:has(.header-shop) .header__actions .cart-icon {
  display: none;
}

@media (max-width: 968px) {
  .header:has(.header-shop) .header__actions .cart-icon {
    display: inline-flex;
  }
}

.header-shop__inner {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.header-shop__catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 228px;
  max-width: 228px;
  height: var(--hik-row-height);
  min-height: var(--hik-row-height);
  padding: 0 16px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: var(--garus-surface);
  color: var(--garus-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.header-shop__catalog:hover {
  border-color: var(--garus-navy-muted);
  background: var(--garus-surface-2);
}

.header-shop__catalog-chevron {
  opacity: 0.55;
  margin-left: 2px;
}

.header-shop__search {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  height: var(--hik-row-height);
  min-height: var(--hik-row-height);
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: var(--garus-surface);
  padding: 0 4px 0 14px;
  gap: 6px;
}

.header-shop__search:focus-within {
  border-color: var(--garus-navy-muted);
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.08);
}

.header-shop__search-icon {
  flex-shrink: 0;
  color: var(--garus-navy-muted);
  opacity: 0.7;
}

.header-shop__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--garus-navy);
  padding: 8px 0;
}

.header-shop__search-input:focus {
  outline: none;
}

.header-shop__search-input::placeholder {
  color: #8a96a3;
}

.header-shop__search-submit {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #eeeeee;
  color: var(--garus-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-shop__search-submit:hover {
  background: var(--garus-border);
}

.header-shop__cart {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--hik-row-height);
  padding: 0 4px 0 8px;
  text-decoration: none;
  color: var(--garus-navy);
  max-width: 200px;
}

.header-shop__cart-icon {
  position: relative;
  display: flex;
  line-height: 0;
}

.header-shop__cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--garus-accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-shop__cart-badge[hidden],
.header-btn--cart .cart-count[hidden],
.cart-count[hidden] {
  display: none !important;
}

.header-shop__cart-text {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--garus-navy-muted);
}

.page-banner--compact {
  padding: 28px 0 24px;
  background: var(--garus-surface);
  border-bottom: 1px solid var(--garus-border);
}

.page-banner--compact .page-banner__title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  margin-bottom: 8px;
}

.page-banner--compact .page-banner__text {
  margin-bottom: 0;
  max-width: 900px;
}

.section--catalog {
  padding: 24px 0 48px;
  background: var(--garus-surface-2);
}

.shop-showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 16px;
  border-radius: 0;
  overflow: hidden;
  border: none;
}

.shop-showcase-tabs__btn {
  border: none;
  background: #4d4d4d;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: var(--hik-tab-h);
  padding: 0 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.shop-showcase-tabs__btn:hover {
  background: #4a5360;
}

.shop-showcase-tabs__btn.is-active {
  background: var(--garus-accent);
}

.shop-layout--store {
  grid-template-columns: var(--hik-shop-sidebar) minmax(0, 1fr) !important;
  gap: var(--hik-grid-gap) !important;
  margin-top: 0 !important;
}

.shop-sidebar--vertical {
  top: 140px;
  padding: 16px 0;
}

.shop-sidebar--vertical .sidebar-title {
  padding: 0 16px 12px;
  margin-bottom: 8px;
  font-size: 1rem;
  border-bottom: 1px solid var(--garus-border);
}

.shop-sidebar--vertical .category-link {
  border-radius: 0;
  padding: 10px 16px;
  font-size: 0.875rem;
}

.shop-sidebar--vertical .category-link.active {
  background: var(--garus-surface-2);
  color: var(--garus-navy);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--garus-accent);
}

.shop-sidebar--vertical .category-submenu {
  position: static;
  margin: 0;
  padding: 0 0 4px 0;
  border: none;
  box-shadow: none;
  background: transparent;
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  display: none;
  overflow: visible;
}

.shop-sidebar--vertical .category-item.expanded > .category-submenu {
  display: block;
}

.shop-sidebar--vertical .category-submenu .category-link {
  padding-left: 28px;
  font-size: 0.8125rem;
}

.shop-content--store {
  padding: 16px 20px 24px;
}

.shop-header--toolbar {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--garus-border);
}

.shop-header--toolbar .shop-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.products-grid--store {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--hik-grid-gap) !important;
}

.products-grid--store .product-card {
  border-radius: 4px;
}

.products-grid--store .product-card__image-wrap {
  height: var(--hik-product-img);
  background: #fff;
}

.products-grid--store .product-card__title {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  border-bottom: none;
  padding-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}

.products-grid--store .product-card__content {
  padding: 12px 14px 16px;
}

.products-grid--store .product-card__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--garus-navy);
  margin-top: auto;
}

.products-grid--store .product-card__price--promo {
  color: var(--garus-accent);
}

.shop-content--store,
.shop-sidebar--vertical {
  border-color: var(--garus-border);
  border-radius: 0;
  box-shadow: none;
}

.breadcrumbs {
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.products-grid--store .btn--small {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 0.8125rem;
}

@media (max-width: 1200px) {
  .products-grid--store {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 968px) {
  .header-shop__inner {
    flex-wrap: wrap;
  }

  .header-shop__catalog {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
    min-width: 0;
  }

  .header-shop__search {
    order: 3;
    flex: 1 1 100%;
  }

  .header-shop__cart {
    display: none !important;
  }

  .header-shop__cart-text {
    display: none;
  }

  .shop-layout--store {
    grid-template-columns: 1fr !important;
  }

  .shop-sidebar--vertical.shop-sidebar--catalog-open {
    display: block;
  }

  .products-grid--store {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .shop-showcase-tabs__btn {
    font-size: 0.8125rem;
    padding: 12px 8px;
  }
}

@media (max-width: 520px) {
  .products-grid--store {
    grid-template-columns: 1fr !important;
  }

  .header-shop__catalog span {
    font-size: 0.8125rem;
  }
}

/* ——— Главная: слайдер до открытия магазина ——— */
.home-promo {
  position: relative;
  background: var(--garus-surface);
  border-bottom: 1px solid var(--garus-border);
  overflow: hidden;
}

.home-promo__slider {
  position: relative;
  min-height: var(--hik-slider-h);
}

.home-promo__slide {
  display: none;
  padding: 36px 0 44px;
}

.home-promo__slide--active {
  display: block;
}

.home-promo__slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-promo__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--garus-navy);
}

.home-promo__lead {
  color: var(--garus-navy-muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.home-promo__visual {
  flex: 0 0 min(42%, 420px);
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a4a7a 0%, #0c2340 45%, #e85d04 100%);
  opacity: 0.92;
}

.home-promo__visual--2 {
  background: linear-gradient(135deg, #3d5166 0%, #0c2340 50%, #0d9488 100%);
}

.home-promo__visual--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-promo__slide--banner {
  padding: 0;
  background: #0b1c2e;
}

.home-promo__banner-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  vertical-align: top;
}

.home-promo:has(.home-promo__slide--banner) .home-promo__slider {
  position: relative;
  min-height: 0;
  width: 80%;
  max-width: 1536px;
  aspect-ratio: 16 / 5;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1c2e;
  box-shadow: var(--garus-shadow-sm);
}

.home-promo:has(.home-promo__slide--banner) .home-promo__slide {
  display: block;
  position: absolute;
  inset: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-promo:has(.home-promo__slide--banner) .home-promo__slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-promo:has(.home-promo__slide--banner) .home-promo__dots {
  width: 80%;
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
}

.home-promo:has(.home-promo__slide--banner) {
  overflow: hidden;
  padding: 14px 0 6px;
}

@media (max-width: 768px) {
  .home-promo:has(.home-promo__slide--banner) {
    padding: 8px 0 4px;
  }

  .home-promo:has(.home-promo__slide--banner) .home-promo__slider,
  .home-promo:has(.home-promo__slide--banner) .home-promo__dots {
    width: calc(100% - 24px);
    max-width: none;
  }

  .home-promo__banner-img {
    object-fit: cover;
    object-position: center center;
  }
}

.product-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

body.section-home-carousel-off #home-ad-section,
body.section-home-promo-off #promo-section {
  display: none !important;
}

.home-promo__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 14px;
}

.home-promo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--garus-border);
  cursor: pointer;
  padding: 0;
}

.home-promo__dot.is-active {
  background: var(--garus-accent);
}

/* ——— Мега-меню каталога ——— */
.catalog-mega-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 64, 0.35);
  z-index: 1610;
}

.catalog-mega-overlay--visible {
  display: block;
}

.catalog-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1620;
  pointer-events: none;
}

.catalog-mega--open {
  pointer-events: auto;
}

.catalog-mega__panel {
  display: none;
  background: var(--garus-surface);
  border-bottom: 1px solid var(--garus-border);
  box-shadow: var(--garus-shadow-md);
  max-height: min(70vh, 520px);
  overflow: auto;
}

.catalog-mega--open .catalog-mega__panel {
  display: block;
}

.catalog-mega__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px;
  font-size: 1rem;
}

.catalog-mega__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--garus-navy-muted);
  padding: 4px 8px;
}

.catalog-mega__grid {
  padding-bottom: 8px;
}

.catalog-mega__hint {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  color: var(--garus-navy-muted);
}

/* ——— Кубики разделов каталога ——— */
.catalog-sections__lead {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--garus-navy-muted);
}

.catalog-cubes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.catalog-cubes--mega {
  padding-bottom: 8px;
}

.catalog-cubes__empty {
  color: var(--garus-navy-muted);
  font-size: 0.875rem;
}

.catalog-cube {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--garus-border);
  border-radius: var(--garus-radius);
  background: var(--garus-surface);
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--garus-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-height: 0;
}

.catalog-cube:hover {
  transform: translateY(-3px);
  border-color: var(--garus-accent);
  box-shadow: var(--garus-shadow-md);
}

.catalog-cube__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4f6f8;
  padding: 10px;
  box-sizing: border-box;
}

.catalog-cube__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--garus-navy-muted);
  font-size: 0.8125rem;
}

.catalog-cube__title {
  display: block;
  padding: 10px 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--garus-navy);
}

.catalog-mega__root,
.catalog-mega__link {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--garus-navy);
  padding: 4px 0;
}

.catalog-mega__root {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.catalog-mega__root:hover,
.catalog-mega__link:hover {
  color: var(--garus-accent);
}

.catalog-mega__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-mega__link {
  font-size: 0.8125rem;
  color: var(--garus-navy-muted);
}

.catalog-mega__foot {
  padding: 12px 0 18px;
  border-top: 1px solid var(--garus-border);
}

.header-shop__catalog[aria-expanded="true"] {
  border-color: var(--garus-accent);
  background: var(--garus-surface-2);
}

/* ——— Карточка: две кнопки ——— */
.product-card--store-item {
  display: flex;
  flex-direction: column;
  background: var(--garus-surface);
  border: 1px solid var(--garus-border);
  border-radius: 4px;
  overflow: hidden;
}

.product-card--store-item .product-card__link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__actions--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.product-card__actions--duo .btn {
  width: 100%;
  margin: 0;
  padding: 8px 6px;
  font-size: 0.75rem;
}

.about-cta-note {
  margin-top: 28px;
  color: var(--garus-navy-muted);
}

#servis {
  scroll-margin-top: 130px;
}

.svc-prices {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.svc-prices li {
  background: #fff;
  border: 1px solid var(--garus-border);
  border-top: 3px solid var(--garus-navy);
  padding: 16px 14px;
}
.svc-prices strong {
  display: block;
  font-size: 1.15rem;
  color: var(--garus-navy);
  margin-bottom: 4px;
}
.svc-prices span {
  color: var(--garus-navy-muted);
  font-size: 0.9rem;
}

.svc-flow {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  counter-reset: svc-step;
}
.svc-flow li {
  counter-increment: svc-step;
  background: #fff;
  border: 1px solid var(--garus-border);
  padding: 16px 14px 16px 14px;
  min-height: 150px;
}
.svc-flow li::before {
  content: counter(svc-step);
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--garus-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}
.svc-flow strong {
  display: block;
  margin-bottom: 6px;
  color: var(--garus-navy);
}
.svc-flow span {
  display: block;
  font-size: 0.875rem;
  color: var(--garus-navy-muted);
  line-height: 1.45;
}

.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.svc-split article {
  padding: 22px 22px 8px;
  border: 1px solid var(--garus-border);
}
.svc-split__in {
  background: #fff;
}
.svc-split__out {
  background: #f7f4f0;
}
.svc-split h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--garus-navy);
}
.svc-split p,
.svc-split li {
  color: var(--garus-navy-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.svc-split ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.svc-tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.svc-tracks article {
  background: var(--garus-navy);
  color: #fff;
  padding: 22px;
}
.svc-tracks article:nth-child(2) {
  background: #143152;
}
.svc-tracks article:nth-child(3) {
  background: #1c3d5c;
}
.svc-tracks h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.svc-tracks p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0.92;
}

.svc-cta {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: var(--garus-navy-muted);
}
.svc-cta span {
  flex: 1 1 100%;
}
.svc-cta a {
  color: var(--garus-navy);
  font-weight: 600;
}

@media (max-width: 968px) {
  .svc-prices,
  .svc-flow,
  .svc-tracks {
    grid-template-columns: 1fr 1fr;
  }
  .svc-flow li {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .svc-prices,
  .svc-flow,
  .svc-split,
  .svc-tracks {
    grid-template-columns: 1fr;
  }
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: start;
}

.calc-fieldset {
  border: 1px solid var(--garus-border);
  border-radius: 10px;
  padding: 16px 18px 18px;
  margin: 0 0 16px;
  background: #fff;
}

.calc-fieldset legend {
  font-weight: 700;
  padding: 0 6px;
}

.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.calc-chip {
  border: 1px solid var(--garus-border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.calc-chip.is-active {
  border-color: var(--garus-navy);
  background: var(--garus-navy);
  color: #fff;
}

.calc-hint,
.calc-disc {
  color: var(--garus-navy-muted);
  font-size: 0.875rem;
}

.calc-check {
  display: flex;
  align-items: flex-end;
  min-height: 64px;
}

.calc-result {
  border: 1px solid var(--garus-border);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  position: sticky;
  top: 16px;
}

.calc-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.calc-kpis div {
  background: var(--garus-surface-2);
  border-radius: 8px;
  padding: 10px;
}

.calc-kpis strong {
  display: block;
  font-size: 1.05rem;
}

.calc-kpis span {
  font-size: 0.75rem;
  color: var(--garus-navy-muted);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.calc-table th,
.calc-table td {
  text-align: left;
  padding: 6px 0;
  border-bottom: 1px solid var(--garus-border);
}

.calc-table td:nth-child(2),
.calc-table td:nth-child(3),
.calc-table th:nth-child(2),
.calc-table th:nth-child(3) {
  text-align: right;
}

.calc-total {
  font-size: 1.15rem;
  margin: 8px 0 12px;
}

.calc-total small {
  display: block;
  font-size: 0.8rem;
  color: var(--garus-navy-muted);
  font-weight: 400;
}

.analytics-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.analytics-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.analytics-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 160px;
  padding: 12px 8px 28px;
  border: 1px solid var(--garus-border);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 20px;
  overflow-x: auto;
}

.analytics-bar {
  flex: 1;
  min-width: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 140px;
  position: relative;
}

.analytics-bar__fill {
  width: 70%;
  min-height: 2px;
  background: var(--garus-navy);
  border-radius: 4px 4px 0 0;
}

.analytics-bar__label {
  position: absolute;
  bottom: -22px;
  font-size: 0.65rem;
  color: var(--garus-navy-muted);
  white-space: nowrap;
}

.analytics-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 4000;
  background: #0b1f3a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}

.catalog-ranking-note {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--garus-navy-muted, #5b6b80);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: calc(18px + 76px + 24px);
  bottom: 16px;
  z-index: 1400;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--garus-border);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: calc(100vw - 18px - 76px - 24px - 16px);
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-right: auto;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--garus-navy-muted);
}

.maintenance-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.maintenance-card {
  max-width: 560px;
  margin: 40px auto;
  padding: 32px 28px;
  border: 1px solid var(--garus-border);
  border-radius: 12px;
  background: #fff;
}

.legal-empty {
  color: var(--garus-navy-muted);
}

.gchat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1300;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid #c9a227;
  border-radius: 50%;
  overflow: hidden;
  background: #0b1c33;
  cursor: pointer;
}

.gchat.is-open .gchat-launcher,
body.ctor-help-open .gchat-launcher,
body.gchat-open .gchat-launcher {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gchat.is-open .gchat-panel {
  bottom: 18px;
}

body.gchat-open #ctor-coach:not(.is-docking) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gchat-launcher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gchat-face {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.gchat-face--sm {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #c9a227;
}

.gchat-face--sm img {
  width: 100%;
  height: 100%;
  border: 0;
}

.gchat-visor {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 46%;
  height: 10%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #ef7a6a 0%, #c5362c 100%);
  opacity: 0;
  pointer-events: none;
  filter: blur(0.55px);
  box-shadow: 0 0 7px 1px rgba(197, 54, 44, 0.35);
}

.gchat.is-talking .gchat-visor,
.ctor-coach.is-in:not(.is-peek) .gchat-visor {
  animation: gchat-visor-breathe 3s ease-in-out infinite;
}

@keyframes gchat-visor-breathe {
  0%,
  100% {
    opacity: 0.38;
    box-shadow: 0 0 5px 1px rgba(176, 48, 40, 0.14);
  }
  50% {
    opacity: 0.78;
    box-shadow: 0 0 12px 3px rgba(196, 58, 46, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gchat.is-talking .gchat-visor,
  .ctor-coach.is-in:not(.is-peek) .gchat-visor {
    animation: none;
    opacity: 0.55;
  }
}

.gchat-launcher__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e23b2e;
}

.gchat-panel {
  position: fixed;
  right: 18px;
  bottom: 106px;
  z-index: 1301;
  width: min(380px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--garus-border);
  border-radius: 14px;
  overflow: hidden;
}

.gchat-panel[hidden] {
  display: none !important;
}

.gchat-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #0b1c33;
  color: #fff;
}

.gchat-head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.gchat-head strong {
  display: block;
  font-size: 0.95rem;
}

.gchat-head span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.gchat-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.gchat-log {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f4f6f9;
  min-height: 220px;
}

.gchat-msg {
  margin-bottom: 10px;
  max-width: 92%;
}

.gchat-msg p {
  margin: 4px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  font-size: 0.875rem;
}

.gchat-msg__who {
  font-size: 0.7rem;
  color: var(--garus-navy-muted);
}

.gchat-msg--user {
  margin-left: auto;
}

.gchat-msg--user p {
  background: #0b1c33;
  color: #fff;
}

.gchat-msg--consultant p {
  background: #e8eef6;
}

.gchat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.gchat-chip {
  border: 1px solid var(--garus-border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.gchat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--garus-border);
}

.gchat-form input {
  flex: 1;
  min-width: 0;
}

.gchat-legal {
  margin: 0;
  padding: 0 12px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--garus-muted, #64748b);
}

.admin-chat-layout {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 16px;
  min-height: 420px;
}

.admin-chat-list {
  border: 1px solid var(--garus-border);
  border-radius: 8px;
  overflow: auto;
  max-height: 560px;
}

.admin-chat-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--garus-border);
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
}

.admin-chat-item.is-active {
  background: #e8eef6;
}

.admin-chat-thread {
  border: 1px solid var(--garus-border);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

@media (max-width: 720px) {
  .admin-chat-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .analytics-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .analytics-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .calc-result {
    position: static;
  }

  .ctor-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-promo__slide-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .home-promo__visual {
    flex: none;
    width: 100%;
    height: 140px;
  }

  .product-card__actions--duo {
    grid-template-columns: 1fr;
  }
}

/* ——— Комплекты: студийная витрина ——— */
.kits-body {
  background: #0b1016;
}

.kits-page {
  background: #0b1016;
  color: #e8edf3;
}

.kits-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.kits-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: 0;
}

.kits-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.92) 0%, rgba(8, 12, 18, 0.55) 48%, rgba(8, 12, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.2) 0%, rgba(8, 12, 18, 0.75) 100%);
}

.kits-hero__inner {
  position: relative;
  z-index: 2;
  padding: 72px 15px 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (min-width: 980px) {
  .kits-hero__inner {
    margin-left: max(24px, calc((100% - var(--hik-container)) / 2 + 15px));
    margin-right: auto;
  }
}

.kits-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9d2dc;
}

.kits-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.kits-hero__lead {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #c5ced8;
}

.kits-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kits-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #e10600;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.kits-pill:hover {
  background: #c10500;
  color: #fff;
}

.kits-pill--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.kits-pill--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.kits-scale {
  background: #0b1016;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kits-scale__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.kits-scale__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 8px 14px;
  color: #9aa7b5;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.kits-scale__item:hover,
.kits-scale__item:focus-visible {
  color: #fff;
  border-bottom-color: #e10600;
}

.kits-scale__num {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.kits-scale__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kits-gallery {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 24px;
}

.kits-empty {
  color: #c5ced8;
  padding: 40px 0;
}

.kit-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 0;
  background: #141b24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  scroll-margin-top: 140px;
}

.kit-card__visual {
  position: relative;
  margin: 0;
  min-height: 320px;
  background: #0a0e13;
}

.kit-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kit-card__count {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.kit-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.92);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.kit-card__body {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kit-card__fit {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b98a6;
}

.kit-card__title {
  margin: 0 0 22px;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  color: #fff;
}

.kit-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin-bottom: 24px;
}

.kit-spec__title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa7b5;
}

.kit-spec__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kit-spec__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 7px;
  font-size: 0.9rem;
  color: #d5dde6;
  line-height: 1.35;
}

.kit-spec__list li span {
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: #e10600;
  flex-shrink: 0;
}

.kit-spec__list li.is-gift {
  color: #fff;
  font-weight: 600;
}

.kit-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.kit-tier {
  background: #0e141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
}

.kit-tier--premium {
  border-color: #e10600;
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.12), #0e141c 42%);
}

.kit-tier__badge {
  margin: 0 0 6px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6b63;
  font-weight: 600;
}

.kit-tier__name {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa7b5;
}

.kit-tier__price {
  margin: 0 0 10px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.kit-tier__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #9aa7b5;
}

.kit-tier__note,
.kit-tier__extra {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: #b7c2cd;
  line-height: 1.4;
}

.kit-tier__extra li {
  margin-bottom: 4px;
}

.kit-tier .kit-add-cart-btn {
  margin-top: auto;
  width: 100%;
  background: #1c2733;
  border: 0;
  color: #fff;
}

.kit-tier .kit-add-cart-btn:hover {
  background: #263445;
}

.kit-tier--premium .kit-add-cart-btn {
  background: #e10600;
}

.kit-tier--premium .kit-add-cart-btn:hover {
  background: #c10500;
}

.kits-process {
  background: #10161d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 80px;
  color: #e8edf3;
}

.kits-process__head h2 {
  margin: 8px 0 32px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.kits-process__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kits-process__grid li span {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #e10600;
  font-weight: 700;
}

.kits-process__grid h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #fff;
}

.kits-process__grid p {
  margin: 0;
  color: #a9b4c0;
  line-height: 1.55;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .kit-card {
    grid-template-columns: 1fr;
  }

  .kit-card__visual {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .kits-process__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kit-card__body {
    padding: 22px 18px 18px;
  }

  .kit-card__specs,
  .kit-tiers {
    grid-template-columns: 1fr;
  }

  .kits-hero__inner {
    padding: 48px 15px 40px;
  }
}

/* ——— Конструктор калькулятора ——— */
.ctor-page {
  background: #f5f5f5;
}

.ctor-intro {
  padding: 36px 0 8px;
}

.ctor-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e10600;
  font-weight: 700;
}

.ctor-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--garus-navy);
}

.ctor-lead {
  margin: 0;
  max-width: 46rem;
  color: var(--garus-navy-muted);
  line-height: 1.55;
}

.ctor-stage {
  padding: 20px 0 8px;
}

.ctor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.ctor-board-stage {
  position: relative;
  min-width: 0;
}

.ctor-board {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--garus-border);
  box-shadow: var(--garus-shadow-sm);
}

.ctor-coach {
  position: absolute;
  left: 16px;
  bottom: 20px;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: min(420px, calc(100% - 32px));
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.32, 1), opacity 0.45s ease;
}

.ctor-coach.is-in {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.ctor-coach.is-peek {
  max-width: none;
}

.ctor-coach.is-peek .ctor-coach__bubble,
.ctor-coach.is-docking .ctor-coach__bubble {
  display: none;
}

.ctor-coach.is-docking {
  max-width: none;
  pointer-events: none;
}

#ctor-coach[hidden] {
  display: none !important;
}

.ctor-coach__bot {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c9a227;
  background: #0b1c33;
  box-shadow: 0 10px 24px rgba(12, 35, 64, 0.22);
  animation: ctor-coach-bob 2.8s ease-in-out infinite;
  isolation: isolate;
}

.ctor-coach.is-peek .ctor-coach__bot {
  width: 64px;
  height: 64px;
  cursor: pointer;
}

.ctor-coach__bot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ctor-coach__bubble {
  position: relative;
  background: #fff;
  border: 1px solid var(--garus-border);
  border-radius: 16px 16px 16px 6px;
  padding: 12px 34px 12px 14px;
  box-shadow: var(--garus-shadow-sm);
  color: var(--garus-navy);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ctor-coach__bubble p {
  margin: 0 0 10px;
}

.ctor-coach__who {
  margin: 0 0 4px !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--garus-navy-muted);
}

.ctor-coach__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ctor-coach__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--garus-navy-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.ctor-coach__steps {
  margin: 0 0 10px;
  padding-left: 18px;
}

.ctor-coach__steps li {
  margin: 0 0 6px;
}

.ctor-coach__steps li:last-child {
  margin-bottom: 0;
}

@keyframes ctor-coach-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ctor-coach {
    transition: none;
  }
  .ctor-coach__bot {
    animation: none;
  }
}

.ctor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--garus-border);
}

.ctor-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--garus-navy);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.ctor-tool svg {
  flex-shrink: 0;
}

.ctor-tool:hover,
.ctor-cam:hover {
  background: #f4f6f8;
  color: var(--garus-navy);
}

.ctor-tool.is-active,
.ctor-cam.is-active {
  background: #e10600;
  color: #fff;
  border-color: #e10600;
}

.ctor-tool--file {
  cursor: pointer;
}

.ctor-palette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fafafa;
  border-bottom: 1px solid var(--garus-border);
}

.ctor-palette__title {
  margin: 0 8px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--garus-navy-muted);
}

.ctor-cam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--garus-border);
  background: #fff;
  color: var(--garus-navy);
  cursor: pointer;
}

.ctor-cam img {
  display: block;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
}

.ctor-palette__hint {
  margin: 0 0 0 auto;
  color: var(--garus-navy-muted);
  font-size: 0.75rem;
  max-width: 280px;
}

.ctor-canvas-wrap {
  position: relative;
  cursor: default;
}

.ctor-canvas-wrap.is-draw,
.ctor-canvas-wrap.is-place {
  cursor: crosshair;
}

.ctor-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
}

.ctor-canvas-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--garus-navy-muted);
  border: 1px solid var(--garus-border);
  font-size: 0.85rem;
  pointer-events: none;
  text-align: center;
  max-width: 80%;
}

.ctor-side {
  background: #fff;
  border: 1px solid var(--garus-border);
  border-radius: 16px;
  padding: 20px 18px 18px;
}

.ctor-side h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--garus-navy);
}

.ctor-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.ctor-counts div {
  background: #f4f6f8;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.ctor-counts strong {
  display: block;
  font-size: 1.25rem;
  color: var(--garus-navy);
}

.ctor-counts span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--garus-navy-muted);
}

.ctor-field {
  display: block;
  margin-bottom: 16px;
}

.ctor-field > span,
.ctor-field > label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--garus-navy);
}

.ctor-field em {
  font-style: normal;
  color: #e10600;
}

.ctor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ctor-chip {
  border: 1px solid var(--garus-border);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
}

.ctor-chip.is-active {
  background: var(--garus-navy);
  border-color: var(--garus-navy);
  color: #fff;
}

.ctor-field input[type='range'] {
  width: 100%;
  accent-color: #e10600;
}

.ctor-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.88rem;
  margin: 8px 0 12px;
}

.ctor-side-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--garus-navy-muted);
  line-height: 1.45;
}

.ctor-estimate {
  padding: 28px 0 64px;
}

.ctor-estimate__head h2 {
  margin: 0 0 16px;
  color: var(--garus-navy);
}

.ctor-result {
  position: static;
  border-radius: 16px;
  padding: 22px;
}

.ctor-empty {
  margin: 0;
  color: var(--garus-navy-muted);
}

@media (max-width: 1100px) {
  .ctor-palette__hint {
    margin-left: 0;
    max-width: none;
    flex-basis: 100%;
  }
}

@media (max-width: 900px) {
  .ctor-workspace {
    grid-template-columns: 1fr;
  }
}

.product-page {
  display: flex !important;
  flex-direction: column;
  gap: 28px;
  max-width: none;
  margin: 0;
}

.product-page__top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.05fr);
  gap: 36px;
  align-items: start;
}

.product-page__gallery {
  position: static;
  background: #fff;
  border: 1px solid var(--garus-border);
  border-radius: 12px;
  padding: 16px;
}

.product-page__image-wrap {
  background: #f7f8fa;
  aspect-ratio: 1;
}

.product-page__title {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: 1.45rem;
  color: var(--garus-navy);
}

.pp-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--garus-navy);
}

.pp-meta li {
  margin: 0 0 4px;
}

.pp-meta span {
  color: var(--garus-navy-muted);
}

.pp-opts {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}

.pp-opts[hidden] {
  display: none !important;
}

.pp-opts__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pp-opts__label {
  width: 110px;
  flex: 0 0 110px;
  font-size: 0.86rem;
  color: var(--garus-navy-muted);
}

.pp-opts__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pp-chip {
  border: 1px solid var(--garus-border);
  background: #fff;
  color: var(--garus-navy);
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

.pp-chip:hover {
  border-color: #c41e3a;
}

.pp-chip.is-on {
  border-color: #c41e3a;
  color: #c41e3a;
  box-shadow: inset 0 0 0 1px #c41e3a;
}

.pp-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-page__price {
  color: #c41e12;
  font-size: 1.65rem;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.pp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--garus-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.pp-qty input {
  width: 52px;
  height: 40px;
  border: 0;
  text-align: center;
  font-weight: 600;
  color: var(--garus-navy);
}

.pp-qty__btn {
  width: 36px;
  height: 40px;
  border: 0;
  background: #f4f6f8;
  color: var(--garus-navy);
  cursor: pointer;
  font-size: 1.1rem;
}

.pp-tabs {
  background: #fff;
  border: 1px solid var(--garus-border);
  border-radius: 12px;
  overflow: hidden;
}

.pp-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  background: #f4f6f8;
  border-bottom: 1px solid var(--garus-border);
}

.pp-tab {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--garus-navy);
  cursor: pointer;
}

.pp-tab.is-active {
  background: #fff;
  color: #e10600;
  box-shadow: inset 0 -2px 0 #e10600;
}

.pp-tabs__body {
  padding: 20px 22px 24px;
}

.pp-highlights,
.product-page__specs,
.pp-files {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--garus-navy);
  line-height: 1.55;
}

.pp-empty {
  margin: 0;
  color: var(--garus-navy-muted);
}

.pp-files a {
  color: var(--garus-navy);
}

@media (max-width: 768px) {
  .product-page__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ——— Телефон: шапка, меню, чат, каталог ——— */
@media (max-width: 968px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  img,
  picture,
  video,
  iframe,
  svg {
    max-width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr !important;
    min-width: 0;
  }

  .gallery-item,
  .gallery-item picture {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .gallery-item__image {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
  }

  .header__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: var(--hik-header-main);
  }

  .header .logo {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .header .logo__icon {
    display: block;
    max-width: 100%;
  }

  .header .logo__icon img {
    max-height: 40px !important;
    max-width: min(160px, 42vw) !important;
    width: auto !important;
    object-position: left center;
  }

  .header__inner > .header__actions {
    justify-self: end;
    gap: 4px;
  }

  .burger {
    display: flex;
    z-index: 2200;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-overlay {
    z-index: 2140;
  }

  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(86vw, 320px) !important;
    max-width: 320px !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 72px 8px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: #fff !important;
    border-right: 1px solid var(--garus-border);
    box-shadow: 8px 0 28px rgba(12, 35, 64, 0.16);
    transform: translateX(-110%) !important;
    transition: transform 0.25s ease;
    z-index: 2160 !important;
    overflow-y: auto;
    pointer-events: none;
  }

  .nav.active {
    transform: translateX(0) !important;
    pointer-events: auto;
  }

  .nav .nav__link {
    display: block;
    width: 100%;
    text-align: left;
    text-transform: none;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 14px 16px !important;
    border-left: none !important;
    border-bottom: 1px solid var(--garus-border);
    color: var(--garus-navy);
  }

  .topbar__hours,
  .topbar__contacts a:not(.topbar__phone) {
    display: none !important;
  }

  .cookie-banner {
    left: 12px;
    right: calc(12px + 58px + 20px);
    bottom: 12px;
    padding: 10px 12px;
    gap: 10px;
    max-width: calc(100vw - 12px - 58px - 20px - 12px);
  }

  .cookie-banner p {
    font-size: 0.8125rem;
  }

  .gchat-launcher {
    width: 58px;
    height: 58px;
    right: 12px;
    bottom: 12px;
  }

  .catalog-mega__panel {
    max-height: min(78dvh, 640px);
  }

  .catalog-cubes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gchat-panel {
    width: min(100vw - 16px, 380px);
    right: 8px;
    left: 8px;
    bottom: 78px;
  }

  .gchat.is-open .gchat-panel {
    bottom: 12px;
  }

  html.is-header-compact .header__inner {
    min-height: 40px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  html.is-header-compact .header .logo__icon img {
    max-height: 26px !important;
    max-width: min(120px, 40vw) !important;
  }

  html.is-header-compact .header-shop__inner {
    flex-wrap: nowrap;
    gap: 6px;
  }

  html.is-header-compact .header-shop__catalog {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    padding: 0 10px;
    font-size: 0.6875rem;
  }

  html.is-header-compact .header-shop__catalog-chevron {
    display: none;
  }

  html.is-header-compact .header-shop__search {
    order: 0;
    flex: 1 1 auto;
  }
}

.order-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: order-step;
}
.order-steps li {
  counter-increment: order-step;
  background: var(--garus-surface);
  border: 1px solid var(--garus-border);
  border-radius: var(--garus-radius);
  padding: 20px 20px 20px 56px;
  position: relative;
  min-height: 120px;
}
.order-steps li::before {
  content: counter(order-step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--garus-navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--garus-navy);
}
.order-steps span {
  color: var(--garus-navy-muted);
  font-size: 0.95rem;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.solution-card {
  display: block;
  background: var(--garus-surface);
  border: 1px solid var(--garus-border);
  border-radius: var(--garus-radius);
  padding: 20px;
  color: inherit;
  text-decoration: none;
  min-height: 140px;
}
.solution-card:hover {
  border-color: var(--garus-accent);
}
.solution-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.solution-card p {
  margin: 0;
  color: var(--garus-navy-muted);
  font-size: 0.95rem;
}
.solution-block {
  margin: 28px 0;
}
.faq-item {
  border: 1px solid var(--garus-border);
  border-radius: var(--garus-radius);
  padding: 12px 16px;
  margin: 0 0 10px;
  background: var(--garus-surface);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--garus-navy);
}
.faq-item p {
  margin: 10px 0 4px;
}
.contact-messengers {
  margin-top: 8px;
}
.legal-min {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--garus-navy-muted);
}
.gallery-empty {
  grid-column: 1 / -1;
  color: var(--garus-navy-muted);
}

@media (max-width: 900px) {
  .order-steps,
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .order-steps,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .header-shop {
    padding: 8px 0 10px;
  }

  .header-shop__catalog {
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.75rem;
  }

  .header-shop__search {
    height: 40px;
    min-height: 40px;
  }

  .product-page__actions,
  .product-card__actions {
    flex-wrap: wrap;
  }
}
