/* =============================================================================
   AutoParts Store — design tokens
   Palette: asphalt / steel / amber-warning (garage diagnostic-tool aesthetic)
   Display type: 'Oswald' (condensed, industrial stencil-adjacent)
   Body type: 'Inter'
   Data/code type: 'JetBrains Mono' — used for SKU, OEM, VIN (readable, precise)
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color */
  --asphalt-950: #101317;
  --asphalt-900: #171b21;
  --asphalt-800: #1f242c;
  --asphalt-700: #2a303a;
  --asphalt-600: #3a4250;
  --steel-400: #8a97a8;
  --steel-300: #b3bdc9;
  --paper-100: #f2f0ea;
  --paper-050: #faf9f6;
  --amber-500: #ff8a1e;
  --amber-400: #ffa64d;
  --amber-glow: rgba(255, 138, 30, 0.35);
  --ok-500: #4caf6a;
  --danger-500: #e5533d;

  /* Type */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --container: 1240px;
  --shadow-lift: 0 12px 32px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--asphalt-950);
  color: var(--paper-100);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 2px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--amber-500);
  display: inline-block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =============================================================================
   Top bar
   ============================================================================= */
.topbar {
  background: var(--asphalt-900);
  border-bottom: 1px solid var(--asphalt-700);
  font-size: 13px;
  color: var(--steel-400);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar__links { display: flex; gap: 20px; }
.topbar__links span { color: var(--amber-400); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 27, 33, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--asphalt-700);
}
.header .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(145deg, var(--amber-500), #c9600b);
  display: flex; align-items: center; justify-content: center;
  color: var(--asphalt-950); font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 14px var(--amber-glow);
  flex-shrink: 0;
}
.logo__sub { font-family: var(--font-mono); font-size: 10px; color: var(--steel-400); letter-spacing: 0.08em; text-transform: uppercase; display: block; font-weight: 400;}

.nav { display: flex; gap: 28px; flex: 1; }
.nav a { font-size: 14.5px; color: var(--steel-300); font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--amber-400); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--asphalt-800); border: 1px solid var(--asphalt-700);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper-100);
  transition: border-color .15s, background .15s;
}
.icon-btn:hover { border-color: var(--amber-500); background: var(--asphalt-700); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--amber-500); color: var(--asphalt-950);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* =============================================================================
   Hero
   ============================================================================= */
.hero {
  position: relative;
  padding: 68px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 78% -10%, rgba(255,138,30,0.14), transparent 60%),
    var(--asphalt-950);
  border-bottom: 1px solid var(--asphalt-700);
}
.hero__blueprint {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(138, 151, 168, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 151, 168, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start;
}
.hero__title {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.04;
  margin: 18px 0 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--amber-500);
  position: relative;
}
.hero__lead { font-size: 17px; color: var(--steel-300); max-width: 480px; margin-bottom: 28px; }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--amber-500); color: var(--asphalt-950); box-shadow: 0 8px 24px var(--amber-glow); }
.btn--primary:hover { background: var(--amber-400); }
.btn--ghost { background: transparent; border-color: var(--asphalt-600); color: var(--paper-100); }
.btn--ghost:hover { border-color: var(--amber-500); color: var(--amber-400); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.hero__stats { display: flex; gap: 32px; }
.stat b { font-family: var(--font-display); font-size: 26px; display: block; color: var(--paper-050); }
.stat span { font-size: 12.5px; color: var(--steel-400); }

/* VIN quick-pick widget */
.vin-widget {
  position: relative;
  background: var(--asphalt-900);
  border: 1px solid var(--asphalt-700);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lift);
}
.vin-widget__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.vin-widget__head h3 { font-size: 18px; }
.vin-widget__tabs { display: flex; background: var(--asphalt-800); border-radius: var(--radius-md); padding: 4px; margin-bottom: 20px; }
.vin-widget__tab {
  flex: 1; text-align: center; padding: 9px 6px; border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--steel-400); border: none; background: transparent;
  transition: background .15s, color .15s;
}
.vin-widget__tab.active { background: var(--amber-500); color: var(--asphalt-950); }

