/* ============================================================
   LJ Auto Global & Salvage — e-commerce + marketplace
   Deep navy + warm gold · Outfit · CarParts-style storefront
   ============================================================ */

:root {
  /* ---- LJ Auto brand: charcoal-black · brushed steel · orange ---- */
  --bg: #0b0c0e;
  --bg-section: #121317;
  --bg-tint: #1d2026;
  --bg-card: #15171c;
  --bg-dark: #08090b;        /* near-black (utility bar / footer) */
  --bg-navy: #16181c;        /* charcoal surface (kept var name) */
  --header-bg: #0d0e11;      /* dark header */

  --primary: #1b1e23;        /* charcoal (was navy) */
  --primary-hover: #2b2f36;

  /* orange accent system (kept gold-* var names for cascade) */
  --gold: #ef6a24;
  --gold-deep: #c8521a;      /* darker orange — text on light */
  --gold-light: #ff9a5c;     /* light orange — accents on dark */
  --orange: #ef6a24;
  --steel: #b9c0c9;          /* brushed-steel accent */
  --grad-accent: linear-gradient(120deg, #e0531c 0%, #f37127 52%, #ff9a4f 100%);
  --grad-accent-soft: linear-gradient(120deg, rgba(239,106,36,.13), rgba(255,154,92,.13));
  --grad-navy: linear-gradient(140deg, #1b1e23 0%, #2a2e35 55%, #3a4049 100%);
  --grad-navy-deep: linear-gradient(155deg, #0a0b0d 0%, #16181c 55%, #24282e 100%);

  --text-heading: #f3f5f7;
  --text-body: #b4bac2;
  --text-muted: #7f868e;
  --text-on-dark: #eef0f2;
  --text-on-dark-muted: #aab2bc;   /* steel/silver */

  --green: #2f9e6b;
  --green-bg: #e6f5ee;
  --blue: #2f72c4;
  --blue-bg: #e7f0fb;
  --amber-bg: #fdeede;

  --border: #262a31;
  --border-strong: #353b44;
  --input-bg: #0e0f13;
  --input-search: #181b20;
  --input-border: #2e333b;
  --shadow-sm: 0 6px 22px rgba(15, 17, 20, 0.08);
  --shadow: 0 22px 56px rgba(15, 17, 20, 0.16);
  --shadow-lg: 0 38px 80px rgba(15, 17, 20, 0.26);
  --shadow-accent: 0 16px 36px rgba(239, 106, 36, 0.36);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(.2,.7,.2,1);
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  overflow-x: clip;
}
/* wrapper must not box the header, or position:sticky only holds for the
   wrapper's own height. display:contents lets the header stick page-wide. */
#ljHeader { display: contents; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { color: var(--text-heading); line-height: 1.15; font-weight: 800; letter-spacing: -0.022em; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-gold {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--orange);
}
.muted { color: var(--text-muted); }
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 3000; background: var(--primary); color: #fff;
  padding: 12px 24px; border-radius: 0 0 12px 12px; font-weight: 600; transition: transform .25s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: .01em;
  padding: 13px 24px; border-radius: 12px; border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--grad-accent); color: #1c1206; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(239,106,36,.45); }
.btn-navy { background: var(--primary); color: #fff; }
.btn-navy:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-heading); border: 1.6px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--text-heading); background: var(--bg-tint); }
.btn-ghost { background: var(--bg-tint); color: var(--text-heading); }
.btn-ghost:hover { background: var(--bg-card); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold-deep); background: var(--grad-accent-soft);
  border: 1px solid rgba(239,106,36,.3); padding: 7px 15px; border-radius: 50px;
}
.pill.light { color: var(--gold-light); background: rgba(255,255,255,.08); border-color: rgba(255,154,92,.4); }

/* =====================================================
   UTILITY BAR
   ===================================================== */
