/* ATTRON extracted styles. Source: index.html, generated 20260729-opt1. */

/* Source inline <style>, original line 589 */
:root {

  --c0: #050d1a;

  --c1: #0a1628;

  --c2: #0d1f3c;

  --c3: #102850;

  --accent: #00d4ff;

  --accent2: #0077ff;

  --accent3: #00ff9d;

  --danger: #ff4757;

  --warning: #ffa502;

  --success: #2ed573;

  --text: #e8f0fe;

  --text-muted: #a7bed8;

  --text-dim: #7892b0;

  --border: rgba(0,212,255,0.12);

  --border-hover: rgba(0,212,255,0.35);

  --glow: 0 0 20px rgba(0,212,255,0.15);

  --glow-strong: 0 0 40px rgba(0,212,255,0.3);

  --radius: 12px;

  --radius-lg: 20px;

  --mono: 'JetBrains Mono', monospace;

  --sans: 'Space Grotesk', sans-serif;

}



/* ── LIGHT THEME ── */

html[data-theme="light"] {

  --c0: #f0f4fa;

  --c1: #ffffff;

  --c2: #e8eef8;

  --c3: #dbe5f5;

  --accent: #0066cc;

  --accent2: #0055bb;

  --accent3: #00aa66;

  --danger: #d93025;

  --warning: #e67e00;

  --success: #1a8a4a;

  --text: #0d1b2e;

  --text-muted: #4a6080;

  --text-dim: #8aa0bc;

  --border: rgba(0,100,200,0.15);

  --border-hover: rgba(0,100,200,0.4);

  --glow: 0 0 20px rgba(0,100,200,0.12);

  --glow-strong: 0 0 40px rgba(0,100,200,0.22);

}



html[data-theme="light"] body {

  background: var(--c0);

  color: var(--text);

}



html[data-theme="light"] .header {

  background: rgba(240,244,250,0.92);

}



html[data-theme="light"] #bgCanvas {

  opacity: 0.18;

  filter: hue-rotate(200deg) invert(1) brightness(0.35);

}



html[data-theme="light"] ::-webkit-scrollbar-track { background: var(--c2); }

html[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--accent2); }



/* ── THEME TOGGLE BUTTON ── */

.theme-toggle {

  display: flex;

  align-items: center;

  gap: 0.4rem;

  background: transparent;

  border: 1px solid var(--border);

  color: var(--text-muted);

  padding: 0.32rem 0.7rem;

  border-radius: 40px;

  font-size: 0.72rem;

  font-family: var(--mono);

  cursor: pointer;

  transition: all 0.22s;

  white-space: nowrap;

  letter-spacing: 0.02em;

}

.theme-toggle:hover {

  border-color: var(--accent);

  color: var(--accent);

  box-shadow: var(--glow);

}

.theme-toggle__icon {

  font-size: 0.85rem;

  line-height: 1;

  transition: transform 0.35s;

}

.theme-toggle:hover .theme-toggle__icon {

  transform: rotate(20deg);

}



/* Logo switching */

.logo-dark { display: block; }

.logo-light { display: none; }

html[data-theme="light"] .logo-dark { display: none; }

html[data-theme="light"] .logo-light { display: block; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

  font-family: var(--sans);

  background: var(--c0);

  color: var(--text);

  line-height: 1.6;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  min-height: 100vh;

}

.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }



/* ── PCB BACKGROUND ── */

#bgCanvas {

  position: fixed; top: 0; left: 0; width: 100%; height: 100%;

  pointer-events: none !important;

  z-index: 0;

  opacity: 0.75;

}



/* ── ICON SYSTEM ── */

.icon {

  display: inline-flex; align-items: center; justify-content: center;

  flex-shrink: 0; vertical-align: middle;

}

.icon svg { display: block; }

/* Icon sizes */

.icon-xs svg { width: 12px; height: 12px; }

.icon-sm svg { width: 16px; height: 16px; }

.icon-md svg { width: 20px; height: 20px; }

.icon-lg svg { width: 24px; height: 24px; }

.icon-xl svg { width: 32px; height: 32px; }

.icon-2xl svg { width: 48px; height: 48px; }

/* Icon colors */

.icon-accent svg { stroke: var(--accent); }

.icon-muted svg { stroke: var(--text-muted); }

.icon-dim svg { stroke: var(--text-dim); }

.icon-danger svg { stroke: var(--danger); }

.icon-success svg { stroke: var(--success); }

.icon-warning svg { stroke: var(--warning); }

.icon-white svg { stroke: white; }

.icon-current svg { stroke: currentColor; }

::-webkit-scrollbar { width: 6px; }

::-webkit-scrollbar-track { background: var(--c1); }

::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }



/* ── TOP BAR ── */

.topbar {

  background: var(--c2);

  border-bottom: 1px solid var(--border);

  font-size: 0.76rem;

  font-family: var(--mono);

  position: relative; z-index: 201;

}

.topbar__inner {

  display: flex; align-items: center; justify-content: space-between;

  padding: 0.35rem 0; gap: 1rem;

}

.topbar__left {

  display: flex; align-items: center; gap: 0.4rem;

  color: var(--text-dim);

}

.topbar__left span { color: var(--accent); animation: blink 2.5s steps(1) infinite; }

.topbar__right {

  display: flex; align-items: center; gap: 1.25rem;

}

.topbar__link {

  display: flex; align-items: center; gap: 0.4rem;

  color: var(--text-muted); text-decoration: none;

  transition: color 0.2s; white-space: nowrap;

}

.topbar__link:hover { color: var(--accent); }

.topbar__link svg { flex-shrink: 0; }

.topbar__sep {

  width: 1px; height: 12px; background: var(--border);

}

@media (max-width: 600px) {

  .topbar__left { display: none; }

  .topbar__right { gap: 0.75rem; }

}



/* ── CURRENCY TICKER ── */

.currency-ticker {

  display: flex; align-items: center; gap: 0.9rem;

  font-family: var(--mono); font-size: 0.72rem;

  color: var(--text-muted);

}

.currency-ticker__item {

  display: flex; align-items: center; gap: 0.3rem;

  white-space: nowrap;

}

.currency-ticker__code { color: var(--accent); font-weight: 500; letter-spacing: 0.04em; }

.currency-ticker__val { color: var(--text); }

.currency-ticker__sep { width: 1px; height: 10px; background: var(--border); }

.currency-ticker--footer {

  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;

  font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted);

  padding: 0.9rem 0; border-top: 1px solid var(--border); margin-top: 1.5rem;

}

.currency-ticker--footer .currency-ticker__item { gap: 0.35rem; }

.currency-ticker--footer .currency-ticker__label { font-size: 0.65rem; color: var(--text-dim); margin-right: 0.3rem; }

.currency-ticker--footer .currency-ticker__date { font-size: 0.65rem; color: var(--text-dim); margin-left: auto; }

@media (max-width: 600px) { .currency-ticker { display: none; } }

/* ── HEADER ── */

.header {

  position: sticky; top: 0; z-index: 200;

  background: rgba(5,13,26,0.85);

  backdrop-filter: blur(20px) saturate(1.5);

  border-bottom: 1px solid var(--border);

  transition: box-shadow 0.3s;

}

.header.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.6); }

.header__inner {

  display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0;

}



/* Logo */

.logo {

  display: flex; align-items: center;

  text-decoration: none; flex-shrink: 0;

  transition: opacity 0.25s, filter 0.25s;

}

.logo:hover { opacity: 0.88; filter: drop-shadow(0 0 8px rgba(0,212,255,0.4)); }

.logo-img {

  height: 42px; width: auto; object-fit: contain;

}

/* Footer logo – slightly smaller */

.logo-footer .logo-img { height: 36px; }



/* Catalog Button */

.catalog-menu-wrapper { position: relative; }

.catalog-btn {

  background: transparent; border: 1px solid var(--border);

  color: var(--text); padding: 0.55rem 1rem;

  border-radius: var(--radius); font-weight: 500; font-size: 0.9rem;

  cursor: pointer; transition: all 0.25s;

  display: flex; align-items: center; gap: 0.5rem;

  white-space: nowrap; font-family: var(--sans);

}

.catalog-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }

.catalog-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(0,212,255,0.04); }

.catalog-btn .arrow { font-size: 0.65rem; transition: transform 0.2s; }

.catalog-btn.active .arrow { transform: rotate(180deg); }



/* ── MEGA MENU ── */

.mega-menu {

  position: fixed;

  top: var(--mega-top, 120px);

  left: 0; right: 0;

  background: transparent;

  display: none; z-index: 300;

  animation: megaIn 0.2s ease-out;

  pointer-events: none;

}

@keyframes megaIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.catalog-menu-wrapper.open .mega-menu { display: block; pointer-events: all; }



.mega-menu__shell {

  max-width: 1300px; margin: 0 auto; padding: 0 1.5rem;

}

.mega-menu__panel {

  display: flex;

  background: var(--c1);

  border: 1px solid var(--border);

  border-top: 2px solid var(--accent);

  border-radius: 0 0 var(--radius-lg) var(--radius-lg);

  box-shadow: 0 24px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(0,212,255,0.04);

  overflow: hidden;

  height: 520px;

}

@media (max-width: 768px) {

  .mega-menu__shell { padding: 0; }

  .mega-menu__panel { flex-direction: column; height: auto; max-height: 65vh; border-radius: 0; }

}

@media (max-width: 480px) {

  .mega-menu__panel { max-height: 55vh; }

}



/* Left: root categories list */

.mega-cats-list {

  width: 240px;

  flex-shrink: 0;

  border-right: 1px solid var(--border);

  overflow-y: auto;

  background: var(--c2);

  padding: 0.5rem 0;

}

.mega-cats-list::-webkit-scrollbar { width: 3px; }

.mega-cats-list::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }



.mega-cat-row {

  display: flex; align-items: center; justify-content: space-between;

  padding: 0.72rem 1rem 0.72rem 1.25rem;

  cursor: pointer; transition: all 0.15s;

  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);

  border-left: 3px solid transparent;

  user-select: none; gap: 0.5rem;

}

.mega-cat-row:hover {

  background: rgba(0,212,255,0.06); color: var(--text);

  border-left-color: rgba(0,212,255,0.35);

}

.mega-cat-row.active {

  background: rgba(0,212,255,0.08); color: var(--accent);

  border-left-color: var(--accent); font-weight: 600;

}

.mega-cat-row__name { flex: 1; line-height: 1.3; }

.mega-cat-row__meta {

  display: flex; align-items: center; gap: 0.35rem;

  flex-shrink: 0;

}

.mega-cat-row__count {

  font-size: 0.65rem; font-family: var(--mono);

  color: var(--text-dim); background: rgba(255,255,255,0.05);

  padding: 0.1rem 0.4rem; border-radius: 6px;

  transition: all 0.15s;

}

.mega-cat-row.active .mega-cat-row__count { background: rgba(0,212,255,0.12); color: var(--accent); }

.mega-cat-row__arrow {

  font-size: 0.7rem; color: var(--text-dim);

  transition: all 0.15s; opacity: 0;

}

.mega-cat-row:hover .mega-cat-row__arrow,

.mega-cat-row.active .mega-cat-row__arrow { opacity: 1; color: var(--accent); transform: translateX(2px); }



/* Right: sub-categories panel */

.mega-subs-panel {

  flex: 1; overflow-y: auto; padding: 0;

  background: var(--c1);

  display: flex; flex-direction: column;

}

.mega-subs-panel::-webkit-scrollbar { width: 3px; }

.mega-subs-panel::-webkit-scrollbar-thumb { background: var(--accent2); }



.mega-subs-empty-state {

  display: flex; flex-direction: column;

  align-items: center; justify-content: center;

  height: 100%; gap: 0.6rem;

  color: var(--text-dim); font-size: 0.88rem;

}

.mega-subs-empty-state svg { opacity: 0.25; }



/* Sub-panel header */

.mega-subs-header {

  padding: 1.25rem 1.5rem 1rem;

  border-bottom: 1px solid var(--border);

  display: flex; align-items: center; justify-content: space-between;

  flex-shrink: 0;

}

.mega-subs-header__title {

  font-size: 1.05rem; font-weight: 700; color: var(--text);

  letter-spacing: -0.01em;

}

.mega-subs-header__link {

  font-size: 0.78rem; color: var(--accent); cursor: pointer;

  font-family: var(--mono); transition: opacity 0.2s;

  text-decoration: none; border: none; background: none;

  padding: 0; display: flex; align-items: center; gap: 0.3rem;

}

.mega-subs-header__link:hover { opacity: 0.7; }



/* Grid of sub-groups */

.mega-subs-body {

  padding: 1.25rem 1.5rem;

  flex: 1;

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));

  gap: 1.5rem 2rem;

  align-content: start;

}



/* Each sub-group: one direct child category with its children */

.mega-subgroup { }

.mega-subgroup__head {

  display: flex; align-items: center; gap: 0.4rem;

  margin-bottom: 0.5rem;

}

.mega-subgroup__name {

  font-size: 0.82rem; font-weight: 700;

  color: var(--text); cursor: pointer;

  transition: color 0.15s; line-height: 1.3;

}

.mega-subgroup__name:hover { color: var(--accent); }