.selector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--steel-400); font-weight: 500; }
.field select, .field input {
  background: var(--asphalt-800); border: 1px solid var(--asphalt-600);
  color: var(--paper-100); border-radius: var(--radius-sm); padding: 11px 12px; font-size: 14px;
  transition: border-color .15s;
  width: 100%;
}
.field select:focus, .field input:focus { border-color: var(--amber-500); }
.field select:disabled { opacity: 0.45; cursor: not-allowed; }
.field--vin input { font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.field-error { font-size: 12px; color: var(--danger-500); min-height: 15px; }
.field-hint { font-size: 11.5px; color: var(--steel-400); }

.vin-widget__panel { display: none; }
.vin-widget__panel.active { display: block; }

.vin-result {
  margin-top: 16px; padding: 14px; border-radius: var(--radius-md);
  border: 1px solid var(--asphalt-600); background: var(--asphalt-800);
  font-size: 13.5px; display: none;
}
.vin-result.show { display: block; }
.vin-result.ok { border-color: var(--ok-500); }
.vin-result.err { border-color: var(--danger-500); color: #ffb3a6; }
.vin-result b { color: var(--amber-400); }

/* =============================================================================
   Section shell
   ============================================================================= */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.section-head p { color: var(--steel-400); max-width: 460px; font-size: 14.5px; }

/* Category strip */
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; }
.cat-card {
  background: var(--asphalt-900); border: 1px solid var(--asphalt-700); border-radius: var(--radius-lg);
  padding: 20px; transition: border-color .15s, transform .15s;
  display: flex; flex-direction: column; gap: 10px;
}
.cat-card:hover { border-color: var(--amber-500); transform: translateY(-3px); }
.cat-card.active { border-color: var(--amber-500); background: var(--asphalt-800); }
.cat-card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--asphalt-800);
  display: flex; align-items: center; justify-content: center; color: var(--amber-500);
}
.cat-card h4 { font-size: 15.5px; }
.cat-card span { font-size: 12.5px; color: var(--steel-400); }

/* Catalog toolbar */
.catalog-toolbar {
  display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap;
  background: var(--asphalt-900); border: 1px solid var(--asphalt-700); border-radius: var(--radius-md); padding: 12px 14px;
}
.search-input { position: relative; flex: 1; min-width: 220px; }
.search-input input {
  width: 100%; background: var(--asphalt-800); border: 1px solid var(--asphalt-600); border-radius: var(--radius-sm);
  padding: 10px 12px 10px 36px; color: var(--paper-100); font-size: 14px;
}
.search-input svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--steel-400); }
.toolbar-select {
  background: var(--asphalt-800); border: 1px solid var(--asphalt-600); border-radius: var(--radius-sm);
  color: var(--paper-100); padding: 10px 12px; font-size: 13.5px;
}
.toolbar-count { font-size: 13px; color: var(--steel-400); margin-left: auto; white-space: nowrap; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: var(--asphalt-900); border: 1px solid var(--asphalt-700); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.product-card:hover { border-color: var(--asphalt-600); transform: translateY(-2px); }
.product-card__media {
  aspect-ratio: 4/3; background: linear-gradient(160deg, var(--asphalt-800), var(--asphalt-700));
  display: flex; align-items: center; justify-content: center; color: var(--steel-400); position: relative;
}
.product-card__badge {
  position: absolute; top: 10px; left: 10px; font-family: var(--font-mono); font-size: 10.5px;
  background: var(--asphalt-950); border: 1px solid var(--asphalt-600); color: var(--steel-300);
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__brand { font-size: 11.5px; color: var(--amber-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.product-card__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; min-height: 38px; }
.product-card__sku { font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-400); }
.product-card__stock { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }
.dot--ok { background: var(--ok-500); }
.dot--low { background: var(--amber-500); }
.dot--out { background: var(--danger-500); }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.price small { font-family: var(--font-body); font-size: 11.5px; color: var(--steel-400); font-weight: 400; }
.add-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--asphalt-800);
  border: 1px solid var(--asphalt-600); color: var(--amber-500); display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--asphalt-950); }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--steel-400); }
.empty-state svg { margin-bottom: 12px; opacity: 0.5; }

/* =============================================================================
   Trust / how it works
   ============================================================================= */
.how-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-card { background: var(--asphalt-900); border: 1px solid var(--asphalt-700); border-radius: var(--radius-lg); padding: 24px; }
.how-card__num { font-family: var(--font-mono); color: var(--amber-500); font-size: 13px; margin-bottom: 10px; display: block; }
.how-card h4 { font-size: 17px; margin-bottom: 8px; }
.how-card p { font-size: 13.5px; color: var(--steel-400); margin: 0; }

/* =============================================================================
   VIN lead form section
   ============================================================================= */
.lead-section {
  background: linear-gradient(180deg, var(--asphalt-900), var(--asphalt-950));
  border-top: 1px solid var(--asphalt-700); border-bottom: 1px solid var(--asphalt-700);
}
.lead-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.lead-copy h2 { margin-bottom: 14px; }
.lead-copy p { color: var(--steel-300); margin-bottom: 22px; font-size: 15px; }
.lead-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lead-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--steel-300); }
.lead-list svg { color: var(--amber-500); flex-shrink: 0; margin-top: 2px; }

.lead-form {
  background: var(--asphalt-900); border: 1px solid var(--asphalt-700); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lift);
}
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success svg { color: var(--ok-500); margin-bottom: 12px; }
.form-success h4 { margin-bottom: 6px; }
.form-success p { color: var(--steel-400); font-size: 13.5px; margin: 0; }

/* =============================================================================
   Footer
   ============================================================================= */
