/* Pigmento.Web — éles vásárlói stíluslap
 * Portolva 1:1 a specification/demo/styles.css-ből (Pigmento B2B Portal demo prototípus).
 *
 * Geist font self-host: a WOFF2 fájlok /fonts/geist/ alatt — lásd wwwroot/fonts/geist/README.md.
 * Ha a fájlok nincsenek, automatikus fallback rendszer-betűre.
 */

@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/geist/Geist%5Bwght%5D.woff2') format('woff2-variations'),
         url('/fonts/geist/Geist-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Geist';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/geist/Geist-Italic%5Bwght%5D.woff2') format('woff2-variations'),
         url('/fonts/geist/Geist-Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/geist/GeistMono%5Bwght%5D.woff2') format('woff2-variations'),
         url('/fonts/geist/GeistMono-Regular.woff2') format('woff2');
}

:root {
  --bg: #FAFAF8;
  --bg-elev: #FFFFFF;
  --bg-muted: #F3F4F2;
  --bg-sunken: #EAECEA;
  --ink: #1D1F2A;
  --ink-2: #3D404E;
  --ink-3: #6B6F7C;
  --ink-4: #A2A6B0;
  --line: #E2E4E2;
  --line-2: #D2D5D2;

  --accent: #5CB8B2;
  --accent-2: #4AA29C;
  --accent-soft: #E8F5F4;
  --accent-ink: #1D1F2A;   /* sötét tinta a turquoise háttéren — magas kontraszt */

  --ok: oklch(0.55 0.12 150);
  --ok-soft: oklch(0.96 0.04 150);
  --warn: oklch(0.7 0.14 75);
  --warn-soft: oklch(0.96 0.05 75);
  --err: oklch(0.55 0.18 25);
  --err-soft: oklch(0.96 0.04 25);

  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 0 rgba(20, 20, 25, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(20, 20, 25, 0.12), 0 2px 4px rgba(20, 20, 25, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(20, 20, 25, 0.18);

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --topbar-h: 64px;
  --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; }
.num { font-variant-numeric: tabular-nums; }

/* App shell */
.app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

/* Sidebar */
.sidebar {
  background: var(--bg-elev);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  height: var(--topbar-h);
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.brand-name {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}
/* A "Pigmento" név második fele — a logót idézi (kék-zöld kiemelés a logón a "nordic" szón). */
.brand-name .brand-accent { color: var(--accent); }
.brand-sub {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sidebar-nav { padding: 12px 12px; overflow-y: auto; flex: 1; }
.nav-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 14px 10px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 450;
  user-select: none;
}
.nav-item:hover { background: var(--bg-muted); color: var(--ink); }
.nav-item.active { background: var(--ink); color: var(--bg-elev); }
.nav-item.active .nav-icon { color: var(--bg-elev); }
.nav-icon { width: 16px; height: 16px; color: var(--ink-3); flex-shrink: 0; }
.nav-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-sunken);
  color: var(--ink-2);
  padding: 1px 6px;
  border-radius: 99px;
}
.nav-item.active .nav-badge { background: rgba(255,255,255,0.15); color: var(--bg-elev); }

.sidebar-foot {
  padding: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px; height: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 99px;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 12px;
  font-family: var(--font-mono);
}
.user-meta { line-height: 1.25; min-width: 0; }
.user-name { font-size: 13px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.user-co { font-size: 11px; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

/* Main */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h);
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.crumbs { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.03em; }
.page-title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.topbar-spacer { flex: 1; }
.topbar-search {
  width: 360px;
  height: 36px;
  background: var(--bg-muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  color: var(--ink-3);
  font-size: 13px;
}
.topbar-search:focus-within { background: var(--bg-elev); border-color: var(--line-2); color: var(--ink); }
.topbar-search input { background: none; border: 0; outline: 0; flex: 1; font: inherit; color: var(--ink); }

/* Global kereső autocomplete dropdown — a #global-search-wrap (position:relative) alá pozícionálva */
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 4px;
  max-height: 60vh;
  overflow-y: auto;
}
.search-result-item {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
}
.search-result-item:hover { background: var(--bg-muted); }
.search-result-item__sku {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.search-result-item__name {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}
.search-empty {
  padding: 12px 10px;
  font-size: 12.5px;
  color: var(--ink-4);
}

/* Sales rep / kapcsolattartó badge a topbarban — minden customer oldalon látható */
.sales-rep {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 320px;
}
.sales-rep-avatar {
  width: 32px; height: 32px; flex: 0 0 32px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  font-family: var(--font-mono);
}
.sales-rep-meta { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; min-width: 0; }
.sales-rep-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sales-rep-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.sales-rep-contact { display: flex; gap: 10px; margin-top: 2px; }
.sales-rep-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px;
  color: var(--ink-2);
  text-decoration: none;
  min-width: 0;
}
.sales-rep-link:hover { color: var(--accent); }
.sales-rep-link .mono { font-family: var(--font-mono); }
.sales-rep-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }

@media (max-width: 1200px) {
  .sales-rep-contact { flex-direction: column; gap: 1px; }
  .sales-rep-text { max-width: 160px; }
}
@media (max-width: 960px) {
  .sales-rep { padding: 4px 8px 4px 4px; }
  .sales-rep-meta { max-width: 160px; }
  .sales-rep-text { max-width: 110px; }
}
@media (max-width: 768px) {
  .sales-rep-meta { display: none; }
  .sales-rep { padding: 0; background: transparent; border: 0; }
}
.kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink-3);
}
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
}
.icon-btn:hover { background: var(--bg-muted); }
.icon-btn .dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--accent);
  border: 2px solid var(--bg-elev);
}