.utility-bar {
  background: var(--bg-dark); color: var(--text-on-dark-muted);
  font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.utility-bar a { color: var(--text-on-dark-muted); transition: color .2s; }
.utility-bar a:hover { color: var(--gold-light); }
.utility-left { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.utility-left svg { color: var(--gold-light); }
.utility-right { display: flex; align-items: center; gap: 22px; }
.utility-right a { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) { .utility-right .u-hide { display: none; } .utility-left .u-hide { display:none; } }

/* currency switcher (GBP / USD) — prominent, in the header next to the basket */
.currency-toggle { display: inline-flex; align-items: center; gap: 8px; }
.currency-toggle .cur-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--text-on-dark-muted); white-space: nowrap;
}
.currency-toggle .cur-label::after { content: ":"; }
.currency-toggle button {
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.16); color: var(--text-on-dark);
  font-family: inherit; font-size: .9rem; font-weight: 800; letter-spacing: .01em;
  height: 42px; padding: 0 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; line-height: 1;
}
.currency-toggle button:first-of-type { border-radius: 11px 0 0 11px; border-right: none; }
.currency-toggle button:last-of-type { border-radius: 0 11px 11px 0; }
.currency-toggle button:hover { background: rgba(255,255,255,.12); color: #fff; }
.currency-toggle button.active { background: var(--grad-accent); border-color: transparent; color: #1c1206; box-shadow: var(--shadow-accent); }
@media (max-width: 1040px) { .currency-toggle .cur-label { display: none; } }
@media (max-width: 560px) {
  .currency-toggle button { height: 38px; padding: 0 11px; font-size: .82rem; }
  .header-actions { gap: 7px; }
}

/* =====================================================
   SITE HEADER
   ===================================================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--header-bg); box-shadow: 0 1px 0 rgba(255,255,255,.06); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.header-main { display: flex; align-items: center; gap: 26px; height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Michroma', var(--font); font-weight: 400; font-size: 1.04rem; color: #fff; letter-spacing: 0; text-transform: uppercase; line-height: 1.12; }
.brand-sub { font-family: 'Michroma', var(--font); font-size: .55rem; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; }

/* search */
.header-search { flex: 1; max-width: 660px; min-width: 0; }
.search-box {
  display: flex; align-items: stretch; height: 52px; min-width: 0; max-width: 100%;
  border: 2px solid var(--gold); border-radius: 12px; overflow: hidden; background: var(--bg-card);
}
.search-box select {
  border: none; background: var(--bg-tint); color: var(--text-heading); font-weight: 600;
  padding: 0 14px; width: 150px; min-width: 0; flex: none; border-right: 1px solid var(--border-strong); cursor: pointer; outline: none;
}
.search-box input { border: none; flex: 1 1 0; padding: 0 16px; color: var(--text-heading); outline: none; min-width: 0; width: 0; }
.search-box input::placeholder { color: var(--text-muted); }
.search-box button {
  border: none; background: var(--primary); color: #fff; padding: 0 22px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; transition: background .2s;
}
.search-box button:hover { background: var(--primary-hover); }
@media (max-width: 560px) {
  .search-box { height: 48px; }
  .search-box select { width: 104px; padding: 0 10px; font-size: .9rem; }
  .search-box button { padding: 0 16px; }
  .search-box button span { display: none; }   /* icon-only search on small phones */
}

/* header actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-link {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--text-on-dark); font-size: .72rem; font-weight: 600; padding: 6px 10px; border-radius: 10px; transition: background .2s; position: relative;
}
.icon-link:hover { background: rgba(255,255,255,.08); }
.icon-link svg { color: var(--text-on-dark); }
[data-cart-count] {
  position: absolute; top: 0; right: 4px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--orange); color: #fff; border-radius: 50px; font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.5,.5,1);
}
[data-cart-count].has { transform: scale(1); }
.sell-btn { display: inline-flex; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.menu-toggle span { width: 24px; height: 2.4px; background: var(--bg-card); border-radius: 2px; transition: .3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* category nav */
.catnav { background: var(--primary); }
.catnav-list { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.catnav-list a {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-on-dark);
  font-size: .9rem; font-weight: 600; padding: 13px 15px; transition: background .2s, color .2s; position: relative;
}
.catnav-list a svg { color: var(--gold-light); opacity: .9; }
.catnav-list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.catnav-list a.all { color: var(--gold-light); font-weight: 700; }

/* =====================================================
   SHARED SECTION HEADS
   ===================================================== */
.section { position: relative; padding: 88px 0; }
.section.alt { background: var(--bg-section); }
.section.dark { background: var(--grad-navy-deep); color: var(--text-on-dark); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section.dark .section-head h2 { color: #fff; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 16px 0 14px; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }
.section.dark .section-head p { color: var(--text-on-dark-muted); }
.section-head .pill { margin: 0 auto; }

.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.row-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.row-head .link-more { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-deep); font-weight: 700; }
.row-head .link-more:hover { gap: 11px; }

/* =====================================================
   HERO (home)
   ===================================================== */
.hero { position: relative; background: var(--grad-navy-deep); color: var(--text-on-dark); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 420px at 82% 18%, rgba(239,106,36,.28), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 70px 0 78px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 900; line-height: 1.07; }
.hero-sub { color: var(--text-on-dark-muted); font-size: 1.12rem; max-width: 540px; margin: 20px 0 26px; }
.hero-eyebrow { display: inline-flex; }

/* hero reg/part search */
.hero-finder { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px; backdrop-filter: blur(6px); max-width: 560px; }
.hero-finder h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; display:flex; align-items:center; gap:9px; }
.hero-finder h3 svg { color: var(--gold-light); }
.finder-row { display: flex; gap: 10px; }
.finder-row select, .finder-row input {
  height: 50px; border-radius: 11px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.95); color: var(--text-heading); padding: 0 14px; outline: none;
}
.finder-row select { flex: 1; font-weight: 600; }
.finder-row input { flex: 1; }
.finder-row .btn { height: 50px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text-on-dark); }
.hero-trust svg { color: var(--gold-light); }

