/* ============================================================
   FindCarParts — Workshop / industrial aesthetic v2
   Concrete + carbon, hi-viz orange, hazard yellow, toolbox red
   Oswald display · IBM Plex Sans body · IBM Plex Mono codes
   ============================================================ */

:root {
  /* Concrete + steel surfaces */
  --bg: #E5E4DD;            /* poured concrete */
  --bg-2: #D9D8CF;          /* concrete shaded */
  --surface: #F5F4EE;       /* paper / panel */
  --surface-2: #ECEBE3;     /* sub-panel */
  --carbon: #0F0F0F;        /* carbon black */
  --carbon-2: #1C1C1C;
  --steel: #3A3D42;         /* gunmetal */
  --steel-2: #595D63;
  --ink: #141414;           /* default text */
  --ink-2: #2A2A2A;
  --muted: #6E6E68;         /* tag grey */
  --muted-2: #918F86;
  --line: #C7C4B8;          /* concrete edge */
  --line-2: #DAD8CD;
  --line-dark: #9C9A8E;

  /* Hi-viz palette */
  --orange: #FF5A1F;         /* DeWalt / safety hi-viz */
  --orange-2: #E64200;
  --orange-soft: #FFE3D5;
  --yellow: #FFCC00;         /* hazard / caution */
  --yellow-2: #E5B300;
  --yellow-soft: #FFF2B8;
  --red: #C8201E;            /* toolbox red */
  --red-2: #9A1815;
  --red-soft: #FBE2E1;
  --green: #1B7A3E;          /* in stock / pass */
  --green-soft: #DCEFE2;
  --steel-soft: #E5E6E8;     /* cool blue-grey tag */

  /* Type */
  --display: "Oswald", "Bebas Neue", "Impact", sans-serif;
  --body: "IBM Plex Sans", "Inter Tight", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 0 rgba(15,15,15,0.04), 0 1px 2px rgba(15,15,15,0.05);
  --shadow-md: 0 2px 6px rgba(15,15,15,0.06), 0 10px 24px -14px rgba(15,15,15,0.25);
  --shadow-lg: 0 16px 36px -12px rgba(15,15,15,0.35);
}

/* Hazard tape pattern — used as accent borders */
.hazard-tape {
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 14px,
    var(--carbon) 14px 28px
  );
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background-image:
    radial-gradient(rgba(20,20,20,0.025) 1px, transparent 1px),
    radial-gradient(rgba(20,20,20,0.018) 1px, transparent 1px);
  background-size: 24px 24px, 96px 96px;
  background-position: 0 0, 12px 12px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; }

/* Type roles */
.display { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.mono    { font-family: var(--mono); font-weight: 500; }
.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow-steel { color: var(--steel); }

/* Layout */
.shell { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   UTILITY STRIP (top of page)
   ============================================================ */
.utility {
  background: var(--carbon);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  border-bottom: 3px solid var(--yellow);
  position: relative;
}
.utility::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--carbon) 10px 20px);
  pointer-events: none;
}
.utility .shell {
  display: flex;
  justify-content: space-between;
  padding: 8px 32px;
  gap: 24px;
}
.utility-left, .utility-right { display: flex; gap: 22px; align-items: center; }
.utility a { transition: color 0.15s; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--yellow); }
.utility strong { color: white; font-weight: 600; }
.utility .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 2px rgba(27,122,62,0.3); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--carbon);
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 2px;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid var(--orange);
  border-radius: 1px;
}
.logo-mark svg { width: 22px; height: 22px; color: var(--orange); position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--carbon);
}
.logo-tag {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Search */
.search {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--carbon);
  background: white;
  height: 48px;
  border-radius: 2px;
  overflow: hidden;
}
.search select {
  background: var(--surface-2);
  border: none;
  border-right: 1px solid var(--line);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.search input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  background: transparent;
  min-width: 0;
}
.search-btn {
  background: var(--orange);
  color: white;
  border: none;
  padding: 0 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.search-btn:hover { background: var(--orange-2); }

/* Top actions */
.topbar-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--carbon);
  padding: 8px 12px;
  border-radius: 3px;
  transition: background 0.15s;
  position: relative;
}
.action-btn:hover { background: var(--surface-2); }
.action-btn .label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.action-btn:hover .label { color: var(--carbon); }
.action-btn .count {
  position: absolute;
  top: 2px;
  right: 0px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--body);
}