.mega-subgroup__count {

  font-size: 0.62rem; font-family: var(--mono);

  color: var(--text-dim); white-space: nowrap;

}

.mega-subgroup__children {

  display: flex; flex-direction: column; gap: 0.18rem;

  padding-left: 0.5rem;

  border-left: 1px solid var(--border);

}

.mega-subchild {

  font-size: 0.78rem; color: var(--text-muted);

  cursor: pointer; padding: 0.22rem 0 0.22rem 0.5rem;

  transition: all 0.15s; line-height: 1.3;

  display: block;

}

.mega-subchild:hover { color: var(--accent); transform: translateX(3px); }



/* No-children direct link */

.mega-direct-link {

  display: inline-flex; align-items: center; gap: 0.35rem;

  font-size: 0.82rem; color: var(--text-muted);

  cursor: pointer; padding: 0.3rem 0.5rem;

  border-radius: 6px; transition: all 0.15s;

}

.mega-direct-link:hover { color: var(--accent); background: rgba(0,212,255,0.05); }

.mega-direct-link svg { flex-shrink: 0; opacity: 0.5; }



/* Search */

.header__search { flex: 1; max-width: 480px; position: relative; }

.search-form {

  display: flex; background: rgba(255,255,255,0.04);

  border: 1px solid var(--border); border-radius: var(--radius);

  overflow: hidden; transition: all 0.25s;

}

.search-form:focus-within { border-color: var(--accent); box-shadow: var(--glow); background: rgba(0,212,255,0.04); }

.search-form input {

  flex: 1; border: none; padding: 0.6rem 1rem;

  font-size: 0.88rem; outline: none; background: transparent;

  color: var(--text); font-family: var(--sans); min-width: 0;

}

.search-form input::placeholder { color: var(--text-dim); }

.search-form button {

  background: transparent; border: none; padding: 0 1rem;

  color: var(--text-muted); cursor: pointer; transition: all 0.2s; font-size: 1rem;

}

.search-form button:hover { color: var(--accent); }

.suggestions-box {

  position: absolute; top: calc(100% + 6px); left: 0; right: 0;

  background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius);

  box-shadow: 0 20px 60px rgba(0,0,0,0.6); max-height: 340px;

  overflow-y: auto; z-index: 310; display: none;

}

.suggestion-item {

  padding: 0.65rem 1rem; border-bottom: 1px solid var(--border);

  cursor: pointer; transition: background 0.15s;

  display: flex; justify-content: space-between; align-items: center;

}

.suggestion-item:hover { background: rgba(0,212,255,0.05); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-name { font-weight: 500; font-size: 0.88rem; color: var(--text); }
html[data-theme="light"] .suggestion-name { color: #0055bb; }
.suggestion-meta { font-size: 0.75rem; color: var(--text-muted); font-family: var(--mono); }
.suggestion-price { font-weight: 700; color: var(--accent); font-size: 0.85rem; margin-left: 1rem; white-space: nowrap; }



/* Header Actions */

.header__right { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }

.action-btn {

  display: flex; flex-direction: column; align-items: center;

  background: transparent; border: 1px solid transparent;

  padding: 0.4rem 0.65rem; border-radius: var(--radius);

  cursor: pointer; transition: all 0.2s; position: relative;

  color: var(--text-muted); font-family: var(--sans); min-width: 58px;

}

.action-btn:hover { border-color: var(--border); color: var(--accent); background: rgba(0,212,255,0.04); }

.action-icon { font-size: 1.2rem; margin-bottom: 0.1rem; position: relative; }

.action-badge {

  position: absolute; top: -3px; right: -3px;

  background: var(--danger); color: #fff; font-size: 0.6rem; font-weight: 700;

  min-width: 16px; height: 16px; border-radius: 60px;

  display: none; align-items: center; justify-content: center; padding: 0 3px;

  border: 2px solid var(--c0);

}

.action-text { font-size: 0.68rem; }



/* ── NAV ── */

.navbar { background: rgba(10,22,40,0.6); border-bottom: 1px solid var(--border); position: relative; z-index: 1; }

.nav-links {

  display: flex; gap: 0; list-style: none; overflow-x: auto; scrollbar-width: none;

}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {

  display: inline-flex; align-items: center; gap: 0.3rem;

  padding: 0.65rem 1rem; color: var(--text-muted);

  font-weight: 500; text-decoration: none; transition: all 0.2s;

  white-space: nowrap; font-size: 0.85rem; position: relative;

}

.nav-links a::after {

  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;

  height: 2px; background: var(--accent); border-radius: 2px 2px 0 0;

  transition: all 0.25s;

}

.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-links a:hover::after, .nav-links a.active::after { left: 0.5rem; right: 0.5rem; }



/* Light theme navbar */

html[data-theme="light"] .navbar {

  background: #ffffff;

  border-bottom: 1px solid rgba(0,80,180,0.12);

  box-shadow: 0 1px 0 rgba(0,80,180,0.06);

}

html[data-theme="light"] .nav-links a { color: #2a4070; }

html[data-theme="light"] .nav-links a:hover,

html[data-theme="light"] .nav-links a.active { color: var(--accent); }



/* Light theme mobile drawer */

html[data-theme="light"] .mob-drawer { background: #ffffff; border-right-color: rgba(0,80,180,0.15); }

html[data-theme="light"] .mob-drawer__head { background: #f0f4fa; border-bottom-color: rgba(0,80,180,0.12); }

html[data-theme="light"] .mob-drawer__contacts { background: #f0f4fa; border-bottom-color: rgba(0,80,180,0.12); }

html[data-theme="light"] .mob-drawer__contacts a { color: #2a4070; }

html[data-theme="light"] .mob-nav-item { color: #2a4070; }

html[data-theme="light"] .mob-nav-item:hover,

html[data-theme="light"] .mob-nav-item.active {

  color: var(--accent);

  background: rgba(0,100,200,0.06);

  border-left-color: var(--accent);

}

html[data-theme="light"] .mob-nav-catalog-toggle {

  color: var(--accent);

  background: rgba(0,100,200,0.06);

  border-left-color: var(--accent);

}

html[data-theme="light"] .mob-drawer__footer { background: #f0f4fa; border-top-color: rgba(0,80,180,0.12); }



/* Fix drawer search input (hardcoded nearly-transparent bg) */

html[data-theme="light"] .mob-drawer__search form {

  background: #ffffff !important;

  border-color: rgba(0,80,180,0.2) !important;

}

html[data-theme="light"] .mob-drawer__search input { color: #0d1b2e; background: transparent; }

html[data-theme="light"] .mob-drawer__search input::placeholder { color: #7a9cc0; }



/* ── HERO ── */

.hero {

  position: relative; overflow: hidden; z-index: 1;

  min-height: 540px; display: flex; align-items: center;

}

.hero-bg {

  position: absolute; inset: 0; pointer-events: none;

  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,119,255,0.08) 0%, transparent 70%),

              radial-gradient(ellipse 40% 40% at 85% 20%, rgba(0,212,255,0.05) 0%, transparent 60%);

}

.hero-grid {

  position: absolute; inset: 0; pointer-events: none;

  background-image: linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),

                    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);

  background-size: 60px 60px; mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 80%);

}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(340px, 440px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 4rem 0;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-promo-slider {
  position: relative;
  min-height: 410px;
  border: 1px solid rgba(0,212,255,0.20);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c1);
  box-shadow: 0 20px 70px rgba(0,0,0,0.36), var(--glow);
}
.hero-promo-slide {
  cursor: pointer;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-promo-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.hero-promo-slide__image {
  position: absolute;
  inset: 0;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #06111f;
  filter: brightness(1.08) contrast(1.05) saturate(1.08);
}
.hero-promo-slide__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,13,26,0) 0%, rgba(5,13,26,0.02) 48%, rgba(5,13,26,0.38) 78%, rgba(5,13,26,0.76) 100%),
    radial-gradient(circle at 50% 18%, rgba(0,212,255,0.07), transparent 48%);
}
.hero-promo-slide__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.15rem 1.25rem 3.65rem;
  background: linear-gradient(180deg, rgba(6,17,31,0), rgba(6,17,31,0.66) 30%, rgba(6,17,31,0.94) 100%);
}
.hero-promo-slider .hero-promo-slide__tag {
  color: #00d4ff;
  background: rgba(0, 32, 58, 0.64);
  border-color: rgba(0, 212, 255, 0.48);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}
.hero-promo-slider .hero-promo-slide__title {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.hero-promo-slider .hero-promo-slide__text {
  color: #d8e8ff !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.86);
}
.hero-promo-slider .hero-promo-slide__link {
  color: #33e5ff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}
.hero-promo-slide__tag {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
  background: rgba(0,212,255,0.07);
}
.hero-promo-slide__title {
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.65rem;
  color: var(--text);
}
.hero-promo-slide__text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.hero-promo-slide__link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-promo-slide__link:hover { text-decoration: underline; }
.hero-promo-slide__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.hero-promo-slide__request {
  border: 1px solid rgba(51, 229, 255, 0.42);
  background: rgba(0, 32, 58, 0.62);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0,212,255,0.08), 0 8px 22px rgba(0,0,0,0.26);
  text-shadow: 0 1px 8px rgba(0,0,0,0.75);
}
.hero-promo-slide__request:hover {
  border-color: #33e5ff;
  color: #33e5ff;
  background: rgba(0, 43, 74, 0.84);
}
.hero-promo-controls {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.hero-promo-dots {
  display: flex;
  gap: 0.42rem;
}
.hero-promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-promo-dot.active { background: var(--accent); box-shadow: 0 0 12px rgba(0,212,255,0.7); }
.hero-promo-arrows {
  display: flex;
  gap: 0.45rem;
}
.hero-promo-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(179, 233, 255, 0.62);
  background: rgba(3, 12, 24, 0.72);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.14), 0 8px 24px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.hero-promo-arrow:hover {
  border-color: #33e5ff;
  color: #33e5ff;
  background: rgba(0, 33, 58, 0.84);
  box-shadow: 0 0 0 1px rgba(51, 229, 255, 0.28), 0 0 22px rgba(0, 212, 255, 0.28), 0 8px 24px rgba(0, 0, 0, 0.45);
}
@media (max-width: 1040px) {
  .hero-shell { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero-promo-slider { max-width: 560px; min-height: 430px; }
}
@media (max-width: 540px) {
  .hero-shell { padding: 1.75rem 0 2rem; gap: 1.5rem; }
  .hero-promo-slider { min-height: 430px; }
  .hero-promo-slide__image { background-size: contain; }
  .hero-promo-slide__body { padding: 1rem 1rem 3.4rem; }
  .hero-promo-slide__title { font-size: 1.08rem; }
}


.hero-eyebrow {

  font-family: var(--mono); font-size: 0.75rem; color: var(--accent);

  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;

  display: flex; align-items: center; gap: 0.6rem;

}

.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }

.hero-eyebrow .blink { animation: blink 1.2s steps(1) infinite; }

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-title {

  font-size: 3.2rem; font-weight: 700; line-height: 1.1;

  letter-spacing: -0.03em; margin-bottom: 1rem;

}

.hero-title .line2 { color: var(--accent); }

.hero-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; line-height: 1.7; }

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-primary {

  background: var(--accent2); color: #fff; border: none;

  padding: 0.75rem 1.75rem; border-radius: 40px; font-weight: 600;

  font-size: 0.9rem; cursor: pointer; transition: all 0.25s;

  font-family: var(--sans); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;

  box-shadow: 0 4px 20px rgba(0,119,255,0.35);

}

.btn-primary:hover { background: var(--accent); box-shadow: 0 4px 30px rgba(0,212,255,0.45); transform: translateY(-1px); }

.btn-ghost {

  background: transparent; border: 1px solid var(--border);

  color: var(--text); padding: 0.75rem 1.75rem; border-radius: 40px;

  font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: all 0.25s;

  font-family: var(--sans); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;

}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }

.hero-stats {

  display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem;

  border-top: 1px solid var(--border);

}

.hero-stat-num { font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1; }

.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }



/* ── ADVANTAGES ── */

.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0; }

.advantage-card {

  background: var(--c1); padding: 1.5rem; display: flex;

  align-items: flex-start; gap: 1rem; transition: all 0.25s;

}

.advantage-card:hover { background: rgba(0,212,255,0.04); }

.advantage-icon {

  font-size: 1.4rem; min-width: 40px; width: 44px; height: 44px;

  border-radius: 10px; display: flex; align-items: center; justify-content: center;

  background: rgba(0,119,255,0.15); border: 1px solid rgba(0,119,255,0.3); flex-shrink: 0;

}

.advantage-content h3 { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }

.advantage-content p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }



/* ── SECTIONS ── */

.section-header { display: flex; justify-content: space-between; align-items: center; margin: 2.5rem 0 1.5rem; }

.section-title {

  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;

  display: flex; align-items: center; gap: 0.75rem;

}

.section-title::before { content: ''; display: block; width: 3px; height: 1.4rem; background: linear-gradient(180deg, var(--accent), var(--accent2)); border-radius: 3px; }

.section-link { color: var(--accent); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: opacity 0.2s; }

.section-link:hover { opacity: 0.7; }



/* ── CATEGORIES ── */

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }

.category-card {

  background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius);

  padding: 1.25rem 1rem; text-align: center; cursor: pointer;

  transition: all 0.25s; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;

}

.category-card:hover { border-color: var(--accent); background: rgba(0,212,255,0.04); transform: translateY(-3px); box-shadow: var(--glow); }

.category-icon { font-size: 1.8rem; width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(0,119,255,0.1); border: 1px solid rgba(0,119,255,0.2); }

.category-card__name { font-weight: 600; font-size: 0.82rem; color: var(--text); }

.category-card__count { font-size: 0.7rem; color: var(--text-muted); background: rgba(0,212,255,0.07); padding: 0.15rem 0.5rem; border-radius: 20px; font-family: var(--mono); }



/* ── PRODUCT CARDS ── */

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }

.product-card {

  background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius);

  overflow: hidden; transition: all 0.3s; position: relative; display: flex; flex-direction: column;

}

.product-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5), var(--glow); }
.products-grid { scroll-margin-top: 150px; }

.product-badge {

  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2;

  background: var(--warning); color: var(--c0); font-size: 0.65rem;

  font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 40px; font-family: var(--mono);

}



.product-img {

  background: var(--c2); height: 150px; display: flex; align-items: center;

  justify-content: center; font-size: 2.5rem; cursor: pointer; position: relative; overflow: hidden;

}

.product-img::after {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3));

}

.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; position: relative; z-index: 1; }

.product-info { padding: 0.85rem; flex: 1; display: flex; flex-direction: column; }

.product-brand { font-size: 0.65rem; text-transform: uppercase; color: var(--text-dim); font-weight: 600; font-family: var(--mono); letter-spacing: 0.08em; margin-bottom: 0.25rem; }

.product-title {

  font-weight: 600; margin: 0.1rem 0 0.3rem;

  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

  cursor: pointer; line-height: 1.3; font-size: 0.88rem; transition: color 0.2s;

  color: #ffffff;

}

.product-title a {

  color: #ffffff !important;

  text-decoration: none;

  transition: color 0.2s;

}

.product-title a:hover,

.product-title:hover a { color: var(--accent) !important; }



html[data-theme="light"] .product-title { color: #0055bb; }

html[data-theme="light"] .product-title a { color: #0055bb !important; }

html[data-theme="light"] .product-title a:hover,

html[data-theme="light"] .product-title:hover a { color: #0033aa !important; }

.product-sku { font-size: 0.65rem; color: var(--text-dim); font-family: var(--mono); margin-bottom: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.product-price { font-size: 1.2rem; font-weight: 700; color: var(--accent); margin: 0.3rem 0 0.5rem; }

.product-stock { font-size: 0.72rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.3rem; }

.stock-available { color: var(--success); font-weight: 500; }

.stock-low { color: var(--warning); font-weight: 500; }

.stock-unavailable { color: var(--danger); font-weight: 500; }

.product-actions { display: flex; gap: 0.35rem; margin-top: auto; }

.btn-cart {

  flex: 1; background: var(--accent2); border: none; padding: 0.5rem;

  border-radius: 40px; color: #fff; font-weight: 600; cursor: pointer;

  transition: all 0.25s; display: flex; align-items: center; justify-content: center;

  gap: 0.3rem; font-size: 0.75rem; font-family: var(--sans);
  min-height: 40px;

}

.btn-cart:disabled { background: var(--text-dim); cursor: not-allowed; }

.btn-cart:hover:not(:disabled) { background: var(--accent); box-shadow: 0 4px 15px rgba(0,212,255,0.30); }

.btn-favorite, .btn-compare, .btn-quick {

  background: rgba(255,255,255,0.05); border: 1px solid var(--border);

  width: 40px; height: 40px; border-radius: 40px; cursor: pointer;

  display: flex; align-items: center; justify-content: center;

  font-size: 0.9rem; transition: all 0.2s; flex-shrink: 0;

}

.btn-favorite:hover, .btn-favorite.active { background: rgba(255,71,87,0.15); border-color: var(--danger); }

.btn-compare:hover, .btn-compare.active { background: rgba(0,212,255,0.1); border-color: var(--success); }

.btn-quick:hover { background: rgba(0,212,255,0.08); border-color: var(--accent); }



/* ── CATALOG PAGE ── */

.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.25rem; margin: 1.5rem 0; align-items: start; }

.sidebar {

  background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius-lg);

  padding: 1rem 0; position: sticky; top: 90px; align-self: flex-start;

}

.sidebar-title { font-weight: 700; padding: 0 1rem 0.75rem; border-bottom: 1px solid var(--border); margin-bottom: 0.5rem; font-size: 0.9rem; font-family: var(--mono); color: var(--accent); }

.category-tree { max-height: 55vh; overflow-y: auto; padding: 0 0.5rem; }

.category-tree::-webkit-scrollbar { width: 3px; }

.category-tree::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }

.cat-item {

  display: flex; justify-content: space-between; align-items: center;

  padding: 0.5rem 0.75rem; cursor: pointer; transition: all 0.2s;

  border-radius: 0 8px 8px 0; margin: 0.05rem 0; font-size: 0.82rem;

  font-weight: 500; line-height: 1.3; color: var(--text-muted);

  border-left: 2px solid transparent;

}

.cat-item:hover, .cat-item.active { background: rgba(0,212,255,0.05); color: var(--accent); border-left-color: var(--accent); }

.cat-item.active { font-weight: 600; }

.cat-count { font-size: 0.65rem; background: rgba(0,212,255,0.08); padding: 0.1rem 0.4rem; border-radius: 8px; color: var(--text-dim); flex-shrink: 0; margin-left: 0.3rem; font-family: var(--mono); }

.cat-item.active .cat-count { background: rgba(0,212,255,0.16); color: var(--accent); }

.filters { padding: 0.75rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }

.filters h4 { font-weight: 600; margin-bottom: 0.5rem; font-size: 0.82rem; color: var(--text-muted); font-family: var(--mono); }

.price-inputs { display: flex; gap: 0.3rem; margin: 0.4rem 0 0.6rem; align-items: center; }

.price-inputs input {

  flex: 1; padding: 0.35rem 0.5rem; border: 1px solid var(--border);

  border-radius: 8px; font-size: 0.78rem; transition: all 0.2s; min-width: 0;

  background: var(--c2); color: var(--text); font-family: var(--mono);

}

.price-inputs input:focus { outline: none; border-color: var(--accent); box-shadow: var(--glow); }

.price-inputs input::placeholder { font-size: 0.72rem; color: var(--text-dim); }

.filters button {

  width: 100%; background: var(--accent2); color: white; border: none;

  padding: 0.5rem; border-radius: 40px; margin-bottom: 0.5rem;

  font-weight: 600; cursor: pointer; transition: all 0.25s; font-size: 0.8rem; font-family: var(--sans);

}

.filters button:hover { background: var(--accent); box-shadow: var(--glow); }

.filters label { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.78rem; cursor: pointer; padding: 0.25rem 0; color: var(--text-muted); }

.filters input[type="checkbox"] { width: 14px; height: 14px; cursor: pointer; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.dynamic-filters { border-top: 1px solid var(--border); margin-top: 0.75rem; padding-top: 0.75rem; }
.dynamic-filters__empty { color: var(--text-dim); font-size: 0.75rem; line-height: 1.5; }
.filter-group { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.65rem; margin-top: 0.65rem; }
.filter-group:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.filter-group__title { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; color: var(--text); font-size: 0.78rem; font-weight: 600; margin-bottom: 0.35rem; }
.filter-group__count { color: var(--text-dim); font-size: 0.68rem; font-family: var(--mono); }
.filter-option { justify-content: space-between; gap: 0.45rem; }
.filter-option span:first-of-type { flex: 1; min-width: 0; word-break: break-word; }
.filter-option__count { color: var(--text-dim); font-size: 0.68rem; font-family: var(--mono); white-space: nowrap; }
.filter-clear { margin-top: 0.75rem !important; background: transparent !important; color: var(--text-muted) !important; border: 1px solid var(--border) !important; box-shadow: none !important; }
.filter-clear:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
html[data-theme="light"] .filter-group { border-top-color: rgba(0,40,80,0.08); }



/* Catalog Toolbar */

.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }

.catalog-total { font-size: 0.85rem; color: var(--text-muted); font-family: var(--mono); }

.catalog-total strong { color: var(--accent); }

.catalog-sort {

  border: 1px solid var(--border); border-radius: 40px; padding: 0.4rem 1rem;

  background: var(--c2); color: var(--text); font-size: 0.82rem;

  cursor: pointer; transition: all 0.2s; min-width: 180px; font-family: var(--sans);

}

.catalog-sort:focus { outline: none; border-color: var(--accent); }



/* Pagination */

.pagination { display: flex; justify-content: center; gap: 0.4rem; margin: 2rem 0 1rem; flex-wrap: wrap; }

.page-btn {

  width: 36px; height: 36px; border: 1px solid var(--border);

  background: var(--c1); border-radius: 8px; cursor: pointer;

  transition: all 0.2s; font-weight: 500; font-size: 0.82rem;

  display: flex; align-items: center; justify-content: center; color: var(--text-muted);

}

.page-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }

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

.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }



/* ── MODALS ── */

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.25s; }

.modal-overlay.open { opacity: 1; visibility: visible; }

.product-modal {

  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);

  width: 90%; max-width: 820px; max-height: 90vh;

  background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius-lg);

  z-index: 1001; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,0.8), var(--glow);

  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: all 0.25s;

}

.product-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }

.product-modal-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.product-modal-close { background: rgba(255,255,255,0.05); border: 1px solid var(--border); font-size: 1rem; min-width: 44px; min-height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: var(--text-muted); }

.product-modal-close:hover { border-color: var(--danger); color: var(--danger); }

.product-modal-body { padding: 1.5rem; overflow-y: auto; flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; }

@media (max-width: 700px) { .product-modal-body { grid-template-columns: 1fr; } }

.product-modal-image { background: var(--c2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 230px; border: 1px solid var(--border); }

.product-modal-image img { max-width: 100%; max-height: 300px; object-fit: contain; }

.product-modal-info h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }

.product-modal-brand { font-size: 0.72rem; text-transform: uppercase; color: var(--text-dim); font-family: var(--mono); letter-spacing: 0.08em; margin-bottom: 0.75rem; }

.product-modal-price { font-size: 1.65rem; font-weight: 700; color: var(--accent); margin: 0.4rem 0 1rem; }

.product-modal-stock { font-size: 0.85rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.4rem; }

.product-modal-actions { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

.product-modal-actions .btn-cart { padding: 0.65rem 1.25rem; font-size: 0.88rem; }

.product-detail__desc p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

.product-desc-html { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; }

.product-desc-html p { margin-bottom: 0.75rem; }

.product-desc-html h1,.product-desc-html h2,.product-desc-html h3,

.product-desc-html h4,.product-desc-html h5 {

  color: var(--text); font-weight: 600; margin: 1rem 0 0.4rem;

  font-size: 0.95rem; line-height: 1.3;

}

.product-desc-html ul,.product-desc-html ol { padding-left: 1.25rem; margin-bottom: 0.75rem; }

.product-desc-html li { margin-bottom: 0.25rem; }

.product-desc-html strong,.product-desc-html b { color: var(--text); font-weight: 600; }

.product-desc-html table {

  width: 100%; border-collapse: collapse; font-size: 0.82rem; margin-bottom: 0.75rem;

}

.product-desc-html td,.product-desc-html th {

  padding: 0.35rem 0.6rem; border: 1px solid var(--border); text-align: left;

}

.product-desc-html th { background: var(--c2); color: var(--text); font-weight: 600; }

.product-desc-html br { display: block; margin-bottom: 0.3rem; }

.product-attributes { border-top: 1px solid var(--border); padding-top: 1rem; }

.product-attributes h4 { font-weight: 600; margin-bottom: 0.6rem; font-size: 0.9rem; color: var(--text-muted); font-family: var(--mono); }

.attributes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }

.attribute-item { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.8rem; }

.attribute-name { color: var(--text-dim); }

.attribute-value { font-weight: 500; text-align: right; font-family: var(--mono); }



/* Favorites / Compare / Cart Modals */

.favorites-modal, .compare-modal {

  position: fixed; top: 50%; left: 50%;

  transform: translate(-50%, -50%) scale(0.95);

  background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius-lg);

  z-index: 1001; overflow: hidden;

  box-shadow: 0 30px 100px rgba(0,0,0,0.8), var(--glow);

  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: all 0.25s;

}

.favorites-modal { width: 90%; max-width: 700px; max-height: 85vh; }

.compare-modal { width: 95%; max-width: 1050px; max-height: 90vh; }

.favorites-modal.open, .compare-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }

.favorites-modal-header, .compare-modal-header {

  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);

  display: flex; justify-content: space-between; align-items: center;

}

.favorites-modal-header h3, .compare-modal-header h3 { font-weight: 700; font-size: 1rem; }

.favorites-modal-body, .compare-modal-body { padding: 1.5rem; overflow-y: auto; flex: 1; }

.favorites-list { display: flex; flex-direction: column; gap: 0.75rem; }

.favorite-item { display: flex; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); align-items: center; background: var(--c2); }