.hero-visual { position: relative; }
.hero-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); aspect-ratio: 4/4.3; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
/* logo lockup in the hero — contain the full brand mark on a matching dark panel */
.hero-frame-logo { background: radial-gradient(120% 120% at 50% 18%, #24272e 0%, #14161b 60%, #0c0d11 100%); }
.hero-frame-logo img { object-fit: contain; padding: clamp(22px, 5vw, 52px); }
.hero-float {
  position: absolute; background: var(--bg-card); color: var(--text-heading); border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-float-stat { left: -22px; bottom: 40px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero-float-stat .hf-num { font-size: 1.7rem; font-weight: 900; color: var(--text-heading); }
.hero-float-stat .hf-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; }
.hero-float-badge { right: -16px; top: 34px; font-weight: 700; font-size: .9rem; }
.hero-float-badge svg { color: var(--orange); }

/* =====================================================
   TRUST STRIP
   ===================================================== */
.trust-strip { background: var(--bg-card); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--grad-accent-soft); color: var(--gold-deep); }
.trust-item strong { display: block; color: var(--text-heading); font-size: .98rem; }
.trust-item span { font-size: .84rem; color: var(--text-muted); }

/* =====================================================
   CATEGORY CARDS
   ===================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cat-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-tint); color: var(--text-heading); border: 1px solid var(--border); transition: background .25s, color .25s, border-color .25s; }
.cat-card:hover .cat-ic { background: var(--grad-accent); color: #1c1206; border-color: transparent; }
.cat-card h3 { font-size: 1rem; }
.cat-card span { font-size: .82rem; color: var(--text-muted); }

/* =====================================================
   PRODUCT GRID + CARD
   ===================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pc-media { position: relative; display: block; aspect-ratio: 4/3.1; overflow: hidden; background: var(--bg-navy); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badge {
  position: absolute; top: 12px; left: 12px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 10px; border-radius: 50px; color: #fff;
}
.pc-badge.official { background: rgba(20,23,27,.92); }
.pc-badge.community { background: var(--grad-accent); color: #1c1206; }
.pc-cond {
  position: absolute; top: 12px; right: 12px; font-size: .68rem; font-weight: 800; padding: 5px 10px; border-radius: 50px; background: var(--bg-card); color: var(--text-heading);
}
.pc-cond.cond-new { color: var(--green); }
.pc-cond.cond-refurbished { color: var(--blue); }
.pc-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.pc-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold-deep); }
.pc-title { font-size: 1.02rem; font-weight: 700; line-height: 1.28; }
.pc-title a:hover { color: var(--gold-deep); }
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pc-stars { color: var(--orange); font-size: .92rem; letter-spacing: 1px; }
.pc-fit { font-size: .78rem; color: var(--text-muted); }
.pc-ship { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--gold-deep); margin-top: -2px; }
.pc-ship svg { flex: none; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.pc-price { font-size: 1.42rem; font-weight: 900; color: var(--text-heading); }
.btn-add { padding: 10px 15px; font-size: .88rem; border-radius: 10px; }

/* =====================================================
   SELL CTA BANNER
   ===================================================== */
.sell-banner { background: var(--grad-navy-deep); color: var(--text-on-dark); position: relative; overflow: hidden; }
.sell-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 360px at 12% 30%, rgba(239,106,36,.3), transparent 70%); }
.sell-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 64px 0; }
.sell-inner h2 { color: #fff; font-size: clamp(1.8rem,3.4vw,2.6rem); margin: 14px 0 14px; }
.sell-inner p { color: var(--text-on-dark-muted); font-size: 1.08rem; max-width: 520px; }
.sell-steps { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.sell-step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.sell-step b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-accent); color: #1c1206; font-weight: 900; }
.sell-cta-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 30px; text-align: center; }
.sell-cta-box .big { font-size: 2.6rem; font-weight: 900; color: var(--gold-light); line-height: 1; }
.sell-cta-box p { color: var(--text-on-dark-muted); margin: 8px 0 20px; }