/* Content */
.content {
  padding: 28px;
  width: 100%;
}
.content-narrow { width: 100%; }

/* Cards & primitives */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 20px 22px; }
.card-pad-lg { padding: 28px; }
.card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-title { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.card-sub { font-size: 12px; color: var(--ink-3); }

.btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg-elev); }
.btn-primary:hover { background: oklch(0.28 0.01 80); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); }
.btn-secondary { background: var(--bg-elev); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--bg-muted); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--ink); }
/* Kamionos kosár gomb — sötét slate, jól elkülönül a teal accent „Kosár" gombtól és a fehér háttértől. */
.btn-truck {
  background: var(--ink-2);
  color: var(--bg-elev);
  border-color: var(--ink-2);
}
.btn-truck:hover { background: var(--ink); border-color: var(--ink); }
.btn-truck:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; }
.btn-lg { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-icon { width: 36px; padding: 0; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.badge-neutral { background: var(--bg-sunken); color: var(--ink-2); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-err { background: var(--err-soft); color: var(--err); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-outline { border-color: var(--line-2); background: transparent; color: var(--ink-2); }

.dot-stat {
  width: 7px; height: 7px;
  border-radius: 99px;
  display: inline-block;
}
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.dot-err { background: var(--err); }

.input, .select {
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-elev);
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  outline: 0;
  width: 100%;
}
.input:focus, .select:focus { border-color: var(--ink-3); }
.input-mini { height: 30px; font-size: 12.5px; padding: 0 10px; }

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
}
.table tbody tr:hover { background: var(--bg-muted); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num-col { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
.table .actions-col { text-align: right; width: 1px; white-space: nowrap; }

/* Stat tile */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.stat-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-meta { font-size: 12px; color: var(--ink-3); }

/* Product placeholder image */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.94 0.008 80) 0,
      oklch(0.94 0.008 80) 6px,
      oklch(0.97 0.005 80) 6px,
      oklch(0.97 0.005 80) 12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--ink-3);
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-elev);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* Layout helpers */
.row { display: flex; gap: 12px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.flex { display: flex; } .flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; } .flex-wrap { flex-wrap: wrap; }
.text-r { text-align: right; }
.text-3 { color: var(--ink-3); } .text-2 { color: var(--ink-2); } .text-4 { color: var(--ink-4); }
.text-ok { color: var(--ok); } .text-err { color: var(--err); } .text-warn { color: var(--warn); }
.h-strike { text-decoration: line-through; }
.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.muted-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

/* Page header */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.page-head h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.page-head p { color: var(--ink-3); margin: 4px 0 0; font-size: 13.5px; }

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.filter-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: var(--bg-elev);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink-2);
}
.filter-chip:hover { background: var(--bg-muted); }
.filter-chip.is-on { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }

/* Catalog */
.catalog {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.cat-tree { font-size: 13px; }
.cat-group { margin-bottom: 2px; }
.cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-2);
  user-select: none;
}
.cat-link .cat-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-link:hover { background: var(--bg-muted); color: var(--ink); }
.cat-link.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.cat-link .ct { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.cat-link.is-on .ct { color: var(--accent); }
.cat-parent { font-weight: 500; color: var(--ink); }
.cat-parent .ct { color: var(--ink-3); }
.cat-child { padding-left: 28px; font-size: 12.5px; }
.cat-chev {
  width: 18px; height: 18px;
  border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  color: var(--ink-3);
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.12s;
  flex-shrink: 0;
}
.cat-chev:hover { background: var(--bg-sunken); color: var(--ink); }
.cat-chev.open { transform: rotate(90deg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.12s, box-shadow 0.12s;
  cursor: pointer;
  position: relative;
}
.product-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.product-card .ph { aspect-ratio: 1 / 1; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.product-fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 99px;
  display: grid; place-items: center;
  color: var(--ink-3);
  cursor: pointer;
}
.product-fav:hover { color: var(--err); }
.product-fav.on { color: var(--err); border-color: var(--err); }
/* Kedvenc állapot → teli szívecske (a line-ikont currentColorral kitöltjük). */
.product-fav.on svg,
.fav-toggle.on svg { fill: currentColor; }
.fav-toggle.on { color: var(--err); border-color: var(--err); }
.product-tags {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; gap: 4px;
}
.product-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-sku { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em; }
.product-name {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.product-pkg { font-size: 12px; color: var(--ink-3); }
.product-foot {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price {
  display: flex; flex-direction: column; line-height: 1.1;
}
.price .v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.price .u { font-size: 11px; color: var(--ink-3); }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  height: 32px;
  background: var(--bg-elev);
}
.qty button {
  width: 26px; height: 30px;
  border: 0; background: transparent;
  cursor: pointer; color: var(--ink-2);
  font-size: 14px;
}
.qty button:hover { color: var(--ink); background: var(--bg-muted); }
/* Chrome / Safari number spinner elrejtése — a +/- gombok adják a UI-t */
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty input[type="number"] { -moz-appearance: textfield; }
.qty input:focus { background: var(--bg-muted); border-radius: 4px; }
.qty input {
  width: 38px;
  height: 30px;
  border: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

/* Stock pill */
.stock { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2); }

/* Warehouse badge — small chip showing the product's home warehouse */
.wh-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.tab {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }

/* Banner (act-as etc) */
.banner {
  background: oklch(0.95 0.06 90);
  border: 1px solid oklch(0.85 0.1 85);
  color: oklch(0.32 0.08 70);
  padding: 8px 16px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.banner .b-link { color: var(--accent); font-weight: 500; cursor: pointer; }
.banner .b-link:hover { text-decoration: underline; }

/* Progress */
.progress {
  height: 6px;
  background: var(--bg-sunken);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.progress > span,
.progress > .progress-bar {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--ok);
  border-radius: 99px;
  transition: width 0.25s ease;
}

/* Timeline */
.timeline { position: relative; padding-left: 18px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line-2);
}
.tl-item { position: relative; padding: 4px 0 14px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -18px; top: 6px;
  width: 11px; height: 11px;
  border-radius: 99px;
  background: var(--bg-elev);
  border: 2px solid var(--ink-3);
}
.tl-dot.done { background: var(--ok); border-color: var(--ok); }
.tl-dot.curr { border-color: var(--accent); background: var(--accent); }
.tl-title { font-size: 13px; font-weight: 500; }
.tl-meta { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

/* Chart */
.chart-wrap { padding: 16px 8px 0; }

/* Login / public layout */
.public {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.public-form-side {
  display: grid; place-items: center;
  padding: 48px;
  background: var(--bg-elev);
}
.public-art-side {
  /* CI: turquoise → dark ink átmenet, Pantone 7472 C → 532C */
  background:
    radial-gradient(ellipse at 30% 30%, #5CB8B2 0%, #2E5E5A 55%, #1D1F2A 100%);
  position: relative;
  overflow: hidden;
}
.login-card { width: 100%; max-width: 360px; }
.login-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.login-card p { color: var(--ink-3); margin: 0 0 24px; font-size: 13.5px; }
.login-art-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.92);
}
.login-art-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Toaster */
.toast-wrap {
  position: fixed;
  top: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 100;
}
.toast {
  background: var(--ink);
  color: var(--bg-elev);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  animation: tin 0.18s ease-out;
}
@keyframes tin { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--err); }
.toast.warn { background: var(--warn); }

/* Skeleton & misc */
.kbd-row { display: flex; gap: 4px; align-items: center; }
.divider { height: 1px; background: var(--line); margin: 8px 0; }

/* Order detail header */
.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 16px;
  font-size: 13px;
}
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 450; }

/* Empty */
.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-3);
}
.empty h3 { color: var(--ink); font-size: 15px; margin: 8px 0 4px; font-weight: 600; }

/* Pagination */
.pager {
  display: flex; gap: 4px; align-items: center;
  padding: 12px 0;
}
.pg-btn {
  min-width: 32px; height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
}
.pg-btn:hover { background: var(--bg-muted); }
.pg-btn.is-on { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }

/* Range */
.range-row { display: flex; gap: 8px; align-items: center; }
.range-row input { flex: 1; min-width: 0; }


/* ───────────────────────────────────────────────────────────────────────── */
/* Public area (FAQ, Contact, Privacy, News)                                  */
/* ───────────────────────────────────────────────────────────────────────── */

.pub-root { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }

.pub-topbar {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.pub-topbar-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pub-nav { display: flex; gap: 4px; }
.pub-nav-link {
  padding: 8px 14px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-2); border-radius: 6px; cursor: pointer;
  text-decoration: none; transition: all 0.15s;
}
.pub-nav-link:hover { background: var(--bg-muted); color: var(--ink); }
.pub-nav-link.is-on { background: var(--ink); color: var(--bg-elev); }

.pub-crumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.pub-main { flex: 1; }

.pub-hero {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
}
.pub-hero--narrow { padding: 56px 0 44px; }
.pub-hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
}
.pub-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin-bottom: 18px;
}
.pub-hero h1 {
  font-size: 56px; font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.05; margin: 0 0 20px; max-width: 800px;
  text-wrap: balance;
}
.pub-hero p {
  font-size: 17px; color: var(--ink-2); line-height: 1.55;
  max-width: 640px; margin: 0;
}
.pub-search {
  margin-top: 28px; max-width: 480px;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elev); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 0 14px; height: 48px;
  color: var(--ink-3);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.pub-search:focus-within { border-color: var(--accent); }
