/* Look from the approved designs: white, near-black, one red accent, condensed headings. */
:root {
  --accent: #C8102E; --accent-dark: #A10D25;
  --ink: #14171C; --ink-2: #3D434C; --muted: #5B6370; --line: #E2E5EA; --line-2: #C5CAD3; --soft: #F4F5F7;
  --good: #1D6B3A; --good-bg: #EEF7F0; --warn: #8A4B00; --warn-bg: #FFF4E5;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.5; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #1F5FBF; outline-offset: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.caps { text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.under { text-decoration: underline; }
.page { padding-top: 20px; padding-bottom: 56px; }
.narrow { max-width: 760px; }
.block { padding-top: 48px; padding-bottom: 8px; }
.h1 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; text-transform: uppercase; margin: 6px 0 14px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; text-transform: uppercase; margin: 0 0 16px; }
.h3 { font-size: 18px; margin: 28px 0 10px; }
.display { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; text-transform: uppercase; margin: 0; }
.display.sm { font-size: 36px; line-height: 1.05; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.eyebrow.light { color: #FF9AA8; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .3px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-big { min-height: 54px; font-size: 16px; flex: 1 1 220px; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.linkbtn { background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; font-size: 14px; }
.brow { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; }
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill .n { color: var(--muted); font-weight: 500; font-size: 12px; }
.pill.on .n { color: #C9CED6; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* header */
.util { background: var(--ink); color: #fff; font-size: 13px; }
.util a { color: #fff; }
.util-in { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.util-l, .util-r { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.hdr { border-bottom: 1px solid var(--line); background: #fff; }
.hdr-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo > span { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: .5px; text-transform: uppercase; }
.logo-tag { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }
.search { flex: 1 1 360px; display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-right: 0; border-radius: 6px 0 0 6px; font-size: 15px; }
.search button { height: 48px; padding: 0 24px; border: 0; border-radius: 0 6px 6px 0; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.acct { display: flex; gap: 24px; }
.garage { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.garage > span { display: flex; flex-direction: column; line-height: 1.2; }
.garage-bike { font-weight: 600; font-size: 14px; }
.mainnav { border-top: 1px solid var(--line); }
.mainnav-in { display: flex; gap: 0 26px; overflow-x: auto; scrollbar-width: thin; font-weight: 600; font-size: 14px; white-space: nowrap; }
.mainnav a { padding: 13px 0; }
.mainnav a.hot { color: var(--accent); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* footer */
.ftr { background: var(--soft); border-top: 1px solid var(--line); margin-top: 48px; }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 24px; font-size: 14px; }
.ftr-grid > div { display: flex; flex-direction: column; gap: 9px; }
.ftr h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px; }
.ftr-contact { color: var(--ink-2); }
.ftr-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 28px; font-size: 12px; color: var(--muted); }

/* home */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-in { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.hero-main { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.hero-side { flex: 1 1 340px; min-width: 0; background: var(--ink); color: #fff; border-radius: 10px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.hero-side p { color: #C9CED6; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid #343A45; padding-top: 20px; }
.stat { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; }
.trust { border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; padding-top: 26px; padding-bottom: 26px; }
.trust-in > div { display: flex; gap: 14px; align-items: flex-start; }
.trust-in > div > div { display: flex; flex-direction: column; }
.tick { flex: 0 0 44px; height: 44px; border-radius: 8px; background: var(--soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.block-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.block-head .h2 { margin: 2px 0 0; }
.more { font-weight: 600; font-size: 14px; color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 4px; }
.tile-img { aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 6px; }
.tile-name { font-weight: 700; }
.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; padding-bottom: 48px; }
.makes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.harley { flex: 1 1 380px; min-width: 0; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.harley p { margin: 0; }
.make-grid { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; align-content: start; }
.make { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.make strong { font-size: 17px; }
.sell { background: var(--ink); color: #fff; border-radius: 12px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.sell > div:first-child { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }
.sell p { color: #C9CED6; margin: 0; max-width: 620px; }

/* bike selector */
.bikeform { display: flex; flex-direction: column; gap: 16px; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.bsel { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.bsel select { height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 15px; color: var(--ink); background: #fff; text-transform: none; letter-spacing: 0; font-weight: 500; }
.bsel select:disabled { background: var(--soft); color: var(--muted); }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.grid.g4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.card-img { position: relative; display: block; }
.card-img .ph { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; background: var(--soft); }
.cond { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.type { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent); }
.card-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.card-title:hover { text-decoration: underline; color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-weight: 700; font-size: 19px; }
.fit { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; }
.fit.yes { color: var(--good); }
.fit.no { color: var(--muted); font-weight: 500; }
.ph-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #7A818C; font-size: 12px; background: var(--soft); min-height: 120px; }

/* listings */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.listing { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.side { flex: 1 1 260px; max-width: 100%; }
.results { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.sortform select { height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; margin-left: 6px; }
.active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.active .pill { min-height: 36px; font-size: 13px; border-color: var(--ink); }
.clear { text-decoration: underline; }
.filters { display: flex; flex-direction: column; gap: 18px; }
.mfilters > summary { display: none; }
.bikebox { border: 2px solid var(--good); background: var(--good-bg); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bikebox.nobike { border-color: var(--line-2); background: var(--soft); }
.fgroup { border-top: 1px solid var(--line); padding-top: 12px; }
.fgroup > summary { cursor: pointer; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; list-style: none; display: flex; justify-content: space-between; }
.fgroup > summary::after { content: '+'; font-size: 18px; line-height: 1; }
.fgroup[open] > summary::after { content: '−'; }
.fopts { display: flex; flex-direction: column; margin-top: 6px; max-height: 320px; overflow-y: auto; }
.chk { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: 14px; cursor: pointer; }
.chk input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--ink); }
.chk.big { font-weight: 600; min-height: 44px; }
.chk.big input { width: 20px; height: 20px; }
.chk span:nth-child(2) { flex: 1; }
.chk .n { color: var(--muted); font-size: 12px; }
.price-range { display: flex; gap: 8px; margin-top: 8px; }
.price-range label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); flex: 1; }
.price-range input { height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; width: 100%; }
.js .apply { display: none; }
.empty { border: 1px dashed var(--line-2); border-radius: 10px; padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 12px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-2); font-weight: 600; }
.pager span { border: 0; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }

/* departments page */
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.dept { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.dept-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.dept-head > span { display: flex; flex-direction: column; }
.dept-img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; min-height: 0; flex: 0 0 64px; }
.dept ul { margin: 0; padding: 0 0 0 4px; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.dept a:hover { text-decoration: underline; }

/* product page */
.pdp { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 16px; }
.gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.main-ph { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); }
.main-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; cursor: zoom-in; }
.main-ph .ph-empty { aspect-ratio: 4 / 3; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--soft); cursor: pointer; aspect-ratio: 1 / 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border: 2px solid var(--ink); }
.buy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: var(--ink); padding: 4px 10px; border-radius: 4px; }
.badge.accent { background: var(--accent); }
.ptitle { margin: 0; font-size: 26px; line-height: 1.25; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ink-2); }
.fitbox { border-radius: 10px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.fitbox > div { display: flex; flex-direction: column; gap: 2px; }
.fitbox a { text-decoration: underline; }
.fitbox.yes { border: 2px solid var(--good); background: var(--good-bg); color: var(--good); }
.fitbox.yes .small { color: var(--ink-2); }
.fitbox.no { border: 2px solid var(--warn); background: var(--warn-bg); color: var(--warn); }
.fitbox.no .small { color: var(--ink-2); }
.fitbox.ask { border: 1px solid var(--line-2); background: var(--soft); }
.bigprice { font-size: 34px; font-weight: 700; line-height: 1.1; }
.stock { font-size: 14px; font-weight: 600; color: var(--accent); }
.condnote { border-left: 0; background: var(--soft); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.condnote p { margin: 4px 0 0; white-space: pre-line; }
.perks { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.perks a { text-decoration: underline; }
.pdp-details { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 48px; }
.desc { flex: 999 1 560px; min-width: 0; }
.desc .h2 + .prose { margin-bottom: 36px; }
.specs { flex: 1 1 320px; min-width: 0; }
.specs dl { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 14px; }
.specs dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-top: 1px solid var(--line); }
.specs dl > div:first-child { border-top: 0; }
.specs dt { padding: 9px 12px; background: var(--soft); color: var(--ink-2); }
.specs dd { margin: 0; padding: 9px 12px; overflow-wrap: anywhere; }
.fitsearch { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 12px; }
.fitsearch label { font-weight: 600; font-size: 14px; }
.fitsearch input { flex: 1 1 240px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; }
.tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; max-height: 560px; overflow-y: auto; }
.fittable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.fittable th { background: var(--soft); text-align: left; padding: 9px 12px; position: sticky; top: 0; }
.fittable td { padding: 9px 12px; border-top: 1px solid var(--line); }
.fittable tr.mine td { background: var(--good-bg); font-weight: 600; }
.prose { font-size: 15px; }
.prose h2, .prose h3, .prose h4 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.prose p { margin: 0 0 10px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose table { border-collapse: collapse; margin: 8px 0 14px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose a { text-decoration: underline; }
.prose.narrow h1 { font-family: var(--display); font-weight: 700; font-size: 44px; text-transform: uppercase; line-height: 1.05; margin: 6px 0 14px; color: var(--ink); letter-spacing: 0; }
.prose.narrow h2 { font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--ink); margin-top: 26px; }
.code { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-size: 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 20px 0; }
.statgrid > div { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }

/* phones */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .util-r { display: none; }
  .logo-name { font-size: 24px; }
  .logo-tag { display: none; }
  .hdr-in { gap: 12px 16px; }
  .search { order: 3; flex-basis: 100%; }
  .acct { margin-left: auto; }
  .garage .small { display: none; }
  .h1 { font-size: 34px; }
  .display { font-size: 38px; }
  .display.sm { font-size: 30px; }
  .hero-in { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
  .hero-main, .hero-side { padding: 22px; }
  .mfilters > summary { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--ink); border-radius: 6px; font-weight: 700; cursor: pointer; list-style: none; }
  .mfilters:not([open]) > summary ~ * { display: none; }
  .mfilters[open] > summary { margin-bottom: 14px; }
  .grid, .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .price { font-size: 17px; }
  .sell { padding: 24px; }
  .pdp, .pdp-details { gap: 24px; }
  .ptitle { font-size: 21px; }
  .bigprice { font-size: 28px; }
}
.demo-bar { background: #FFF4C2; color: #4A3B00; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 12px; }
@media (max-width: 760px) {
  .subnav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .subnav .pill { flex: 0 0 auto; }
  .logo-name { font-size: 22px; }
}

/* Departments menu (top bar) */
.mainnav { position: relative; }
.mainnav-in { overflow: visible; gap: 0 26px; }
.mainnav-links { display: flex; gap: 0 26px; overflow-x: auto; scrollbar-width: thin; min-width: 0; flex: 1; }
.mega > summary { list-style: none; cursor: pointer; padding: 13px 0; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.mega[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,23,28,.12); z-index: 20; max-height: 75vh; overflow-y: auto; white-space: normal; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 28px; padding-top: 22px; padding-bottom: 26px; }
.mega-dept { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-weight: 500; font-size: 14px; }
.mega ul a:hover, .mega-dept:hover { text-decoration: underline; color: var(--ink); }

/* Category tree (left column) */
.cattree { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.ftitle { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cattree ul { list-style: none; margin: 0; padding: 0; }
.cattree a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 6px; font-size: 14px; }
.cattree a:hover { background: var(--soft); color: var(--ink); }
.cattree a.on { background: var(--ink); color: #fff; font-weight: 600; }
.cattree a.on .n { color: #C9CED6; }
.cattree .n { color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.cattree .up { font-weight: 600; color: var(--accent); justify-content: flex-start; }
.cattree .tdept { font-weight: 700; font-size: 15px; }
.cattree .tdept + ul { padding-left: 10px; border-left: 2px solid var(--line); margin-left: 8px; }
.tdepts > li > details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.tdepts > li > details > summary::-webkit-details-marker { display: none; }
.tdepts > li > details > summary:hover { background: var(--soft); }
.tdepts > li > details > summary span:first-child::before { content: '+'; display: inline-block; width: 16px; color: var(--muted); }
.tdepts > li > details[open] > summary span:first-child::before { content: '−'; }
.tdepts details ul { padding-left: 18px; }
@media (max-width: 760px) {
  .mainnav-in { gap: 0 18px; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 761px) { .subnav { display: none; } }

/* cart, checkout, orders */
.notice { background: var(--soft); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; }
.notice.bad { background: var(--warn-bg); border-color: var(--warn); color: #5A3200; }
.warn { color: var(--warn); font-weight: 600; }
.cartwrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cartlines { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.cline { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline.off { opacity: .75; }
.cimg .ph { width: 96px; height: 96px; object-fit: contain; background: var(--soft); border-radius: 8px; min-height: 0; }
.cinfo { display: flex; flex-direction: column; gap: 3px; }
.ctitle { font-weight: 600; }
.ctitle:hover { text-decoration: underline; }
.cqty { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.cqty select, .qtysel select { height: 40px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 8px; margin-left: 6px; background: #fff; }
.qtysel { display: flex; align-items: center; font-size: 14px; }
.cprice { font-weight: 700; font-size: 17px; min-width: 90px; text-align: right; }
.summary { flex: 1 1 300px; border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.summary .h3 { margin: 0; }
.summary dl, .kv { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.summary dl > div, .kv > div { display: flex; justify-content: space-between; gap: 12px; }
.summary dd, .kv dd { margin: 0; }
.summary .tot { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.summary .btn-big { width: 100%; }
.olist { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--line); }
.olist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.addr { line-height: 1.6; margin: 0 0 6px; }
.shipform { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.shipform label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 4px; }
.shipform input, .shipform select { height: 40px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 10px; background: #fff; }
.fittable form { margin-top: 6px; }
@media (max-width: 760px) {
  .cline { grid-template-columns: 72px minmax(0, 1fr); }
  .cimg .ph { width: 72px; height: 72px; }
  .cqty { grid-column: 2; flex-direction: row; align-items: center; gap: 14px; }
  .cprice { grid-column: 2; text-align: left; }
}
@media print {
  .util, .hdr, .ftr, .demo-bar, .crumbs, form, .notice, button, a.under { display: none !important; }
  .page { padding: 0; }
}

.mainnav-links, .mainnav-in { gap: 0 22px; }
.syncbox { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 0 0 18px; }
.syncbox .h3 { margin: 0 0 8px; }
.syncbox ul { margin: 0 0 10px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.ok { color: var(--good); font-weight: 600; }

/* ---------- We Buy Parts (dealer) page ---------- */
.bp-hero { background: var(--ink); color: #fff; }
.bp-hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.bp-hero-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bp-h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 62px; line-height: .98; text-transform: uppercase; }
.bp-h1 span { color: #FF9AA8; }
.bp-lead { margin: 0; font-size: 18px; color: #DDE1E7; max-width: 640px; }
.bp-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: #DDE1E7; margin: 0; padding: 0; list-style: none; }
.bp-checks li, .bp-list li { display: flex; gap: 8px; align-items: center; }
.bp-quick { flex: 1 1 340px; min-width: 0; background: #fff; color: var(--ink); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.bp-quick-t { font-family: var(--display); font-size: 26px; text-transform: uppercase; line-height: 1.05; font-weight: 700; }
.bp-quick label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; min-height: 32px; }
.bp-quick input, .bp-form input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.bp-quick-line { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #2A2F37; }
.bp-stats { border-bottom: 1px solid var(--line); }
.bp-stats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.bp-stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1; }
.bp-stat span { font-size: 14px; color: var(--muted); }
.bp-sec { padding-top: 60px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 26px; }
.bp-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.bp-head .h2 { font-size: 44px; line-height: 1.02; margin: 0; }
.bp-head p { margin: 0; font-size: 17px; color: var(--ink-2); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bp-card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.bp-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.bp-card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.bp-card .fix { font-size: 14px; font-weight: 600; color: var(--good); }
.bp-num { width: 44px; height: 44px; border-radius: 8px; background: #FCE8EB; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent); }
.bp-calc { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; }
.bp-calc .bp-sec { padding-bottom: 60px; }
.bp-calc-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.bp-in { flex: 1 1 420px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.bp-field { display: flex; flex-direction: column; gap: 6px; }
.bp-field-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bp-field label { font-weight: 600; }
.bp-field output { font-weight: 700; font-size: 18px; white-space: nowrap; }
.bp-field small { font-size: 13px; color: var(--muted); }
.bp-field input[type=range] { width: 100%; height: 28px; accent-color: var(--accent); }
.bp-money { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 6px; height: 54px; padding: 0 14px; gap: 6px; max-width: 280px; font-size: 22px; font-weight: 700; }
.bp-money input { flex: 1; min-width: 0; border: 0; font-size: 22px; font-weight: 700; background: transparent; }
.bp-out { flex: 1 1 460px; min-width: 0; background: var(--ink); color: #fff; border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.bp-out-k { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #FF9AA8; }
.bp-ahead { font-family: var(--display); font-weight: 700; font-size: 84px; line-height: .95; }
.bp-out-sub { font-size: 16px; color: #DDE1E7; }
.bp-wait { background: #2A2F37; border-radius: 10px; padding: 18px; display: flex; gap: 14px; align-items: center; }
.bp-wait b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; }
.bp-wait small { color: #C5CAD3; font-size: 13px; }
.bp-rows { display: flex; flex-direction: column; }
.bp-r { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #3A4049; }
.bp-r small { display: block; font-size: 13px; color: #C5CAD3; }
.bp-r b { font-size: 20px; white-space: nowrap; }
.bp-r .up { color: #7FD49B; }
.bp-r .dim { color: #C5CAD3; }
.bp-bars { display: flex; flex-direction: column; gap: 10px; }
.bp-bar-l { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bp-bar { height: 14px; background: #2A2F37; border-radius: 7px; overflow: hidden; margin-top: 4px; }
.bp-bar i { display: block; height: 14px; border-radius: 7px; }
.bp-bar .keep { background: #FF6B81; }
.bp-bar .sell { background: #4CC271; }
.bp-fine { margin: 0; font-size: 12px; color: #C5CAD3; }
.bp-makes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bp-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.bp-steps li { background: var(--soft); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.bp-steps .n { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--accent); }
.bp-steps strong { font-size: 18px; }
.bp-steps span { color: var(--ink-2); }
.bp-tbl-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.bp-tbl { width: 100%; min-width: 820px; border-collapse: collapse; }
.bp-tbl th, .bp-tbl td { padding: 14px 16px; text-align: left; vertical-align: top; }
.bp-tbl thead th { background: var(--soft); }
.bp-tbl thead th.us { background: var(--ink); color: #fff; }
.bp-tbl tbody tr { border-top: 1px solid var(--line); }
.bp-tbl tbody th { font-weight: 600; }
.bp-tbl td { color: var(--ink-2); }
.bp-tbl td.us { background: var(--good-bg); color: var(--good); font-weight: 700; }
.bp-offer { padding-top: 56px; padding-bottom: 56px; scroll-margin-top: 12px; }
.bp-offer-box { display: flex; flex-wrap: wrap; gap: 32px; border: 2px solid var(--ink); border-radius: 14px; padding: 32px; }
.bp-offer-l { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bp-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bp-list li { align-items: flex-start; }
.bp-form { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.bp-form .full { grid-column: 1 / -1; }
.bp-form label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.bp-form input[type=text], .bp-form input[type=email], .bp-form input[type=tel], .bp-form select, .bp-form textarea { height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 15px; background: #fff; font-weight: 400; }
.bp-form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.bp-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bp-form legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.bp-form fieldset label { display: flex; gap: 8px; align-items: center; font-size: 14px; min-height: 36px; }
.bp-file { padding: 14px; border: 2px dashed var(--line-2); border-radius: 8px; font-size: 14px; background: var(--soft); width: 100%; }
.bp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-faq { max-width: 900px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.bp-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.bp-faq summary { min-height: 56px; display: flex; align-items: center; font-weight: 700; font-size: 16px; cursor: pointer; }
.bp-faq details p { margin: 0 0 18px; color: var(--ink-2); }
.bp-done { padding-top: 60px; padding-bottom: 80px; max-width: 760px; }
@media (max-width: 760px) {
  .bp-h1 { font-size: 42px; }
  .bp-head .h2 { font-size: 34px; }
  .bp-ahead { font-size: 60px; }
  .bp-offer-box { padding: 20px; }
}
.bp-out .btn, .bp-quick .btn { flex: none; }