/* =====================================================
   HOW IT WORKS / STEPS
   ===================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; }
.step-num { position: absolute; top: -16px; left: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-accent); color: #1c1206; font-weight: 900; display: grid; place-items: center; box-shadow: var(--shadow-accent); }
.step-ic { color: var(--gold-deep); margin: 8px 0 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--text-muted); }

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review-stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { color: var(--text-body); }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-navy); color: var(--gold-light); display: grid; place-items: center; font-weight: 800; }
.reviewer strong { display: block; color: var(--text-heading); font-size: .96rem; }
.reviewer span { font-size: .82rem; color: var(--text-muted); }

/* =====================================================
   PAGE HEADER (interior pages)
   ===================================================== */
.page-head { background: var(--grad-navy-deep); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.page-head::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 300px at 85% 20%, rgba(239,106,36,.25), transparent 70%); }
.page-head .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--text-on-dark-muted); margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-light); }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-head p { color: var(--text-on-dark-muted); margin-top: 8px; }

/* =====================================================
   SHOP LAYOUT
   ===================================================== */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; padding: 44px 0 80px; }
.filters { position: sticky; top: 104px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.filters-head { display: none; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-group:first-of-type { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-muted); margin-bottom: 12px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .94rem; color: var(--text-body); }
.filter-opt input { width: 17px; height: 17px; accent-color: var(--orange); cursor: pointer; }
.filter-opt .count { margin-left: auto; font-size: .8rem; color: var(--text-muted); }
.price-range { display: flex; align-items: center; gap: 10px; }
.price-range input { width: 100%; }
.filter-reset { margin-top: 6px; }

.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-count { color: var(--text-muted); font-size: .95rem; }
.shop-count strong { color: var(--text-heading); }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort select { height: 44px; border: 1.6px solid var(--border-strong); border-radius: 10px; padding: 0 14px; color: var(--text-heading); font-weight: 600; background: var(--bg-card); }
.filter-toggle { display: none; }
.shop-main .product-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state { text-align: center; padding: 70px 20px; background: var(--bg-card); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state svg { color: var(--text-muted); margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 18px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-tint); color: var(--text-heading); font-size: .84rem; font-weight: 600; padding: 6px 12px; border-radius: 50px; }
.chip button { background: none; border: none; color: var(--text-muted); display: grid; place-items: center; }
.chip button:hover { color: var(--orange); }

/* =====================================================
   PRODUCT DETAIL
   ===================================================== */
.pdp { padding: 44px 0 80px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pdp-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-navy); aspect-ratio: 4/3.2; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .pc-badge { font-size: .74rem; padding: 7px 13px; }
.pdp-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 12px; }
.pdp-cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--gold-deep); }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pdp-rating .stars { color: var(--orange); letter-spacing: 1.5px; }
.pdp-rating .rc { color: var(--text-muted); font-size: .9rem; }
.pdp-price { font-size: 2.6rem; font-weight: 900; color: var(--text-heading); }
.pdp-price small { font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.pdp-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--green); margin: 8px 0 22px; }
.pdp-stock.low { color: var(--orange); }
.pdp-stock .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pdp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 22px 0; }
.pdp-specs div { background: var(--bg-card); padding: 12px 16px; font-size: .9rem; }
.pdp-specs dt { color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; }
.pdp-specs dd { color: var(--text-heading); font-weight: 700; margin-top: 2px; }
.pdp-desc { color: var(--text-body); margin: 4px 0 24px; }
.pdp-buy { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.6px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.qty-stepper button { width: 46px; background: var(--bg-tint); border: none; font-size: 1.3rem; color: var(--text-heading); }
.qty-stepper input { width: 54px; text-align: center; border: none; outline: none; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-seller { display: flex; align-items: center; gap: 12px; background: var(--bg-section); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-top: 24px; }
.pdp-seller .savatar { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-navy); color: var(--gold-light); display: grid; place-items: center; font-weight: 800; flex: none; }
.pdp-seller .sname { font-weight: 700; color: var(--text-heading); }
.pdp-seller .smeta { font-size: .84rem; color: var(--text-muted); }
.pdp-assure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.pdp-assure li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--text-body); }
.pdp-assure svg { color: var(--green); flex: none; }