.pub-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 14.5px; color: var(--ink); font-family: inherit;
}

.pub-section {
  max-width: 1240px; margin: 0 auto; padding: 56px 32px;
}
.pub-grid { display: grid; gap: 32px; }
.pub-grid-2col { grid-template-columns: 280px 1fr; }
.pub-grid-3col { grid-template-columns: 1fr 1fr 1fr; }

.pub-aside { position: sticky; top: 96px; align-self: start; }
.pub-aside-h {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 14px;
}
.pub-aside-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pub-aside-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 13.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.pub-aside-list li:hover { color: var(--accent); }
.pub-aside-list li a { color: inherit; text-decoration: none; flex: 1; }
.pub-aside-list li .mono { color: var(--ink-4); font-size: 11px; }

.pub-aside-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  margin-top: 8px;
}

/* FAQ */
.faq-cat { margin-bottom: 48px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.faq-cat-h h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0;
}
.faq-list {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 18px 22px; font-size: 14.5px; font-weight: 500;
  color: var(--ink); cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit;
}
.faq-q:hover { background: var(--bg-muted); }
.faq-chev { color: var(--ink-3); transition: transform 0.18s; flex-shrink: 0; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  padding: 0 22px 22px; font-size: 14px; line-height: 1.65;
  color: var(--ink-2); max-width: 720px;
}

/* Contact */
.pub-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.pub-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px;
}
.pub-card-h {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.pub-card-big {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); display: block; word-break: break-word;
  text-decoration: none;
}
.pub-card-meta {
  font-size: 12px; color: var(--ink-3); margin-top: 6px;
  word-break: break-word;
}

.pub-form {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.pub-form h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.pub-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.text-acc { color: var(--accent); cursor: pointer; text-decoration: none; }
.text-acc:hover { text-decoration: underline; }

.pub-map {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-muted));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.pub-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pub-map-pins { position: absolute; inset: 0; }
.pub-map-pin {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.pub-map-pin-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(50, 80, 180, 0.18), 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
}
.pub-map-pin-dot::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: var(--accent);
  animation: pinPulse 2s infinite;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}
.pub-map-pin-dot--alt { background: var(--ink); box-shadow: 0 0 0 4px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.2); }
.pub-map-pin-dot--alt::after { background: var(--ink); }
.pub-map-pin-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  background: var(--ink); color: var(--bg-elev);
  padding: 3px 8px; border-radius: 3px; white-space: nowrap;
}
.pub-map-meta {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; color: var(--ink-3);
  font-size: 11px;
}

.pub-locations { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.pub-location {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
}
.pub-location-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.pub-loc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.pub-loc-dot--alt { background: var(--ink); }
.pub-location-meta { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.pub-location-row {
  display: flex; justify-content: space-between; padding: 4px 0;
  font-size: 12.5px; color: var(--ink-3);
  border-top: 1px solid var(--line);
}
.pub-location-row .mono { color: var(--ink-2); }

/* Privacy */
.priv-meta {
  margin-top: 24px; display: flex; gap: 32px; flex-wrap: wrap;
  font-size: 13px;
}
.priv-meta > div { display: flex; flex-direction: column; gap: 2px; }
.priv-meta .mono, .priv-meta a { color: var(--ink); font-weight: 500; }

.priv-grid { grid-template-columns: 240px 1fr; }
.priv-toc li { font-size: 13px; padding: 6px 0; border-bottom: 0; }
.priv-toc li a { color: var(--ink-2); text-decoration: none; }
.priv-toc li a:hover { color: var(--accent); }

.priv-sect { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.priv-sect:last-child { border-bottom: 0; }
.priv-sect-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.priv-num {
  font-size: 12px; color: var(--ink-3);
  background: var(--bg-muted); padding: 2px 8px; border-radius: 3px;
}
.priv-sect-h h2 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0;
}
.priv-body { font-size: 14px; line-height: 1.7; color: var(--ink-2); max-width: 700px; }
.priv-body p { margin: 0 0 12px; }
.priv-body strong { color: var(--ink); font-weight: 600; }
.priv-list { padding-left: 20px; margin: 8px 0 12px; }
.priv-list li { padding: 4px 0; }

.priv-table {
  display: flex; flex-direction: column; margin: 12px 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; max-width: 700px;
}
.priv-tr {
  display: grid; grid-template-columns: 1fr 1.1fr;
  padding: 12px 16px; gap: 16px; font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.priv-tr:last-child { border-bottom: 0; }
.priv-th {
  background: var(--bg-muted);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3);
}

.priv-rights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 12px 0;
}
.priv-rights > div {
  background: var(--bg-muted); padding: 12px 14px;
  border-radius: var(--radius); display: flex; flex-direction: column; gap: 4px;
}
.priv-rights strong { color: var(--ink); font-size: 13.5px; }
.priv-rights span { color: var(--ink-3); font-size: 12.5px; }

.priv-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.priv-contact > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.priv-contact strong { color: var(--ink); font-size: 14px; }

/* News */
.news-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}

