@charset "UTF-8";
/* ==========================================================================
   EVStore 2.0 — Nordic Electric Studio Design System
   Shared by the storefront (index.html) and the administration (admin.html).
   Self-contained: CSP only allows same-origin styles and data: images, so all
   icons are inline SVG data URIs applied through CSS masks.
   ========================================================================== */

:root {
  /* Architectural Studio Palette — Soft Low-Contrast Nordic Tones */
  --ink: #162032;
  --ink-2: #253348;
  --ink-3: #3b4b63;
  --muted: #52637c;
  --subtle: #687992;
  --faint: #8fa0b6;
  --brand: #1e56d9;
  --brand-dark: #1742ab;
  --brand-light: #3b82f6;
  --brand-50: #eef4ff;
  --brand-100: #dce8fd;
  --brand-200: #bfd4fb;
  --lime: #2563eb;
  --lime-strong: #1d4ed8;
  --night: #e6ecf4;
  --night-2: #dfe7f2;
  --night-3: #d5e0ee;
  --line: #dfe6f0;
  --line-strong: #cbd5e3;
  --paper: #f1f4f8;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --studio-bg: #e3e8f0;
  --white: #ffffff;
  --soft: var(--brand-50);
  --success: #059669;
  --success-50: #ecfdf5;
  --danger: #dc2626;
  --danger-50: #fef2f2;
  --warning: #d97706;
  --warning-50: #fffbeb;
  --info: #0284c7;
  --info-50: #f0f9ff;

  /* Shape & Depth */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --pill: 999px;
  --shadow-xs: 0 1px 2px rgb(9 13 22 / .04), 0 1px 3px rgb(9 13 22 / .03);
  --shadow-sm: 0 2px 6px -1px rgb(9 13 22 / .05), 0 8px 20px -4px rgb(9 13 22 / .04);
  --shadow: 0 16px 36px -12px rgb(9 13 22 / .12), 0 4px 12px -2px rgb(9 13 22 / .05);
  --shadow-lg: 0 28px 64px -16px rgb(9 13 22 / .2), 0 8px 20px -6px rgb(9 13 22 / .08);
  --ring: 0 0 0 4px rgb(0 85 255 / .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --gutter: max(4vw, 20px);

  /* Inline SVG Icons (Lucide-style strokes) */
  --i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  --i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='14' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3C/svg%3E");
  --i-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E");
  --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  --i-package: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
  --i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
  --i-zap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --i-coins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18'/%3E%3Cpath d='M7 6h1v4'/%3E%3Cpath d='m16.71 13.88.7.71-2.82 2.82'/%3E%3C/svg%3E");
  --i-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
  --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
  --i-inbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E");
  --i-filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");
  --i-layers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E");
  --i-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' x2='4' y1='21' y2='14'/%3E%3Cline x1='4' x2='4' y1='10' y2='3'/%3E%3Cline x1='12' x2='12' y1='21' y2='12'/%3E%3Cline x1='12' x2='12' y1='8' y2='3'/%3E%3Cline x1='20' x2='20' y1='21' y2='16'/%3E%3Cline x1='20' x2='20' y1='12' y2='3'/%3E%3Cline x1='2' x2='6' y1='14' y2='14'/%3E%3Cline x1='10' x2='14' y1='8' y2='8'/%3E%3Cline x1='18' x2='22' y1='16' y2='16'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  color-scheme: light;
  font-family: Inter, "HarmonyOS Sans SC", "PingFang SC", "SF Pro Display", "Microsoft YaHei UI", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 15px;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button:disabled { cursor: not-allowed; opacity: .48; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; font-weight: 760; color: var(--ink); }
h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p { overflow-wrap: anywhere; }
h1, h2, h3, a, button { overflow-wrap: break-word; }
small { font-size: .78rem; }
main { min-height: 68vh; display: block; }
main:focus { outline: none; }
::selection { background: rgb(0 85 255 / .16); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 18px; background: var(--ink); color: var(--white); border-radius: var(--pill); box-shadow: var(--shadow); font-weight: 650; }
.skip-link:focus { top: 14px; }
.skip-link { max-width: calc(100vw - 32px); }
.muted { color: var(--muted); }
.fine-print, .field-help { color: var(--muted); font-size: .8rem; line-height: 1.65; }

/* Icon helper */
.brand-tagline::before, .account-link::before, .tool-link::before, .main-nav a::before, .nav-menu-toggle::before, .trust-icon,
.info-panel::before, .error-panel::before, .empty-symbol::before, .filters-title::before,
.hero-points li::before, .result-mark::before, .product-card-footer .button::after,
.collection-copy .button::after, .section-head > .button::after, .cta-band .button.light::after {
  content: "";
  display: inline-block;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgb(250 251 253 / .9);
  border-bottom: 1px solid rgb(15 23 42 / .07);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 4px 20px -8px rgb(15 23 42 / .04);
}
.header-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: 10px 24px;
  width: min(1380px, 92%);
  min-height: var(--header-h);
  margin: 0 auto;
  padding-block: 12px;
}
.header-brand { grid-area: brand; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.brand-tagline { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .66rem; font-weight: 560; line-height: 1.4; }
.brand-tagline::before { --icon: var(--i-zap); width: 12px; height: 12px; color: var(--brand); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--subtle);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -.05em;
  box-shadow: 0 6px 16px -6px rgb(30 86 217 / .35);
  border: 1px solid rgb(255 255 255 / .16);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 2.5px var(--white);
}

.footer-zone-links { display: grid; gap: 10px; }
.primary-zones { display: contents; }
.menu-chevron { flex: none; width: 6px; height: 6px; margin: -3px 2px 0; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.nav-menu-toggle[aria-expanded=true] .menu-chevron { transform: translateY(3px) rotate(225deg); }
.zone-menu-empty { margin: 8px 12px; color: var(--muted); font-size: .85rem; }
.main-nav {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  grid-area: nav;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
  padding: 4px;
  border-radius: 24px;
  background: rgb(241 245 249 / .8);
  border: 1px solid rgb(226 232 240 / .9);
  font-size: .86rem;
  font-weight: 620;
}
.main-nav a, .main-nav .nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  min-height: 40px;
  min-width: 0;
  max-width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  border-radius: var(--pill);
  color: var(--ink-3);
  transition: background .2s var(--ease), color .2s, box-shadow .2s;
  white-space: nowrap;
}
.main-nav a::before, .nav-menu-toggle::before { --icon: var(--i-layers); width: 15px; height: 15px; flex: none; opacity: .7; transition: opacity .2s, color .2s; }
html[lang=en] .main-nav a, html[lang=ru] .main-nav a, html[lang=fr] .main-nav a, html[lang=en] .nav-menu-toggle, html[lang=ru] .nav-menu-toggle, html[lang=fr] .nav-menu-toggle { padding-inline: 10px; font-size: .8rem; }
.main-nav .nav-home::before { --icon: var(--i-home); }
.main-nav .nav-menu-toggle::before { --icon: var(--i-grid); }
.main-nav .nav-vehicles::before { --icon: var(--i-truck); }
.main-nav .nav-charging::before { --icon: var(--i-zap); }
.main-nav a:hover, .main-nav .nav-menu-toggle:hover { background: var(--white); color: var(--brand); }
.main-nav a[aria-current=page], .main-nav .nav-menu-toggle[data-current=true] {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 12px -3px rgb(30 86 217 / .3);
}
.main-nav a[aria-current=page]::before, .main-nav .nav-menu-toggle[data-current=true]::before { color: var(--white); opacity: 1; }

.header-tools { grid-area: tools; justify-self: end; align-self: start; max-width: 100%; display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.select-group {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}
.header-tools select, .admin-header select {
  width: auto;
  min-height: 32px;
  padding: 4px 26px 4px 12px;
  border: 0;
  border-radius: var(--pill);
  background: transparent var(--i-chevron) right 8px center / 14px no-repeat;
  font-size: .78rem;
  font-weight: 650;
  color: var(--ink-2);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.header-tools select:hover, .admin-header select:hover { background-color: var(--paper); }
.service-tools { display: inline-flex; align-items: stretch; flex: none; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow-xs); }
.service-tools .select-group { border: 0; border-radius: var(--pill) 0 0 var(--pill); box-shadow: none; background: transparent; }
.service-tools .tool-link { border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.nav-zone { position: relative; display: flex; align-items: center; min-width: 0; }
.main-nav .nav-menu-toggle { border-radius: var(--pill); justify-content: center; }
.nav-menu-toggle { width: 100%; cursor: pointer; white-space: normal; text-align: center; }
.main-nav .nav-menu-toggle[aria-expanded=true] { color: var(--brand); background: var(--white); box-shadow: var(--shadow-xs); }
.main-nav .nav-menu-toggle[aria-expanded=true]::before { color: currentColor; }
.nav-menu-toggle > span { min-width: 0; overflow-wrap: normal; }
.nav-menu-toggle svg { transition: transform .2s; flex: none; }
.nav-menu-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.zone-menu { position: absolute; z-index: 60; top: 100%; left: 0; width: max-content; min-width: 220px; max-width: min(360px, 88vw); max-height: min(440px, 65vh); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }
.main-nav .zone-menu a { display: flex; white-space: normal; overflow-wrap: anywhere; border-radius: 10px; padding: 11px 12px; font-size: .86rem; }
.main-nav .zone-menu a::before { flex: none; }
.help-link, .search-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; min-height: 38px; flex: none; color: var(--brand); border-left: 1px solid var(--line); transition: background .2s, color .2s; }
.help-link { border-radius: 0 var(--pill) var(--pill) 0; }
.search-link:hover, .search-link[aria-current=page] { background: var(--brand-50); color: var(--brand-dark); }
.search-link svg { display: block; flex: none; }
.help-link:hover, .help-link[aria-current=page] { background: var(--brand-50); color: var(--brand-dark); }
.help-link svg { display: block; flex: none; }
.product-content { margin-top: 36px; }
.product-content-frame { display: block; width: 100%; min-height: 120px; height: 120px; border: 0; border-radius: 16px; background: #fff; }
.related-products { margin-top: 48px; }
.search-page .search-form { max-width: 900px; margin: 24px 0 36px; }
.search-page .product-grid { margin-top: 24px; }
.discovery-image { max-width: 480px; height: auto; margin-block: 24px; object-fit: contain; }
.discovery-content p { white-space: pre-line; }
.discovery-enrichment { margin-top: 36px; }
.discovery-enrichment details { padding-block: 12px; border-bottom: 1px solid var(--line); }
.service-tools a:focus-visible { position: relative; z-index: 1; }

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 630;
  color: var(--ink-2);
  white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}
.tool-link::before { --icon: var(--i-package); width: 15px; height: 15px; color: var(--brand); }
.tool-link:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-dark); }

