/* =========================================================
   УПАКОВКА-МАРКЕТ — Главная таблица стилей
   Бело-синяя палитра | Современный B2B оптовый портал
   ========================================================= */

/* ── Шрифты ──────────────────────────────────────────────── */
@import url('/assets/fonts/fonts.css?v=20260917');

/* ── Токены дизайна ───────────────────────────────────────── */
:root {
  /* Типограф. шкала */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Отступы */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Радиусы */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1.25rem;
  --radius-full: 9999px;

  /* Переходы */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Ширина контента */
  --content-default: 1200px;
  --content-wide:    1440px;
  --content-narrow:  760px;

  /* Шрифты */
  --font-display: 'Cabinet Grotesk', 'Arial', sans-serif;
  --font-body:    'Satoshi',          'Arial', sans-serif;

  /* ── СВЕТЛАЯ ТЕМА (белая + синяя) ───────────────────────── */
  --color-bg:            #f4f7fc;
  --color-surface:       #ffffff;
  --color-surface-2:     #f0f5ff;
  --color-surface-offset:#e6edf9;
  --color-divider:       #d0daf0;
  --color-border:        #c2cfe8;

  --color-text:          #0d1b3e;
  --color-text-muted:    #4f6490;
  --color-text-faint:    #9aaec8;
  --color-text-inverse:  #ffffff;

  /* Синий — основной акцент */
  --color-primary:          #1552d4;
  --color-primary-hover:    #0e3fa8;
  --color-primary-active:   #0a2d7a;
  --color-primary-highlight:#dce8ff;
  --color-primary-subtle:   #eef3ff;

  /* Тёмно-синий — для шапки / подвала */
  --color-dark:             #0b1f52;
  --color-dark-hover:       #0d2460;

  /* Акцент-оранжевый — CTA / бэйджи "Акция" */
  --color-accent:           #f5620f;
  --color-accent-hover:     #d84d00;

  /* Успех / ошибка */
  --color-success:   #1a7f4b;
  --color-error:     #c0392b;

  /* Тени */
  --shadow-sm:  0 1px 3px  oklch(0.25 0.05 240 / 0.08);
  --shadow-md:  0 4px 16px oklch(0.25 0.05 240 / 0.12);
  --shadow-lg:  0 12px 40px oklch(0.25 0.05 240 / 0.18);
  --shadow-card:0 2px 10px oklch(0.25 0.06 240 / 0.10);
}

/* Тёмная тема */
[data-theme="dark"] {
  --color-bg:              #0d1117;
  --color-surface:         #161d2e;
  --color-surface-2:       #1a2340;
  --color-surface-offset:  #1e2848;
  --color-divider:         #243050;
  --color-border:          #2e3d66;
  --color-text:            #d4dff7;
  --color-text-muted:      #7a92c4;
  --color-text-faint:      #4a5f8a;
  --color-text-inverse:    #0d1117;
  --color-primary:         #5b8ffa;
  --color-primary-hover:   #3d73f7;
  --color-primary-active:  #1f5af0;
  --color-primary-highlight:#1e2d54;
  --color-primary-subtle:  #161f3a;
  --color-dark:            #101729;
  --color-dark-hover:      #141f36;
  --color-accent:          #ff7440;
  --color-accent-hover:    #ff5f22;
  --shadow-sm:  0 1px 3px  oklch(0 0 0 / 0.2);
  --shadow-md:  0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg:  0 12px 40px oklch(0 0 0 / 0.5);
  --shadow-card:0 2px 10px oklch(0 0 0 / 0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #0d1117;
    --color-surface:         #161d2e;
    --color-surface-2:       #1a2340;
    --color-surface-offset:  #1e2848;
    --color-divider:         #243050;
    --color-border:          #2e3d66;
    --color-text:            #d4dff7;
    --color-text-muted:      #7a92c4;
    --color-text-faint:      #4a5f8a;
    --color-text-inverse:    #0d1117;
    --color-primary:         #5b8ffa;
    --color-primary-hover:   #3d73f7;
    --color-primary-active:  #1f5af0;
    --color-primary-highlight:#1e2d54;
    --color-primary-subtle:  #161f3a;
    --color-dark:            #101729;
    --color-accent:          #ff7440;
    --color-accent-hover:    #ff5f22;
  }
}

/* ── Ресет ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.2; font-family: var(--font-display); }
p, li { text-wrap: pretty; max-width: 72ch; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

::selection { background: color-mix(in oklab, var(--color-primary) 20%, transparent); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a, button, [role="button"], input, textarea, select {
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              opacity var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* ── Утилиты ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Кнопки ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn--primary:active { background: var(--color-primary-active); }

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary-subtle); }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ── Бэйджи ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge--sale { background: var(--color-accent); color: #fff; }
.badge--new  { background: var(--color-primary); color: #fff; }
.badge--hit  { background: var(--color-success); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   ШАП КА (HEADER)
   ═══════════════════════════════════════════════════════════ */

/* ── Топ-бар (контакты + утилиты) ────────────────────────── */
.topbar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-xs);
  padding-block: var(--space-2);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);

}
.topbar__contacts { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.topbar__contacts a { color: rgba(255,255,255,0.75); }
.topbar__contacts a:hover { color: #fff; }
.topbar__contacts .phone { font-weight: 600; color: #fff; }
.topbar__right { display: flex; gap: var(--space-4); align-items: center; }
.topbar__right a { color: rgba(255,255,255,0.65); }
.topbar__right a:hover { color: #fff; }
.topbar__divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

/* ── Основной header ─────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo__icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.logo__tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Поиск */
.search-bar {
  display: flex;
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.search-bar input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  outline: none;
  font-size: var(--text-sm);
  color: var(--color-text);
  min-width: 0;
}
.search-bar input::placeholder { color: var(--color-text-faint); }
.search-bar button {
  padding: var(--space-3) var(--space-5);
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
}
.search-bar button:hover { background: var(--color-primary-hover); }

/* Правая группа шапки */
.header__actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.header__action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.header__action-btn:hover { background: var(--color-surface-2); color: var(--color-primary); }
.header__action-btn svg { width: 22px; height: 22px; }
.header__action-btn .count {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  padding: 0 5px;
  min-width: 18px;
  text-align: center;
  line-height: 18px;
  display: inline-block;
}

/* Кнопка тёмной темы */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.theme-toggle:hover { background: var(--color-surface-2); color: var(--color-primary); }

/* ── Навигация (mega-menu bar) ───────────────────────────── */
.navbar {
  background: var(--color-dark);
}
.navbar__inner {
  display: flex;
  align-items: stretch;
  position: relative;
}

/* Кнопка "Все категории" */
.navbar__catalog-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  width: 280px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition);
}
.navbar__catalog-btn:hover { background: var(--color-primary-hover); }
.navbar__catalog-btn svg { width: 18px; height: 18px; }

/* Основные пункты меню */
.navbar__nav { display: flex; align-items: stretch; flex: 1; justify-content: center; }
.navbar__nav a {
  display: flex;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: var(--space-5); right: var(--space-5);
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}
.navbar__nav a:hover { color: #fff; }
.navbar__nav a:hover::after,
.navbar__nav a.active::after { transform: scaleX(1); }
.navbar__nav a.active { color: #fff; }

/* Мобильное меню */
.mobile-menu-btn {
  display: none;
  padding: var(--space-3);
  color: var(--color-text);
}
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* ── Мегадропдаун каталога ───────────────────────────────── */
.catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: none;
  box-shadow: var(--shadow-lg);
  width: 100%;
  display: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.catalog-dropdown.is-open { display: block; }
.catalog-dropdown__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 400px;
}
.catalog-dropdown__cats {
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}
.catalog-dropdown__cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.catalog-dropdown__cat-item:hover,
.catalog-dropdown__cat-item.is-active {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}
.catalog-dropdown__cat-item svg:last-child { width: 14px; height: 14px; opacity: 0.5; flex-shrink: 0; }
.catalog-dropdown__cat-item svg:first-child { width: 28px; height: 28px; flex-shrink: 0; }
.catalog-dropdown__cat-item .cat-label { flex: 1; line-height: 1.3; }
.catalog-dropdown__subs {
  padding: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  align-content: start;
}
.catalog-dropdown__sub-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.catalog-dropdown__sub-link:hover { background: var(--color-surface-2); color: var(--color-primary); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a3580 60%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: stretch;
}
.hero__content { color: #fff; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-5);
}
.hero__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.hero__title span { color: #7eb3ff; }
.hero__desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
  max-width: 48ch;
}
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.15);

}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}
.hero__stat-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