.news-featured {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 0; margin-bottom: 40px;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.news-featured-art {
  position: relative; min-height: 320px;
  background: linear-gradient(135deg,
    #5CB8B2 0%,
    #2E5E5A 60%,
    #1D1F2A 100%);
  overflow: hidden;
}
.news-featured-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.news-featured-tag {
  position: absolute; top: 22px; left: 22px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  padding: 5px 10px; border-radius: 3px;
  font-size: 10px; letter-spacing: 0.18em; font-weight: 600;
}
.news-featured-meta {
  position: absolute; bottom: 22px; left: 22px;
  color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.2em;
}
.news-featured-body { padding: 36px; display: flex; flex-direction: column; }
.news-featured-title {
  font-size: 30px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.15; margin: 0 0 14px; text-wrap: balance;
}
.news-featured-excerpt {
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 20px; flex: 1;
}
.news-featured-body .btn { align-self: flex-start; }

.news-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.news-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.18s;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.news-card-art {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, oklch(0.86 0.04 80), oklch(0.78 0.05 60));
  overflow: hidden;
}
.news-card:nth-child(3n+2) .news-card-art {
  background: linear-gradient(135deg, oklch(0.84 0.06 145), oklch(0.74 0.08 165));
}
.news-card:nth-child(3n+3) .news-card-art {
  background: linear-gradient(135deg, oklch(0.82 0.07 35), oklch(0.72 0.09 25));
}
.news-card-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.news-card-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 4px 8px; border-radius: 3px;
  font-size: 9.5px; letter-spacing: 0.18em; font-weight: 600;
}
.news-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card-title {
  font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.3; margin: 0 0 10px; text-wrap: balance;
}
.news-card-excerpt {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-2);
  margin: 0 0 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line);
}

.news-cta {
  margin-top: 56px; padding: 32px;
  background: var(--ink); color: var(--bg-elev);
  border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.news-cta h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.news-cta p { color: oklch(0.78 0.01 80); margin: 0; font-size: 14px; }
.news-cta .input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.news-cta .input::placeholder { color: oklch(0.65 0.01 80); }

/* Footer */
.pub-footer {
  background: var(--ink); color: oklch(0.78 0.01 80);
  margin-top: 80px; padding-top: 56px;
}
.pub-footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px;
  padding-bottom: 0;
}
.pub-footer-cols {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.pub-footer-h {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: oklch(0.65 0.01 80);
  margin-bottom: 14px;
}
.pub-footer-cols a {
  display: block; padding: 5px 0; font-size: 13px;
  color: oklch(0.78 0.01 80); text-decoration: none;
  cursor: pointer;
}
.pub-footer-cols a:hover { color: var(--bg-elev); }

/* Chip refinements for news filters */
.chip {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 99px; padding: 6px 14px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }

/* ─────────── Responsive sidebar / collapsible drawer ─────────── */

/* Override the original grid shell — fixed sidebar makes collapse cleaner */
.app { display: block; min-height: 100vh; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  height: auto;
  z-index: 50;
  transition: transform 0.22s ease;
}
.main {
  margin-left: var(--sidebar-w);
  transition: margin-left 0.22s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.app.sidebar-closed .sidebar { transform: translateX(-100%); }
.app.sidebar-closed .main { margin-left: 0; }

/* Topbar hamburger toggle */
.sidebar-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.sidebar-toggle:hover { background: var(--bg-muted); color: var(--ink); border-color: var(--line-2); }

/* Backdrop — only visible below 1100px when drawer is open */
.sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 20, 25, 0.4);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* < 1100px: drawer behavior — main always full-width, sidebar overlays */
@media (max-width: 1099.98px) {
  .main { margin-left: 0; }
  .sidebar { box-shadow: var(--shadow-lg); }
  .app:not(.sidebar-closed) .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ─────────── Product list (rows view) ─────────── */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-row {
  display: grid;
  grid-template-columns: 72px 1fr 200px 130px auto;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.product-row:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.product-row-thumb { width: 72px; height: 72px; flex-shrink: 0; }
.product-row-info { min-width: 0; }
.product-row-name {
  font-size: 14px; font-weight: 500;
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-row-meta {
  font-size: 12px; color: var(--ink-3); margin-top: 2px;
  display: flex; gap: 6px; align-items: center;
}
.product-row-meta .dot-sep { color: var(--ink-4); }
.product-row-stock {
  display: flex; flex-direction: column; gap: 4px;
  align-items: flex-start;
}
.product-row-price {
  text-align: right;
  font-family: var(--font-mono);
}
.product-row-actions {
  display: flex; align-items: center; gap: 8px;
  position: relative;
}
.product-row-actions .product-fav {
  position: static;
  width: 32px; height: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 64px 1fr auto;
    gap: 10px 14px;
  }
  .product-row-thumb { grid-row: 1 / span 2; width: 64px; height: 64px; }
  .product-row-info { grid-column: 2 / span 2; grid-row: 1; }
  .product-row-stock {
    grid-column: 2 / span 1; grid-row: 2;
    flex-direction: row; align-items: center; gap: 8px;
  }
  .product-row-price { grid-column: 3 / span 1; grid-row: 2; }
  .product-row-actions {
    grid-column: 1 / span 3; grid-row: 3;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }
}

/* Public-screen tartalom a customer-shell .content-jén belül (bare-mode).
   A pub-* osztályok normál módban marketing-stílusú padding/max-width-tel jönnek;
   a customer shell-ben dupla padding nélkül kell rendereljenek. */
.pub-bare .pub-topbar,
.pub-bare .pub-crumbs,
.pub-bare .pub-footer { display: none; }
.pub-bare .pub-root,
.pub-bare .pub-main { all: unset; display: block; }
.pub-bare .pub-hero {
  padding: 0 0 20px;
  background: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.pub-bare .pub-hero h1 { font-size: 32px; max-width: none; }
.pub-bare .pub-hero p  { font-size: 15px; max-width: none; }
.pub-bare .pub-hero-inner,
.pub-bare .pub-section {
  max-width: none;
  margin: 0;
  padding: 0;
}
.pub-bare .pub-section { padding: 24px 0; border-top: 1px solid var(--line); }
.pub-bare .pub-section:first-of-type { border-top: 0; padding-top: 0; }

/* SKU link — clickable cikkszám in cart lines, saved carts, etc. */
.sku-link {
  color: var(--ink-3);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.12s;
  display: inline-block;
}
.sku-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ─────────── Modal overlay ─────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 20, 25, 0.5);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: modal-fade 0.15s ease-out;
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 480px;
  display: flex; flex-direction: column;
  animation: modal-pop 0.18s ease-out;
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.modal-body { padding: 18px 20px; }
.modal-actions {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-muted);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ─────────── Saved cart card ─────────── */
.saved-cart-card { padding: 0; }
.saved-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-muted);
  flex-wrap: wrap;
}
.saved-cart-lines th { background: transparent; }
.saved-cart-lines th, .saved-cart-lines td { padding: 10px 18px; }
.saved-cart-lines tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 768px) {
  .saved-cart-header { padding: 12px 14px; }
  .saved-cart-lines th, .saved-cart-lines td { padding: 8px 12px; font-size: 12px; }
}

