/* =========================================================
   TROCADORAUTO.SHOP — industrial workshop / parts-catalog
   design system. Steel gray, safety orange, hazard-stripe
   dividers, diamond-plate texture, condensed stencil type.
   No pastel, no glass blur, no soft rounded corners, no serif.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@500;600;700&family=Roboto+Condensed:wght@400;500;600;700&display=swap');

:root{
  --steel:#2B2E33;
  --steel-dark:#1C1E22;
  --plate:#3A3D42;
  --paper:#F2F1ED;
  --white:#FFFFFF;
  --orange:#FF6B00;
  --orange-dark:#CC5500;
  --yellow:#FFCC00;
  --grey:#75787c;
  --line:#d8d6cf;
  --head:'Teko', 'Arial Narrow', sans-serif;
  --body:'Roboto Condensed', system-ui, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--steel-dark);
  font-family:var(--body); line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:var(--head); color:var(--steel-dark); line-height:1; margin:0; font-weight:600; text-transform:uppercase; letter-spacing:.01em; }
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:80px 0; }

.tag-plate{
  display:inline-flex; align-items:center; gap:8px; background:var(--steel-dark); color:var(--orange);
  padding:7px 16px; font-family:var(--head); font-weight:600; font-size:15px; text-transform:uppercase; letter-spacing:.05em;
  border-left:4px solid var(--orange);
}
.sec-title{ font-size:clamp(2.1rem,4.2vw,3.2rem); margin-top:14px; max-width:680px; }
.sec-sub{ margin-top:14px; color:var(--grey); max-width:560px; font-size:16px; font-family:var(--body); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border:none; font-family:var(--head); font-weight:600; font-size:18px;
  text-transform:uppercase; letter-spacing:.03em; background:var(--steel-dark); color:#fff; transition:transform .12s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-orange{ background:var(--orange); color:#111; }
.btn-yellow{ background:var(--yellow); color:#111; }
.btn-outline{ background:transparent; border:2px solid var(--steel-dark); color:var(--steel-dark); }
.btn-block{ width:100%; }

/* ---------- hazard stripe ticker ---------- */
.ticker{
  background-image:repeating-linear-gradient(-45deg, var(--yellow) 0 22px, var(--steel-dark) 22px 26px);
  overflow:hidden; white-space:nowrap; height:38px; display:flex; align-items:center;
}
.ticker-track{ display:inline-flex; gap:0; animation:tick 20s linear infinite; }
.ticker-track span{
  display:inline-flex; align-items:center; padding:5px 24px; font-family:var(--head); font-weight:600; font-size:15px; text-transform:uppercase;
  background:var(--steel-dark); color:var(--orange); margin:0 6px; letter-spacing:.03em;
}
@keyframes tick{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- header ---------- */
header.site-head{ background:var(--steel-dark); border-bottom:4px solid var(--orange); position:sticky; top:0; z-index:50; }
.head-row{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--head); font-size:26px; color:#fff; }
.brand-mark{ width:36px; height:36px; background:var(--orange); display:flex; align-items:center; justify-content:center; }
.brand-mark svg{ width:17px; height:17px; color:#111; }

nav.main-nav{ display:none; align-items:center; gap:26px; font-family:var(--head); font-weight:600; font-size:17px; text-transform:uppercase; }
nav.main-nav a{ color:#c9c9c9; border-bottom:3px solid transparent; padding-bottom:3px; }
nav.main-nav a:hover{ color:var(--orange); border-color:var(--orange); }
@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(--orange); color:#111;
  padding:9px 18px; font-family:var(--head); font-weight:600; font-size:17px; text-transform:uppercase;
}
.cart-btn svg{ width:16px; height:16px; }
.cart-count{ background:var(--steel-dark); color:var(--orange); 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(--plate); border:none; padding:8px; display:flex; }
.burger svg{ width:18px; height:18px; color:#fff; }
@media(min-width:940px){ .burger{ display:none; } }
.mobile-nav{ display:none; flex-direction:column; padding:8px 0 18px; font-family:var(--head); font-weight:600; text-transform:uppercase; font-size:18px; }
.mobile-nav.open{ display:flex; }
.mobile-nav a{ padding:12px 4px; border-bottom:1px solid var(--plate); color:#c9c9c9; }

/* ---------- hero (workshop bay) ---------- */
.hero{ padding:60px 0 70px; overflow:hidden; background:var(--steel-dark); position:relative; }
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.03) 75%),
    linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.03) 75%);
  background-size:14px 14px; background-position:0 0, 7px 7px; opacity:.5;
}
.hero-grid{ display:grid; gap:52px; position:relative; z-index:2; }
@media(min-width:980px){ .hero-grid{ grid-template-columns:1.05fr .95fr; align-items:center; } }
.hero h1{ font-size:clamp(2.8rem,6.4vw,4.6rem); margin-top:16px; color:#fff; }
.hero h1 .hi{ color:var(--orange); }
.hero p.lede{ margin-top:20px; font-size:17px; font-family:var(--body); max-width:480px; color:#c9c9c9; }
.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(--plate); color:#fff; padding:7px 14px; font-family:var(--head); font-weight:600; font-size:15px; text-transform:uppercase; border-left:3px solid var(--orange); }

.hero-frame{ position:relative; background:var(--paper); padding:20px; }
.sticker{
  position:absolute; background:var(--orange); color:#111; font-family:var(--head);
  display:flex; align-items:center; justify-content:center; text-align:center;
  width:104px; height:104px; font-size:15px; line-height:1.1; transform:rotate(-6deg);
  clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.sticker.top-right{ top:-20px; right:-16px; }
.sticker span{ display:block; font-size:26px; }

/* ---------- stat strip ---------- */
.stat-strip{ background:var(--orange); }
.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(--head); font-size:clamp(2rem,3.6vw,2.8rem); color:var(--steel-dark); }
.stat-cell span{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:#3a2200; font-family:var(--body); }

/* ---------- specs — parts-catalog table ---------- */
.parts-table{ width:100%; border-collapse:collapse; margin-top:36px; font-family:var(--body); }
.parts-table th{ text-align:left; padding:14px 16px; background:var(--steel-dark); color:var(--orange); font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.parts-table td{ padding:16px; border-bottom:2px solid var(--line); font-size:15px; }
.parts-table tr:nth-child(even) td{ background:#e8e6de; }
.parts-table .pn{ font-family:var(--head); font-size:18px; color:var(--orange-dark); }

/* ---------- 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:2px solid var(--steel-dark); aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; padding:26px; }
.thumb-strip{ display:flex; gap:10px; margin-top:14px; }
.thumb-strip button{ width:62px; height:62px; background:var(--white); border:2px solid var(--steel-dark); padding:5px; }
.thumb-strip button.active{ background:var(--yellow); }
.thumb-strip img{ width:100%; height:100%; object-fit:contain; }

.ticket{ background:var(--white); border:2px solid var(--steel-dark); padding:34px; }
.rating-row{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:14px; font-family:var(--body); }
.rating-row b{ background:var(--steel-dark); color:var(--orange); padding:3px 10px; font-family:var(--head); font-size:16px; }
.ticket h2{ font-size:2.2rem; margin-top:14px; }
.ticket .model-line{ margin-top:6px; font-weight:600; color:var(--grey); font-family:var(--body); }

.price-row{ display:flex; align-items:baseline; gap:12px; margin-top:24px; padding-top:24px; border-top:2px dashed var(--steel-dark); flex-wrap:wrap; }
.price-now{ font-family:var(--head); font-size:2.8rem; color:var(--orange-dark); }
.price-was{ color:var(--grey); text-decoration:line-through; font-size:18px; font-weight:700; font-family:var(--body); }
.save-pill{ background:var(--yellow); color:#111; padding:4px 12px; font-weight:700; font-size:13px; font-family:var(--head); }

.field-label{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin:24px 0 10px; color:var(--grey); font-family:var(--body); }
.opt-row{ display:flex; flex-wrap:wrap; gap:10px; }
.opt-btn{ padding:9px 18px; background:var(--paper); border:2px solid var(--steel-dark); font-family:var(--head); font-weight:600; font-size:17px; }
.opt-btn.active{ background:var(--orange); color:#111; border-color:var(--orange); }

.qty-row{ display:inline-flex; align-items:center; border:2px solid var(--steel-dark); }
.qty-row button{ background:var(--white); border:none; width:42px; height:42px; font-weight:800; font-size:18px; }
.qty-row input{ width:46px; text-align:center; border:none; border-left:2px solid var(--steel-dark); border-right:2px solid var(--steel-dark); font-weight:800; }

.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:700; font-family:var(--body); }
.trust-note svg{ width:16px; height:16px; color:var(--orange-dark); }

/* ---------- features — numbered parts list ---------- */
.parts-list{ margin-top:36px; }
.parts-row{ display:grid; grid-template-columns:70px 1fr; gap:20px; align-items:start; padding:26px 0; border-bottom:2px solid var(--line); }
.parts-row:first-child{ border-top:2px solid var(--line); }
.parts-row-num{ font-family:var(--head); font-size:2.4rem; color:var(--orange); line-height:1; }
.parts-row h3{ font-size:1.3rem; }
.parts-row p{ margin-top:8px; font-size:14.5px; font-family:var(--body); color:#3a3a3a; max-width:640px; }

/* ---------- reviews (toolbox card) ---------- */
.review-grid{ display:grid; gap:0; margin-top:36px; grid-template-columns:1fr; border-top:2px solid var(--steel-dark); border-left:2px solid var(--steel-dark); }
@media(min-width:860px){ .review-grid{ grid-template-columns:repeat(3,1fr); } }
.bubble{ background:var(--white); border-right:2px solid var(--steel-dark); border-bottom:2px solid var(--steel-dark); padding:24px; position:relative; }
.bubble::before{ content:''; position:absolute; top:10px; left:10px; width:14px; height:14px; background:var(--steel-dark); border-radius:50%; }
.bubble .stars{ font-weight:800; color:var(--orange-dark); font-size:14px; font-family:var(--body); margin-left:26px; }
.bubble blockquote{ margin-top:10px; font-size:14.5px; font-family:var(--body); }
.bubble-who{ margin-top:22px; display:flex; align-items:center; gap:10px; }
.bubble-avatar{ width:34px; height:34px; background:var(--steel-dark); display:flex; align-items:center; justify-content:center; font-family:var(--head); font-weight:700; font-size:15px; color:var(--orange); }
.bubble-name{ font-weight:700; font-size:13.5px; font-family:var(--body); }
.bubble-role{ font-size:11.5px; color:var(--grey); font-weight:600; font-family:var(--body); }

/* ---------- guarantee stamp (rivet plate) ---------- */
.stamp-wrap{ display:flex; justify-content:center; padding:20px 0 90px; }
.stamp{
  width:220px; height:220px; background:var(--steel-dark); display:flex; align-items:center; justify-content:center;
  text-align:center; position:relative; transform:rotate(-2deg);
}
.stamp::before,.stamp::after{ content:''; position:absolute; width:12px; height:12px; border-radius:50%; background:var(--orange); top:14px; }
.stamp::before{ left:14px; }
.stamp::after{ right:14px; }
.stamp-inner{ padding:18px; color:#fff; }
.stamp-inner .s1{ font-family:var(--head); font-size:1.6rem; line-height:1.1; }
.stamp-inner .s2{ margin-top:8px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--orange); font-family:var(--body); }

/* ---------- FAQ accordion ---------- */
.faq-list{ border-top:2px solid var(--steel-dark); margin-top:30px; }
.faq-item{ border-bottom:2px solid var(--steel-dark); }
.faq-q{ width:100%; background:none; border:none; text-align:left; padding:22px 4px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-family:var(--head); font-size:20px; text-transform:none; color:var(--steel-dark); }
.faq-q .plus{ width:30px; height:30px; border:2px solid var(--steel-dark); flex-shrink:0; position:relative; }
.faq-q .plus::before,.faq-q .plus::after{ content:''; position:absolute; top:50%; left:50%; background:var(--steel-dark); transform:translate(-50%,-50%); }
.faq-q .plus::before{ width:14px; height:3px; }
.faq-q .plus::after{ width:3px; height:14px; transition:opacity .15s; }
.faq-item.open .faq-q .plus{ background:var(--orange); border-color:var(--orange); }
.faq-item.open .faq-q .plus::before,.faq-item.open .faq-q .plus::after{ background:#111; }
.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 4px 22px; font-size:14.5px; font-family:var(--body); max-width:680px; }
.faq-item.open .faq-a{ max-height:260px; }

/* ---------- footer ---------- */
footer.site-foot{ background:var(--steel-dark); color:#fff; padding:64px 0 0; border-top:4px solid var(--orange); }
.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:#c9c9c9; font-size:14px; max-width:340px; font-family:var(--body); }
.foot-col h4{ font-family:var(--head); font-size:19px; letter-spacing:.02em; margin-bottom:16px; color:var(--orange); }
.foot-col li{ margin-bottom:10px; }
.foot-col a{ color:#d8d8d8; font-size:14px; font-weight:600; font-family:var(--body); }
.foot-col a:hover{ color:var(--yellow); }
.foot-bottom{ margin-top:50px; border-top:1px solid #444; padding:22px 0; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; font-size:12px; font-weight:700; color:#a8a8a8; font-family:var(--body); }
.pay-icons{ display:flex; gap:8px; }
.pay-card{ width:42px; height:28px; background:#fff; 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(28,30,34,.65); 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(--paper);
  border-right:4px solid var(--orange); 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(--steel-dark); background:var(--steel-dark); }
.drawer-head h3{ font-size:22px; color:#fff; }
.icon-btn{ background:var(--orange); border:none; width:34px; height:34px; display:flex; align-items:center; justify-content:center; color:#111; }
.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(--steel-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.drawer-item-info b{ display:block; font-size:14px; font-family:var(--body); }
.drawer-item-info span{ font-size:12.5px; color:var(--grey); font-weight:600; font-family:var(--body); }
.drawer-foot{ border-top:2px solid var(--steel-dark); padding:22px; }
.drawer-subtotal{ display:flex; justify-content:space-between; font-weight:800; font-size:16px; margin-bottom:16px; font-family:var(--body); }
.empty-cart{ text-align:center; padding:40px 10px; color:var(--grey); font-weight:600; font-family:var(--body); }
.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(--grey); font-weight:700; margin-bottom:16px; font-size:13.5px; font-family:var(--body); }
.form-block{ margin-bottom:20px; }
.form-block h4{ font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; margin-bottom:10px; font-family:var(--body); }
.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(--steel-dark); background:var(--white); font-size:13.5px; outline:none; font-family:var(--body);
}
input:focus{ background:var(--yellow); }
.success-msg{ display:none; text-align:center; font-weight:800; background:var(--orange); border:2px solid var(--steel-dark); padding:14px; font-size:13px; text-transform:uppercase; font-family:var(--body); color:#111; }
.success-msg.show{ display:block; }
.secure-note{ margin-top:14px; font-size:12px; color:var(--grey); text-align:center; font-family:var(--body); }

/* ---------- legal pages ---------- */
.legal-hero{ padding:56px 0 32px; background:var(--steel-dark); border-bottom:4px solid var(--orange); }
.legal-hero h1{ font-size:clamp(2.4rem,4.6vw,3.4rem); margin-top:12px; color:#fff; }
.legal-hero p{ margin-top:12px; font-weight:600; max-width:560px; font-family:var(--body); color:#c9c9c9; }

.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(--steel-dark); padding:20px; display:none; }
@media(min-width:900px){ .legal-toc{ display:block; } }
.legal-toc h4{ font-family:var(--head); font-size:20px; margin-bottom:14px; }
.legal-toc li{ margin-bottom:10px; }
.legal-toc a{ font-size:13px; font-weight:700; font-family:var(--body); }
.legal-toc a:hover{ color:var(--orange-dark); }

.legal-content{ background:var(--white); border:2px solid var(--steel-dark); padding:36px; }
.legal-content section{ margin-bottom:30px; scroll-margin-top:100px; }
.legal-content section:last-child{ margin-bottom:0; }
.legal-content h2{ font-size:24px; margin-bottom:12px; }
.legal-content p{ margin-bottom:10px; font-size:14.5px; font-family:var(--body); }
.legal-content ul{ margin:10px 0; padding-left:20px; list-style:disc; font-size:14.5px; font-family:var(--body); }
.legal-content li{ margin-bottom:6px; }
.legal-content table{ width:100%; border-collapse:collapse; margin-top:14px; font-size:13.5px; font-family:var(--body); }
.legal-content th,.legal-content td{ text-align:left; padding:11px 13px; border:1px solid var(--line); }
.legal-content th{ background:var(--steel-dark); color:var(--orange); font-size:11px; text-transform:uppercase; }
.legal-content .updated{ font-weight:800; font-size:12px; margin-bottom:22px; display:inline-block; border:2px solid var(--steel-dark); padding:5px 12px; background:var(--yellow); font-family:var(--body); }
.back-link{ display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:13px; text-transform:uppercase; font-family:var(--body); color:#c9c9c9; }
.back-link svg{ width:15px; height:15px; }