/* Department nav */
.depts {
  background: var(--carbon);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.depts .shell {
  display: flex;
  align-items: stretch;
}
.dept-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 18px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
}
.dept-link:hover { background: rgba(255,255,255,0.06); color: white; }
.dept-link.active {
  background: var(--orange);
  color: white;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 2px solid var(--carbon);
  background: var(--carbon);
  color: white;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
}
.btn:hover { background: var(--steel); border-color: var(--steel); }

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.btn-orange:hover { background: var(--orange-2); border-color: var(--orange-2); }

.btn-yellow {
  background: var(--yellow);
  border-color: var(--carbon);
  color: var(--carbon);
}
.btn-yellow:hover { background: var(--yellow-2); }

.btn-ghost {
  background: transparent;
  color: var(--carbon);
}
.btn-ghost:hover { background: var(--carbon); color: white; }

.btn-sm { padding: 9px 14px; font-size: 12px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   BADGES + CHIPS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--surface-2);
  color: var(--ink);
  line-height: 1;
}
.badge-steel  { background: var(--carbon); color: white; }
.badge-green  { background: var(--green-soft); color: var(--green); }
.badge-orange { background: var(--orange-soft); color: var(--orange-2); }
.badge-yellow { background: var(--yellow); color: var(--carbon); }
.badge-red    { background: var(--red-soft); color: var(--red); }
.badge-oem    { background: var(--carbon); color: var(--yellow); }
.badge .dot   { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Generic carbon panel header */
.carbon-bar {
  background: var(--carbon);
  color: white;
  padding: 10px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px 2px 0 0;
}
.carbon-bar .accent { color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 80px;
  background: var(--carbon);
  color: rgba(255,255,255,0.78);
  border-top: 4px solid var(--orange);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: -4px; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--carbon) 10px 20px);
}
.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h5 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { transition: color 0.15s; cursor: pointer; }
.footer ul a:hover { color: var(--yellow); }
.footer .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .footer-logo .logo-mark { background: white; }
.footer .footer-logo .logo-mark::before { border-color: var(--orange); }
.footer .footer-logo .logo-name { color: white; }
.footer-tag { font-size: 14px; max-width: 280px; line-height: 1.6; opacity: 0.7; }
.footer .trust-line {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.footer .trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .links { display: flex; gap: 22px; }

/* ============================================================
   HOME — HERO + VEHICLE FINDER
   ============================================================ */
.hero {
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 80px;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 18px 0 18px;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .stencil-box {
  display: inline-block;
  background: var(--carbon);
  color: var(--yellow);
  padding: 0 12px 4px;
  margin: 0 -4px;
}
.hero p.lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.55;
  margin: 0 0 26px;
}
.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.hero-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.hero-bullets li svg { flex-shrink: 0; margin-top: 1px; color: var(--green); }

/* Vehicle finder card — workshop tool feel */
.vehicle-finder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.vehicle-header {
  background: var(--carbon);
  color: white;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vehicle-header .icon { color: var(--orange); }
.vehicle-header h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 1;
}
.vehicle-header .step-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.06em;
}
.vehicle-body { padding: 22px; }
.vehicle-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  background: var(--surface-2);
  border-radius: 2px;
  padding: 3px;
}
.vehicle-tab {
  flex: 1;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 12px;
  background: none;
  border: none;
  color: var(--muted);
  border-radius: 2px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.vehicle-tab.on { color: white; background: var(--carbon); }
.vehicle-tab:hover:not(.on) { color: var(--ink); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.field-row.full { grid-template-columns: 1fr; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.field select, .field input {
  width: 100%;
  background: white;
  border: 1px solid var(--line-dark);
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23141414' d='M6 8L2 4h8z'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.field select:focus, .field input:focus { border-color: var(--orange); }
.field input::placeholder { color: var(--muted-2); }
.vehicle-body .btn { width: 100%; padding: 14px; margin-top: 6px; }
.vehicle-saved {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  border-radius: 2px;
  border-left: 3px solid var(--green);
  font-weight: 500;
}

/* Trust strip */
.trust-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 48px;
  overflow: hidden;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-right: 1px solid var(--line-2);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--carbon);
  color: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* Section heading */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 24px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  margin: 6px 0 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}
.section-head h2 .accent { color: var(--orange); }
.section-head .more {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--carbon);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
}
.section-head .more:hover { color: var(--orange); }

/* Categories grid */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 22px 16px 18px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cat-tile:hover {
  border-color: var(--carbon);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-tile::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 24px;
  height: 4px;
  background: var(--orange);
  border-radius: 0 0 2px 0;
  opacity: 0;
  transition: opacity 0.18s;
}
.cat-tile:hover::after { opacity: 1; }
.cat-tile .cat-icon {
  width: 48px; height: 48px;
  background: var(--carbon);
  color: var(--orange);
  display: grid; place-items: center;
  border-radius: 2px;
}
.cat-tile .cat-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.cat-tile .cat-count {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 500;
}

/* Part cards */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.part-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
}
.part-card:hover {
  border-color: var(--carbon);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.part-card .stage {
  aspect-ratio: 4 / 3;
  background: linear-gradient(170deg, #F8F7F1 0%, #DAD8CD 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.part-card .stage-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}
.part-card .stage-sku {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--carbon);
  background: rgba(255,255,255,0.92);
  padding: 3px 6px;
  border-radius: 2px;
  z-index: 3;
  border: 1px solid var(--line);
}
.part-card .stage-3d {
  position: absolute;
  bottom: 8px; right: 8px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: var(--carbon);
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.part-card .stage-3d::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.part-card .body {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.part-card .body .cat {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.part-card .body .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 2px 0;
  text-transform: uppercase;
}
.part-card .body .sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.part-card .body .fit {
  font-size: 11px;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.part-card .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
}
.part-card .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.part-card .price .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1;
}
.part-card .price .cur { font-size: 13px; color: var(--muted); font-weight: 600; }
.part-card .price .vat { font-size: 10.5px; color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.part-card .add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  background: var(--carbon);
  color: white;
  border: none;
  border-radius: 2px;
  transition: background 0.15s;
}
.part-card:hover .add { background: var(--orange); }

/* Brand strip / stats */
.brand-strip {
  background: var(--carbon);
  color: white;
  padding: 22px 0;
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.brand-strip::before, .brand-strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--carbon) 10px 20px);
}
.brand-strip::before { top: 0; }
.brand-strip::after  { bottom: 0; }
.brand-strip .stat {
  flex: 1;
  padding: 8px 22px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-strip .stat:last-child { border-right: none; }
.brand-strip .stat .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand-strip .stat .label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   CATALOG
   ============================================================ */
.catalog-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.catalog-head-inner { padding: 22px 0 24px; }
.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumb a { cursor: pointer; transition: color 0.15s; }
.crumb a:hover { color: var(--carbon); }
.crumb .sep { color: var(--line-dark); }
.catalog-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.fitment-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-soft);
  color: var(--green);
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 13px;
  border: 1px solid rgba(27,122,62,0.25);
  border-left: 3px solid var(--green);
}
.fitment-pill strong { font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.fitment-pill button {
  background: transparent;
  border: none;
  color: var(--green);
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
}

.catalog-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 28px 0 64px;
}

