/* =========================================================
   TROCADOROIL.SHOP — motorsport livery design system
   Paddock white, jet black, racing red + safety yellow.
   Angular italic type, chevron dividers, checkered accents,
   parallelogram buttons. No dark UI, no soft shadows,
   no rounded pill shapes, no serif type.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,600;1,700&display=swap');

:root{
  --white:#FAFAF9;
  --paper:#F1F0EC;
  --black:#111111;
  --red:#D2001F;
  --red-dark:#9E0017;
  --yellow:#FFC400;
  --grey:#6b6b6b;
  --line:#dcdad2;
  --head:'Rajdhani', 'Arial Narrow', sans-serif;
  --body:'Barlow', system-ui, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--white); color:var(--black);
  font-family:var(--body); line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:var(--head); color:var(--black); line-height:1.05; margin:0; font-weight:700; text-transform:uppercase; font-style:italic; 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:84px 0; }

.flag-tag{
  display:inline-flex; align-items:center; gap:10px; background:var(--black); color:var(--yellow);
  padding:7px 16px 7px 12px; font-family:var(--head); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.05em;
  clip-path:polygon(0 0,100% 0,94% 100%,0% 100%);
}
.flag-tag::before{ content:'▸'; }
.sec-title{ font-size:clamp(2rem,4vw,3.1rem); margin-top:14px; max-width:680px; }
.sec-sub{ margin-top:14px; color:var(--grey); max-width:560px; font-size:16px; font-style:normal; font-weight:500; }

/* ---------- buttons (parallelogram) ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 32px 16px 26px; font-family:var(--head); font-weight:700; font-size:15px; font-style:italic;
  text-transform:uppercase; letter-spacing:.02em; background:var(--white); color:var(--black); border:2px solid var(--black);
  clip-path:polygon(8% 0,100% 0,92% 100%,0% 100%); transition:transform .12s ease;
}
.btn:hover{ transform:translateX(3px); }
.btn-red{ background:var(--red); color:#fff; border-color:var(--red); }
.btn-black{ background:var(--black); color:#fff; }
.btn-yellow{ background:var(--yellow); color:var(--black); border-color:var(--black); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- checkered ticker ---------- */
.ticker{
  background-image:repeating-linear-gradient(45deg, var(--black) 0 14px, var(--white) 14px 28px);
  border-top:3px solid var(--black); border-bottom:3px solid var(--black);
  overflow:hidden; white-space:nowrap; height:40px; display:flex; align-items:center;
}
.ticker-track{ display:inline-flex; gap:0; animation:tick 18s linear infinite; }
.ticker-track span{
  display:inline-flex; align-items:center; padding:6px 24px; font-family:var(--head); font-weight:700; font-size:12.5px; text-transform:uppercase;
  background:var(--red); color:#fff; margin:0 6px; letter-spacing:.04em; clip-path:polygon(6% 0,100% 0,94% 100%,0 100%);
}
@keyframes tick{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- header ---------- */
header.site-head{ background:var(--white); border-bottom:3px solid var(--black); position:sticky; top:0; z-index:50; }
.head-row{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--head); font-size:21px; font-style:italic; }
.brand-mark{ width:36px; height:36px; background:var(--red); display:flex; align-items:center; justify-content:center; clip-path:polygon(15% 0,100% 0,85% 100%,0 100%); }
.brand-mark svg{ width:17px; height:17px; color:#fff; }

nav.main-nav{ display:none; align-items:center; gap:26px; font-family:var(--head); font-weight:600; font-size:14.5px; text-transform:uppercase; font-style:italic; }
nav.main-nav a{ border-bottom:2px solid transparent; padding-bottom:3px; }
nav.main-nav a:hover{ 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(--black); color:#fff;
  padding:9px 18px 9px 14px; font-family:var(--head); font-weight:700; font-size:13.5px; text-transform:uppercase; font-style:italic;
  clip-path:polygon(10% 0,100% 0,90% 100%,0 100%);
}
.cart-btn svg{ width:16px; height:16px; }
.cart-count{ background:var(--yellow); color:var(--black); 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(--black); padding:8px; display:flex; }
.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-family:var(--head); font-weight:600; text-transform:uppercase; font-size:15px; font-style:italic; }
.mobile-nav.open{ display:flex; }
.mobile-nav a{ padding:12px 4px; border-bottom:1px solid var(--line); }