.favorite-item-img { width: 65px; height: 65px; background: var(--c3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; border: 1px solid var(--border); }

.favorite-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.favorite-item-info { flex: 1; min-width: 0; }

.favorite-item-name { font-weight: 600; margin-bottom: 0.2rem; font-size: 0.85rem; cursor: pointer; }

.favorite-item-name:hover { color: var(--accent); }

.favorite-item-price { font-weight: 700; color: var(--accent); font-size: 0.9rem; }

.favorite-item-actions { display: flex; gap: 0.4rem; margin-top: 0.4rem; }

.favorite-remove { background: none; border: none; color: var(--text-dim); font-size: 1rem; cursor: pointer; min-width: 44px; min-height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }

.favorite-remove:hover { background: rgba(255,71,87,0.1); color: var(--danger); }

.favorites-empty, .compare-empty { text-align: center; padding: 2.5rem 1.25rem; color: var(--text-dim); }

.favorites-empty-icon, .compare-empty-icon { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.6; }

.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }

.compare-table th, .compare-table td { padding: 0.55rem 0.75rem; border: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 0.8rem; }

.compare-table th { background: var(--c2); font-weight: 600; color: var(--text-muted); font-family: var(--mono); }

.compare-product-img { width: 100%; height: 90px; background: var(--c3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 0.5rem; border: 1px solid var(--border); }

.compare-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.compare-product-name { font-weight: 600; margin-bottom: 0.3rem; cursor: pointer; font-size: 0.82rem; }

.compare-product-name:hover { color: var(--accent); }

.compare-product-price { font-weight: 700; color: var(--accent); margin: 0.3rem 0; font-family: var(--mono); }

.compare-remove { background: none; border: none; color: var(--text-dim); font-size: 0.78rem; cursor: pointer; padding: 0.25rem 0.5rem; border-radius: 8px; transition: all 0.2s; }

.compare-remove:hover { background: rgba(255,71,87,0.1); color: var(--danger); }



/* ── CHECKOUT MODAL ── */

.checkout-overlay {

  position: fixed; inset: 0; background: rgba(0,0,0,0.75);

  backdrop-filter: blur(8px); z-index: 1100;

  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;

  display: flex; align-items: flex-end; justify-content: center;

  padding: 0;

  /* prevent body scroll bleed on iOS */

  overscroll-behavior: contain;

}

.checkout-overlay.open { opacity: 1; visibility: visible; }

.checkout-modal {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius-lg) var(--radius-lg) 0 0;

  width: 100%; max-width: 680px;

  /* dvh adapts when iOS keyboard appears; vh fallback for older browsers */

  max-height: 92vh; max-height: 92dvh;

  display: flex; flex-direction: column;

  box-shadow: 0 -10px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,212,255,0.05);

  transform: translateY(100%);

  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);

  /* safe area for iPhone home indicator */

  padding-bottom: env(safe-area-inset-bottom, 0px);

}

.checkout-overlay.open .checkout-modal { transform: translateY(0); }

/* On wider screens restore centered dialog look */

@media (min-width: 640px) {

  .checkout-overlay { align-items: center; padding: 1rem; }

  .checkout-modal {

    border-radius: var(--radius-lg);

    transform: scale(0.95) translateY(16px);

    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);

    padding-bottom: 0;

  }

  .checkout-overlay.open .checkout-modal { transform: scale(1) translateY(0); }

}

.checkout-modal__header {

  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);

  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;

}

.checkout-modal__title {

  font-size: 1.05rem; font-weight: 700;

  display: flex; align-items: center; gap: 0.6rem;

}

.checkout-modal__title::before {

  content: ''; display: block; width: 3px; height: 1.1rem;

  background: linear-gradient(180deg, var(--accent), var(--accent2));

  border-radius: 3px;

}

.checkout-modal__close {

  background: rgba(255,255,255,0.05); border: 1px solid var(--border);

  color: var(--text-muted); width: 44px; height: 44px; border-radius: 8px;

  cursor: pointer; display: flex; align-items: center; justify-content: center;

  font-size: 0.9rem; transition: all 0.2s;

  touch-action: manipulation; -webkit-tap-highlight-color: transparent;

}

.checkout-modal__close:hover { border-color: var(--danger); color: var(--danger); }

.checkout-modal__body {

  overflow-y: scroll; /* scroll (not auto) forces scrollable on iOS */

  -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */

  overscroll-behavior: contain; /* block scroll chaining to page */

  flex: 1; padding: 1.5rem;

  display: flex; flex-direction: column; gap: 1.25rem;

  /* Explicit min-height so flex doesn't collapse it */

  min-height: 0;

}

.checkout-modal__body::-webkit-scrollbar { width: 3px; }

.checkout-modal__body::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }



/* Order summary inside checkout */

.checkout-order-summary {

  background: var(--c2); border: 1px solid var(--border);

  border-radius: var(--radius); padding: 1rem 1.25rem;

}

.checkout-order-summary__title {

  font-size: 0.72rem; font-family: var(--mono); color: var(--accent);

  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem;

}

.checkout-order-items { display: flex; flex-direction: column; gap: 0.5rem; }

.checkout-order-item {

  display: flex; justify-content: space-between; align-items: center;

  font-size: 0.82rem; gap: 1rem;

}

.checkout-order-item__name {

  display: block; color: var(--text-muted); flex: 1; min-width: 0;

  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

}

.checkout-order-item__title,
.checkout-order-item__meta {

  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis;

}

.checkout-order-item__meta {

  margin-top: 0.18rem; color: var(--text-dim); font-family: var(--mono); font-size: 0.7rem;

}

.checkout-order-item__qty { color: var(--text-dim); font-family: var(--mono); font-size: 0.75rem; flex-shrink: 0; }

.checkout-order-item__price { font-weight: 600; color: var(--accent); font-family: var(--mono); flex-shrink: 0; }

.checkout-order-total {

  display: flex; justify-content: space-between; align-items: center;

  margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border);

  font-weight: 700;

}

.checkout-order-total__label { font-size: 0.85rem; color: var(--text-muted); }

.checkout-order-total__val { font-size: 1.1rem; color: var(--accent); font-family: var(--mono); }



/* Form */

.checkout-form { display: flex; flex-direction: column; gap: 0.85rem; }

.checkout-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

@media (max-width: 540px) { .checkout-form__row { grid-template-columns: 1fr; } }

.checkout-field { display: flex; flex-direction: column; gap: 0.3rem; }

.checkout-field label {

  font-size: 0.72rem; font-family: var(--mono); color: var(--text-muted);

  text-transform: uppercase; letter-spacing: 0.06em;

  display: flex; align-items: center; gap: 0.3rem;

}

.checkout-field label .req { color: var(--accent); }

.checkout-field input,

.checkout-field textarea {

  background: var(--c2); border: 1px solid var(--border);

  border-radius: var(--radius); padding: 0.65rem 0.9rem;

  color: var(--text); font-size: 0.88rem; font-family: var(--sans);

  outline: none; transition: all 0.2s; resize: none; width: 100%;

}

.checkout-field input:focus,

.checkout-field textarea:focus {

  border-color: var(--accent); box-shadow: var(--glow);

  background: rgba(0,212,255,0.03);

}

.checkout-field input::placeholder,

.checkout-field textarea::placeholder { color: var(--text-dim); }

.checkout-field input.error { border-color: var(--danger); }

.checkout-consents { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 0.25rem; padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(0,119,255,0.04); }

.checkout-consent { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; align-items: flex-start; color: var(--text-muted); font-size: 0.78rem; line-height: 1.45; }

.checkout-consent input { width: 18px; height: 18px; margin-top: 0.08rem; accent-color: var(--accent); cursor: pointer; }

.checkout-consent a { color: var(--accent); text-decoration: none; font-weight: 600; }

.checkout-consent a:hover { text-decoration: underline; }

.checkout-consent.error { color: var(--danger); }



/* File upload */

.checkout-file-zone {

  border: 1px dashed var(--border); border-radius: var(--radius);

  padding: 1rem 1.25rem; cursor: pointer; transition: all 0.25s;

  display: flex; align-items: center; gap: 0.75rem;

  background: var(--c2);

}

.checkout-file-zone:hover { border-color: var(--accent); background: rgba(0,212,255,0.04); }

.checkout-file-zone.has-file { border-color: var(--success); background: rgba(46,213,115,0.04); }

.checkout-file-zone input[type="file"] { display: none; }

.checkout-file-icon { font-size: 1.4rem; flex-shrink: 0; }

.checkout-file-text { flex: 1; min-width: 0; }

.checkout-file-text__main { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }

.checkout-file-text__sub { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.15rem; font-family: var(--mono); }

.checkout-file-name { font-size: 0.78rem; color: var(--success); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.checkout-file-clear {

  background: none; border: none; color: var(--text-dim); cursor: pointer;

  font-size: 1rem; width: 28px; height: 28px; border-radius: 6px;

  display: flex; align-items: center; justify-content: center;

  transition: all 0.2s; flex-shrink: 0;

}

.checkout-file-clear:hover { background: rgba(255,71,87,0.1); color: var(--danger); }



/* Auto-fill notice */

.checkout-autofill-hint {

  font-size: 0.72rem; color: var(--accent); font-family: var(--mono);

  display: flex; align-items: center; gap: 0.4rem; margin-top: 0.25rem;

  opacity: 0; transition: opacity 0.3s;

}

.checkout-autofill-hint.show { opacity: 1; }



.checkout-modal__footer {

  padding: 1rem 1.5rem; border-top: 1px solid var(--border);

  display: flex; gap: 0.75rem; flex-shrink: 0;

}

.checkout-submit {

  flex: 1; background: var(--accent2); color: #fff; border: none;

  padding: 0.85rem 1.5rem; border-radius: 40px; font-weight: 700;

  font-size: 0.95rem; cursor: pointer; transition: all 0.25s;

  font-family: var(--sans); display: flex; align-items: center;

  justify-content: center; gap: 0.5rem;

  box-shadow: 0 4px 20px rgba(0,119,255,0.3);

  min-height: 48px;

  touch-action: manipulation; -webkit-tap-highlight-color: transparent;

}

.checkout-submit:hover:not(:disabled) { background: var(--accent); box-shadow: 0 4px 30px rgba(0,212,255,0.40); }

.checkout-submit:active:not(:disabled) { transform: scale(0.97); }

.checkout-submit:disabled,
.checkout-submit.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.checkout-submit.is-disabled {
  pointer-events: auto;
}

.checkout-cancel {

  background: transparent; border: 1px solid var(--border); color: var(--text-muted);

  padding: 0.85rem 1.25rem; border-radius: 40px; font-weight: 500;

  font-size: 0.88rem; cursor: pointer; transition: all 0.2s; font-family: var(--sans);

  min-height: 48px;

  touch-action: manipulation; -webkit-tap-highlight-color: transparent;

}

.checkout-cancel:hover { border-color: var(--accent); color: var(--accent); }



/* ── CART ── */

.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.25s; }

.cart-modal {

  position: fixed; top: 0; right: -420px; width: 420px; max-width: 95vw;

  height: 100%; background: var(--c1); z-index: 1001; transition: all 0.3s ease;

  display: flex; flex-direction: column; border-left: 1px solid var(--border);

  box-shadow: -10px 0 60px rgba(0,0,0,0.6);

}

.cart-modal.open { right: 0; }

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.cart-title { font-size: 1.1rem; font-weight: 700; }

.cart-close { background: rgba(255,255,255,0.05); border: 1px solid var(--border); font-size: 1rem; min-width: 44px; min-height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: var(--text-muted); }

.cart-close:hover { border-color: var(--danger); color: var(--danger); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-item { display: flex; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }

.cart-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.cart-item-img { background: var(--c2); width: 55px; height: 55px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; border: 1px solid var(--border); }

.cart-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name { font-weight: 600; margin-bottom: 0.2rem; font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.cart-item-price { font-weight: 700; color: var(--accent); font-size: 0.85rem; font-family: var(--mono); }

.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }

.qty-btn { min-width: 36px; min-height: 36px; border: 1px solid var(--border); background: var(--c2); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 600; font-size: 0.85rem; color: var(--text-muted); transition: all 0.2s; }

.qty-btn:hover { border-color: var(--accent); color: var(--accent); }

.qty-value { min-width: 20px; text-align: center; font-weight: 500; font-size: 0.85rem; font-family: var(--mono); }

.cart-remove { background: none; border: none; color: var(--text-dim); font-size: 1rem; cursor: pointer; min-width: 44px; min-height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; margin-left: auto; flex-shrink: 0; }

.cart-remove:hover { background: rgba(255,71,87,0.1); color: var(--danger); }

.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); }

.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 1rem; }

.cart-total-label { font-weight: 500; color: var(--text-muted); font-size: 0.9rem; }

.cart-total-value { font-weight: 700; font-size: 1.2rem; color: var(--accent); font-family: var(--mono); }

.cart-checkout { width: 100%; background: var(--accent2); color: white; border: none; padding: 0.8rem; border-radius: 40px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.25s; font-family: var(--sans); }

.cart-checkout:hover { background: var(--accent); box-shadow: var(--glow); }

.cart-empty { text-align: center; padding: 3rem 1.5rem; color: var(--text-dim); }

.cart-empty-icon { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.5; }



/* ── BLOG ── */