.footer { background: var(--asphalt-900); border-top: 1px solid var(--asphalt-700); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h5 { font-size: 13px; color: var(--steel-300); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { font-size: 13.5px; color: var(--steel-400); transition: color .15s; }
.footer ul a:hover { color: var(--amber-400); }
.footer p.desc { color: var(--steel-400); font-size: 13.5px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid var(--asphalt-700); padding-top: 20px;
  display: flex; justify-content: space-between; color: var(--steel-400); font-size: 12.5px; flex-wrap: wrap; gap: 10px;
}

/* =============================================================================
   Cart drawer
   ============================================================================= */
.overlay {
  position: fixed; inset: 0; background: rgba(10,12,15,0.6); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
  background: var(--asphalt-900); border-left: 1px solid var(--asphalt-700);
  transform: translateX(100%); transition: transform .25s ease; z-index: 95;
  display: flex; flex-direction: column;
}
.drawer.show { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--asphalt-700); }
.drawer__close { background: none; border: none; color: var(--steel-400); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer__empty { text-align: center; color: var(--steel-400); padding: 60px 10px; font-size: 14px; }

.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--asphalt-800); }
.cart-item__media { width: 58px; height: 58px; border-radius: var(--radius-sm); background: var(--asphalt-800); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--steel-400); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.cart-item__sku { font-family: var(--font-mono); font-size: 11px; color: var(--steel-400); margin-bottom: 8px; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button {
  width: 24px; height: 24px; border-radius: 5px; background: var(--asphalt-800); border: 1px solid var(--asphalt-600);
  color: var(--paper-100); display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.qty-control span { font-family: var(--font-mono); font-size: 13px; min-width: 18px; text-align: center; }
.cart-item__price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__price b { font-family: var(--font-display); font-size: 15px; }
.remove-link { font-size: 11.5px; color: var(--danger-500); background: none; border: none; }

.drawer__footer { border-top: 1px solid var(--asphalt-700); padding: 18px 22px 22px; }
.drawer__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 15px; }
.drawer__total b { font-family: var(--font-display); font-size: 22px; color: var(--amber-400); }

/* =============================================================================
   Dev Tools / Architecture panel (portfolio showcase)
   ============================================================================= */
.devtools-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 80;
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--asphalt-800); border: 1px solid var(--asphalt-600); color: var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift);
  transition: transform .2s, border-color .2s;
}
.devtools-toggle:hover { transform: rotate(45deg); border-color: var(--amber-500); }

.devtools-panel {
  position: fixed; bottom: 0; right: 0; top: 0; width: 460px; max-width: 94vw;
  background: var(--asphalt-950); border-left: 1px solid var(--asphalt-700);
  transform: translateX(100%); transition: transform .25s ease; z-index: 96;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
.devtools-panel.show { transform: translateX(0); }
.devtools-head {
  padding: 20px 22px; border-bottom: 1px solid var(--asphalt-700);
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(120deg, rgba(255,138,30,0.08), transparent);
}
.devtools-head h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.devtools-head span.badge {
  font-family: var(--font-mono); font-size: 10px; background: var(--amber-500); color: var(--asphalt-950);
  padding: 2px 7px; border-radius: 999px; font-weight: 700; letter-spacing: 0.03em;
}
.devtools-body { flex: 1; overflow-y: auto; padding: 20px 22px 40px; }
.devtools-section { margin-bottom: 26px; }
.devtools-section h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-400);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; background: var(--asphalt-800); border: 1px solid var(--asphalt-600);
  padding: 6px 10px; border-radius: 6px; color: var(--paper-100);
}
.chip--layer { color: var(--amber-400); border-color: rgba(255,138,30,0.4); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; background: transparent; padding: 3px 0; border: none; margin-top: 10px; display: block;}

.schema-table {
  background: var(--asphalt-900); border: 1px solid var(--asphalt-700); border-radius: var(--radius-md);
  padding: 12px 14px; margin-bottom: 10px;
}
.schema-table__name { font-family: var(--font-mono); color: var(--amber-400); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.schema-table__cols { font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-300); line-height: 1.8; }
.schema-table__cols b { color: var(--paper-050); font-weight: 500; }

.api-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--asphalt-800);
  font-family: var(--font-mono); font-size: 12px;
}
.api-method {
  font-weight: 700; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; flex-shrink: 0; width: 42px; text-align: center;
}
.api-method--get { background: rgba(76,175,106,0.15); color: var(--ok-500); }
.api-method--post { background: rgba(255,138,30,0.15); color: var(--amber-500); }
.api-path { color: var(--steel-300); }
.api-desc { color: var(--steel-400); font-family: var(--font-body); font-size: 11.5px; margin-top: 2px; }

.devtools-note {
  font-size: 12px; color: var(--steel-400); background: var(--asphalt-900); border: 1px dashed var(--asphalt-600);
  border-radius: var(--radius-md); padding: 12px 14px; line-height: 1.6;
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--asphalt-800); border: 1px solid var(--ok-500); color: var(--paper-050);
  padding: 12px 20px; border-radius: var(--radius-md); font-size: 13.5px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .selector-grid { grid-template-columns: 1fr; }
  .lead-form__row { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .devtools-panel { width: 100vw; }
  .drawer { width: 100vw; }
}