/* Карточки в правой части hero */
.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-4);
  align-self: stretch;
}
.hero__card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  transition: transform var(--transition), background var(--transition);
}
.hero__card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}
.hero__card-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
  font-size: 24px;
}
.hero__card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-1);
}
.hero__card-count {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
}
.hero__card--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  background: rgba(21,82,212,0.4);
  border-color: rgba(255,255,255,0.2);
}
.hero__card--wide .hero__card-icon { width: 52px; height: 52px; font-size: 28px; }
.hero__promo-text { color: rgba(255,255,255,0.9); font-size: var(--text-sm); }
.hero__promo-text strong { color: #fff; font-weight: 700; display: block; font-size: var(--text-base); }

/* ═══════════════════════════════════════════════════════════
   ПРОМО-СТРИП
   ═══════════════════════════════════════════════════════════ */
.promo-strip {
  position: relative;
  background: #0b1f52;
  color: #fff;
  padding-block: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

/* Градиентные маски по краям — текст «растворяется» */
.promo-strip::before,
.promo-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.promo-strip::before {
  left: 0;
  background: linear-gradient(to right, #0b1f52 0%, transparent 100%);
}
.promo-strip::after {
  right: 0;
  background: linear-gradient(to left, #0b1f52 0%, transparent 100%);
}

.promo-strip__track {
  overflow: hidden;
}

.promo-strip__inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.promo-strip__inner:hover {
  animation-play-state: paused;
}

.promo-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: rgba(255,255,255,0.88);
  flex-shrink: 0;
}

.promo-strip__icon {
  font-size: 14px;
  line-height: 1;
  filter: saturate(0.8) brightness(1.1);
}

.promo-strip__sep {
  color: rgba(255,255,255,0.2);
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  user-select: none;
}

/* Интерактивность пунктов строки */
.promo-strip__item {
  cursor: pointer;
  border-radius: 4px;
}
.promo-strip__item:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.promo-strip__item:hover .promo-strip__icon {
  filter: saturate(1.2) brightness(1.2);
}
/* Подчёркивание только текста (не иконки) при hover */
.promo-strip__item:hover span:last-child,
.promo-strip__item:hover {
  text-decoration: none;
}
.promo-strip__item span.promo-strip__label {
  text-decoration: none;
}
.promo-strip__item:hover span.promo-strip__label {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.5);
  text-underline-offset: 3px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}



/* ═══════════════════════════════════════════════════════════
   КАТЕГОРИИ ТОВАРОВ
   ═══════════════════════════════════════════════════════════ */
.section { padding-block: clamp(var(--space-8), 3vw, var(--space-12)); }
.section--alt { background: var(--color-surface-2); }

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);

}
.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.section__title {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  max-width: 60ch;
}

/* Сетка категорий */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
}
.category-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.category-card__icon {
  width: 64px; height: 64px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: background var(--transition);
  color: var(--color-primary);
  flex-shrink: 0;
}
.category-card__icon svg {
  width: 36px; height: 36px;
  transition: transform var(--transition);
}
.category-card:hover .category-card__icon svg {
  transform: scale(1.1);
}