.blog-hero {

  background: linear-gradient(120deg, var(--c1) 0%, var(--c2) 100%);

  border-bottom: 1px solid var(--border);

  padding: 3rem 0 2.5rem; margin-bottom: 2.5rem;

  position: relative; overflow: hidden;

}

.blog-hero::before {

  content: ''; position: absolute; inset: 0;

  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,119,255,0.07) 0%, transparent 70%);

  pointer-events: none;

}

.blog-hero__eyebrow {

  font-family: var(--mono); font-size: 0.72rem; color: var(--accent);

  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem;

  display: flex; align-items: center; gap: 0.5rem;

}

.blog-hero__eyebrow::before { content:''; width:20px; height:1px; background:var(--accent); display:block; }

.blog-hero__title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }

.blog-hero__title span { color: var(--accent); }

.blog-hero__desc { color: var(--text-muted); font-size: 0.92rem; max-width: 560px; }



/* Tags filter */

.blog-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

.blog-tag {

  font-size: 0.75rem; font-family: var(--mono); font-weight: 500;

  padding: 0.3rem 0.85rem; border-radius: 40px; cursor: pointer;

  border: 1px solid var(--border); color: var(--text-muted);

  background: transparent; transition: all 0.2s; white-space: nowrap;

}

.blog-tag:hover { border-color: var(--accent); color: var(--accent); }

.blog-tag.active { background: rgba(0,212,255,0.10); border-color: var(--accent); color: var(--accent); }



/* Featured article */

.blog-featured {

  display: grid; grid-template-columns: 1.4fr 1fr;

  gap: 0; background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem;

  transition: box-shadow 0.3s; cursor: pointer;

}

.blog-featured:hover { box-shadow: 0 12px 50px rgba(0,0,0,0.5), var(--glow); }

.blog-featured__img {

  position: relative; min-height: 320px; overflow: hidden;

}

.blog-featured__img img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }

.blog-featured:hover .blog-featured__img img { transform: scale(1.04); }

.blog-featured__img::after {

  content:''; position:absolute; inset:0;

  background: linear-gradient(90deg, transparent 40%, var(--c1) 100%);

}

.blog-featured__body {

  padding: 2rem 2rem 2rem 1.5rem;

  display: flex; flex-direction: column; justify-content: center;

}

.blog-featured__tag {

  font-size: 0.68rem; font-family: var(--mono); font-weight: 700;

  text-transform: uppercase; letter-spacing: 0.1em;

  color: var(--accent); margin-bottom: 0.75rem;

  display: flex; align-items: center; gap: 0.4rem;

}

.blog-featured__tag::before { content:''; width:16px; height:2px; background:var(--accent); display:block; border-radius:2px; }

.blog-featured__title {

  font-size: 1.4rem; font-weight: 700; line-height: 1.25;

  letter-spacing: -0.02em; margin-bottom: 0.75rem; color: var(--text);

}

.blog-featured__excerpt {

  color: var(--text-muted); font-size: 0.88rem; line-height: 1.65;

  margin-bottom: 1.25rem; flex: 1;

}

.blog-featured__meta {

  display: flex; align-items: center; gap: 1rem;

  font-size: 0.72rem; font-family: var(--mono); color: var(--text-dim);

}

.blog-featured__read {

  margin-left: auto; font-size: 0.78rem; color: var(--accent);

  display: flex; align-items: center; gap: 0.3rem; font-weight: 600;

  transition: gap 0.2s;

}

.blog-featured:hover .blog-featured__read { gap: 0.5rem; }



/* Grid of articles */

.blog-grid {

  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  gap: 1.25rem;

}

.blog-card {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius-lg); overflow: hidden;

  cursor: pointer; transition: all 0.3s; display: flex; flex-direction: column;

}

.blog-card:hover {

  border-color: rgba(0,212,255,0.30); transform: translateY(-4px);

  box-shadow: 0 12px 40px rgba(0,0,0,0.45), var(--glow);

}

.blog-card__img {

  height: 195px; overflow: hidden; position: relative; background: var(--c2);

}

.blog-card__img img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }

.blog-card:hover .blog-card__img img { transform: scale(1.06); }

.blog-card__img-placeholder {

  width:100%; height:100%; display:flex; align-items:center; justify-content:center;

}

.blog-card__tag {

  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;

  font-size: 0.62rem; font-family: var(--mono); font-weight: 700;

  text-transform: uppercase; letter-spacing: 0.08em;

  background: rgba(5,13,26,0.85); backdrop-filter: blur(6px);

  color: var(--accent); padding: 0.25rem 0.6rem; border-radius: 6px;

  border: 1px solid rgba(0,212,255,0.25);

}

.blog-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.blog-card__title {

  font-size: 1rem; font-weight: 700; line-height: 1.3;

  letter-spacing: -0.01em; margin-bottom: 0.6rem; color: var(--text);

  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

}

.blog-card__excerpt {

  color: var(--text-muted); font-size: 0.82rem; line-height: 1.6;

  flex: 1; margin-bottom: 1rem;

  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;

}

.blog-card__footer {

  display: flex; align-items: center; justify-content: space-between;

  font-size: 0.7rem; font-family: var(--mono); color: var(--text-dim);

  padding-top: 0.75rem; border-top: 1px solid var(--border);

}

.blog-card__footer-right { color: var(--accent); font-weight: 600; }




/* Career / vacancies */
.career-hero {
  position: relative;
  padding: 4rem 0 2.75rem;
  background: linear-gradient(180deg, rgba(0,212,255,0.08), transparent 72%);
  border-bottom: 1px solid var(--border);
}
.career-hero__eyebrow {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.career-hero__title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.career-hero__title span { color: var(--accent); }
.career-hero__desc {
  max-width: 820px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.career-section-head {
  margin: 2rem 0 1.25rem;
}
.career-section-head__eyebrow {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.career-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  letter-spacing: -0.01em;
}
.career-section-head p {
  max-width: 780px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.career-section-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.career-hh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(0,212,255,0.28);
  background: rgba(0,212,255,0.08);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.career-hh-link:hover {
  border-color: var(--accent);
  background: rgba(0,212,255,0.14);
  transform: translateY(-1px);
}
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3.5rem;
}
.career-vacancy {
  background: var(--c1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.career-vacancy__head {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0,212,255,0.10), rgba(0,120,255,0.04));
}
.career-vacancy__tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.career-vacancy__title {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
  color: var(--text);
}
.career-vacancy__lead {
  max-width: 920px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.career-vacancy__body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.career-vacancy__section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255,255,255,0.02);
}
.career-vacancy__section--wide { grid-column: 1 / -1; }
.career-vacancy__section h3 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.career-vacancy__section ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.88rem;
}
.career-vacancy__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.career-vacancy__skills span {
  border: 1px solid rgba(0,212,255,0.22);
  color: var(--text);
  background: rgba(0,212,255,0.07);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}
.career-vacancy__footer {
  padding: 0 1.5rem 1.5rem;
}
@media (max-width: 780px) {
  .career-hero { padding: 3rem 0 2rem; }
  .career-vacancy__body { grid-template-columns: 1fr; padding: 1rem; }
  .career-vacancy__head, .career-vacancy__footer { padding: 1rem; }
}

/* Article full page */

.article-layout {

  display: grid; grid-template-columns: 1fr 300px;

  gap: 2.5rem; margin: 2rem 0 3rem; align-items: start;

}

@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }

.article-content { min-width: 0; }

.article-cover {

  width: 100%; max-height: 460px; object-fit: cover;

  border-radius: var(--radius-lg); border: 1px solid var(--border);

  margin-bottom: 2rem; display: block;

}

.article-cover-placeholder {

  width: 100%; height: 340px; border-radius: var(--radius-lg);

  border: 1px solid var(--border); display: flex; align-items: center;

  justify-content: center; margin-bottom: 2rem; background: var(--c2);

}

.article-meta {

  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;

  margin-bottom: 1.5rem; font-size: 0.75rem; font-family: var(--mono); color: var(--text-dim);

}

.article-meta__tag {

  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.20);

  color: var(--accent); padding: 0.2rem 0.6rem; border-radius: 6px; font-weight: 700;

}

.article-title {

  font-size: 2rem; font-weight: 700; letter-spacing: -0.025em;

  line-height: 1.2; margin-bottom: 1rem; color: var(--text);

}

.article-lead {

  font-size: 1.05rem; color: var(--text-muted); line-height: 1.7;

  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);

}

.article-body { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; }

.article-body h2 {

  font-size: 1.3rem; font-weight: 700; color: var(--text);

  margin: 2rem 0 0.75rem; letter-spacing: -0.015em;

  padding-left: 0.85rem; border-left: 3px solid var(--accent);

}

.article-body h3 {

  font-size: 1.05rem; font-weight: 600; color: var(--text);

  margin: 1.5rem 0 0.5rem;

}

.article-body p { margin-bottom: 1rem; }

.article-body ul, .article-body ol {

  margin: 0.75rem 0 1rem 1.5rem;

}

.article-body li { margin-bottom: 0.4rem; }

.article-body strong { color: var(--text); font-weight: 600; }

.article-body a { color: var(--accent); text-decoration: none; }

.article-body a:hover { text-decoration: underline; }

.article-body blockquote {

  border-left: 3px solid var(--accent); padding: 0.75rem 1.25rem;

  background: rgba(0,212,255,0.04); border-radius: 0 var(--radius) var(--radius) 0;

  margin: 1.25rem 0; color: var(--text);

  font-style: italic; font-size: 0.95rem;

}

.article-body .highlight-box {

  background: var(--c2); border: 1px solid var(--border);

  border-radius: var(--radius); padding: 1.25rem;

  margin: 1.5rem 0;

}

.article-body .highlight-box h4 {

  font-size: 0.75rem; font-family: var(--mono); color: var(--accent);

  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem;

}

.article-seo-tags {

  display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 2rem;

  padding-top: 1.25rem; border-top: 1px solid var(--border);

}

.article-seo-tag {

  font-size: 0.7rem; font-family: var(--mono); color: var(--text-dim);

  border: 1px solid var(--border); padding: 0.2rem 0.55rem;

  border-radius: 20px; cursor: pointer; transition: all 0.2s;

}

.article-seo-tag:hover { color: var(--accent); border-color: var(--accent); }



/* Article sidebar */

.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-widget {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius-lg); padding: 1.25rem;

}

.sidebar-widget__title {

  font-size: 0.72rem; font-family: var(--mono); color: var(--accent);

  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;

  display: flex; align-items: center; gap: 0.4rem;

}

.sidebar-widget__title::before { content:''; width:10px; height:2px; background:var(--accent); display:block; border-radius:2px; }

.sidebar-article {

  display: flex; gap: 0.75rem; padding: 0.6rem 0;

  border-bottom: 1px solid var(--border); cursor: pointer;

}

.sidebar-article:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-article__img {

  width: 56px; height: 48px; border-radius: 8px; overflow: hidden;

  flex-shrink: 0; background: var(--c2);

}

.sidebar-article__img img { width:100%; height:100%; object-fit:cover; }

.sidebar-article__title {

  font-size: 0.78rem; font-weight: 600; line-height: 1.3; color: var(--text);

  transition: color 0.2s;

  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

}

.sidebar-article:hover .sidebar-article__title { color: var(--accent); }

.sidebar-article__date { font-size: 0.65rem; font-family: var(--mono); color: var(--text-dim); margin-top: 0.25rem; }



/* CTA widget */

.sidebar-cta {

  background: linear-gradient(135deg, var(--c2) 0%, rgba(0,119,255,0.1) 100%);

  border: 1px solid rgba(0,212,255,0.16);

}

.sidebar-cta p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.5; }



@media (max-width: 768px) {

  .blog-featured { grid-template-columns: 1fr; }

  .blog-featured__img { min-height: 200px; }

  .blog-featured__img::after { background: linear-gradient(0deg, var(--c1) 0%, transparent 60%); }

  .blog-grid { grid-template-columns: 1fr; }

  .article-title { font-size: 1.5rem; }

}



/* ── COOKIE BANNER ── */

.cookie-banner {

  position: fixed; bottom: 0; left: 0; right: 0;

  z-index: 99999;

  isolation: isolate;

  background: var(--c1); border-top: 1px solid var(--border);

  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);

  transform: translateY(100%);

  transition: transform 0.4s cubic-bezier(0.34,1.1,0.64,1);

  padding: 1.1rem 0;

  pointer-events: all;

  touch-action: auto;

}

.cookie-banner * { pointer-events: all; touch-action: auto; }

.cookie-banner.show { transform: translateY(0); }

.cookie-banner__inner {

  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;

}

.cookie-banner__icon {

  font-size: 1.5rem; flex-shrink: 0;

  width: 42px; height: 42px; background: rgba(0,212,255,0.07);

  border: 1px solid var(--border); border-radius: 10px;

  display: flex; align-items: center; justify-content: center;

}

.cookie-banner__text { flex: 1; min-width: 260px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

.cookie-banner__text a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(0,212,255,0.35); }

.cookie-banner__text a:hover { border-bottom-color: var(--accent); }

.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; align-items: center; }

.cookie-btn-accept {

  background: var(--accent2); color: #fff; border: none;

  padding: 0.6rem 1.4rem; border-radius: 40px; font-weight: 700;

  font-size: 0.85rem; cursor: pointer; transition: all 0.25s;

  font-family: var(--sans); white-space: nowrap;

  box-shadow: 0 4px 14px rgba(0,119,255,0.3);

}