.filters-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.filter-group {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-2);
}
.filter-group:last-child { border-bottom: none; }
.filter-group h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--carbon);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-group h4::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--orange);
}
.filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.filter-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  padding: 6px 8px;
  border-radius: 2px;
  transition: background 0.12s;
}
.filter-list li:hover { background: var(--surface-2); }
.filter-list li.on { background: var(--carbon); color: white; font-weight: 500; }
.filter-list li .n { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 500; }
.filter-list li.on .n { color: var(--orange); }

.cat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.cat-toolbar .count { font-size: 13.5px; color: var(--muted); }
.cat-toolbar .count strong { color: var(--carbon); font-family: var(--display); font-weight: 700; }
.toolbar-right { display: flex; gap: 14px; align-items: center; }
.cat-toolbar select {
  border: 1px solid var(--line-dark);
  padding: 7px 28px 7px 12px;
  font-size: 13px;
  border-radius: 2px;
  background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23141414' d='M6 8L2 4h8z'/></svg>") no-repeat right 8px center;
  appearance: none;
  cursor: pointer;
  font-weight: 500;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  overflow: hidden;
}
.view-toggle button {
  background: var(--surface);
  border: none;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
}
.view-toggle button:not(:last-child) { border-right: 1px solid var(--line-dark); }
.view-toggle button.on { background: var(--carbon); color: white; }
.view-toggle button:hover:not(.on) { background: var(--surface-2); color: var(--carbon); }