/* Цветовые варианты иконок */
.cat-icon--amber  { background: #fef3c7; color: #b45309; }
.cat-icon--cyan   { background: #dbeafe; color: #1d4ed8; }
.cat-icon--orange { background: #ffedd5; color: #c2410c; }
.cat-icon--green  { background: #dcfce7; color: #15803d; }
.cat-icon--blue   { background: #e0e7ff; color: #3730a3; }
.cat-icon--violet { background: #ede9fe; color: #6d28d9; }
.cat-icon--rose   { background: #ffe4e6; color: #be123c; }
.cat-icon--slate  { background: #e2e8f0; color: #334155; }
.cat-icon--teal   { background: #ccfbf1; color: #0f766e; }

.category-card:hover .cat-icon--amber  { background: #fef3c7; }
.category-card:hover .cat-icon--cyan   { background: #dbeafe; }
.category-card:hover .cat-icon--orange { background: #ffedd5; }
.category-card:hover .cat-icon--green  { background: #dcfce7; }
.category-card:hover .cat-icon--blue   { background: #e0e7ff; }
.category-card:hover .cat-icon--violet { background: #ede9fe; }
.category-card:hover .cat-icon--rose   { background: #ffe4e6; }
.category-card:hover .cat-icon--slate  { background: #e2e8f0; }
.category-card:hover .cat-icon--teal   { background: #ccfbf1; }
.category-card__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.category-card__count { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ═══════════════════════════════════════════════════════════
   КАРТОЧКА ТОВАРА
   ═══════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
.product-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-surface-2);
  overflow: hidden;
}
.product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 300ms ease;
  background: #fff;
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.04); }

/* ── Плейсхолдер товара без фото ── */
.product-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.product-card__img-placeholder svg {
  opacity: 0.7;
}

.product-card__badges {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-1);
}
.product-card__body { padding: var(--space-4); flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: var(--space-2);
  flex: 1;
}
.product-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0 var(--space-4) var(--space-4);
}
.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
}
.product-card__price sup {
  font-size: var(--text-xs);
  font-weight: 600;
  vertical-align: super;
}
.product-card__price-old {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: line-through;
}
.product-card__add {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.product-card__add:hover { background: var(--color-primary-hover); transform: scale(1.1); }
.product-card__add svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════
   ПРОМО-БАННЕРЫ (сетка)
   ═══════════════════════════════════════════════════════════ */
.promo-banners {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
  align-items: stretch;
}
.promo-banners .promo-banner {
  min-height: 280px;
  height: 100%;
}
.promo-banner {
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.promo-banner--primary {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a3580 100%);
}
.promo-banner--secondary {
  background: linear-gradient(135deg, #1a7f4b 0%, #0f5a34 100%);
}
.promo-banner__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}
.promo-banner__tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  position: relative;
}
.promo-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-3);
  position: relative;
}
.promo-banner__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-5);
  position: relative;
  max-width: 40ch;
}
.promo-banner .btn { position: relative; align-self: flex-start; margin-top: auto; }
.promo-banner:hover .promo-banner__title { text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   ПРЕИМУЩЕСТВА
   ═══════════════════════════════════════════════════════════ */
.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
}
.advantage-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.advantage-item__icon {
  width: 52px; height: 52px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1.5px solid var(--color-primary-highlight);
}
.advantage-item__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.advantage-item__desc { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ═══════════════════════════════════════════════════════════
   БЛОК «О КОМПАНИИ»
   ═══════════════════════════════════════════════════════════ */
.about {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a3580 100%);
  color: #fff;
  padding-block: clamp(var(--space-8), 3vw, var(--space-12));
  position: relative;
  overflow: hidden;
}
.about::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about__label { color: #7eb3ff; margin-bottom: var(--space-3); }
.about__title { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--space-5); }
.about__text { color: rgba(255,255,255,0.75); font-size: var(--text-base); margin-bottom: var(--space-5); max-width: 52ch; }
.about__text + .about__text { margin-top: 0; }
.about__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: var(--space-5);
}
.about__num-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; color: #7eb3ff; }
.about__num-label { font-size: var(--text-xs); color: rgba(255,255,255,0.6); margin-top: var(--space-1); }

/* ═══════════════════════════════════════════════════════════
   ФОРМА ЗАЯВКИ
   ═══════════════════════════════════════════════════════════ */
.callback-section {
  background: var(--color-primary-subtle);
  border-top: 1px solid var(--color-primary-highlight);
  border-bottom: 1px solid var(--color-primary-highlight);
}
.callback__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding-block: clamp(var(--space-8), 3vw, var(--space-12));
}
.callback__title { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.callback__desc { font-size: var(--text-base); color: var(--color-text-muted); max-width: 48ch; }
.callback__form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-consent {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.form-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   ПОДВАЛ (FOOTER)
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding-block: clamp(var(--space-8), 3vw, var(--space-12));
}
.footer__inner {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: var(--space-10);
}
.footer__brand {}
.footer__logo { margin-bottom: var(--space-4); }
.footer__logo .logo__brand { color: #7eb3ff; }
.footer__logo .logo__tagline { color: rgba(255,255,255,0.45); }

/* Логотип-картинка в тёмной теме */
[data-theme="dark"] .header .logo img { filter: brightness(0) invert(1); }
.footer__about {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  max-width: 36ch;
}
.footer__contacts { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.footer__contact-item svg { width: 15px; height: 15px; opacity: 0.6; flex-shrink: 0; }
.footer__contact-item a { color: rgba(255,255,255,0.85); }
.footer__contact-item a:hover { color: #fff; }

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__nav { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__nav a:hover { color: #fff; }

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);

}
.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer__bottom-links { display: flex; gap: var(--space-5); }
.footer__bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════════════
   АДАПТИВ
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .catalog-dropdown__subs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .promo-banners { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .callback__inner { grid-template-columns: 1fr; }
  .navbar__nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-4); }
  .topbar__contacts .topbar__divider,
  .topbar__contacts a:not(.phone):not(:first-child) { display: none; }
  .header__inner { grid-template-columns: auto auto; }
  .search-bar { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .advantages { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .navbar__catalog-btn span { display: none; }
}

/* ── Кнопка "Мой кабинет" (header-login-btn) ── */
.header-login-btn {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 18px 0 6px;
  height: 48px;
  background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(21,82,212,0.25);
  transition: box-shadow .15s, transform .1s;
  text-decoration: none;
}
.header-login-btn:hover { box-shadow: 0 6px 20px rgba(21,82,212,0.35); transform: translateY(-1px); }
.header-login-btn:active { transform: translateY(0); }
.header-login-btn__avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
}
.header-login-btn__divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.2);
  margin-right: 12px;
  flex-shrink: 0;
}
.header-login-btn__text {
  display: flex; flex-direction: column; gap: 7px;
  margin-right: 10px;
}
.header-login-btn__sub {
  font-size: 9px; font-weight: 500; opacity: .6; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em;
}
.header-login-btn__main {
  font-size: var(--text-base); font-weight: 700; line-height: 1; letter-spacing: -0.02em;
}
.header-login-btn__arrow { opacity: .7; flex-shrink: 0; }

/* ── Кнопка «Выйти» в шапке ── */
.header-logout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
  color: #fff;
  border: none; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(21,82,212,0.25);
  transition: box-shadow .15s, transform .1s, opacity .15s;
  opacity: 0.7;
}
.header-logout-btn:hover { box-shadow: 0 6px 20px rgba(21,82,212,0.35); transform: translateY(-1px); opacity: 1; }
.header-logout-btn:active { transform: translateY(0); }

/* ── Логотип в шапке (header-logo) ── */
.header-logo { gap: 8px !important; text-decoration: none; align-items: center !important; }
.header-logo__girl {
  height: 48px; width: auto;
  flex-shrink: 0;
  display: block;
}
.header-logo__text { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
.header-logo__top {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.header-logo__bottom {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500;
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* === Catalog page styles === */

    /* ── Header cart button ── */
    .header-cart {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px 8px 12px;
      background: var(--color-primary);
      color: #fff;
      border-radius: 8px;
      text-decoration: none;
      transition: background .15s, box-shadow .15s;
      box-shadow: 0 2px 8px rgba(21,82,212,0.18);

    }
    .header-cart:hover { background: var(--color-primary-hover); box-shadow: 0 4px 14px rgba(21,82,212,0.28); }
    .header-cart__icon { position: relative; display: flex; align-items: center; flex-shrink: 0; }
    .header-cart__badge {
      position: absolute;
      top: -7px; right: -8px;
      background: #fff;
      color: var(--color-primary);
      font-size: 10px;
      font-weight: 800;
      font-family: var(--font-display);
      width: 17px; height: 17px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      line-height: 1;
    }
    .header-cart__info { display: flex; flex-direction: column; gap: 1px; }
    .header-cart__label { font-size: 11px; font-weight: 500; opacity: .8; line-height: 1; }
    .header-cart__sum { font-size: var(--text-sm); font-weight: 700; font-family: var(--font-display); line-height: 1; letter-spacing: -0.01em; }

    /* ── Header phone ── */
    .header-phone {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px 8px 12px;
      background: var(--color-surface);
      border: 1.5px solid var(--color-border);
      color: var(--color-text);
      border-radius: 8px;
      text-decoration: none;
      transition: border-color .15s, background .15s;

    }
    .header-phone:hover { border-color: var(--color-primary); background: var(--color-primary-subtle); }
    .header-phone__icon {
      width: 34px; height: 34px;
      border-radius: 50%;
      background: var(--color-primary-subtle);
      color: var(--color-primary);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .header-phone__info { display: flex; flex-direction: column; gap: 1px; }
    .header-phone__label { font-size: 10px; font-weight: 500; color: var(--color-text-faint); line-height: 1; }
    .header-phone__number { font-size: var(--text-sm); font-weight: 700; font-family: var(--font-display); color: var(--color-text); line-height: 1; letter-spacing: -0.01em; }
    .header-phone:hover .header-phone__number { color: var(--color-primary); }

    /* ── Text logo ── */
    .header-logo { gap: 8px !important; text-decoration: none; align-items: center !important; }
    .header-logo__girl {
      height: 48px; width: auto;
      flex-shrink: 0;
      display: block;
    }
    .header-logo__text { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
    .header-logo__top {
      font-family: var(--font-display);
      font-size: 20px; font-weight: 800;
      color: var(--color-primary);
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .header-logo__bottom {
      font-family: var(--font-display);
      font-size: 12px; font-weight: 500;
      color: var(--color-text-faint);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ── Fix search bar height ── */
    .search-bar { height: 48px; }
    .search-bar input { padding-top: 0 !important; padding-bottom: 0 !important; }
    .search-bar__btn { height: 48px !important; width: 56px !important; }
    .search-bar__btn {
      width: 52px !important;
      padding: 0 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%) !important;
    }
    .search-bar__btn:hover { background: linear-gradient(135deg, #1045b8 0%, #2b5ee8 100%) !important; }

    /* ── Header login button ── */
    .header-login-btn {
      display: flex;
      align-items: center;
      gap: 0;
      padding: 0 18px 0 6px;
      height: 48px;
      background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-family: var(--font-display);
      cursor: pointer;

      box-shadow: 0 3px 12px rgba(21,82,212,0.25);
      transition: box-shadow .15s, transform .1s;
    }
    .header-login-btn:hover { box-shadow: 0 6px 20px rgba(21,82,212,0.35); transform: translateY(-1px); }
    .header-login-btn:active { transform: translateY(0); }
    .header-login-btn__avatar {
      width: 36px; height: 36px;
      border-radius: 8px;
      background: rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      margin-right: 10px;
    }
    .header-login-btn__divider {
      width: 1px; height: 28px;
      background: rgba(255,255,255,0.2);
      margin-right: 12px;
      flex-shrink: 0;
    }
    .header-login-btn__text {
      display: flex; flex-direction: column; gap: 7px;
      margin-right: 10px;
    }
    .header-login-btn__sub {
      font-size: 10px; font-weight: 500; opacity: .75; line-height: 1;
    }
    .header-login-btn__main {
      font-size: var(--text-sm); font-weight: 700; line-height: 1; letter-spacing: -0.01em;
    }
    .header-login-btn__arrow { opacity: .7; flex-shrink: 0; }

/* ── Кнопка «Выйти» в шапке ── */
.header-logout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
  color: #fff;
  border: none; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(21,82,212,0.25);
  transition: box-shadow .15s, transform .1s, opacity .15s;
  opacity: 0.7;
}
.header-logout-btn:hover { box-shadow: 0 6px 20px rgba(21,82,212,0.35); transform: translateY(-1px); opacity: 1; }
.header-logout-btn:active { transform: translateY(0); }

    /* ══════════════════════════════════════
       КАТАЛОГ — стили
       ══════════════════════════════════════ */

    /* ── Hero ── */
    .page-hero {
      background: linear-gradient(135deg, #0b1f52 0%, #1552d4 60%, #3b72f6 100%);
      padding: 56px 0 48px;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .page-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }
    .page-hero__inner { position: relative; z-index: 1; }
    .page-hero__breadcrumb {
      font-size: var(--text-sm);
      color: rgba(255,255,255,0.6);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .page-hero__breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
    .page-hero__breadcrumb a:hover { color: #fff; }
    .page-hero__breadcrumb span { color: rgba(255,255,255,0.35); }
    .page-hero__title {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      margin: 0 0 12px;
      letter-spacing: -0.03em;
      line-height: 1.1;
    }
    .page-hero__subtitle {
      font-size: var(--text-lg);
      color: rgba(255,255,255,0.85);
      max-width: 560px;

    }

    /* ── Каталог: основной layout ── */
    .catalog-section {
      padding: 48px 0 56px;
    }
    .catalog-layout {
      display: block;
    }

    /* ── Заголовок над табами ── */
    .cat-tabs-wrap {
      margin-bottom: 40px;
    }
    .cat-tabs-label {
      font-size: var(--text-xs);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-text-faint);
      margin-bottom: 12px;
    }
    /* ── Таб-кнопки категорий (квадратные карточки на всю ширину) ── */
    .cat-tabs {
      display: grid;
      grid-template-columns: repeat(9, 1fr);
      gap: 10px;
      margin-bottom: 24px;
    }
    .cat-tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 6px;
      aspect-ratio: 1 / 1;
      border-radius: var(--radius-xl);
      border: 1.5px solid var(--color-border);
      background: var(--color-surface);
      color: var(--color-text);
      font-size: 10px;
      font-weight: 600;
      font-family: var(--font-display);
      cursor: pointer;
      transition: all .15s;
      line-height: 1.3;
      text-align: center;
    }
    .cat-tab:hover {
      border-color: var(--color-primary);
      color: var(--color-primary);
      background: var(--color-primary-subtle);
    }
    .cat-tab.is-active {
      background: var(--color-primary);
      border-color: var(--color-primary);
      color: #fff;
    }
    .cat-tab__icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      padding: 6px;
      transition: background .15s, color .15s;
    }
    .cat-tab.is-active .cat-tab__icon {
      background: rgba(255,255,255,0.2) !important;
      color: #fff !important;
    }
    .cat-tab:not(.is-active):hover .cat-tab__icon {
      filter: brightness(0.95);
    }
    .cat-tab__label { display: block; }

    /* ── Шапка активной категории ── */
    .cat-active-header {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 0 0 24px;
    }
    .cat-active-header__title {
      font-family: var(--font-display);
      font-size: clamp(1.3rem, 2.5vw, 1.7rem);
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--color-text);
      margin: 0 0 4px;
      line-height: 1.1;
    }
    .cat-active-header__desc {
      font-size: var(--text-sm);
      color: var(--color-text-faint);
      line-height: 1.65;
      margin: 0;
    }

    @media (max-width: 900px) {
      .cat-tabs { grid-template-columns: repeat(4, 1fr); }
    }
    @media (max-width: 560px) {
      .cat-tabs {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    }

    /* ── Блоки категорий ── */
    .catalog-content {
      display: flex;
      flex-direction: column;
      gap: 56px;
    }
    .cat-block {
      scroll-margin-top: 24px;
    }
    .cat-block__header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 16px;
    }
    .cat-block__icon {
      font-size: 28px;
      flex-shrink: 0;
    }
    .cat-block__title {
      font-family: var(--font-display);
      font-size: clamp(1.3rem, 2.5vw, 1.7rem);
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--color-text);
      margin: 0;
      line-height: 1.1;
    }
    .cat-block__desc {
      font-size: var(--text-sm);
      color: var(--color-text-faint);
      line-height: 1.65;
      margin: 0 0 20px;
      max-width: 640px;
    }
    .cat-block__subtitle {
      font-family: var(--font-display);
      font-size: var(--text-base);
      font-weight: 700;
      color: var(--color-text);
      margin: 28px 0 16px;
      letter-spacing: -0.01em;
    }

    /* ── Badge дополнительные варианты ── */
    .badge--uz  { background: #ede9fe; color: #5b21b6; }
    .badge--ru  { background: #dbeafe; color: #1e40af; }
    .badge--cn  { background: #fce7f3; color: #9d174d; }
    .badge--abr { background: #fef3c7; color: #92400e; }
    .badge--cc  { background: #d1fae5; color: #065f46; }
    [data-theme="dark"] .badge--uz  { background: rgba(124,58,237,0.2); color: #a78bfa; }
    [data-theme="dark"] .badge--ru  { background: rgba(30,64,175,0.2); color: #93c5fd; }
    [data-theme="dark"] .badge--cn  { background: rgba(157,23,77,0.2); color: #f9a8d4; }
    [data-theme="dark"] .badge--abr { background: rgba(217,119,6,0.2); color: #fbbf24; }
    [data-theme="dark"] .badge--cc  { background: rgba(5,150,105,0.2); color: #34d399; }

    /* ── CTA блок ── */
    .catalog-cta {
      background: linear-gradient(135deg, #0b1f52 0%, #1552d4 60%, #3b72f6 100%);
      border-radius: var(--radius-xl);
      padding: 40px 40px;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-top: 56px;
      position: relative;
      overflow: hidden;
    }
    .catalog-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }
    .catalog-cta__body { position: relative; z-index: 1; }
    .catalog-cta__title {
      font-family: var(--font-display);
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      font-weight: 800;
      letter-spacing: -0.025em;
      margin: 0 0 8px;
      line-height: 1.15;
    }
    .catalog-cta__text {
      font-size: var(--text-base);
      color: rgba(255,255,255,0.82);
      margin: 0;
      max-width: 480px;
      line-height: 1.6;
    }
    .catalog-cta__actions {
      display: flex;
      gap: 12px;
    
      position: relative;
      z-index: 1;
      flex-shrink: 0;
    }
    .btn-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      background: #fff;
      color: #1552d4;
      font-family: var(--font-display);
      font-size: var(--text-sm);
      font-weight: 700;
      border-radius: var(--radius-lg);
      text-decoration: none;
      transition: box-shadow .15s, transform .1s;
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);

    }
    .btn-cta-primary:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.22);
      transform: translateY(-1px);
    }
    .btn-cta-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      background: rgba(255,255,255,0.12);
      color: #fff;
      font-family: var(--font-display);
      font-size: var(--text-sm);
      font-weight: 700;
      border-radius: var(--radius-lg);
      text-decoration: none;
      border: 1.5px solid rgba(255,255,255,0.3);
      transition: background .15s, border-color .15s;

    }
    .btn-cta-secondary:hover {
      background: rgba(255,255,255,0.2);
      border-color: rgba(255,255,255,0.5);
    }
    @media (max-width: 700px) {
      .catalog-cta {
        flex-direction: column;
        padding: 28px 24px;
      }
      .catalog-cta__actions {
        flex-direction: column;
        width: 100%;
      }
      .btn-cta-primary, .btn-cta-secondary {
        justify-content: center;
        width: 100%;
      }
    }

    /* ── Нулевая/отсутствующая цена ── */
    .product-card__price--request {
      color: var(--color-primary) !important;
      font-size: var(--text-base);
      font-weight: 700;
      font-family: var(--font-display);
    }

    /* ── Футер карточки с количеством ── */
    .product-card__footer--col {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 10px 0 0;
      border-top: 1.5px solid var(--color-border);
      background: var(--color-bg);
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .product-card__price-row {
      padding-left: var(--space-4);
      padding-right: var(--space-4);
    }
    .product-card__price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .product-card__qty {
      display: flex;
      align-items: center;
      gap: 0;
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      height: 34px;
    }
    .product-card__qty-btn {
      width: 34px;
      height: 34px;
      border: none;
      background: var(--color-bg);
      color: var(--color-text);
      font-size: 18px;
      font-weight: 400;
      cursor: pointer;
      flex-shrink: 0;
      transition: background .12s;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .product-card__qty-btn:hover { background: var(--color-primary-subtle); color: var(--color-primary); }
    .product-card__qty-input {
      flex: 1;
      border: none;
      border-left: 1.5px solid var(--color-border);
      border-right: 1.5px solid var(--color-border);
      text-align: center;
      font-size: var(--text-sm);
      font-weight: 600;
      font-family: var(--font-display);
      color: var(--color-text);
      background: var(--color-surface);
      height: 100%;
      -moz-appearance: textfield;
      padding: 0;
      min-width: 0;
    }
    .product-card__qty-input::-webkit-inner-spin-button,
    .product-card__qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
    .product-card__add-full {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 100%;
      padding: 10px 12px;
      background: var(--color-primary);
      color: #fff;
      border: none;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      font-size: 12px;
      font-weight: 700;
      font-family: var(--font-display);
      cursor: pointer;
      transition: background .25s ease;

    }
    .product-card__add-full:hover { background: var(--color-primary-hover); }
    .product-card__add-full.added,
    .product-card__add-full.in-cart {
      background: #22a25c;
      transition: background .25s ease;
    }
    .product-card__add-full.added { pointer-events: none; }
    .product-card__add-full .add-label,
    .product-card__add-full .add-label-done {
      display: flex; align-items: center; gap: 6px;
    }
    .product-card__add-full .add-label-done { display: none; }
    .product-card__add-full.added .add-label,
    .product-card__add-full.in-cart .add-label { display: none; }
    .product-card__add-full.added .add-label-done,
    .product-card__add-full.in-cart .add-label-done { display: flex; }

    /* ── Цена товара ── */
    .pc-price {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0px;
      min-width: 0;
    }
    /* Старая цена — по умолчанию скрыта, появляется только при авторизации */
    .pc-price__old {
      display: none;
      font-size: 11px;
      font-weight: 500;
      color: var(--color-text-faint);
      text-decoration: line-through;

      line-height: 1.3;
    }
    .is-auth .pc-price__old {
      display: block;
    }
    /* Основная цена */
    .pc-price__main {
      font-size: 20px;
      font-weight: 800;
      color: var(--color-text);
      letter-spacing: -0.02em;
      line-height: 1.15;
      white-space: nowrap;
    }
    /* При авторизации основная цена меняется на синюю */
    .is-auth .pc-price__main {
      color: var(--color-primary);
    }

        /* ── Ссылки внутри карточки ── */
    .product-card__link {
      display: block;
      text-decoration: none;
      color: inherit;
    }
    .product-card__link--body {
      flex: 1;
    }
    .product-card__link:hover .product-card__name {
      color: var(--color-primary);
    }
  /* === Product page styles === */

    /* ── Hero ── */
    .page-hero { background:linear-gradient(135deg,#0b1f52 0%,#1552d4 60%,#3b72f6 100%); padding:56px 0 48px; color:#fff; position:relative; overflow:hidden; }
    .page-hero::after { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events:none; }
    .page-hero__inner { position:relative; z-index:1; }
    .page-hero__breadcrumb { font-size:var(--text-sm); color:rgba(255,255,255,0.6); margin-bottom:16px; display:flex; align-items:center; gap:8px; }
    .page-hero__breadcrumb a { color:rgba(255,255,255,0.6); text-decoration:none; }
    .page-hero__breadcrumb a:hover { color:#fff; }
    .page-hero__breadcrumb span { color:rgba(255,255,255,0.35); }
    .page-hero__title { font-family:var(--font-display); font-size:clamp(2rem,4vw,3rem); font-weight:800; margin:0 0 12px; letter-spacing:-0.03em; line-height:1.1; }
    .page-hero__subtitle { font-size:var(--text-lg); color:rgba(255,255,255,0.92); max-width:520px; }

    /* ── Карточка ── */
    .product-section { padding:56px 0 48px; }
    .product-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
    @media (max-width:860px) { .product-layout { grid-template-columns:1fr; gap:28px; } }
    .product-specs-full { margin-top:40px; }

    /* ── Таблица + Сфера применения рядом ── */
    .specs-uses-grid { display:grid; grid-template-columns:58% 1fr; gap:32px; align-items:start; margin-top:40px; }
    @media (max-width:860px) { .specs-uses-grid { grid-template-columns:1fr; gap:24px; } }
    .specs-uses-grid .product-specs-full { margin-top:0; }
    .uses-side { }
    .uses-side-list { display:flex; flex-direction:column; gap:10px; }
    .uses-side-item { display:flex; align-items:center; gap:12px; background:var(--color-surface); border:1.5px solid var(--color-border); border-radius:var(--radius-lg); padding:12px 16px; }
    .uses-side-item__icon { width:36px; height:36px; min-width:36px; border-radius:var(--radius-md); display:flex; align-items:center; justify-content:center; }
    .uses-side-item__icon--home   { background:#d1fae5; color:#059669; }
    .uses-side-item__icon--med    { background:#fee2e2; color:#dc2626; }
    .uses-side-item__icon--ind    { background:#fef3c7; color:#d97706; }
    .uses-side-item__icon--hotel  { background:#ede9fe; color:#7c3aed; }
    .uses-side-item__icon--craft  { background:#fce7f3; color:#db2777; }
    [data-theme="dark"] .uses-side-item__icon--home  { background:rgba(5,150,105,0.2);  color:#34d399; }
    [data-theme="dark"] .uses-side-item__icon--med   { background:rgba(220,38,38,0.2);  color:#f87171; }
    [data-theme="dark"] .uses-side-item__icon--ind   { background:rgba(217,119,6,0.2);  color:#fbbf24; }
    [data-theme="dark"] .uses-side-item__icon--hotel { background:rgba(124,58,237,0.2); color:#a78bfa; }
    [data-theme="dark"] .uses-side-item__icon--craft { background:rgba(219,39,119,0.2); color:#f472b6; }
    .uses-side-item__label { font-size:var(--text-sm); font-weight:600; color:#111827; line-height:1.35; }
    [data-theme="dark"] .uses-side-item__label { color:rgba(255,255,255,0.9); }

    .product-photo-wrap { position:sticky; top:24px; }
    .product-photo { border-radius:var(--radius-xl); overflow:hidden; border:1.5px solid var(--color-border); background:var(--color-surface); aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
    .product-photo img { width:100%; height:100%; object-fit:contain; padding:32px; box-sizing:border-box; }

    .product-info { display:flex; flex-direction:column; gap:20px; }
    .product-info__sku { font-size:var(--text-xs); color:#6b7280; text-transform:uppercase; letter-spacing:0.08em; font-weight:700; }
    .product-info__name { font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.1rem); font-weight:800; letter-spacing:-0.03em; line-height:1.12; margin:4px 0 0; color:var(--color-text); }
    .product-info__desc { font-size:var(--text-base); color:#4b5563; line-height:1.75; margin:0; }
    [data-theme="dark"] .product-info__desc { color:rgba(255,255,255,0.65); }

    /* ── Блок цены (гость) ── */
    /* ── Блок цены на странице товара ── */
    .product-price-block {
      border-radius: var(--radius-xl);
      border: 1.5px solid var(--color-border);
      overflow: hidden;
      background: var(--color-surface);
    }
    .price-main-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 20px 24px;
    }
    /* Блок цены */
    .price-value-block {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    /* Старая цена — скрыта, появляется при авторизации */
    .price-old {
      display: none;
      font-size: 13px;
      font-weight: 500;
      color: var(--color-text-faint);
      text-decoration: line-through;
      line-height: 1.3;
    }
    .is-auth .price-old { display: block; }
    /* Основная цена */
    .price-main {
      font-family: var(--font-display);
      font-size: 2.4rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1;
      color: var(--color-text);

    }
    .is-auth .price-main { color: var(--color-primary); }
    /* Правая часть — счётчик и кнопка */
    .price-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }
    @media (max-width:600px) {
      .price-main-row { flex-direction: column; align-items: flex-start; gap: 16px; }
      .price-actions { width: 100%; }
      .price-cart-btn { flex: 1; }
    }

    /* ── Таблица характеристик ── */
    .specs-table { width:100%; border-collapse:separate; border-spacing:0; border:1.5px solid var(--color-border); border-radius:var(--radius-xl); overflow:hidden; font-size:var(--text-sm); }
    .specs-table tr td { padding:15px 20px; border-bottom:1px solid var(--color-border); vertical-align:middle; line-height:1.5; }
    .specs-table tr:last-child td { border-bottom:none; }
    .specs-table .specs-key { background:var(--color-surface); color:var(--color-text); font-weight:600; width:260px; border-right:1.5px solid var(--color-border); }
    .specs-table .specs-key-inner { display:flex; align-items:center; gap:10px; }
    .specs-table .specs-key-icon { width:30px; height:30px; border-radius:8px; background:#eff4ff; color:#1552d4; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
    [data-theme="dark"] .specs-table .specs-key-icon { background:rgba(21,82,212,0.2); }
    [data-theme="dark"] .specs-table .specs-key { background:rgba(255,255,255,0.03); }
    .specs-table .specs-val { font-weight:600; color:#111827; padding-left:28px; background:var(--color-bg); }
    [data-theme="dark"] .specs-table .specs-val { color:rgba(255,255,255,0.9); background:transparent; }

    /* ── Секции ── */
    .section-heading { font-family:var(--font-display); font-size:clamp(1.5rem,3vw,2.2rem); font-weight:800; letter-spacing:-0.03em; margin-bottom:8px; color:var(--color-text); }
    .section-lead { font-size:var(--text-lg); color:#374151 !important; max-width:660px; margin-bottom:40px; line-height:1.6; }
    [data-theme="dark"] .section-lead { color:rgba(255,255,255,0.72) !important; }
    .product-advantages { padding:0 0 64px; }
    .advantages-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
    @media (max-width:860px) { .advantages-grid { grid-template-columns:repeat(2,1fr); } }
    @media (max-width:520px) { .advantages-grid { grid-template-columns:1fr; } }
    .advantage-card { background:var(--color-surface); border:1.5px solid var(--color-border); border-radius:var(--radius-xl); padding:28px 24px 24px; }
    .advantage-card__icon { width:44px; height:44px; background:#eff4ff; color:#1552d4; border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
    [data-theme="dark"] .advantage-card__icon { background:rgba(21,82,212,0.18); }
    .advantage-card__title { font-family:var(--font-display); font-size:var(--text-base); font-weight:700; color:var(--color-text); margin:0 0 8px; line-height:1.3; }
    .advantage-card__text { font-size:var(--text-sm); color:#4b5563; line-height:1.65; margin:0; }
    [data-theme="dark"] .advantage-card__text { color:rgba(255,255,255,0.65); }
    .product-uses { padding:0 0 64px; }
    .uses-list { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
    @media (max-width:900px) { .uses-list { grid-template-columns:repeat(3,1fr); } }
    @media (max-width:560px) { .uses-list { grid-template-columns:repeat(2,1fr); } }
    .use-item { background:var(--color-surface); border:1.5px solid var(--color-border); border-radius:var(--radius-xl); padding:24px 16px 20px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; }
    .use-item__icon { width:48px; height:48px; background:#eff4ff; color:#1552d4; border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:center; }
    [data-theme="dark"] .use-item__icon { background:rgba(21,82,212,0.18); }
    .use-item__label { font-size:var(--text-sm); font-weight:700; color:#111827; line-height:1.4; }
    [data-theme="dark"] .use-item__label { color:rgba(255,255,255,0.9); }
    .price-cart-row {
      display: flex !important;
      align-items: center;
      gap: 8px;
      width: 100%;
      box-sizing: border-box;
    }
    .qty-control {
      display: flex;
      align-items: center;
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      background: var(--color-bg);
      flex-shrink: 0;
    }
    .qty-btn {
      width: 36px;
      height: 44px;
      border: none;
      background: none;
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--color-text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .12s, color .12s;
      font-family: var(--font-body);
      line-height: 1;
    }
    .qty-btn:hover {
      background: var(--color-surface);
      color: var(--color-primary);
    }
    .qty-input {
      width: 52px;
      height: 44px;
      border: none;
      border-left: 1.5px solid var(--color-border);
      border-right: 1.5px solid var(--color-border);
      text-align: center;
      font-size: var(--text-base);
      font-weight: 700;
      font-family: var(--font-display);
      color: var(--color-text);
      background: var(--color-bg);
      outline: none;
      -moz-appearance: textfield;
    }
    .qty-input::-webkit-inner-spin-button,
    .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
    .price-cart-btn {
      justify-content: center;
      display: inline-flex !important;
      align-items: center;
      gap: 8px;
      height: 44px;
      padding: 0 20px;

      box-sizing: border-box;
    }
    .price-auth-btn {
      width: 100%;
      justify-content: center;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      height: 44px;
      box-sizing: border-box;
    }

    /* ── Модальное окно авторизации ── */
    .auth-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(10,15,30,0.55);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      z-index: 9999;
      align-items: center;
      justify-content: center;
    }
    .auth-modal-overlay.is-open { display: flex; }
    .auth-modal {
      background: var(--color-bg);
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-xl);
      padding: 40px 36px 36px;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.18);
      position: relative;
      animation: modalIn .2s ease;
    }
    @keyframes modalIn {
      from { opacity:0; transform: translateY(12px) scale(0.97); }
      to   { opacity:1; transform: translateY(0)   scale(1); }
    }
    .auth-modal__close {
      position: absolute;
      top: 16px; right: 16px;
      width: 32px; height: 32px;
      border: none; background: none;
      color: var(--color-text-faint);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      border-radius: var(--radius-md);
      transition: background .12s, color .12s;
    }
    .auth-modal__close:hover { background: var(--color-surface); color: var(--color-text); }
    .auth-modal__logo {
      width: 48px; height: 48px;
      background: linear-gradient(135deg, #1552d4, #3b72f6);
      border-radius: var(--radius-lg);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
      color: #fff;
    }
    .auth-modal__title {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--color-text);
      margin: 0 0 6px;
    }
    .auth-modal__sub {
      font-size: var(--text-sm);
      color: var(--color-text-faint);
      margin: 0 0 28px;
    }
    .auth-modal__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .auth-modal__label {
      font-size: var(--text-xs);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--color-text-faint);
    }
    .auth-modal__input {
      height: 46px;
      padding: 0 14px;
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-md);
      font-size: var(--text-base);
      font-family: var(--font-body);
      color: var(--color-text);
      background: var(--color-surface);
      outline: none;
      transition: border-color .15s, box-shadow .15s;
      width: 100%;
      box-sizing: border-box;
    }
    .auth-modal__input:focus {
      border-color: var(--color-primary);
      box-shadow: 0 0 0 3px rgba(21,82,212,0.12);
    }
    .auth-modal__submit {
      width: 100%;
      height: 48px;
      margin-top: 8px;
      background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
      color: #fff;
      border: none;
      border-radius: var(--radius-lg);
      font-family: var(--font-display);
      font-size: var(--text-base);
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 16px rgba(21,82,212,0.3);
      transition: opacity .15s, transform .1s;
      letter-spacing: -0.01em;
    }
    .auth-modal__submit:hover { opacity: .92; }
    .auth-modal__submit:active { transform: scale(0.98); }
    .auth-modal__footer {
      text-align: center;
      margin-top: 18px;
      font-size: var(--text-xs);
      color: var(--color-text-faint);
    }
    .auth-modal__footer a { color: var(--color-primary); text-decoration: none; font-weight: 600; }

  


    /* ── Header cart button ── */
    .header-cart {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px 8px 12px;
      background: var(--color-primary);
      color: #fff;
      border-radius: 8px;
      text-decoration: none;
      transition: background .15s, box-shadow .15s;
      box-shadow: 0 2px 8px rgba(21,82,212,0.18);

    }
    .header-cart:hover { background: var(--color-primary-hover); box-shadow: 0 4px 14px rgba(21,82,212,0.28); }
    .header-cart__icon { position: relative; display: flex; align-items: center; flex-shrink: 0; }
    .header-cart__badge {
      position: absolute;
      top: -7px; right: -8px;
      background: #fff;
      color: var(--color-primary);
      font-size: 10px;
      font-weight: 800;
      font-family: var(--font-display);
      width: 17px; height: 17px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      line-height: 1;
    }
    .header-cart__info { display: flex; flex-direction: column; gap: 1px; }
    .header-cart__label { font-size: 11px; font-weight: 500; opacity: .8; line-height: 1; }
    .header-cart__sum { font-size: var(--text-sm); font-weight: 700; font-family: var(--font-display); line-height: 1; letter-spacing: -0.01em; }

    /* ── Header phone ── */
    .header-phone {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px 8px 12px;
      background: var(--color-surface);
      border: 1.5px solid var(--color-border);
      color: var(--color-text);
      border-radius: 8px;
      text-decoration: none;
      transition: border-color .15s, background .15s;

    }
    .header-phone:hover { border-color: var(--color-primary); background: var(--color-primary-subtle); }
    .header-phone__icon {
      width: 34px; height: 34px;
      border-radius: 50%;
      background: var(--color-primary-subtle);
      color: var(--color-primary);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .header-phone__info { display: flex; flex-direction: column; gap: 1px; }
    .header-phone__label { font-size: 10px; font-weight: 500; color: var(--color-text-faint); line-height: 1; }
    .header-phone__number { font-size: var(--text-sm); font-weight: 700; font-family: var(--font-display); color: var(--color-text); line-height: 1; letter-spacing: -0.01em; }
    .header-phone:hover .header-phone__number { color: var(--color-primary); }

    /* ── Text logo ── */
    .header-logo { gap: 8px !important; text-decoration: none; align-items: center !important; }
    .header-logo__girl {
      height: 48px; width: auto;
      flex-shrink: 0;
      display: block;
    }
    .header-logo__text { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
    .header-logo__top {
      font-family: var(--font-display);
      font-size: 20px; font-weight: 800;
      color: var(--color-primary);
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .header-logo__bottom {
      font-family: var(--font-display);
      font-size: 12px; font-weight: 500;
      color: var(--color-text-faint);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ── Fix search bar height to match login button (48px) ── */
    .search-bar { height: 48px; }
    .search-bar input { padding-top: 0 !important; padding-bottom: 0 !important; }
    .search-bar__btn { height: 48px !important; width: 56px !important; }

    /* ── Search button override (icon only, fixed height) ── */
    .search-bar__btn {
      width: 52px !important;
      padding: 0 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%) !important;
    }
    .search-bar__btn:hover { background: linear-gradient(135deg, #1045b8 0%, #2b5ee8 100%) !important; }

    /* ── Header login button ── */
    .header-login-btn {
      display: flex;
      align-items: center;
      gap: 0;
      padding: 0 18px 0 6px;
      height: 48px;
      background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-family: var(--font-display);
      cursor: pointer;

      box-shadow: 0 3px 12px rgba(21,82,212,0.25);
      transition: box-shadow .15s, transform .1s;
    }
    .header-login-btn:hover { box-shadow: 0 6px 20px rgba(21,82,212,0.35); transform: translateY(-1px); }
    .header-login-btn:active { transform: translateY(0); }
    .header-login-btn__avatar {
      width: 36px; height: 36px;
      border-radius: 8px;
      background: rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      margin-right: 10px;
    }
    .header-login-btn__divider {
      width: 1px; height: 28px;
      background: rgba(255,255,255,0.2);
      margin-right: 12px;
      flex-shrink: 0;
    }
    .header-login-btn__text {
      display: flex; flex-direction: column; gap: 7px;
      margin-right: 10px;
    }
    .header-login-btn__sub {
      font-size: 10px; font-weight: 500; opacity: .75; line-height: 1;
    }
    .header-login-btn__main {
      font-size: var(--text-sm); font-weight: 700; line-height: 1; letter-spacing: -0.01em;
    }
    .header-login-btn__arrow { opacity: .7; flex-shrink: 0; }

/* ── Кнопка «Выйти» в шапке ── */
.header-logout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, #1552d4 0%, #3b72f6 100%);
  color: #fff;
  border: none; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(21,82,212,0.25);
  transition: box-shadow .15s, transform .1s, opacity .15s;
  opacity: 0.7;
}
.header-logout-btn:hover { box-shadow: 0 6px 20px rgba(21,82,212,0.35); transform: translateY(-1px); opacity: 1; }
.header-logout-btn:active { transform: translateY(0); }
  

/* ── Featured tabs (главная — Популярные товары) ── */
.featured-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.featured-tab {
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  font-family: var(--font-display);
}
.featured-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.featured-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.featured-tab-panel {
  margin-top: var(--space-4);
}

/* ── Hero карточки с фото ── */
.hero__card--photo {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  display: block;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  position: relative;
  background: #050f28;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.hero__card--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 1;
}
.hero__card--photo:hover {
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 0 1px rgba(99,148,255,0.25), 0 0 24px rgba(59,114,246,0.18);
}
.hero__card--photo:hover::after {
  opacity: 1;
}
.hero__card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Лейбл поверх фото */
.hero__card-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 18px 18px 32px;
  background: linear-gradient(to bottom, rgba(4,12,35,0.85) 0%, rgba(4,12,35,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 2;
  transition: background .3s ease;
}
.hero__card-label__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero__card-label__badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 7px calc(10px - 0.06em) 7px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.hero__card--photo:hover .hero__card-label__badge {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.hero__card-label__arrow { display: none; }
.hero__card-caption { display: none; }

/* ===== PRODUCT PAGE ===== */
.product-page { padding: 40px 0 60px; }
.product-page .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #888; margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a { color: #2563eb; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.product-page__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .product-page__inner { grid-template-columns: 1fr; gap: 24px; } }

.product-page__gallery { background: #f8f8f8; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.product-page__img { width: 100%; height: auto; max-height: 420px; object-fit: contain; display: block; padding: 20px; }

.product-page__info { display: flex; flex-direction: column; gap: 16px; }
.product-page__article { font-size: 13px; color: #888; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.product-page__title { font-size: 28px; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin: 0; }

.product-page__prices { display: flex; flex-direction: column; gap: 8px; background: #f8f9fb; border-radius: 10px; padding: 16px 20px; }
.product-page__price-row { display: flex; justify-content: space-between; align-items: center; }
.product-page__label { font-size: 15px; color: #555; }
.product-page__price { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.product-page__price--opt { color: #2563eb; }

.product-page__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.product-page__qty-wrap { display: flex; align-items: center; border: 1.5px solid #ddd; border-radius: 8px; overflow: hidden; }
.qty-btn { background: #f0f0f0; border: none; width: 36px; height: 44px; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.qty-btn:hover { background: #e0e0e0; }
.qty-input { width: 52px; height: 44px; border: none; text-align: center; font-size: 16px; font-weight: 600; outline: none; }
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.add-to-cart-btn { flex: 1; min-width: 160px; padding: 12px 24px; font-size: 16px; font-weight: 600; border-radius: 8px; cursor: pointer; border: none; background: #2563eb; color: #fff; transition: background 0.18s; }
.add-to-cart-btn:hover { background: #1d4ed8; }

.product-page__back { margin-top: 8px; }
.link-back { color: #2563eb; text-decoration: none; font-size: 14px; }
.link-back:hover { text-decoration: underline; }

/* ── Hero photo cards — no motion ── */
.hero__card--photo,
.hero__card--photo:hover,
.hero__card--photo img,
.hero__card--photo:hover img {
  transform: none !important;
  transition: border-color .25s ease, box-shadow .25s ease !important;
}
.hero__card--photo::after { display: none !important; }

/* ── Карточка товара — кликабельная ссылка на страницу ── */
.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card__link:hover .product-card__name {
  color: var(--color-primary);
}
.product-card__link:hover .product-card__img-wrap img {
  transform: scale(1.03);
  transition: transform .25s ease;
}
.product-card__img-wrap img {
  transition: transform .25s ease;
}


/* MOBILE-OVERFLOW-FIX-20260712 */
@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .footer__copyright { white-space: normal; }
  .footer__bottom-links { flex-wrap: wrap; }

  /* global fixed bottom action bar: reflow within viewport */
  [role="toolbar"][aria-label="Быстрые действия"] > div { padding-inline: 12px !important; gap: 10px !important; }
  [aria-label="Быстрые действия"] a[href^="tel:"] { flex-shrink: 1 !important; min-width: 0 !important; }
  [aria-label="Быстрые действия"] a[href^="tel:"] > div > div:last-child { display: none !important; }
  .bottom-bar__cart-btn.header-login-btn { min-width: 0 !important; flex: 0 1 auto !important; }
  .bottom-bar__cart-total { display: none !important; }
}


/* PDP-MIGRATE-20260712 */
.product-hero .page-hero__crumb-current { color: rgba(255,255,255,0.9); }
.product-section { padding: 40px 0 56px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; gap: 24px; } }

.product-photo-wrap { position: sticky; top: 24px; }
@media (max-width: 860px) { .product-photo-wrap { position: static; } }
.product-section .product-photo { position: relative; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--color-border); background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.product-section .product-photo img { width: 100%; height: 100%; object-fit: contain; padding: 24px; box-sizing: border-box; background: #fff; }

/* on-image quick add-to-cart control (mirrors category card hooks) */
.pdp-photo-cart { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1.5px solid var(--color-border); border-radius: 12px; box-shadow: 0 6px 22px rgba(0,0,0,0.14); box-sizing: border-box; }
.pdp-photo-cart .product-card__qty { flex-shrink: 0; margin: 0; }
.pdp-photo-cart .product-card__add-full { flex: 1 1 auto; margin: 0; min-width: 0; }
@media (max-width: 480px) { .pdp-photo-cart { left: 8px; right: 8px; bottom: 8px; padding: 8px; gap: 8px; } }

.product-info { display: flex; flex-direction: column; gap: 16px; }
.product-info__sku { font-size: 12px; color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.product-info__name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 4px 0 0; color: var(--color-text); }
.product-info__price { margin: 4px 0; }
.product-info__price .pc-price__main { font-size: 2rem; font-weight: 800; }
.product-info__desc { font-size: 15px; color: var(--color-text-muted); line-height: 1.7; margin: 4px 0 0; }

.specs-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1.5px solid var(--color-border); border-radius: 14px; overflow: hidden; font-size: 14px; }
.specs-table td { padding: 12px 16px; border-bottom: 1px solid var(--color-border); vertical-align: middle; line-height: 1.5; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table .specs-key { background: var(--color-surface); font-weight: 600; width: 45%; border-right: 1.5px solid var(--color-border); color: var(--color-text); }
.specs-table .specs-val { font-weight: 600; color: var(--color-text); }

/* SQUARE-CARDS-20260712 */
/* unify 300x300 square across catalog/category/PDP + placeholder; reserve space to avoid layout shift */
.product-card__img-wrap { aspect-ratio: 1 / 1; }
.product-card__img-wrap img,
.product-section .product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-card__img-placeholder { aspect-ratio: 1 / 1; }