/* =========================================================
   TROCADORGARAGE.SHOP — retro 1950s garage / Americana
   design system. Cream + chrome + garage red + navy. Vintage
   badge shapes, pinstripe dividers, chrome-gradient accents.
   No dark UI, no glass blur, no topo/nautical/neon motifs.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Oswald:wght@400;500;600;700&display=swap');

:root{
  --cream:#F4ECD8;
  --cream-dark:#E9DDBE;
  --chrome:#C7CDD1;
  --chrome-dark:#8B9298;
  --red:#C8102E;
  --red-dark:#970B22;
  --navy:#1B3A5C;
  --navy-dark:#122A44;
  --ink:#211C14;
  --ink-soft:#5b5240;
  --line:rgba(33,28,20,.18);
  --white:#FFFFFF;
  --shadow: 0 16px 34px -16px rgba(33,28,20,.32);
  --display:'Alfa Slab One', 'Arial Black', serif;
  --body:'Oswald', system-ui, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:var(--body); font-weight:400; line-height:1.65; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:var(--display); color:var(--navy-dark); line-height:1.12; margin:0; font-weight:400; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; }

.wrap{ max-width:1200px; margin:0 auto; padding:0 24px; }
.wrap-narrow{ max-width:800px; margin:0 auto; padding:0 24px; }
section{ padding:84px 0; }

.badge-tag{
  display:inline-flex; align-items:center; gap:8px; background:var(--red); color:var(--cream);
  padding:8px 18px; border-radius:999px; font-family:var(--body); font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:.08em;
  border:2px solid var(--navy-dark); box-shadow:var(--shadow);
}
.sec-title{ font-size:clamp(1.9rem,3.8vw,2.9rem); margin-top:16px; max-width:680px; }
.sec-sub{ margin-top:14px; color:var(--ink-soft); max-width:560px; font-size:16px; }

/* ---------- pinstripe divider ---------- */
.pinstripe{ height:10px; background:repeating-linear-gradient(90deg, var(--red) 0 26px, var(--cream) 26px 30px, var(--navy) 30px 56px, var(--cream) 56px 60px); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border:3px solid var(--navy-dark); font-weight:600; font-size:14px;
  text-transform:uppercase; letter-spacing:.03em; background:var(--white); color:var(--navy-dark); border-radius:999px;
  box-shadow:var(--shadow); transition:transform .12s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-red{ background:var(--red); color:#fff; border-color:var(--red-dark); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-block{ width:100%; }

/* ---------- header ---------- */
header.site-head{ background:var(--cream); border-bottom:4px solid var(--navy); position:sticky; top:0; z-index:50; }
.head-row{ display:flex; align-items:center; justify-content:space-between; height:82px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--display); font-size:19px; color:var(--navy-dark); }
.brand-mark{ width:38px; height:38px; background:radial-gradient(circle at 30% 30%, var(--chrome), var(--chrome-dark)); border:2px solid var(--navy-dark); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.brand-mark svg{ width:18px; height:18px; color:var(--navy-dark); }

nav.main-nav{ display:none; align-items:center; gap:28px; font-weight:600; font-size:14px; text-transform:uppercase; letter-spacing:.04em; }
nav.main-nav a{ color:var(--ink-soft); border-bottom:2px solid transparent; padding-bottom:3px; }
nav.main-nav a:hover{ color:var(--red); border-color:var(--red); }
@media(min-width:940px){ nav.main-nav{ display:flex; } }

.head-actions{ display:flex; align-items:center; gap:10px; }
.cart-btn{
  display:flex; align-items:center; gap:8px; background:var(--navy); color:#fff;
  padding:9px 18px; font-weight:600; font-size:14px; text-transform:uppercase; border-radius:999px;
}
.cart-btn svg{ width:16px; height:16px; }
.cart-count{ background:var(--red); color:#fff; font-size:11px; font-weight:800; min-width:19px; height:19px; display:flex; align-items:center; justify-content:center; border-radius:50%; }

.burger{ background:var(--white); border:2px solid var(--navy-dark); padding:8px; display:flex; border-radius:50%; }
.burger svg{ width:18px; height:18px; }
@media(min-width:940px){ .burger{ display:none; } }
.mobile-nav{ display:none; flex-direction:column; padding:8px 0 18px; font-weight:600; text-transform:uppercase; font-size:14px; }
.mobile-nav.open{ display:flex; }
.mobile-nav a{ padding:12px 4px; border-bottom:1px solid var(--line); }

/* ---------- hero ---------- */
.hero{ padding:60px 0 80px; overflow:hidden; }
.hero-grid{ display:grid; gap:52px; }
@media(min-width:980px){ .hero-grid{ grid-template-columns:1.05fr .95fr; align-items:center; } }
.hero h1{ font-size:clamp(2rem,4.6vw,3.4rem); margin-top:18px; }
.hero h1 .hi{ color:var(--red); }
.hero p.lede{ margin-top:20px; font-size:17px; max-width:480px; color:var(--ink-soft); font-family:var(--body); }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.spec-tag{ background:var(--white); border:2px solid var(--navy-dark); padding:7px 16px; font-weight:600; font-size:12.5px; text-transform:uppercase; border-radius:999px; }

.hero-frame{ position:relative; background:var(--white); border:4px solid var(--navy-dark); border-radius:24px; padding:22px; box-shadow:var(--shadow); }
.sticker{
  position:absolute; background:radial-gradient(circle at 32% 30%, #fff, var(--chrome) 60%, var(--chrome-dark)); color:var(--red-dark); font-family:var(--display);
  display:flex; align-items:center; justify-content:center; text-align:center; border-radius:50%; border:3px solid var(--navy-dark);
  width:112px; height:112px; font-size:13px; line-height:1.1; box-shadow:var(--shadow);
}
.sticker.top-right{ top:-22px; right:-18px; }
.sticker span{ display:block; font-size:24px; color:var(--red); }

/* ---------- stat strip ---------- */
.stat-strip{ background:var(--navy); }
.stat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media(min-width:760px){ .stat-grid{ grid-template-columns:repeat(4,1fr); } }
.stat-cell{ text-align:center; }
.stat-cell b{ display:block; font-family:var(--display); font-size:clamp(1.5rem,2.8vw,2.1rem); color:var(--cream); }
.stat-cell span{ font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:#a9bcd1; }

/* ---------- chrome gauge spec cards ---------- */
.spec-cards{ display:grid; gap:18px; margin-top:36px; grid-template-columns:1fr; }
@media(min-width:700px){ .spec-cards{ grid-template-columns:repeat(3,1fr); } }
.spec-card{ background:var(--white); border:3px solid var(--navy-dark); border-radius:20px; padding:26px; box-shadow:var(--shadow); position:relative; }
.spec-card::before{ content:''; position:absolute; top:14px; right:14px; width:14px; height:14px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #fff, var(--chrome-dark)); border:2px solid var(--navy-dark); }
.spec-card .sc-label{ font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); }
.spec-card .sc-value{ font-family:var(--display); font-size:1.5rem; margin-top:10px; color:var(--red-dark); }
.spec-card .sc-note{ margin-top:6px; font-size:13px; color:var(--ink-soft); }

/* ---------- shop / buy section ---------- */
.shop-grid{ display:grid; gap:50px; }
@media(min-width:980px){ .shop-grid{ grid-template-columns:1fr 1fr; align-items:flex-start; } }

.gallery-box{ background:var(--white); border:3px solid var(--navy-dark); border-radius:20px; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; padding:26px; box-shadow:var(--shadow); }
.thumb-strip{ display:flex; gap:10px; margin-top:14px; }
.thumb-strip button{ width:62px; height:62px; background:var(--white); border:2px solid var(--navy-dark); padding:5px; border-radius:12px; }
.thumb-strip button.active{ background:var(--cream-dark); border-color:var(--red); }
.thumb-strip img{ width:100%; height:100%; object-fit:contain; }

.ticket{ background:var(--white); border:3px solid var(--navy-dark); border-radius:20px; padding:34px; box-shadow:var(--shadow); }
.rating-row{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:14px; }
.rating-row b{ background:var(--navy); color:var(--cream); padding:3px 12px; border-radius:999px; font-family:var(--display); font-size:14px; }
.ticket h2{ font-size:1.7rem; margin-top:14px; }
.ticket .model-line{ margin-top:6px; font-weight:500; color:var(--ink-soft); }

.price-row{ display:flex; align-items:baseline; gap:12px; margin-top:24px; padding-top:24px; border-top:2px dashed var(--chrome-dark); flex-wrap:wrap; }
.price-now{ font-family:var(--display); font-size:2rem; color:var(--red); }
.price-was{ color:var(--ink-soft); text-decoration:line-through; font-size:17px; font-weight:600; }
.save-pill{ background:var(--navy); color:var(--cream); padding:4px 12px; font-weight:700; font-size:12.5px; border-radius:999px; }

.field-label{ font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; margin:24px 0 10px; color:var(--ink-soft); }
.opt-row{ display:flex; flex-wrap:wrap; gap:10px; }
.opt-btn{ padding:9px 18px; background:var(--cream); border:2px solid var(--navy-dark); font-weight:600; font-size:13px; border-radius:999px; }
.opt-btn.active{ background:var(--red); color:#fff; border-color:var(--red-dark); }

.qty-row{ display:inline-flex; align-items:center; border:2px solid var(--navy-dark); border-radius:999px; overflow:hidden; }
.qty-row button{ background:var(--white); border:none; width:42px; height:42px; font-weight:700; font-size:18px; }
.qty-row input{ width:46px; text-align:center; border:none; border-left:2px solid var(--navy-dark); border-right:2px solid var(--navy-dark); font-weight:700; }

.ticket-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.trust-note{ display:flex; align-items:center; gap:8px; margin-top:20px; font-size:12.5px; font-weight:600; }
.trust-note svg{ width:16px; height:16px; color:var(--red); }

/* ---------- service-bay features ---------- */
.bay-grid{ display:grid; gap:20px; margin-top:36px; grid-template-columns:1fr; }
@media(min-width:700px){ .bay-grid{ grid-template-columns:repeat(2,1fr); } }
.bay-card{ background:var(--white); border:3px solid var(--navy-dark); border-radius:20px; padding:30px; box-shadow:var(--shadow); }
.bay-card .bay-num{ font-family:var(--display); font-size:1.7rem; color:var(--red); }
.bay-card h3{ font-size:1.2rem; margin-top:12px; font-family:var(--body); font-weight:600; text-transform:uppercase; color:var(--navy-dark); }
.bay-card p{ margin-top:10px; font-size:14.5px; color:var(--ink-soft); }

/* ---------- reviews (postcards) ---------- */
.review-grid{ display:grid; gap:22px; margin-top:36px; }
@media(min-width:860px){ .review-grid{ grid-template-columns:repeat(3,1fr); } }
.bubble{ background:var(--white); border:3px solid var(--navy-dark); border-radius:14px; padding:24px; box-shadow:var(--shadow); transform:rotate(-1deg); }
.bubble:nth-child(2n){ transform:rotate(1deg); }
.bubble .stars{ font-weight:700; color:var(--red); font-size:14px; }
.bubble blockquote{ margin-top:10px; font-size:14.5px; }
.bubble-who{ margin-top:22px; display:flex; align-items:center; gap:10px; }
.bubble-avatar{ width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12.5px; color:#fff; background:var(--navy); }
.bubble-name{ font-weight:700; font-size:13.5px; }
.bubble-role{ font-size:11.5px; color:var(--ink-soft); font-weight:500; }

/* ---------- vintage warranty seal ---------- */
.stamp-wrap{ display:flex; justify-content:center; padding:20px 0 90px; }
.stamp{
  width:210px; height:210px; border-radius:50%; border:4px double var(--navy-dark); display:flex; align-items:center; justify-content:center;
  text-align:center; background:var(--cream); box-shadow:var(--shadow); transform:rotate(-4deg);
}
.stamp-inner{ padding:14px; }
.stamp-inner .s1{ font-family:var(--display); font-size:1.15rem; line-height:1.2; color:var(--red-dark); }
.stamp-inner .s2{ margin-top:8px; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); }

/* ---------- FAQ accordion ---------- */
.faq-list{ margin-top:32px; display:flex; flex-direction:column; gap:14px; }
.faq-item{ background:var(--white); border:2px solid var(--navy-dark); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
.faq-q{ width:100%; background:none; border:none; text-align:left; padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-weight:600; font-size:15px; text-transform:uppercase; color:var(--navy-dark); }
.faq-q .plus{ width:28px; height:28px; border-radius:50%; background:var(--cream); border:2px solid var(--navy-dark); flex-shrink:0; position:relative; }
.faq-q .plus::before,.faq-q .plus::after{ content:''; position:absolute; top:50%; left:50%; background:var(--navy-dark); transform:translate(-50%,-50%); }
.faq-q .plus::before{ width:12px; height:2px; }
.faq-q .plus::after{ width:2px; height:12px; transition:opacity .15s; }
.faq-item.open .faq-q .plus{ background:var(--red); border-color:var(--red-dark); }
.faq-item.open .faq-q .plus::before,.faq-item.open .faq-q .plus::after{ background:#fff; }
.faq-item.open .faq-q .plus::after{ opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a-inner{ padding:0 22px 20px; font-size:14.5px; max-width:680px; color:var(--ink-soft); }
.faq-item.open .faq-a{ max-height:260px; }

/* ---------- footer ---------- */
footer.site-foot{ background:var(--navy-dark); color:#fff; padding:64px 0 0; border-top:5px solid var(--red); }
.foot-grid{ display:grid; gap:40px; grid-template-columns:1fr; }
@media(min-width:760px){ .foot-grid{ grid-template-columns:1.5fr 1fr 1fr; } }
.foot-brand p{ margin-top:14px; color:#a9bcd1; font-size:14px; max-width:340px; font-family:var(--body); }
.foot-col h4{ font-family:var(--display); font-size:15px; letter-spacing:.02em; margin-bottom:16px; color:var(--cream); }
.foot-col li{ margin-bottom:10px; }
.foot-col a{ color:#c4d2e0; font-size:14px; font-weight:500; }
.foot-col a:hover{ color:var(--red); }
.foot-bottom{ margin-top:50px; border-top:1px solid #2a4562; padding:22px 0; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; font-size:12px; font-weight:600; color:#8ca2ba; }
.pay-icons{ display:flex; gap:8px; }
.pay-card{ width:42px; height:28px; background:#fff; border-radius:6px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.pay-card svg{ width:100%; height:100%; }

/* ---------- LEFT cart drawer ---------- */
.overlay{ position:fixed; inset:0; background:rgba(18,42,68,.6); opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:70; }
.overlay.show{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; left:0; height:100%; width:min(420px,100%); background:var(--cream);
  border-right:4px solid var(--navy); z-index:80; transform:translateX(-100%); transition:transform .28s ease;
  display:flex; flex-direction:column;
}
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 22px; border-bottom:2px solid var(--navy-dark); }
.drawer-head h3{ font-size:18px; }
.icon-btn{ background:var(--white); border:2px solid var(--navy-dark); width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.drawer-body{ flex:1; overflow-y:auto; padding:22px; }
.drawer-item{ display:flex; gap:14px; align-items:center; }
.drawer-thumb{ width:72px; height:72px; background:var(--white); border:2px solid var(--navy-dark); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.drawer-item-info b{ display:block; font-size:14px; }
.drawer-item-info span{ font-size:12.5px; color:var(--ink-soft); font-weight:500; }
.drawer-foot{ border-top:2px solid var(--navy-dark); padding:22px; }
.drawer-subtotal{ display:flex; justify-content:space-between; font-weight:700; font-size:16px; margin-bottom:16px; }
.empty-cart{ text-align:center; padding:40px 10px; color:var(--ink-soft); font-weight:500; }
.empty-cart svg{ width:40px; height:40px; margin:0 auto 14px; }

.checkout-view{ display:none; }
.checkout-view.active{ display:block; }
.cart-view.hidden{ display:none; }
.back-to-cart{ background:none; border:none; color:var(--ink-soft); font-weight:600; margin-bottom:16px; font-size:13.5px; }
.form-block{ margin-bottom:20px; }
.form-block h4{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:10px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.form-grid .full{ grid-column:1/-1; }
input[type=text],input[type=email],input[type=tel]{
  width:100%; padding:11px 13px; border:2px solid var(--navy-dark); background:var(--white); font-size:13.5px; outline:none; border-radius:10px;
}
input:focus{ background:var(--cream-dark); }
.success-msg{ display:none; text-align:center; font-weight:700; background:var(--red); color:#fff; padding:14px; font-size:13px; text-transform:uppercase; border-radius:10px; }
.success-msg.show{ display:block; }
.secure-note{ margin-top:14px; font-size:12px; color:var(--ink-soft); text-align:center; }

/* ---------- legal pages ---------- */
.legal-hero{ padding:56px 0 32px; border-bottom:4px solid var(--navy); }
.legal-hero h1{ font-size:clamp(1.8rem,3.6vw,2.4rem); margin-top:12px; }
.legal-hero p{ margin-top:12px; font-weight:500; max-width:560px; font-family:var(--body); color:var(--ink-soft); }

.legal-body{ padding:60px 0 100px; }
.legal-layout{ display:grid; gap:40px; }
@media(min-width:900px){ .legal-layout{ grid-template-columns:230px 1fr; align-items:flex-start; } }
.legal-toc{ position:sticky; top:100px; background:var(--white); border:2px solid var(--navy-dark); border-radius:16px; padding:20px; display:none; }
@media(min-width:900px){ .legal-toc{ display:block; } }
.legal-toc h4{ font-family:var(--display); font-size:13px; margin-bottom:14px; }
.legal-toc li{ margin-bottom:10px; }
.legal-toc a{ font-size:13px; font-weight:600; color:var(--ink-soft); }
.legal-toc a:hover{ color:var(--red); }

.legal-content{ background:var(--white); border:2px solid var(--navy-dark); border-radius:16px; padding:36px; box-shadow:var(--shadow); }
.legal-content section{ margin-bottom:30px; scroll-margin-top:100px; }
.legal-content section:last-child{ margin-bottom:0; }
.legal-content h2{ font-size:18px; margin-bottom:12px; }
.legal-content p{ margin-bottom:10px; font-size:14.5px; color:var(--ink-soft); }
.legal-content ul{ margin:10px 0; padding-left:20px; list-style:disc; font-size:14.5px; color:var(--ink-soft); }
.legal-content li{ margin-bottom:6px; }
.legal-content table{ width:100%; border-collapse:collapse; margin-top:14px; font-size:13.5px; }
.legal-content th,.legal-content td{ text-align:left; padding:11px 13px; border:1px solid var(--line); }
.legal-content th{ background:var(--navy); color:var(--cream); font-size:11px; text-transform:uppercase; }
.legal-content .updated{ font-weight:700; font-size:12px; margin-bottom:22px; display:inline-block; border-radius:999px; padding:6px 16px; background:var(--cream-dark); color:var(--navy-dark); }
.back-link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:13px; text-transform:uppercase; }
.back-link svg{ width:15px; height:15px; }