/* delivery / postage panel on product page */
.pdp-delivery { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin: 4px 0 24px; background: var(--bg-section); }
.pdp-delivery h4 { display: flex; align-items: center; gap: 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 12px; }
.pdp-delivery h4 svg { color: var(--gold-deep); }
.pdp-delivery ul { display: flex; flex-direction: column; gap: 9px; }
.pdp-delivery li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.pdp-delivery li span { color: var(--text-body); font-weight: 600; }
.pdp-delivery li span em { color: var(--text-muted); font-weight: 400; font-style: normal; font-size: .86rem; }
.pdp-delivery li strong { color: var(--text-heading); font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.pdp-delivery .free { color: var(--green); }

/* =====================================================
   SELL FORM
   ===================================================== */
.sell-page { padding: 44px 0 80px; }
.sell-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card .sub { color: var(--text-muted); font-size: .94rem; margin-bottom: 22px; }
.delivery-block { margin: 4px 0 18px; padding: 18px; border: 1px dashed var(--border-strong); border-radius: 14px; background: var(--bg-section); }
.form-subhead { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; font-weight: 800; color: var(--text-heading); margin-bottom: 4px; }
.form-subhead svg { color: var(--gold-deep); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--text-heading); margin-bottom: 7px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.6px solid var(--border-strong); border-radius: 11px; padding: 12px 14px; color: var(--text-heading); background: var(--bg-card); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,125,26,.16); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d65745; box-shadow: 0 0 0 3px rgba(214,87,69,.14); }
.err-msg { color: #d65745; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid .err-msg { display: block; }

.sell-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--grad-navy-deep); color: var(--text-on-dark); border-radius: var(--radius); padding: 26px; }
.aside-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.aside-card ul { display: flex; flex-direction: column; gap: 12px; }
.aside-card li { display: flex; gap: 11px; font-size: .92rem; color: var(--text-on-dark-muted); }
.aside-card li svg { color: var(--gold-light); flex: none; margin-top: 2px; }
.aside-preview { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.aside-preview h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-muted); margin-bottom: 14px; }

