/* =========================================================================
   A* Number Plates — Global design system
   Premium automotive ecommerce: off-white base, deep green / near-black text,
   gold accents. Mobile-first. Reusable component classes only.
   ========================================================================= */
:root{
  --green:#16280c;
  --green-2:#1f3b12;
  --green-3:#2c4a18;
  --gold:#d39b0c;
  --gold-2:#f3c52c;
  --ink:#141d0d;
  --ink-2:#3c463c;
  --muted:#5f6b60;
  --line:#e7e9de;
  --line-2:#eef0e7;
  --soft:#f7f7f0;
  --soft-2:#fbfbf6;
  --white:#fff;
  --shadow-sm:0 4px 14px rgba(20,35,12,.06);
  --shadow:0 14px 38px rgba(20,35,12,.10);
  --shadow-lg:0 26px 60px rgba(20,35,12,.16);
  --radius:20px;
  --radius-lg:26px;
  --radius-sm:14px;
  --pad:clamp(2.6rem,6vw,4.6rem);
  --ring:0 0 0 3px rgba(211,155,12,.22);
}
*,*::before,*::after{box-sizing:border-box}
/* overflow-x:clip (not hidden) — kills sideways page scroll without creating a
   scroll container, so position:sticky (header / plate bar) keeps working */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;max-width:100%;overflow-x:clip}
body{margin:0;max-width:100%;overflow-x:clip;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--soft-2);line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-weight:900;letter-spacing:-.03em;line-height:1.08;color:var(--ink);overflow-wrap:break-word}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.container{width:min(1160px,calc(100% - 36px));margin-inline:auto}