/* List view */
.parts-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.parts-list .row-head {
  display: grid;
  grid-template-columns: 72px 1fr 130px 110px 110px 130px;
  gap: 14px;
  padding: 10px 14px;
  background: var(--carbon);
  color: rgba(255,255,255,0.8);
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.parts-list .row {
  display: grid;
  grid-template-columns: 72px 1fr 130px 110px 110px 130px;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
  cursor: pointer;
  transition: background 0.12s;
}
.parts-list .row:last-child { border-bottom: none; }
.parts-list .row:hover { background: var(--surface-2); }
.parts-list .row .mini-stage {
  width: 60px;
  height: 60px;
  background: linear-gradient(170deg, #F8F7F1 0%, #DAD8CD 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.parts-list .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 2px;
  line-height: 1.15;
}
.parts-list .sub { font-size: 13px; color: var(--muted); }
.parts-list .sku { font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-weight: 500; }
.parts-list .stock-cell {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.parts-list .price-cell {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-align: right;
  letter-spacing: 0;
}
.parts-list .action-cell { display: flex; justify-content: flex-end; }

/* ============================================================
   DETAIL
   ============================================================ */
.detail-crumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.detail-crumb-bar .crumb { margin: 0; padding: 12px 0; }

.detail-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 28px 0 48px;
}

/* Viewer */
.viewer-wrap { position: sticky; top: 130px; align-self: start; }
.viewer-stage {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #F8F7F1 0%, #DAD8CD 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
/* Blueprint grid overlay */
.viewer-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,20,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
.viewer-stage canvas { display: block; cursor: grab; position: relative; z-index: 1; }
.viewer-stage canvas:active { cursor: grabbing; }

.viewer-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--carbon);
  color: white;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.viewer-tag .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}

.viewer-toolbar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 5;
  pointer-events: none;
}
.viewer-controls {
  display: flex;
  gap: 2px;
  pointer-events: auto;
  background: var(--carbon);
  border-radius: 2px;
  padding: 3px;
}
.viewer-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  transition: all 0.15s;
}
.viewer-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.viewer-btn.on { background: var(--orange); color: white; }
.viewer-help {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--carbon);
  padding: 8px 10px;
  border-radius: 2px;
  pointer-events: auto;
}

/* Hotspots */
.hotspot { position: absolute; z-index: 6; transform: translate(-50%, -50%); pointer-events: auto; }
.hotspot-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  border: 2px solid var(--carbon);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(15,15,15,0.4);
  position: relative;
}
.hotspot-dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  opacity: 0.5;
  animation: ring 1.8s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.hotspot:hover .hotspot-dot { transform: scale(1.12); }
.hotspot.on .hotspot-dot { background: var(--carbon); border-color: var(--orange); }
.hotspot.on .hotspot-dot::before { display: none; }

.hotspot-card {
  position: absolute;
  left: 36px;
  top: -4px;
  width: 240px;
  background: var(--carbon);
  color: white;
  padding: 14px 16px;
  border-radius: 3px;
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.2s;
  z-index: 7;
}
.hotspot.on .hotspot-card { opacity: 1; pointer-events: auto; transform: translateY(0); }
.hotspot-card h5 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--orange);
}
.hotspot-card p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.85); }