.cookie-btn-accept:hover { background: var(--accent); box-shadow: 0 4px 18px rgba(0,212,255,0.35); }

.cookie-btn-decline {

  background: transparent; border: 1px solid var(--border); color: var(--text-dim);

  padding: 0.6rem 1rem; border-radius: 40px; font-weight: 500;

  font-size: 0.82rem; cursor: pointer; transition: all 0.2s;

  font-family: var(--sans); white-space: nowrap;

}

.cookie-btn-decline:hover { border-color: var(--text-muted); color: var(--text-muted); }

@media (max-width: 600px) {
  .cookie-banner { padding: 0.7rem 0; }
  .cookie-banner__inner { gap: 0.65rem; align-items: flex-start; }
  .cookie-banner__icon { width: 34px; height: 34px; font-size: 1.15rem; }
  .cookie-banner__text {
    min-width: 0;
    font-size: 0.76rem;
    line-height: 1.4;
  }
  .cookie-banner__actions { width: 100%; gap: 0.45rem; }
  .cookie-btn-accept, .cookie-btn-decline {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 0.52rem 0.8rem;
    font-size: 0.76rem;
  }
}



/* ── LEGAL PAGES ── */

.legal-hero {

  background: var(--c1); border-bottom: 1px solid var(--border);

  padding: 2.5rem 0 2rem; margin-bottom: 2.5rem;

}

.legal-hero__eyebrow {

  font-family: var(--mono); font-size: 0.7rem; color: var(--accent);

  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem;

  display: flex; align-items: center; gap: 0.5rem;

}

.legal-hero__eyebrow::before { content:''; width:16px; height:1px; background:var(--accent); display:block; }

.legal-hero__title { font-size: 1.8rem; font-weight: 700; letter-spacing:-0.02em; margin-bottom: 0.4rem; }

.legal-hero__meta { font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }



.legal-body {

  max-width: 820px;

  color: var(--text-muted);

  font-size: 0.9rem;

  line-height: 1.8;

  padding-bottom: 3rem;

}

.legal-body h2 {

  font-size: 1.15rem; font-weight: 700; color: var(--text);

  margin: 2rem 0 0.6rem; padding-left: 0.85rem;

  border-left: 3px solid var(--accent);

}

.legal-body h3 { font-size: 0.98rem; font-weight: 600; color: var(--text); margin: 1.25rem 0 0.4rem; }

.legal-body p { margin-bottom: 0.85rem; }

.legal-body ul, .legal-body ol { padding-left: 1.5rem; margin-bottom: 0.85rem; }

.legal-body li { margin-bottom: 0.35rem; }

.legal-body strong { color: var(--text); font-weight: 600; }

.legal-body a { color: var(--accent); text-decoration: none; }

.legal-body a:hover { text-decoration: underline; }

.legal-body table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.82rem; }

.legal-body td, .legal-body th { padding: 0.5rem 0.75rem; border: 1px solid var(--border); vertical-align: top; }

.legal-body th { background: var(--c2); color: var(--text); font-weight: 600; }

.legal-body .legal-box {

  background: var(--c2); border: 1px solid var(--border); border-radius: var(--radius);

  padding: 1.1rem 1.25rem; margin: 1.25rem 0;

}

.legal-body .legal-box p { margin-bottom: 0; }

.legal-toc {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 2rem;

}

.legal-toc__title { font-size: 0.72rem; font-family: var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }

.legal-toc ol { padding-left: 1.25rem; margin: 0; }

.legal-toc li { margin-bottom: 0.3rem; font-size: 0.82rem; }

.legal-toc a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }

.legal-toc a:hover { color: var(--accent); }



/* ── FOOTER ── */

.footer { background: var(--c1); border-top: 1px solid var(--border); margin-top: 4rem; padding: 3rem 0 1.5rem; position: relative; z-index: 1; }

.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.footer-col h3 { font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }

.footer-col p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }

.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; padding: 0.2rem 0; transition: all 0.2s; }

.footer-links a:hover { color: var(--accent); transform: translateX(3px); }

.footer-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.5rem; text-align: center; font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }
.yandex-iks-badge { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 31px; margin-right: 0.75rem; vertical-align: middle; border-radius: 8px; overflow: hidden; background: #fff; line-height: 0; opacity: 0.86; transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s; }
.yandex-iks-badge img { display: block; width: 88px; height: 31px; border: 0; border-radius: 8px; }
.yandex-iks-badge:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 0 18px rgba(0, 119, 255, 0.18); }
@media (max-width: 760px) { .yandex-iks-badge { margin: 0 0.45rem 0.5rem; } }




/* ── CONTACTS MAP ── */

.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }

.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 380px; position: relative; background: var(--c2); }

.map-container iframe { width: 100%; height: 100%; min-height: 380px; border: none; display: block; filter: brightness(0.85) hue-rotate(0deg); }

.map-container--static { display: grid; grid-template-rows: minmax(310px, 1fr) auto; background: var(--c1); }

.map-static-card { position: relative; min-height: 310px; overflow: hidden; isolation: isolate; }

.map-static-grid { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0,119,255,0.12) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(0deg, rgba(0,119,255,0.1) 1px, transparent 1px) 0 0 / 48px 48px; opacity: 0.55; }

.map-static-image { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.98) contrast(1.03); }

.map-static-card::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(5,13,26,0.08) 0%, rgba(5,13,26,0.02) 48%, transparent 100%); pointer-events: none; }

.map-static-content { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.25rem; border-top: 1px solid var(--border); background: var(--c1); }

.map-static-eyebrow { color: var(--accent); font-family: var(--mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.55rem; }

.map-static-content h3 { margin: 0 0 0.45rem; color: var(--text); font-size: 1.25rem; line-height: 1.2; }

.map-static-content p { margin: 0; color: var(--text-muted); line-height: 1.55; }

.map-static-coords { margin-top: 0.8rem; color: rgba(180,218,255,0.78); font-family: var(--mono); font-size: 0.78rem; }

.map-static-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }

.map-open-link,
.map-route-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 40px; padding: 0.62rem 0.85rem; border-radius: 8px; font-weight: 800; font-size: 0.82rem; text-decoration: none; }

.map-open-link { background: #fff; color: #1f5fbf; box-shadow: 0 8px 20px rgba(7,20,42,0.18); }

.map-route-link { border: 1px solid rgba(0,119,255,0.28); color: var(--accent2); background: rgba(0,119,255,0.08); }

.map-open-link:hover { color: #0a8dff; }

.contact-info-block { background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }

.contact-info-block h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

.contact-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); align-items: flex-start; }

.contact-row:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,119,255,0.15); border: 1px solid rgba(0,119,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

.contact-label { font-size: 0.72rem; color: var(--text-dim); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }

.contact-value { font-weight: 500; font-size: 0.92rem; }

.contact-value a { color: var(--accent); text-decoration: none; }

.contact-value a:hover { text-decoration: underline; }



/* ── UTILITIES ── */

.page { display: none; min-height: calc(100vh - 300px); position: relative; z-index: 1; }
.page.active { display: block; animation: fadeUp 0.3s ease-out; }
html[data-route="product"] #homePage.page.active { display: none; }
html[data-route="product"] #productPage.page { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.breadcrumbs {

  display: flex; gap: 0.3rem; margin: 1rem 0 1.5rem;

  font-size: 0.8rem; color: var(--text-dim); font-family: var(--mono);

  position: relative; z-index: 10;

  flex-wrap: wrap; align-items: center; line-height: 1.6;

}

.breadcrumbs a { color: var(--accent); text-decoration: none; white-space: nowrap; }

.breadcrumbs a:hover { text-decoration: underline; }

.breadcrumbs span:not(:last-child)::after { content: "/"; margin: 0 0.3rem; color: var(--text-dim); }

/* Last breadcrumb (current page title) truncated */

.breadcrumbs span:last-child {

  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;

  max-width: 400px;

}

.skeleton { background: linear-gradient(90deg, var(--c2) 25%, var(--c3) 50%, var(--c2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px; }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.skeleton-text { height: 0.85rem; margin: 0.4rem 0; border-radius: 4px; }

.skeleton-text.short { width: 40%; } .skeleton-text.medium { width: 70%; } .skeleton-text.long { width: 90%; }

.notification {

  position: fixed; bottom: 2rem; right: 2rem; z-index: 1100;

  background: var(--c1); border: 1px solid var(--border);

  border-left: 3px solid var(--success);

  padding: 0.75rem 1.25rem; border-radius: var(--radius);

  box-shadow: 0 10px 40px rgba(0,0,0,0.6);

  transform: translateX(150%); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);

  display: flex; align-items: center; gap: 0.6rem;

  max-width: 320px; font-weight: 500; font-size: 0.85rem;

}

.notification.show { transform: translateX(0); }

.notification.error { border-left-color: var(--danger); }

.notification.warning { border-left-color: var(--warning); }

.loading-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem; text-align: center; color: var(--text-dim); }

.loading-spinner { width: 32px; height: 32px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; margin-bottom: 1rem; }

@keyframes shake {

  0%,100% { transform: translateX(0); }

  20% { transform: translateX(-6px); }

  40% { transform: translateX(6px); }

  60% { transform: translateX(-4px); }

  80% { transform: translateX(4px); }

}

@keyframes spin { to { transform: rotate(360deg); } }



/* ── PRODUCT PAGE ── */

.product-page-layout {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 3rem;

  margin: 2rem 0 3rem;

  align-items: start;

  isolation: isolate; /* prevent sticky gallery from leaking above breadcrumbs */

}

@media (max-width: 900px) { .product-page-layout { grid-template-columns: 1fr; gap: 2rem; } }



/* Gallery */

.product-gallery { position: sticky; top: 100px; z-index: 1; }

.product-gallery__main {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius-lg); overflow: hidden;

  aspect-ratio: 1; display: flex; align-items: center;

  justify-content: center; font-size: 6rem; position: relative;

  margin-bottom: 0.75rem;

}

.product-gallery__main::before {

  content: ''; position: absolute; inset: 0;

  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0,119,255,0.06) 0%, transparent 70%);

  pointer-events: none;

}

.product-gallery__main img {

  max-width: 90%; max-height: 90%; object-fit: contain;

  position: relative; z-index: 1;

}

.product-gallery__nav {

  position: absolute; top: 50%; z-index: 3;

  width: 42px; height: 42px; border-radius: 999px;

  border: 1px solid var(--border); background: color-mix(in srgb, var(--c1) 88%, transparent);

  color: var(--text); display: flex; align-items: center; justify-content: center;

  cursor: pointer; transform: translateY(-50%); transition: all 0.2s ease;

  box-shadow: 0 8px 20px rgba(0,0,0,0.12);

}

.product-gallery__nav:hover {

  border-color: var(--accent); color: var(--accent); box-shadow: var(--glow);

}

.product-gallery__nav--prev { left: 1rem; }

.product-gallery__nav--next { right: 1rem; }

@media (max-width: 700px) {

  .product-gallery__nav { width: 38px; height: 38px; }

  .product-gallery__nav--prev { left: 0.75rem; }

  .product-gallery__nav--next { right: 0.75rem; }

}

.product-gallery__badge {

  position: absolute; top: 1rem; left: 1rem; z-index: 2;

  font-size: 0.7rem; font-weight: 700; font-family: var(--mono);

  padding: 0.25rem 0.6rem; border-radius: 6px;

  background: rgba(0,212,255,0.10); border: 1px solid rgba(0,212,255,0.25);

  color: var(--accent);

}

.product-gallery__thumbs {

  display: flex; gap: 0.5rem;

  overflow-x: auto; flex-wrap: nowrap;

  padding-bottom: 4px;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;

}

.product-gallery__thumbs::-webkit-scrollbar { height: 3px; }

.product-gallery__thumbs::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }

.product-gallery__thumb {

  width: 64px; height: 64px; min-width: 64px; background: var(--c1); border: 1px solid var(--border);

  border-radius: 8px; overflow: hidden; cursor: pointer; transition: all 0.2s;

  display: flex; align-items: center; justify-content: center; flex-shrink: 0;

}

.product-gallery__thumb:hover, .product-gallery__thumb.active {

  border-color: var(--accent); box-shadow: var(--glow);

}

.product-gallery__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }



/* Product Info Column */

.product-detail { display: flex; flex-direction: column; gap: 1.5rem; }

.product-detail__header { }

.product-detail__brand {

  font-size: 0.7rem; text-transform: uppercase; color: var(--accent);

  font-family: var(--mono); font-weight: 600; letter-spacing: 0.1em;

  margin-bottom: 0.5rem;

}

.product-detail__title {

  font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em;

  line-height: 1.2; margin-bottom: 0.75rem; color: var(--text);

}

.product-detail__meta {

  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;

}

.product-detail__sku {

  font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim);

  background: rgba(255,255,255,0.04); border: 1px solid var(--border);

  padding: 0.25rem 0.6rem; border-radius: 6px;

}

.product-detail__seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.product-detail__seo-links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.42rem 0.7rem;
  text-decoration: none;
  transition: all 0.2s;
}