/* ─────────── Cart sections (dual-warehouse cart) ───────────
   A szekció container query alap: a töréspontokat a rendelkezésre álló szélesség adja,
   nem a viewport — így a nyitott sidebar (248px) mellett sem csúszik szét a tételsor. */
.cart-section {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  container-type: inline-size;
}
.cart-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-muted);
}
.cart-section-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  padding: 18px;
}
.cart-section-body .card { border: 1px solid var(--line); }
.cart-summary { position: sticky; top: 84px; }

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 96px 100px 110px 32px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-line .qty { justify-self: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-line-info { min-width: 0; }
.cart-line-price { font-size: 12px; }
.cart-line-total { font-size: 14px; font-weight: 600; }

.wh-badge-lg {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--bg-elev);
  border-color: var(--ink);
}

.freeship-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}
.text-ok { color: var(--ok); font-weight: 500; }
.text-err { color: var(--err); }

@container (max-width: 1040px) {
  .cart-section-body { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
}
@container (max-width: 640px) {
  .cart-section-head { padding: 14px 16px; }
  .cart-section-body { padding: 12px; gap: 14px; }
  /* Kompakt tételsor: 1. sor kép + név, 2. sor mennyiség + törlés, 3. sor egységár + összeg.
     A 3. oszlop auto szélességű, hogy az összeg ne törjön két sorba. */
  .cart-line {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 8px 12px;
    padding: 12px 14px;
  }
  .cart-line-info  { grid-column: 2 / span 2; grid-row: 1; }
  .cart-line .qty  { grid-column: 1 / span 2; grid-row: 2; }
  .cart-line .remove-line { grid-column: 3; grid-row: 2; justify-self: end; }
  .cart-line-price { grid-column: 1 / span 2; grid-row: 3; text-align: left !important; }
  .cart-line-total { grid-column: 3; grid-row: 3; white-space: nowrap; }
}

/* ─────────── Catalog & content responsive ─────────── */
@media (max-width: 900px) {
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cat-tree {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
  }
  .page-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-head > .row { width: 100%; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .content { padding: 18px 16px; }
  .topbar { padding: 0 14px; gap: 10px; }
  .topbar-search { display: none; }
  /* Kosár gomb mobilon csak ikon — a hosszú felirat kilógott a topbarból. */
  .topbar-cart-btn .topbar-cart-label { display: none; }
  .topbar-cart-btn { padding-left: 10px; padding-right: 10px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .filter-bar { padding: 10px 12px; gap: 6px; }
}

@media (max-width: 520px) {
  .topbar-title .crumbs { display: none; }
  .page-title { font-size: 15px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────── Customer oldalak reszponzív rácsai ───────────
   Korábban inline grid-template-columns volt ezeken (a media query nem tudta felülírni),
   ezért mobilon kilógtak. Class-ba emelve, mobilon egy oszlopra esnek. */
.detail-grid    { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.detail-subgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.checkout-grid  { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; }
.stat-grid-4    { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.checkout-line  { display: grid; grid-template-columns: 1fr 80px 110px 120px; gap: 12px; align-items: center; }
/* Széles táblázatok vízszintes görgetése, hogy mobilon ne lógjanak ki az oldalból. */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 768px) {
  .table-wrap > .table { min-width: 560px; }
}

@media (max-width: 1000px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  /* Tétel-sor mobilon: név teljes szélességben, alatta a mennyiség/egységár/összeg szétosztva. */
  .checkout-line { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 4px 10px; }
  .checkout-line > :nth-child(1) { grid-column: 1 / -1; }
  .checkout-line > :nth-child(2),
  .checkout-line > :nth-child(3),
  .checkout-line > :nth-child(4) { text-align: left !important; }
}
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .stat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .detail-subgrid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 460px) {
  .stat-grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* === Pigmento.Web utility kiegészítések === */
/* A meglévő .field-label class kompatibilitás form wrapper-rel. */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-validation-error { color: var(--err); font-size: 12px; margin-top: 2px; }
.input-validation-error { border-color: var(--err) !important; }
.alert-error {
    padding: 12px 14px;
    background: var(--err-soft);
    border: 1px solid oklch(0.85 0.08 25);
    border-radius: var(--radius);
    color: var(--err);
    font-size: 13px;
    margin-bottom: 12px;
}

/* Tabs utility class-ok a Product/Detail-hez */
.tab-list { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0; }
.tab-list .tab { background: transparent; border: none; cursor: pointer; }
.tab-pane[hidden] { display: none; }
.tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }

/* === Pigmento.Web utility kiegészítések 2 === */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    padding: 24px;
}
.login-box {
    width: 100%;
    max-width: 400px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}
.login-brand-sub {
    text-align: center;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--ink-3);
}
.checkout-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    margin-bottom: 8px;
    background: var(--bg-elev);
}
.checkout-radio:hover { background: var(--bg-muted); }
.checkout-radio.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.checkout-radio input[type="radio"] { margin: 0; }

/* Toast (Pigmento Web variant — TempData[Info] alert) */
.tw-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    background: var(--ink);
    color: var(--bg-elev);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    font-size: 13px;
    max-width: 400px;
    animation: tw-slidein 0.2s ease-out;
}
.tw-toast.tw-toast-ok { background: var(--ok); }
.tw-toast.tw-toast-err { background: var(--err); }
.tw-toast.tw-toast-warn { background: var(--warn); color: var(--ink); }
.tw-toast .tw-close {
    background: transparent; border: 0; color: inherit; cursor: pointer; opacity: 0.7;
    width: 20px; height: 20px; display: grid; place-items: center;
}
.tw-toast .tw-close:hover { opacity: 1; }
@keyframes tw-slidein {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Catalog filter-bar, cat-tree (hierarchical), product-list, pg-btn */
.filter-bar {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 12px; margin-bottom: 12px;
}
.filter-chip {
    background: var(--bg-elev); border: 1px solid var(--line-2);
    border-radius: 99px; padding: 4px 10px; font-size: 12px; cursor: pointer;
    color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px;
}
.filter-chip:hover { background: var(--bg-muted); }
.filter-chip.is-on { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }

.cat-group { margin-bottom: 4px; }
.cat-link {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 8px; border-radius: var(--radius-sm); cursor: pointer;
    font-size: 13px; color: var(--ink-2); user-select: none;
}
.cat-link:hover { background: var(--bg-muted); color: var(--ink); }
.cat-link.is-on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.cat-link.cat-child { padding-left: 28px; font-size: 12.5px; color: var(--ink-3); }
.cat-link.cat-child.is-on { color: var(--accent-ink); }
.cat-chev {
    background: transparent; border: 0; padding: 0; width: 16px; height: 16px;
    display: grid; place-items: center; cursor: pointer; color: var(--ink-3);
    transition: transform 0.15s;
}
.cat-chev.open { transform: rotate(90deg); }
.cat-link .cat-label { flex: 1; }
.cat-link .ct {
    font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4);
    background: var(--bg-muted); padding: 1px 6px; border-radius: 99px;
}

/* Cat tree — kollapszolható parent + children */
button.cat-link.cat-parent {
    background: transparent; border: 0; font-family: inherit; width: 100%;
    text-align: left; font-weight: 500; color: var(--ink);
}
button.cat-link.cat-parent:hover { background: var(--bg-muted); }
.cat-group .cat-chev { transition: transform 0.18s ease; }
.cat-group.is-open > .cat-parent .cat-chev { transform: rotate(90deg); }
.cat-group .cat-children {
    display: none;
    margin-top: 2px;
}
.cat-group.is-open > .cat-children { display: block; }

.product-list { display: flex; flex-direction: column; gap: 8px; }
.product-row {
    display: grid;
    grid-template-columns: 64px 1fr 160px 140px 140px;
    gap: 14px; align-items: center;
    background: var(--bg-elev); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 12px; cursor: pointer;
}
.product-row:hover { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.product-row-thumb { width: 64px; height: 64px; }
.product-row-info { min-width: 0; }
.product-row-name { font-weight: 500; font-size: 14px; margin-top: 2px; }
.product-row-meta {
    font-size: 12px; color: var(--ink-3); margin-top: 4px;
    display: flex; gap: 4px; align-items: center;
}
.product-row-meta .dot-sep { color: var(--ink-4); }
.product-row-stock { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.product-row-price { text-align: right; }
.product-row-actions { display: flex; gap: 6px; justify-content: flex-end; }

.pg-btn {
    background: var(--bg-elev); border: 1px solid var(--line-2);
    border-radius: var(--radius-sm); padding: 6px 12px; font-size: 12.5px;
    cursor: pointer; color: var(--ink-2); font-family: inherit;
}
.pg-btn:hover { background: var(--bg-muted); color: var(--ink); }
.pg-btn.is-on { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }

/* === Pigmento.Web — fő grid layout + toggle-zhető sidebar === */
/* Desktop (>=1100px): grid layout, sidebar sticky. Hamburger nullára húzza
 * az első oszlopot — a main 100% szélességet kap.
 * Mobil (<1100px): a sidebar fixed drawer, backdrop-pal. */
@media (min-width: 1100px) {
    .app {
        display: grid !important;
        grid-template-columns: var(--sidebar-w) 1fr;
        min-height: 100vh;
        transition: grid-template-columns 0.22s ease;
    }
    .app.sidebar-closed {
        grid-template-columns: 0 1fr;
    }
    .sidebar {
        position: sticky !important;
        left: auto;
        top: 0;
        width: var(--sidebar-w);
        height: 100vh;
        transform: none !important;
        overflow: hidden;
        transition: width 0.22s ease, opacity 0.18s ease;
    }
    .app.sidebar-closed .sidebar {
        width: 0;
        opacity: 0;
        pointer-events: none;
    }
    .main {
        margin-left: 0 !important;
        min-width: 0;
    }
    .sidebar-backdrop { display: none !important; }
}

/* Mobil drawer (< 1100px) — a sidebar fixed overlay */
@media (max-width: 1099.98px) {
    .app { display: block !important; }
    .main { margin-left: 0 !important; }
    .sidebar {
        position: fixed !important;
        left: 0; top: 0; bottom: 0;
        width: var(--sidebar-w);
        z-index: 50;
        transform: translateX(0);
        transition: transform 0.22s ease;
        box-shadow: var(--shadow-lg);
    }
    .app.sidebar-closed .sidebar { transform: translateX(-100%); }
    .sidebar-backdrop {
        position: fixed; inset: 0;
        background: rgba(20,20,25,0.4);
        z-index: 40;
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.2s ease;
    }
    .app.sidebar-closed .sidebar-backdrop {
        opacity: 0;
        pointer-events: none;
    }
}

/* Summary utilities (cart, checkout sticky aside) */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    font-size: 13px;
    gap: 12px;
}
/* Topbar "Kosár megtekintése" gomb mellé piros pill — a sidebar nav-badge kiegészítőjeként */
.cart-count-pill {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 18px; padding: 0 6px;
    margin-left: 4px;
    background: var(--accent, #14b8a6); color: #fff;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 600; line-height: 1;
    border-radius: 99px;
}
.cart-count-pill[hidden] { display: none; }
.nav-badge[hidden] { display: none; }

/* SweetAlert2 brand-stílus — Pigmento design tokenek */
.pig-swal-popup {
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-sans) !important;
}
.pig-swal-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: var(--ink) !important;
}
.pig-swal-text {
    font-size: 14px !important;
    color: var(--ink-2) !important;
    line-height: 1.55 !important;
}
.pig-swal-actions {
    gap: 8px !important;
    margin-top: 18px !important;
}
.pig-swal-actions .btn { min-width: 110px; }
.summary-row > span:first-child { color: var(--ink-3); }
.summary-row > span:last-child { font-weight: 500; }
.summary-divider { border-top: 1px solid var(--line); margin: 8px 0; }
.summary-total { font-size: 15px; font-weight: 600; padding: 6px 0; }
.summary-total > span:first-child { color: var(--ink); }

/* ─────────── Katalógus szűrősáv ───────────
   14+ márka egy sorba zsúfolva szétnyomta a keresőt és a rendezést, ezért a sáv két zónára
   bomlik: fent a kereső/rendezés, alatta külön sorban a márka-chipek. A .filter-bar-t a
   fájlban feljebb még egyszer definiáljuk, ezért ezek a szabályok a fájl végén állnak. */
.filter-bar-stacked { flex-direction: column; align-items: stretch; gap: 0; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-row-brands { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.filter-label {
    font-size: 11px; color: var(--ink-3); font-family: var(--font-mono);
    text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0;
}
.brand-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