.viewer-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.viewer-thumb {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 8px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.viewer-thumb:hover { color: var(--carbon); border-color: var(--carbon); }
.viewer-thumb.on { background: var(--carbon); color: white; border-color: var(--carbon); }
.viewer-thumb.on::after { content: " ●"; color: var(--orange); }

/* Right side */
.info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.info-cat {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.info-sku {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  background: var(--surface);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 500;
}
.info-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}
.info-subtitle { font-size: 16px; color: var(--muted); margin: 6px 0 0; }
.info-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.stars { color: var(--orange); letter-spacing: 0.05em; }

/* Fitment banner */
.fitment-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-soft);
  border: 1px solid rgba(27,122,62,0.2);
  border-left: 3px solid var(--green);
  padding: 12px 16px;
  border-radius: 3px;
  margin: 18px 0;
}
.fitment-banner .ic { color: var(--green); flex-shrink: 0; }
.fitment-banner .txt strong { font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; font-size: 14px; text-transform: uppercase; display: block; }
.fitment-banner .txt { font-size: 13px; color: var(--ink-2); }

/* Quick chips */
.quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  overflow: hidden;
}
.quick-chip {
  padding: 14px 16px;
  border-right: 1px solid var(--line-2);
}
.quick-chip:last-child { border-right: none; }
.quick-chip .label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-chip .val {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.quick-chip .val small { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 5px; letter-spacing: 0.08em; }

/* Price */
.price-block {
  background: var(--carbon);
  color: white;
  border-radius: 3px;
  padding: 22px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.price-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px;
  height: 4px;
  background: var(--orange);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.price-row .cur {
  font-family: var(--display);
  font-size: 22px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.price-row .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
  color: white;
}
.price-row .vat {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-left: auto;
  text-align: right;
}
.price-row .vat strong {
  display: block;
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stock-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.stock-row .in-stock {
  color: var(--green);
  font-weight: 600;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stock-row .in-stock::before { content: ""; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 2px rgba(27,122,62,0.4); }

.qty-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 8px; }
.qty {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--carbon);
  border-radius: 2px;
  overflow: hidden;
}
.qty button {
  width: 44px;
  background: var(--surface);
  border: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--carbon);
  transition: background 0.15s;
}
.qty button:hover { background: var(--surface-2); }
.qty input {
  width: 50px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  outline: none;
}
.qty-row .btn { flex: 1; }

.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  color: var(--carbon);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
}
.action-link:hover { border-color: var(--carbon); background: var(--carbon); color: white; }

/* Trust mini */
.trust-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 12px;
}
.trust-mini-item {
  display: flex;
  gap: 10px;
  padding: 0 14px;
  border-right: 1px solid var(--line-2);
  align-items: center;
}
.trust-mini-item:last-child { border-right: none; }
.trust-mini-item svg { color: var(--orange); flex-shrink: 0; }
.trust-mini-item strong { display: block; font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.1; }
.trust-mini-item span { font-size: 11px; color: var(--muted); }

/* ============================================================
   DETAIL — TABS
   ============================================================ */
.detail-tabs-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-top: 28px;
}
.detail-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  background: var(--carbon);
}
.detail-tab {
  background: none;
  border: none;
  padding: 14px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-tab:hover:not(.on) { color: white; }
.detail-tab.on {
  background: var(--surface);
  color: var(--carbon);
  border-bottom-color: var(--orange);
}
.detail-tab .badge { padding: 2px 6px; font-size: 10px; }

.tab-panel { padding: 32px 28px; }
.tab-panel h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-panel h3::before {
  content: "";
  width: 4px; height: 22px;
  background: var(--orange);
}
.tab-panel p { margin: 0 0 14px; color: var(--ink-2); }

/* Specs table */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--line-2); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 11px 0;
  font-size: 14px;
  vertical-align: top;
}
.specs-table td:first-child {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 45%;
}
.specs-table td:last-child { color: var(--carbon); font-weight: 500; font-family: var(--mono); font-size: 13px; }