.product-detail__seo-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-detail__stock {

  font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.35rem;

  padding: 0.25rem 0.75rem; border-radius: 20px;

}

.product-detail__stock.in { background: rgba(46,213,115,0.1); color: var(--success); border: 1px solid rgba(46,213,115,0.25); }

.product-detail__stock.low { background: rgba(255,165,2,0.1); color: var(--warning); border: 1px solid rgba(255,165,2,0.25); }

.product-detail__stock.out { background: rgba(255,71,87,0.1); color: var(--danger); border: 1px solid rgba(255,71,87,0.25); }



/* Price block */

.product-detail__price-block {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius); padding: 1.25rem 1.5rem;

  display: flex; align-items: center; justify-content: space-between; gap: 1rem;

  flex-wrap: wrap;

}

.product-detail__price {

  font-size: 2.4rem; font-weight: 700; color: var(--accent);

  font-family: var(--mono); letter-spacing: -0.02em; line-height: 1;

}

.product-detail__price-note { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.3rem; }



/* Qty + Cart */

.product-detail__buy {

  display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;

}

.product-qty {

  display: flex; align-items: center;

  border: 1px solid var(--border); border-radius: 40px;

  overflow: hidden; background: var(--c2);

}

.product-qty__btn {

  width: 40px; height: 40px; background: none; border: none;

  color: var(--text-muted); cursor: pointer; font-size: 1.1rem;
  min-width: 44px; min-height: 44px;

  font-weight: 600; transition: all 0.2s;

  display: flex; align-items: center; justify-content: center;

}

.product-qty__btn:hover { color: var(--accent); background: rgba(0,212,255,0.07); }

.product-qty__val {

  min-width: 40px; text-align: center; font-size: 0.95rem;

  font-weight: 600; font-family: var(--mono);

}

.btn-cart-lg {

  flex: 1; min-width: 160px; background: var(--accent2); color: #fff;

  border: none; padding: 0.75rem 1.5rem; border-radius: 40px;

  font-weight: 700; font-size: 0.95rem; cursor: pointer;

  transition: all 0.25s; display: flex; align-items: center;

  justify-content: center; gap: 0.5rem; font-family: var(--sans);

  box-shadow: 0 4px 20px rgba(0,119,255,0.3);

}

.btn-cart-lg:hover:not(:disabled) { background: var(--accent); box-shadow: 0 4px 30px rgba(0,212,255,0.40); transform: translateY(-1px); }

.btn-cart-lg:disabled { background: var(--text-dim); cursor: not-allowed; box-shadow: none; }



.product-detail__actions2 {

  display: flex; gap: 0.5rem;

}

.btn-action-outline {

  display: flex; align-items: center; gap: 0.4rem;

  border: 1px solid var(--border); background: transparent;

  color: var(--text-muted); padding: 0.5rem 1rem; border-radius: 40px;

  font-size: 0.8rem; font-weight: 500; cursor: pointer;

  transition: all 0.2s; font-family: var(--sans); white-space: nowrap;

}

.btn-action-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-action-outline.fav-active { border-color: var(--danger); color: var(--danger); background: rgba(255,71,87,0.08); }

.btn-action-outline.cmp-active { border-color: var(--success); color: var(--success); background: rgba(46,213,115,0.08); }



/* Description */

.product-detail__desc {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius); padding: 1.25rem 1.5rem;

}

.product-detail__desc h4 {

  font-size: 0.72rem; font-family: var(--mono); color: var(--accent);

  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem;

}

.product-detail__desc p {

  color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;

}



/* Attributes table */

.product-attrs-block {

  background: var(--c1); border: 1px solid var(--border);

  border-radius: var(--radius-lg); overflow: hidden;

  margin-top: 2rem;

}

.product-attrs-block__title {

  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);

  font-size: 0.72rem; font-family: var(--mono); color: var(--accent);

  text-transform: uppercase; letter-spacing: 0.08em;

  display: flex; align-items: center; gap: 0.5rem;

}

.product-attrs-block__title::before {

  content: ''; display: block; width: 3px; height: 1rem;

  background: var(--accent); border-radius: 3px;

}

.product-attrs-table { width: 100%; border-collapse: collapse; }

.product-attrs-table tr:nth-child(even) { background: rgba(255,255,255,0.02); }

.product-attrs-table td {

  padding: 0.6rem 1.5rem; font-size: 0.85rem;

  border-bottom: 1px solid rgba(255,255,255,0.04);

  vertical-align: middle;

}

.product-attrs-table tr:last-child td { border-bottom: none; }

.product-attrs-table td:first-child { color: var(--text-muted); width: 45%; }

.product-attrs-table td:last-child { font-weight: 500; font-family: var(--mono); }



/* Related products */

.related-section { margin-top: 3rem; }



/* ── ABOUT PAGE ── */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }

.about-card { background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }

.about-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent); }

.about-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

.review-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  font-family: var(--sans);
  box-sizing: border-box;
}

.about-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }

.about-stat { background: var(--c1); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; }

.about-stat-num { font-size: 2rem; font-weight: 700; color: var(--accent); font-family: var(--mono); }

.about-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }



/* ── RESPONSIVE ── */

@media (max-width: 1024px) {

  .advantages-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .catalog-layout { grid-template-columns: 1fr; }

  .sidebar { position: static; }

  .mega-menu { min-width: 700px; }

  .contacts-layout { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }

}



@media (max-width: 768px) {

  /* Mega menu */

  .mega-menu { position: fixed; top: auto !important; left: 0; right: 0; min-width: 100vw; max-width: 100vw; }

  .mega-menu__panel { flex-direction: column; height: auto; max-height: 70vh; border-radius: 0; }

  .mega-cats-list { width: 100%; max-height: 140px; border-right: none; border-bottom: 1px solid var(--border); }

  .mega-subs-panel { max-height: 50vh; }

  .mega-subs-body { grid-template-columns: 1fr 1fr; gap: 1rem; }



  /* Hero */

  .hero-title { font-size: 1.75rem; }

  .hero-stats { gap: 1rem; flex-wrap: wrap; }

  .hero-stat-num { font-size: 1.3rem; }

  .hero-actions { flex-direction: column; }

  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }



  /* Advantages */

  .advantages-grid { grid-template-columns: 1fr; background: none; border: none; gap: 0.75rem; }

  .advantage-card { border: 1px solid var(--border); border-radius: var(--radius); }



  /* Products grid */

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .product-card { font-size: 0.9rem; }

  .product-img { height: 130px; }

  .product-info { padding: 0.7rem; }

  .product-title { font-size: 0.82rem; }

  .product-price { font-size: 1rem; }

  .product-actions { gap: 0.25rem; }

  .btn-cart { font-size: 0.72rem; padding: 0.45rem 0.5rem; }

  .btn-favorite, .btn-compare, .btn-quick { width: 40px; height: 40px; font-size: 0.8rem; }



  /* Cart */

  .cart-modal { width: 100%; right: -100%; }



  /* Footer */

  .footer-grid { grid-template-columns: 1fr; }



  /* Product detail */

  .product-page-layout { grid-template-columns: 1fr; gap: 1.5rem; }

  .product-gallery { position: static; z-index: auto; }

  .product-detail__title { font-size: 1.3rem; }

  .product-detail__price { font-size: 1.8rem; }

  .product-detail__buy { flex-wrap: wrap; }

  .btn-cart-lg { min-width: 100%; }



  /* Blog */

  .blog-featured { grid-template-columns: 1fr; }

  .blog-featured__img { min-height: 180px; }

  .blog-grid { grid-template-columns: 1fr; }

  .article-layout { grid-template-columns: 1fr; }

  .article-title { font-size: 1.4rem; }



  /* About */

  .about-stat-grid { grid-template-columns: repeat(2, 1fr); }



  /* Modals */

  .product-modal-body { grid-template-columns: 1fr; }

  .compare-modal { width: 100%; max-width: 100%; border-radius: 0; }

  .favorites-modal { width: 100%; max-width: 100%; }

}



@media (max-width: 480px) {

  /* Header */

  .logo-img { height: 34px; }

  .catalog-btn { padding: 0.45rem 0.7rem; font-size: 0.8rem; gap: 0.3rem; }

  .topbar__right { gap: 0.6rem; }



  /* Hero */

  .hero-title { font-size: 1.45rem; }

  .hero-content { padding: 2rem 0; }

  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }



  /* Products */

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  .product-img { height: 110px; }

  .product-info { padding: 0.6rem; }

  .product-title { font-size: 0.78rem; -webkit-line-clamp: 3; }

  .product-price { font-size: 0.95rem; margin: 0.2rem 0 0.4rem; }

  .btn-cart { font-size: 0.68rem; padding: 0.4rem 0.4rem; }

  .btn-favorite, .btn-compare, .btn-quick { width: 40px; height: 40px; }



  /* Catalog toolbar */

  .catalog-toolbar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .catalog-sort { width: 100%; }



  /* Pagination */

  .page-btn { width: 40px; height: 40px; font-size: 0.75rem; }



  /* Cart modal */

  .cart-title { font-size: 1rem; }

  .cart-item { gap: 0.5rem; }

  .cart-item-img { width: 48px; height: 48px; }



  /* Cookie banner */

  .cookie-banner__inner { flex-wrap: wrap; gap: 0.75rem; }

  .cookie-banner__actions { width: 100%; }

  .cookie-btn-accept, .cookie-btn-decline { flex: 1; }



  /* Checkout */

  .checkout-form__row { grid-template-columns: 1fr; }

  /* checkout-modal styles handled by dedicated mobile-first rules above */



  /* Blog */

  .blog-hero__title { font-size: 1.6rem; }

  .blog-card__title { font-size: 0.9rem; }



  /* About */

  .about-stat-grid { grid-template-columns: 1fr 1fr; }

  .about-card { padding: 1.25rem; }

}



/* ════════════════════════════════════════

   MOBILE NAVIGATION DRAWER

   ════════════════════════════════════════ */



/* Hamburger button — visible only on mobile */

.mob-menu-btn {

  display: none;

  background: transparent;

  border: 1px solid var(--border);

  color: var(--text);

  width: 40px; height: 40px;

  border-radius: var(--radius);

  align-items: center; justify-content: center;

  cursor: pointer; flex-shrink: 0;

  transition: all 0.2s;

}

.mob-menu-btn:hover { border-color: var(--accent); color: var(--accent); }

.mob-menu-btn svg { display: block; }



/* Full-screen drawer overlay */

.mob-drawer-overlay {

  display: none;

  position: fixed; inset: 0; z-index: 9000;

  background: rgba(0,0,0,0.65);

  backdrop-filter: blur(4px);

  opacity: 0; transition: opacity 0.3s;

  pointer-events: none;

}

.mob-drawer-overlay.open { opacity: 1; pointer-events: all; }



/* Drawer panel — slides from left */

.mob-drawer {

  position: fixed; top: 0; left: -100%; bottom: 0;

  width: min(85vw, 340px); z-index: 9001;

  background: var(--c1);

  border-right: 1px solid var(--border);

  display: flex; flex-direction: column;

  transition: left 0.32s cubic-bezier(0.4,0,0.2,1);

  overflow: hidden;

  pointer-events: none;

}

.mob-drawer.open { pointer-events: all; }

.mob-drawer.open { left: 0; }



.mob-drawer__head {

  display: flex; align-items: center; justify-content: space-between;

  padding: 1rem 1.25rem;

  border-bottom: 1px solid var(--border);

  flex-shrink: 0;

  background: var(--c2);

}

.mob-drawer__logo { height: 32px; width: auto; object-fit: contain; }

.mob-drawer__close {

  background: transparent; border: none; color: var(--text-muted);

  font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.5rem;

  border-radius: 6px; transition: all 0.2s;

}

.mob-drawer__close:hover { color: var(--danger); background: rgba(255,71,87,0.1); }



/* Contacts strip */

.mob-drawer__contacts {

  display: flex; flex-direction: column; gap: 0.35rem;

  padding: 0.75rem 1.25rem;

  border-bottom: 1px solid var(--border);

  flex-shrink: 0;

  background: var(--c2);

}

.mob-drawer__contacts a {

  display: flex; align-items: center; gap: 0.5rem;

  font-size: 0.82rem; color: var(--text-muted); text-decoration: none;

  font-family: var(--mono); transition: color 0.2s;

}

.mob-drawer__contacts a:hover { color: var(--accent); }



/* Scrollable nav links */

.mob-drawer__nav {

  flex: 1; overflow-y: auto; padding: 0.5rem 0;

  scrollbar-width: none;

}

.mob-drawer__nav::-webkit-scrollbar { display: none; }



.mob-nav-item {

  display: flex; align-items: center; gap: 0.75rem;

  padding: 0.85rem 1.25rem;

  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;

  text-decoration: none; cursor: pointer;

  border-left: 3px solid transparent;

  transition: all 0.15s;

}

.mob-nav-item:hover, .mob-nav-item.active {

  color: var(--accent); background: rgba(0,212,255,0.05);

  border-left-color: var(--accent);

}

.mob-nav-item svg { flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; }



/* Catalog expand section */

.mob-nav-catalog-toggle {

  display: flex; align-items: center; justify-content: space-between;

  padding: 0.85rem 1.25rem;

  color: var(--accent); font-size: 0.9rem; font-weight: 600;

  cursor: pointer; border-left: 3px solid var(--accent);

  background: rgba(0,212,255,0.04);

  user-select: none;

}

