/* Parts request — online store */
:root {
  /* dark scheme */
  color-scheme: dark;
  --ink: #E8EBF0;
  --ink-2: #C3C9D2;
  --muted: #8B94A3;
  --line: #2A313C;
  --bg: #0E1116;
  --card: #161B22;
  --card-2: #1D232C;
  --hover: #232A34;
  --field: #0F141A;
  --brand: #F05A28;
  --brand-dark: #D4471A;
  --brand-soft: rgba(240,90,40,.14);
  --link: #FF8457;
  --dark: #0A0D11;
  --dark-2: #232B36;
  --green: #3FD08A;
  --green-soft: rgba(63,208,138,.13);
  --amber: #F4B350;
  --amber-soft: rgba(244,179,80,.12);
  --blue: #7DB3FF;
  --blue-soft: rgba(125,179,255,.12);
  --red: #F2766A;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.5);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- header ---------- */
.topstrip { background: var(--dark); color: #C9CED6; font-size: 13px; }
.topstrip-in { display: flex; justify-content: space-between; padding: 7px 20px; }
.topstrip a { color: #fff; font-weight: 600; }
.site-header { background: var(--dark-2); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.header-in { display: flex; align-items: center; gap: 20px; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .02em; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; transform: skewX(-8deg); }
.logo-text { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.logo-text b { font-weight: 800; color: var(--brand); margin-left: 1px; }
.logo-img { display: block; height: 38px; width: auto; max-width: 200px; object-fit: contain; }
.searchbar { flex: 1; display: flex; background: var(--field); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-width: 620px; }
.searchbar input { flex: 1; border: 0; padding: 11px 16px; font-size: 15px; outline: none; color: var(--ink); background: transparent; min-width: 0; }
.searchbar button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; }
.searchbar button:hover { background: var(--brand-dark); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; }
.icon-link:hover { background: rgba(255,255,255,.1); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }

.mainnav { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); }
.mainnav-in { display: flex; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mainnav-in::-webkit-scrollbar { display: none; }
.mainnav a { display: flex; align-items: center; gap: 8px; color: #C9CED6; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 12px 16px; white-space: nowrap; border-bottom: 3px solid transparent; }
.mainnav a:hover, .mainnav a.active { color: #fff; border-bottom-color: var(--brand); }
.mainnav svg { flex-shrink: 0; }

.vehiclebar { background: var(--card); color: var(--ink); border-bottom: 1px solid var(--line); }
.vehiclebar-in { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 20px; font-size: 14px; min-height: 42px; }
.vb-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vb-name:hover { color: var(--link); }
.vb-x { border: 0; background: none; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.vb-x:hover { background: var(--hover); color: var(--red); }

/* ---------- common ---------- */
main { min-height: 60vh; padding-top: 24px; padding-bottom: 60px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 15px; background: var(--brand); color: #fff; transition: background .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-dark); }
.btn:disabled { background: var(--card-2); color: var(--muted); cursor: not-allowed; }
.btn.secondary { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--hover); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--link); font-weight: 600; padding: 0; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
h1 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 6px; }
h2 { font-size: 21px; letter-spacing: -.01em; margin: 0 0 14px; }
.section { margin-top: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px 20px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin: 0 0 6px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.badge.ok { background: var(--green-soft); color: var(--green); }
.badge.low { background: var(--amber-soft); color: var(--amber); }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pbrand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ptitle { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.ptitle:hover { color: var(--link); }
.pnum { font-size: 12.5px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.fit { font-size: 13px; font-weight: 600; }
.fit.no { color: var(--red); }
.pimg { aspect-ratio: 1; background: linear-gradient(135deg, #1D232C, #262E39); display: grid; place-items: center; color: #5E6878; border-radius: 10px; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.vmsg { font-size: 13.5px; min-height: 18px; }
.vmsg.err { color: var(--red); }

/* ---------- home: promo carousel ---------- */
.promo { position: relative; overflow: hidden; border-radius: 18px; margin-bottom: 22px; border: 1px solid var(--line); }
.promo-track { display: flex; transition: transform .55s ease; }
.promo-slide { flex: 0 0 100%; min-height: 220px; display: flex; align-items: center; padding: 34px 70px 46px; color: #fff; }
.promo-slide.theme-orange { background: radial-gradient(700px 260px at 85% 20%, rgba(255,170,90,.35), transparent 60%), linear-gradient(120deg, #7a2a0c 0%, #d4471a 55%, #f05a28 100%); }
.promo-slide.theme-blue { background: radial-gradient(700px 260px at 85% 20%, rgba(125,179,255,.3), transparent 60%), linear-gradient(120deg, #0d1f3c 0%, #1d4ed8 100%); }
.promo-slide.theme-green { background: radial-gradient(700px 260px at 85% 20%, rgba(63,208,138,.3), transparent 60%), linear-gradient(120deg, #06281a 0%, #12805c 100%); }
.promo-slide.theme-dark { background: linear-gradient(120deg, #12161c 0%, #2b3440 100%); }
.promo-copy { max-width: 640px; }
/* picture banners: the whole banner is the link; a banner of another shape is shown whole, on a blurred copy of itself */
.promo-slide.promo-img { position: relative; display: block; min-height: 0; padding: 0; aspect-ratio: 8 / 3; overflow: hidden; background: #000; }
.promo-img .promo-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) brightness(.5); }
.promo-img .promo-pic { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.promo:has(.promo-img) .promo-dots { bottom: 8px; }
.promo:has(.promo-img) .promo-dots button { box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.promo-tag { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 3px 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.promo h2 { font-size: 34px; line-height: 1.1; margin: 12px 0 8px; letter-spacing: -.02em; }
.promo p { margin: 0 0 16px; font-size: 16.5px; color: rgba(255,255,255,.9); }
.promo-cta { background: #fff; color: #111; }
.promo-cta:hover { background: #f1f1f1; }
.promo-fine { display: block; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.75); }
.promo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 24px; line-height: 1; display: grid; place-items: center; }
.promo-nav:hover { background: rgba(0,0,0,.55); }
.promo-nav.prev { left: 14px; } .promo-nav.next { right: 14px; }
.promo-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.promo-dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; padding: 0; background: rgba(255,255,255,.45); transition: width .2s; }
.promo-dots button.on { width: 24px; background: #fff; }

/* ---------- home: partner brands ---------- */
.brands .section-head { align-items: center; }
.brand-arrows { display: flex; gap: 6px; }
.brand-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.brand-nav:hover { border-color: #3A4350; }
.brand-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.brand-row::-webkit-scrollbar { display: none; }
.feat-row { margin-bottom: 14px; gap: 14px; }
.feat-card { position: relative; flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start; aspect-ratio: 1050 / 886; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); transition: border-color .15s, transform .2s; }
.feat-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.feat-card:hover { border-color: var(--brand); }
.feat-card:hover img { transform: scale(1.04); }
.feat-chip { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.feat-card:hover .feat-chip { background: var(--brand); border-color: var(--brand); }
.brand-tile { flex: 0 0 196px; scroll-snap-align: start; height: 108px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; transition: border-color .15s, transform .15s; }
.brand-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.brand-tile img { max-width: 150px; max-height: 50px; object-fit: contain; }
.brand-word { font-size: 21px; font-weight: 800; letter-spacing: -.01em; text-align: center; line-height: 1.1; background: linear-gradient(90deg, #fff, #c9ced6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tile small { font-size: 11.5px; color: var(--muted); }
.brand-tile:hover small { color: var(--link); }

/* ---------- home: vehicle form + recent vehicles ---------- */
.vhero { background: radial-gradient(1200px 400px at 85% -10%, rgba(240,90,40,.35), transparent 60%), linear-gradient(135deg, #12161C 0%, #232B36 100%); color: #fff; border-radius: 18px; padding: 32px; border: 1px solid var(--line); }
.vhero-title h1 { font-size: 32px; line-height: 1.15; margin: 0 0 6px; }
.vhero-title h1 em { font-style: normal; color: var(--brand); }
.vhero-title p { color: #C9CED6; margin: 0 0 22px; font-size: 15.5px; }
.vhero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.vsel, .vrecent { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-lg); }
.vsel h3, .vrecent h3 { margin: 0 0 14px; font-size: 18px; }
.vtabs { display: flex; gap: 6px; background: var(--field); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.vtabs button { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 8px; font-weight: 600; color: var(--muted); font-size: 14px; }
.vtabs button.on { background: var(--hover); color: var(--ink); box-shadow: var(--shadow); }
.vgrid { display: grid; gap: 10px; }
.vgrid2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.vgrid select, .vin-input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background-color: var(--field); font-size: 15px; color: var(--ink); outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.vin-input { background-image: none; text-transform: uppercase; letter-spacing: .06em; font-family: ui-monospace, Consolas, monospace; }
.vin-input::placeholder { text-transform: none; letter-spacing: 0; font-family: inherit; }
.vgrid select:focus, .vin-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,90,40,.15); }
.vgrid select:disabled { background-color: #12171E; color: #5E6878; }
.vfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; font-size: 13.5px; }
.vrecent { display: flex; flex-direction: column; min-height: 0; }
.vrecent-list { flex: 1; overflow-y: auto; max-height: 300px; border-top: 1px solid var(--line); margin: 0 -8px; padding: 0 8px; }
.recent-row { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); padding: 2px 0; }
.recent-pick { flex: 1; text-align: left; border: 0; background: none; padding: 10px 6px; font-weight: 600; color: var(--blue); font-size: 15px; border-radius: 8px; }
.recent-pick:hover { background: var(--blue-soft); }
.recent-pick small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.vrecent-empty { display: grid; place-items: center; text-align: center; color: var(--muted); padding: 36px 20px; height: 100%; }
.vrecent-empty p { margin: 8px 0 0; max-width: 260px; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s, border-color .15s; }
.tile:hover { box-shadow: var(--shadow-lg); border-color: #3A4350; }
.tile b { font-size: 16px; color: var(--link); }
.tile span { color: var(--ink-2); font-size: 14px; }
.tile small { color: var(--muted); font-size: 12.5px; }

/* ---------- part categories ---------- */
.cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.cat-filter { flex: 0 1 420px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--field); color: var(--ink); }
.cat-filter:focus { border-color: var(--brand); }
.catgroups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-bottom: 80px; }
.catgroup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.catgroup h3 { margin: 0; background: var(--dark-2); color: #fff; font-size: 15px; padding: 11px 16px; }
.catlist { padding: 4px 0; }
.catrow { display: flex; align-items: center; gap: 12px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.catrow:nth-child(even) { background: rgba(255,255,255,.02); }
.catrow:hover { background: var(--brand-soft); }
.catrow input { width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.catrow span { flex: 1; }
.catrow em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.catrow em.instock { color: var(--green); font-weight: 700; background: var(--green-soft); padding: 2px 8px; border-radius: 12px; }
.catgo { display: flex; justify-content: flex-end; padding: 8px 16px 14px; }
.catbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--dark-2); color: #fff; border-radius: 14px; padding: 10px 10px 10px 20px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-lg); z-index: 50; font-weight: 600; border: 1px solid #3A4350; }

/* ---------- results ---------- */
.phead { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-size: 14px; display: grid; gap: 4px; }
.phead .back { font-weight: 700; color: var(--blue); font-size: 15px; }
.prow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 110px 1fr 220px; gap: 18px; margin-bottom: 12px; font-size: 14px; }
.prow-img .pimg { width: 110px; }
.prow-main { display: grid; gap: 3px; align-content: start; min-width: 0; }
.prow-num { font-size: 19px; font-weight: 800; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.prow-title { font-weight: 600; text-transform: uppercase; color: var(--ink-2); }
.lbl { font-weight: 700; color: var(--ink); }
.prow-buy { display: grid; gap: 8px; justify-items: end; align-content: start; }
.buyline { display: flex; gap: 8px; }
.buyline input { width: 64px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; }
.askcard { background: var(--amber-soft); border: 1px solid rgba(244,179,80,.35); border-radius: var(--radius); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.askcard b { font-size: 15.5px; }
.askcard p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.pdp .pimg { border-radius: 16px; border: 1px solid var(--line); }
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.buybox .price { font-size: 32px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { border: 0; background: var(--card-2); width: 40px; font-size: 18px; color: var(--ink); }
.qty button:disabled { color: #4B5361; cursor: not-allowed; }
.qty span { min-width: 44px; display: grid; place-items: center; font-weight: 700; }
.buyrow { display: flex; gap: 12px; margin: 18px 0 14px; }
.buyrow .btn { flex: 1; }
.perks { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.fitcheck { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 14px 0 0; }
.fitcheck.yes { background: var(--green-soft); color: var(--green); }
.fitcheck.no { background: rgba(242,118,106,.12); color: var(--red); }
.fitcheck.ask { background: var(--card-2); color: var(--ink-2); }
table.fits { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border: 1px solid var(--line); }
table.fits th { text-align: left; background: var(--card-2); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 14px; }
table.fits td { padding: 10px 14px; border-top: 1px solid var(--line); }
table.fits tr.mine td { background: var(--green-soft); font-weight: 600; }
.specs { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }

/* ---------- forms / parts request ---------- */
.form label { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form input, .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: var(--field); color: var(--ink); font-weight: 400; }
.form input:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,90,40,.12); }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .check input, .form .choice input { width: auto; flex-shrink: 0; }
.form .choice { display: flex; font-weight: 400; color: var(--ink); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 16px 18px 18px; margin: 0 0 16px; display: grid; gap: 12px; }
.form legend { font-weight: 800; font-size: 15px; padding: 0 6px; }
#manualForm { display: grid; gap: 12px; }
.inq { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; }
.inq-veh { font-size: 15px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid4 { display: grid; grid-template-columns: 90px 1fr 1fr 1fr; gap: 12px; }
.span2 { grid-column: span 2; } .span4 { grid-column: span 4; }
.inq-part { display: grid; grid-template-columns: 1.3fr 70px 1fr 32px; gap: 10px; align-items: end; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.inq-part .vb-x { margin-bottom: 4px; }
.methods { display: flex; flex-wrap: wrap; gap: 8px; }
.method { cursor: pointer; position: relative; }
.method input { position: absolute; inset: 0; opacity: 0; pointer-events: none; margin: 0; width: 100%; height: 100%; }
.method span { display: inline-block; border: 1px solid var(--line); border-radius: 20px; padding: 7px 14px; font-weight: 600; background: var(--field); }
.method.on span { border-color: var(--brand); background: var(--brand-soft); color: var(--link); }
.method input:focus-visible + span { box-shadow: 0 0 0 3px rgba(240,90,40,.25); }
.inq-side { position: sticky; top: 175px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: 14px; }
.inq-side h4 { margin: 18px 0 6px; }
.inq-side ol { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.promise { display: flex; gap: 12px; background: var(--card-2); border-radius: 12px; padding: 14px; color: var(--ink-2); }
.promise.open { background: var(--green-soft); color: var(--green); }
.promise p { margin: 4px 0 0; color: var(--ink-2); }
.promise svg { flex-shrink: 0; }
.done { max-width: 620px; margin: 20px auto; text-align: center; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 28px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }

/* ---------- account ---------- */
.icon-link.signed-in::after { content: ''; position: absolute; right: 7px; bottom: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid var(--dark-2); }
.signin { max-width: 480px; margin: 20px auto; }
.signin h1 { font-size: 24px; }
.signin .form { display: grid; gap: 12px; margin: 14px 0; }
.code-input { font-size: 22px !important; letter-spacing: .35em; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.acct-grid .form { display: grid; gap: 12px; }
.lbl-sm { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.danger-text { color: var(--red) !important; }
.btn.danger { background: #C0392B; }
.btn.danger:hover { background: #A93226; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 24px; }
.prose li { margin-bottom: 6px; }
.notice { background: var(--amber-soft); color: var(--amber); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 10px 0; }

/* ---------- orders & requests ---------- */
.req-link { display: block; }
.req-link:hover .req { border-color: #3A4350; }
.totals { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 3px; max-width: 320px; margin-left: auto; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 15px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 3px; }
.req { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.req-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.req ul { margin: 8px 0 0; padding-left: 20px; }
.st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--card-2); color: var(--ink-2); white-space: nowrap; }
.st-new, .st-checking { background: var(--amber-soft); color: var(--amber); }
.st-replied { background: var(--blue-soft); color: var(--blue); }
.st-ordered { background: var(--green-soft); color: var(--green); }
.reply { margin-top: 12px; background: var(--blue-soft); border-radius: 10px; padding: 12px 14px; }
.reply p { margin: 4px 0 0; white-space: pre-line; }

/* ---------- cart ---------- */
.cartgrid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cline { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; margin-bottom: 12px; }
.cline .ctrl { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: sticky; top: 175px; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 19px; font-weight: 800; }
.choice { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin-bottom: 10px; }
.choice.on { border-color: var(--brand); background: var(--brand-soft); }
.choice input { margin-top: 4px; accent-color: var(--brand); }
.choice b { display: block; }
.choice small { color: var(--muted); }

/* ---------- contact ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.map { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #C9CED6; padding-top: 44px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.site-footer a { display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.logo-footer { margin-bottom: 10px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 20px 28px; font-size: 13px; }

/* ---------- modal / toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 16px; width: 100%; max-width: 440px; padding: 24px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; }
.modal .x { float: right; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--dark-2); border: 1px solid #3A4350; color: var(--ink); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 120; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); }
.toast a { color: var(--brand); }

/* ---------- loading ---------- */
.skel { background: linear-gradient(90deg, #161B22 25%, #1D232C 50%, #161B22 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); height: 300px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .results, .pdp, .cartgrid, .info-grid, .inq, .catgroups, .acct-grid { grid-template-columns: 1fr; }
  .summary, .inq-side { position: static; }
  .prow { grid-template-columns: 90px 1fr; }
  .prow-img .pimg { width: 90px; }
  .prow-buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; border-top: 1px solid var(--line); padding-top: 12px; }
  .prow-buy .buyline { grid-column: 1 / -1; width: 100%; }
  .prow-buy .buyline .btn { flex: 1; }
  .tiles { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .vhero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topstrip { display: none; }
  .header-in { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .searchbar { order: 3; flex-basis: 100%; max-width: none; }
  .logo-mark { width: 32px; height: 32px; font-size: 13px; }
  .logo-img { height: 32px; max-width: 150px; }
  .logo-text { font-size: 19px; }
  .mainnav-in { justify-content: flex-start; gap: 0; padding: 0 6px; }
  .mainnav a { padding: 10px 10px; font-size: 12px; gap: 6px; letter-spacing: .02em; }
  .vehiclebar-in { padding: 6px 16px; gap: 10px; font-size: 13.5px; }
  .vb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
  .vb-name svg { display: none; }
  h1 { font-size: 24px; }
  .vhero { padding: 20px 16px; border-radius: 14px; }
  .promo { border-radius: 14px; margin-bottom: 16px; }
  .promo-slide { min-height: 230px; padding: 22px 18px 44px; align-items: flex-start; }
  .promo h2 { font-size: 25px; }
  .promo p { font-size: 15px; }
  .promo-nav { display: none; }
  .brand-tile { flex-basis: 150px; height: 96px; }
  .feat-card { flex-basis: 78%; }
  .brand-word { font-size: 18px; }
  .brand-arrows { display: none; }
  .vhero-title h1 { font-size: 25px; }
  .vhero-title p { margin-bottom: 16px; font-size: 14.5px; }
  .vsel, .vrecent { padding: 18px 16px; }
  .vtabs button { font-size: 13px; padding: 8px 4px; white-space: nowrap; }
  .vrecent-list { max-height: 240px; }
  .vrecent-empty { padding: 18px 10px; }
  .catbar { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .prow { gap: 12px; padding: 14px; }
  .prow-num { font-size: 17px; }
  .askcard { flex-direction: column; align-items: stretch; }
  .grid2, .grid4 { grid-template-columns: 1fr 1fr; }
  .span4 { grid-column: span 2; }
  .inq-part { grid-template-columns: 1fr 70px; }
  .inq-part label:nth-child(3) { grid-column: 1 / 2; }
  .cline { grid-template-columns: 64px 1fr; }
  .cline > :last-child { grid-column: 2; }
  .footer-in { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 110px 1fr; }
}
@media (max-width: 420px) {
  .logo-text { font-size: 17px; }
  .mainnav svg { display: none; }
  .mainnav-in { justify-content: space-between; padding: 0 4px; }
  .mainnav a { padding: 10px 6px; font-size: 11.5px; letter-spacing: 0; }
  .icon-link { width: 36px; height: 38px; }
}

/* ---- results: filters sidebar, toolbar, list / grid view, pages ---- */
.results { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.rfilters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 12px; position: sticky; top: 175px; max-height: calc(100vh - 195px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rf-head { display: flex; align-items: center; gap: 12px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.rf-head h3 { margin: 0; font-size: 19px; flex: 1; }
.rf-x { display: none; background: none; border: 0; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 2px; }
.rf-sec { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.rf-sec:last-of-type { border-bottom: 0; }
.rf-title { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 14px 0 10px; cursor: pointer; text-align: left; }
.rf-title::before { content: ''; width: 7px; height: 7px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-top: 4px; transition: transform .15s; flex-shrink: 0; }
.rf-sec.closed .rf-title::before { transform: rotate(-135deg); margin-top: -3px; }
.rf-sec.closed { padding-bottom: 0; }
.rf-sec.closed .rf-body { display: none; }
.rf-find { width: 100%; margin: 0 0 8px; padding: 9px 11px; font-size: 14px; background: var(--field); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); outline: none; }
.rf-find:focus { border-color: var(--brand); }
.rf-list { max-height: 232px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--brand) var(--card-2); }
.rf-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.rf-opt input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; flex-shrink: 0; cursor: pointer; }
.rf-opt span { flex: 1; min-width: 0; }
.rf-opt small { color: var(--muted); font-size: 12px; }
.rf-opt:hover span { color: var(--ink); }
.rf-opt:has(input:disabled) { opacity: .4; cursor: default; }
.rf-price { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.rf-price label { flex: 1; display: flex; align-items: center; gap: 4px; background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--muted); font-size: 14px; }
.rf-price label:focus-within { border-color: var(--brand); }
.rf-price input { width: 100%; min-width: 0; background: none; border: 0; color: var(--ink); padding: 9px 0; font-size: 14px; outline: none; }
.rf-range { position: relative; height: 26px; margin: 14px 2px 0; }
.rf-range::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--line); border-radius: 2px; }
.rf-range input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rf-range input::-webkit-slider-runnable-track { background: none; height: 100%; }
.rf-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; cursor: pointer; }
.rf-range input::-moz-range-track { background: none; }
.rf-range input::-moz-range-thumb { pointer-events: auto; width: 15px; height: 15px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; cursor: pointer; }
.rf-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
.rf-apply, .rf-openbtn { display: none; }
.rtool { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; }
.rcount { flex: 1; color: var(--muted); font-size: 14px; min-width: 160px; }
.rsort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0; }
.rsort select { background: var(--field); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14px; cursor: pointer; }
.rview { display: flex; gap: 4px; }
.rview button { background: none; border: 1px solid transparent; color: var(--muted); border-radius: 8px; padding: 6px; cursor: pointer; display: grid; place-items: center; }
.rview button:hover { color: var(--ink); }
.rview button.on { color: var(--brand); border-color: var(--line); background: var(--brand-soft); }
.rchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -2px 0 14px; }
.rchip { display: inline-flex; gap: 6px; align-items: center; background: var(--brand-soft); color: var(--link); border: 1px solid rgba(240,90,40,.35); border-radius: 20px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.rchip span { font-size: 16px; line-height: 1; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--brand); transform: translateY(-2px); }
.pcard-img { display: block; margin-bottom: 8px; }
.pcard-brand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pcard-title { font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title:hover { color: var(--link); }
.pcard-num { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.pcard .fit { font-size: 12px; }
.fit.yes { color: var(--green); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pcard-foot .price { color: var(--brand); font-size: 21px; }
.pcard-cart { background: none; border: 1px solid var(--line); color: var(--brand); width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.pcard-cart:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.pcard-stock .badge { font-size: 11px; padding: 3px 8px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 22px 0; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; cursor: pointer; }
.pager button:hover:not(:disabled) { border-color: var(--brand); }
.pager button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager span { color: var(--muted); padding: 0 2px; }
@media (max-width: 960px) {
  .results { grid-template-columns: 1fr; }
  /* the filters slide in from the left over the list */
  .rf-openbtn { display: inline-flex; }
  .rfilters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(340px, 88vw); max-height: none; border-radius: 0; border-width: 0 1px 0 0; padding-bottom: 0; transform: translateX(-105%); transition: transform .2s ease; overscroll-behavior: contain; }
  body.rf-open { overflow: hidden; }
  body.rf-open .rfilters { transform: none; box-shadow: var(--shadow-lg); }
  body.rf-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 55; }
  .rf-x { display: block; }
  .rf-apply { display: block; position: sticky; bottom: 0; background: var(--card); padding: 12px 0 14px; border-top: 1px solid var(--line); margin-top: 6px; }
  .rcount { order: 5; flex-basis: 100%; }
  .rsort { margin-left: auto; }
  .rsort span { display: none; }
}
@media (max-width: 520px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { padding: 10px; }
  .pcard-title { font-size: 14px; }
  .pcard-foot .price { font-size: 17px; }
  .pcard-cart { width: 36px; height: 36px; }
  .rtool { padding: 8px 10px; gap: 8px; }
  .rsort select { max-width: 150px; }
}