/* ---------- Delivery strip ---------- */
.delivery-strip{background:var(--green);color:#fff;text-align:center;font-size:.76rem;font-weight:800;letter-spacing:.02em;padding:.5rem 1rem}

/* ---------- Header / nav ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:saturate(140%) blur(16px);border-bottom:1px solid var(--line)}
.nav{height:68px;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-width:0}
.logo{display:flex;align-items:center;min-width:0}
.logo img{display:block;height:44px;width:auto;max-width:min(48vw,200px);object-fit:contain;object-position:left center}
.nav-links{display:none;align-items:center;gap:1.5rem;font-size:.86rem;font-weight:800}
.nav-links a{position:relative;color:var(--ink);padding:.2rem 0;transition:color .15s ease}
.nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:-4px;height:2px;background:var(--gold);border-radius:2px;transition:right .2s ease}
.nav-links a:hover{color:var(--green)}
.nav-links a:hover::after{right:0}
.nav-actions{display:flex;align-items:center;gap:.6rem}
.menu-toggle{display:grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:12px;width:44px;height:44px;font-size:1.15rem;color:var(--green);cursor:pointer;transition:.15s ease}
.menu-toggle:hover{border-color:var(--gold)}
.mobile-menu{max-height:0;overflow:hidden;background:#fff;padding:0 18px;transition:max-height .3s ease;border-top:0 solid var(--line)}
.mobile-menu.open{max-height:560px;border-top:1px solid var(--line)}
.mobile-menu a{display:block;padding:.95rem .2rem;font-weight:800;font-size:.98rem;border-bottom:1px solid var(--line-2)}
.mobile-menu a:last-child{border-bottom:0}
body.menu-open{overflow:hidden}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border:1px solid transparent;border-radius:999px;padding:.92rem 1.3rem;font-weight:900;font-size:.92rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;white-space:nowrap;min-height:46px}
.btn-primary{background:linear-gradient(135deg,var(--gold),var(--gold-2));color:#1c1400;box-shadow:0 10px 22px rgba(211,155,12,.26)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(211,155,12,.32)}
.btn-secondary{background:#fff;color:var(--green);border-color:var(--line)}
.btn-secondary:hover{border-color:var(--gold);transform:translateY(-2px)}
.btn-dark{background:var(--green);color:#fff}
.btn-dark:hover{background:var(--green-2);transform:translateY(-2px)}
.btn-block{width:100%}
.btn-sm{padding:.62rem 1rem;min-height:42px;font-size:.86rem}

/* ---------- Hero (homepage) ---------- */
.hero{padding:clamp(2.4rem,7vw,4.6rem) 0 clamp(1.8rem,5vw,3.2rem);background:radial-gradient(1200px 420px at 50% -120px,#eef3e6 0,transparent 70%),linear-gradient(180deg,#f6f8f0,#fbfbf6 80%)}
.hero-inner{text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:.45rem;color:var(--gold);font-weight:900;text-transform:uppercase;font-size:.72rem;letter-spacing:.1em}
.hero h1{margin:.85rem auto .6rem;font-size:clamp(2.4rem,8vw,4.8rem);line-height:.97;letter-spacing:-.045em;max-width:900px}
.gold{color:var(--gold)}
.lead{max-width:680px;margin:0 auto;color:var(--muted);font-size:clamp(1rem,2.4vw,1.1rem)}
.hero-ctas{margin:1.5rem 0 0;display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap}
.trust-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;margin-top:1.4rem}
.trust-pill{display:inline-flex;align-items:center;gap:.4rem;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.5rem .85rem;font-size:.8rem;font-weight:800;color:var(--green);box-shadow:var(--shadow-sm)}
.trust-pill svg{width:15px;height:15px;color:var(--gold);flex:0 0 auto}

/* ---------- Sections ---------- */
.section{padding:var(--pad) 0}
.section-soft{background:var(--soft)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.6rem}
/* Eyebrow + heading section heads stack (eyebrow above the heading) with
   clear breathing room — never side by side. */
.section-head:has(> .eyebrow){display:block}
.section-head > .eyebrow{margin:0 0 .65rem}
.section-head:has(> .eyebrow) h2{margin:0}
/* Long-form body copy inside sections: comfortable rhythm on mobile */
.prose p{margin:0 0 1.1rem;line-height:1.72}
.prose p:last-of-type{margin-bottom:0}
.prose .notice{margin-top:1.15rem}
@media (max-width:759px){
  .prose p{font-size:.96rem;line-height:1.78;margin-bottom:1.2rem}
}
.section h2{font-size:clamp(1.7rem,5vw,2.7rem);letter-spacing:-.04em;line-height:1.04;margin:0}
.section-head p,.muted{color:var(--muted)}
.section-head p{margin:.35rem 0 0}
.section-intro{max-width:660px;margin:0 auto 1.9rem;text-align:center}
.section-intro h2{margin:0 0 .55rem}
.section-intro p{color:var(--muted);margin:0}

/* ---------- Horizontal scroll row ---------- */
.scroll-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,76%);gap:1rem;overflow-x:auto;padding:.25rem 0 1rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.scroll-row::-webkit-scrollbar{display:none}

/* ---------- Cards ---------- */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.product-card{scroll-snap-align:start;display:flex;flex-direction:column}
/* Product renders are full plates — contain (never crop) inside a consistent frame */
.product-card img{aspect-ratio:4/3;object-fit:contain;background:#f1f1ed;width:100%;padding:8%}
.card-body{padding:1.05rem}
.card h3{margin:.05rem 0 .3rem;font-size:1.06rem}
.price{color:var(--gold);font-weight:900}
/* Two product images shown side-by-side at equal size inside one card
   (e.g. front white + rear yellow screw kits). Never cropped. */
.kit-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4%;align-items:center;background:#f1f1ed;padding:8% 6%;aspect-ratio:4/3}
.kit-pair img{width:100%;height:100%;min-height:0;object-fit:contain;background:transparent;padding:0;aspect-ratio:auto}
a.card:hover,.product-card:hover,.size-card:hover,.article-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#dfe2d4}
.image-card img{width:100%;aspect-ratio:4/3;object-fit:cover}

/* ---------- Grids ---------- */
.grid{display:grid;gap:1rem}
.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}

/* ---------- Feature / icon cards ---------- */
.feature{display:flex;flex-direction:column;gap:.5rem;padding:1.2rem;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.feature .ico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#fbf1d4,#fff);border:1px solid var(--line);color:var(--gold)}
.feature .ico svg{width:22px;height:22px}
.feature strong{font-size:1.02rem;display:block}
.feature p{margin:0;color:var(--muted);font-size:.92rem}

/* ---------- CTA bands ---------- */
.cta-band{background:linear-gradient(135deg,var(--green),var(--green-3));color:#fff;border-radius:var(--radius-lg);padding:clamp(1.5rem,4vw,2.4rem);display:grid;gap:1rem;align-items:center}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.8);margin:.3rem 0 0}

/* ---------- Compare / size cards / notices ---------- */
.compare-card{padding:1.3rem}
.compare-card ul{margin:.8rem 0 1.1rem;padding-left:1.1rem}
.compare-card li{margin:.3rem 0}
.size-card{position:relative;padding:1rem;display:flex;gap:.9rem;align-items:center}
.size-card img{width:92px;height:72px;object-fit:contain;border-radius:14px;background:#f4f4ef;flex:0 0 auto;padding:6px}
.size-card h3{margin:0 0 .15rem}
.notice{padding:1.05rem 1.15rem;border-radius:16px;background:#f1f7ec;border:1px solid #d6e8cf;color:#284f1b;font-size:.92rem}
.notice.warn{background:#fef4e8;border-color:#f3d6ab;color:#86490a}
.notice strong{color:inherit}

/* ---------- Tables ---------- */
.pricing-table,.simple-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm)}
.pricing-table th,.pricing-table td,.simple-table th,.simple-table td{padding:.95rem 1rem;border-bottom:1px solid var(--line-2);text-align:left}
.pricing-table th,.simple-table th{background:#f6f8f0;font-size:.84rem;letter-spacing:.01em}
.pricing-table tr:last-child td,.simple-table tr:last-child td{border-bottom:0}
.simple-table td:last-child,.simple-table th:last-child{text-align:right;font-weight:900;color:var(--gold)}
/* Bare tables (not inside .table-wrap) scroll within themselves on small
   screens instead of widening the page. */
@media (max-width:759px){
  :not(.table-wrap)>.simple-table,:not(.table-wrap)>.pricing-table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Two-column Option/Price tables: always a real full-width table so the
   header band spans the whole card — no half-width header or empty panel. */
.price-table{table-layout:fixed}
.price-table th:last-child,.price-table td:last-child{width:40%}
/* Comparison tables fit within the viewport on mobile: fixed layout,
   tighter cells, careful wrapping — never sideways page scroll. */
.compare-table{table-layout:fixed}
.compare-table th:first-child,.compare-table td:first-child{width:23%}
.compare-table td:last-child,.compare-table th:last-child{text-align:left;font-weight:inherit;color:inherit}
@media (max-width:759px){
  :not(.table-wrap)>.price-table,:not(.table-wrap)>.compare-table{display:table;overflow:visible}
  .price-table th,.price-table td{padding:.85rem .9rem}
  .compare-table th,.compare-table td{padding:.6rem .4rem;font-size:.76rem;line-height:1.4;overflow-wrap:break-word}
}
/* Note that belongs to the table above it */
.table-note{margin:.65rem 0 0;font-size:.86rem;color:var(--muted)}

/* ---------- Related links (site-wide "Related" component) ---------- */
.related-links{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;gap:.7rem}
.related-links li{display:flex;min-width:0}
.related-links a{flex:1;display:flex;align-items:center;gap:.75rem;min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:.9rem 1rem;box-shadow:var(--shadow-sm);color:var(--ink);font-weight:800;font-size:.92rem;line-height:1.4;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.related-links a:hover,.related-links a:focus-visible{border-color:var(--gold);transform:translateY(-2px);box-shadow:var(--shadow)}
.related-links .rl-ico{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#fbf1d4,#fff);border:1px solid var(--line);color:var(--gold);flex:0 0 auto}
.related-links .rl-ico svg{width:16px;height:16px}
.related-links .rl-body{display:flex;flex-direction:column;gap:.12rem;min-width:0;overflow-wrap:break-word}
.related-links .rl-body small{font-weight:600;font-size:.8rem;color:var(--muted);line-height:1.45}
.related-links .rl-arrow{margin-left:auto;width:16px;height:16px;color:var(--muted);flex:0 0 auto}
@media (min-width:760px){
  .related-links{grid-template-columns:repeat(3,minmax(0,1fr))}
  .related-links a{align-items:flex-start}
  .related-links .rl-arrow{margin-top:.2rem}
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{padding:clamp(2.2rem,6vw,3.6rem) 0;background:radial-gradient(900px 360px at 80% -100px,#eef3e6 0,transparent 70%),linear-gradient(180deg,#f6f8f0,#fbfbf6)}
.page-hero .container{display:grid;gap:1.6rem;align-items:center}
.page-hero h1{font-size:clamp(2.1rem,6.5vw,3.9rem);line-height:1;letter-spacing:-.045em;margin:.55rem 0}
.page-hero .lead{margin:0}
.hero-media img,.hero-media video{border-radius:var(--radius-lg);box-shadow:var(--shadow);background:#fff;border:1px solid var(--line);width:100%;aspect-ratio:4/3;object-fit:contain;padding:5%}

/* ---------- Plan cards (pricing preview) ---------- */
.plan-card{position:relative;display:flex;flex-direction:column;padding:1.5rem}
.plan-name{font-weight:900;font-size:1.05rem;margin:0}
.plan-price{font-size:2.1rem;font-weight:900;letter-spacing:-.03em;margin:.35rem 0 .1rem}
.plan-price span{font-size:.85rem;font-weight:800;color:var(--muted)}
.plan-card ul{list-style:none;margin:.9rem 0 1.3rem;padding:0;display:grid;gap:.5rem}
.plan-card ul li{display:flex;gap:.5rem;align-items:flex-start;color:var(--ink-2);font-size:.9rem;font-weight:600}
.plan-card ul li svg{width:16px;height:16px;color:var(--gold);flex:0 0 auto;margin-top:3px}
.plan-card .btn{margin-top:auto}
.plan-card.featured{border-color:var(--gold);box-shadow:0 16px 40px rgba(211,155,12,.2)}
.plan-tag{position:absolute;top:1rem;right:1rem;background:var(--green);color:#fff;font-size:.62rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;padding:.32rem .6rem;border-radius:999px}

/* ---------- Checklists / doc pair ---------- */
/* Items flow as normal inline text (icon absolutely positioned on the first
   line) so links inside a sentence wrap naturally — never stretched apart. */
.check-list{list-style:none;margin:1rem 0 1.3rem;padding:0;display:grid;gap:.6rem}
.check-list li{position:relative;display:block;padding-left:1.65rem;font-weight:700;color:var(--ink-2);overflow-wrap:break-word}
.check-list li svg{position:absolute;left:0;top:3px;width:18px;height:18px;color:var(--green)}
.check-list li a{text-decoration:underline;text-underline-offset:2px;color:var(--green)}
.check-list li a:hover{color:var(--gold)}
.doc-pair{display:grid;gap:.8rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}
.doc-pair img{border-radius:16px;border:1px solid var(--line);background:#fff;aspect-ratio:1;object-fit:contain;padding:6%}
/* Utility: show the full graphic instead of cropping (product renders, doc graphics) */
.img-contain{object-fit:contain !important;background:#fff;padding:5%}

/* ---------- Mega CTA ---------- */
.mega-cta{background:linear-gradient(135deg,var(--green),var(--green-3));color:#fff;border-radius:var(--radius-lg);padding:clamp(2rem,6vw,3.4rem) 1.4rem;text-align:center}
.mega-cta h2{color:#fff;font-size:clamp(1.9rem,6vw,3rem);margin:0 0 .6rem;letter-spacing:-.04em}
.mega-cta p{color:rgba(255,255,255,.82);max-width:540px;margin:0 auto 1.5rem}
.mega-cta .hero-ctas{margin:0}
.mega-cta .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.mega-cta .btn-secondary:hover{background:rgba(255,255,255,.1)}

/* ---------- Footer ---------- */
.footer{background:#0e1908;color:#fff;padding:clamp(2.4rem,5vw,3.4rem) 0 1.6rem}
.footer-grid{display:grid;gap:2.2rem}
.footer-brand img{height:40px;background:#fff;border-radius:10px;padding:5px;width:auto}
.footer-brand p{color:rgba(255,255,255,.6);max-width:420px;margin:.9rem 0 0;font-size:.9rem;line-height:1.6}
.footer-cols{display:grid;gap:1.5rem 1.1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.footer-col h3{font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-2);margin:0 0 .7rem;font-weight:900}
.footer-col a{display:block;color:rgba(255,255,255,.68);font-size:.88rem;margin:.42rem 0;transition:color .15s ease}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2.4rem;padding-top:1.2rem;color:rgba(255,255,255,.52);font-size:.8rem;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;justify-content:space-between;align-items:center}
.footer-bottom a{color:rgba(255,255,255,.38);transition:color .15s ease}
.footer-bottom a:hover{color:rgba(255,255,255,.7)}

/* ---------- Articles (guides / policy) ---------- */
.article{max-width:760px;margin-inline:auto}
.article h2{margin-top:2.2rem;font-size:clamp(1.4rem,4vw,1.9rem)}
.article h3{margin-top:1.4rem;font-size:1.15rem}
.article p,.article li{color:var(--ink-2)}
.article ul,.article ol{padding-left:1.2rem}
.article li{margin:.35rem 0}
.article-card{display:flex;flex-direction:column;padding:1.2rem}
.article-card h3{margin:0 0 .35rem;font-size:1.06rem}
.article-card p{color:var(--muted);margin:0;font-size:.92rem}

/* ---------- Guides hub category groups ---------- */
.guide-group{margin-top:2.2rem}
.guide-group:first-of-type{margin-top:0}
.guide-group-head{display:flex;align-items:center;gap:.7rem;margin:0 0 1rem}
.guide-group-head h2{font-size:clamp(1.3rem,4vw,1.7rem);margin:0}
.guide-group-head .tag{font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:var(--gold);background:#fbf1d4;border:1px solid #f0dca8;padding:.25rem .55rem;border-radius:999px}

/* ---------- Pricing page ---------- */
.price-cards{display:grid;gap:1rem;grid-template-columns:1fr}
.price-card{display:flex;flex-direction:column;padding:1.5rem}
.price-card.featured{border-color:var(--gold);box-shadow:0 16px 40px rgba(211,155,12,.2)}
.price-card .pc-tag{align-self:flex-start;background:var(--green);color:#fff;font-size:.62rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;padding:.32rem .6rem;border-radius:999px;margin-bottom:.7rem}
.price-card h3{margin:0;font-size:1.2rem}
.price-card .pc-desc{color:var(--muted);font-size:.88rem;margin:.3rem 0 .9rem}
.price-rows{display:grid;gap:.5rem;margin:0 0 1.1rem;border-top:1px solid var(--line-2);padding-top:.95rem}
.price-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.price-row span{color:var(--muted);font-weight:700;font-size:.9rem}
.price-row strong{font-size:1.18rem;font-weight:900;color:var(--ink)}
.price-row strong.gold{color:var(--gold)}
.price-card .btn{margin-top:auto}

/* ---------- Info cards ---------- */
.info-cards{display:grid;gap:1rem;grid-template-columns:1fr}
.info-card{padding:1.3rem;display:flex;flex-direction:column;gap:.5rem}
.info-card .ico{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#fbf1d4,#fff);border:1px solid var(--line);color:var(--gold)}
.info-card .ico svg{width:20px;height:20px}
.info-card h3{margin:0;font-size:1.04rem}
.info-card p{margin:0;color:var(--muted);font-size:.9rem}
.info-card a{font-weight:900;color:var(--green);font-size:.86rem;margin-top:auto}
.info-card a:hover{color:var(--gold)}

/* ---------- Chips ---------- */
.chip-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.chip{display:inline-flex;align-items:center;gap:.4rem;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.6rem .95rem;font-size:.84rem;font-weight:800;color:var(--green);min-height:42px;transition:.15s ease}
.chip:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-1px)}

/* ---------- Galleries ---------- */
.gallery{display:grid;gap:1rem;grid-template-columns:1fr}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;border:1px solid var(--line);background:#f4f4ef;box-shadow:var(--shadow-sm)}
.gallery .gallery-tall{aspect-ratio:3/4}

/* ---------- Spec lists ---------- */
.spec-list{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.55rem}
.spec-list li{position:relative;display:block;padding-left:1.65rem;font-weight:700;color:var(--ink-2);overflow-wrap:break-word}
.spec-list li svg{position:absolute;left:0;top:3px;width:18px;height:18px;color:var(--gold)}

/* ---------- FAQ ---------- */
.faq{display:grid;gap:.7rem;max-width:820px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:.1rem 1.1rem;box-shadow:var(--shadow-sm);transition:border-color .15s ease}
.faq details[open]{border-color:#dbe0d1}
.faq summary{list-style:none;cursor:pointer;font-weight:800;padding:1.05rem 0;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold);font-size:1.45rem;font-weight:900;line-height:1;flex:0 0 auto}
.faq details[open] summary::after{content:"\2212"}
.faq details p{margin:0 0 1.05rem;color:var(--ink-2)}

/* ---------- Price strip ---------- */
.price-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.4rem;background:linear-gradient(135deg,var(--green),var(--green-3));color:#fff;border-radius:var(--radius);padding:1.2rem 1.4rem;box-shadow:var(--shadow-sm)}
.price-strip .ps-amount{font-size:1.8rem;font-weight:900;color:var(--gold-2);letter-spacing:-.02em}
.price-strip span{color:rgba(255,255,255,.8);font-weight:700;font-size:.9rem}
.price-strip .btn{margin-left:auto}

/* =========================================================================
   BUILDER
   ========================================================================= */
/* UK registration typeface for the live preview — Charles Wright 2001-style
   (UKNumberPlate, freeware). Never stretched or condensed: character size
   scales uniformly with the plate. */
@font-face{
  font-family:'UKNumberPlate';
  src:url('/public/fonts/UKNumberPlate.ttf') format('truetype');
  font-weight:400;font-style:normal;font-display:swap;
}
.builder-layout{display:grid;gap:1.1rem}
.builder-layout>*{min-width:0}
.builder-preview{position:sticky;top:90px;z-index:5}
.plate-stack{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:1.1rem}
.plate-render{display:grid;gap:.55rem}
.plate-face{margin:0;font-size:.68rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
/* Each plate is its own size container: text and markings scale with the
   plate's real proportions (cqh = % of plate height), so every size keeps
   realistic character height and inset markings. */
.plate-preview{container-type:size;height:auto;width:var(--pw,100%);max-width:100%;min-width:0;overflow:hidden;aspect-ratio:var(--par,520/111);margin:0 auto;display:flex;align-items:center;justify-content:center;position:relative;border-radius:10px;border:2.5px solid #1c1c1c;padding:0 3cqi;background:linear-gradient(180deg,#ffe23a,#ffce1a);color:#070707;box-shadow:inset 0 -6px 0 rgba(0,0,0,.07),inset 0 3px 6px rgba(255,255,255,.45);transition:width .22s ease,aspect-ratio .22s ease,clip-path .22s ease}
.plate-preview.front{background:linear-gradient(180deg,#fff,#f2f2ee)}
.plate-preview span[data-plate-text]{font-family:'UKNumberPlate',"Arial Black",Impact,sans-serif;font-weight:400;font-size:56cqh;letter-spacing:.04em;line-height:1;z-index:1;position:relative;white-space:nowrap}
/* Show plates: the slogan is printed ON the plate, centred along the bottom
   edge — exactly where the supplier details sit on a road-legal plate. */
.plate-preview .slogan{position:absolute;left:50%;bottom:2.5cqh;transform:translateX(-50%);font-family:Arial,sans-serif;font-size:7.5cqh;line-height:1.15;font-weight:700;letter-spacing:.06em;color:#101010;text-transform:uppercase;white-space:nowrap;z-index:2}
/* Plate markings: supplier details centred on the bottom edge, BS AU 145e
   bottom-right — on every plate face, at every size. */
.plate-preview small{position:absolute;bottom:2.5cqh;font-family:Arial,sans-serif;font-size:7cqh;line-height:1.15;letter-spacing:0;font-weight:400;color:#111;white-space:nowrap;z-index:2}
.supplier{left:50%;transform:translateX(-50%)}
.bsau{right:1.6cqi}
/* The live preview ALWAYS uses the default legal plate writing style.
   Finishes (3D Gel / 4D / etc.) are shown via the separate product image,
   never simulated on the preview text. */
/* Size variants — width and aspect ratio derive from the REAL plate
   dimensions (mm), relative to the 520mm standard, so different sizes
   render at mathematically consistent proportions. */
.size-standard{--pw:100%;--par:520/111}
.size-short406{--pw:78%;--par:406/111}
.size-short340{--pw:65.4%;--par:340/111}
.size-short280{--pw:53.8%;--par:280/111}
.size-hex457{--pw:87.9%;--par:457/111;clip-path:polygon(4.2% 0,95.8% 0,100% 50%,95.8% 100%,4.2% 100%,0 50%)}
.size-hex425{--pw:81.7%;--par:425/111;clip-path:polygon(4.5% 0,95.5% 0,100% 50%,95.5% 100%,4.5% 100%,0 50%)}
.size-hex303{--pw:58.3%;--par:303/111;clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%)}
.size-oversize-rear{--pw:100%;--par:533/152}
.size-motorbike-rear{--pw:44%;--par:237/178}
.size-import-rear-330{--pw:56%;--par:330/178}
/* Squarer plates render the registration over two rows */
.plate-preview.two-row span[data-plate-text]{white-space:pre-line;text-align:center;line-height:1.06;font-size:30cqh}
/* Printed border extra */
.plate-preview.has-border::after{content:"";position:absolute;inset:5cqh 1.2cqi;border:2px solid #141414;border-radius:4px;pointer-events:none}
/* Badge / flag extra (UK identifier band) */
.plate-preview .badge-band{display:none;position:absolute;left:0;top:0;bottom:0;width:12%;max-width:34px;background:#0d2c66;color:#fff;border-radius:8px 0 0 8px;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-family:Arial,sans-serif;font-weight:900;font-size:.55rem;letter-spacing:.02em;z-index:2}
.plate-preview .badge-band .bb-flag{font-size:.7rem;line-height:1}
.plate-preview.has-badge .badge-band{display:flex}
.plate-preview.has-badge span[data-plate-text]{padding-left:9%}

/* ---------- Builder V2 pick cards (mode / position / size / style / extras) ---------- */
.size-face-label{margin:.15rem 0 .55rem;font-size:.76rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.pick-grid{display:grid;grid-template-columns:1fr;gap:.7rem}
@media (min-width:560px){.pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pick-card{position:relative;display:flex;flex-direction:column;gap:.18rem;border:1.5px solid var(--line);background:#fff;border-radius:15px;padding:.85rem .95rem;text-align:left;font-family:inherit;color:var(--ink);cursor:pointer;min-height:56px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.pick-card:hover:not(:disabled){border-color:#cfd4c4}
.pick-card.active{border-color:var(--green);background:#f2f7ec;box-shadow:var(--ring)}
.pick-card:disabled{opacity:.45;cursor:not-allowed;background:var(--soft)}
.pick-card strong{font-size:.94rem;font-weight:900}
.pick-card .pc-dim{font-size:.78rem;font-weight:800;color:var(--gold)}
.pick-card .pc-note{font-size:.75rem;font-weight:600;color:var(--muted);line-height:1.35}
.pick-card .pc-price{font-size:.78rem;font-weight:900;color:var(--green)}
.pick-card .pc-flag{position:absolute;top:.6rem;right:.7rem;font-size:.6rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:.14rem .45rem}
.pick-card.active .pc-flag{color:var(--green);background:#e6f0dd;border-color:#cfe6c0}
/* Style cards carry a small product thumbnail */
.pick-card.style-card{flex-direction:row;align-items:center;gap:.7rem}
.pick-card.style-card img{width:64px;height:44px;object-fit:contain;background:#f4f4ef;border:1px solid var(--line);border-radius:9px;flex:0 0 auto;padding:2px}
.pick-card.style-card .sc-body{display:flex;flex-direction:column;gap:.1rem}
/* Selected style product image — full plate, never cropped */
.style-image-frame{margin:0 0 .9rem;border:1px solid var(--line);border-radius:16px;background:#f7f7f2;overflow:hidden}
.style-image-frame img{width:100%;aspect-ratio:5/2;object-fit:contain;padding:4% 6%;display:block}
.style-image-frame figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:.8rem;padding:.6rem .95rem;border-top:1px solid var(--line);background:#fff;font-size:.84rem;font-weight:800}
.style-image-frame figcaption .sif-price{color:var(--gold);font-weight:900}
/* Extras cards */
.pick-card.extra-card{flex-direction:row;align-items:center;gap:.7rem}
.pick-card.extra-card img{width:54px;height:54px;object-fit:contain;background:#f4f4ef;border:1px solid var(--line);border-radius:10px;flex:0 0 auto;padding:3px}
.pick-card.extra-card .ec-ico{width:54px;height:54px;display:grid;place-items:center;background:linear-gradient(135deg,#fbf1d4,#fff);border:1px solid var(--line);border-radius:10px;color:var(--gold);flex:0 0 auto}
.pick-card.extra-card .ec-ico svg{width:22px;height:22px}
.mode-note{margin-top:.7rem;padding:.75rem .9rem;border-radius:13px;font-size:.83rem;font-weight:700}
@media (min-width:560px){.pick-grid.pick-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}

.builder-form{display:grid;gap:1.1rem}
.field-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem;box-shadow:var(--shadow-sm)}
.field-card h3{margin:.1rem 0 .85rem;font-size:1.02rem}
.input{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:1rem;font-size:1.25rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;transition:border-color .15s ease,box-shadow .15s ease}
.input:focus{outline:0;border-color:var(--gold);box-shadow:var(--ring)}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.option{display:flex;align-items:center;gap:.6rem;border:1.5px solid var(--line);background:#fff;border-radius:15px;padding:.9rem;text-align:left;font-weight:800;font-size:.92rem;color:var(--ink);cursor:pointer;min-height:50px;transition:.15s ease}
.option:hover{border-color:#cfd4c4}
.option.active{border-color:var(--green);background:#f2f7ec;box-shadow:var(--ring)}
.option-media{width:42px;height:42px;border-radius:10px;object-fit:cover;background:#f4f4ef;border:1px solid var(--line);flex:0 0 auto}
.summary{background:linear-gradient(160deg,var(--green),var(--green-3));color:#fff;border-radius:var(--radius);padding:1.2rem;box-shadow:var(--shadow-sm)}
.summary-row{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(255,255,255,.14);padding:.6rem 0;font-size:.94rem}
.summary-row span{color:rgba(255,255,255,.78)}
.summary-row strong{font-weight:800}
.summary-row.free strong{color:var(--gold-2)}
.summary-row:last-of-type{border-bottom:0}
.total{font-size:1.5rem;font-weight:900;color:var(--gold-2)}
.show-warning{margin:.5rem 0 0;padding:.8rem .9rem;border-radius:14px;background:#fef3e7;border:1px solid #f3d3a8;color:#8a4b07;font-size:.84rem;font-weight:800}
.doc-notice{margin-top:.8rem;padding:.8rem .9rem;border-radius:14px;background:#f1f7ec;border:1px solid #d6e8cf;color:#284f1b;font-size:.84rem;font-weight:700}
.builder-links{margin-top:.95rem;display:grid;gap:.45rem}
.builder-links a{display:inline-flex;align-items:center;gap:.5rem;font-size:.86rem;font-weight:800;color:var(--green)}
.builder-links a:hover{color:var(--gold)}
.builder-links svg{width:15px;height:15px;color:var(--gold);flex:0 0 auto}

/* Mobile sticky live preview + checkout bar */
.mobile-plate-bar{display:none}
.checkout-bar{display:none}
@media (max-width:919px){
  /* Compact sticky preview: plates render ~82% of their full width (ratios
     preserved) with tighter chrome, so more of the builder stays visible. */
  .mobile-plate-bar{display:block;position:sticky;top:68px;z-index:30;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);box-shadow:0 8px 18px rgba(20,35,12,.06);padding:.45rem 0 .5rem;margin:0 0 1.1rem}
  .mobile-plate-bar .plate-render{gap:.3rem}
  .mobile-plate-bar .plate-face{font-size:.54rem}
  .mobile-plate-bar .plate-preview{border-width:2px;width:calc(var(--pw,100%) * .82)}
  .builder-preview{position:static}
  .builder-preview .plate-render{display:none}
  .checkout-bar{display:flex;position:fixed;left:0;right:0;bottom:0;width:auto;max-width:100%;z-index:60;align-items:center;justify-content:space-between;gap:.8rem;background:linear-gradient(160deg,var(--green),var(--green-3));color:#fff;padding:.7rem 16px calc(.7rem + env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(20,35,12,.22)}
  .checkout-bar .cb-info{display:flex;flex-direction:column;line-height:1.15}
  .checkout-bar .cb-info span{font-size:.68rem;font-weight:800;color:rgba(255,255,255,.72)}
  .checkout-bar .cb-info strong{font-size:1.35rem;font-weight:900;color:var(--gold-2)}
  .checkout-bar .btn{padding:.7rem 1.4rem}
  body.has-checkout-bar{padding-bottom:82px}
}

/* =========================================================================
   FORMS (document upload / order flow)
   ========================================================================= */
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.2rem,3vw,1.8rem);box-shadow:var(--shadow-sm)}
.form-grid{display:grid;gap:1.1rem}
.form-field label{display:block;font-weight:800;font-size:.9rem;margin-bottom:.35rem;color:var(--ink)}
.form-field .hint{display:block;font-weight:600;font-size:.8rem;color:var(--muted);margin-top:.3rem}
.form-input,.form-textarea{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:.85rem 1rem;font-size:1rem;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.form-input:focus,.form-textarea:focus{outline:0;border-color:var(--gold);box-shadow:var(--ring)}
.form-textarea{min-height:110px;resize:vertical}
.form-error{display:none;color:#a33;font-size:.82rem;font-weight:700;margin-top:.3rem}
.form-field.invalid .form-error{display:block}
.form-field.invalid .form-input,.form-field.invalid .form-textarea,.form-field.invalid .file-drop{border-color:#c66}
.file-drop{display:flex;align-items:center;gap:.8rem;border:1.5px dashed var(--line);border-radius:14px;padding:.9rem 1rem;background:var(--soft-2);cursor:pointer;transition:border-color .15s ease}
.file-drop:hover{border-color:var(--gold)}
.file-drop input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.file-drop .fd-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#fbf1d4,#fff);border:1px solid var(--line);color:var(--gold);flex:0 0 auto}
.file-drop .fd-ico svg{width:19px;height:19px}
.file-drop .fd-text strong{display:block;font-size:.92rem}
.file-drop .fd-text span{font-size:.8rem;color:var(--muted);font-weight:600}
.file-drop.has-file{border-style:solid;border-color:var(--green);background:#f2f7ec}
.success-hero{text-align:center;padding:clamp(2.6rem,7vw,4.4rem) 0 clamp(1.4rem,4vw,2.4rem)}
.success-hero .tick{width:76px;height:76px;margin:0 auto 1.2rem;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--green),var(--green-3));color:var(--gold-2);box-shadow:var(--shadow)}
.success-hero .tick svg{width:36px;height:36px}
.order-summary-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.2rem 1.3rem;max-width:520px;margin:1.6rem auto 0;text-align:left}
.order-summary-box .osb-row{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--line-2);font-size:.92rem}
.order-summary-box .osb-row:last-child{border-bottom:0}
.order-summary-box .osb-row span{color:var(--muted);font-weight:700}
.order-summary-box .osb-row strong{font-weight:900;text-align:right}

/* =========================================================================
   ADMIN DASHBOARD (frontend prototype — production requires backend auth,
   see BACKEND-NOTES.md)
   ========================================================================= */
.admin-stats{display:grid;gap:.8rem;grid-template-columns:repeat(2,1fr)}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1rem 1.1rem;box-shadow:var(--shadow-sm)}
.stat-card .stat-num{font-size:1.8rem;font-weight:900;letter-spacing:-.02em;color:var(--green)}
.stat-card .stat-label{font-size:.78rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.admin-section{margin-top:2.4rem}
.admin-section h2{font-size:1.35rem;margin:0 0 .9rem}
.table-wrap{overflow-x:auto;border-radius:16px;box-shadow:var(--shadow-sm)}
.table-wrap .simple-table{min-width:640px;box-shadow:none}
.simple-table td:last-child,.simple-table th:last-child{text-align:left;font-weight:inherit;color:inherit}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:.22rem .6rem;font-size:.7rem;font-weight:900;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}
.badge-green{background:#eaf5e3;color:#2c5a17;border:1px solid #cfe6c0}
.badge-amber{background:#fdf3dd;color:#8a5f06;border:1px solid #f0dca8}
.badge-red{background:#fdeaea;color:#96302c;border:1px solid #f0c4c2}
.badge-grey{background:#f0f1ea;color:#5f6b60;border:1px solid #dfe2d4}
.admin-note{background:#fef4e8;border:1px solid #f3d6ab;color:#86490a;border-radius:16px;padding:1rem 1.15rem;font-size:.9rem;font-weight:700;margin:1.2rem 0}
@media (min-width:760px){.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Admin header + tabs (dark near-black green chrome) */
.admin-body{background:var(--soft-2)}
.admin-header{background:linear-gradient(160deg,#0e1908,var(--green));color:#fff;padding:.9rem 0 0;box-shadow:var(--shadow)}
.admin-header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-width:0}
.admin-brand{display:flex;align-items:center;gap:.6rem;color:#fff;font-size:1.02rem;font-weight:700;min-width:0}
.admin-brand img{height:34px;width:34px;object-fit:contain;background:#fff;border-radius:9px;padding:3px;flex:0 0 auto}
.admin-brand strong{color:var(--gold-2);font-weight:900}
.admin-tabs{display:flex;gap:.25rem;margin-top:.8rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.admin-tabs::-webkit-scrollbar{display:none}
.admin-tab{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.62);font-family:inherit;font-size:.84rem;font-weight:800;padding:.65rem .9rem;border-radius:12px 12px 0 0;cursor:pointer;white-space:nowrap;transition:color .15s ease,background .15s ease}
.admin-tab:hover{color:#fff}
.admin-tab.active{background:var(--soft-2);color:var(--green)}
.admin-main{padding:1.2rem 0 3rem}
/* Filters bar */
.admin-filters{display:grid;gap:.6rem;grid-template-columns:1fr;margin:0 0 1rem}
.admin-filters .form-input{margin:0;font-size:.86rem;padding:.6rem .75rem}
@media (min-width:760px){.admin-filters{grid-template-columns:minmax(200px,1.4fr) repeat(3,minmax(0,1fr)) auto;align-items:center}}
/* Wide admin tables scroll inside .table-wrap, never the page */
.table-wrap .admin-table-wide{min-width:1100px}
.admin-table-wide td,.admin-table-wide th{padding:.7rem .75rem;font-size:.84rem;white-space:nowrap}
.admin-table-wide .admin-msg-cell{white-space:normal;min-width:240px;max-width:340px}
.admin-actions-cell{display:flex;gap:.4rem;align-items:center}
.admin-actions-cell .btn-sm{padding:.4rem .7rem;min-height:34px;font-size:.76rem}
.admin-action-select{width:auto;max-width:190px;font-size:.78rem;font-weight:700;padding:.42rem .5rem;border:1.5px solid var(--line);border-radius:10px;background:#fff;font-family:inherit;color:var(--ink)}
.admin-detail-row td{background:#f6f8f0;white-space:normal}
.admin-detail{font-size:.86rem;line-height:1.9;color:var(--ink-2)}
.admin-detail code{background:#eef0e7;border-radius:6px;padding:.1rem .35rem;font-size:.78rem}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width:560px){
  .footer-cols{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:760px){
  .nav{height:76px}
  .logo img{height:52px}
  .nav-links{display:flex}
  .menu-toggle{display:none}
  .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .page-hero .container{grid-template-columns:1.05fr .95fr}
  .mobile-plate-bar{top:78px}
  .cta-band{grid-template-columns:1fr auto}
  .scroll-row{grid-auto-columns:1fr;grid-template-columns:repeat(5,1fr);grid-auto-flow:initial;overflow:visible}
  .product-card img{aspect-ratio:4/3}
  .price-cards{grid-template-columns:repeat(3,1fr)}
  .info-cards{grid-template-columns:repeat(3,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .gallery-2{grid-template-columns:repeat(2,1fr)}
  .footer-cols{grid-template-columns:repeat(4,1fr)}
}
@media (min-width:920px){
  /* Desktop builder: bounded sticky preview column + flexible options column.
     minmax(0,1fr) stops wide option-card content blowing the grid out. */
  .builder-layout{grid-template-columns:clamp(360px,36vw,430px) minmax(0,1fr);gap:1.8rem;align-items:start}
}
@media (min-width:1080px){
  .footer-cols{grid-template-columns:repeat(7,1fr)}
}
@media (max-width:520px){
  .container{width:min(100% - 26px,1160px)}
  .nav{height:62px}
  .logo img{height:40px}
  .mobile-plate-bar{top:62px}
  .hero-ctas .btn{width:100%}
  .section-head{display:block}
  .section-head .btn{margin-top:1rem}
  .doc-pair{gap:.6rem}
  .price-strip .btn{margin-left:0;width:100%}
}
