/* Fast Toys Motorsports — site styles. Change brand colors here. */
:root {
  --red: #db1200;
  --red-dark: #a80e00;
  --bg: #0c0c0e;
  --bg-2: #151518;
  --bg-3: #1e1e22;
  --line: #2b2b31;
  --text: #f3f3f4;
  --muted: #a3a3ad;
  --ok: #1fa45a;
  --warn: #e8a200;
  --radius: 10px;
  --wrap: 1240px;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.sr { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 6px; border: 2px solid var(--red); background: var(--red); color: #fff; font: 700 .95rem/1 var(--body); letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff4; }
.btn.ghost:hover { border-color: #fff; background: #ffffff10; }
.btn.small { padding: .55em .9em; font-size: .8rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Top bar + header */
.topbar { background: var(--red); font-size: .85rem; font-weight: 600; }
.topbar .wrap { display: flex; gap: 22px; justify-content: flex-end; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topbar a { display: inline-flex; gap: 6px; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 50; background: #0c0c0eee; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 54px; width: auto; }
.logo .wordmark { font: 900 1.7rem/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .02em; }
.logo .wordmark small { display: block; font-size: .55em; letter-spacing: .32em; color: var(--muted); font-style: normal; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; color: #ddd; }
.nav a:hover, .nav a.active { color: #fff; background: #ffffff0d; }
.nav a.active { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.header-cta { display: flex; gap: 10px; }
.cta-short { display: none; }
@media (max-width: 560px) { .cta-num { display: none; } .cta-short { display: inline; } .logo img { height: 44px; } }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }
@media (max-width: 960px) {
  .header-cta { margin-left: auto; }
  .header-cta .btn { padding: .6em .8em; }
  .header-cta { order: 2; }
  .menu-btn { display: block; margin-left: 4px; order: 3; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-2); padding: 10px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; transform: scale(1.03); }
.hero-bg.custom { opacity: 1; }
@media (max-width: 899px) {
  /* phones/tablets: whole photo on top, text underneath, so the machine is never cut off or covered */
  .hero.has-custom { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero.has-custom .hero-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; transform: none; background-position: 60% 50%; }
  .hero.has-custom::after { background: linear-gradient(0deg, var(--bg) 0%, #0000 18%); }
  .hero.has-custom .wrap { padding-top: 8px; padding-bottom: 64px; }
  .hero.has-custom .kicker { margin-bottom: 10px; }
}
@media (min-width: 900px) {
  /* custom hero photo sits on the right, fading into black behind the headline */
  .hero-bg.custom { left: 44%; opacity: 1; transform: none; background-position: 62% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  .hero.has-custom::after { background: linear-gradient(90deg, #000 0%, #000d 30%, #0000 55%), linear-gradient(0deg, var(--bg) 0%, #0000 22%); }
  .hero.has-custom h1 { max-width: 34vw; }
  .hero.has-custom p { max-width: 34vw; }
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000e 0%, #000a 45%, #0000 100%), linear-gradient(0deg, var(--bg) 0%, #0000 30%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 60px; padding-bottom: 60px; }
.hero .kicker { display: inline-block; font: 800 .85rem/1 var(--body); letter-spacing: .25em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.hero h1 { max-width: 760px; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero p { font-size: 1.15rem; max-width: 560px; color: #ddd; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Quick search bar */
.quick-search { position: relative; z-index: 3; margin-top: -46px; }
.quick-search form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); box-shadow: 0 20px 50px #0008; }
@media (max-width: 820px) { .quick-search form { grid-template-columns: 1fr 1fr; } .quick-search .btn { grid-column: 1 / -1; } }

/* Forms */
input, select, textarea { width: 100%; padding: .75em .85em; background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: transparent; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
.field { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.form-msg { margin-top: 10px; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #ff6a5c; }
.fine { font-size: .78rem; color: var(--muted); }

/* Sections */
section { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head h2 span { color: var(--red); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.cat .cat-ph { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-3); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.cat:hover { border-color: #555; transform: translateY(-3px); }
.cat:hover img { transform: scale(1.04); }
.cat div.cat-txt { padding: 12px 16px 14px; width: 100%; border-top: 3px solid var(--red); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cat h3 { margin: 0; font-size: 1.6rem; }
.cat span { font-size: .85rem; color: #ddd; }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr 1fr; } }

/* Vehicle cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: #4a4a52; }
.card .ph { position: relative; aspect-ratio: 4/3; background: var(--bg-3); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font: 800 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; background: #000c; color: #fff; }
.badge.red { background: var(--red); }
.badge.warn { background: var(--warn); color: #000; }
.badge.ok { background: var(--ok); }
.card .count { position: absolute; bottom: 10px; right: 10px; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .yr { font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { font-size: 1.35rem; margin: 0; }
.card .meta { font-size: .85rem; color: var(--muted); }
.card .price-row { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); }
.price { font: 800 1.7rem/1 var(--display); color: #fff; }
.price s { font-size: .65em; color: var(--muted); margin-right: 6px; font-weight: 600; }
.price.call { font-size: 1.2rem; }
.est { font-size: .78rem; color: var(--muted); text-align: right; }
.est b { color: #fff; font-size: 1rem; display: block; }

/* Inventory page */
.inv-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters h3 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.filters h3 button { background: none; border: 0; color: var(--red); font-weight: 700; cursor: pointer; font-size: .8rem; text-transform: uppercase; }
.inv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.inv-top select { width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 600; font-size: .85rem; cursor: pointer; color: #ddd; }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .inv-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}
.empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Vehicle detail */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a:hover { color: #fff; }
.vdp { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; padding: 20px 0 60px; align-items: start; }
@media (max-width: 960px) {
  .vdp { display: flex; flex-direction: column; gap: 22px; }
  .vdp-main { display: contents; }
  .vdp-main > .panel { margin-top: 0 !important; }
  .gallery { order: 1; } .vdp-side { order: 2; } .vdp-main > .panel { order: 3; }
}
.gallery .main { position: relative; aspect-ratio: 4/3; background: #000; border-radius: var(--radius); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #000a; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
.gallery .prev { left: 12px; } .gallery .next { right: 12px; }
.gallery .counter { position: absolute; bottom: 12px; right: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .6; border: 2px solid transparent; }
.thumbs img.on, .thumbs img:hover { opacity: 1; border-color: var(--red); }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.vdp-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.vdp h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .2em; }
.vdp .big-price { font: 900 2.8rem/1 var(--display); margin: 10px 0 4px; }
.vdp .big-price s { font-size: .5em; color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.specs div { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.specs div:nth-child(odd) { padding-right: 12px; }
.specs dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.specs dd { margin: 0; font-weight: 600; word-break: break-word; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { flex: 1; min-width: 0; padding: 10px 4px; background: var(--bg-3); border: 1px solid var(--line); color: #ccc; border-radius: 6px; font-weight: 700; font-size: .74rem; text-transform: uppercase; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs button.on { background: var(--red); border-color: var(--red); color: #fff; }
.desc { white-space: pre-line; color: #ddd; }
.calc-out { font: 800 2.2rem/1 var(--display); }
.lightbox { position: fixed; inset: 0; background: #000f; z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 96vw; object-fit: contain; }
.lightbox button { position: absolute; background: #fff2; border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .x { top: 16px; right: 16px; } .lightbox .prev { left: 16px; } .lightbox .next { right: 16px; }
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .vdp-side { position: static; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px; background: #0c0c0ef2; border-top: 1px solid var(--line); z-index: 60; }
  body.has-mobile-cta { padding-bottom: 70px; }
}

/* Generic page header */
.page-head { padding: 54px 0 34px; background: linear-gradient(120deg, #1a0300, var(--bg) 60%); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 680px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { list-style: none; counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; }
.steps { padding: 0; }

/* Why us strip */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why div { padding: 22px; background: var(--bg-3); border-radius: var(--radius); border-left: 4px solid var(--red); }
.why h3 { font-size: 1.25rem; margin-bottom: .3em; }
.why p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: #070708; border-top: 3px solid var(--red); padding: 50px 0 20px; color: #bbb; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.hours-tbl { width: 100%; border-collapse: collapse; }
.hours-tbl td { padding: 3px 0; }
.hours-tbl td:last-child { text-align: right; color: #fff; }
.legal { border-top: 1px solid #222; margin-top: 34px; padding-top: 16px; font-size: .78rem; color: #777; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.prop65 { font-size: .72rem; color: #666; margin-top: 14px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
.skeleton { background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Branded frame on each listing's first photo ---------- */
.card .ph, .gallery .main { container-type: inline-size; }
.cover-brand { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; }
.cover-brand[hidden] { display: none; }
.cb-top { display: flex; align-items: center; justify-content: center; gap: 2.2cqw; padding: 1.7cqw 3cqw;
  background: linear-gradient(180deg, #000f, #000d); border-bottom: max(2px, .55cqw) solid var(--red);
  font: 900 italic clamp(10px, 6cqw, 40px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.cb-top em { color: var(--red); }
.cb-check { font-style: normal; display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; border: max(1.5px, .45cqw) solid var(--red);
  border-radius: .12em; color: var(--red); font: 900 .78em/1 var(--body); }
.cb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 1.8cqw 3cqw;
  background: linear-gradient(0deg, #000f, #000d); border-top: max(2px, .55cqw) solid var(--red); }
.cb-logo { display: flex; align-items: center; font: 900 italic clamp(10px, 5cqw, 34px)/1 var(--display); text-transform: uppercase; color: #fff; }
.cb-logo em { color: var(--red); }
.cover-brand .cb-logo img, .card .ph .cb-logo img, .gallery .main .cb-logo img { height: clamp(13px, 6cqw, 44px); width: auto; max-width: 55cqw; object-fit: contain; cursor: default; }
.cb-contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; color: #fff; }
.cb-contact b { font: 800 clamp(10px, 5.4cqw, 38px)/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.cb-contact small { font: 600 clamp(7px, 2.5cqw, 17px)/1.3 var(--body); color: #ccc; letter-spacing: .02em; white-space: nowrap; }
.cb-contact small:empty { display: none; }
/* keep the little tags clear of the frame */
.card .badges { top: calc(11.5cqw + 6px); }
.card .count { bottom: calc(12cqw + 6px); }
.gallery .counter { bottom: calc(12cqw + 8px); }

.cb-item { display: inline-flex; align-items: center; gap: 1.6cqw; white-space: nowrap; }
.cb-top.multi { font-size: clamp(7px, 3.9cqw, 28px); gap: 2.4cqw; padding-left: 2cqw; padding-right: 2cqw; letter-spacing: 0; }
.cb-top.multi .cb-item { gap: 1.1cqw; }
.cb-sep { width: max(1.5px, .4cqw); align-self: stretch; background: #fff4; }
/* No dealer fees callouts */
.no-fees { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 16px; padding: 10px 12px; border-radius: 8px;
  background: #1fa45a1a; border: 1px solid #1fa45a66; font-size: .9rem; color: #dfe; }
.no-fees b { color: #fff; }
.nf-check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .8rem; }
.card-nofee { font-size: .78rem; font-weight: 700; color: #4fd08a; letter-spacing: .02em; }

/* ---------- Google reviews ---------- */
.rev-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rev-score { display: flex; align-items: center; gap: 14px; }
.rev-num { font: 900 3.2rem/1 var(--display); }
.stars { color: #fbbc05; letter-spacing: 2px; font-size: 1.1rem; }
.stars .off { color: #555; }
.g-word b { font-weight: 700; }
.rev-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.rev { margin: 0; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rev-top { display: flex; gap: 10px; align-items: center; }
.rev-top img, .rev-av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.rev-av { background: var(--red); display: grid; place-items: center; font-weight: 800; }
.rev-top .muted { font-size: .8rem; }
.rev-top .stars { font-size: .85rem; letter-spacing: 1px; }
.rev blockquote { margin: 0; color: #ddd; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rev-more { margin-top: auto; font-size: .8rem; color: var(--muted); }
.rev-more:hover { color: #fff; }

/* ---------- Fast Toys Parts cross-links ---------- */
.parts-band { background: linear-gradient(110deg, #2a0400, var(--bg-2) 55%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 46px 0; }
.parts-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.parts-inner .kicker { font: 800 .8rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.parts-inner h2 { margin: 8px 0; }
.parts-inner p { max-width: 620px; margin: 0; }
.parts-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; border-left: 4px solid var(--red); }
.parts-cta:hover { border-color: #555; border-left-color: var(--red); }


/* ---------- New-arrival alerts pop-up ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 300; background: #000b; backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s ease; overflow-y: auto; }
.modal { position: relative; width: min(560px, 100%); background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 12px; padding: 26px 24px 18px; box-shadow: 0 30px 80px #000; animation: popIn .25s ease; }
.modal h2 { margin: 4px 0 8px; font-size: clamp(1.8rem, 6vw, 2.4rem); }
.modal-kicker { font: 800 .75rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.modal-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #ffffff12; color: #fff; font-size: 1.1rem; cursor: pointer; }
.modal-x:hover { background: #ffffff25; }
.modal .chips { margin: 0; }
.chip-check { display: inline-flex; cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-3); font-weight: 600; font-size: .85rem; color: #ddd; }
.chip-check input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid #fff; }
.modal-done { text-align: center; padding: 20px 0 10px; display: grid; justify-items: center; gap: 6px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .modal-bg, .modal { animation: none; } }
.inv-top > div:first-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .modal-bg { padding: 10px; align-items: start; }
  .modal { padding: 18px 16px 12px; }
  .modal h2 { font-size: 1.7rem; margin: 2px 0 4px; padding-right: 40px; }
  .modal > p.muted { font-size: .88rem; margin-bottom: 10px; }
  .modal .field { margin-bottom: 10px; }
  .modal label { font-size: .72rem; margin-bottom: 4px; }
  .modal .grid-2 { grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .modal input, .modal select { padding: .6em .7em; }
  .modal .chips { gap: 6px; }
  .chip-check span { padding: 6px 10px; font-size: .78rem; }
  .modal .fine { font-size: .68rem; margin: 8px 0 0; }
  .modal-x { width: 36px; height: 36px; }
}

/* ---------- Blog ---------- */
.article { max-width: 820px; }
.article p, .article li { color: #dcdce0; font-size: 1.05rem; line-height: 1.7; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; text-transform: none; font-size: 1.5rem; }
.article a { color: #ff5a47; text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: #fff; }
.article ul { padding-left: 1.2em; }
.article table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .98rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--bg-3); font-weight: 700; }
.article td:first-child { color: var(--muted); font-weight: 600; white-space: nowrap; }
.article .cta-box { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 22px 26px; margin: 2em 0; }
.article .byline { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
.post-list { display: grid; gap: 18px; max-width: 820px; }
.post-card { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; transition: border-color .15s; }
.post-card:hover { border-color: #4a4a52; }
.post-card h2 { font-size: 1.8rem; margin: 6px 0 8px; }
.post-card p { color: var(--muted); margin: 0; }
.post-card .more { display: inline-block; margin-top: 12px; color: #ff5a47; font-weight: 700; }
@media (max-width: 640px) { .article td:first-child { white-space: normal; } }

/* menu fits on one line now that it has 7 items */
.nav a, .header-cta .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .site-header .wrap { gap: 14px; }
  .nav a { padding: 10px 9px; font-size: .82rem; letter-spacing: .02em; }
  .logo img { height: 46px; }
  .header-cta .cta-num { display: none; }
  .header-cta .cta-short { display: inline; }
}