/* ---------- hero (angled split) ---------- */
.hero{ padding:60px 0 0; overflow:hidden; position:relative; }
.hero-grid{ display:grid; gap:0; }
@media(min-width:980px){ .hero-grid{ grid-template-columns:1.05fr .95fr; align-items:stretch; } }
.hero-copy{ padding:20px 0 70px; }
.hero h1{ font-size:clamp(2.6rem,6vw,4.3rem); margin-top:18px; }
.hero h1 .hi{ color:var(--red); }
.hero p.lede{ margin-top:22px; font-size:18px; font-style:normal; font-weight:500; max-width:480px; color:#333; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }
.spec-tag{ background:var(--white); border:2px solid var(--black); padding:7px 14px 7px 10px; font-family:var(--head); font-weight:700; font-size:12.5px; text-transform:uppercase; clip-path:polygon(8% 0,100% 0,92% 100%,0 100%); }

.hero-media{ position:relative; background:var(--paper); border-left:3px solid var(--black); display:flex; align-items:center; justify-content:center; padding:40px; }
.hero-media img{ max-height:480px; object-fit:contain; }
.sticker{
  position:absolute; background:var(--red); color:#fff; font-family:var(--head);
  display:flex; align-items:center; justify-content:center; text-align:center; font-style:italic;
  width:104px; height:104px; font-size:14px; line-height:1.15; clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%);
}
.sticker.top-right{ top:24px; right:24px; }
.sticker span{ display:block; font-size:24px; }

/* ---------- stat strip ---------- */
.stat-strip{ background:var(--black); border-bottom:3px solid var(--black); overflow:hidden; padding:22px 0; }
.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; color:#fff; }
.stat-cell b{ display:block; font-family:var(--head); font-style:italic; font-size:clamp(1.6rem,3vw,2.4rem); color:var(--yellow); }
.stat-cell span{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:#cfcfcf; font-family:var(--body); }

/* ---------- dashboard gauge spec grid ---------- */
.gauge-grid{ display:grid; gap:18px; margin-top:36px; grid-template-columns:1fr; }
@media(min-width:700px){ .gauge-grid{ grid-template-columns:repeat(3,1fr); } }
.gauge-cell{ background:var(--paper); border:2px solid var(--black); padding:28px; position:relative; }
.gauge-cell::before{ content:''; position:absolute; top:0; left:0; width:100%; height:5px; background:var(--red); }
.gauge-cell.alt::before{ background:var(--yellow); }
.gauge-cell .gc-label{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--grey); }
.gauge-cell .gc-value{ font-family:var(--head); font-style:italic; font-size:2rem; margin-top:10px; }
.gauge-cell .gc-note{ margin-top:8px; font-size:13px; color:var(--grey); font-weight:500; }