.account-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 14px;
  border-radius: var(--pill);
  background: var(--brand);
  color: var(--white);
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgb(0 85 255 / .4);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.account-link::before { --icon: var(--i-user); width: 16px; height: 16px; color: var(--white); }
.account-link:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 20px -6px rgb(0 85 255 / .5); }
.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.connection-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px var(--gutter);
  background: var(--warning-50);
  border-bottom: 1px solid #fde68a;
  color: #92400e;
  font-size: .86rem;
  font-weight: 550;
}
.connection-banner > .actions { flex-shrink: 1; }

/* ---------- Layout & Section Headers ---------- */
.container { width: min(1380px, 92%); margin: 0 auto; }
.section { padding-block: 76px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(15 23 42 / .07);
}
.section-head h2, .section-head h1 { margin-bottom: 0; }
.section-title { max-width: 720px; }
.section-title .eyebrow { margin-bottom: 10px; }
.section-lead { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgb(0 85 255 / .15);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.button {
  --icon: var(--i-arrow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--brand);
  border-radius: var(--pill);
  background: var(--brand);
  color: var(--white);
  font-weight: 660;
  font-size: .88rem;
  line-height: 1.3;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgb(0 85 255 / .4);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.button:hover:not(:disabled) {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 10px 22px -8px rgb(0 85 255 / .55);
  transform: translateY(-1px);
}
.button:active:not(:disabled) { transform: translateY(0); }
.button[aria-busy=true] { cursor: progress; }

.button.secondary {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.button.secondary:hover:not(:disabled) {
  background: var(--brand-50);
  border-color: var(--brand);
  color: var(--brand-dark);
  box-shadow: 0 6px 16px -6px rgb(0 85 255 / .18);
}

.button.light {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 6px 16px -6px rgb(30 86 217 / .35);
}
.button.light:hover:not(:disabled) {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
  box-shadow: 0 10px 22px -8px rgb(30 86 217 / .48);
}

.button.ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.button.ghost:hover:not(:disabled) {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-dark);
  box-shadow: 0 6px 16px -6px rgb(30 86 217 / .15);
}

.button.small { min-height: 36px; padding: 7px 15px; font-size: .79rem; }
.button.text {
  min-height: auto;
  padding: 6px 4px;
  border-color: transparent;
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.button.text:hover:not(:disabled) {
  background: transparent;
  border-color: transparent;
  color: var(--brand-dark);
  box-shadow: none;
  transform: none;
}
.button.danger { background: var(--danger); border-color: var(--danger); color: var(--white); }
.button::after { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.button:hover::after { transform: translateX(3px); }

/* ---------- Showroom Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #e7edf5;
  border-bottom: 1px solid #d5dfec;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 68px);
  width: min(1380px, 92%);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) 0 clamp(68px, 8vw, 112px);
}
.hero-content { min-width: 0; position: relative; z-index: 1; animation: rise .65s var(--ease) both; }
.hero-visual { min-width: 0; }
.hero .eyebrow {
  color: var(--brand);
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid #cfdceb;
}
.hero .eyebrow::before { box-shadow: none; }
.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  white-space: pre-line;
  color: var(--ink);
}
html[lang=ru] .hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.hero-lead, .hero-content > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--ink-3);
  font-size: 1.06rem;
  line-height: 1.7;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #d2dceb;
  list-style: none;
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 600;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: rgb(255 255 255 / .78);
  border: 1px solid #cfdceb;
  max-width: 100%;
  white-space: normal;
}
.hero-points li::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-100) var(--i-check) center / 10px no-repeat;
  -webkit-mask: none;
  mask: none;
}

.hero-visual { position: relative; animation: rise .75s .08s var(--ease) both; }
.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #ccd8e8;
  background: var(--white);
  box-shadow: 0 24px 48px -20px rgb(15 23 42 / .12);
}
.hero-stage .media {
  position: relative;
  background: var(--studio-bg);
}
.hero-stage .media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 62%;
}
.hero-stage .media-pending { min-height: 320px; display: grid; place-items: center; }
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f8fafc;
  border-top: 1px solid var(--line);
}
.telemetry-item {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.telemetry-item + .telemetry-item { border-left: 1px solid var(--line); }
.telemetry-code {
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .14em;
  color: var(--brand);
  text-transform: uppercase;
}
.telemetry-item strong {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Floating Trust Strip ---------- */
.trust-strip { position: relative; z-index: 3; margin-top: -42px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; margin-bottom: 4px; font-size: .94rem; font-weight: 740; color: var(--ink); }
.trust-item p { margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.55; }
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  position: relative;
  -webkit-mask: none;
  mask: none;
}
.trust-icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  background: var(--brand);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.trust-1 .trust-icon { --icon: var(--i-truck); }
.trust-2 .trust-icon { --icon: var(--i-message); }
.trust-3 .trust-icon { --icon: var(--i-coins); }
.trust-4 .trust-icon { --icon: var(--i-shield); }

/* ---------- Scenario Collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.collection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.collection-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}
.collection-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--studio-bg);
  border-bottom: 1px solid var(--line);
}
.collection-card .media { width: 100%; background: var(--studio-bg); }
.collection-card .media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.collection-card:hover .media img { transform: scale(1.04); }
.collection-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 28px 32px 32px;
}
.collection-copy .eyebrow { margin-bottom: 10px; }
.collection-copy h3 { margin-bottom: 10px; font-size: 1.6rem; }
.collection-copy p { max-width: 540px; margin-bottom: 18px; color: var(--muted); }
.collection-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.collection-copy .button { margin-top: auto; }
.collection-copy .button::after, .section-head > .button::after, .product-card-footer .button::after, .cta-band .button.light::after { --icon: var(--i-arrow); }

/* ---------- Product Showroom Grid & Cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
}
.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--studio-bg);
  border-bottom: 1px solid var(--line);
}
.product-media .media {
  aspect-ratio: 4 / 3;
  background: var(--studio-bg);
}
.product-media img {
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.045); }

.product-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 11px;
  border-radius: var(--pill);
  background: rgb(255 255 255 / .92);
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  white-space: nowrap;
  border: 1px solid var(--brand-200);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.product-illustrative {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: rgb(255 255 255 / .88);
  border: 1px solid rgb(15 23 42 / .1);
  color: var(--ink-3);
  font-size: .62rem;
  font-weight: 660;
  letter-spacing: .04em;
  line-height: 1.4;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.product-type-group {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
}
.product-type {
  color: var(--brand);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .04em;
  white-space: nowrap;
}
.product-copy h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.32;
  letter-spacing: -.015em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-copy h3 a:hover { color: var(--brand); }
.product-tagline {
  margin: 0 0 10px;
  padding: 4px 10px;
  border-left: 2.5px solid var(--brand);
  border-radius: 0 6px 6px 0;
  background: var(--brand-50);
  color: var(--brand-dark);
  font-size: .74rem;
  font-weight: 680;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-excerpt {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--line);
  overflow: hidden;
}
.card-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 11px;
  background: var(--surface-2);
}
.card-metric-label {
  color: var(--subtle);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-metric-value {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.sku-pill, .spec-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 640;
  font-family: "JetBrains Mono", Consolas, "SFMono-Regular", monospace;
  white-space: nowrap;
}
.spec-pill {
  font-family: inherit;
  padding: 3px 9px;
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-dark);
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.product-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; }
.product-price-label { font-size: .66rem; color: var(--subtle); font-weight: 660; text-transform: uppercase; letter-spacing: .05em; }
.product-price { font-size: 1.15rem; font-weight: 820; color: var(--ink); letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-price.is-pending { font-size: .9rem; font-weight: 740; color: var(--brand-dark); letter-spacing: 0; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex-shrink: 0;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--brand-50);
  color: var(--brand-dark);
  border: 1px solid var(--brand-100);
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .01em;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgb(0 85 255 / .15);
}
.badge.muted::before { display: none; }
.badge.badge-direct { background: var(--success-50); color: var(--success); border-color: #a7f3d0; }
.badge.badge-direct::before { box-shadow: 0 0 0 3px rgb(5 150 105 / .18); }
.badge.badge-inquiry { background: var(--info-50); color: var(--info); border-color: #bae6fd; }
.badge.badge-inquiry::before { box-shadow: 0 0 0 3px rgb(2 132 199 / .18); }
.badge.example {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgb(255 255 255 / .92);
  color: var(--ink);
  border: 1px solid rgb(15 23 42 / .1);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.badge.example::before {
  background: var(--brand);
  box-shadow: 0 0 0 3px rgb(0 85 255 / .18);
}
.badge.muted { background: #f1f5f9; color: var(--muted); border-color: var(--line); }

[data-status=cancelled], [data-status=closed], [data-status=expired] { background: #f1f5f9 !important; color: #475569 !important; border-color: #cbd5e1 !important; }
[data-status=cancelled]::before, [data-status=closed]::before, [data-status=expired]::before { box-shadow: 0 0 0 3px rgb(71 85 105 / .15); }
[data-status=awaiting_payment], [data-status=awaiting_confirmation] { background: var(--warning-50) !important; color: var(--warning) !important; border-color: #fde68a !important; }
[data-status=awaiting_payment]::before, [data-status=awaiting_confirmation]::before { box-shadow: 0 0 0 3px rgb(217 119 6 / .18); }
[data-status=completed], [data-status=fulfilled], [data-status=shipped], [data-status=confirmed], [data-status=converted] { background: var(--success-50) !important; color: var(--success) !important; border-color: #a7f3d0 !important; }
[data-status=completed]::before, [data-status=fulfilled]::before, [data-status=shipped]::before, [data-status=confirmed]::before, [data-status=converted]::before { box-shadow: 0 0 0 3px rgb(5 150 105 / .18); }
[data-status=new], [data-status=open], [data-status=reviewing], [data-status=answered], [data-status=replied], [data-status=responded] { background: var(--info-50) !important; color: var(--info) !important; border-color: #bae6fd !important; }
[data-status=new]::before, [data-status=open]::before, [data-status=reviewing]::before, [data-status=answered]::before, [data-status=replied]::before, [data-status=responded]::before { box-shadow: 0 0 0 3px rgb(2 132 199 / .18); }

/* ---------- Media Containers ---------- */
.media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background: var(--studio-bg);
}
.media img { object-fit: cover; }
.media-pending { padding: 30px; color: var(--subtle); font-size: .84rem; text-align: center; letter-spacing: .02em; }
.media-pending::before {
  content: "EV STUDIO";
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .24em;
}
.media-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgb(255 255 255 / .9);
  border: 1px solid rgb(15 23 42 / .1);
  color: var(--ink-2);
  font-size: .66rem;
  font-weight: 560;
  line-height: 1.45;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- Process Architecture Section ---------- */
.process-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #e7edf5;
  border-top: 1px solid #d5dfec;
  border-bottom: 1px solid #d5dfec;
}
.process-section h2 { max-width: 640px; color: var(--ink); }
.process-section .eyebrow { color: var(--brand); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.process-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid #d3deeb;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}
.process-card h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: 10px; }
.process-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand);
  font-size: .86rem;
  font-weight: 800;
}
.process-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: clamp(36px, 5vw, 60px);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: #e1eaf6;
  border: 1px solid #cad8ec;
  box-shadow: var(--shadow-sm);
}
.cta-copy { position: relative; z-index: 1; max-width: 640px; }
.cta-copy .eyebrow { color: var(--brand); margin-bottom: 10px; }
.cta-band h2 { margin-bottom: 10px; color: var(--ink); }
.cta-band p { margin: 0; color: var(--ink-3); }
.cta-band .actions { position: relative; z-index: 1; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 32px;
  background: #e4eaf3;
  color: var(--ink-3);
  border-top: 1px solid #d2dceb;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  width: min(1380px, 92%);
  margin: 0 auto;
  padding: 64px 0 36px;
}
.footer-brand { margin-bottom: 16px; color: var(--ink); }
.footer-brand small { color: var(--subtle); }
.footer-brand-col p { max-width: 360px; color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pill {
  padding: 4px 11px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid #cfdceb;
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 600;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; font-size: .88rem; }
.footer-col h2 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-col a { color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid #d2dceb;
}
.site-footer .fine-print { color: var(--subtle); margin: 0; }

/* ---------- Catalog Showroom ---------- */
.catalog-header {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 34px 40px 38px;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.catalog-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.catalog-header-top .breadcrumb { margin-bottom: 0; }
.catalog-quick-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding: 8px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.catalog-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 12px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: .8rem;
  font-weight: 650;
  color: var(--muted);
  transition: background .2s, color .2s, box-shadow .2s;
}
.catalog-tab:hover { color: var(--ink); }
.catalog-tab.active {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-xs);
}
.catalog-header h1 { margin-bottom: 8px; }
.catalog-header > .muted { max-width: 720px; margin-bottom: 0; font-size: .9rem; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: .8rem; }
.breadcrumb > * + *::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--ink); font-weight: 650; }

