/* ==========================================================================
   SABR Auto Parts — one stylesheet (storefront + admin)
   Brand (owner, 2 Dec 2026): the SABR logo — near-black #141413, gold #C9A226, white — on warm neutrals.
   Gold is a FILL colour (buttons, active states, hairlines) with black text on it; on white, gold text uses
   the deeper --accent (#7F650F) so it stays readable. Older rule names: --green = deep gold (text/accent),
   --yellow = amber (warnings), --ok = green (in stock / genuine / success). Brand overrides are at the end
   ("BRAND 2026 — black & gold").
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --ink: #141413;          /* logo black: header, hero, footer, admin menu */
  --ink-2: #1D1D1B;
  --ink-3: #2A2926;
  --head: #141413;         /* headings, prices */
  --primary: #C9A226;      /* logo gold: buttons, active states, accents (fill) */
  --primary-dark: #B08D1A;
  --primary-tint: #FAF4E1;
  --on-primary: #141413;   /* text on gold */
  --accent: #7F650F;       /* gold as text on white (5.6:1) and on the warm grey (5.0:1) */
  --gold-light: #E2C46A;   /* gold as text/icons on black */
  --ok: #15803D;           /* in stock, genuine, success */
  --ok-tint: #E8F6EE;
  --wa: #25D366;           /* WhatsApp */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20, 20, 19, .05), 0 1px 3px rgba(20, 20, 19, .07);
  --shadow-lg: 0 14px 34px rgba(20, 20, 19, .13);
  --yellow: #F59E0B;
  --yellow-tint: #FFF7E6;
  --yellow-text: #92400E;
  --green: #7F650F;
  --green-dark: #6F570C;
  --green-tint: #FAF4E1;
  --charcoal: #232220;
  --charcoal-2: #2A2926;
  --grey: #6E6960;
  --grey-2: #4F4B43;
  --bg: #F5F3EE;
  --line: #E7E3DA;
  --line-strong: #D4CEC2;
  --red: #B42318;
  --red-tint: #FEF3F2;
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.5 var(--f-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 12px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
/* Icons: <i class="ti ti-name"><svg><use href="icons.svg#i-name"></svg></i> — size = font-size, colour = color */
.ti { display: inline-flex; align-items: center; justify-content: center; font-style: normal; line-height: 1; vertical-align: -.15em; }
.ti > svg {
  width: 1em; height: 1em; display: block; flex: none; pointer-events: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
html { -webkit-tap-highlight-color: transparent; }
a, button, input, select, label, summary { touch-action: manipulation; }
::selection { background: var(--yellow); color: var(--charcoal); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--grey); }
.small { font-size: 13px; }
.strong { font-weight: 600; }
.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: .01em; }
.upper { text-transform: uppercase; }
.ta-r { text-align: right; }
.mt-lg { margin-top: 40px; }
.mt-md { margin-top: 24px; }
.mt-sm { margin-top: 12px; }
.fitting-box.has-error { border-color: var(--red); }
.mb-lg { margin-bottom: 28px; }
.text-danger, a.text-danger { color: var(--red); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(34, 34, 34, .68); margin: 0 0 8px;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.h-sub { font-size: 24px; color: var(--green); margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  font: 600 17px/1 var(--f-head); letter-spacing: .03em;
  border: 1px solid transparent; background: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn .ti { font-size: 19px; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--bg); color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { color: var(--grey-2); }
.btn-ghost:hover { color: var(--charcoal); background: var(--bg); }
.btn-danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-lg { min-height: 52px; font-size: 19px; padding: 0 26px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .42; pointer-events: none; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 6px; cursor: pointer; font-size: 20px; color: inherit; line-height: 1;
}
.icon-btn:hover { color: var(--green); }
.link-btn { background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; cursor: pointer; font: inherit; }
.link-btn:hover { color: var(--green-dark); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-label {
  font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--grey-2);
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--grey); margin-left: 4px; }
.field-hint { font-size: 13px; color: var(--grey); }
input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number],
input[type=password], select, textarea {
  width: 100%; min-height: 46px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line-strong);
  font-size: 16px; color: var(--charcoal);
  transition: border-color .15s, box-shadow .15s;
}
textarea { padding: 10px 12px; min-height: 0; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
input::placeholder, textarea::placeholder { color: #A5A5A5; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23222' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
select:disabled, input:disabled { background-color: var(--bg); color: var(--grey); cursor: not-allowed; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); width: 17px; height: 17px; margin: 0; flex: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.form-error { color: var(--red); font-size: 13px; margin: 2px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid-4 { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 15px; }
.check input { margin-top: 3px; }
.switch { display: flex; align-items: center; gap: 10px; margin: 10px 0; cursor: pointer; }
.switch input { width: 18px; height: 18px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 16px; margin: 0 0 16px; border-left: 4px solid; font-size: 15px; }
.alert-error { background: var(--red-tint); border-color: var(--red); color: #7D1F16; }
.alert-success { background: var(--green-tint); border-color: var(--green); color: #084A2B; }
.alert-info { background: var(--yellow-tint); border-color: var(--yellow); color: var(--yellow-text); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); flex: none; }
.logo:hover { text-decoration: none; color: var(--charcoal); }
.logo-mark {
  width: 34px; height: 34px; background: var(--yellow); color: var(--charcoal);
  display: grid; place-items: center; font: 700 24px/1 var(--f-head);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font: 700 24px/0.9 var(--f-head); letter-spacing: .04em; }
.logo-text span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }
.logo-invert .logo-text strong { color: #fff; }
.logo-invert .logo-text span { color: #9A9A9A; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.header-search { flex: 1; max-width: 560px; display: flex; }
.header-search input { min-height: 42px; border-right: 0; background: var(--bg); border-color: var(--bg); }
.header-search input:focus { background: #fff; }
.header-search button {
  width: 46px; min-height: 42px; border: 0; background: var(--charcoal); color: #fff; font-size: 19px; cursor: pointer;
  display: grid; place-items: center;
}
.header-search button:hover { background: var(--green); }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-link { display: inline-flex; align-items: center; gap: 6px; color: var(--charcoal); text-decoration: none; font-size: 15px; font-weight: 500; }
.header-link .ti { font-size: 19px; color: var(--grey-2); }
.header-link:hover { color: var(--green); text-decoration: none; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  border: 1px solid var(--charcoal); color: var(--charcoal); text-decoration: none;
  font: 600 17px/1 var(--f-head); letter-spacing: .03em; position: relative;
}
.cart-btn .ti { font-size: 20px; }
.cart-btn:hover { background: var(--bg); color: var(--charcoal); text-decoration: none; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 5px; background: var(--yellow); color: var(--charcoal);
  display: inline-grid; place-items: center; font: 700 14px/1 var(--f-body);
}
.cart-count.bump { animation: bump .3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.25); } }

.flash { padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.flash-info { background: var(--yellow-tint); color: var(--yellow-text); }
.flash-success { background: var(--green-tint); color: #084A2B; }
.flash-error { background: var(--red-tint); color: #7D1F16; }

/* ---------- Hero + search panel ---------- */
.hero { background: var(--yellow); padding: 56px 0 64px; }
.hero-copy { max-width: 760px; margin-bottom: 32px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); color: var(--green); line-height: .92; letter-spacing: -.005em; margin-bottom: 18px; }
.hero-sub { font-size: 19px; max-width: 54ch; margin: 0; color: var(--charcoal); }

.search-panel { background: #fff; border: 1px solid var(--line); }
.hero .search-panel { border: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; background: none; border: 0;
  border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer;
  font: 600 18px/1 var(--f-head); letter-spacing: .03em; color: var(--grey-2);
}
.tab .ti { font-size: 19px; }
.tab:hover { color: var(--charcoal); }
.tab.is-active { color: var(--green); border-bottom-color: var(--green); }
.vs-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 22px; }
.vs-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vs-fields .field { margin: 0; }
.vs-fields select { min-height: 52px; font-weight: 500; }
.vs-submit { min-width: 170px; }
.oem-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 22px; }
.oem-form .field { margin: 0; }
.oem-form input { min-height: 52px; font-family: var(--f-mono); text-transform: uppercase; font-size: 17px; }
.oem-form .field-hint { grid-column: 1 / -1; margin: -6px 0 0; }

.vs-form { grid-template-areas: "fields submit" "service submit" "error error"; }
.vs-form .vs-fields { grid-area: fields; }
.vs-form .vs-service { grid-area: service; }
.vs-form .vs-submit { grid-area: submit; align-self: end; }
.vs-form [data-vs-error] { grid-area: error; margin: 0; }
.vs-service { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; }
.vs-service .field { margin: 0; }
.vs-service input, .vs-service select { min-height: 52px; }
.hero-slim { padding: 40px 0 48px; }

/* ---------- Service plan ---------- */
.plan-strip { background: var(--green-tint); border-bottom: 1px solid var(--line); }
.plan-strip-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.plan-strip-text { flex: 1 1 320px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.plan-strip-text .ti { font-size: 22px; color: var(--green); }
.plan-strip input { width: 210px; min-height: 44px; }
.plan-source { font-size: 14px; color: var(--grey-2); display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.plan-source .ti { color: var(--green); }
.plan-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.plan-group { margin-bottom: 36px; }
.plan-group > h2 { font-size: 30px; color: var(--green); margin-bottom: 10px; }
.plan-item { border: 1px solid var(--line); border-left: 4px solid var(--line); padding: 18px; margin-bottom: 14px; background: #fff; }
.plan-item.is-selected { border-left-color: var(--green); }
.plan-item-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.plan-icon { width: 44px; height: 44px; background: var(--bg); display: grid; place-items: center; font-size: 22px; color: var(--green); flex: none; }
.plan-item h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.plan-reason { margin: 0 0 4px; font-size: 15px; }
.plan-detail { margin: 0 0 4px; font-size: 14px; color: var(--grey-2); }
.plan-badge { font: 600 12px/1 var(--f-body); padding: 5px 8px; letter-spacing: .02em; }
.plan-due { background: var(--red-tint); color: #9B2C20; }
.plan-norecord { background: var(--yellow-tint); color: var(--yellow-text); }
.plan-soon { background: #ECE9E2; color: #34322E; }
.plan-include { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.plan-options { display: grid; gap: 8px; margin-top: 14px; padding-left: 58px; }
.plan-option { display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-strong); cursor: pointer; }
.plan-option:hover { border-color: var(--charcoal); }
.plan-option:has(input:checked) { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.plan-option-img { width: 64px; height: 64px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.plan-option-img img { width: 100%; height: 100%; object-fit: contain; }
.plan-option-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-role { font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--green); }
.plan-role-budget { color: var(--grey-2); }
.plan-option-name { font-size: 14px; }
.plan-option-why { font-size: 13px; color: var(--grey-2); }
.plan-option-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.plan-option-price strong { font: 700 22px/1 var(--f-head); }
.plan-more { font-size: 14px; }
.plan-noproduct { margin: 12px 0 0 58px; font-size: 14px; color: var(--grey-2); }
.plan-checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan-checks li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan-summary { top: calc(var(--header-h) + 20px); }
.plan-quick { display: flex; gap: 16px; font-size: 14px; }
.plan-share { display: flex; gap: 18px; font-size: 14px; justify-content: center; }
.plan-share a, .plan-share .link-btn { display: inline-flex; align-items: center; gap: 4px; }
.plan-disclaimer { border-top: 1px solid var(--line); padding-top: 12px; }
.car-box { border: 1px solid var(--line); background: var(--bg); padding: 14px 16px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.car-box .ti { font-size: 24px; color: var(--green); }
.fitting-box { margin-top: 14px; padding: 16px; border: 1px solid var(--line); background: #FAFAF8; }
.history-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.history-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.due-box { border-left: 4px solid var(--yellow); background: var(--yellow-tint); padding: 12px 16px; margin: 12px 0; }

/* ---------- Sections ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-sm { padding-top: 32px; padding-bottom: 56px; }
.section-tint { background: var(--bg); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: 36px; color: var(--green); }
.section-head p { margin: 0; }

.car-grid, .cat-grid {
  display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.car-card, .cat-tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.car-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.car-card {
  position: relative; background: #fff; padding: 22px 22px 20px; text-decoration: none; color: var(--charcoal);
  display: flex; flex-direction: column; gap: 4px; min-height: 140px; transition: background-color .15s;
}
.car-card:hover { background: #FFFCEB; color: var(--charcoal); text-decoration: none; }
.car-brand { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--grey); }
.car-name { font: 700 34px/1 var(--f-head); }
.car-meta { margin-top: auto; font-size: 14px; color: var(--grey-2); display: flex; flex-direction: column; }
.car-gen { font-family: var(--f-mono); font-size: 12px; color: var(--grey); }
.car-arrow { position: absolute; top: 22px; right: 20px; font-size: 22px; color: var(--green); transition: transform .15s var(--ease); }
.car-card:hover .car-arrow { transform: translateX(4px); }

.cat-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cat-tile {
  background: #fff; padding: 22px 18px; text-decoration: none; color: var(--charcoal);
  display: flex; flex-direction: column; gap: 4px; min-height: 132px; transition: background-color .15s;
}
.cat-tile:hover { background: var(--green-tint); text-decoration: none; color: var(--charcoal); }
.cat-icon { font-size: 30px; color: var(--green); margin-bottom: auto; }
.cat-name { font: 600 20px/1.1 var(--f-head); margin-top: 14px; }
.cat-count { font-size: 13px; color: var(--grey); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { border-top: 4px solid var(--yellow); padding-top: 18px; }
.step-no { font: 600 15px/1 var(--f-mono); color: var(--grey); }
.step h3 { font-size: 26px; color: var(--green); margin: 10px 0 8px; }
.step p { color: var(--grey-2); margin: 0; }

.help-band { background: var(--bg); border-top: 1px solid var(--line); padding: 40px 0; }
.help-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.help-band h2 { font-size: 30px; margin-bottom: 6px; }
.help-band p { margin: 0; color: var(--grey-2); }

/* ---------- Page bands ---------- */
.page-band { background: var(--bg); border-bottom: 1px solid var(--line); padding: 32px 0; }
.page-band h1 { font-size: clamp(32px, 4vw, 44px); color: var(--green); display: flex; align-items: center; gap: 12px; }
.page-band h1 .ti { font-size: .8em; }
.page-band-sub { margin: 8px 0 0; color: var(--grey-2); }
.page-title { font-size: 40px; color: var(--green); margin-bottom: 24px; }
.breadcrumb { font-size: 14px; color: var(--grey); margin-bottom: 20px; }
.breadcrumb a { color: var(--grey-2); }
.inline-search { display: flex; max-width: 680px; margin-top: 18px; }
.inline-search input { min-height: 50px; border-right: 0; }
.inline-search .btn { min-height: 50px; }

/* ---------- Vehicle band ---------- */
.vehicle-band { background: var(--yellow); }
.vehicle-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; flex-wrap: wrap; }
.vehicle-band h1 { font-size: clamp(30px, 4vw, 42px); color: var(--green); }
.vehicle-band .eyebrow { margin-bottom: 4px; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.vehicle-specs span {
  font: 500 13px/1 var(--f-mono); padding: 5px 8px; border: 1px solid rgba(34, 34, 34, .28); color: var(--charcoal);
}
.btn-on-yellow { background: #fff; }
.change-vehicle { padding: 0 0 24px; }
.change-vehicle .search-panel { border: 0; }

/* ---------- Vehicle page layout ---------- */
.vehicle-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 44px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.pt-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.pt-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.pt-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-left: -1px;
  border-left: 3px solid transparent; color: var(--charcoal); text-decoration: none; font-size: 15px;
}
.pt-nav a .ti { font-size: 18px; color: var(--grey); }
.pt-nav a em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--grey); }
.pt-nav a:hover { background: var(--bg); color: var(--charcoal); }
.pt-nav a.is-active { border-left-color: var(--green); color: var(--green); font-weight: 600; }
.pt-nav a.is-active .ti { color: var(--green); }
.pt-nav-help { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.pt-nav-help p { margin: 0 0 6px; color: var(--grey-2); }
.pt-nav-help a { display: inline-flex; align-items: center; gap: 6px; }

.pt-section { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.pt-section h2 { font-size: 30px; color: var(--green); margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.count { font: 500 14px/1 var(--f-body); color: var(--grey); letter-spacing: 0; }
.result-count { margin-bottom: 18px; }

/* ---------- Product row ---------- */
.prow-list { border-top: 1px solid var(--charcoal); }
.prow {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) 150px 260px; gap: 22px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.prow-img {
  width: 88px; height: 88px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; overflow: hidden; color: #B9B9B9; text-decoration: none;
}
.prow-img img { width: 100%; height: 100%; object-fit: contain; }
.prow-img .ti { font-size: 34px; }
.prow-img:hover { border-color: var(--charcoal); }
.prow-main { min-width: 0; }
.prow-brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.prow-brand strong { font: 700 19px/1.1 var(--f-head); letter-spacing: .02em; }
.prow-name { display: block; color: var(--charcoal); text-decoration: none; font-weight: 500; margin-bottom: 6px; }
.prow-name:hover { color: var(--green); text-decoration: underline; }
.prow-nums { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 13px/1.3 var(--f-mono); color: var(--charcoal); }
.prow-nums em { font: 600 10px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-right: 4px; font-style: normal; }
.prow-fits, .prow-note { font-size: 13px; color: var(--grey-2); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.prow-note .ti { color: var(--grey); }
.prow-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.prow-price del, .pd-price del { color: var(--grey); font-size: 14px; }
.prow-price strong { font: 700 28px/1 var(--f-head); }
.prow-unit { font-size: 12px; color: var(--grey); }
.stock { font-size: 13px; font-weight: 600; margin-top: 4px; }
.stock-in { color: var(--green); }
.stock-out { color: var(--red); }
.prow-buy form { display: flex; gap: 8px; justify-content: flex-end; }
.prow-buy > .btn { width: 100%; }
.prow.is-out .prow-img { opacity: .6; }

.badge { display: inline-block; font: 600 12px/1 var(--f-body); padding: 4px 7px; letter-spacing: .02em; }
.badge-genuine { background: var(--green-tint); color: var(--green); }
.badge-oem { background: var(--yellow-tint); color: var(--yellow-text); }
.badge-after { background: #EFEFED; color: var(--grey-2); }

.qty { display: inline-flex; border: 1px solid var(--line-strong); height: 44px; background: #fff; flex: none; }
.qty button { width: 36px; border: 0; background: #fff; cursor: pointer; font-size: 18px; color: var(--charcoal); }
.qty button:hover { background: var(--bg); }
.qty input { width: 44px; min-height: 0; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; padding: 0; font-weight: 600; }
.qty input:focus { box-shadow: none; background: var(--yellow-tint); }
.qty-sm { height: 34px; }
.qty-sm button { width: 30px; }
.qty-sm input { width: 38px; font-size: 14px; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-added { background: var(--charcoal); border-color: var(--charcoal); }

.more-btn {
  width: 100%; padding: 12px; margin-top: -1px; background: #fff; border: 1px solid var(--line);
  font: 600 17px/1 var(--f-head); letter-spacing: .03em; color: var(--green); cursor: pointer;
}
.more-btn:hover { background: var(--bg); }

/* ---------- Notices & empty states ---------- */
.notice {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 16px; margin-bottom: 24px;
  background: var(--yellow-tint); border-left: 4px solid var(--yellow); font-size: 15px;
}
.notice .ti { font-size: 20px; }
.notice a, .notice .link-btn { margin-left: auto; font-weight: 600; }
.notice-plain { background: var(--bg); border-left-color: var(--charcoal); }
.empty-state { text-align: center; padding: 56px 24px; border: 1px solid var(--line); }
.empty-state h2 { font-size: 30px; margin-bottom: 8px; }
.empty-state p { color: var(--grey-2); max-width: 46ch; margin: 0 auto 20px; }
.empty-state .btn-row { justify-content: center; }
.empty-icon { font-size: 44px; color: #BDBDBD; display: block; margin-bottom: 12px; }
.big-code { display: block; font: 700 96px/1 var(--f-head); color: var(--green); }
.search-tips .tips { padding-left: 18px; margin: 0 0 16px; }
.search-tips li { margin-bottom: 8px; }

/* ---------- OEM results ---------- */
.oem-group { margin-bottom: 48px; }
.oem-head h2 { font-size: 32px; color: var(--green); margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.fits-box { margin-top: 16px; border: 1px solid var(--line); }
.fits-box summary { cursor: pointer; padding: 12px 16px; font: 600 18px/1 var(--f-head); letter-spacing: .02em; background: var(--bg); }
.fits-box .fits-list { padding: 4px 16px 8px; }
.fits-list { list-style: none; margin: 0; padding: 0; }
.fits-list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fits-list li:last-child { border-bottom: 0; }
.fits-list strong { font-weight: 600; }
.fits-list span { color: var(--grey-2); font-size: 14px; }

/* ---------- Product details (modal + page) ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.pd-main-img { aspect-ratio: 1; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.pd-drawing-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; font-size: 12px; color: var(--grey); text-align: center; background: rgba(255, 255, 255, .9); }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-main-img img.is-generic, .prow-img img.is-generic { object-fit: cover; }
.pd-noimg { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #B5B5B5; font-size: 14px; background: var(--bg); width: 100%; height: 100%; justify-content: center; }
.pd-noimg .ti { font-size: 72px; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pd-thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.pd-thumbs button.is-active { border: 2px solid var(--green); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-title { font-size: 32px; margin-bottom: 10px; }
.pd-specs { display: grid; grid-template-columns: 130px 1fr; gap: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.pd-specs dt, .pd-specs dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.pd-specs dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); align-self: stretch; display: flex; align-items: center; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-price strong { font: 700 40px/1 var(--f-head); }
.pd-buy { display: flex; gap: 10px; margin-bottom: 18px; }
.pd-buy .qty { height: 52px; }
.pd-desc { color: var(--grey-2); border-top: 1px solid var(--line); padding-top: 14px; }
.pd-fits, .pd-others { margin-top: 32px; }
.others-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.others-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.others-list a { font-weight: 600; }
.others-price { margin-left: auto; font: 700 20px/1 var(--f-head); }
.pd-page .pd-title { font-size: 40px; }
.rich h2 { font-size: 26px; color: var(--green); margin: 28px 0 10px; }
.rich p, .rich li { color: #3A3A3A; }
.rich ul { padding-left: 20px; margin: 0 0 14px; }
.rich li { margin-bottom: 4px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .5); animation: fade .18s ease; }
.modal-box {
  position: relative; background: #fff; width: 100%; max-width: 960px; max-height: calc(100vh - 32px); overflow: auto;
  padding: 36px; box-shadow: 0 20px 60px rgba(0, 0, 0, .18); animation: fade-up .18s var(--ease);
}
.modal-close { position: absolute; top: 8px; right: 8px; font-size: 24px; z-index: 2; }
.modal-loading { min-height: 300px; display: grid; place-items: center; color: var(--grey); }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(20, 20, 20, .4); opacity: 0; transition: opacity .18s ease; }
.drawer-overlay.is-open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 75; width: min(430px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform .2s var(--ease), visibility 0s linear .2s; box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
}
.cart-drawer.is-open { transform: none; visibility: visible; transition: transform .2s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-body { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.drawer-empty { text-align: center; padding: 56px 24px; }
.drawer-empty p { color: var(--grey-2); }
.cart-lines { list-style: none; margin: 0; padding: 0 20px; flex: 1; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-img { width: 64px; height: 64px; border: 1px solid var(--line); display: grid; place-items: center; color: #BDBDBD; font-size: 26px; }
.cart-line-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-name { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; display: block; }
.cart-line-meta { font-size: 13px; color: var(--grey); margin: 2px 0 8px; }
.cart-line-actions { display: flex; align-items: center; gap: 14px; }
.cart-line-total { font: 700 19px/1 var(--f-head); white-space: nowrap; }
.cart-line-warn { color: var(--red); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.is-unavailable .cart-line-img, .is-unavailable .cart-row-img { opacity: .5; }
.link-remove { background: none; border: 0; padding: 0; color: var(--grey-2); text-decoration: underline; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.link-remove:hover { color: var(--red); }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: #fff; position: sticky; bottom: 0; }
.drawer-foot p { margin: 0 0 4px; }
.drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-subtotal strong { font: 700 26px/1 var(--f-head); }

/* ---------- Cart page / summary ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.cart-table { border-top: 1px solid var(--charcoal); }
.cart-row {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) 90px 150px 100px; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-row-img { width: 80px; height: 80px; border: 1px solid var(--line); display: grid; place-items: center; color: #BDBDBD; font-size: 30px; text-decoration: none; }
.cart-row-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-row-name { color: var(--charcoal); text-decoration: none; font-weight: 500; display: block; margin-bottom: 4px; }
.cart-row-price { color: var(--grey-2); }
.cart-row-qty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cart-row-total { text-align: right; font: 700 22px/1 var(--f-head); }
.summary-box { border: 1px solid var(--line); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 10px; }
.summary-box h2 { font-size: 26px; margin-bottom: 6px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum-line span:last-child { text-align: right; }
.sum-total { border-bottom: 0; align-items: baseline; }
.sum-total strong { font: 700 30px/1 var(--f-head); }
.summary-trust { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; color: var(--grey-2); }
.summary-trust li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.summary-trust .ti { color: var(--green); font-size: 18px; }
.sum-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-height: 320px; overflow: auto; }
.sum-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-item-name em { display: block; font-style: normal; color: var(--grey); font-size: 13px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; position: relative; }
.form-section { border: 1px solid var(--line); padding: 24px; margin: 0 0 20px; min-width: 0; }
.form-section legend {
  font: 700 22px/1 var(--f-head); color: var(--green); padding: 0 8px; margin-left: -8px;
  display: flex; align-items: center; gap: 10px;
}
.step-dot { width: 26px; height: 26px; background: var(--yellow); color: var(--charcoal); display: inline-grid; place-items: center; font: 700 15px/1 var(--f-body); flex: none; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-col { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong);
  cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice input { margin-top: 3px; }
.choice strong { display: block; font-weight: 600; }
.choice em { display: block; font-style: normal; font-size: 14px; color: var(--grey-2); }
.choice:hover { border-color: var(--charcoal); }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.choice-sm { padding: 7px 12px; }
.bkash-box { margin-top: 14px; padding: 18px; background: #FAFAF8; border: 1px solid var(--line); }
.bkash-steps { margin: 0 0 16px; padding-left: 20px; }
.bkash-steps li { margin-bottom: 4px; }

/* ---------- Success / track ---------- */
.success-box { text-align: center; border: 1px solid var(--line); padding: 44px 28px; }
.success-icon { width: 60px; height: 60px; background: var(--green); color: #fff; display: inline-grid; place-items: center; font-size: 34px; margin-bottom: 18px; }
.success-box h1 { font-size: 40px; color: var(--green); margin-bottom: 12px; }
.order-no { font-size: 19px; }
.order-no strong { background: var(--yellow); padding: 2px 8px; }
.success-summary { max-width: 380px; margin: 24px auto; text-align: left; border-top: 1px solid var(--line); }
.success-box .btn-row { justify-content: center; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 20px; }
.track-form .field { margin: 0; }
.track-result { border: 1px solid var(--line); padding: 24px; margin-top: 20px; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.track-head h2 { font-size: 30px; }
.timeline { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 14px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tl-dot { width: 30px; height: 30px; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; color: #fff; font-size: 17px; position: relative; z-index: 1; }
.timeline li.is-done .tl-dot { background: var(--green); border-color: var(--green); }
.timeline li.is-current .tl-label { color: var(--green); }
.tl-label { font: 600 17px/1 var(--f-head); letter-spacing: .02em; }
.tl-date { font-size: 12px; color: var(--grey); }
.status { display: inline-block; font: 600 13px/1 var(--f-body); padding: 6px 10px; white-space: nowrap; }
.status-pending { background: var(--yellow-tint); color: var(--yellow-text); }
.status-confirmed { background: var(--green-tint); color: var(--green); }
.status-shipped { background: #ECE9E2; color: #34322E; }
.status-delivered { background: var(--green); color: #fff; }
.status-cancelled { background: var(--red-tint); color: var(--red); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
  text-align: left; font: 600 12px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--grey-2);
  padding: 10px 12px; border-bottom: 1px solid var(--charcoal); white-space: nowrap;
}
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tfoot td { border-bottom: 0; padding-top: 8px; padding-bottom: 8px; }
.table tfoot tr.strong td { font: 700 20px/1 var(--f-head); border-top: 1px solid var(--charcoal); padding-top: 12px; }
.table th.ta-r, .table td.ta-r { text-align: right; }
.table-compact td { padding: 9px 10px; }
.table a { text-decoration: none; }
.table a:hover { text-decoration: underline; }
tr.is-muted td { opacity: .72; }
.admin-products td:nth-child(3) { min-width: 240px; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #FAFAF8; }

/* ---------- Content pages ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 68ch) 320px; gap: 56px; justify-content: space-between; align-items: start; }
.contact-card { border: 1px solid var(--line); padding: 24px; }
.contact-card h2 { font-size: 24px; margin-bottom: 12px; }
.contact-card ul { list-style: none; margin: 0 0 16px; padding: 0; }
.contact-card li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-card .ti { color: var(--green); font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #BDBDBD; font-size: 15px; }
.footer-trust { border-bottom: 1px solid #383838; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #fff; font: 600 19px/1.1 var(--f-head); letter-spacing: .02em; }
.trust-item .ti { color: var(--yellow); font-size: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.footer-col h3 { color: #fff; font-size: 18px; letter-spacing: .03em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: #E0E0E0; text-decoration: none; }
.footer-col a:hover { color: var(--yellow); text-decoration: underline; }
.footer-about p { margin-top: 16px; max-width: 32ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ti { color: var(--yellow); font-size: 18px; margin-top: 2px; }
.footer-bottom { border-top: 1px solid #383838; padding: 16px 0; font-size: 13px; color: #8F8F8F; }

/* ---------- Floating + mobile bar + toast ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 54px; height: 54px;
  background: var(--green); color: #fff; display: grid; place-items: center; font-size: 30px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: background-color .15s, bottom .2s var(--ease);
}
.wa-float:hover { background: var(--green-dark); color: #fff; }
.mobile-cart-bar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90;
  background: var(--charcoal); color: #fff; padding: 12px 18px; font-size: 15px; display: flex; align-items: center; gap: 10px;
  animation: fade-up .18s var(--ease); max-width: calc(100% - 32px);
}
.toast a { color: var(--yellow); font-weight: 600; }
.toast.is-error { background: var(--red); }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  background: var(--charcoal); color: #CFCFCF; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 20px 0; z-index: 60;
}
.admin-logo { padding: 0 20px; margin-bottom: 24px; }
.admin-logo .logo-text strong { color: #fff; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #CFCFCF; text-decoration: none;
  border-left: 3px solid transparent; font-size: 15px;
}
.admin-nav a .ti { font-size: 19px; }
.admin-nav a:hover { background: var(--charcoal-2); color: #fff; }
.admin-nav a.is-active { background: var(--charcoal-2); color: #fff; border-left-color: var(--yellow); }
.nav-badge { margin-left: auto; font: 700 12px/1 var(--f-body); font-style: normal; background: var(--yellow); color: var(--charcoal); padding: 3px 6px; }
.admin-side-foot { margin-top: auto; padding: 20px; border-top: 1px solid #383838; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.admin-side-foot a, .admin-side-foot .link-btn { color: #CFCFCF; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.admin-side-foot a:hover, .admin-side-foot .link-btn:hover { color: var(--yellow); }
.admin-me { display: flex; align-items: center; gap: 6px; color: #fff; }
.admin-main { min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 16px; padding: 16px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; flex-wrap: wrap; }
.admin-top h1 { font-size: 28px; color: var(--green); }
.admin-top-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.admin-menu-btn { display: none; }
.admin-content { padding: 24px 28px 72px; }
.panel { background: #fff; border: 1px solid var(--line); padding: 20px 22px; margin-bottom: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2, .panel-title { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.panel-title { margin: 0 0 14px; }
.panel-sub { font-size: 18px; margin: 18px 0 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--charcoal); }
a.stat:hover { border-color: var(--charcoal); text-decoration: none; color: var(--charcoal); }
.stat span { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--grey-2); }
.stat strong { font: 700 34px/1 var(--f-head); }
.stat em { font-style: normal; font-size: 13px; color: var(--grey); }
.stat-alert { border-left: 4px solid var(--yellow); }
.stat-warn { border-left: 4px solid var(--red); }
.admin-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.admin-cols-wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-bar input[type=search] { flex: 1 1 240px; width: auto; min-height: 40px; }
.filter-bar select { width: auto; min-height: 40px; flex: 0 1 auto; }
.filter-bar .btn { min-height: 40px; }
.todo-list, .plain-list { list-style: none; margin: 0; padding: 0; }
.todo-list li, .plain-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.todo-list strong { font: 700 22px/1 var(--f-head); margin-right: 6px; color: var(--charcoal); }
.todo-list a { text-decoration: none; color: var(--charcoal); }
.todo-list a:hover { color: var(--green); }
.tag { display: inline-block; font: 600 11px/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase; padding: 3px 6px; background: #EEEEEC; color: var(--grey-2); font-style: normal; vertical-align: middle; }
.tag-warn { background: var(--yellow-tint); color: var(--yellow-text); }
.tag-ok { background: var(--green-tint); color: var(--green); }
.pill { display: inline-block; border: 1px solid transparent; padding: 5px 10px; font: 600 13px/1 var(--f-body); cursor: pointer; white-space: nowrap; }
.pill-ok { background: var(--green-tint); color: var(--green); }
.pill-ok:hover { border-color: var(--green); }
.pill-bad { background: var(--red-tint); color: var(--red); }
.pill-bad:hover { border-color: var(--red); }
.pill-off { background: #EEEEEC; color: var(--grey-2); }
.pill-off:hover { border-color: var(--grey); }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.row-actions form { display: inline; margin: 0; }
.row-actions a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; text-decoration: none; }
.row-actions a .ti, .row-actions .icon-btn { font-size: 19px; }
td.row-actions { display: table-cell; white-space: nowrap; text-align: right; }
td.row-actions > * { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.cell-img { width: 60px; }
.cell-check { width: 32px; }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bulk-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bulk-controls select { width: auto; min-height: 38px; }
.bulk-controls .btn { min-height: 38px; }
.cell-img img, .cell-img .noimg { width: 48px; height: 48px; border: 1px solid var(--line); object-fit: contain; display: grid; place-items: center; color: #BDBDBD; font-size: 22px; background: #fff; }
.icon-cell { font-size: 22px; color: var(--green); width: 40px; }
.price-edit { display: flex; gap: 4px; align-items: center; }
.price-edit input { width: 80px; min-height: 34px; padding: 0 8px; font-size: 14px; }
.price-edit.is-saved input { border-color: var(--green); background: var(--green-tint); }
.price-edit.is-error input { border-color: var(--red); }
.status-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; background: #fff; }
.status-tabs a { padding: 12px 16px; color: var(--charcoal); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.status-tabs a em { font-style: normal; color: var(--grey); font-size: 13px; margin-left: 4px; }
.status-tabs a:hover { background: var(--bg); }
.status-tabs a.is-active { border-bottom-color: var(--green); color: var(--green); font-weight: 600; }
.pager { display: flex; gap: 4px; flex-wrap: wrap; margin: 16px 0; }
.pager a, .pager span { min-width: 36px; padding: 7px 10px; border: 1px solid var(--line); background: #fff; text-align: center; text-decoration: none; color: var(--charcoal); }
.pager .is-current { background: var(--green); border-color: var(--green); color: #fff; }
.pager-gap { border: 0 !important; background: none !important; }
.pay-pending_verification { color: var(--yellow-text); font-weight: 600; }
.pay-paid { color: var(--green); font-weight: 600; }
.pay-unpaid { color: var(--grey-2); }
.pay-refunded { color: var(--red); }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; margin: 0 0 12px; }
.kv dt { color: var(--grey); font-size: 14px; }
.kv dd { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.inline-form { display: flex; gap: 8px; }
.inline-form select { min-height: 44px; }
.status-flow { display: flex; flex-wrap: wrap; gap: 6px; }
.form-narrow { max-width: 620px; }
.logo-preview { max-height: 64px; width: auto; border: 1px solid var(--line); margin: 4px 0; background: #fff; }
.danger-zone { margin-top: 28px; padding: 16px; border: 1px dashed #E3B5AF; background: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sticky-save { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0; border-top: 1px solid var(--line); }
.icon-input { display: flex; align-items: center; gap: 10px; }
.icon-input .ti { font-size: 26px; color: var(--green); width: 30px; }
.vehicle-model { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.vehicle-model-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.vehicle-model-head h3 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.vehicle-brand.is-muted, .vehicle-model.is-muted { opacity: .65; }
.link-box { border: 1px solid var(--yellow); background: var(--yellow-tint); padding: 12px 16px; margin-bottom: 16px; }
.link-box .btn { margin-top: 10px; }

/* Product form */
.product-form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.pf-side .sticky-panel { position: sticky; top: 90px; }
.pf-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.fit-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 12px; }
.fit-tools input[type=search] { flex: 1 1 280px; width: auto; min-height: 40px; }
.fit-tree { max-height: 540px; overflow: auto; border: 1px solid var(--line); padding: 4px 14px 10px; }
.fit-brand h3 { font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin: 14px 0 4px; }
.fit-model { border-bottom: 1px solid var(--line); padding: 10px 0; }
.fit-model:last-child { border-bottom: 0; }
.fit-model-head strong { font: 700 18px/1 var(--f-head); }
.fit-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 6px 14px; padding: 8px 0 0 26px; }
.fit-variant { font-size: 14px; padding: 4px 0; }
.fit-variant em { display: block; font-style: normal; color: var(--grey); font-size: 12px; }
.fit-variant .tag { margin-left: 4px; }
.fit-variant.is-inactive { opacity: .6; }
.oem-matches { margin-top: 4px; border: 1px solid var(--yellow); background: var(--yellow-tint); padding: 12px 16px; }
.oem-matches p { margin: 0 0 8px; font-weight: 600; color: var(--yellow-text); }
.oem-matches ul { list-style: none; margin: 0; padding: 0; }
.oem-matches li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 6px 0; border-top: 1px solid rgba(92, 74, 0, .15); }
.oem-matches .btn { min-height: 32px; padding: 0 12px; font-size: 15px; }
.img-manage { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.img-item { border: 1px solid var(--line); padding: 6px; width: 124px; display: flex; flex-direction: column; gap: 4px; }
.img-item img { width: 110px; height: 110px; object-fit: contain; }
.check.danger { color: var(--red); }
.upload-box { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed #B8B8B8; background: #FAFAF8; cursor: pointer; font-size: 14px; color: var(--grey-2); }
.upload-box .ti { font-size: 30px; color: var(--green); }
.upload-box input { max-width: 230px; font-size: 13px; }
.upload-box:hover { border-color: var(--green); }
.img-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.img-preview img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); }

/* Admin auth */
.admin-auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); padding: 32px; border-top: 4px solid var(--yellow); }
.auth-card h1 { font-size: 30px; color: var(--green); margin: 22px 0 12px; }

/* Invoice */
.invoice-body { background: #fff; }
.invoice { max-width: 820px; margin: 24px auto; padding: 32px; }
.invoice-actions { text-align: right; margin-bottom: 16px; }
.invoice-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--charcoal); margin-bottom: 20px; }
.invoice-head h1 { font-size: 40px; color: var(--green); }
.invoice-head p { margin: 6px 0 0; }
.invoice-to { margin-bottom: 20px; }
.invoice-due { font-size: 20px; padding: 10px 14px; background: var(--yellow-tint); display: inline-block; }
.invoice-foot { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 12px; }
@media print {
  .no-print { display: none !important; }
  .invoice { margin: 0; padding: 0; max-width: none; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   Customer accounts + My garage
   ========================================================================== */
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 15px; }
.btn-sm .ti { font-size: 16px; }

/* Car bar under the header: which car the site is showing parts for */
.car-bar { background: var(--green-tint); border-bottom: 1px solid var(--line); font-size: 14px; position: relative; z-index: 35; }
.car-bar-inner { display: flex; align-items: center; gap: 10px; min-height: 42px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.car-bar-label { display: inline-flex; align-items: center; gap: 6px; color: var(--grey-2); }
.car-bar-label .ti { font-size: 18px; color: var(--green); }
.car-switch { position: relative; }
.car-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; background: #fff; border: 1px solid var(--line-strong); color: var(--charcoal);
}
.car-switch summary::-webkit-details-marker { display: none; }
.car-switch summary strong { font: 600 17px/1.1 var(--f-head); letter-spacing: .02em; color: var(--green); }
.car-switch[open] summary { border-color: var(--charcoal); }
.car-switch-menu {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12); z-index: 50; padding: 6px 0; animation: fade .15s ease;
}
.car-switch-menu form { margin: 0; }
.car-switch-menu button, .car-switch-menu a {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; background: none; border: 0;
  font: 500 15px/1.2 var(--f-body); color: var(--charcoal); text-align: left; cursor: pointer; text-decoration: none;
}
.car-switch-menu button:hover, .car-switch-menu a:hover { background: var(--bg); color: var(--charcoal); text-decoration: none; }
.car-switch-menu button.is-active { color: var(--green); font-weight: 600; box-shadow: inset 3px 0 0 var(--green); }
.car-switch-menu a { border-top: 1px solid var(--line); color: var(--green); }
.car-switch-menu .ti { font-size: 18px; color: var(--grey); }

/* Sign-in page + first-visit prompt */
.auth-box { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow); padding: 32px; }
.auth-box h1 { font-size: 34px; color: var(--green); margin-bottom: 8px; }
.auth-icon { width: 56px; height: 56px; background: var(--yellow); color: var(--charcoal); display: grid; place-items: center; font-size: 30px; margin-bottom: 18px; }
[data-google-signin] { min-height: 44px; margin: 22px 0 10px; display: flex; justify-content: center; }
.dev-login { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.dev-login .small { margin: 8px 0 0; }
.login-prompt { z-index: 90; }
.login-prompt-box { max-width: 460px; text-align: center; border-top: 4px solid var(--yellow); }
.login-prompt-box .auth-icon { margin: 0 auto 16px; }
.login-prompt-box h2 { font-size: 30px; color: var(--green); line-height: 1.05; margin-bottom: 4px; }
.lp-points { list-style: none; padding: 0; margin: 16px auto 0; display: grid; gap: 8px; text-align: left; max-width: 340px; font-size: 15px; }
.lp-points li { display: flex; gap: 8px; align-items: flex-start; }
.lp-points .ti { color: var(--green); font-size: 18px; margin-top: 2px; }
.lp-skip { margin-top: 12px; color: var(--grey-2); font-size: 14px; }

/* Home page for a signed-in customer */
.hero-garage-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: end; }
.hero-garage .hero-copy { margin-bottom: 0; }
.hero-garage-inner .hero-copy { margin-bottom: 0; }
.hero-garage h1 { font-size: clamp(36px, 5.4vw, 66px); }
.hero-garage .btn-row { margin-top: 24px; }
.hero-card { background: #fff; padding: 22px; }
.hero-card h2 { font-size: 22px; color: var(--green); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hero-card p { margin: 0 0 6px; }
.car-card-form { display: flex; margin: 0; }
button.car-card { width: 100%; text-align: left; font: inherit; cursor: pointer; border-top: 0; border-left: 0; }

/* Garage page */
.garage-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.garage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 40px; }
.garage-car { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--line-strong); padding: 20px; min-width: 0; }
.garage-car.is-active { border-top-color: var(--green); }
.garage-car-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; align-items: start; margin-bottom: 8px; }
.garage-car-head h2 { font-size: 26px; line-height: 1.05; }
.garage-car-head p { margin: 4px 0 0; }
.garage-car-head .tag { grid-column: 2; justify-self: start; }
.garage-car-icon { width: 44px; height: 44px; background: var(--bg); display: grid; place-items: center; font-size: 22px; color: var(--green); }
.garage-car.is-active .garage-car-icon { background: var(--yellow); color: var(--charcoal); }
.garage-car details summary { cursor: pointer; font-size: 14px; }
.garage-car .history-list { margin-top: 8px; font-size: 14px; }
.garage-add { background: var(--bg); border: 1px solid var(--line); padding: 24px; scroll-margin-top: 140px; }
.garage-form { min-width: 0; }
.garage-form .search-panel { border: 0; background: none; }
.hero .garage-form { background: #fff; padding: 22px; }
.vs-form.vs-form-garage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "fields" "error"; padding: 0; gap: 8px; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.garage-form .check { margin: 4px 0 0; }

/* Car-specific notices */
.notice-car { background: var(--green-tint); border-left-color: var(--green); }
.notice-car .ti { color: var(--green); }
.container-notice { padding: 0; margin: 0; border-left: 0; border-bottom: 1px solid var(--line); }
.container-notice .container { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.garage-warn { background: var(--yellow-tint); border-bottom: 1px solid var(--line); }
.garage-warn-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.garage-warn-inner > span { flex: 1 1 320px; font-size: 15px; }
.garage-warn-inner .ti { color: var(--yellow-text); }
.garage-warn-inner form { margin: 0; }
.fit-check { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-top: 12px; font-weight: 600; font-size: 15px; }
.fit-check .ti { font-size: 20px; flex: none; }
.fit-yes { background: var(--green-tint); color: var(--green); }
.fit-no { background: var(--red-tint); color: #9B2C20; }
.plan-odo-form { padding: 22px; display: grid; gap: 4px; max-width: 560px; }
.plan-odo-form p { margin: 0 0 8px; }
.plan-odo-inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.plan-odo-inline .field { margin: 0; }
.plan-odo-inline input { min-height: 44px; }

@media (max-width: 1080px) {
  .form-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-garage-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .car-bar-label { font-size: 13px; }
  .car-switch summary strong { font-size: 16px; }
  .car-bar-inner { position: relative; }
  .car-switch { position: static; }
  .car-switch-menu { min-width: 0; left: 16px; right: 16px; top: 100%; }
  .auth-box { padding: 24px 18px; }
  .garage-grid { grid-template-columns: minmax(0, 1fr); }
  .garage-add { padding: 18px 16px; margin: 0 -16px; border-left: 0; border-right: 0; }
  .hero .garage-form { margin: 0 -16px; padding: 18px 16px; }
  .hero .garage-form .search-panel { margin: 0; }
  .garage-warn-inner .btn, .garage-warn-inner form { width: 100%; }
  .hero-garage .btn-row .btn { width: 100%; }
  .plan-odo-inline .btn { width: 100%; }
  .container-notice .container { align-items: flex-start; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hide-md { display: none !important; }
  .vs-form { grid-template-columns: 1fr; grid-template-areas: "fields" "service" "submit" "error"; }
  .vs-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-submit { width: 100%; }
  .prow { grid-template-columns: 80px minmax(0, 1fr) 130px; }
  .prow-img { width: 80px; height: 80px; }
  .prow-buy { grid-column: 2 / -1; }
  .prow-buy form { justify-content: flex-start; }
  .prow-buy > .btn { width: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-row { grid-template-columns: 70px minmax(0, 1fr) 140px 90px; }
  .cart-row-price { display: none; }
  .product-form { grid-template-columns: minmax(0, 1fr); }
  .pf-side .sticky-panel { position: static; }
}

@media (max-width: 900px) {
  .vehicle-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .pt-nav {
    min-width: 0;
    position: sticky; top: var(--sticky-top, 108px); z-index: 20; background: #fff;
    margin: 0 -24px 20px; padding: 10px 24px; border-bottom: 1px solid var(--line);
  }
  .pt-nav ul { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .pt-nav ul::-webkit-scrollbar { display: none; }
  .pt-nav a { border: 1px solid var(--line); margin: 0; padding: 8px 12px; white-space: nowrap; font-size: 14px; }
  .pt-nav a.is-active { border-color: var(--green); background: var(--green-tint); }
  .pt-nav a em { margin-left: 4px; }
  .pt-nav-help { display: none; }
  .pt-section { scroll-margin-top: 170px; }
  .cart-layout, .checkout-layout, .page-layout, .plan-layout { grid-template-columns: minmax(0, 1fr); }
  .plan-summary { position: static; }
  .summary-box { position: static; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; transform: translateX(-100%); transition: transform .2s var(--ease); }
  .admin-side.is-open { transform: none; box-shadow: 10px 0 40px rgba(0, 0, 0, .25); }
  .admin-menu-btn { display: inline-flex; }
  .admin-cols, .admin-cols-wide { grid-template-columns: minmax(0, 1fr); }
  .fit-variants { grid-template-columns: minmax(0, 1fr); padding-left: 10px; }
  .admin-content { padding: 18px 16px 64px; }
  .admin-top { padding: 12px 16px; }
  .mobile-cart-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 10px; align-items: center;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cart-bar[hidden] { display: none !important; }
  .mobile-cart-summary { flex: 1; display: flex; align-items: center; gap: 8px; background: none; border: 0; text-align: left; font-size: 15px; cursor: pointer; padding: 0; }
  .mobile-cart-summary .ti { font-size: 22px; }
  .mobile-cart-summary strong { font: 700 20px/1 var(--f-head); }
  body.has-mobile-bar { padding-bottom: 68px; }
  body.has-mobile-bar .wa-float { bottom: 84px; }
}

@media (max-width: 760px) {
  :root { --header-h: 112px; }
  .container { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-btn-label { display: none; }
  .header-link span { display: none; }
  .header-link .ti { font-size: 24px; color: var(--green); }
  .hero { padding: 36px 0 28px; }
  .hero-copy { margin-bottom: 22px; }
  .hero-sub { font-size: 17px; }
  .hero .search-panel { margin: 0 -16px; }
  .vs-form, .oem-form { padding: 16px; }
  .oem-form { grid-template-columns: 1fr; }
  .tab { flex: 1; justify-content: center; padding: 13px 8px; font-size: 16px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .section-head h2 { font-size: 30px; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .car-card { padding: 16px; min-height: 120px; }
  .car-name { font-size: 26px; }
  .car-arrow { top: 16px; right: 14px; font-size: 18px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-band-inner { padding: 16px; }
  .vehicle-band-inner .btn { width: 100%; }
  .pt-nav { margin: 0 -16px 16px; padding: 10px 16px; }
  .prow { grid-template-columns: 72px minmax(0, 1fr); gap: 12px 14px; padding: 16px 0; align-items: start; }
  .prow-img { width: 72px; height: 72px; }
  .prow-price { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; text-align: left; }
  .prow-price strong { font-size: 24px; }
  .prow-price .stock { margin: 0; }
  .prow-buy { grid-column: 1 / -1; min-width: 0; }
  .prow-buy form .btn { flex: 1; min-width: 0; }
  .form-grid, .form-grid-4, .choice-row, .vs-service { grid-template-columns: 1fr; }
  .plan-item { padding: 14px; }
  .plan-item-head { grid-template-columns: 36px minmax(0, 1fr); }
  .plan-icon { width: 36px; height: 36px; font-size: 18px; }
  .plan-include { grid-column: 2; }
  .plan-options, .plan-noproduct { padding-left: 0; margin-left: 0; }
  .plan-option { grid-template-columns: auto 48px minmax(0, 1fr); }
  .plan-option-img { width: 48px; height: 48px; }
  .plan-option-price { grid-column: 3; align-items: flex-start; text-align: left; }
  .plan-strip input { width: 100%; }
  .plan-strip-inner .btn { width: 100%; }
  .form-section { padding: 18px 16px; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 14px; }
  .cart-row-img { width: 64px; height: 64px; }
  .cart-row-qty { grid-column: 2; flex-direction: row; align-items: center; gap: 14px; }
  .cart-row-total { grid-column: 2; text-align: left; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .track-form { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .tl-label { font-size: 14px; }
  .modal { padding: 0; place-items: end center; }
  .modal-box { max-height: 92vh; padding: 28px 16px 20px; }
  .pd-title { font-size: 26px; }
  .pd-buy .btn { flex: 1; }
  .page-title { font-size: 32px; }
  .success-box h1 { font-size: 30px; }
  .inline-search .btn span, .inline-search .btn { padding: 0 14px; }
  .help-band .btn { width: 100%; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   THEME 2026 — navy + red storefront (overrides the rules above)
   ========================================================================== */
:root { --header-h: 118px; }
body { color: var(--charcoal); }
h1, h2, h3, h4 { color: var(--head); }
::selection { background: var(--primary); color: #fff; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* Shapes: soft corners on controls and cards */
.btn, input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=month], input[type=date],
select, textarea, .qty, .tag, .badge, .status, .pill, .alert, .notice, .flash .container { border-radius: var(--radius-sm); }
.search-panel, .panel, .summary-box, .form-section, .choice, .empty-state, .modal-box, .contact-card, .track-result, .success-box,
.plan-item, .plan-option, .garage-car, .auth-box, .stat, .bkash-box, .fitting-box, .car-box, .due-box, .garage-add, .prow-img,
.cart-line-img, .cart-row-img, .pd-main-img, .pd-thumbs button, .fits-box, .plan-strip input { border-radius: var(--radius); }
.qty button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.btn { font-weight: 600; letter-spacing: .02em; }
.btn-primary { box-shadow: 0 1px 2px rgba(201, 162, 38, .25); }
.btn-secondary { border-color: var(--line-strong); color: var(--head); }
.btn-secondary:hover { border-color: var(--head); background: #fff; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 15px; }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--head); border-color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-whatsapp { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #1EB955; border-color: #1EB955; color: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 162, 38, .15); }
.eyebrow { color: var(--primary); letter-spacing: .1em; }
.h-sub, .section-head h2, .page-title, .pt-section h2, .oem-head h2, .rich h2, .plan-group > h2, .form-section legend, .success-box h1,
.admin-top h1, .auth-card h1, .invoice-head h1, .hero-card h2, .step h3, .page-band h1 { color: var(--head); }

/* Success / in-stock / genuine stay green */
.stock-in, .pay-paid { color: var(--ok); }
.badge-genuine, .tag-ok, .pill-ok, .status-confirmed, .fit-yes { background: var(--ok-tint); color: var(--ok); }
.status-delivered, .success-icon, .timeline li.is-done .tl-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline li.is-current .tl-label { color: var(--ok); }
.alert-success, .flash-success { background: var(--ok-tint); border-color: var(--ok); color: #0F5132; }
.summary-trust .ti, .contact-card .ti { color: var(--primary); }
.notice-car { background: #F7F2E4; border-left-color: #7F650F; }
.notice-car .ti { color: #7F650F; }
.tag-ok-dark { background: rgba(34, 197, 94, .16); color: #86EFAC; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; }

/* Logo */
.logo-mark { background: var(--primary); color: #fff; border-radius: 8px; }
.logo-invert .logo-text strong { color: #fff; }
.logo-invert .logo-text span { color: #A39E92; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); border-bottom: 0; position: sticky; top: 0; z-index: 40; }
.hdr-top-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.hdr-search { flex: 1; max-width: 620px; display: flex; align-items: center; position: relative; background: #fff; border-radius: 999px; padding: 4px; }
.hdr-search-icon { position: absolute; left: 16px; color: var(--grey); font-size: 19px; pointer-events: none; }
.hdr-search input { border: 0; min-height: 40px; padding-left: 42px; background: transparent; border-radius: 999px; font-size: 15px; }
.hdr-search input:focus { box-shadow: none; }
.hdr-search button {
  display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--primary); color: #fff;
  min-height: 40px; padding: 0 18px; font: 600 16px/1 var(--f-head); letter-spacing: .03em; cursor: pointer; flex: none;
}
.hdr-search button:hover { background: var(--primary-dark); }
.hdr-search button .ti { display: none; }
.hdr-call { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.hdr-call .ti { font-size: 22px; color: var(--primary); background: rgba(201, 162, 38, .14); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.hdr-call span { display: flex; flex-direction: column; line-height: 1.15; }
.hdr-call small { color: #A39E92; font-size: 12px; }
.hdr-call strong { font: 700 19px/1.1 var(--f-head); letter-spacing: .03em; }
.hdr-call:hover { color: #fff; text-decoration: none; }
.hdr-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
.hdr-icon {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 10px;
  color: #E7E3DA; text-decoration: none; font-size: 12px; min-width: 64px;
}
.hdr-icon .ti { font-size: 24px; color: #fff; }
.hdr-icon:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.hdr-icon-label { max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-badge {
  position: absolute; top: 2px; right: 10px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--primary);
  color: #fff; font: 700 11px/19px var(--f-body); font-style: normal; text-align: center;
}
.hdr-badge.bump { animation: bump .3s var(--ease); }
.hdr-nav { background: var(--primary); }
.hdr-nav-inner { display: flex; align-items: center; }
.hdr-nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.hdr-nav-links::-webkit-scrollbar { display: none; }
.hdr-nav-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; color: #fff; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase;
}
.hdr-nav-links a:hover { background: rgba(0, 0, 0, .14); color: #fff; text-decoration: none; }
.hdr-nav-links a .ti { font-size: 17px; }
.hdr-nav-sep { margin-left: auto; }

/* Car bar (which car the shop shows parts for) */
.car-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.car-bar-label { color: var(--grey-2); }
.car-bar-label .ti { color: var(--primary); }
.car-switch summary { border-radius: 999px; padding: 6px 14px; border-color: var(--line-strong); }
.car-switch summary strong { color: var(--head); }
.car-switch-menu { border-radius: var(--radius); overflow: hidden; }
.car-switch-menu button.is-active { color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
.car-switch-menu a { color: var(--primary); }
.car-bar-link { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; font-size: 14px; }

.flash { border-bottom: 0; padding: 10px 0; }
.flash-info { background: #F7F2E4; color: #5C4A0E; }
.flash-error { background: var(--red-tint); color: #7F1D1D; }

/* ---------- Home: hero ---------- */
.hero2 { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 20, 19, .96) 0%, rgba(20, 20, 19, .88) 38%, rgba(20, 20, 19, .45) 70%, rgba(20, 20, 19, .25) 100%);
}
.hero2-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero2-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(201, 162, 38, .16);
  border: 1px solid rgba(201, 162, 38, .45); color: #E2C46A; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin: 0 0 18px;
}
.hero2 h1 { color: #fff; font-size: clamp(40px, 5.4vw, 68px); line-height: .98; margin-bottom: 16px; letter-spacing: 0; }
.hero2-sub { font-size: 18px; color: #D4CEC2; max-width: 52ch; margin: 0; }
.hero2 .btn-row { margin-top: 26px; }
.hero2-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; color: #E7E3DA; font-size: 15px; }
.hero2-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero2-points .ti { color: #E2C46A; }
.hero2-due { margin: 22px 0 0; padding: 12px 16px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: #E7E3DA; }
.hero2-due .ti { color: #FBBF24; }
.hero2-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero2-card {
  position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .18s var(--ease);
}
.hero2-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero2-card span {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 20, 19, .86); color: #fff; font: 600 15px/1 var(--f-head); letter-spacing: .04em;
}
.hero2-card span .ti { font-size: 15px; color: #E2C46A; }
.hero2-card:hover { transform: translateY(-3px); text-decoration: none; }
.hero2-card-2, .hero2-card-4 { transform: translateY(24px); }
.hero2-card-2:hover, .hero2-card-4:hover { transform: translateY(21px); }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip-inner > div { display: flex; align-items: center; gap: 12px; padding: 20px 16px; border-right: 1px solid var(--line); }
.trust-strip-inner > div:last-child { border-right: 0; }
.trust-strip .ti { font-size: 26px; color: var(--primary); background: var(--primary-tint); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.trust-strip span { display: flex; flex-direction: column; font-size: 13px; color: var(--grey); line-height: 1.35; }
.trust-strip strong { color: var(--head); font-size: 15px; }

/* ---------- Home: my garage / car picker ---------- */
.garage-section { padding-top: 48px; padding-bottom: 48px; }
.garage-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 32px 30px; }
.garage-panel-head { max-width: 760px; margin-bottom: 18px; }
.garage-panel-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 6px; }
.garage-panel-head p { margin: 0; }
.car-picker { display: block; }
.cp-progress { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cp-progress li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--bg); color: var(--grey); font-size: 14px; font-weight: 600; }
.cp-progress li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); font-size: 12px; }
.cp-progress li.is-current { background: var(--primary-tint); color: var(--primary); }
.cp-progress li.is-current span { background: var(--primary); border-color: var(--primary); color: #fff; }
.cp-progress li.is-done { color: var(--ok); }
.cp-progress li.is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.cp-chosen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.cp-chip button { border: 0; background: rgba(255, 255, 255, .16); color: #fff; border-radius: 999px; padding: 3px 9px; cursor: pointer; font-size: 12px; }
.cp-chip button:hover { background: var(--primary); }
.cp-q { font: 700 20px/1.2 var(--f-head); color: var(--head); margin: 0 0 12px; letter-spacing: .01em; }
.cp-q .muted { font: 400 14px/1.4 var(--f-body); }
.cp-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.cp-brand {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; font: 600 16px/1 var(--f-head); letter-spacing: .03em; color: var(--head); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cp-brand:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(201, 162, 38, .12); transform: translateY(-2px); }
.cp-logo { width: 72px; height: 52px; display: grid; place-items: center; }
.cp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cp-logo .ti { font-size: 34px; color: var(--grey); }
.cp-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cp-options-sm { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.cp-options-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cp-opt {
  padding: 12px 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; text-align: left;
  font: 600 16px/1.2 var(--f-body); color: var(--head); transition: border-color .15s, background-color .15s;
}
.cp-options-sm .cp-opt { text-align: center; }
.cp-opt small { display: block; font-weight: 400; font-size: 13px; color: var(--grey); margin-top: 3px; }
.cp-opt:hover { border-color: var(--primary); background: var(--primary-tint); }
.cp-opt.is-selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.cp-opt.is-selected small { color: #3A3220; }
.cp-loading { color: var(--grey); font-size: 15px; padding: 10px 0; }
.cp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.cp-actions .form-error, .cp-help { margin: 0; }

.garage-strip { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; }
.garage-strip-head h2 { font-size: 32px; }
.garage-strip-cars { display: flex; gap: 12px; flex-wrap: wrap; }
.garage-chip-form { margin: 0; }
.garage-chip {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; cursor: pointer; text-align: left; font: inherit; color: var(--head); text-decoration: none; position: relative;
}
.garage-chip:hover { border-color: var(--primary); text-decoration: none; color: var(--head); }
.garage-chip.is-active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.garage-chip strong { display: block; font: 700 20px/1.05 var(--f-head); }
.garage-chip small { display: block; color: var(--grey); font-size: 13px; }
.garage-chip em { position: absolute; top: -9px; right: 12px; font-style: normal; font-size: 11px; font-weight: 700; background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 999px; display: inline-flex; gap: 3px; align-items: center; }
.garage-chip-logo { width: 48px; height: 40px; display: grid; place-items: center; flex: none; }
.garage-chip-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.garage-chip-logo .ti { font-size: 26px; color: var(--primary); }
.garage-chip-add { border-style: dashed; }

/* ---------- Shop by part ---------- */
.section-head { align-items: flex-end; }
.section-head .eyebrow { margin-bottom: 6px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 40px); }
.part-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.part-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: var(--head); transition: box-shadow .18s, transform .18s, border-color .18s;
}
.part-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; text-decoration: none; color: var(--head); }
.part-card-img { aspect-ratio: 4 / 3; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.part-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.part-card:hover .part-card-img img { transform: scale(1.04); }
.part-card-img .ti { font-size: 48px; color: var(--grey); }
.part-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.part-card-body strong { font: 700 21px/1.1 var(--f-head); letter-spacing: .01em; }
.part-card-body small { color: var(--grey); font-size: 13px; }
.part-card-btn { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font: 700 15px/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.part-card.is-empty .part-card-img img { filter: grayscale(.4); opacity: .85; }

/* Side menu + content (home with a car, car page, part page) */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-layout-page { padding-top: 28px; padding-bottom: 64px; }
.pt-nav { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.pt-nav-title { font: 700 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin: 6px 8px 10px; }
.pt-nav ul { border-left: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-nav a { border-left: 0; margin-left: 0; border-radius: 10px; padding: 10px 12px; font-weight: 500; }
.pt-nav a:hover { background: var(--bg); }
.pt-nav a.is-active { background: var(--primary); color: #fff; font-weight: 600; }
.pt-nav a.is-active .ti, .pt-nav a.is-active em { color: #fff; }
.pt-nav a em { background: var(--bg); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.pt-nav a.is-active em { background: rgba(255, 255, 255, .22); }
.pt-nav-help { margin: 12px 8px 4px; padding-top: 12px; }
.pt-nav-help a { color: #128C4A; font-weight: 600; text-decoration: none; padding: 0; }
.pt-section h2 { font-size: 28px; align-items: center; }
.pt-viewall { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font: 600 14px/1 var(--f-body); text-decoration: none; }
.part-head { display: flex; align-items: center; gap: 20px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 20px; }
.part-head img { width: 160px; height: 120px; object-fit: cover; border-radius: 10px; flex: none; }
.part-head h2 { font-size: 32px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.part-head p.muted { margin: 6px 0 0; }
.more-btn { display: block; text-align: center; border-radius: 0 0 var(--radius) var(--radius); text-decoration: none; color: var(--primary); }
.prow-list { border-top: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.prow:last-child { border-bottom: 0; }
.prow-brand strong { color: var(--head); }
.badge { border-radius: 999px; padding: 4px 9px; }

/* Promo banners */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-grid-1 { grid-template-columns: 1fr; }
.promo { position: relative; display: flex; min-height: 300px; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s var(--ease); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 20, 19, .94) 0%, rgba(20, 20, 19, .75) 55%, rgba(20, 20, 19, .35) 100%); }
.promo:hover img { transform: scale(1.04); }
.promo:hover { color: #fff; text-decoration: none; }
.promo-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px; max-width: 460px; }
.promo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #E2C46A; }
.promo strong { font: 700 32px/1.05 var(--f-head); color: #fff; }
.promo-body > span:not(.promo-tag):not(.btn) { color: #D4CEC2; font-size: 15px; }
.promo .btn { margin-top: 8px; }

/* Popular cars */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.model-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--head); }
.model-card:hover { border-color: var(--primary); text-decoration: none; color: var(--head); }
.model-logo { width: 46px; height: 36px; display: grid; place-items: center; flex: none; }
.model-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.model-text { display: flex; flex-direction: column; min-width: 0; }
.model-text small { font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.model-text strong { font: 700 22px/1.05 var(--f-head); }
.model-text em { font-style: normal; font-size: 13px; color: var(--grey); }
.model-arrow { margin-left: auto; color: var(--grey); font-size: 20px; }

/* Steps + help */
.step { border-top: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 17px/1 var(--f-body); }
.help-band { background: var(--ink); border-top: 0; color: #fff; }
.help-band h2 { color: #fff; }
.help-band p { color: #D4CEC2; }

/* Bands */
.hero { background: var(--ink); }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #E2C46A; }
.hero-sub { color: #D4CEC2; }
.hero .alert { margin-bottom: 16px; }
.page-band-dark, .vehicle-band { background: var(--ink); color: #fff; border-bottom: 0; }
.page-band-dark h1, .vehicle-band h1 { color: #fff; }
.page-band-dark .page-band-sub, .vehicle-band-sub { color: #D4CEC2; margin: 8px 0 0; }
.page-band-dark .eyebrow a, .vehicle-band .eyebrow a { color: #E2C46A; }
.vehicle-band .eyebrow { color: #E2C46A; }
.vehicle-specs span { border-color: rgba(255, 255, 255, .28); color: #E7E3DA; border-radius: 999px; padding: 5px 10px; }
.vehicle-band-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vehicle-band-actions form { margin: 0; }
.plan-strip { background: #F7F2E4; }
.plan-strip-text .ti { color: #7F650F; }
.garage-warn { background: var(--yellow-tint); }
.variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.variant-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.variant-card-head strong { display: block; font: 700 24px/1.1 var(--f-head); color: var(--head); }
.variant-card .vehicle-specs span { color: var(--grey-2); border-color: var(--line-strong); }
.variant-card .field { margin: 0; }

/* Garage page */
.garage-car-icon img { max-width: 34px; max-height: 28px; object-fit: contain; }
.garage-car.is-active { border-top-color: var(--primary); }
.garage-car.is-active .garage-car-icon { background: var(--primary-tint); color: var(--primary); }
.garage-car-icon { border-radius: 10px; }
.garage-add { background: #fff; border-radius: 16px; }
.account-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; margin-bottom: 24px; background: #F7F2E4; border: 1px solid #E8DDB8; border-radius: 14px; }
.account-cta .btn-row { margin: 0; }

/* Sign in / sign up */
.page-auth main { background: var(--bg); }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 380px); gap: 32px; justify-content: center; align-items: start; padding: 48px 24px 72px; }
.auth-wrap-single { grid-template-columns: minmax(0, 480px); }
.auth-box { border-top: 0; border-radius: 16px; box-shadow: var(--shadow); max-width: none; margin: 0; }
.auth-box h1 { color: var(--head); }
.auth-box .stack { gap: 4px; }
.auth-box .check { margin: 6px 0 12px; }
.auth-side { padding: 28px; background: var(--ink); color: #D4CEC2; border-radius: 16px; }
.auth-side h2 { color: #fff; font-size: 26px; margin-bottom: 14px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.auth-points .ti { font-size: 22px; color: #E2C46A; flex: none; margin-top: 1px; }
.auth-points strong { color: #fff; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--grey); font-size: 13px; margin: 18px 0 6px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { margin: 16px 0 0; text-align: center; font-size: 15px; }
.field-link { float: right; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }
.field-label { display: block; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--grey); width: 38px; height: 38px; cursor: pointer; font-size: 20px; border-radius: 8px; }
.pw-toggle:hover { color: var(--head); background: var(--bg); }
.dev-login { border-top-style: dashed; }

/* "Save your car" card (after a visitor added a car) */
.save-card {
  position: fixed; left: 20px; bottom: 20px; z-index: 55; width: min(360px, calc(100vw - 40px)); background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 18px 18px 16px; animation: fade-up .2s var(--ease);
}
.save-card p { margin: 0 0 6px; font-size: 14px; color: var(--grey-2); }
.save-card .save-card-title { font: 700 19px/1.2 var(--f-head); color: var(--head); display: flex; align-items: center; gap: 8px; }
.save-card-title .ti { color: var(--primary); font-size: 22px; }
.save-card .btn-row { margin-top: 10px; }
.save-card-close { position: absolute; top: 6px; right: 6px; font-size: 18px; color: var(--grey); }

/* Footer */
.site-footer { background: var(--ink); color: #A39E92; }
.footer-trust { border-bottom-color: rgba(255, 255, 255, .08); }
.trust-row { grid-template-columns: repeat(4, 1fr); }
.trust-item .ti { color: var(--primary); }
.footer-col a:hover { color: #fff; }
.footer-contact .ti { color: var(--primary); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #A39E92; }
.wa-float { background: var(--wa); border-radius: 50%; }
.wa-float:hover { background: #1EB955; }
.toast { border-radius: var(--radius); }
.toast a { color: #E2C46A; }
.empty-state { background: #fff; }
.empty-img { margin: 0 auto 14px; border-radius: 12px; width: 200px; height: 150px; object-fit: cover; }
.cart-count { background: var(--primary); color: #fff; }
.step-dot { background: var(--primary); color: #fff; border-radius: 50%; }
.order-no strong { background: var(--primary-tint); color: var(--primary-dark); border-radius: 6px; }
.nav-badge { background: var(--primary); color: #fff; border-radius: 999px; }
.admin-nav a.is-active { border-left-color: var(--primary); }
.admin-side { background: var(--ink); }
.admin-side-foot a:hover, .admin-side-foot .link-btn:hover { color: #fff; }
.auth-card { border-top-color: var(--primary); border-radius: 14px; }
.tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---------- Responsive (theme) ---------- */
@media (max-width: 1180px) {
  .hdr-call { display: none; }
}
@media (max-width: 1080px) {
  .hero2-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; padding-bottom: 56px; }
  .hero2-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .hero2-card-2, .hero2-card-4 { transform: none; }
  .hero2-card-2:hover, .hero2-card-4:hover { transform: translateY(-3px); }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-strip-inner > div:nth-child(2) { border-right: 0; }
  .trust-strip-inner > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .garage-strip { grid-template-columns: 1fr; gap: 12px; }
  .auth-wrap { grid-template-columns: minmax(0, 520px); }
  .auth-side { order: 2; }
}
@media (max-width: 900px) {
  :root { --header-h: 0px; }
  .site-header { position: relative; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pt-nav { position: sticky; top: 0; z-index: 20; border-radius: 0; border-width: 0 0 1px; margin: 0 -24px 18px; padding: 10px 24px; }
  .pt-nav-title, .pt-nav-help { display: none; }
  .pt-nav ul { flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .pt-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; white-space: nowrap; font-size: 14px; }
  .pt-nav a.is-active { border-color: var(--primary); background: var(--primary); }
  .pt-section { scroll-margin-top: 80px; }
  .promo-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hdr-top-inner { flex-wrap: wrap; gap: 10px 8px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
  .hdr-search { order: 3; flex-basis: 100%; max-width: none; }
  .hdr-search button span { display: none; }
  .hdr-search button { padding: 0 14px; }
  .hdr-search button .ti { display: inline-block; font-size: 18px; }
  .hdr-icon { min-width: 0; padding: 6px 8px; }
  .hdr-icon-label { display: none; }
  .hdr-badge { right: 0; }
  .hdr-nav-links a { padding: 11px 12px; font-size: 15px; }
  .hdr-nav-sep { margin-left: 0; }
  .car-bar-link { display: none; }
  .hero2-inner { padding-top: 32px; padding-bottom: 36px; }
  .hero2::before { background: linear-gradient(180deg, rgba(20, 20, 19, .93) 0%, rgba(20, 20, 19, .86) 60%, rgba(20, 20, 19, .7) 100%); }
  .hero2 h1 { font-size: 40px; }
  .hero2-sub { font-size: 16px; }
  .hero2 .btn-row .btn { flex: 1 1 100%; }
  .hero2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero2-card img { aspect-ratio: 16 / 10; }
  .hero2-card span { font-size: 13px; padding: 5px 10px; left: 8px; bottom: 8px; }
  .trust-strip-inner > div { padding: 14px 8px; gap: 8px; }
  .trust-strip .ti { width: 38px; height: 38px; font-size: 21px; }
  .trust-strip strong { font-size: 14px; }
  .trust-strip span { font-size: 12px; }
  .garage-section { padding-top: 28px; padding-bottom: 28px; }
  .garage-panel { padding: 20px 16px; border-radius: 14px; margin: 0 -4px; }
  .cp-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cp-brand { padding: 12px 6px 10px; font-size: 14px; }
  .cp-logo { width: 56px; height: 40px; }
  .cp-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-options-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cp-options-wide { grid-template-columns: 1fr; }
  .cp-actions .btn { width: 100%; }
  .cp-progress li { padding: 5px 10px 5px 5px; font-size: 13px; }
  .garage-chip { min-width: 0; width: 100%; }
  .garage-strip-cars, .garage-chip-form { width: 100%; }
  .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .part-card-body { padding: 10px 12px 12px; }
  .part-card-body strong { font-size: 18px; }
  .part-card-btn { font-size: 13px; }
  .pt-nav { margin: 0 -16px 16px; padding: 10px 16px; }
  .part-head { flex-direction: column; align-items: flex-start; padding: 14px; }
  .part-head img { width: 100%; height: 150px; }
  .prow-list { padding: 0 12px; }
  .promo { min-height: 260px; }
  .promo-body { padding: 22px; }
  .promo strong { font-size: 26px; }
  .model-grid { grid-template-columns: 1fr; }
  .steps { gap: 12px; }
  .vehicle-band-actions, .vehicle-band-actions form, .vehicle-band-actions .btn { width: 100%; }
  .auth-wrap { padding: 24px 12px 48px; }
  .auth-box { padding: 22px 18px; }
  .trust-row { grid-template-columns: 1fr; }
  .save-card { left: 10px; bottom: 76px; width: calc(100vw - 20px); }
  .field-link { float: none; display: block; margin-top: 4px; }
}

/* ==========================================================================
   PHONE 2026 — app-style shop on small screens (owner, 2 Dec 2026)
   Bottom app bar, "Find a part" sheet, compact rows with Add → − n +, sticky buy/checkout bars.
   Rules outside the media query are shared helpers (hidden on large screens where needed).
   ========================================================================== */
.empty-icon > svg { margin: 0 auto; }
.modal-box:focus, .sheet-panel:focus, .cart-drawer:focus { outline: none; }
.lbl-short, .prow-incart, .app-bar, .plan-strip-link, .co-mini, .sticky-cta, .pd-buy-price { display: none; }

/* "Fits <car>" + "Best value" in product rows (all screens) */
.prow-fit { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ok); margin: -2px 0 6px; }
.prow-fit .ti { font-size: 15px; }
.best-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #FFF7E6;
  border: 1px solid #FCD34D; color: #92400E; font: 700 11px/1 var(--f-body); letter-spacing: .02em; white-space: nowrap;
}
.best-tag .ti { font-size: 12px; }

/* Trust lines next to the buy button / at checkout (all screens) */
.pd-trust { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--grey-2); }
.pd-trust li { display: flex; align-items: center; gap: 8px; }
.pd-trust .ti { color: var(--ok); font-size: 18px; }
.co-assure { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: -14px 0 18px; font-size: 14px; color: var(--grey-2); }
.co-assure li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.co-assure .ti { color: var(--ok); font-size: 16px; }

/* Bottom sheet ("Find a part") */
.sheet { position: fixed; inset: 0; z-index: 85; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 19, .5); opacity: 0; transition: opacity .2s ease; }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; overscroll-behavior: contain; outline: none;
  background: #fff; border-radius: 18px 18px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .22s var(--ease); box-shadow: 0 -12px 40px rgba(20, 20, 19, .2);
}
.sheet.is-open .sheet-panel { transform: none; }
.sheet-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 2px auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sheet-head h2 { font-size: 26px; }
.sheet-head .icon-btn { font-size: 22px; color: var(--grey-2); width: 40px; height: 40px; border-radius: 50%; background: var(--bg); }
.sheet-car { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--ok-tint); color: #14532D; font-size: 14px; }
.sheet-car .ti { color: var(--ok); font-size: 18px; }
.sheet-car a { margin-left: auto; font-weight: 600; color: var(--ok); }
.sheet-search { position: relative; margin-bottom: 6px; }
.sheet-search > .ti { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--grey); font-size: 18px; }
.sheet-search input { min-height: 46px; padding-left: 42px; border-radius: 999px; background: var(--bg); border-color: transparent; }
.sheet-parts { list-style: none; margin: 0; padding: 0; }
.sheet-parts a { display: flex; align-items: center; gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--head); text-decoration: none; min-height: 60px; }
.sheet-parts a:active { background: var(--bg); }
.sheet-part-img { width: 60px; height: 45px; border-radius: 8px; overflow: hidden; flex: none; background: var(--bg); display: grid; place-items: center; color: var(--grey); font-size: 22px; }
.sheet-part-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-part-name { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.sheet-part-name strong { font: 700 19px/1.1 var(--f-head); letter-spacing: .01em; }
.sheet-part-name small { color: var(--grey); font-size: 12px; }
.sheet-parts a > .ti { margin-left: auto; color: var(--grey); font-size: 18px; }
.sheet-help { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 13px; border-radius: 12px; background: #E7F8EE; color: #128C4A; font-weight: 600; text-decoration: none; }
.sheet-help .ti { font-size: 20px; }

@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } }

@media (hover: none) {
  .part-card:hover, .hero2-card:hover, .cp-brand:hover { transform: none; }
  .part-card:hover .part-card-img img, .promo:hover img { transform: none; }
}

@media (max-width: 760px) {
  /* ---- Header: one slim row (logo · search · account). Garage + cart live in the app bar ---- */
  .hdr-top-inner { flex-wrap: nowrap; gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .hdr-search { order: 0; flex: 1 1 auto; min-width: 0; padding: 3px; }
  .hdr-search button { display: none; }
  .hdr-search input { min-height: 38px; padding-left: 38px; padding-right: 10px; font-size: 16px; }
  .hdr-search-icon { left: 13px; }
  .hdr-icons { margin-left: 0; }
  .hdr-icons .hdr-icon:first-child, .hdr-icons .hdr-cart { display: none; }
  .hdr-icon { padding: 6px 4px; }
  .hdr-nav { display: none; }
  .logo-mark { width: 32px; height: 32px; font-size: 22px; }
  .logo-text strong { font-size: 21px; }
  .logo-text span { font-size: 9px; letter-spacing: .12em; }
  .car-bar-inner { min-height: 40px; flex-wrap: nowrap; gap: 8px; }
  .car-bar-label { white-space: nowrap; }
  .car-switch summary { padding: 5px 12px; }

  /* ---- Bottom app bar ---- */
  .app-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 16px rgba(20, 20, 19, .06);
  }
  .app-bar-item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 58px;
    padding: 0; background: none; border: 0; color: var(--grey-2); font: 600 11px/1 var(--f-body); letter-spacing: .02em;
    text-decoration: none; cursor: pointer;
  }
  .app-bar-item .ti { font-size: 24px; }
  .app-bar-item:hover { color: var(--head); text-decoration: none; }
  .app-bar-item.is-active { color: var(--primary); }
  .app-bar-item.is-active::before { content: ""; position: absolute; top: 0; left: 26%; right: 26%; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
  .app-bar-wa, .app-bar-wa:hover { color: #128C4A; }
  .app-bar-badge {
    position: absolute; top: 5px; left: calc(50% + 5px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--primary); color: #fff; font: 700 11px/18px var(--f-body); font-style: normal; text-align: center;
    box-shadow: 0 0 0 2px #fff;
  }
  .app-bar-badge.bump { animation: bump .3s var(--ease); }
  .app-bar-dot { position: absolute; top: 8px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px #fff; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }

  /* Checkout strip above the app bar (when the cart has something) */
  .mobile-cart-bar {
    bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 59; gap: 10px; padding: 8px 12px 8px 14px;
    background: var(--ink); border-top: 0; box-shadow: 0 -6px 18px rgba(20, 20, 19, .18);
  }
  .mobile-cart-summary { color: #fff; gap: 10px; }
  .mobile-cart-summary .ti { color: #fff; font-size: 22px; }
  .mobile-cart-summary > span:last-child { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
  .mcb-count { font-size: 12px; color: #A39E92; }
  .mobile-cart-summary strong { font: 700 21px/1 var(--f-head); color: #fff; }
  .mobile-cart-bar .btn { min-height: 42px; padding: 0 16px; font-size: 17px; border-radius: 999px; }
  .mobile-cart-bar .btn .ti { font-size: 17px; }
  body.has-mobile-bar { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
  body.has-mobile-bar .wa-float { bottom: auto; }

  .toast {
    left: 12px; right: 12px; transform: none; max-width: none; bottom: calc(70px + env(safe-area-inset-bottom));
    padding: 12px 14px; font-size: 15px; box-shadow: 0 10px 30px rgba(20, 20, 19, .3); background: var(--ink);
  }
  .toast .ti { color: #E2C46A; font-size: 20px; }
  .toast a { margin-left: auto; color: #E2C46A; white-space: nowrap; }
  body.has-mobile-bar .toast { bottom: calc(128px + env(safe-area-inset-bottom)); }
  .save-card { bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.has-mobile-bar .save-card { bottom: calc(128px + env(safe-area-inset-bottom)); }

  /* ---- Home: short hero, then straight to "Which car do you drive?" ---- */
  .page-home main { display: flex; flex-direction: column; }
  .page-home main > * { order: 10; }
  .page-home main > .hero2 { order: 1; }
  .page-home main > .garage-section { order: 2; }
  .page-home main > .trust-strip { order: 3; }
  .page-home main > #shop-by-part { order: 4; }
  .hero2-cards, .hero2-badge, .hero2-ctas-guest { display: none; }
  .hero2-inner { padding-top: 20px; padding-bottom: 46px; gap: 0; }
  .hero2 h1 { font-size: 31px; margin-bottom: 8px; }
  .hero2-sub { font-size: 15px; }
  .hero2-points { margin-top: 12px; gap: 4px 12px; font-size: 13px; }
  .hero2 .btn-row { margin-top: 16px; }
  .hero2-due { font-size: 14px; }
  .garage-section { padding-top: 0; padding-bottom: 18px; }
  .garage-panel { position: relative; z-index: 2; margin: -30px -4px 0; padding: 18px 14px 16px; box-shadow: 0 12px 32px rgba(20, 20, 19, .14); }
  .garage-panel-head { margin-bottom: 12px; }
  .garage-panel-head .eyebrow { margin-bottom: 4px; }
  .garage-panel-head h2 { font-size: 24px; }
  .garage-panel-head p.muted { font-size: 14px; }
  .cp-progress { margin-bottom: 12px; }
  .cp-brand { min-height: 96px; }
  .cp-opt { min-height: 48px; }
  .cp-actions { margin-top: 14px; padding-top: 14px; }
  .garage-strip { padding-top: 16px; }
  .trust-strip { border-top: 1px solid var(--line); }
  .section { padding-top: 30px; padding-bottom: 30px; }
  .section-head { margin-bottom: 14px; }
  .section-head h2 { font-size: 26px; }
  .section-head p.muted { font-size: 14px; margin: 0; }
  .part-card-btn { display: none; }
  .part-card-body strong { font-size: 18px; }
  .promo { min-height: 210px; }
  .promo strong { font-size: 24px; }
  .model-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .model-card { padding: 10px; gap: 8px; }
  .model-logo { width: 30px; height: 24px; }
  .model-text small, .model-arrow { display: none; }
  .model-text strong { font-size: 18px; }
  .model-text em { font-size: 12px; }
  .step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; }
  .step .step-no { grid-row: span 2; }
  .step h3 { font-size: 20px; margin: 0; }
  .step p { font-size: 14px; }
  .help-band { padding: 26px 0; }
  .help-band h2 { font-size: 24px; }

  /* Footer: shorter on phones */
  .trust-row { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .trust-item { font-size: 13px; gap: 8px; }
  .footer-trust { padding: 16px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 26px; padding-bottom: 22px; }
  .footer-about, .footer-grid .footer-col:last-child { grid-column: 1 / -1; }

  /* ---- Car page ---- */
  .vehicle-band-inner { padding: 14px 16px 16px; gap: 12px; }
  .vehicle-band .eyebrow { margin-bottom: 2px; }
  .vehicle-band h1 { font-size: 26px; }
  .vehicle-specs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 8px; }
  .vehicle-specs::-webkit-scrollbar { display: none; }
  .vehicle-specs span { white-space: nowrap; font-size: 12px; padding: 4px 9px; }
  .vehicle-band-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .vehicle-band-actions form { width: 100%; }
  .vehicle-band-actions .btn { width: 100%; min-height: 42px; padding: 0 14px; font-size: 16px; }
  .vehicle-band-actions .tag { align-self: center; justify-self: start; }
  .plan-strip-link {
    display: flex; align-items: center; gap: 8px; padding-top: 11px; padding-bottom: 11px; font-size: 14px; color: var(--head); text-decoration: none;
  }
  .plan-strip-link:hover { color: var(--head); text-decoration: none; }
  .plan-strip-link > .ti:first-child { color: #7F650F; font-size: 20px; }
  .plan-strip-link > .ti:last-child { margin-left: auto; color: var(--grey); }
  .plan-strip-link ~ .plan-strip-inner { display: none; }
  .plan-strip-inner { padding-top: 10px; padding-bottom: 10px; }
  .shop-layout-page { padding-top: 0; padding-bottom: 28px; }
  .pt-nav { box-shadow: 0 4px 12px rgba(20, 20, 19, .05); }
  .pt-section { margin-bottom: 22px; }
  .pt-section h2 { font-size: 24px; margin-bottom: 8px; }
  .part-head img { height: 120px; }

  /* ---- Product rows: photo | text, then price + Add on one line ---- */
  .prow {
    grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img main main" "img price buy";
    gap: 6px 12px; padding: 14px 0; align-items: center;
  }
  .prow-img { grid-area: img; width: 76px; height: 76px; align-self: start; }
  .prow-main { grid-area: main; }
  .prow-brand { gap: 6px; margin-bottom: 2px; }
  .prow-brand strong { font-size: 17px; }
  .badge { font-size: 11px; padding: 3px 7px; }
  .prow-name {
    font-size: 14px; line-height: 1.3; margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .prow-fit { font-size: 12px; margin: 0 0 4px; }
  .prow-nums { font-size: 11px; gap: 2px 10px; }
  .prow-nums em { font-size: 9px; }
  .prow-fits, .prow-note { font-size: 12px; margin-top: 3px; }
  .prow-price { grid-area: price; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 6px; text-align: left; align-self: end; }
  .prow-price strong { font-size: 22px; }
  .prow-unit { font-size: 11px; }
  .prow-price .stock { flex-basis: 100%; margin: 1px 0 0; font-size: 12px; }
  .prow-buy { grid-area: buy; align-self: end; min-width: 0; }
  .prow-buy form { justify-content: flex-end; }
  .prow-buy form .qty { display: none; }
  .prow-buy form .btn { flex: none; min-height: 42px; padding: 0 16px; font-size: 17px; border-radius: 999px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .prow-buy > .btn { width: auto; min-height: 40px; padding: 0 12px; font-size: 14px; }
  .prow-buy.is-in-cart form { display: none; }
  .prow-buy.is-in-cart .prow-incart { display: flex; }
  .prow-incart { flex-direction: column; align-items: flex-end; gap: 3px; }
  .prow-incart .qty { height: 40px; border-color: var(--ok); border-radius: 999px; overflow: hidden; }
  .prow-incart .qty button { width: 36px; font-size: 20px; color: var(--ok); }
  .prow-incart .qty input { width: 34px; font-size: 16px; border-color: #BBE5CA; }
  .prow-incart-note { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--ok); }
  .more-btn { padding: 13px; }

  /* ---- Product window = bottom sheet; buy bar stays in reach ---- */
  .modal { padding: 0; place-items: end center; }
  .modal-box {
    max-height: 92vh; padding: 26px 16px 0; border-radius: 18px 18px 0 0; overscroll-behavior: contain;
    animation: sheet-up .22s var(--ease); transition: transform .2s var(--ease);
  }
  .modal-box::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-strong); }
  .modal-close { top: 4px; right: 4px; width: 44px; height: 44px; }
  .pd { gap: 14px; }
  .pd-main-img { aspect-ratio: 4 / 3; }
  .pd-title, .pd-page .pd-title { font-size: 25px; }
  .pd-specs { grid-template-columns: 108px 1fr; margin: 12px 0; }
  .pd-specs dt, .pd-specs dd { padding: 7px 0; font-size: 14px; }
  .pd-price { margin-bottom: 10px; }
  .pd-price strong { font-size: 32px; }
  .pd-buy { align-items: center; gap: 8px; }
  .pd-buy-price { display: flex; flex-direction: column; margin-right: auto; min-width: 0; line-height: 1.05; }
  .pd-buy-price small { font-size: 12px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pd-buy-price strong { font: 700 25px/1 var(--f-head); }
  .pd-buy .qty { height: 46px; }
  .pd-buy .qty button { width: 34px; }
  .pd-buy .btn { flex: none; min-height: 46px; padding: 0 18px; border-radius: 999px; }
  .modal .pd-buy {
    position: sticky; bottom: 0; z-index: 3; margin: 0 -16px 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(20, 20, 19, .06);
  }
  .pd-page .pd-buy {
    position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 58; margin: 0;
    padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(20, 20, 19, .08);
  }
  body.page-product { padding-bottom: calc(126px + env(safe-area-inset-bottom)); }
  .pd-trust { font-size: 13px; margin-bottom: 14px; }

  /* ---- Cart drawer / cart page / checkout ---- */
  .drawer-head { padding: 12px 16px; }
  .cart-lines { padding: 0 16px; }
  .drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px rgba(20, 20, 19, .06); }
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 58;
    align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 16px rgba(20, 20, 19, .08);
  }
  .sticky-cta-total { display: flex; flex-direction: column; gap: 3px; margin-right: auto; line-height: 1; }
  .sticky-cta-total small { font-size: 12px; color: var(--grey); }
  .sticky-cta-total strong { font: 700 25px/1 var(--f-head); color: var(--head); }
  .sticky-cta .btn { min-height: 48px; padding: 0 22px; border-radius: 999px; }
  .sticky-cta-checkout { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  body.page-cart { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
  body.page-checkout { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .page-title { font-size: 30px; margin-bottom: 14px; }
  .co-assure { margin: -4px 0 14px; font-size: 13px; }
  .co-mini { display: block; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
  .co-mini summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 600; }
  .co-mini summary::-webkit-details-marker { display: none; }
  .co-mini summary strong { margin-left: auto; font: 700 21px/1 var(--f-head); }
  .co-mini summary .ti-chevron-down { transition: transform .15s; color: var(--grey); }
  .co-mini[open] summary .ti-chevron-down { transform: rotate(180deg); }
  .co-mini .sum-items { margin: 0 14px; }
  .co-mini > a { display: inline-block; margin: 10px 14px 12px; }
  .checkout-summary .sum-items { display: none; }
  .form-section legend { font-size: 20px; }
  .choice { padding: 13px 14px; }
}

/* ==========================================================================
   ADMIN 2026 — grouped menu, search bar, dashboard, cards on phones (owner, 2 Dec 2026)
   Overrides the older "Admin" rules above.
   ========================================================================== */
.admin-body { background: #F3F1EB; --card-line: #E7E3DA; }
kbd { font: 600 12px/1 var(--f-mono); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; background: #fff; color: var(--head); }

/* Shell */
.admin-shell { grid-template-columns: 252px minmax(0, 1fr); }
.admin-side { width: 252px; padding: 0; background: var(--ink); scrollbar-width: thin; scrollbar-color: #34322E transparent; }
.admin-side-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.admin-logo { padding: 0; margin: 0; }
.admin-side-close { display: none; color: #fff; font-size: 22px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 10px 16px; }
.admin-nav-label { margin: 16px 12px 6px; font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #7A756B; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; margin: 0; border: 0; border-radius: 9px;
  color: #D9D4C9; font-size: 15px; text-decoration: none; transition: background-color .12s, color .12s;
}
.admin-nav a .ti { font-size: 19px; color: #8F8A7F; }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-nav a:hover .ti { color: #fff; }
.admin-nav a.is-active { background: var(--primary); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(201, 162, 38, .28); }
.admin-nav a.is-active .ti { color: #fff; }
.nav-badge { margin-left: auto; min-width: 22px; padding: 3px 7px; border-radius: 999px; background: var(--primary); color: #fff; text-align: center; font: 700 12px/1 var(--f-body); font-style: normal; }
.admin-nav a.is-active .nav-badge { background: #fff; color: var(--primary); }
.admin-side-foot { margin-top: auto; padding: 14px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08); gap: 10px; }
.admin-me { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 2px; }
.admin-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font: 700 15px/1 var(--f-body); flex: none; }
.admin-me strong { display: block; font-size: 14px; font-weight: 600; }
.admin-me small { display: block; font-size: 12px; color: #8F8A7F; }
.admin-side-foot a, .admin-side-foot .link-btn { color: #D9D4C9; font-size: 14px; }
.admin-overlay { position: fixed; inset: 0; z-index: 59; background: rgba(20, 20, 19, .5); }

/* Top bar */
.admin-top {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 12px 18px; min-height: 68px; padding: 12px 28px;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--card-line);
}
.admin-top-title { min-width: 0; }
.admin-top h1 { font-size: 26px; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--grey-2); text-decoration: none; margin-bottom: 2px; }
.admin-back:hover { color: var(--primary); }
.admin-search { position: relative; flex: 1 1 300px; max-width: 460px; margin-left: auto; }
.admin-search > .ti { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--grey); font-size: 18px; pointer-events: none; }
.admin-search input { min-height: 40px; padding: 0 38px 0 38px; border-radius: 10px; background: #F3F1EB; border-color: transparent; font-size: 15px; }
.admin-search input:focus { background: #fff; }
.admin-search-key { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.admin-search input:focus ~ .admin-search-key { display: none; }
.admin-top-actions { margin-left: 0; flex: none; flex-wrap: nowrap; }
.admin-top-actions .btn { min-height: 40px; padding: 0 16px; font-size: 16px; }
.admin-content { padding: 24px 28px 72px; max-width: 1480px; }
.admin-content > .alert { border-radius: 10px; }

/* Cards, tables, tabs, filters */
.panel { border-radius: 14px; border-color: var(--card-line); box-shadow: 0 1px 2px rgba(20, 20, 19, .04); scroll-margin-top: 90px; }
.panel-head h2, .panel-title { font-size: 21px; color: var(--head); }
.panel-head h2 .ti, .panel-title .ti { color: var(--grey); font-size: 20px; }
.panel-head > a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.panel-head .count { font: 500 14px/1 var(--f-body); color: var(--grey); }
.admin-content > .table-wrap { background: #fff; border: 1px solid var(--card-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 20, 19, .04); }
.admin-body .table th { background: #FBFAF7; color: var(--grey); font-size: 11px; letter-spacing: .08em; border-bottom: 1px solid var(--card-line); padding: 11px 12px; }
.admin-body .table td { border-bottom-color: #F0EDE6; }
.admin-body .table tbody tr:last-child td { border-bottom: 0; }
.admin-body .table tbody tr:hover td { background: #FBFAF7; }
.admin-body .tag { border-radius: 999px; padding: 3px 8px; letter-spacing: .03em; }
.admin-body .pill { border-radius: 999px; padding: 6px 11px; }
.admin-body .status { border-radius: 999px; padding: 5px 10px; font-size: 12px; }
.status-tabs { background: transparent; gap: 2px; margin-bottom: 14px; border-bottom-color: var(--card-line); scrollbar-width: none; }
.status-tabs::-webkit-scrollbar { display: none; }
.status-tabs a { padding: 11px 14px; border-radius: 8px 8px 0 0; font-weight: 500; color: var(--grey-2); }
.status-tabs a:hover { background: #fff; color: var(--head); }
.status-tabs a.is-active { border-bottom-color: var(--primary); color: var(--head); font-weight: 600; background: #fff; }
.status-tabs a em { background: #EDEAE3; color: var(--grey-2); border-radius: 999px; padding: 2px 8px; font-weight: 600; font-size: 12px; }
.status-tabs a.is-active em { background: var(--primary); color: #fff; }
.filter-bar { gap: 8px; background: #fff; border: 1px solid var(--card-line); border-radius: 14px; padding: 10px; margin-bottom: 14px; }
.filter-bar input[type=search], .filter-bar select { min-height: 42px; border-radius: 9px; }
.filter-bar .btn { min-height: 42px; }
.filter-search { position: relative; flex: 1 1 260px; min-width: 0; }
.filter-search > .ti { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--grey); font-size: 18px; pointer-events: none; }
.filter-search input[type=search] { width: 100%; padding-left: 38px; }
.filter-extra { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-extra select { width: auto; max-width: 240px; }
.filter-toggle { display: none; }
.filter-count { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: #fff; font: 700 12px/20px var(--f-body); }
.bulk-bar { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 8px 12px; }
.pager a, .pager span { border-radius: 8px; }
.pager .is-current { background: var(--primary); border-color: var(--primary); }
.empty-panel { text-align: center; padding: 40px 20px; }
.empty-panel-icon { font-size: 44px; color: #ABA698; display: block; margin: 0 auto 10px; }
.empty-panel-icon > svg { margin: 0 auto; }
.empty-panel h2 { font-size: 24px; margin-bottom: 6px; color: var(--head); }
.empty-panel p { max-width: 52ch; margin: 0 auto; }
.empty-inline { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #FAF8F4; border-radius: 10px; color: var(--grey-2); font-size: 14px; }
.empty-inline .ti { font-size: 22px; color: #ABA698; }

/* Product list */
.prod-link { color: var(--head); font-weight: 600; text-decoration: none; }
.prod-link:hover { color: var(--primary); text-decoration: underline; }
.cell-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; margin-left: 4px; }
.cell-cars a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 14px; color: var(--grey-2); }
.cell-cars a .ti { color: var(--grey); }
.cell-img img, .cell-img .noimg { border-radius: 8px; max-width: none; }
.admin-body td.cell-img { min-width: 64px; }
.admin-body td.row-actions > * { margin-left: 2px; }
.row-actions a, .row-actions .icon-btn { width: 34px; height: 34px; border-radius: 8px; justify-content: center; color: var(--grey-2); }
.row-actions a:hover, .row-actions .icon-btn:hover { background: #F0EDE6; color: var(--head); }
.row-actions .icon-btn.text-danger:hover { background: var(--primary-tint); color: var(--primary); }

/* Dashboard */
.dash-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dash-hello h2 { font-size: 30px; color: var(--head); }
.dash-hello p { margin: 4px 0 0; }
.dash-attention { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin: 18px 0 20px; }
.dash-attention.is-clear { display: block; }
.attn {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--card-line);
  border-left-width: 4px; border-radius: 14px; color: var(--head); text-decoration: none; box-shadow: 0 1px 2px rgba(20, 20, 19, .04);
  transition: box-shadow .15s, transform .15s;
}
.attn:hover { color: var(--head); text-decoration: none; box-shadow: 0 8px 22px rgba(20, 20, 19, .08); transform: translateY(-1px); }
.attn-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 21px; flex: none; }
.attn-text { min-width: 0; }
.attn-text strong { display: block; font-size: 15px; }
.attn-text small { display: block; font-size: 13px; color: var(--grey); }
.attn-go { margin-left: auto; color: var(--grey); font-size: 18px; }
.attn-red { border-left-color: var(--primary); }
.attn-red .attn-icon { background: var(--primary-tint); color: var(--primary); }
.attn-amber { border-left-color: #F59E0B; }
.attn-amber .attn-icon { background: #FFF7E6; color: #B45309; }
.attn-blue { border-left-color: #7F650F; }
.attn-blue .attn-icon { background: #F7F2E4; color: #7F650F; }
.attn-clear { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--ok-tint); border: 1px solid #BBE5CA; color: #14532D; }
.attn-clear .ti { color: var(--ok); font-size: 22px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--card-line);
  border-radius: 14px; color: var(--head); text-decoration: none; box-shadow: 0 1px 2px rgba(20, 20, 19, .04); min-width: 0;
}
a.kpi:hover { color: var(--head); text-decoration: none; border-color: var(--line-strong); box-shadow: 0 8px 22px rgba(20, 20, 19, .08); }
.kpi-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--grey-2); }
.kpi-label .ti { color: var(--grey); font-size: 17px; }
.kpi strong { font: 700 30px/1 var(--f-head); letter-spacing: .01em; }
.kpi small { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--grey); }
.kpi small.kpi-up { color: var(--ok); }
.kpi small.kpi-down { color: var(--primary); }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; margin-bottom: 26px; border-bottom: 1px solid var(--card-line); }
.bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar-fill { display: block; width: 100%; max-width: 34px; border-radius: 6px 6px 0 0; background: #E2C46A; }
.bar:hover .bar-fill { background: #B08D1A; }
.bar.is-today .bar-fill { background: var(--primary); }
.bar-day { position: absolute; bottom: -20px; font-size: 11px; color: var(--grey); }
.bar.is-today .bar-day { color: var(--primary); font-weight: 700; }
.bars-note { margin: 0; }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list a { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid #F0EDE6; color: var(--head); text-decoration: none; }
.order-list li:last-child a { border-bottom: 0; }
.order-list a:hover { background: #FAF8F4; }
.order-list-main { min-width: 0; }
.order-list-main small { display: block; }
.order-list-side { margin-left: auto; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.health-list { list-style: none; margin: 0; padding: 0; }
.health-list li { border-bottom: 1px solid #F0EDE6; }
.health-list li:last-child { border-bottom: 0; }
.health-list a { display: block; padding: 10px 2px; color: var(--head); text-decoration: none; }
.health-list a:hover { background: #FAF8F4; }
.health-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.health-top strong { font-size: 14px; white-space: nowrap; }
.meter { display: block; height: 8px; margin: 7px 0 4px; border-radius: 999px; background: #F0EDE6; overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: 999px; }
.meter-ok { background: var(--ok); }
.meter-mid { background: #F59E0B; }
.meter-low { background: var(--primary); }
.health-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--yellow-text); }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--card-line);
  border-radius: 12px; color: var(--head); font-size: 14px; font-weight: 600; text-align: center; text-decoration: none;
}
.quick-grid a .ti { font-size: 24px; color: var(--primary); }
.quick-grid a:hover { background: #FAF8F4; border-color: var(--line-strong); color: var(--head); }
.facts { list-style: none; margin: 0 0 14px; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0EDE6; font-size: 14px; }
.facts li strong, .facts li a { font-weight: 700; color: var(--head); }
.facts li a:hover { color: var(--primary); }
.facts li a.text-danger { color: var(--primary); }
.tip-panel { background: #FAF8F4; }
.tip-panel p { margin: 0; font-size: 14px; color: var(--grey-2); }
.tip-panel .panel-title .ti { color: #F59E0B; }

/* Search results */
.search-results { display: grid; gap: 4px; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #F0EDE6; color: var(--head); text-decoration: none; }
.result-list li:last-child a { border-bottom: 0; }
.result-list a:hover { background: #FAF8F4; }
.result-list small { display: block; }
.result-side { margin-left: auto; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.result-img { width: 44px; height: 44px; flex: none; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; color: var(--grey); background: #fff; }
.result-img img { width: 100%; height: 100%; object-fit: contain; }

/* Product form */
.pf-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf-steps a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--card-line);
  border-radius: 12px; color: var(--head); text-decoration: none; min-width: 0;
}
.pf-steps a:hover { border-color: var(--line-strong); color: var(--head); }
.pf-steps strong { display: block; font-size: 14px; }
.pf-steps small { display: block; font-size: 12px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-step-no { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #F0EDE6; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pf-steps a.is-done .pf-step-no { background: var(--ok); color: #fff; font-size: 0; }
.pf-steps a.is-done .pf-step-no::after { content: "\2713"; font-size: 15px; }
.admin-body .step-dot { border-radius: 50%; background: var(--primary); color: #fff; }
.fit-count-pill { padding: 5px 12px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-size: 14px; }
.fit-tools .filter-search { flex: 1 1 300px; }
.fit-tree { border-radius: 12px; border-color: var(--card-line); }
.fit-variant { border-radius: 8px; padding: 4px 6px; }
.fit-variant:has(input:checked) { background: var(--ok-tint); }
.upload-box { border-radius: 12px; }
.img-item { border-radius: 10px; }
.pf-savebar { display: none; }
.danger-zone { border-radius: 12px; }

/* Tablets and small laptops: menu becomes a drawer */
@media (max-width: 1024px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; width: 280px; height: 100%;
    transform: translateX(-100%); transition: transform .2s var(--ease);
  }
  .admin-side.is-open { transform: none; box-shadow: 10px 0 40px rgba(0, 0, 0, .25); }
  .admin-side-close { display: inline-flex; }
  .admin-menu-btn { display: inline-flex; font-size: 24px; margin-left: -6px; }
  body.admin-menu-open { overflow: hidden; }
  .admin-top { padding: 10px 18px; flex-wrap: wrap; }
  .admin-top-title { flex: 1 1 0; }
  .admin-search { order: 3; flex: 1 1 100%; max-width: none; margin-left: 0; }
  .admin-content { padding: 20px 18px 96px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-cols { grid-template-columns: minmax(0, 1fr); }
  .pf-savebar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--card-line);
    box-shadow: 0 -6px 18px rgba(20, 20, 19, .08);
  }
  .pf-savebar .btn { flex: 1; min-height: 48px; }
  .pf-side .pf-buttons { display: none; }
}

/* Phones */
@media (max-width: 760px) {
  .admin-top { flex-wrap: wrap; gap: 8px 10px; padding: 8px 14px 10px; min-height: 0; }
  .admin-top-title { flex: 1 1 0; }
  .admin-top h1 { font-size: 22px; }
  .admin-search { order: 3; flex: 1 1 100%; max-width: none; margin-left: 0; }
  .admin-search-key { display: none; }
  .admin-top-actions { gap: 6px; }
  .admin-top-actions .btn { min-height: 38px; padding: 0 12px; font-size: 15px; }
  .admin-content { padding: 14px 12px 96px; }
  .panel { padding: 16px 14px; }
  .dash-hello h2 { font-size: 24px; }
  .dash-attention { grid-template-columns: minmax(0, 1fr); margin: 14px 0 16px; }
  .kpi-grid { gap: 10px; }
  .kpi { padding: 13px 14px; }
  .kpi strong { font-size: 24px; }
  .kpi small { font-size: 12px; }
  .bars { gap: 3px; height: 140px; }
  .bar-day { font-size: 10px; }
  .bar:nth-child(even) .bar-day { visibility: hidden; }
  .order-list a { flex-wrap: wrap; }
  .order-list-side { margin-left: 0; width: 100%; justify-content: space-between; }

  /* Filters fold behind a "Filters" button */
  .filter-bar { padding: 8px; }
  .filter-search { flex: 1 1 100%; }
  .filter-toggle { display: inline-flex; flex: 1; }
  .filter-bar > .btn-primary { flex: 1; }
  .filter-extra { display: none; flex: 1 1 100%; }
  .filter-extra.is-open { display: flex; }
  .filter-extra select { flex: 1 1 100%; max-width: none; }
  .bulk-bar { padding: 8px 10px; }
  .bulk-controls { width: 100%; }
  .bulk-controls select { flex: 1; }

  /* Product list → cards */
  .admin-content > .table-wrap:has(.admin-products), .admin-content > .table-wrap:has(.orders-table) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .admin-products, .admin-products tbody, .orders-table, .orders-table tbody { display: block; }
  .admin-products thead, .orders-table thead { display: none; }
  .admin-products tr {
    display: grid; grid-template-columns: 26px 52px minmax(0, 1fr) auto;
    grid-template-areas: "check img name name" "check img cars cars" "price price price price" "stock stock active actions";
    gap: 8px 10px; align-items: center; margin-bottom: 10px; padding: 12px; background: #fff;
    border: 1px solid var(--card-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(20, 20, 19, .04);
  }
  .admin-products td, .orders-table td { display: block; padding: 0; border: 0 !important; background: none !important; min-width: 0 !important; }
  .admin-products .cell-check { grid-area: check; align-self: start; padding-top: 4px; }
  .admin-products .cell-img { grid-area: img; width: auto; align-self: start; }
  .admin-products .cell-name { grid-area: name; }
  .admin-products .cell-cars { grid-area: cars; }
  .admin-products .cell-price { grid-area: price; padding-top: 6px; border-top: 1px solid #F0EDE6 !important; }
  .admin-products .cell-price .price-edit input { flex: 1 1 0; width: auto; min-width: 0; min-height: 40px; }
  .admin-products .cell-price .price-edit .icon-btn { flex: none; width: 40px; height: 40px; border-radius: 8px; background: #F0EDE6; }
  .admin-products .cell-stock { grid-area: stock; }
  .admin-products .cell-active { grid-area: active; }
  .admin-products td.row-actions { grid-area: actions; text-align: right; white-space: nowrap; }
  .admin-products .prod-link { font-size: 15px; }
  .admin-products .cell-tags { margin: 4px 0 0; display: flex; }

  /* Orders → cards */
  .orders-table tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "order status" "customer total" "delivery pay";
    gap: 8px 12px; margin-bottom: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--card-line); border-radius: 12px;
  }
  .orders-table .cell-order { grid-area: order; }
  .orders-table .cell-status { grid-area: status; justify-self: end; }
  .orders-table .cell-customer { grid-area: customer; }
  .orders-table .cell-total { grid-area: total; justify-self: end; font: 700 20px/1 var(--f-head); }
  .orders-table .cell-delivery { grid-area: delivery; }
  .orders-table .cell-pay { grid-area: pay; text-align: right; }
  .orders-table .cell-items { display: none; }

  /* Other tables scroll sideways — a soft shadow shows there is more */
  .admin-body .table-wrap {
    background:
      linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)), linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%) 100% 0,
      radial-gradient(farthest-side at 0 50%, rgba(20, 20, 19, .14), transparent), radial-gradient(farthest-side at 100% 50%, rgba(20, 20, 19, .14), transparent) 100% 0;
    background-color: #fff; background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
  }

  /* Product form */
  .pf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pf-steps a { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; }
  .pf-steps small { display: none; }
  .pf-steps strong { font-size: 12px; line-height: 1.2; }
  .fit-variants { grid-template-columns: minmax(0, 1fr); padding-left: 6px; }
  .fit-tree { max-height: 60vh; padding: 4px 10px 10px; }
  .form-grid-4 { grid-template-columns: 1fr 1fr; }
  .upload-box { flex-wrap: wrap; }
  .result-list a { flex-wrap: wrap; }
  .result-list a > span:not(.result-img):not(.result-side) { flex: 1 1 0; min-width: 0; }
  .result-side { margin-left: 0; flex-basis: 100%; }
  .result-img + span + .result-side { padding-left: 56px; }
  /* Order page: customer, status and payment first (what you use on the phone) */
  .order-cols > :last-child { order: -1; }
}

/* ==========================================================================
   BRAND 2026 — black & gold, from the SABR logo (owner, 2 Dec 2026)
   Rules: gold is a fill with BLACK text on it (7.6:1). On white, gold text/icons use --accent (#7F650F, 4.9:1).
   On black, gold text uses --gold-light. Red only for errors / remove; green only for in stock / genuine / success.
   ========================================================================== */
::selection { background: var(--primary); color: var(--on-primary); }
a { color: var(--accent); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 162, 38, .22); }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); }
.eyebrow { color: var(--accent); }
.form-error, .text-danger, a.text-danger { color: var(--red); }

/* Logo */
.brand-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; line-height: 0; }
.brand-logo img { display: block; width: auto; height: 46px; }
.footer-logo img { height: 64px; }
.admin-logo img { height: 38px; }
.admin-logo-tag {
  font: 700 10px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(201, 162, 38, .45); border-radius: 999px; padding: 4px 8px;
}
.auth-logo { margin-bottom: 4px; }
.auth-logo img { height: 52px; }
.invoice-logo { display: block; height: 52px; width: auto; margin-bottom: 6px; }

/* Buttons: gold with black text */
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(20, 20, 19, .12); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--on-primary); }
.btn-primary:active { background: #9C7C14; border-color: #9C7C14; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--gold-light); }
.btn-secondary { background: #fff; border-color: var(--line-strong); color: var(--head); }
.btn-secondary:hover { border-color: var(--head); color: var(--head); background: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.is-added { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
/* Product rows: black buttons (gold is kept for the page's main action); gold on hover */
.prow-buy .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.prow-buy .btn-primary:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.prow-buy .btn-primary .ti { color: var(--gold-light); }
.prow-buy .btn-primary:hover .ti { color: var(--on-primary); }
.prow-buy .btn.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }
.link-btn { color: var(--accent); }

/* Every gold fill carries black text (these were "red + white text") */
.hdr-search button, .hdr-badge, .cart-count, .step-dot, .step-no, .nav-badge, .cp-progress li.is-current span, .cp-chip button:hover,
.cp-opt.is-selected, .garage-chip em, .pt-nav a.is-active, .app-bar-badge, .status-tabs a.is-active em, .filter-count, .pager .is-current,
.admin-body .step-dot, .admin-nav a.is-active, .fit-count-pill.is-full {
  background: var(--primary); border-color: var(--primary); color: var(--on-primary);
}
.hdr-search button:hover { background: var(--primary-dark); color: var(--on-primary); }
.pt-nav a.is-active .ti, .pt-nav a.is-active em, .admin-nav a.is-active .ti { color: var(--on-primary); }
.pt-nav a.is-active em { background: rgba(20, 20, 19, .12); }
.cp-opt.is-selected small { color: rgba(20, 20, 19, .7); }
.cp-opt:hover { border-color: var(--primary); background: var(--primary-tint); }
.cp-brand:hover, .model-card:hover, .garage-chip:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(20, 20, 19, .08); }
.garage-chip.is-active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.admin-nav a.is-active { box-shadow: 0 6px 16px rgba(201, 162, 38, .22); }
.admin-nav a.is-active .nav-badge { background: var(--ink); color: var(--gold-light); }

/* Gold as text / icons on white → deep gold */
.part-card-btn, .more-btn, .pt-viewall, .car-switch-menu a, .car-switch-menu button.is-active, .cp-progress li.is-current, .fit-count-pill,
.quick-grid a .ti, .garage-chip-logo .ti, .save-card-title .ti, .trust-strip .ti, .summary-trust .ti, .contact-card .ti, .car-bar-label .ti,
.garage-car.is-active .garage-car-icon, .prod-link:hover, .admin-back:hover, .facts li a:hover, .tab.is-active, .panel-head > a,
.app-bar-item.is-active, .notice a, .plan-strip-text .ti, .plan-strip-link > .ti:first-child, .notice-car .ti, .bar.is-today .bar-day {
  color: var(--accent);
}
.tab.is-active { border-bottom-color: var(--primary); }
.car-switch-menu button.is-active { box-shadow: inset 3px 0 0 var(--primary); }
.cp-progress li.is-current { background: var(--primary-tint); }
.fit-count-pill { background: var(--primary-tint); }
.trust-strip .ti, .garage-car.is-active .garage-car-icon { background: var(--primary-tint); }
.status-tabs a.is-active { border-bottom-color: var(--primary); }
.app-bar-item.is-active::before { background: var(--primary); }
.notice-car { background: var(--primary-tint); border-left-color: var(--primary); }
.plan-strip { background: #F7F2E4; }
.flash-info { background: #F7F2E4; color: #4E3D06; }
.account-cta { background: #F7F2E4; border-color: #E8DDB8; }
.best-tag { background: var(--primary-tint); border-color: var(--gold-light); color: var(--green-dark); }
.badge-oem { background: #F3EEE2; color: #5B4A1A; }
.badge-after { background: #EFEDE8; color: var(--grey-2); }
.status-shipped { background: #ECE9E2; color: #34322E; }

/* Red only where something is wrong or negative */
.kpi small.kpi-down { color: var(--red); }
.meter-low { background: var(--red); }
.attn-red { border-left-color: var(--red); }
.attn-red .attn-icon { background: var(--red-tint); color: var(--red); }
.attn-gold { border-left-color: var(--primary); }
.attn-gold .attn-icon { background: var(--primary-tint); color: var(--accent); }
.attn-ink { border-left-color: var(--ink); }
.attn-ink .attn-icon { background: #EFEDE8; color: var(--ink); }
.row-actions .icon-btn.text-danger:hover { background: var(--red-tint); color: var(--red); }
.link-remove:hover { color: var(--red); }

/* Black surfaces: gold shines here */
.site-header { background: var(--ink); }
.hdr-top-inner { min-height: 76px; }
.hdr-search { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.hdr-call .ti { color: var(--gold-light); background: rgba(201, 162, 38, .14); }
.hdr-icon:hover .ti { color: var(--gold-light); }
.hdr-nav { background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .06); box-shadow: inset 0 -2px 0 var(--primary); }
.hdr-nav-links a { color: #ECE8DF; font-weight: 600; }
.hdr-nav-links a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-light); }
.hdr-nav-links a .ti { color: var(--gold-light); }
.car-bar { border-bottom-color: var(--line); }
.hero2-badge { background: rgba(201, 162, 38, .12); border-color: rgba(201, 162, 38, .45); color: var(--gold-light); }
.hero2 h1 { letter-spacing: .005em; }
.hero2-points .ti, .hero2-due .ti { color: var(--gold-light); }
.hero2-card span .ti, .promo-tag, .hero .eyebrow, .vehicle-band .eyebrow, .page-band-dark .eyebrow, .help-band .eyebrow { color: var(--gold-light); }
.hero2 a:not(.btn), .vehicle-band a:not(.btn), .page-band-dark a:not(.btn), .help-band a:not(.btn), .promo a:not(.btn) { color: var(--gold-light); }
.vehicle-specs span { border-color: rgba(226, 196, 106, .35); }
.site-footer { border-top: 2px solid var(--primary); }
.trust-item .ti, .footer-contact .ti { color: var(--gold-light); }
.footer-col h3 { color: #fff; letter-spacing: .02em; }
.footer-col a, .footer-bottom a { color: #CFCAC0; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--gold-light); }
.toast a { color: var(--gold-light); }
.auth-side .auth-points .ti { color: var(--gold-light); }
.admin-side { background: var(--ink); }
.admin-side-head { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); margin-bottom: 6px; }

/* Premium details: editorial eyebrows with a short gold rule, calm cards, black prices */
.section-head .eyebrow, .garage-panel-head .eyebrow, .page-band .eyebrow:not(:has(a)) { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before, .garage-panel-head .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--primary); flex: none; }
.section-tint { background: var(--bg); }
.part-card, .model-card, .garage-panel, .prow-list, .pt-nav, .part-head, .step, .variant-card, .empty-state { border-color: var(--line); }
.part-card:hover { box-shadow: 0 14px 30px rgba(20, 20, 19, .10); }
.part-card-body strong, .model-text strong { color: var(--head); }
.prow-price strong, .pd-price strong, .pd-buy-price strong, .cart-line-total, .cart-row-total, .sum-total strong, .drawer-subtotal strong { color: var(--head); }
.step-no { box-shadow: 0 0 0 4px var(--primary-tint); }
.promo::before { background: linear-gradient(90deg, rgba(20, 20, 19, .95) 0%, rgba(20, 20, 19, .78) 55%, rgba(20, 20, 19, .35) 100%); }
.help-band { background: var(--ink); border-top: 2px solid var(--primary); }
.page-band-dark, .vehicle-band { box-shadow: inset 0 -1px 0 rgba(201, 162, 38, .35); }
.mobile-cart-bar { background: var(--ink); }
.qty input:focus { background: var(--primary-tint); }
.choice:has(input:checked) { border-color: var(--ink); background: #FAF8F3; box-shadow: inset 0 0 0 1px var(--ink); }
.plan-option:has(input:checked) { border-color: var(--ink); background: #FAF8F3; box-shadow: inset 0 0 0 1px var(--ink); }
.pd-thumbs button.is-active { border-color: var(--ink); }
.timeline li.is-current .tl-label { color: var(--ok); }

@media (max-width: 760px) {
  .brand-logo img { height: 28px; }
  .footer-logo img { height: 54px; }
  .admin-logo img { height: 34px; }
  .auth-logo img { height: 44px; }
  .hdr-top-inner { min-height: 60px; }
  .site-footer { border-top-width: 2px; }
}

/* ==========================================================================
   AUDIT FIXES (Dec 2026) — customer audit: account invite after the order,
   search suggestions, engine help, delivery line, contact steps, legal pages
   ========================================================================== */
.success-account { text-align: left; border: 1px solid var(--line); border-left: 3px solid var(--primary); background: #FBF9F4; padding: 16px 18px; margin-top: 20px; border-radius: var(--radius); }
.success-account p { margin: 0 0 6px; font-size: 14px; color: var(--grey-2); }
.success-account .save-card-title { font: 700 19px/1.2 var(--f-head); color: var(--head); display: flex; align-items: center; gap: 8px; }
.success-account .btn-row { justify-content: flex-start; margin-top: 10px; }

/* Search: "Showing results for …" and popular part chips under an empty result */
.search-fixed { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--grey-2); font-size: 15px; }
.search-fixed .ti { color: var(--accent); font-size: 18px; }
.search-fixed strong { color: var(--head); }
.search-suggest { margin-top: 22px; text-align: center; }
.search-suggest .h-sub { font-size: 20px; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--head); font-weight: 600; font-size: 14px; text-decoration: none; }
.chip:hover { border-color: var(--ink); text-decoration: none; color: var(--head); }

/* Car picker: telling two same-size engines apart */
.cp-opt-dup small { color: var(--head); font-weight: 600; }
.cp-engine-help { margin-top: 12px; padding: 12px 14px; border: 1px solid #EADFB8; background: #FBF7EA; border-radius: var(--radius); font-size: 14px; color: var(--grey-2); }
.cp-engine-help p { display: flex; gap: 8px; margin: 0 0 8px; }
.cp-engine-help p .ti { color: var(--accent); font-size: 18px; flex: none; margin-top: 1px; }
.cp-engine-help a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.variant-help { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 16px; font-size: 14px; }
.variant-help .ti { color: var(--accent); font-size: 18px; flex: none; margin-top: 1px; }
.variant-help a { color: var(--accent); font-weight: 600; }

/* Service plan: chosen car + odometer form, sources at the bottom */
.plan-odo-form .vs-service { grid-template-columns: 1fr 1fr; }
.plan-odo-form .vs-service .field:last-child { grid-column: 1 / -1; }
.plan-odo-form .btn { margin-top: 12px; }
.plan-car-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 560px; margin: 0 0 12px; }
.plan-car-head p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; color: #fff; }
.plan-car-head strong { color: #fff; }
.service-picker { margin-top: 18px; color: var(--head); }
.plan-car-head .ti { color: var(--gold-light); font-size: 20px; }
.change-vehicle .plan-odo-inline { background: #fff; color: var(--head); padding: 16px; border-radius: var(--radius); }
.plan-odo-get .vs-service { flex: 1 1 560px; }
.plan-change-car { margin: 10px 0 0; font-size: 14px; }
.plan-change-car a { display: inline-flex; align-items: center; gap: 6px; }
.plan-sources { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; color: var(--grey-2); }
.plan-sources summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--head); }
.plan-sources summary .ti { color: var(--accent); }
.plan-sources p { margin: 8px 0 0; }
.plan-sources a { color: var(--accent); }
.vehicle-band .vehicle-specs span { white-space: nowrap; }
@media (max-width: 1080px) {
  .contact-card-first { order: -1; }
}
.footer-note { color: var(--gold-light); font-size: 13px; letter-spacing: .04em; margin-top: 6px; }

/* ==========================================================================
   SEO CONTENT (Dec 2026) — service facts tables, questions, guides, link lists
   ========================================================================== */
.page-layout > *, .shop-layout > *, .pt-sections { min-width: 0; }
.seo-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 960px; }
.seo-block > h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 10px; color: var(--head); }
.seo-block > h3 { font-size: 20px; margin: 22px 0 10px; color: var(--head); }
.seo-block > p { color: var(--grey-2); max-width: 78ch; }
.facts-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.facts-table thead th { background: #FAF8F3; font: 700 14px/1.3 var(--f-head); letter-spacing: .02em; color: var(--head); }
.facts-table tbody th { font-weight: 600; color: var(--head); white-space: nowrap; }
.facts-table tbody tr:last-child th, .facts-table tbody tr:last-child td { border-bottom: 0; }
.facts-table td:nth-child(2) { font-family: var(--f-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 14px; }
.rich .facts-table td:nth-child(2), .price-table td { font-family: inherit; font-size: 15px; }
.facts-table a { color: var(--accent); font-weight: 600; }
.price-table td { white-space: nowrap; }
.nw { white-space: nowrap; }
.faq { margin-top: 28px; }
.faq > h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; color: var(--head); }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font: 600 16px/1.35 var(--f-body, inherit); color: var(--head); }
.faq-item summary .ti { color: var(--accent); flex: none; transition: transform .15s; }
.faq-item[open] summary .ti { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--grey-2); }
.narrow-faq { max-width: 900px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--head); text-decoration: none; }
.guide-card:hover { border-color: var(--ink); text-decoration: none; color: var(--head); }
.guide-card .ti { color: var(--accent); font-size: 22px; }
.guide-card strong { font: 700 18px/1.25 var(--f-head); }
.guide-card small { color: var(--grey-2); font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link-cloud { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 14px; color: var(--head); text-decoration: none; }
.link-cloud a:hover { border-color: var(--ink); }
.part-guide-link { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-weight: 600; }
.part-guide-link .ti { color: var(--accent); }
.part-guide-link a { color: var(--accent); }
.article-meta { margin: 8px 0 0; color: var(--grey); font-size: 14px; }
.rich h3 { font-size: 20px; color: var(--head); margin: 22px 0 8px; }
.rich ol { padding-left: 22px; margin: 0 0 14px; }
.rich ol li { margin-bottom: 8px; padding-left: 4px; }
.rich a { color: var(--accent); }
.rich .tip { border-left: 3px solid var(--primary); background: #FBF7EA; padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--grey-2); }
.rich .table-wrap { margin: 6px 0 18px; }
.guide-aside .btn + .btn { margin-top: 8px; }
.guide-aside-title { margin-top: 22px; }
nav.eyebrow { display: block; }
@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-table { font-size: 14px; }
  .facts-table th, .facts-table td { padding: 9px 10px; }
  .facts-table tbody th { white-space: normal; }
  .seo-block { margin-top: 24px; padding-top: 20px; }
}
.contact-card li a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .plan-odo-form .vs-service { grid-template-columns: 1fr; }
  .plan-odo-get .vs-service { flex-basis: 100%; }
}
