/* Club Race Hero - the live site's own theme, not a store skin.
   Read off clubracehero.com 2026-09-16: Karla 14px body on white, Montserrat
   headings at 400 weight in #444, centred, and the grey #cfcfcf content boxes. */
:root{--ink:#333;--head:#444;--mut:#666;--line:#ddd;--box:#cfcfcf;--bg:#fff;--red:#cc0000;--accent:#d11a1a;--accent2:#0b57d0}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 Karla,Arial,Helvetica,sans-serif}
a{color:inherit;text-decoration:none}
.copy a,.ftr a,.box p a,.box li a,table.cart a{text-decoration:underline}
.add,.dlrow,.pcta,.ytbtn,.card,.brandbar a{text-decoration:none}
main{max-width:1100px;margin:0 auto;padding:10px 16px 50px}
h1,h2,h3,h4{font-family:Montserrat,Arial,Helvetica,sans-serif;font-weight:400;color:var(--head);margin:0 0 10px}
h1{font-size:31px}
h2{font-size:18px}
h3{font-size:15px;font-weight:700}

/* header: small caps utility nav, then the big centred logo with the app phone */
.hdr{border-bottom:1px solid #eee;padding:8px 18px 0}
.hdr nav{display:flex;gap:18px;justify-content:flex-end;align-items:center;
  font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#555}
.hdr nav a{white-space:nowrap}
.hdr nav a:hover{color:var(--red)}
.cartlink{font-weight:700}
.cartlink span{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--ink);color:#fff;font-size:11px;text-align:center}
.brandbar{display:flex;align-items:center;justify-content:center;gap:26px;padding:10px 0 22px}
.brandbar .phone{width:86px;height:auto;display:block}
.brandbar .logo{max-width:520px;width:100%;height:auto;display:block}
@media (max-width:620px){.brandbar{gap:12px}.brandbar .phone{width:54px}}

/* content boxes, exactly the live page's look */
.box{background:var(--box);border:1px solid var(--line);border-radius:6px;padding:15px 18px;margin:0 0 25px}
.box h2{text-align:center}
.box ul{margin:6px 0;padding-left:20px}
.box ol{margin:6px 0;padding-left:22px}
.box li{margin:0 0 5px}
.center{text-align:center}
.hero{margin:0 0 25px;text-align:center}
.hero p{max-width:820px;margin:6px auto 0}
.side2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.side2 .box{margin:0 0 25px}
@media (max-width:700px){.side2{grid-template-columns:1fr}}

/* buttons */
.add{display:inline-block;background:#333;color:#fff;border:0;border-radius:6px;padding:12px 18px;
  font-size:15px;font-weight:700;cursor:pointer;text-decoration:none}
.add:hover{background:#000}
.add.ghost{background:#fff;color:#333;border:1px solid #333}
.add.ghost:hover{background:#f2f2f2}
.ytbtn{display:inline-block;background:var(--red);color:#fff;padding:12px 22px;border-radius:6px;font-weight:700;font-size:16px;text-decoration:none}

/* download rows */
.dlrows{display:grid;gap:8px;margin:12px 0}
.dlrow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;
  background:#fff;border:1px solid #bbb;border-radius:6px;font-weight:700;text-decoration:none}
.dlrow:hover{border-color:var(--red);color:#000}
.dlrow .small{font-weight:400}

/* tip jar */
.tip form{display:inline-grid;justify-items:center;gap:8px;margin:4px 0}
.tipbtn{background:#FFD140;color:#000;padding:10px 20px;border:none;border-radius:4px;font-size:16px;font-weight:bold;cursor:pointer}

/* parts list, two columns like the live page */
.twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:15px}
@media (max-width:700px){.twocol{grid-template-columns:1fr}}
.twocol .col h3{margin:15px 0 6px}
.twocol .col h3:first-child{margin-top:0}

/* video and shorts */
.vidbox{padding:0;overflow:hidden;background:#000;border-color:#bbb}
.vid{position:relative;padding-top:56.25%}
.vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.shortsgrid{display:grid;grid-template-columns:repeat(3,300px);gap:20px;justify-content:center;margin-bottom:25px}
.short{position:relative;width:300px;padding-top:177.78%;overflow:hidden;border-radius:8px}
.short iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:768px){.shortsgrid{grid-template-columns:1fr;justify-items:center}.short{width:100%;max-width:360px}}

/* builds gallery, masonry columns */
.galm{column-count:4;column-gap:14px}
@media (max-width:900px){.galm{column-count:2}}
@media (max-width:520px){.galm{column-count:1}}
.gitem{break-inside:avoid;display:block;margin:0 0 14px}
.gitem img{width:100%;height:auto;border-radius:8px;display:block}

/* app banner */
.appdl{display:flex;justify-content:center;margin:30px 0}
.appdl img{max-width:100%;height:auto;display:block;transition:transform .15s ease,filter .15s ease}
.appdl a:hover img{transform:scale(1.03);filter:drop-shadow(0 0 10px rgba(217,32,58,.55)) drop-shadow(0 8px 20px rgba(0,0,0,.55))}

/* printers */
.pcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:10px}
@media (max-width:900px){.pcards{grid-template-columns:1fr}}
.pcard img{display:block;max-width:260px;width:100%;height:auto;margin:6px auto 10px;border-radius:6px;background:#fff}
.pcard h3{margin:4px 0 2px;font-size:17px;font-family:Montserrat,Arial,sans-serif;font-weight:700}
.pcard ul{padding-left:20px;margin:6px 0}
.pcard .pr{font-weight:700;margin:4px 0 6px}
.pcta{margin-top:10px;display:inline-block;padding:10px 14px;border-radius:6px;border:1px solid #d00;font-weight:600;text-decoration:none}
.pcta:hover{background:#fff5f5}
.tag{font-size:12px;font-weight:700}

/* tables (download directory, cart, specs) */
table.cart{width:100%;border-collapse:collapse;margin-bottom:10px;background:#fff;border-radius:6px}
table.cart th,table.cart td{text-align:left;padding:9px 10px;border-bottom:1px solid #e3e3e3;font-size:14px}
table.cart img{width:54px;height:54px;object-fit:contain;background:#fafafa;border:1px solid var(--line);border-radius:6px}
table.spec{width:100%;border-collapse:collapse;background:#fff;border-radius:6px}
table.spec th,table.spec td{text-align:left;padding:9px 10px;border-bottom:1px solid #e3e3e3}
table.spec th{width:200px;color:#555;font-weight:700}
a.dl{font-weight:700;color:#0b3fa8;text-decoration:underline}

/* product and store cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.card{background:#fff;border:1px solid #bbb;border-radius:8px;overflow:hidden;display:block;text-decoration:none}
.card:hover{border-color:var(--red)}
.ph{aspect-ratio:1/1;background:#fff;display:flex;align-items:center;justify-content:center}
.ph img{width:100%;height:100%;object-fit:contain}
.cn{padding:10px 12px;display:flex;flex-direction:column;gap:3px}
.nm{font-weight:700;font-size:14px}
.pr{color:var(--red);font-weight:700}
.pv{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}
.pv-gal{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pv-gal img{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;object-fit:contain;aspect-ratio:1/1}
.pv-gal img:first-child{grid-column:1/-1}
.sku{color:var(--mut);font-size:13px;margin:0 0 6px}
.price{font-size:26px;font-weight:800;color:var(--red);margin:0 0 14px}
.qty{display:flex;align-items:center;margin-bottom:12px}
.qty button{width:38px;height:38px;border:1px solid #bbb;background:#fff;font-size:18px;cursor:pointer}
.qty input{width:56px;height:38px;text-align:center;border:1px solid #bbb;border-left:0;border-right:0;font:inherit}
.ship{color:var(--mut);font-size:13px;margin:12px 0 18px}
@media (max-width:760px){.pv{grid-template-columns:1fr}}

/* cart totals */
.totals{max-width:320px;margin-left:auto;font-size:15px}
.totals div{display:flex;justify-content:space-between;padding:5px 0}
.totals .grand{border-top:2px solid var(--line);margin-top:6px;padding-top:9px;font-weight:800;font-size:17px}
.pay{display:flex;flex-direction:column;gap:12px;align-items:flex-end;max-width:320px;margin:18px 0 10px auto}
.pay .add{width:100%}
#paypal{width:100%}
.rm{background:none;border:0;color:var(--mut);cursor:pointer;text-decoration:underline;font-size:13px}
.empty{color:var(--mut);padding:18px 0}

.small{font-size:12.5px;color:#555}
.box .small{color:#444}
.ftr{border-top:1px solid #eee;padding:22px 18px 40px;color:#666;font-size:12.5px;text-align:center}