/* Install */
.install-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: flex-start;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px;
  background: var(--carbon);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}
.step-body { font-size: 15px; line-height: 1.55; color: var(--ink-2); padding-top: 6px; }
.step-body strong { color: var(--carbon); }

.install-side .panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 18px;
}
.install-side .panel + .panel { margin-top: 10px; }
.install-side h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--carbon);
  margin: 0 0 12px;
}
.tools-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tools-list li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  align-items: center;
}
.tools-list .marker { font-family: var(--mono); font-size: 11px; color: var(--orange); font-weight: 500; width: 22px; flex-shrink: 0; }

.diff-row { display: flex; align-items: center; gap: 12px; }
.diff-meter { display: flex; gap: 3px; }
.diff-meter span { width: 22px; height: 6px; background: var(--line); border-radius: 1px; }
.diff-meter span.on { background: var(--orange); }
.diff-label { font-family: var(--display); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; }

.time-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--orange);
}
.time-display small { font-size: 14px; color: var(--muted); margin-left: 8px; }

/* Video */
.video-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--carbon);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,90,31,0.22), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(58,61,66,0.6), transparent 60%),
    linear-gradient(135deg, #2A2E36, #0a0a0a 70%);
}
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.video-play .circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  transition: transform 0.15s;
  box-shadow: 0 0 0 4px rgba(255,90,31,0.25);
}
.video-frame:hover .video-play .circle { transform: scale(1.08); }
.video-play .circle::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: white;
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 2;
  font-weight: 500;
}
.video-title {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 70%;
  line-height: 1.2;
  z-index: 2;
}
.video-yt {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: white;
  padding: 4px 8px;
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.video-meta-side h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.video-meta-side p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.video-tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

/* Page transition */
.page { opacity: 1; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   TWEAK VARIANTS — Detail page
   ============================================================ */
body.detail-workshop  { /* default light concrete */ }
body.detail-garage {
  --bg: #16181D;
  --bg-2: #1C1F26;
  --surface: #1E2128;
  --surface-2: #262A33;
  --carbon: #0B0B0B;
  --carbon-2: #181818;
  --ink: #E8EAED;
  --ink-2: #C5C8CD;
  --muted: #8E9298;
  --muted-2: #5F6369;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.04);
  --line-dark: rgba(255,255,255,0.18);
}
body.detail-garage .viewer-stage { background: linear-gradient(160deg, #232730 0%, #14171C 100%); }
body.detail-garage .viewer-stage::after {
  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);
}
body.detail-garage .part-card .stage,
body.detail-garage .parts-list .row .mini-stage {
  background: linear-gradient(170deg, #2A2E36 0%, #14171C 100%);
}

body.detail-blueprint {
  --bg: #0B2440;
  --bg-2: #0F2A4A;
  --surface: #133154;
  --surface-2: #1A3C66;
  --ink: #F0F5FC;
  --ink-2: #C9DBEE;
  --muted: #84A0C0;
  --muted-2: #56708E;
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.05);
  --line-dark: rgba(255,255,255,0.22);
  --carbon: #061830;
  --orange: #FFB22B;
}
body.detail-blueprint .viewer-stage { background: #0B2440; }
body.detail-blueprint .viewer-stage::after {
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
body.detail-blueprint .part-card .stage,
body.detail-blueprint .parts-list .row .mini-stage {
  background: linear-gradient(170deg, #133154 0%, #0B2440 100%);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 56px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .parts-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-main { grid-template-columns: 1fr; }
  .viewer-wrap { position: static; }
  .catalog-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: 1fr; }
  .video-wrap { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .parts-list .row-head, .parts-list .row {
    grid-template-columns: 72px 1fr 110px 130px;
  }
  .parts-list .col-stock, .parts-list .col-fit { display: none; }
  .brand-strip { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .parts-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-main { grid-template-columns: 1fr; gap: 12px; }
  .info-title { font-size: 32px; }
  .price-row .num { font-size: 40px; }
  .utility .shell { flex-wrap: wrap; }
}