/* ---------- 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(--paper); border:2px solid var(--black); 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(--black); 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(--black); 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(--black); color:var(--yellow); padding:3px 10px; font-family:var(--head); font-style:italic; }
.ticket h2{ font-size:2rem; margin-top:14px; }
.ticket .model-line{ margin-top:6px; font-weight:600; color:var(--grey); font-family:var(--body); font-style:normal; }

.price-row{ display:flex; align-items:baseline; gap:12px; margin-top:24px; padding-top:24px; border-top:2px solid var(--black); flex-wrap:wrap; }
.price-now{ font-family:var(--head); font-style:italic; font-size:2.4rem; color:var(--red); }
.price-was{ color:var(--grey); text-decoration:line-through; font-size:18px; font-weight:700; }
.save-pill{ background:var(--yellow); color:var(--black); padding:4px 12px 4px 8px; font-weight:800; font-size:12.5px; font-family:var(--head); clip-path:polygon(10% 0,100% 0,90% 100%,0 100%); }

.field-label{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin:24px 0 10px; color:var(--grey); }
.opt-row{ display:flex; flex-wrap:wrap; gap:10px; }
.opt-btn{ padding:9px 18px; background:var(--white); border:2px solid var(--black); font-family:var(--head); font-weight:700; font-size:13px; font-style:italic; }
.opt-btn.active{ background:var(--red); color:#fff; border-color:var(--red); }

.qty-row{ display:inline-flex; align-items:center; border:2px solid var(--black); }
.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(--black); border-right:2px solid var(--black); 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(--red); }

/* ---------- feature 2x2 icon grid ---------- */
.feature-grid2{ display:grid; gap:0; border:2px solid var(--black); margin-top:36px; grid-template-columns:1fr; }
@media(min-width:760px){ .feature-grid2{ grid-template-columns:repeat(2,1fr); } }
.feature-cell{ padding:34px; border-bottom:2px solid var(--black); position:relative; }
@media(min-width:760px){ .feature-cell:nth-child(odd){ border-right:2px solid var(--black); } }
.feature-cell:nth-last-child(-n+2){ border-bottom:none; }
.feature-cell .fc-chev{ font-family:var(--head); font-style:italic; font-size:1.8rem; color:var(--red); }
.feature-cell h3{ font-size:1.25rem; margin-top:12px; }
.feature-cell p{ margin-top:10px; font-size:14.5px; font-weight:500; font-family:var(--body); color:#333; }

/* ---------- reviews (quote slab) ---------- */
.review-grid{ display:grid; gap:0; margin-top:40px; grid-template-columns:1fr; border-top:2px solid var(--black); }
@media(min-width:860px){ .review-grid{ grid-template-columns:repeat(3,1fr); } }
.bubble{ position:relative; background:var(--white); border-left:2px solid var(--black); border-bottom:2px solid var(--black); padding:26px; }
@media(min-width:860px){ .bubble:last-child{ border-right:2px solid var(--black); } }
.bubble .stars{ font-weight:800; color:var(--red); font-size:14px; font-family:var(--head); }
.bubble blockquote{ margin-top:10px; font-weight:500; font-size:14.5px; font-family:var(--body); }
.bubble-who{ margin-top:26px; display:flex; align-items:center; gap:10px; }
.bubble-avatar{ width:34px; height:34px; display:flex; align-items:center; justify-content:center; font-family:var(--head); font-weight:800; font-size:12px; color:#fff; clip-path:polygon(15% 0,100% 0,85% 100%,0 100%); }
.bubble-name{ font-weight:800; 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 flag ---------- */
.stamp-wrap{ display:flex; justify-content:center; padding:20px 0 90px; }
.stamp{
  width:220px; height:220px; border:3px solid var(--black); display:flex; align-items:center; justify-content:center;
  text-align:center; background-image:repeating-conic-gradient(var(--black) 0 25%, var(--white) 0 50%); background-size:20px 20px;
}
.stamp-inner{ padding:18px; background:var(--white); width:170px; height:170px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-direction:column; }
.stamp-inner .s1{ font-family:var(--head); font-style:italic; font-size:1.15rem; line-height:1.15; }
.stamp-inner .s2{ margin-top:6px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; font-family:var(--body); color:var(--grey); }

/* ---------- FAQ accordion ---------- */
.faq-list{ border-top:2px solid var(--black); margin-top:30px; }
.faq-item{ border-bottom:2px solid var(--black); }
.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-style:italic; font-size:16.5px; text-transform:none; }
.faq-q .plus{ width:30px; height:30px; border:2px solid var(--black); flex-shrink:0; position:relative; }
.faq-q .plus::before,.faq-q .plus::after{ content:''; position:absolute; top:50%; left:50%; background:var(--black); 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(--red); border-color:var(--red); }
.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 4px 22px; font-size:14.5px; font-weight:500; max-width:680px; font-family:var(--body); }
.faq-item.open .faq-a{ max-height:260px; }

/* ---------- footer ---------- */
footer.site-foot{ background:var(--black); color:#fff; padding:64px 0 0; border-top:3px solid var(--black); }
.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-weight:500; font-family:var(--body); }
.foot-col h4{ font-family:var(--head); font-style:italic; font-size:14px; letter-spacing:.02em; margin-bottom:16px; }
.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 #333; 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(17,17,17,.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(--white);
  border-right:3px solid var(--black); 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(--black); }
.drawer-head h3{ font-size:18px; }
.icon-btn{ background:var(--white); border:2px solid var(--black); width:34px; height:34px; display:flex; align-items:center; justify-content:center; }
.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(--paper); border:2px solid var(--black); 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(--black); 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(--black); background:var(--white); font-size:13.5px; outline:none;
}
input:focus{ background:var(--paper); }
.success-msg{ display:none; text-align:center; font-weight:800; background:var(--yellow); border:2px solid var(--black); padding:14px; font-size:13px; text-transform:uppercase; font-family:var(--body); }
.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:60px 0 34px; border-bottom:3px solid var(--black); }
.legal-hero h1{ font-size:clamp(2rem,4vw,2.8rem); margin-top:12px; }
.legal-hero p{ margin-top:12px; font-weight:600; max-width:560px; font-family:var(--body); font-style:normal; color:#333; }

.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(--paper); border:2px solid var(--black); padding:20px; display:none; }
@media(min-width:900px){ .legal-toc{ display:block; } }
.legal-toc h4{ font-family:var(--head); font-style:italic; font-size:13px; 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(--red); }

.legal-content{ background:var(--white); border:2px solid var(--black); 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:18px; margin-bottom:12px; }
.legal-content p{ margin-bottom:10px; font-size:14.5px; font-weight:500; font-family:var(--body); }
.legal-content ul{ margin:10px 0; padding-left:20px; list-style:disc; font-size:14.5px; font-weight:500; 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(--black); color:var(--yellow); 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(--black); 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); }
.back-link svg{ width:15px; height:15px; }