.search-form {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin-top: 24px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}
.search-form input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding-left: 44px;
  border: 0;
  border-radius: var(--pill);
  background: transparent var(--i-search) 16px center / 18px no-repeat;
  box-shadow: none;
}
.search-form input:focus { box-shadow: none; }
.search-form:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.search-form .button { min-height: 42px; }
.search-form .button::after { display: none; }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 80px;
}
.catalog-layout > *, .catalog-header > *, .filters > *, .results-toolbar > * { min-width: 0; }
.filters select { width: 100%; min-width: 0; }
.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
  padding: 24px;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}
.filters-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.filters-title::before { --icon: var(--i-filter); width: 18px; height: 18px; color: var(--brand); }
.filters .field { margin-bottom: 16px; }
.filters > .button.text { margin-top: 4px; }
.catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--pill);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}
.results-toolbar p { flex: 1 1 auto; margin: 0; color: var(--ink-2); font-size: .86rem; font-weight: 680; }
.results-toolbar select { flex: 0 1 220px; width: 100%; min-width: 0; max-width: 100%; min-height: 40px; border-radius: 12px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin-bottom: 18px; }
.field label { color: var(--ink-2); font-size: .82rem; font-weight: 660; }
.field label span { color: var(--danger); }
input, select, textarea {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
select {
  padding-right: 36px;
  background: var(--white) var(--i-chevron) right 12px center / 16px no-repeat;
  appearance: none;
  -webkit-appearance: none;
}
select[multiple] { background-image: none; padding-right: 14px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: #94a3b8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox], input[type=radio] { flex: none; width: 19px; height: 19px; min-height: 19px; padding: 0; accent-color: var(--brand); }
input[type=file] { padding: 8px; }
.field-help { margin: 0; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; margin-block: 18px; font-size: .86rem; }
.checkbox input { margin-top: 3px; }
.checkbox a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- Feedback Panels & Empty States ---------- */
.error-panel, .info-panel {
  position: relative;
  margin-block: 16px;
  padding: 14px 18px 14px 46px;
  border-radius: 13px;
  font-size: .86rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.error-panel::before, .info-panel::before { position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; }
.error-panel { border: 1px solid #fecaca; background: var(--danger-50); color: #991b1b; }
.error-panel::before { --icon: var(--i-alert); color: var(--danger); }
.error-panel ul { margin: 8px 0 0; padding-left: 18px; }
.info-panel { border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--ink-2); }
.info-panel::before { --icon: var(--i-info); color: var(--brand); }
.info-panel h3 { margin-top: 0; }

.empty-state {
  padding: 68px 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .8);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.empty-state h2 { margin-bottom: 10px; font-size: 1.35rem; }
.empty-state p { max-width: 520px; margin: 0 auto 24px; color: var(--muted); }
.empty-state p:empty { display: none; }
.empty-state .actions { justify-content: center; }
.empty-symbol {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: transparent;
  font-size: 0;
}
.empty-symbol::before { --icon: var(--i-inbox); width: 30px; height: 30px; color: var(--brand); }

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 110px 20px;
  color: var(--muted);
  text-align: center;
  font-weight: 550;
}
.loading-state::before {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid var(--brand-100);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Product Configurator & Detail Page ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.detail-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.detail-gallery > .media {
  aspect-ratio: 4 / 3;
  border: 1px solid rgb(15 23 42 / .09);
  border-radius: var(--radius-lg);
  background: var(--studio-bg);
  box-shadow: var(--shadow);
}
.detail-gallery > .media img {
  position: absolute;
  inset: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.gallery-thumb {
  width: 92px;
  min-height: 68px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--studio-bg);
  box-shadow: var(--shadow-xs);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.gallery-thumb:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.gallery-thumb[aria-pressed=true] {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(0 85 255 / .18);
}
.gallery-thumb .media { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--studio-bg); }
.gallery-thumb .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-note { margin-top: 10px; }
.detail-assurances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.assurance-chip {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.assurance-chip strong { display: block; font-size: .78rem; color: var(--ink); margin-bottom: 2px; }
.assurance-chip span { display: block; font-size: .7rem; color: var(--muted); line-height: 1.4; }

.detail-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.detail-badges .eyebrow { margin-bottom: 0; }
.detail-info h1 {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 2.25vw, 2.12rem);
  font-weight: 820;
  line-height: 1.22;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.detail-tagline {
  display: inline-block;
  margin: 12px 0 0;
  padding: 5px 12px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--brand-50);
  color: var(--brand-dark);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.detail-description { margin: 14px 0 22px; color: var(--muted); font-size: .94rem; line-height: 1.75; white-space: pre-line; }
.detail-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.highlight-card {
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid rgb(15 23 42 / .08);
  box-shadow: var(--shadow-xs);
}
.highlight-label {
  display: block;
  margin-bottom: 4px;
  color: var(--subtle);
  font-size: .68rem;
  font-weight: 680;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.highlight-value {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 820;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.configurator-box {
  padding: 26px;
  border: 1px solid rgb(15 23 42 / .09);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.detail-purchase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.purchase-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.purchase-head p { margin: 0; }
.purchase-price-box {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-purchase .product-price { margin: 2px 0; color: var(--ink); font-size: 1.95rem; font-weight: 820; }
.detail-purchase .product-price.is-pending { font-size: 1.28rem; font-weight: 780; color: var(--brand-dark); }
.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 600;
  color: var(--ink-3);
}
.purchase-Action-bar {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin-top: 4px;
}
.purchase-Action-bar .quantity-field { max-width: none; margin: 0; }
.purchase-Action-bar .actions { margin: 0; flex-wrap: nowrap; }
.purchase-Action-bar .actions .button:first-child { flex: 1; }
.detail-purchase > .fine-print { margin: 2px 0 0; }

.detail-tabs { margin-top: 56px; }
.spec-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.spec-section-head .eyebrow { margin-bottom: 6px; }
.spec-section-head h2 { margin: 0; }
.spec-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(15 23 42 / .08);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:nth-child(even) { background: var(--surface-2); }
.spec-table th { width: 36%; color: var(--ink-2); font-weight: 660; font-size: .9rem; }
.spec-table td { color: var(--ink); font-weight: 640; font-size: .92rem; font-variant-numeric: tabular-nums; }
.spec-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  border-radius: 6px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .68rem;
  font-weight: 760;
}
.detail-layout + .detail-tabs + .section { padding-bottom: 0; }

/* ---------- Generic Pages & Panels ---------- */
.page-header { padding: 8px 0 28px; }
.page-header h1 { margin-bottom: 10px; }
.page-header p { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.container.section > .page-header:first-child { padding-top: 0; }
.container.section:has(> .page-header:first-child) { padding-top: 48px; }
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}
.panel {
  min-width: 0;
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.panel h2 { margin-bottom: 20px; font-size: 1.28rem; }
.panel h3 { margin-top: 24px; }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }

/* ---------- Cart ---------- */
.cart-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
}
.cart-section h2::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.cart-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-row > .media {
  height: 82px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--studio-bg);
}
.cart-row > .media img { padding: 0; object-fit: cover; }
.cart-row .media-pending { padding: 5px; font-size: .6rem; }
.cart-row .media-pending::before { margin: 0; font-size: .8rem; }
.cart-row h3 { margin: 0 0 4px; font-size: 1.02rem; }
.cart-row h3 a:hover { color: var(--brand); }
.cart-row p { margin: 0 0 4px; font-size: .84rem; }
.cart-row p:not(.muted):not(.fine-print) { font-weight: 740; font-variant-numeric: tabular-nums; color: var(--ink); }
.cart-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.quantity-control {
  display: inline-grid;
  grid-template-columns: 36px 48px 36px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface-2);
}
.quantity-control button { min-height: 38px; border: 0; background: transparent; font-size: 1.1rem; font-weight: 600; transition: background .2s; }
.quantity-control button:hover:not(:disabled) { background: var(--brand-50); color: var(--brand); }
.quantity-control input {
  width: 48px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
  text-align: center;
  font-weight: 740;
  -moz-appearance: textfield;
  box-shadow: none;
}
.quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
}
.summary-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: .9rem; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { flex-shrink: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.summary-row.total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 1.24rem;
  font-weight: 800;
}
.summary-row.total span:first-child { color: var(--ink); }
.summary .button { width: 100%; margin-top: 14px; }

/* ---------- Checkout Steps & Review ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .84rem;
}
.steps li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  font-weight: 650;
  box-shadow: var(--shadow-xs);
}
.steps [aria-current=step] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 18px -8px rgb(0 85 255 / .5);
}
.steps [aria-current=step] ~ li { opacity: .65; }

.review-list { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 20px; margin: 0 0 18px; }
.review-list dt { color: var(--muted); font-size: .84rem; font-weight: 600; }
.review-list dd { margin: 0; font-size: .92rem; white-space: pre-line; overflow-wrap: anywhere; font-weight: 550; }

/* ---------- Result & Credential Vault ---------- */
.result-panel {
  max-width: 800px;
  margin: 48px auto 80px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.result-panel > h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.result-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: var(--brand);
  color: transparent;
  font-size: 0;
  box-shadow: 0 0 0 8px var(--brand-50);
}
.result-mark::before { --icon: var(--i-check); width: 30px; height: 30px; color: var(--white); }

.credential {
  margin-block: 24px;
  padding: 24px 26px;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow-xs);
}
.credential h2 { font-size: 1.2rem; margin-bottom: 6px; }
.credential label {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.credential code {
  display: block;
  margin: 6px 0 16px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-family: "JetBrains Mono", Consolas, "SFMono-Regular", monospace;
  font-size: .94rem;
  font-weight: 600;
  word-break: break-all;
  user-select: all;
}

/* ---------- Lookup, Account & Records ---------- */
.container.section:has(> .lookup-form) > .page-header {
  max-width: 680px;
  margin-inline: auto;
}
.lookup-form { max-width: 680px; margin: 0 auto; }
.record-card { max-width: 920px; margin: 30px auto; }
.record-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.record-status h2 { margin: 0; font-family: "JetBrains Mono", Consolas, monospace; font-size: 1.12rem; letter-spacing: 0; }
.record-items { margin: 18px 0; padding: 0; list-style: none; }
.record-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 550;
}
.record-items li:last-child { border-bottom: 0; }

.account-tabs {
  margin-bottom: 28px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  gap: 4px;
  display: inline-flex;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}
.account-tabs .button.secondary { min-height: 36px; border-color: transparent; background: transparent; box-shadow: none; }
.account-tabs .button.secondary:hover { background: var(--brand-50); color: var(--brand); }
.account-content { margin-top: 10px; }
.account-content > .collection-grid { margin-bottom: 30px; }
.account-content .panel .actions { margin-top: 18px; }
.account-content .lookup-form { margin-inline: 0; }

.address-card, .record-summary { margin-bottom: 0; transition: box-shadow .2s, border-color .2s, transform .2s; }
.address-card:hover, .record-summary:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.record-summary h3 { margin-top: 0; font-family: "JetBrains Mono", Consolas, monospace; font-size: .96rem; letter-spacing: 0; }
.record-summary .badge { margin-bottom: 12px; }
.session-recovery { max-width: 860px; }
.session-recovery .actions { margin-block: 20px; }
.result-panel .credential h2 { font-size: 1.25rem; }

/* ---------- Help & Policy ---------- */
.help-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr); gap: 28px; align-items: start; }
.help-grid > .panel { margin-bottom: 0; }
.contact-panel .eyebrow, .faq-section .eyebrow { margin-bottom: 8px; }
.contact-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  overflow: hidden;
  margin-bottom: 14px;
}
.contact-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.contact-row:last-child { border-bottom: 0; }
.contact-label {
  color: var(--subtle);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.contact-value { color: var(--ink); font-weight: 620; line-height: 1.5; }
.advisory-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 22px;
}
.advisory-card {
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.advisory-card strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: .86rem; }
.advisory-card p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.55; }
.help-grid details {
  margin-bottom: 12px;
  padding: 0;
  border: 1px solid rgb(15 23 42 / .08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, border-color .2s;
}
.help-grid details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.help-grid summary {
  position: relative;
  padding: 18px 54px 18px 22px;
  font-weight: 680;
  list-style: none;
  cursor: pointer;
}
.help-grid summary::-webkit-details-marker { display: none; }
.help-grid summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--brand-50) var(--i-plus) center / 12px no-repeat;
  transition: transform .25s var(--ease);
}
.help-grid details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.help-grid details p { margin: 0; padding: 0 22px 20px; color: var(--muted); white-space: pre-line; line-height: 1.7; }
.help-grid .panel a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.policy-copy { max-width: 860px; line-height: 1.9; white-space: pre-line; }

