/* Landy Lanka storefront
   Brand: oval chrome badge + LANDY LANKA lettering, charcoal bars, orange rules, sky-blue highlights,
   landscape photo behind the header and homepage (layout supplied by Landy Lanka).
   Charcoal / orange / sky blue and the photo can be changed in the back office (Site settings) - see /theme.css. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.81419bf5abb5.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.8e986e86d57e.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.a1e2a2d7d4c0.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.ba4513495282.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.e1180918b873.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-italic.47197c3b45b7.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-italic.5dfa75d7e8f4.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --brand: #2C2D2D;             /* charcoal menu bars (Site settings > primary colour) */
  --brand-ink-text: #ffffff;
  --accent: #DA5B06;            /* orange rules and buttons (accent colour) */
  --accent-ink: #ffffff;
  --sky: #27A1F7;               /* tile borders, phone numbers, focus (highlight colour) */
  --brand-deep: color-mix(in srgb, var(--brand) 70%, #000);
  --brand-tint: color-mix(in srgb, var(--brand) 7%, #fff);
  --accent-hover: color-mix(in srgb, var(--accent) 86%, #000);
  --link: color-mix(in srgb, var(--sky) 58%, #000);
  --night: #030D25;
  --steel: #414343;
  --steel-2: #91959A;
  --tile: #D7DADA;
  --paper: #F5F5F5;
  --page: #EEF0F1;
  --ink: #1C1F22;
  --ink-2: #4A5056;
  --ink-3: #686F76;
  --rule: #CDD2D6;
  --rule-soft: #E3E6E8;
  --ok: #1D6E3F;   --ok-bg: #E2F1E7;
  --warn: #8A5200; --warn-bg: #FBEFD6;
  --info: #1C5596; --info-bg: #E3EDF8;
  --bad: #9E261E;  --bad-bg: #FAE5E3;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wrap: clamp(1240px, 84vw, 1800px);  /* grows on big screens; 1240px on laptops */
  --gutter: 16px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.5 var(--font); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--cond); font-weight: 700; line-height: 1.08; color: var(--brand); margin: 0 0 .5em; letter-spacing: .005em; }
h1, h2 { font-style: italic; font-weight: 800; }
h1 { font-size: 2.375rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.3125rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; max-width: 72ch; }
small, .small { font-size: .875rem; }
.muted { color: var(--ink-3); }
.num, .price, td.money { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.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(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; padding: 24px 0 56px; min-height: 50vh; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 24px 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.rule { height: 4px; background: var(--accent); }
.rule-bright { background: color-mix(in srgb, var(--accent) 75%, #FFB067); }
.bump { animation: bump .45s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ------------------------------------------------------------------ header */
.announce { background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: .875rem; text-align: center; padding: 6px var(--gutter); }
.site-header { position: relative; z-index: 20; isolation: isolate; color: #fff; background-color: var(--night); background-size: cover; background-position: center 18%; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,13,37,.84) 0%, rgba(3,13,37,.58) 55%, rgba(3,13,37,.8) 100%); }

.utility { font-size: .8125rem; color: #CDD5E0; border-bottom: 1px solid rgba(255,255,255,.12); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 6px 18px; min-height: 34px; flex-wrap: wrap; }
.utility-contact, .utility-links { display: flex; gap: 6px 18px; align-items: center; flex-wrap: wrap; }
.utility-contact span, .utility-links a, .utility .who { display: inline-flex; gap: 6px; align-items: center; }
.utility a, .utility .linklike { color: #fff; text-decoration: none; }
.utility a:hover, .utility .linklike:hover { text-decoration: underline; color: #fff; }
.utility .icon { width: 1.1em; height: 1.1em; opacity: .85; }
.utility .who { color: #E4EAF1; }
.utility-links form { display: inline; margin: 0; }

.brandbar { display: flex; align-items: center; gap: 14px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; justify-content: flex-start; gap: 20px; text-decoration: none; flex: 1; min-width: 0; }
.brand-badge { height: 58px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.brand-name { height: 34px; width: auto; }
/* Desktop: logo + name sit in the free space to the LEFT of the Home menu strip,
   centred (both ways) in that space and spanning the brand bar and the Home row. */
@media (min-width: 900px) {
  :root { --strip-w: 800px; --navrow-h: 58px; }
  .brandbar { position: relative; }
  .navrow-strip { min-width: var(--strip-w); }
  .brand { position: absolute; left: var(--gutter); top: 0; bottom: calc(-1 * var(--navrow-h)); width: calc(100% - 2 * var(--gutter) - var(--strip-w) - 16px);
           flex: none; justify-content: center; gap: 24px; container-type: inline-size; }
  .brand-badge { height: min(12.2cqw, 140px); }
  .brand-name { height: min(9.4cqw, 112px); }
}
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.header-boxes { display: flex; gap: 12px; margin-left: auto; }
.hbox { display: flex; flex-direction: column; width: 220px; border-radius: 4px; overflow: hidden; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.hbox-title { background: var(--steel); color: #fff; font: 600 .875rem var(--font); text-transform: uppercase; letter-spacing: .07em; padding: 13px 14px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.hbox-title .icon { width: 1.15em; height: 1.15em; color: color-mix(in srgb, var(--accent) 60%, #fff); }
.hbox-row { background: var(--steel-2); color: #121518; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px 7px 14px; font-size: .875rem; font-weight: 500; }
.hbox-count { min-width: 64px; background: #fff; color: var(--ink); text-align: right; padding: 2px 8px; font: 700 1.0625rem/1.5 var(--font); font-variant-numeric: tabular-nums; border-radius: 2px; }
a.hbox:hover .hbox-title { background: color-mix(in srgb, var(--steel) 78%, #000); }
.hbox-actions { justify-content: center; gap: 8px; padding: 8px; }

/* Home | About us | Contact us + search, on a slanted strip running to the right edge */
.navrow { display: flex; justify-content: flex-end; }
.navrow-strip { display: flex; align-items: center; gap: 12px 22px; min-width: min(100%, 800px); background: var(--brand);
  padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 8px 64px;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%); border-bottom: 2px solid rgba(255,255,255,.92); }
.page-links { display: flex; align-items: center; }
.page-links a { color: #E9ECEF; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: .875rem; font-weight: 500; padding: 6px 18px; white-space: nowrap; border-left: 1px solid #1F2020; box-shadow: inset 1px 0 0 #3B3C3C; }
.page-links a:first-child { border-left: 0; box-shadow: none; }
.page-links a:hover, .page-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.search { position: relative; flex: 1 1 380px; max-width: 460px; margin-left: auto; }
.search form { display: flex; gap: 8px; align-items: center; }
.search-field { position: relative; flex: 1; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: 11px; width: 18px; height: 18px; color: var(--link); pointer-events: none; }
.search input { width: 100%; min-width: 0; height: 40px; border-radius: 6px; border: 2px solid color-mix(in srgb, var(--sky) 55%, #fff); background: #EFF0F1; padding: 0 12px 0 36px; font: 500 1rem var(--font); color: var(--ink); }
.search input::placeholder { color: var(--link); opacity: .9; }
.search input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 35%, transparent); background: #fff; }
.search button { height: 40px; min-width: 66px; border-radius: 6px; border: 2px solid color-mix(in srgb, var(--sky) 55%, #fff); background: #EFF0F1; color: var(--brand); font: 700 .9375rem var(--font); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.search button:hover { background: #fff; border-color: var(--sky); }
.suggest { position: absolute; z-index: 60; left: 0; right: 0; top: 100%; margin: 6px 0 0; background: #fff; border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 12px 30px rgba(0,0,0,.3); list-style: none; padding: 6px 0; }
.suggest a { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 8px 14px; color: var(--ink); text-decoration: none; align-items: baseline; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--brand-tint); }
.suggest .sg-part { font: 700 1.0625rem var(--cond); color: var(--brand); letter-spacing: .02em; }
.suggest .sg-title { font-size: .9375rem; }
.suggest .sg-grade { color: var(--ink-3); font-size: .8125rem; margin-left: 6px; }

/* category bar: DEFENDER PARTS | ACCESSORIES | WHEELS | TYRES | VEHICLE SALES */
.catbar { background: var(--brand); position: relative; z-index: 30; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.05); }
.catbar-list { list-style: none; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; }
.cat-item { position: relative; }
.cat-item + .cat-item { border-left: 1px solid #1F2020; box-shadow: inset 1px 0 0 #3B3C3C; }
.cat-link { display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 30px; color: #E9ECEF; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font: 500 .9375rem var(--font); }
.cat-link:hover, .cat-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 -3px 0 var(--accent); }
.cat-link .icon { width: 1em; height: 1em; opacity: .8; }
.cat-quick .cat-link { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cat-quick .cat-link:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: none; }
.cat-drop { position: absolute; top: 100%; left: 0; min-width: 270px; background: #1E1F1F; border-top: 3px solid var(--accent); box-shadow: 0 18px 32px rgba(0,0,0,.45); padding: 8px 0; z-index: 40; }
.cat-drop ul { list-style: none; margin: 0; padding: 0; }
.cat-drop a { display: block; padding: 8px 18px; color: #E9ECEF; text-decoration: none; }
.cat-drop a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cat-drop-foot { border-top: 1px solid rgba(255,255,255,.12); margin-top: 6px; padding-top: 6px; }
.cat-drop-foot a { color: color-mix(in srgb, var(--sky) 60%, #fff); font-weight: 600; }

/* ------------------------------------------------------------------ buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 1px solid transparent; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.1; }
.btn-primary { background: var(--brand); color: var(--brand-ink-text); }
.btn-primary:hover { background: var(--brand-deep); color: var(--brand-ink-text); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: #E9ECEF; color: var(--brand); }
.btn-quiet { background: transparent; color: var(--ink-2); border-color: var(--rule); }
.btn-quiet:hover { background: #fff; color: var(--ink); }
.btn-danger { background: #fff; color: var(--bad); border-color: currentColor; }
.btn-block { width: 100%; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: .9375rem; }
.btn-large { min-height: 52px; padding: 0 26px; font-size: 1.125rem; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }

.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .help { color: var(--ink-3); font-size: .875rem; margin-top: 4px; }
.field .errorlist, .errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--bad); font-size: .9375rem; font-weight: 500; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"],
.field input[type="url"], .field input[type="number"], .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink); font: 400 1rem var(--font); }
textarea.input, .field textarea { min-height: 96px; line-height: 1.4; }
.field input:focus, .field select:focus, .field textarea:focus,
.input:focus { outline: 3px solid color-mix(in srgb, var(--sky) 45%, transparent); outline-offset: 0; border-color: var(--brand); }
.field.has-error .input { border-color: var(--bad); }
.check, .field label.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0; }
.field label.radio-card { display: flex; margin-bottom: 0; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.grid-2 { display: grid; gap: 0 20px; grid-template-columns: 1fr; }
.form-section { border: 1px solid var(--rule); background: #fff; border-radius: 6px; padding: 20px; margin-bottom: 16px; }
.form-section > h2 { font-size: 1.375rem; }
.form-narrow { max-width: 460px; }
.form-medium { max-width: 760px; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule); border-radius: 4px; padding: 12px 14px; background: #fff; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.radio-card input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.radio-card .rc-main { flex: 1; }
.radio-card .rc-title { font-weight: 600; }
.radio-card .rc-note { color: var(--ink-3); font-size: .9375rem; }
.radio-card .rc-price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* qty stepper */
.qty { display: inline-flex; border: 1px solid var(--rule); border-radius: 4px; background: #fff; height: 44px; }
.qty button { width: 38px; border: 0; background: none; color: var(--brand); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--brand-tint); }
.qty input { width: 52px; border: 0; border-left: 1px solid var(--rule-soft); border-right: 1px solid var(--rule-soft); text-align: center; font: 600 1rem var(--font); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* wish list toggle */
.wish-form { display: inline-flex; margin: 0; }
.wish-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink-2); cursor: pointer; font: 600 .9375rem var(--font); }
.wish-btn:hover { border-color: var(--accent); color: var(--accent); }
.wish-btn[aria-pressed="true"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, #fff); background: color-mix(in srgb, var(--accent) 6%, #fff); }

/* ------------------------------------------------------------------ messages */
.messages { margin: 0 0 18px; display: grid; gap: 8px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 4px; border-left: 4px solid; background: #fff; }
.alert .icon { margin-top: 2px; }
.alert p { margin: 0; }
.alert-success { border-color: var(--ok); background: var(--ok-bg); }
.alert-info { border-color: var(--info); background: var(--info-bg); }
.alert-warning { border-color: var(--warn); background: var(--warn-bg); }
.alert-error { border-color: var(--bad); background: var(--bad-bg); }
.toast { position: fixed; z-index: 90; right: 16px; bottom: 16px; max-width: 380px; background: var(--brand); color: #fff; padding: 12px 16px; border-radius: 4px; border-left: 4px solid var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,.35); display: flex; gap: 10px; align-items: center; }
.toast a { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------------ page furniture */
.crumbs { font-size: .9375rem; color: var(--ink-3); margin-bottom: 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-2); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.page-head h1 { margin: 0; }
.page-head .sub { color: var(--ink-2); margin: 6px 0 0; }
.panel { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.4em; }
.prose table { border-collapse: collapse; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--rule); padding: 6px 10px; }

/* status chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 2px; font-size: .8125rem; font-weight: 600; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.grade-genuine { background: var(--brand); color: var(--brand-ink-text); }
.grade-oem { background: #fff; color: var(--brand); border-color: var(--brand); }
.grade-after { background: #E5E8EA; color: var(--ink); }
.grade-perf { background: var(--accent); color: var(--accent-ink); }
.state { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9375rem; }
.state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.state-in_stock { color: var(--ok); }
.state-low { color: var(--warn); }
.state-supplier { color: var(--info); }
.state-backorder { color: var(--ink-2); }
.state-out { color: var(--bad); }
.status { display: inline-block; padding: 3px 10px; border-radius: 2px; font-size: .875rem; font-weight: 600; background: #E5E8EA; color: var(--ink); }
.status-pending_payment, .status-awaiting_transfer { background: var(--warn-bg); color: var(--warn); }
.status-confirmed, .status-processing { background: var(--info-bg); color: var(--info); }
.status-ready, .status-dispatched { background: var(--ok-bg); color: var(--ok); }
.status-cancelled { background: var(--bad-bg); color: var(--bad); }

/* ------------------------------------------------------------------ homepage */
.page-bg { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; background-color: #17191B; background-size: cover; background-position: center 30%; }
.page-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); }
body.home { background: #17191B; }
body.home .site-header { background-image: none; background-color: transparent; }
body.home .site-header::before { background: linear-gradient(180deg, rgba(3,13,37,.86) 0%, rgba(3,13,37,.55) 70%, rgba(3,13,37,.4) 100%); }
main.home-main { padding: 0; }
main.home-main .messages { margin-top: 14px; }

/* Slides share one grid cell, so the banner is as tall as its tallest slide and grows rather than
   cutting off text on small screens. Inactive slides fade out. */
.hero { position: relative; width: 100%; margin: 6px 0; display: grid; overflow: hidden; box-shadow: 0 18px 42px rgba(0,0,0,.45); }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, calc((100vw - 2 * var(--gutter)) / 2.4), 500px);
  visibility: hidden; opacity: 0; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity 1s ease; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.focus-top img { object-position: 50% 15%; }
.slide.focus-bottom img { object-position: 50% 85%; }
.slide.focus-left img { object-position: 15% 50%; }
.slide.focus-right img { object-position: 85% 50%; }
/* picture-only banners keep the photo's wide shape (as in the design) instead of a fixed height */
.hero.photos .slide { width: 100%; min-height: 0; aspect-ratio: 2.4 / 1; }
.slide.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.28) 48%, rgba(0,0,0,0) 72%); }
.slide.has-image.no-text::after { content: none; }
.slide.is-text { align-items: center; background: linear-gradient(90deg, rgba(8,10,13,.84) 0%, rgba(8,10,13,.5) 55%, rgba(8,10,13,.14) 100%); }
.caption { position: relative; z-index: 1; padding: clamp(22px, 4.2vw, 56px); max-width: 680px; color: #fff; }
.caption .kicker { display: inline-block; font: 600 .8125rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; margin-bottom: 14px; }
.caption h1, .caption h2 { color: #fff; font: italic 800 clamp(2.1rem, 4.4vw, 3.6rem)/.98 var(--cond); text-transform: uppercase; letter-spacing: .005em; margin: 0 0 14px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.caption p { font-size: 1.125rem; color: #E9ECEF; max-width: 46ch; }
.caption .actions { margin-top: 18px; }
.slider-nav { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; }
.slider-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.45); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slider-nav button:hover { background: var(--accent); border-color: var(--accent); }
.slider-dots { display: flex; gap: 6px; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; }
.slider-dots button[aria-current="true"] { background: var(--accent); border-color: var(--accent); }
.slider-nav [data-play] .icon { width: 15px; height: 15px; }
.slider-nav [data-play] .i-play, .slider-nav [data-play][aria-pressed="true"] .i-pause { display: none; }
.slider-nav [data-play][aria-pressed="true"] .i-play { display: block; }

/* dark see-through panel holding the six tiles; the About panel overlaps its lower edge */
.home-panels { margin-top: 18px; }
.tiles-panel { background: rgba(22,23,24,.84); padding: 20px 20px 118px; box-shadow: 0 18px 42px rgba(0,0,0,.35); }
.tiles-panel h2 { color: #fff; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 56px; }
.tile { display: flex; flex-direction: column; height: 100%; min-height: 250px; background: var(--tile); border: 2px solid color-mix(in srgb, var(--sky) 72%, #fff); border-radius: 4px; color: var(--brand); text-decoration: none; overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 30px rgba(0,0,0,.4); color: var(--brand); }
.tile-media { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 150px; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-media .icon { width: 86px; height: 86px; color: var(--brand); }
.tile-text { padding: 13px 18px 15px; background: rgba(255,255,255,.6); border-top: 1px solid rgba(0,0,0,.07); }
.tile-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: italic 800 1.625rem/1 var(--cond); text-transform: uppercase; letter-spacing: .01em; }
.tile-title .icon { width: 22px; height: 22px; color: var(--accent); }
.tile-sub { display: block; font-size: .9375rem; color: #3D4247; margin-top: 4px; }

.home-panels.no-tiles .about { margin: 0; }
.about { position: relative; margin: -86px 20px 0; background: var(--paper); border: 2px solid color-mix(in srgb, var(--sky) 85%, #fff); border-radius: 6px; padding: 26px 34px 26px; box-shadow: 0 18px 42px rgba(0,0,0,.4); }
.about h2 { color: var(--accent); font-size: 2.125rem; margin-bottom: 12px; }
.about-body { display: grid; gap: 8px 40px; }
.about-body p { color: #33383D; }
.about-usps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.about-usps li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--brand); }
.about-usps .icon { color: var(--accent); width: 1.4em; height: 1.4em; }
.makes { margin-top: 20px; background: #fff; border: 1px solid #E3E6E8; border-radius: 4px; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.makes h3 { margin: 0; font: 600 .8125rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.makes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.make, .make a { font: italic 800 1.5rem/1 var(--cond); color: #5E646A; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.make a:hover { color: var(--accent); }
.make img { height: 46px; width: auto; }

.home-lower { background: var(--page); margin-top: 40px; padding: 40px 0 52px; }
.home-cta { margin-top: 26px; text-align: center; }

.section { margin-bottom: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 3px solid var(--accent); padding-bottom: 8px; margin-bottom: 18px; }
.section-head h2 { font-size: 1.875rem; margin: 0; }
.parts-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; }
.parts-index section { padding: 14px 0 18px; border-bottom: 1px solid var(--rule); }
.parts-index h3 { font-size: 1.75rem; font-style: italic; font-weight: 800; margin-bottom: 8px; }
.parts-index h3 a { color: var(--brand); text-decoration: none; }
.parts-index ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.parts-index li a { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--ink); text-decoration: none; }
.parts-index li a:hover { color: var(--accent); text-decoration: underline; }
.parts-index .years { color: var(--ink-3); font-size: .875rem; white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.cat-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); text-decoration: none; font-weight: 600; }
.cat-grid a:hover { border-color: var(--accent); color: var(--brand); }
.cat-grid .icon { color: var(--ink-3); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 18px 18px 18px 64px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 12px; font: italic 800 2.4rem/1 var(--cond); color: var(--accent); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------------------------ listing layout */
.listing { display: grid; gap: 20px; }
.hero > *, .split > *, .listing > *, .account > *, .product > * { min-width: 0; }
.filters { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 4px 16px 12px; align-self: start; }
.filters summary { cursor: pointer; font-weight: 600; padding: 10px 0; color: var(--brand); }
.filter-group { border-top: 1px solid var(--rule-soft); padding: 12px 0 4px; }
.filter-group h3 { font-size: 1.125rem; margin-bottom: 6px; }
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group li a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: var(--ink); text-decoration: none; }
.filter-group li a:hover { color: var(--accent); }
.filter-group li a.is-active { color: var(--brand); font-weight: 600; }
.filter-group li a.is-active::after { content: "remove"; font-weight: 500; font-size: .8125rem; color: var(--ink-3); text-decoration: underline; }
.filter-group .n { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.toolbar form { display: flex; gap: 8px; align-items: center; margin: 0; }
.toolbar label { white-space: nowrap; }
.toolbar select { min-height: 40px; }
.toggle-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.toggle-link::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--brand); border-radius: 3px; background: #fff; }
.toggle-link.is-on::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.subcats a { padding: 6px 12px; background: #fff; border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; color: var(--ink); font-weight: 500; }
.subcats a:hover { border-color: var(--accent); color: var(--brand); }

/* ------------------------------------------------------------------ the bin label (product row) */
.labels { display: grid; gap: 10px; }
.label-row { background: #fff; border: 1px solid var(--rule); border-radius: 4px; display: grid; grid-template-columns: 72px 1fr; gap: 0; }
.label-row .lr-img { grid-row: span 3; padding: 12px 0 12px 12px; }
.thumb { width: 60px; height: 60px; border-radius: 3px; background: var(--page); display: flex; align-items: center; justify-content: center; color: var(--ink-3); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .icon { width: 28px; height: 28px; }
.lr-info { padding: 12px 14px 8px; min-width: 0; }
.part-no { font: 700 1.5rem/1 var(--cond); color: var(--brand); letter-spacing: .03em; text-decoration: none; display: inline-block; }
a.part-no:hover { color: var(--accent); text-decoration: underline; }
.lr-info .title { display: block; margin: 4px 0 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.lr-info .title:hover { color: var(--brand); text-decoration: underline; }
.lr-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .875rem; color: var(--ink-3); }
.lr-stock { padding: 10px 14px; border-top: 2px dashed var(--rule-soft); display: grid; gap: 4px; align-content: start; }
.loc-list { list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--ink-2); display: grid; gap: 1px; }
.loc-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.loc-list .q { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.loc-list .lead { color: var(--ink-3); min-width: 6.5em; text-align: right; }
.lr-buy { padding: 10px 14px 14px; border-top: 2px dashed var(--rule-soft); display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; grid-column: 1 / -1; }
.price-block { line-height: 1.15; }
.price-block .price { font: 700 1.5rem var(--cond); color: var(--ink); }
.price-block .vat { display: block; font-size: .8125rem; color: var(--ink-3); }
.price-block .was { font-size: .8125rem; color: var(--ink-3); text-decoration: line-through; margin-left: 6px; }
.login-price { font-size: .9375rem; }
.buy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.buy-form { display: flex; gap: 8px; align-items: center; margin: 0; }

/* ------------------------------------------------------------------ product page */
.product { display: grid; gap: 24px; margin-bottom: 40px; }
.gallery { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 16px; }
.gallery .main { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--page); border-radius: 4px; overflow: hidden; color: var(--ink-3); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery .main .icon { width: 72px; height: 72px; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; }
.gallery .thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.gallery .thumbs img { width: 64px; height: 64px; object-fit: cover; }
.buybox { background: #fff; border: 1px solid var(--rule); border-radius: 6px; }
.buybox-head { padding: 20px 20px 16px; }
.buybox .part-no { font-size: 2.75rem; }
.buybox h1 { font: 600 1.375rem/1.25 var(--font); color: var(--ink); margin: 6px 0 10px; }
.buybox .facts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--ink-2); font-size: .9375rem; }
.buybox-stock { border-top: 2px dashed var(--rule); padding: 16px 20px; }
.buybox-stock table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9375rem; }
.buybox-stock td { padding: 5px 0; border-bottom: 1px solid var(--rule-soft); }
.buybox-stock td.q { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.buybox-stock td.lead { text-align: right; color: var(--ink-3); }
.buybox-buy { border-top: 2px dashed var(--rule); padding: 18px 20px 20px; }
.buybox-buy .price-block .price { font-size: 2.25rem; }
.buybox-buy .buy-row { margin-top: 14px; }
.notes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.notes li { display: flex; gap: 8px; }
.notes .icon { color: var(--ink-3); }
.fits { columns: 2 220px; column-gap: 32px; }
.fits section { break-inside: avoid; margin-bottom: 14px; }
.fits h3 { font-size: 1.125rem; margin-bottom: 4px; }
.fits ul { margin: 0; padding-left: 18px; }
.description { white-space: pre-line; }

/* ------------------------------------------------------------------ tables (basket, orders) */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--rule); border-radius: 6px; margin-bottom: 20px; }
table.data { width: 100%; border-collapse: collapse; font-size: .9375rem; }
table.data th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 10px 12px; border-bottom: 2px solid var(--rule); background: #F6F7F8; white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data .r, table.data td.money { text-align: right; white-space: nowrap; }
table.data .part-no { font-size: 1.1875rem; }
table.data tr.has-problem td { background: var(--bad-bg); }
.problem { color: var(--bad); font-weight: 600; font-size: .875rem; margin-top: 4px; }
.totals { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.totals td { padding: 6px 0; }
.totals td:last-child { text-align: right; }
.totals tr.grand td { border-top: 3px solid var(--accent); padding-top: 10px; font: 700 1.5rem var(--cond); color: var(--brand); }
.split { display: grid; gap: 20px; }
.split > .panel { margin-top: 0; }
.sticky { position: sticky; top: 16px; }

/* ------------------------------------------------------------------ account */
.account { display: grid; gap: 20px; }
.account-nav { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 8px; align-self: start; }
.account-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 3px; font-weight: 500; }
.account-nav a:hover { background: var(--brand-tint); color: var(--brand); }
.account-nav a[aria-current="page"] { background: var(--brand); color: var(--brand-ink-text); box-shadow: inset 4px 0 0 var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; }
.stat .k { color: var(--ink-3); font-size: .875rem; }
.stat .v { font: 700 1.5rem var(--cond); color: var(--brand); }
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.addr { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 16px; }
.addr h3 { font-size: 1.125rem; margin-bottom: 6px; }
.addr address { font-style: normal; color: var(--ink-2); margin-bottom: 10px; }
.qr { background: #fff; padding: 10px; border: 1px solid var(--rule); border-radius: 4px; width: 220px; height: 220px; }
.secret { font: 600 1.125rem var(--cond); letter-spacing: .08em; background: var(--page); padding: 8px 12px; border-radius: 3px; display: inline-block; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 160px)); gap: 6px 24px; font: 600 1.25rem var(--cond); letter-spacing: .06em; padding: 0; list-style: none; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 14px 18px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.timeline time { display: block; color: var(--ink-3); font-size: .8125rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; }
.bank-box { white-space: pre-line; background: var(--warn-bg); border: 1px solid #EBCB8B; border-radius: 4px; padding: 14px 16px; font-weight: 500; }
.terms-box { border: 1px solid var(--rule); border-radius: 4px; padding: 10px 14px; margin: 12px 0; background: #fafafa; }
.terms-box summary { cursor: pointer; font-weight: 500; }
.terms-box div { margin-top: 8px; white-space: pre-line; }
.quote-request { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: 14px; }
.quote-request summary { cursor: pointer; color: var(--brand); font-weight: 500; margin-bottom: 8px; }
.quote-request textarea { width: 100%; margin-bottom: 8px; min-height: 72px; }
.quote-request input[type="text"] { width: 100%; margin-bottom: 8px; }
.quote-request .check input { width: 18px; height: 18px; }
.quote-request .check { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin-bottom: 8px; }
.panel-aside { max-width: 340px; margin: 16px 0 0 auto; }
.danger-zone { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.page-head .actions form { display: inline-block; }

/* ------------------------------------------------------------------ pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 20px; }
.pagination a, .pagination span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--rule); border-radius: 3px; background: #fff; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--brand); color: var(--brand-ink-text); border-color: var(--brand); font-weight: 600; }
.empty { background: #fff; border: 1px dashed var(--rule); border-radius: 6px; padding: 32px 20px; text-align: center; }
.empty p { margin: 0 auto 12px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #050707; color: #C5CBD1; font-size: .9375rem; }
.footer-top { display: grid; gap: 24px 40px; padding-top: 26px; padding-bottom: 28px; align-items: start; }
@media (min-width: 900px) { .footer-top { grid-template-columns: auto minmax(0, 1fr) auto; } }
.ft-label { font: 500 .9375rem var(--font); color: #A9B0B7; margin: 0 0 8px; letter-spacing: .02em; }
.ft-phones { font: 500 1.625rem/1.25 var(--font); margin: 0; color: var(--sky); }
.ft-phones a { color: var(--sky); text-decoration: none; white-space: nowrap; }
.ft-phones a:hover { text-decoration: underline; }
.ft-phones .sep { margin: 0 10px; }
.ft-email { margin: 6px 0 0; }
.ft-email a { color: #E9ECEF; }
.ft-pay { text-align: center; }
.pay-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 0; }
.pay-chips li { display: inline-flex; gap: 6px; align-items: center; background: #15181A; border: 1px solid #2D3236; border-radius: 4px; padding: 6px 10px; font-weight: 600; color: #E9ECEF; font-size: .875rem; }
.pay-chips .icon { color: var(--sky); }
.pay-chips li.pay-logo { background: #fff; border-color: #fff; padding: 5px 10px; height: 40px; }
.pay-chips li.pay-logo img { height: 28px; width: auto; max-width: 84px; object-fit: contain; }
.pay-marks { max-height: 54px; width: auto; margin: 0 auto; }
.ft-social { text-align: right; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 0; margin: 0; }
.social a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 18px; background: #3A3E42; color: #fff; text-decoration: none; font-weight: 600; font-size: .875rem; }
.social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-links h2 { color: #fff; font-size: 1.25rem; text-transform: uppercase; margin-bottom: 10px; }
.footer-links a { color: #E9ECEF; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links address { font-style: normal; display: grid; gap: 4px; color: #A9B0B7; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); }
.footer-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 14px; padding-bottom: 18px; color: #8D949B; font-size: .8125rem; }

/* ------------------------------------------------------------------ auth pages */
.auth { display: grid; gap: 24px; max-width: 980px; margin: 0 auto; }
.auth .aside { color: var(--ink-2); }
.auth .aside ul { padding-left: 20px; }

/* ------------------------------------------------------------------ larger screens */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .label-row { grid-template-columns: 84px minmax(0, 1fr) minmax(200px, 250px); }
  .label-row .lr-img { padding: 14px 0 14px 14px; }
  .thumb { width: 70px; height: 70px; }
  .lr-stock { border-top: 0; border-left: 2px dashed var(--rule-soft); padding: 14px; }
  .lr-buy { grid-column: 2 / -1; }
}
@media (min-width: 900px) {
  .listing { grid-template-columns: 250px minmax(0, 1fr); }
  .filters summary { display: none; }
  .filters { padding-top: 0; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .split { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .account { grid-template-columns: 230px minmax(0, 1fr); }
  .auth { grid-template-columns: 1fr 1fr; align-items: start; }
  .about-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
@media (min-width: 1100px) {
  .label-row { grid-template-columns: 92px minmax(0, 1fr) 250px 320px; }
  .label-row .lr-img { grid-row: auto; }
  .lr-buy { grid-column: auto; border-top: 0; border-left: 2px dashed var(--rule-soft); flex-direction: column; align-items: stretch; justify-content: center; padding: 14px; }
  .lr-buy .buy-row { justify-content: space-between; }
}

/* ------------------------------------------------------------------ tablets and phones */
@media (max-width: 1099px) {
  .tiles { gap: 22px 26px; }
  .cat-link { padding: 0 20px; }
  .header-boxes .hbox { width: 190px; }
}
@media (max-width: 899px) {
  .utility-contact { display: none; }
  .utility .wrap { justify-content: flex-end; }
  .who-company { display: none; }
  .brandbar { flex-wrap: wrap; padding-top: 12px; padding-bottom: 14px; gap: 12px; }
  .brand { gap: 12px; align-items: center; }
  .brand-badge { height: 58px; }
  .brand-name { height: 34px; margin-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .header-boxes { width: 100%; }
  .header-boxes .hbox { flex: 1; width: auto; }
  .hbox-title { padding: 8px 10px; font-size: .8125rem; }
  .hbox-row { padding: 6px 8px 6px 12px; font-size: .8125rem; }
  .hbox-count { min-width: 44px; font-size: 1rem; }
  .navrow-strip { width: 100%; min-width: 0; clip-path: none; padding: 10px var(--gutter); flex-direction: column; align-items: stretch; gap: 10px; }
  .search { max-width: none; margin-left: 0; flex: 1 1 auto; }
  .nav-collapse { display: none; }
  body.nav-open .page-links { display: flex; justify-content: center; flex-wrap: wrap; }
  body.nav-open .catbar { display: block; }
  .catbar { margin-top: 0; }
  .catbar-list { flex-direction: column; padding: 0; }
  .cat-item + .cat-item { border-left: 0; box-shadow: none; border-top: 1px solid #1F2020; }
  .cat-link { height: 48px; padding: 0 var(--gutter); justify-content: space-between; }
  .cat-quick .cat-link { justify-content: flex-start; }
  .cat-drop { position: static; box-shadow: none; border-top: 0; background: #232424; padding: 4px 0 10px; }
  .cat-drop a { padding-left: calc(var(--gutter) + 14px); }
  .hero.photos .slide { aspect-ratio: 2 / 1; }
  .slider-nav { right: 8px; bottom: 8px; gap: 5px; }
  .slider-nav button { width: 30px; height: 30px; }
  .slider-dots { display: none; }
  .tiles-panel { padding: 12px 12px 90px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .about { margin: -66px 12px 0; padding: 20px 20px 22px; }
  .ft-pay, .ft-social { text-align: left; }
  .social, .pay-chips { justify-content: flex-start; }
  .filters:not([open]) { padding-bottom: 4px; }
}
@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  .brand-badge { height: 48px; }
  .brand-name { height: 26px; }
  .hbox-row > span:first-child { display: none; }
  .hbox-row { justify-content: center; }
  .slide { min-height: 330px; }
  .tile { min-height: 168px; }
  .tile-media { min-height: 96px; }
  .tile-media .icon { width: 56px; height: 56px; }
  .tile-text { padding: 10px 12px 12px; }
  .tile-title { font-size: 1.25rem; }
  .tile-sub { display: none; }
  .makes { padding: 12px 14px; }
  .make, .make a { font-size: 1.25rem; }
  .ft-phones { font-size: 1.375rem; }
  .buybox .part-no { font-size: 2.25rem; }
}

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

/* ------------------------------------------------------------------ print (invoices) */
.print-page { background: #fff; }
.invoice { max-width: 860px; margin: 0 auto; padding: 32px 24px; background: #fff; }
.invoice header { display: flex; justify-content: space-between; gap: 24px; border-bottom: 3px solid var(--accent); padding-bottom: 16px; margin-bottom: 20px; }
.invoice .inv-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.invoice .inv-brand img:first-child { height: 58px; width: auto; }
.invoice .inv-brand img:last-child { height: 28px; width: auto; }
.invoice h1 { font-size: 2.25rem; margin: 0; }
.invoice .parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.invoice table.data th { background: #fff; }
.invoice .inv-totals { margin-left: auto; max-width: 340px; }
.invoice footer { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: .875rem; color: var(--ink-2); }
.print-bar { max-width: 860px; margin: 16px auto 0; padding: 0 24px; display: flex; gap: 10px; }
@media print {
  .print-bar, .no-print { display: none !important; }
  body { background: #fff; }
  .invoice { padding: 0; max-width: none; }
  a { color: inherit; text-decoration: none; }
}