.mob-nav-catalog-toggle__arrow { font-size: 0.75rem; transition: transform 0.2s; }

.mob-nav-catalog-toggle.expanded .mob-nav-catalog-toggle__arrow { transform: rotate(180deg); }



.mob-catalog-list {

  display: none; flex-direction: column;

  background: rgba(0,0,0,0.15);

  border-bottom: 1px solid var(--border);

  max-height: 55vh; overflow-y: auto;

}

.mob-catalog-list.open { display: flex; }

.mob-catalog-list::-webkit-scrollbar { width: 3px; }

.mob-catalog-list::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }



.mob-cat-item {

  display: flex; align-items: center; justify-content: space-between;

  padding: 0.65rem 1.5rem;

  color: var(--text-muted); font-size: 0.82rem; font-weight: 500;

  cursor: pointer; border-left: 3px solid transparent;

  transition: all 0.15s;

}

.mob-cat-item:hover { color: var(--accent); background: rgba(0,212,255,0.05); border-left-color: rgba(0,212,255,0.4); }

.mob-cat-item__count { font-size: 0.62rem; font-family: var(--mono); color: var(--text-dim); background: rgba(255,255,255,0.05); padding: 0.1rem 0.35rem; border-radius: 5px; }

.mob-cat-children { display: none; flex-direction: column; }

.mob-cat-children.open { display: flex; }

.mob-cat-child { padding: 0.5rem 2.25rem; color: var(--text-dim); font-size: 0.78rem; cursor: pointer; transition: all 0.15s; border-left: 3px solid transparent; }

.mob-cat-child:hover { color: var(--accent); background: rgba(0,212,255,0.04); border-left-color: rgba(0,212,255,0.3); }



/* Action buttons in drawer footer */

.mob-drawer__footer {

    flex-shrink: 0; padding: 0.75rem 1.25rem;

    border-top: 1px solid var(--border);

    display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem;

  }

.mob-drawer__footer .btn-primary { width: 100%; flex: none; font-size: 0.82rem; padding: 0.6rem 0.75rem; justify-content: center; }

  .mob-drawer__footer .theme-toggle--drawer { width: 100%; margin-top: 0 !important; }



/* ════════════════════════════════════════

   RESPONSIVE OVERRIDES

   ════════════════════════════════════════ */



/* global overflow guard */

html, body { overflow-x: hidden; max-width: 100%; }

* { min-width: 0; box-sizing: border-box; }

img, svg, iframe, video { max-width: 100%; }



@media (max-width: 900px) {

  /* Show hamburger, hide desktop catalog button & navbar */

  .mob-menu-btn { display: flex; }

  /* Desktop catalog button hidden on mobile (nav handled by drawer) */

  .catalog-menu-wrapper { display: none; }



  /* Simplify header to single row: logo | search | icons | burger */

  .header__inner { flex-wrap: nowrap; gap: 0.5rem; padding: 0.65rem 0; align-items: center; }

  .header__left { display: contents; } /* flatten */

  .header__search { flex: 1; max-width: none; order: 2; }

  .header__right { flex-shrink: 0; order: 3; gap: 0.1rem; }

  .action-text { display: none; }

  .action-btn { min-width: 38px; padding: 0.3rem 0.35rem; }



  /* Hide the sticky navbar (all pages accessible via drawer) */

  .navbar { display: none; }



  /* Topbar: phone only */

  .topbar__right { gap: 0.6rem; }

  .topbar__sep { display: none; }

  .topbar__link:last-child { display: none; } /* hide email in topbar on small */



  /* Hide theme toggle from topbar on mobile — it lives in the drawer instead */

  .theme-toggle { display: none; }

}



@media (max-width: 600px) {

  .topbar__left { display: none; }

  .container { padding: 0 1rem; }

  .header__inner {
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
  }

  .header__search {
    flex: 0 0 100%;
    order: 4;
  }

  .search-form {
    min-height: 44px;
  }

  .search-form input {
    padding: 0.7rem 0.95rem;
    font-size: 1rem;
    line-height: 1.25;
  }

  .search-form button {
    min-width: 48px;
    padding: 0 0.9rem;
  }

  .suggestions-box {
    max-height: min(360px, 60vh);
  }

  .mob-drawer__search form {
    margin: 0.75rem 1rem !important;
  }

  .mob-drawer__search input {
    min-width: 0;
    font-size: 1rem !important;
    line-height: 1.25;
  }



  /* Products grid 2-col */

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

  .product-img { height: 120px; }

  .product-info { padding: 0.65rem; }

  .product-title { font-size: 0.78rem; }

  .product-price { font-size: 0.95rem; }

  .btn-cart { font-size: 0.7rem; padding: 0.4rem 0.4rem; }

  .btn-favorite, .btn-compare, .btn-quick { width: 40px; height: 40px; font-size: 0.78rem; }



  /* Catalog page: sidebar stacks above products */

  .catalog-layout { grid-template-columns: 1fr; gap: 1rem; margin: 1rem 0; }

  .sidebar { position: static; }



  /* Catalog toolbar */

  .catalog-toolbar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .catalog-sort { width: 100%; }



  /* Hero */

  .hero { min-height: auto; }

  .hero-title { font-size: 1.6rem; }

  .hero-content { padding: 1.75rem 0 2rem; }

  .hero-actions { flex-direction: column; }

  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  .hero-stat-num { font-size: 1.25rem; }



  /* Advantages */

  .advantages-grid { grid-template-columns: 1fr; background: none; border: none; gap: 0.75rem; }

  .advantage-card { border: 1px solid var(--border); border-radius: var(--radius); }



  /* Cart modal */

  .cart-modal { width: 100%; right: -100%; max-width: 100%; }



  /* Modals full screen */

  .product-modal {

    width: 100%; max-width: 100%; max-height: 100%;

    top: 0; left: 0; bottom: 0; right: 0;

    transform: none !important; border-radius: 0;

  }

  .product-modal.open { transform: none !important; }

  .product-modal-body { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }



  .favorites-modal, .compare-modal { width: 100%; max-width: 100%; border-radius: 0; }



  /* Footer */

  .footer-grid { grid-template-columns: 1fr; }



  /* Blog */

  .blog-featured { grid-template-columns: 1fr; }

  .blog-featured__img { min-height: 180px; }

  .blog-featured__img::after { background: linear-gradient(0deg, var(--c1) 0%, transparent 60%); }

  .blog-grid { grid-template-columns: 1fr; }

  .article-layout { grid-template-columns: 1fr; }

  .article-title { font-size: 1.4rem; }

  .blog-hero__title { font-size: 1.6rem; }



  /* About */

  .about-grid { grid-template-columns: 1fr; }

  .about-stat-grid { grid-template-columns: 1fr 1fr; }

  .about-card { padding: 1.25rem; }



  /* Contacts */

  .contacts-layout { grid-template-columns: 1fr; }

  .map-container { min-height: 0; }

  .map-container iframe { width: 100% !important; height: 100% !important; }

  .map-container--static { grid-template-rows: 260px auto; }

  .map-static-card { min-height: 260px; }

  .map-static-content { grid-template-columns: 1fr; }

  .map-static-actions { justify-content: flex-start; }



  /* Pagination */

  .page-btn { width: 32px; height: 32px; font-size: 0.75rem; }



  /* Cookie banner */

  .cookie-banner__inner { flex-wrap: wrap; gap: 0.75rem; }

  .cookie-banner__actions { width: 100%; }

  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }



  /* Checkout */

  .checkout-form__row { grid-template-columns: 1fr; }

  /* checkout-modal styles handled by dedicated mobile-first rules above */



  /* Section title */

  .section-title { font-size: 1.3rem; }

}



@media (max-width: 400px) {

  .container { padding: 0 0.75rem; }

  .products-grid { gap: 0.4rem; }

  .product-img { height: 100px; }

  .btn-cart { font-size: 0.62rem; padding: 0.35rem 0.3rem; }

  .hero-title { font-size: 1.3rem; }

  .page-btn { width: 28px; height: 28px; font-size: 0.68rem; }

  .logo-img { height: 34px; }

}

/* Source inline <style>, original line 8168 */
@keyframes mfrPulse{0%,100%{opacity:1}50%{opacity:.3}}

        @keyframes mfrSpin{to{transform:rotate(360deg)}}


/* SEO trust, commercial factors and cases */
.trust-factors-section,.client-cases-section{
  position:relative;
  z-index:1;
  padding:3.75rem 0;
  border-top:1px solid rgba(0,207,255,.22);
  background:linear-gradient(180deg,rgba(5,14,25,.88),rgba(6,16,29,.94));
  box-shadow:0 -1px 0 rgba(255,255,255,.03) inset;
}
.trust-factors-section .section-eyebrow,
.client-cases-section .section-eyebrow{color:#22dfff;text-shadow:0 0 18px rgba(0,207,255,.32)}
.trust-factors-section .section-title,
.client-cases-section .section-title{color:#f4f8ff;text-shadow:0 2px 18px rgba(0,0,0,.55)}
.trust-factors-section .section-subtitle,
.client-cases-section .section-subtitle{color:#c7d8ec}
.trust-factors-grid,.client-cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.trust-factor,.client-case{
  border:1px solid rgba(65,169,255,.42);
  background:linear-gradient(180deg,rgba(12,30,50,.98),rgba(7,19,34,.99));
  border-radius:var(--radius);
  padding:1.15rem;
  min-height:160px;
  box-shadow:0 16px 42px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.035) inset;
}
.trust-factor__icon{
  width:38px;
  height:38px;
  border-radius:10px;
  background:rgba(0,207,255,.18);
  color:#28e6ff;
  border:1px solid rgba(0,207,255,.32);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:.75rem;
  font-weight:800;
}
.trust-factor h3,.client-case h3{font-size:1rem;line-height:1.35;margin:.2rem 0 .55rem;color:#f7fbff}
.trust-factor p,.client-case p{color:#d2e2f5;font-size:.9rem;line-height:1.6;margin:0}
.client-case__meta{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#15dcff;margin-bottom:.55rem}
html[data-route="product"] .client-cases-section,
html[data-route="product"] .trust-factors-section{display:none}
html[data-theme="light"] .trust-factors-section,
html[data-theme="light"] .client-cases-section{
  background:transparent;
  border-top:1px solid var(--border);
  box-shadow:none;
}
html[data-theme="light"] .trust-factors-section .section-eyebrow,
html[data-theme="light"] .client-cases-section .section-eyebrow{
  color:var(--accent);
  text-shadow:none;
}
html[data-theme="light"] .trust-factors-section .section-title,
html[data-theme="light"] .client-cases-section .section-title{
  color:var(--text);
  text-shadow:none;
}
html[data-theme="light"] .trust-factors-section .section-subtitle,
html[data-theme="light"] .client-cases-section .section-subtitle{color:var(--text-muted)}
html[data-theme="light"] .trust-factor,
html[data-theme="light"] .client-case{
  border:1px solid rgba(0,100,200,.18);
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 30px rgba(25,52,89,.08),0 0 0 1px rgba(255,255,255,.7) inset;
}
html[data-theme="light"] .trust-factor__icon{
  background:rgba(0,102,204,.08);
  color:var(--accent);
  border:1px solid rgba(0,102,204,.18);
}
html[data-theme="light"] .trust-factor h3,
html[data-theme="light"] .client-case h3{color:var(--text)}
html[data-theme="light"] .trust-factor p,
html[data-theme="light"] .client-case p{color:var(--text-muted)}
html[data-theme="light"] .client-case__meta{color:var(--accent)}
.seo-static-content{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* ATTRON brand and default theme: 20260912-brand1 */
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
img.attron-brand{object-fit:contain;background:transparent;opacity:1!important}
html[data-theme="dark"] img.attron-brand{filter:url(#attron-logo-outline)}
html[data-theme="light"] img.attron-brand{filter:none}
.header .logo img.attron-brand{height:58px!important;width:auto;max-width:220px}
.logo-footer img.attron-brand{height:52px!important;width:auto}
.mob-drawer__logo.attron-brand{height:48px;width:auto}
@media(max-width:600px){.header .logo img.attron-brand{height:46px!important;max-width:160px}}
html[data-theme="light"] .header{background:rgba(240,244,250,.94)}

/* Performance/CLS patch 20260914: reserve space for asynchronously rendered home products. */
#homeProducts {
  min-height: 438px;
  align-items: stretch;
  content-visibility: auto;
  contain-intrinsic-size: 438px;
}
#homeProducts .loading-container {
  grid-column: 1 / -1;
  min-height: 438px;
}
.product-img img,
.blog-card__img img,
.product-gallery__main img,
.product-gallery__thumb img,
.favorite-item-img img,
.compare-product-img img,
.cart-item-img img {
  aspect-ratio: attr(width) / attr(height);
}
@media (max-width: 900px) {
  #homeProducts,
  #homeProducts .loading-container {
    min-height: 660px;
    contain-intrinsic-size: 660px;
  }
}
@media (max-width: 600px) {
  #homeProducts,
  #homeProducts .loading-container {
    min-height: 560px;
    contain-intrinsic-size: 560px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