/* ---------- Toast & Dialog ---------- */
.notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  max-width: min(600px, 90vw);
  padding: 14px 24px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--pill);
  background: rgb(9 13 22 / .94);
  color: var(--white);
  font-size: .88rem;
  font-weight: 560;
  box-shadow: 0 20px 50px -10px rgb(0 0 0 / .45);
  transform: translateX(-50%);
  animation: toast .35s var(--ease) both;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@keyframes toast { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

dialog {
  width: min(520px, 92vw);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
dialog[open] { animation: pop .25s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: rgb(6 10 18 / .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog h2 { font-size: 1.38rem; }
dialog p { color: var(--muted); }
dialog .actions { justify-content: flex-end; margin-top: 26px; }
dialog .button::after { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1480px) {
  .site-header { position: relative; }
  .filters, .summary, .detail-gallery { top: 20px; }
}
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
  .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools" "nav nav"; }
  .main-nav { justify-self: stretch; }
}
@media (max-width: 860px) {
  body { font-size: 14.5px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools" "nav nav"; gap: 12px; }
  .main-nav { position: relative; justify-self: stretch; justify-content: center; }
  .nav-zone { position: static; }
  .zone-menu { left: 0; right: 0; width: auto; max-width: 100%; min-width: 0; }
  .service-tools .tool-link { justify-content: center; width: 38px; padding-inline: 8px; }
  .help-link, .search-link { width: 38px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 44px; }
  .hero h1 { font-size: clamp(2.2rem, 8.5vw, 3.2rem); }
  .section { padding-block: 48px; }
  .section-head { flex-wrap: wrap; align-items: flex-end; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .collection-grid { grid-template-columns: 1fr; gap: 20px; }
  .collection-copy { padding: 24px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .catalog-header { padding: 28px 24px; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .filters-title { grid-column: 1 / -1; }
  .filters > .button { align-self: end; justify-self: start; margin-bottom: 16px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-gallery { position: static; }
  .detail-assurances { grid-template-columns: 1fr; }
  .detail-highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-column, .help-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .connection-banner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .panel { padding: 22px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header-inner { width: 94%; grid-template-columns: minmax(0, 1fr); grid-template-areas: "tools" "brand" "nav"; }
  .brand { gap: 9px; font-size: .98rem; }
  .brand-mark { width: 36px; height: 36px; font-size: .9rem; }
  .header-tools { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .header-tools select { max-width: 100px; padding-left: 9px; font-size: .74rem; }
  .account-link { padding: 8px 10px; gap: 5px; font-size: .74rem; }
  .main-nav { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 4px; border-radius: 20px; }
  .main-nav > .nav-home { grid-column: 1 / -1; }
  .main-nav > a, .main-nav .nav-zone { flex: 1; justify-content: center; }
  .main-nav > a, .main-nav .nav-menu-toggle { min-height: 44px; padding: 7px 5px; gap: 5px; font-size: .78rem; white-space: normal; text-align: center; }
  html[lang=ru] .main-nav > a, html[lang=ru] .main-nav .nav-menu-toggle { padding-inline: 5px; font-size: .75rem; }
  .nav-zone { position: static; }
  .zone-menu { left: 0; right: 0; width: auto; max-width: 100%; min-width: 0; transform: none; }
  .hero-inner { width: 92%; padding: 36px 0 68px; }
  .hero-lead, .hero-content > p:not(.eyebrow) { font-size: .95rem; }
  .hero .actions .button { flex: 1 1 100%; padding-inline: 14px; }
  .hero-telemetry { grid-template-columns: 1fr; }
  .telemetry-item + .telemetry-item { border-left: 0; border-top: 1px solid rgb(255 255 255 / .08); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .product-grid, .catalog-results .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-copy { padding: 18px; }
  .section-head h2 { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .cart-row { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .cart-row > .media { height: 64px; }
  .cart-row > .cart-controls { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .review-list { grid-template-columns: 1fr; gap: 4px; }
  .review-list dd { margin-bottom: 12px; }
  .panel { padding: 18px; }
  .result-panel { margin: 24px 4% 48px; }
  .steps { gap: 6px; font-size: .74rem; }
  .steps li { padding: 6px 12px; }
  .search-form .button { padding-inline: 16px; }
  .results-toolbar { border-radius: 14px; }
  .catalog-header { padding: 24px 18px; }
  .catalog-quick-tabs { width: 100%; gap: 8px; }
  .catalog-tab { flex: 1 1 110px; }
  .results-toolbar { padding: 12px 16px; gap: 10px; }
  .results-toolbar select { flex-basis: 100%; font-size: 16px; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
  .filters { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 0; }
  .filters select { font-size: 16px; }
  .filters > .button { justify-self: stretch; min-height: 44px; margin: 0; }
  .detail-purchase .actions .button { flex: 1; }
  .purchase-Action-bar { grid-template-columns: minmax(0, 1fr); }
  .purchase-Action-bar .quantity-field { max-width: 120px; }
  .purchase-Action-bar .actions { flex-wrap: wrap; }
  .purchase-Action-bar .actions .button { min-width: 0; padding-inline: 14px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; }
  .footer-inner > * { min-width: 0; }
  .notice { bottom: 14px; padding: 12px 18px; }
  .account-tabs { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Shared catalog navigation and read-only draft preview. */
#demo-banner{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;background:#fff3d9;color:#633d00}
#demo-banner[hidden]{display:none}
.collection-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#142a43,#254d60);color:#fff;font-size:1.6rem;text-align:center;padding:2rem}
.draft-badge{bottom:1rem;top:auto;background:#fff3d9;color:#633d00}