.sell-success { text-align: center; padding: 50px 30px; }
.sell-success .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.sell-success h2 { font-size: 1.6rem; margin-bottom: 10px; }
.sell-success p { color: var(--text-muted); max-width: 440px; margin: 0 auto 24px; }
.sell-success .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sell-success .fee-receipt { display: inline-block; background: var(--green-bg); color: #1f7a52; font-size: .9rem; font-weight: 600; padding: 9px 16px; border-radius: 50px; margin: -8px auto 22px; }

/* ---- seller membership paywall ---- */
.paywall { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); margin-bottom: 28px; }
.paywall-main h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 14px 0 10px; }
.paywall-main > p { color: var(--text-muted); margin-bottom: 18px; }
.paywall-feats { display: grid; gap: 10px; }
.paywall-feats li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-body); font-size: .96rem; }
.paywall-feats svg { color: var(--green); flex: none; }
.paywall-card { background: var(--grad-navy-deep); color: var(--text-on-dark); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.paywall-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.paywall-price .amt { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.paywall-price .per { color: var(--text-on-dark-muted); font-weight: 700; }
.paywall-fee { color: var(--text-on-dark-muted); margin: 8px 0 20px; font-size: .94rem; }
.paywall-fee strong { color: var(--gold-light); }
.paywall-note { color: var(--text-on-dark-muted); font-size: .76rem; margin-top: 12px; }

.sub-active { display: flex; align-items: center; gap: 13px; background: var(--green-bg); border: 1px solid #bfe6d2; border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; }
.sub-active .sa-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.sub-active .sa-text strong { display: block; color: #176844; font-size: 1rem; }
.sub-active .sa-text span { color: #3a7d5f; font-size: .86rem; }

.fee-note { display: flex; align-items: center; gap: 10px; background: var(--amber-bg); border: 1px solid #f3dcc0; border-radius: 12px; padding: 12px 15px; font-size: .9rem; color: #8a5a1c; margin-bottom: 14px; }
.fee-note svg { color: var(--gold-deep); flex: none; }
@media (max-width: 720px) { .paywall { grid-template-columns: 1fr; gap: 22px; padding: 24px; } }

/* =====================================================
   LISTINGS PAGE
   ===================================================== */
.listings-page { padding: 44px 0 80px; }
.listings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.listings-search { display: flex; gap: 10px; flex: 1; max-width: 460px; }
.listings-search input { flex: 1; height: 46px; border: 1.6px solid var(--border-strong); border-radius: 11px; padding: 0 14px; outline: none; }
.listings-search input:focus { border-color: var(--orange); }
.my-listings { margin-top: 56px; }
.ml-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.ml-item img { width: 80px; height: 64px; object-fit: cover; border-radius: 10px; }
.ml-item .mlt { font-weight: 700; color: var(--text-heading); }
.ml-item .mlm { font-size: .85rem; color: var(--text-muted); }
.ml-price { font-weight: 900; color: var(--text-heading); font-size: 1.15rem; }
.ml-actions { display: flex; gap: 8px; }
.btn-danger { background: #fdecea; color: #c0392b; }
.btn-danger:hover { background: #f9d9d5; }

/* =====================================================
   CART
   ===================================================== */
.cart-page { padding: 44px 0 80px; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.cart-row img { width: 110px; height: 88px; object-fit: cover; border-radius: 12px; }
.cart-row .ct { font-weight: 700; color: var(--text-heading); }
.cart-row .cc { font-size: .82rem; color: var(--gold-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cart-row .cremove { background: none; border: none; color: var(--text-muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.cart-row .cremove:hover { color: var(--orange); }
.cart-line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-line-right .lp { font-weight: 900; color: var(--text-heading); font-size: 1.2rem; }
.cart-summary { position: sticky; top: 104px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.cart-summary h3 { font-size: 1.2rem; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text-body); }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 1.3rem; font-weight: 900; color: var(--text-heading); }
.cart-note { font-size: .82rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty svg { color: var(--text-muted); margin-bottom: 16px; }
.cart-empty h2 { margin-bottom: 10px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 22px; }

/* =====================================================
   CONTACT (home)
   ===================================================== */
.contact-shell { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-info { background: var(--grad-navy-deep); color: var(--text-on-dark); padding: 44px; }
.contact-info h2 { color: #fff; font-size: 1.7rem; margin: 14px 0 12px; }
.contact-info .lead { color: var(--text-on-dark-muted); margin-bottom: 26px; }
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); color: var(--gold-light); display: grid; place-items: center; flex: none; }
.info-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-on-dark-muted); }
.info-list a, .info-list span.v { color: #fff; font-weight: 600; }
.contact-form { padding: 44px; }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-form .sub { color: var(--text-muted); margin-bottom: 22px; font-size: .94rem; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 22px; }
.form-status.success { color: var(--green); }
.form-status.error { color: #d65745; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--bg-dark); color: var(--text-on-dark-muted); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: .94rem; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-brand .socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); color: var(--text-on-dark); display: grid; place-items: center; transition: .2s; }
.footer-brand .socials a:hover { background: var(--grad-accent); color: #1c1206; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a:hover { color: var(--gold-light); }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 140%);
  background: var(--primary); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; z-index: 4000; font-weight: 600; font-size: .94rem; transition: transform .35s cubic-bezier(.2,.8,.2,1); max-width: 92vw;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--gold-light); flex: none; }
.toast a { color: var(--gold-light); font-weight: 800; text-decoration: underline; flex: none; }

/* =====================================================
   REVEAL ANIMATION
   ===================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =====================================================
   MOBILE TAB BAR + DRAWER BACKDROP
   ===================================================== */
.mobile-tabbar { display: none; }
.cat-backdrop { display: none; }
.mobile-tabbar a, .mobile-tabbar button {
  flex: 1; min-width: 0; background: none; border: none;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: .66rem; font-weight: 700; color: var(--text-muted);
  padding: 7px 2px; position: relative; text-decoration: none;
}
.mobile-tabbar svg { color: var(--text-heading); }
.mobile-tabbar a.active { color: var(--text-heading); }
.mobile-tabbar a.active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 3px; background: var(--grad-accent);
}
.mobile-tabbar [data-cart-count] { top: 2px; right: 50%; margin-right: -22px; }
.mobile-tabbar .mt-sell { margin-top: -18px; }
.mobile-tabbar .mt-sell .mt-sell-ic {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-accent); box-shadow: var(--shadow-accent); margin-bottom: 2px;
}
.mobile-tabbar .mt-sell .mt-sell-ic svg { color: #1c1206; }
.mobile-tabbar .mt-sell.active::before { display: none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  /* search drops to its own full-width row under the logo + actions */
  .header-main { flex-wrap: wrap; height: auto; padding: 10px 24px; row-gap: 10px; column-gap: 12px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-actions { margin-left: auto; }
  .search-box { height: 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .sell-inner { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; top: 0; z-index: 1800; border-radius: 0; overflow-y: auto; display: none; }
  .filters.open { display: block; }
  .filters-head { display: flex; }
  .filter-toggle { display: inline-flex; }
  .shop-main .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .sell-grid { grid-template-columns: 1fr; }
  .sell-aside { position: static; }
  .cart-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .catnav { overflow-x: auto; }
  .catnav-list { flex-wrap: nowrap; }
}
@media (max-width: 720px) {
  /* phone header = logo + currency toggle + search row only.
     Sell / Basket / Categories all live in the bottom tab bar. */
  .menu-toggle { display: none; }
  .hide-on-mobile { display: none; }
  .header-main { padding: 10px 18px 12px; column-gap: 10px; }
  .header-actions { margin-left: auto; }
  /* category nav becomes a slide-in drawer */
  .catnav { position: fixed; top: 0; right: 0; bottom: 0; width: 290px; max-width: 86vw; transform: translateX(100%); transition: transform .3s; z-index: 1900; overflow-y: auto; box-shadow: var(--shadow-lg); background: var(--primary); }
  .catnav .container { padding: 0; }
  .catnav.open { transform: translateX(0); }
  .catnav-list { flex-direction: column; padding: 18px 0 30px; }
  .catnav-list a { padding: 15px 24px; font-size: 1rem; }
  .cat-backdrop { display: block; position: fixed; inset: 0; background: rgba(7,24,52,.55); z-index: 1850; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .cat-backdrop.show { opacity: 1; pointer-events: auto; }
  body.drawer-open { overflow: hidden; }

  /* sticky bottom tab bar */
  .mobile-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
    background: var(--bg-card); border-top: 1px solid var(--border);
    padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 26px rgba(15,17,20,.12);
  }
  body { padding-bottom: 66px; }
  .toast { bottom: 80px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .pc-price { font-size: 1.2rem; }
  .sell-btn .label { display: none; }
  .sell-btn { padding: 11px 14px; }
  .section { padding: 56px 0; }
  .hero-inner { padding: 40px 0 48px; }
  .page-head { padding: 32px 0; }
}
@media (max-width: 560px) {
  /* hero finder stacks full-width */
  .finder-row { flex-direction: column; }
  .finder-row select, .finder-row input, .finder-row .btn { width: 100%; }
  .brand-name { font-size: .88rem; }
  .header-actions { gap: 6px; }
  .icon-link { padding: 6px 7px; font-size: .68rem; }
  .product-grid, .shop-main .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 13px 12px 15px; }
  .pc-title { font-size: .95rem; }
  .btn-add { padding: 9px 12px; font-size: .82rem; }
  .pdp-buy { gap: 10px; }
  .pdp-buy .btn-lg { flex: 1; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .96rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 84px 1fr; }
  .cart-line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ml-item { grid-template-columns: 64px 1fr; }
  .ml-actions { grid-column: 1 / -1; }
  .shop-toolbar { gap: 10px; }
}
@media (max-width: 360px) {
  .product-grid, .shop-main .product-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   DARK THEME REFINEMENTS (black storefront)
   ===================================================== */
/* form fields + search inputs */
.field input, .field select, .field textarea,
.shop-sort select, .listings-search input {
  background: var(--input-bg); color: var(--text-heading); border-color: var(--input-border);
}
.field input::placeholder, .field textarea::placeholder,
.listings-search input::placeholder { color: var(--text-muted); }
.search-box { background: var(--input-search); }
.search-box select { background: #20242b; color: var(--text-heading); border-right-color: var(--border); }
.search-box input { color: var(--text-heading); background: transparent; }
.search-box input::placeholder { color: var(--text-muted); }
select option { background: #15171c; color: #eef0f2; }
.qty-stepper { border-color: var(--input-border); }
.qty-stepper input { background: var(--input-bg); color: var(--text-heading); }
.qty-stepper button { background: #20242b; color: var(--text-heading); }

/* prices pop on dark */
.pc-price, .pdp-price, .ml-price, .cart-line-right .lp, .hero-float-stat .hf-num { color: #ffffff; }

/* card borders read as subtle hairlines on near-black */
.product-card, .cat-card, .step, .review-card, .form-card, .filters,
.cart-row, .cart-summary, .ml-item, .paywall, .aside-preview, .empty-state,
.pdp-specs div, .pdp-delivery, .delivery-block, .trust-strip, .hero-float { border-color: var(--border); }
.hero-float { border: 1px solid var(--border); }

/* condition pill on product photos -> dark chip */
.pc-cond { background: #16181d; color: var(--text-heading); }
.pc-cond.cond-new { color: #4cd292; }
.pc-cond.cond-refurbished { color: #5aa6ef; }

/* product-card media background (behind real photos) */
.pc-media, .pdp-media { background: #0e0f13; }

/* mobile tab bar dark */
.mobile-tabbar { background: var(--bg-card); border-top-color: var(--border); }

/* contact form half sits on the dark shell */
.contact-form { background: var(--bg-card); }

/* keep hero finder inputs readable (white field, dark text) */
.finder-row select, .finder-row input { background: rgba(255,255,255,.96); color: #14171b; }
.finder-row input::placeholder { color: #6a7079; }

/* =====================================================
   REG LOOKUP — finder tabs, UK plate, vehicle banner
   ===================================================== */
.finder-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.ft-tab { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); color: var(--text-on-dark-muted); font-family: inherit; font-size: .9rem; font-weight: 700; padding: 9px 14px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ft-tab:hover { color: #fff; }
.ft-tab.active { background: var(--grad-accent); border-color: transparent; color: #1c1206; }
.ft-panel.hidden { display: none; }
.finder-lead { color: var(--text-on-dark-muted); font-size: .92rem; margin-bottom: 12px; }
.finder-hint { color: var(--text-on-dark-muted); font-size: .82rem; margin-top: 12px; }
.reg-sample { background: none; border: none; color: var(--gold-light); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; }
.reg-sample:hover { color: #fff; }

/* UK number plate */
.reg-row { display: flex; gap: 10px; }
.reg-plate { display: flex; align-items: stretch; height: 56px; background: #ffd400; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 0 rgba(0,0,0,.35); flex: 1; min-width: 0; }
.reg-plate .reg-gb { background: #063298; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: 1px; display: flex; align-items: flex-end; justify-content: center; width: 36px; flex: none; padding-bottom: 6px; }
.reg-plate input { border: none; background: transparent; flex: 1; min-width: 0; padding: 0 14px; color: #111; font-weight: 800; font-size: 1.5rem; letter-spacing: 2px; text-transform: uppercase; outline: none; font-family: 'Outfit', sans-serif; }
.reg-plate input::placeholder { color: #9a8600; opacity: .8; }
.reg-row .btn { height: 56px; white-space: nowrap; }

/* shop vehicle banner */
.reg-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--orange); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; }
.reg-plate.small { height: 38px; flex: none; }
.reg-plate.small .reg-gb { width: 24px; font-size: .6rem; padding-bottom: 4px; }
.reg-plate.small .reg-num { color: #111; font-weight: 800; font-size: 1rem; letter-spacing: 1.4px; display: flex; align-items: center; padding: 0 11px; }
.reg-plate.small input { font-size: 1rem; letter-spacing: 1.4px; padding: 0 11px; }
.rb-info { display: flex; flex-direction: column; gap: 1px; margin-right: auto; }
.rb-info strong { color: var(--text-heading); font-size: 1rem; }
.rb-veh { color: var(--gold-light); font-weight: 700; font-size: .95rem; }
.rb-demo { color: var(--text-muted); font-size: .76rem; }
.rb-change { display: flex; gap: 8px; align-items: center; }
.rb-change .reg-plate { width: 150px; flex: none; }
.rb-clear { color: var(--text-muted); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.rb-clear:hover { color: var(--orange); }
.reg-banner.loading .rb-info strong { color: var(--text-muted); }

@media (max-width: 620px) {
  .reg-row { flex-direction: column; }
  .reg-row .btn { width: 100%; }
  .rb-change { display: none; }
  .reg-banner { gap: 12px; }
}

/* =====================================================
   SELLER ACCOUNT — auth gate + signed-in bar
   ===================================================== */
.auth-card { max-width: 560px; margin: 0 auto 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-head .pill { margin: 0 auto 12px; }
.auth-head h2 { font-size: 1.4rem; margin-bottom: 6px; }
.auth-head p { color: var(--text-muted); font-size: .95rem; }
.auth-tabs { justify-content: center; margin-bottom: 18px; }
.auth-panel.hidden { display: none; }
.auth-err { color: #ff6b5e; font-size: .88rem; min-height: 18px; margin: 2px 0 6px; }
.auth-note { text-align: center; color: var(--text-muted); font-size: .8rem; margin-top: 14px; }
.signed-bar { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: 14px; padding: 12px 16px; margin-bottom: 22px; }
.signed-bar .sb-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex: none; }
.signed-bar .sb-text { margin-right: auto; min-width: 0; }
.signed-bar .sb-text strong { color: var(--text-heading); display: block; font-size: .98rem; }
.signed-bar .sb-text span { color: var(--text-muted); font-size: .85rem; word-break: break-all; }
