:root {
  --ink: #151613;
  --muted: #696b64;
  --paper: #f4f4ef;
  --paper-2: #eaeae4;
  --card: #fff;
  --line: #dcdcd4;
  --accent: #ff5a1f;
  --accent-2: #d9ff43;
  --dark: #111210;
  --dark-2: #1d1e1b;
  --success: #16845b;
  --warning: #b76a00;
  --danger: #c53b31;
  --shadow: 0 14px 40px rgba(17, 18, 16, 0.08);
  --shadow-heavy: 0 25px 70px rgba(8, 9, 8, 0.2);
  --radius: 16px;
  --max: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -80px;
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-compact { padding: 54px 0; }
.section-dark { background: var(--dark); color: white; }
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 820;
}
.section-copy { color: var(--muted); max-width: 610px; font-size: 17px; margin: 14px 0 0; }
.section-dark .section-copy { color: #aeafa8; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 850; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.button-primary { color: white; background: var(--accent); box-shadow: 0 12px 26px rgba(255,90,31,.22); }
.button-primary:hover { background: #e94911; box-shadow: 0 15px 30px rgba(255,90,31,.3); }
.button-dark { background: var(--dark); color: white; }
.button-light { background: white; color: var(--ink); }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: white; border-color: #bbbdb5; }
.button-ghost { background: transparent; color: inherit; border-color: transparent; }
.button-block { width: 100%; }
.button-sm { min-height: 40px; padding-inline: 14px; border-radius: 9px; font-size: 14px; }
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .18s, border-color .18s, color .18s, background .18s;
}
.icon-button:hover { transform: translateY(-2px); border-color: #a7a8a1; }
.icon-button.active { color: white; border-color: var(--accent); background: var(--accent); }
.icon { width: 19px; height: 19px; stroke-width: 1.9; flex: 0 0 auto; }
.icon-lg { width: 24px; height: 24px; }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(17, 18, 16, .96);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 74px; display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-weight: 900; font-size: 21px; letter-spacing: -.045em; }
.logo-dot { color: var(--accent); }
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 0 0 3px rgba(255,255,255,.05);
  flex: 0 0 auto;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-right: auto; }
.nav-link { color: #c8c9c3; font-weight: 700; font-size: 14px; transition: color .18s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: white; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-icon { color: #d1d2cd; background: transparent; border: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.header-icon:hover { background: rgba(255,255,255,.08); color: white; }
.header-quick-auth { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; padding: 0; color: white; background: rgba(255,255,255,.08); border: 1px solid #3f413b; border-radius: 50%; cursor: pointer; }
.header-quick-auth:hover,.header-quick-auth:focus-visible { color: white; background: var(--accent); border-color: var(--accent); outline: none; }
.header-quick-auth.logged-in { color: #ffb291; background: rgba(245,92,38,.09); border-color: rgba(245,92,38,.35); }
.header-quick-auth svg { width: 18px; height: 18px; }
.profile-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(145deg, #f6c59d, #8d4c28); display: grid; place-items: center; font-weight: 900; border: 2px solid rgba(255,255,255,.35); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.profile-avatar.account-verified { position: relative; border-color: var(--accent-2); }
.profile-avatar.account-verified::after { content: "✓"; position: absolute; right: -5px; bottom: -4px; width: 15px; height: 15px; display: grid; place-items: center; color: var(--dark); background: var(--accent-2); border: 2px solid var(--dark); border-radius: 50%; font-size: 8px; }
.lang-button { background: transparent; color: #b5b6b0; border: 0; font-weight: 850; font-size: 12px; }
.header-popover-anchor { position: relative; }
.flag-button { min-width: 53px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; }
.flag-button span { font-size: 21px; line-height: 1; }
.flag-button svg { width: 13px; height: 13px; }
.flag-button:hover, .flag-button[aria-expanded="true"] { color: white; background: rgba(255,255,255,.08); }
.notification-button { position: relative; }
.notification-button > i { position: absolute; right: 7px; top: 7px; width: 8px; height: 8px; background: var(--accent); border: 2px solid var(--dark); border-radius: 50%; }
.header-popover { position: absolute; z-index: 120; right: 0; top: calc(100% + 13px); width: 330px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 24px 70px rgba(0,0,0,.22); overflow: hidden; }
.language-popover { width: 210px; padding: 7px; }
.locale-option { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; min-height: 43px; padding: 0 9px; text-align: left; color: var(--ink); background: transparent; border: 0; border-radius: 9px; }
.locale-option:hover, .locale-option.active { background: var(--paper); }
.locale-option span { font-size: 20px; }
.locale-option strong { font-size: 12px; }
.locale-option svg { width: 15px; color: var(--accent); }
.popover-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.popover-head strong, .popover-head span { display: block; }
.popover-head span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.notification-list { max-height: min(430px,70vh); overflow: auto; }
.notification-item { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 13px 15px; color: var(--ink); border-bottom: 1px solid #eeeeea; }
.notification-item:hover { background: var(--paper); }
.notification-item.unread { background: #fff7f2; }
.notification-item.unread::after { content: ""; position: absolute; }
.notification-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--accent); background: #fff0e8; border-radius: 10px; }
.notification-icon svg { width: 16px; }
.notification-item strong, .notification-item small, .notification-item time { display: block; }
.notification-item strong { font-size: 12px; }
.notification-item small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.notification-item time { margin-top: 5px; color: #a0a19b; font-size: 9px; }
.notification-empty { padding: 24px; text-align: center; color: var(--muted); font-size: 12px; }
.popover-footer { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 850; }
.mobile-menu-button { display: none; background: transparent; color: white; border: 0; padding: 8px; }
.mobile-create { display: none; }
.mobile-language-options { display: none; }

/* Hero */
.hero { min-height: 680px; position: relative; display: grid; align-items: center; color: white; background: #0d0e0d; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,6,.96) 0%, rgba(6,7,6,.82) 34%, rgba(6,7,6,.17) 74%, rgba(6,7,6,.15) 100%), url('/assets/images/hero.webp') center/cover no-repeat; transform: scale(1.015); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, rgba(5,6,5,.7)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 88px 0 110px; max-width: 790px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; color: #e3e4dd; font-weight: 750; font-size: 13px; margin-bottom: 25px; }
.live-dot { width: 8px; height: 8px; background: var(--accent-2); border-radius: 50%; box-shadow: 0 0 0 5px rgba(217,255,67,.1); }
.hero h1 { font-size: clamp(52px, 7.1vw, 98px); max-width: 770px; letter-spacing: -.072em; line-height: .88; margin: 0; font-weight: 860; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { color: #c6c7c1; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; max-width: 670px; margin: 25px 0 32px; }
.hero-search { display: flex; align-items: center; max-width: 750px; padding: 8px; border-radius: 15px; background: white; color: var(--ink); box-shadow: var(--shadow-heavy); }
.search-group { display: flex; align-items: center; gap: 11px; flex: 1; padding-left: 12px; }
.search-group input { border: 0; outline: 0; min-width: 0; width: 100%; padding: 12px 0; color: var(--ink); background: transparent; }
.search-group input::placeholder { color: #797b74; }
.hero-search .button { min-height: 50px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.hero-statline { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: #aaa; font-size: 13px; }
.hero-statline span { display: flex; align-items: center; gap: 7px; }

.quick-strip { position: relative; z-index: 4; margin-top: -48px; }
.quick-inner { padding: 17px; display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 8px; background: white; border-radius: 16px; box-shadow: var(--shadow); }
.quick-item { padding: 14px 8px; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 800; color: #4b4c47; transition: .18s ease; }
.quick-item:hover { color: var(--ink); background: var(--paper); transform: translateY(-2px); }
.quick-item svg { display: block; width: 23px; height: 23px; margin: 0 auto 7px; color: var(--accent); stroke-width: 1.75; }

.fitment-finder { display: grid; grid-template-columns: .8fr 1.55fr; gap: 45px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.fitment-intro h2 { margin: 0; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.fitment-intro p { color: var(--muted); font-size: 14px; margin: 13px 0 0; max-width: 390px; }
.vehicle-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: end; }
.vehicle-form .form-group { gap: 5px; }
.vehicle-form .button { min-height: 46px; white-space: nowrap; }
.fitment-disclaimer { grid-column: 1/-1; display: flex; align-items: center; gap: 7px; margin: 4px 0 0; color: var(--muted); font-size: 11px; }

/* Listing cards */
.listing-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(285px, 330px); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px 2px 22px; }
.listing-track::-webkit-scrollbar { display: none; }
.listing-card { position: relative; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.listing-image-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.listing-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.listing-card:hover .listing-image { transform: scale(1.04); }
.listing-hover-details { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 4px; padding: 54px 15px 15px; color: white; background: linear-gradient(transparent,rgba(9,10,9,.92)); transform: translateY(18px); opacity: 0; transition: .24s ease; }
.listing-hover-details strong { font-size: 18px; letter-spacing: -.03em; }
.listing-hover-details span { color: #e8e9e3; font-size: 11px; }
.listing-card:hover .listing-hover-details, .listing-card:focus-within .listing-hover-details { transform: translateY(0); opacity: 1; }
.listing-card:hover .listing-badges, .listing-card:focus-within .listing-badges { opacity: 0; }
.favorite { position: absolute; right: 12px; top: 12px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 2; }
.listing-badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 0 9px; border-radius: 7px; background: rgba(17,18,16,.88); color: white; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; backdrop-filter: blur(8px); }
.badge-accent { background: var(--accent); }
.badge-green { background: var(--success); }
.listing-body { padding: 16px; }
.listing-topline { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.listing-title { font-size: 20px; font-weight: 850; letter-spacing: -.035em; margin: 4px 0 2px; }
.listing-spec { color: #4d4f49; font-size: 14px; font-weight: 750; }
.listing-price { font-size: 22px; font-weight: 900; letter-spacing: -.04em; margin: 13px 0 9px; }
.listing-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; border-top: 1px solid #ededE8; padding-top: 11px; }
.listing-meta span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.carousel-arrows { display: flex; gap: 8px; }

/* Browse by brand/style */
.brand-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.brand-tile { min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 13px; transition: .2s; }
.brand-tile:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-monogram { font-weight: 950; font-size: 22px; letter-spacing: -.06em; }
.brand-logo { width: 118px; height: 50px; object-fit: contain; transition: transform .2s ease; }
.brand-tile:hover .brand-logo { transform: scale(1.06); }
.brand-count { color: var(--muted); font-size: 11px; }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.style-card { min-height: 180px; padding: 23px; position: relative; overflow: hidden; color: white; background: var(--dark-2); border-radius: 15px; display: flex; flex-direction: column; justify-content: flex-end; }
.style-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -25px; top: -20px; border: 16px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: inset 0 0 0 5px rgba(255,255,255,.04), 0 0 0 12px rgba(255,255,255,.025); transition: .4s ease; }
.style-card:hover::before { transform: rotate(38deg) scale(1.1); border-color: rgba(255,90,31,.35); }
.style-card:nth-child(2n) { background: #292a25; }
.style-card:nth-child(3n) { background: #3c302a; }
.style-card h3 { position: relative; z-index: 1; margin: 0; font-size: 24px; letter-spacing: -.04em; }
.style-card span { position: relative; z-index: 1; color: #b7b8b2; font-size: 13px; }

.parts-layout { display: grid; grid-template-columns: 1.2fr 2fr; gap: 20px; }
.parts-feature { position: relative; overflow: hidden; min-height: 390px; border-radius: 18px; background: url('/assets/images/deep-dish.webp') center/cover; color: white; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.parts-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(8,9,8,.91)); }
.parts-feature > * { position: relative; z-index: 1; }
.parts-feature h3 { margin: 0; font-size: 36px; line-height: 1; letter-spacing: -.05em; }
.parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.part-card { padding: 20px; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid var(--line); border-radius: 13px; transition: .2s; }
.part-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.part-card strong { font-size: 15px; }
.part-card span { color: var(--muted); font-size: 12px; }
.part-card svg { color: var(--accent); }
.part-category-card { min-height: 252px; padding: 0; overflow: hidden; display: grid; grid-template-rows: 126px 1fr; justify-content: stretch; color: var(--ink); }
.part-card-image { display: block; overflow: hidden; background-color: #e9e7df; background-image: url('/assets/images/wheel-parts-catalog.jpg'); background-size: 300% auto; background-position: var(--part-x) var(--part-y); background-repeat: no-repeat; border-bottom: 1px solid var(--line); transition: transform .35s ease, filter .35s ease; }
.part-category-card:hover .part-card-image { transform: scale(1.035); filter: contrast(1.03); }
.part-card-content { display: grid; align-content: start; gap: 7px; padding: 15px 16px 16px; background: white; position: relative; z-index: 1; }
.part-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: var(--ink) !important; }
.part-card-title strong { line-height: 1.2; }
.part-card-title svg { width: 17px; height: 17px; flex: 0 0 auto; transition: transform .2s ease; }
.part-category-card:hover .part-card-title svg { transform: translateX(3px); }
.part-card-description { color: #666861 !important; font-size: 12px !important; line-height: 1.4; }
.part-card-count { margin-top: auto; color: #a64018 !important; font-weight: 850; letter-spacing: .02em; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.trust-card { padding: 28px; border: 1px solid var(--line); background: white; border-radius: 14px; }
.trust-card-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); background: #fff0ea; border-radius: 12px; margin-bottom: 20px; }
.trust-card h3 { margin: 0 0 8px; font-size: 19px; }
.trust-card p { color: var(--muted); margin: 0; font-size: 14px; }

.process-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 28px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.process-card { position: relative; min-height: 205px; padding: 24px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; }
.process-card > span { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--dark); color: var(--accent-2); font-size: 12px; font-weight: 900; }
.process-card h3 { margin: 42px 0 7px; font-size: 20px; letter-spacing: -.035em; }
.process-card p { color: var(--muted); font-size: 13px; margin: 0; }
.process-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border: 12px solid rgba(255,90,31,.06); border-radius: 50%; }

.instagram-callout { min-height: 190px; display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 26px; padding: 28px 32px; overflow: hidden; position: relative; color: white; background: linear-gradient(115deg,#181916,#292822); border-radius: 18px; }
.instagram-callout::after { content: ""; position: absolute; width: 330px; height: 330px; right: 17%; border: 55px solid rgba(255,255,255,.03); border-radius: 50%; }
.instagram-callout > * { position: relative; z-index: 1; }
.instagram-callout > img { width: 112px; height: 112px; border-radius: 50%; border: 2px solid #5a5b54; box-shadow: 0 15px 35px rgba(0,0,0,.3); }
.instagram-callout h2 { font-size: 38px; letter-spacing: -.05em; margin: 0 0 3px; }
.instagram-callout p { color: #b5b7af; margin: 0; }

.sell-cta { margin: 0 auto 88px; width: min(calc(100% - 48px), var(--max)); min-height: 370px; position: relative; overflow: hidden; padding: 54px; display: flex; align-items: center; border-radius: 22px; color: white; background: #191a17 url('/assets/images/bronze.webp') 85% 50% / 55% auto no-repeat; }
.sell-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,16,.98) 0%, rgba(17,18,16,.9) 43%, rgba(17,18,16,.2) 78%); }
.sell-cta-content { position: relative; z-index: 1; max-width: 600px; }
.sell-cta h2 { font-size: clamp(42px, 5vw, 70px); line-height: .92; letter-spacing: -.06em; margin: 0 0 24px; }

/* Browse */
.page-hero { padding: 66px 0 46px; background: var(--dark); color: white; }
.page-hero .section-title { max-width: 900px; }
.page-hero-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.browse-search { display: flex; width: min(100%, 680px); padding: 7px; border-radius: 13px; background: white; color: var(--ink); margin-top: 28px; }
.browse-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 0 13px; min-width: 0; }
.browse-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 28px; padding: 38px 0 90px; align-items: start; }
.filter-panel { position: sticky; top: 94px; background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.filter-header { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--line); }
.filter-header strong { font-size: 18px; }
.text-button { border: 0; background: transparent; color: var(--accent); padding: 0; font-weight: 800; font-size: 13px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 17px 18px; }
.filter-group:last-child { border-bottom: 0; }
.filter-title { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; background: transparent; border: 0; font-size: 14px; font-weight: 850; cursor: pointer; }
.filter-title svg { transition: transform .2s ease; }
.filter-group.collapsed .filter-title svg { transform: rotate(-90deg); }
.filter-group.collapsed > .filter-content,
.filter-group.collapsed > .filter-chips { display: none; }
.filter-content { margin-top: 13px; display: grid; gap: 9px; }
.check-row { display: flex; align-items: center; gap: 9px; color: #555751; font-size: 13px; }
.check-row input { accent-color: var(--accent); width: 16px; height: 16px; }
.check-row span:last-child { margin-left: auto; color: #9b9c96; font-size: 11px; }
.input, .select, .textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); padding: 0 12px; outline: none; transition: .18s; }
.textarea { padding-block: 12px; min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,16,.07); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.distance-search { display: grid; gap: 10px; margin-top: 7px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
.distance-search-head { display: grid; grid-template-columns: 31px 1fr; align-items: start; gap: 9px; }
.distance-search-head > span { width: 31px; height: 31px; display: grid; place-items: center; color: var(--accent); background: #fff0e9; border-radius: 8px; }
.distance-search-head svg { width: 16px; }
.distance-search-head strong, .distance-search-head small { display: block; }
.distance-search-head strong { font-size: 12px; }
.distance-search-head small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.postcode-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.postcode-row .button { padding-inline: 10px; font-size: 9px; white-space: nowrap; }
.distance-slider-label { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }
.distance-slider-label strong { color: var(--ink); font-size: 13px; }
.distance-slider { width: 100%; accent-color: var(--accent); cursor: pointer; }
.distance-slider-scale { display: flex; justify-content: space-between; margin-top: -7px; color: #989a93; font-size: 8px; }
.distance-active { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; padding: 9px; color: #236244; background: #e5f4eb; border-radius: 8px; font-size: 9px; }
.distance-active > svg { width: 15px; }
.distance-active button { width: 25px; height: 25px; display: grid; place-items: center; color: inherit; background: transparent; border: 0; }
.distance-active button svg { width: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { border: 1px solid var(--line); background: var(--paper); min-height: 35px; border-radius: 8px; padding: 0 9px; font-size: 12px; font-weight: 750; }
.filter-chip.active, .filter-chip:hover { border-color: var(--accent); background: #fff1eb; color: #bd3c0b; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.results-count strong { font-size: 18px; }
.results-count span { color: var(--muted); font-size: 13px; display: block; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.toolbar-actions .select { width: auto; min-width: 185px; }
.view-toggle { display: flex; padding: 3px; background: var(--paper-2); border-radius: 9px; }
.view-button { width: 38px; height: 38px; border: 0; border-radius: 7px; background: transparent; color: #73756e; display: grid; place-items: center; }
.view-button.active { background: white; color: var(--ink); box-shadow: 0 3px 10px rgba(0,0,0,.06); }
.mobile-filter-button { display: none; }
.filter-header .mobile-filter-button { display: none; }
.active-filters { display: flex; gap: 7px; overflow: auto; padding-bottom: 13px; margin-bottom: 5px; }
.active-filter { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 1px solid #ffc2aa; background: #fff1eb; color: #a9360b; border-radius: 99px; padding: 6px 10px; font-size: 12px; font-weight: 750; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.results-grid.list-view { grid-template-columns: 1fr; }
.results-grid.list-view .listing-card { display: grid; grid-template-columns: 250px 1fr; }
.results-grid.list-view .listing-image-wrap { aspect-ratio: auto; min-height: 220px; }
.results-grid.list-view .listing-body { display: grid; align-content: center; padding: 24px; }
.results-grid.list-view .listing-price { position: absolute; right: 24px; top: 19px; }

/* Listing page */
.breadcrumb { padding: 19px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; }
.listing-page { padding-bottom: 90px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 250px); gap: 10px; border-radius: 18px; overflow: hidden; background: var(--line); }
.gallery-item { position: relative; overflow: hidden; border: 0; padding: 0; background: #ddd; }
.gallery-item:first-child { grid-row: 1/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-count { position: absolute; bottom: 15px; right: 15px; background: rgba(17,18,16,.9); color: white; border: 0; border-radius: 9px; padding: 9px 12px; font-size: 12px; font-weight: 800; display: flex; gap: 7px; align-items: center; }
.listing-photo-gallery { overflow: hidden; background: #11120f; border: 1px solid #2d2f2a; border-radius: 18px; box-shadow: 0 22px 55px rgba(17,18,16,.14); }
.listing-photo-stage { position: relative; height: clamp(420px,52vw,640px); display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%,#252720 0,#11120f 68%); touch-action: pan-y; outline: none; }
.listing-photo-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); }
.listing-photo-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.listing-photo-arrow { position: absolute; z-index: 3; top: 50%; width: 50px; height: 50px; display: grid; place-items: center; padding: 0; color: white; background: rgba(15,16,14,.78); border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.25); backdrop-filter: blur(10px); transform: translateY(-50%); transition: background .18s ease,transform .18s ease; }
.listing-photo-arrow:hover,.listing-photo-arrow:focus-visible { background: var(--accent); outline: none; transform: translateY(-50%) scale(1.05); }
.listing-photo-arrow.previous { left: 18px; }
.listing-photo-arrow.next { right: 18px; }
.listing-photo-arrow svg { width: 21px; }
.listing-photo-counter,.listing-photo-open,.listing-photo-swipe { position: absolute; z-index: 2; color: white; background: rgba(13,14,12,.8); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; backdrop-filter: blur(10px); }
.listing-photo-counter { left: 17px; top: 17px; padding: 7px 11px; font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.listing-photo-open { right: 17px; bottom: 17px; min-height: 39px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; font-size: 11px; font-weight: 850; }
.listing-photo-open:hover,.listing-photo-open:focus-visible { background: white; color: var(--ink); outline: none; }
.listing-photo-open svg { width: 16px; }
.listing-photo-swipe { left: 50%; bottom: 18px; padding: 7px 11px; color: #d9dbd3; border-color: transparent; font-size: 9px; font-weight: 800; transform: translateX(-50%); }
.listing-photo-thumbnails { height: 100px; display: flex; justify-content: center; gap: 8px; padding: 10px 16px; overflow-x: auto; overscroll-behavior-inline: contain; background: #181916; border-top: 1px solid #30322c; scrollbar-width: thin; }
.listing-photo-thumbnails button { flex: 0 0 104px; padding: 0; overflow: hidden; background: #24251f; border: 2px solid transparent; border-radius: 9px; opacity: .58; }
.listing-photo-thumbnails button.active { border-color: var(--accent); opacity: 1; }
.listing-photo-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.listing-detail-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(320px,.75fr); gap: 34px; align-items: start; margin-top: 34px; }
.listing-labels { display: flex; gap: 8px; margin-bottom: 14px; }
.listing-label-light { color: var(--success); background: #def5eb; padding: 6px 9px; border-radius: 7px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.listing-detail-title { font-size: clamp(38px, 5vw, 66px); line-height: .95; letter-spacing: -.06em; margin: 0; }
.listing-subtitle { color: var(--muted); font-size: 17px; margin: 12px 0 20px; }
.listing-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.listing-detail-meta span { display: flex; align-items: center; gap: 7px; }
.detail-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.detail-section h2 { font-size: 25px; letter-spacing: -.04em; margin: 0 0 18px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.spec-item { background: white; padding: 18px; }
.spec-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.spec-value { font-size: 16px; font-weight: 850; margin-top: 4px; }
.damage-list { display: flex; flex-wrap: wrap; gap: 8px; }
.damage-pill { padding: 8px 11px; border-radius: 8px; background: #fff0e8; color: #a73a12; font-size: 12px; font-weight: 800; }
.description { color: #454740; line-height: 1.8; }
.fitment-note { padding: 16px; display: flex; gap: 12px; border-radius: 11px; background: #fff6dc; color: #735000; font-size: 13px; }
.listing-sidebar { position: sticky; top: 96px; display: grid; gap: 14px; }
.purchase-card, .seller-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.detail-price { font-size: 37px; letter-spacing: -.055em; font-weight: 900; margin-bottom: 3px; }
.price-note { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.action-stack { display: grid; gap: 9px; }
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.safety-inline { display: flex; gap: 9px; margin-top: 15px; color: var(--muted); font-size: 11px; }
.seller-top { display: flex; gap: 13px; align-items: center; }
.seller-avatar { width: 53px; height: 53px; overflow: hidden; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2c302b, #75816c); color: white; font-size: 18px; font-weight: 900; flex: 0 0 auto; }
.seller-name { font-weight: 850; }
.verified { color: #2380c7; display: inline-flex; vertical-align: middle; }
.seller-rating { color: var(--muted); font-size: 12px; }
.stars { color: #e39b16; letter-spacing: -2px; }
.seller-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 17px 0; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seller-facts span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.seller-facts strong { display: block; font-size: 14px; }

/* Seller profile */
.seller-cover { height: 210px; background: linear-gradient(125deg, rgba(17,18,16,.2), rgba(17,18,16,.85)), url('/assets/images/deep-dish.webp') center 57%/cover; }
.profile-card { margin-top: -65px; background: white; border: 1px solid var(--line); border-radius: 17px; padding: 28px; position: relative; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.profile-main { display: flex; align-items: center; gap: 20px; }
.profile-main .seller-avatar { width: 94px; height: 94px; font-size: 30px; border: 6px solid white; margin-top: -55px; }
.profile-main h1 { margin: 0 0 3px; font-size: 31px; letter-spacing: -.045em; }
.profile-meta { color: var(--muted); font-size: 13px; }
.profile-stats { display: flex; gap: 35px; }
.profile-stat strong { display: block; font-size: 20px; }
.profile-stat span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.profile-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 38px 0 24px; }
.profile-tab { background: transparent; border: 0; padding: 0 0 13px; color: var(--muted); font-weight: 800; }
.profile-tab.active { color: var(--ink); border-bottom: 2px solid var(--accent); }

/* Sell wizard */
.wizard-page { min-height: calc(100vh - 74px); background: #ecece6; padding: 42px 0 80px; }
.wizard-shell { display: grid; grid-template-columns: 260px minmax(0, 780px); gap: 30px; justify-content: center; align-items: start; }
.wizard-progress { position: sticky; top: 105px; padding: 23px; background: var(--dark); color: white; border-radius: 16px; }
.wizard-progress h2 { margin: 0 0 20px; font-size: 19px; }
.progress-step { display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 10px; color: #898b84; padding: 8px 0; font-size: 12px; font-weight: 750; }
.step-number { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #454640; border-radius: 50%; }
.progress-step.active { color: white; }
.progress-step.active .step-number { background: var(--accent); border-color: var(--accent); }
.progress-step.complete { color: #c9cac4; }
.progress-step.complete .step-number { background: #2b3328; color: var(--accent-2); border-color: #45523f; }
.wizard-card { background: white; border-radius: 17px; border: 1px solid var(--line); padding: 34px; min-height: 620px; }
.wizard-card h1 { font-size: 34px; letter-spacing: -.05em; margin: 0 0 7px; }
.wizard-intro { color: var(--muted); margin: 0 0 28px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-card { min-height: 116px; text-align: left; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 11px; transition: .18s; }
.choice-card:hover, .choice-card.selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #fff9f6; }
.choice-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--paper); color: var(--accent); margin-bottom: 13px; }
.choice-card strong { display: block; font-size: 14px; }
.choice-card span { color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 12px; font-weight: 850; }
.manufacturer-select { font-weight: 750; }
.custom-manufacturer-group { padding: 18px; background: #fff7f2; border: 1px solid #f0cabb; border-radius: 12px; }
.custom-manufacturer-group[hidden] { display: none !important; }
.custom-manufacturer-intro { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; color: #674234; }
.custom-manufacturer-intro svg { flex: 0 0 auto; color: var(--accent); }
.custom-manufacturer-intro span { display: grid; gap: 3px; font-size: 12px; line-height: 1.4; }
.custom-manufacturer-intro strong { color: var(--ink); font-size: 13px; }
.field-help { color: var(--muted); font-size: 11px; }
.stagger-toggle { display: flex; align-items: center; justify-content: space-between; background: var(--paper); padding: 14px; border-radius: 10px; grid-column: 1/-1; }
.switch { width: 45px; height: 25px; border: 0; border-radius: 99px; background: #c7c8c2; padding: 3px; }
.switch::after { content: ""; display: block; width: 19px; height: 19px; background: white; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.14); transition: .2s; }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(20px); }
.upload-zone { min-height: 280px; border: 2px dashed #c9cac3; border-radius: 14px; display: grid; place-items: center; text-align: center; background: #fafaf7; transition: .2s; }
.upload-zone:hover { border-color: var(--accent); background: #fff8f5; }
.upload-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: auto auto 14px; border-radius: 50%; color: var(--accent); background: #fff0e9; }
.wizard-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); }
.save-note { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 6px; }
.wizard-actions { display: flex; gap: 9px; }
.preview-mini { border: 1px solid var(--line); border-radius: 13px; padding: 18px; display: grid; grid-template-columns: 190px 1fr; gap: 20px; }
.preview-mini img { width: 100%; height: 150px; object-fit: cover; border-radius: 9px; }
.submission-safety { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 17px; margin-top: 18px; color: #173b2c; background: #e9f6ef; border: 1px solid #cce8d9; border-radius: 13px; }
.submission-safety-icon { display: grid; place-items: center; width: 42px; height: 42px; color: white; background: var(--success); border-radius: 50%; }
.submission-safety-icon svg { width: 20px; height: 20px; }
.submission-safety strong { display: block; font-size: 13px; }
.submission-safety p { margin: 3px 0 0; color: #4f6d60; font-size: 11px; line-height: 1.45; }

/* Accounts, verification and public reviews */
.auth-page { min-height: calc(100vh - 74px); display: grid; align-items: stretch; background: #e8e8e1; }
.auth-shell { width: min(100%, 1280px); display: grid; grid-template-columns: minmax(0,.95fr) minmax(500px,1.05fr); margin-block: 42px; background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-heavy); }
.auth-story { min-height: 690px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: linear-gradient(155deg, rgba(13,14,13,.96), rgba(21,22,19,.78)), url('/assets/images/deep-dish.webp') center/cover; }
.auth-story .logo { font-size: 23px; }
.auth-eyebrow { display: block; margin-top: 90px; color: var(--accent-2); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 900; }
.auth-story h1 { max-width: 560px; margin: 14px 0 18px; font-size: clamp(44px,5vw,72px); line-height: .92; letter-spacing: -.065em; }
.auth-story > div > p { max-width: 540px; color: #bbbcb5; font-size: 16px; }
.auth-points { display: grid; gap: 14px; }
.auth-points > div { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: start; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #c9cac4; font-size: 13px; }
.auth-points svg { color: var(--accent); }
.auth-points strong { display: block; color: white; }
.auth-panel { padding: 50px clamp(34px,5vw,76px); align-self: center; }
.auth-panel h2 { margin: 5px 0 8px; font-size: 42px; line-height: 1; letter-spacing: -.055em; }
.auth-copy { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.auth-tabs { display: flex; gap: 24px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.auth-tabs a { position: relative; padding: 0 2px 13px; color: var(--muted); font-weight: 800; }
.auth-tabs a.active { color: var(--ink); }
.auth-tabs a.active::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--accent); }
.auth-form { display: grid; gap: 18px; }
.password-input { position: relative; }
.password-input .input { width: 100%; padding-right: 72px; }
.password-view-button { position: absolute; z-index: 2; top: 50%; right: 6px; min-width: 56px; min-height: 36px; padding: 0 9px; transform: translateY(-50%); color: #a64018; background: #fff5ef; border: 0; border-radius: 7px; font-size: 11px; font-weight: 900; cursor: pointer; }
.password-view-button:hover,.password-view-button:focus-visible { color: white; background: var(--accent); outline: none; }
.auth-form-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); font-size: 12px; }
.auth-consent { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; color: var(--muted); font-size: 12px; }
.handle-input { position: relative; display: flex; align-items: center; }
.handle-input > span { position: absolute; left: 14px; z-index: 1; color: var(--muted); font-weight: 800; }
.handle-input .input { padding-left: 31px; }
.demo-login { width: 100%; margin-top: 22px; padding: 15px; display: grid; grid-template-columns: auto 1fr; column-gap: 11px; text-align: left; color: var(--ink); background: #f5f5f0; border: 1px dashed #c5c6be; border-radius: 12px; }
.demo-login .status { grid-row: 1/3; align-self: center; }
.demo-login small { color: var(--muted); }
.verification-banner { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 13px 15px; color: #77501b; background: #fff2d8; border: 1px solid #efd7a8; border-radius: 11px; font-size: 13px; }
.verification-banner.compact { margin-bottom: 16px; color: var(--success); background: #eaf8f2; border-color: #bde4d5; }
.verification-banner.dashboard-verification { justify-content: space-between; margin: -8px 0 24px; }
.verification-banner.dashboard-verification span { flex: 1; }
.verification-banner.dashboard-verification strong { display: block; color: var(--ink); }
.access-page { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 70px 24px; background: radial-gradient(circle at 50% 0,#fff 0,var(--paper) 55%); }
.access-card { width: min(100%,680px); padding: clamp(34px,6vw,66px); text-align: center; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.access-card h1 { margin: 8px 0 15px; font-size: clamp(38px,6vw,64px); line-height: .95; letter-spacing: -.06em; }
.access-card > p { max-width: 540px; margin: 0 auto 26px; color: var(--muted); }
.access-card .action-row { justify-content: center; }
.access-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 22px; color: var(--accent); background: #fff0e9; border-radius: 18px; }
.access-icon.success { color: var(--success); background: #e8f8f1; }
.verification-steps { margin: 28px auto; display: grid; grid-template-columns: 32px 1fr; gap: 9px 12px; max-width: 410px; text-align: left; }
.verification-steps span { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--dark); border-radius: 50%; font-size: 12px; font-weight: 900; }
.verification-steps p { margin: 5px 0; color: var(--muted); font-size: 14px; }
.seller-requirement { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 24px; padding: 16px; color: var(--success); background: #eaf8f2; border: 1px solid #bee5d6; border-radius: 12px; }
.seller-requirement span { color: var(--muted); font-size: 13px; }
.seller-requirement strong { display: block; color: var(--ink); }
.seller-contact-actions { display: grid; gap: 9px; margin-top: 16px; }
.instagram-contact { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; color: white; background: linear-gradient(100deg,#833ab4,#fd1d1d,#fcb045); border-radius: 10px; font-size: 13px; font-weight: 850; }
.verified-fact { display: inline-flex; align-items: center; gap: 4px; color: var(--success); }
.verified-fact svg { width: 14px; height: 14px; }
.profile-reviews { padding: 70px 0 90px; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.review-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.review-card p { min-height: 72px; color: #4f504b; }
.review-card footer { display: grid; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card footer span { color: var(--muted); font-size: 11px; }
.dashboard-status { font-size: 21px !important; }

/* Dashboard */
.dashboard-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 28px; padding: 40px 0 90px; align-items: start; }
.dashboard-nav { position: sticky; top: 100px; display: grid; gap: 5px; }
.dashboard-user { display: flex; align-items: center; gap: 11px; padding-bottom: 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.dashboard-link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; color: var(--muted); border-radius: 9px; font-size: 13px; font-weight: 750; }
.dashboard-link:hover, .dashboard-link.active { background: white; color: var(--ink); }
.dashboard-logout { width: 100%; margin-top: 12px; border: 0; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
.dashboard-content h1 { font-size: 42px; letter-spacing: -.055em; margin: 0 0 25px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 28px; }
.stat-card { padding: 19px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.stat-card span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
.stat-card strong { display: block; font-size: 27px; margin-top: 5px; letter-spacing: -.04em; }
.panel { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 17px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 18px; }
.table { width: 100%; border-collapse: collapse; }
.table th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; text-align: left; padding: 12px 18px; background: #fafaf7; }
.table td { padding: 14px 18px; border-top: 1px solid #edede7; font-size: 13px; }
.table-listing { display: flex; align-items: center; gap: 10px; }
.table-listing img { width: 58px; height: 45px; object-fit: cover; border-radius: 7px; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 850; background: #e5f5ee; color: var(--success); }
.status.warn { background: #fff0d7; color: var(--warning); }
.status.red { background: #fae3e1; color: var(--danger); }
.account-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.account-page-head h1 { margin-bottom: 5px; }
.account-page-head p { max-width: 620px; margin: 0; color: var(--muted); font-size: 13px; }
.account-shortcuts { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 20px; }
.account-shortcuts a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 13px; transition: .18s ease; }
.account-shortcuts a:hover { border-color: #b6b8b0; transform: translateY(-2px); box-shadow: var(--shadow); }
.account-shortcuts a > svg:first-child { width: 25px; height: 25px; color: var(--accent); }
.account-shortcuts strong, .account-shortcuts small { display: block; }
.account-shortcuts strong { font-size: 13px; }
.account-shortcuts small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.account-shortcuts a > svg:last-child { color: #a3a59d; }
.account-listing-list { display: grid; gap: 11px; }
.account-listing-row { display: grid; grid-template-columns: 130px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.account-listing-row > img { width: 130px; height: 98px; object-fit: cover; border-radius: 10px; }
.account-listing-main h3 { margin: 7px 0 3px; font-size: 19px; letter-spacing: -.03em; }
.account-listing-main > div { color: #4d4f49; font-size: 12px; font-weight: 700; }
.account-listing-main small { display: block; margin-top: 8px; color: var(--muted); }
.account-listing-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.danger-icon { color: var(--danger); }
.danger-icon:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.offer-list { overflow: visible; }
.offer-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 14px; align-items: center; padding: 17px 20px; border-top: 1px solid var(--line); }
.offer-direction { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent); background: #fff0e8; border-radius: 50%; }
.offer-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.offer-amount { display: grid; justify-items: end; gap: 5px; font-size: 17px; font-weight: 900; }
.offer-actions { display: flex; gap: 7px; }
.account-form { padding: 24px; }
.profile-edit-head { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.profile-edit-head .seller-avatar { width: 58px; height: 58px; }
.profile-edit-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; text-transform: capitalize; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-section + .settings-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.settings-section h2 { margin: 0 0 17px; font-size: 18px; }
.security-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; padding: 10px 0; border-top: 1px solid var(--line); }
.security-row > span:first-child { display: flex; align-items: center; gap: 12px; }
.security-row > span:first-child > svg { color: var(--accent); }
.security-row strong, .security-row small { display: block; }
.security-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.empty-account-page { padding: 55px; text-align: center; }
.empty-account-page .trust-card-icon { margin: 0 auto 16px; }
.empty-account-page h2 { margin-bottom: 7px; }
.empty-account-page p { margin: 0 0 20px; color: var(--muted); }

/* Messages */
.messages-shell { display: grid; grid-template-columns: 350px minmax(0,1fr); height: calc(100vh - 74px); background: white; }
.conversation-list { border-right: 1px solid var(--line); overflow: auto; }
.conversation-header { position: sticky; top: 0; background: white; z-index: 1; padding: 22px; border-bottom: 1px solid var(--line); }
.conversation-header h1 { margin: 0 0 13px; font-size: 27px; letter-spacing: -.04em; }
.conversation { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 11px; padding: 15px 18px; text-align: left; color: inherit; background: white; border: 0; border-bottom: 1px solid #ecece6; cursor: pointer; }
.conversation.active { background: #fff3ed; }
.conversation:hover { background: #f8f8f4; }
.conversation img { width: 48px; height: 48px; object-fit: cover; border-radius: 9px; }
.conversation-top { display: flex; justify-content: space-between; gap: 8px; }
.conversation-top strong { font-size: 13px; }
.conversation-top span { color: var(--muted); font-size: 10px; }
.conversation-title { color: var(--muted); font-size: 11px; }
.conversation-preview { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.verified-message-note { display: flex; align-items: center; gap: 6px; margin: -7px 0 13px; color: var(--success); font-size: 11px; font-weight: 800; }
.verified-message-note svg { width: 14px; height: 14px; }
.mini-verified { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 3px; color: white !important; background: var(--success); border-radius: 50%; vertical-align: -2px; }
.mini-verified svg { width: 9px; height: 9px; }
.chat-pane { display: grid; grid-template-rows: auto auto 1fr auto; min-width: 0; }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.chat-person { display: flex; align-items: center; gap: 10px; }
.chat-header-actions { display: flex; align-items: center; gap: 8px; }
.listing-context-row { display: grid; grid-template-columns: 1fr auto; align-items: stretch; background: #f6f6f1; border-bottom: 1px solid var(--line); }
.listing-context { display: flex; align-items: center; gap: 12px; padding: 10px 22px; }
.listing-context img { width: 54px; height: 42px; object-fit: cover; border-radius: 6px; }
.listing-context strong { font-size: 12px; }
.listing-context span { font-size: 12px; color: var(--muted); }
.review-eligibility { display: flex; align-items: center; gap: 9px; max-width: 330px; padding: 10px 18px; color: var(--muted); background: #ededE7; border-left: 1px solid var(--line); font-size: 10px; }
.review-eligibility.eligible { color: var(--success); background: #e7f6ef; }
.review-eligibility strong { display: block; color: var(--ink); font-size: 11px; }
.review-eligibility svg { flex: 0 0 auto; }
.chat-messages { overflow: auto; padding: 25px; display: flex; flex-direction: column; gap: 12px; background: #fbfbf8; }
.message-bubble { max-width: 68%; padding: 12px 14px; border-radius: 14px 14px 14px 3px; background: var(--accent); color: white; border: 1px solid var(--accent); font-size: 13px; box-shadow: 0 4px 16px rgba(255,90,31,.15); }
.message-bubble.mine { align-self: flex-end; border-radius: 14px 14px 3px 14px; background: var(--dark); color: white; border-color: var(--dark); }
.message-time { display: block; font-size: 9px; opacity: .55; margin-top: 5px; }
.chat-compose { display: flex; gap: 9px; padding: 16px 22px; border-top: 1px solid var(--line); }
.chat-compose .input { flex: 1; }
.rating-picker { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.rating-picker label { cursor: pointer; }
.rating-picker input { position: absolute; opacity: 0; pointer-events: none; }
.rating-picker span { display: inline-block; min-width: 120px; padding: 7px 10px; color: #c6a149; border: 1px solid transparent; border-radius: 8px; letter-spacing: 2px; }
.rating-picker input:checked + span { color: #a77700; background: #fff4cf; border-color: #edd89a; }
.draft-translate { min-width: 52px; padding-inline: 12px; }

.filter-submit { display: grid; gap: 8px; padding: 16px; }
.alert-explainer { display: flex; align-items: flex-start; gap: 14px; padding: 20px; margin-bottom: 16px; color: #6c321d; background: #fff0e9; border-color: #ffd1bf; }
.alert-explainer > svg { color: var(--accent); }
.alert-explainer p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.alert-list, .saved-search-list { padding: 0 20px 10px; }
.alert-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.alert-row img { width: 58px; height: 46px; object-fit: cover; border-radius: 8px; }
.alert-row strong, .alert-row small { display: block; }
.alert-row small { color: var(--muted); font-size: 10px; }
.compact-toggle { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.compact-toggle input { accent-color: var(--accent); }
.saved-search-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.saved-search-row > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent); background: #fff0e8; border-radius: 10px; }
.saved-search-row strong, .saved-search-row small { display: block; }
.saved-search-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.alert-consent { margin: 16px 0; padding: 13px; background: var(--paper); border-radius: 10px; }

.feedback-hero .section-copy { max-width: 720px; }
.feedback-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 22px; align-items: start; }
.feedback-form { display: grid; gap: 18px; padding: 28px; }
.feedback-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 8px; }
.feedback-type-grid input { position: absolute; opacity: 0; }
.feedback-type-grid label > span { min-height: 125px; display: grid; align-content: start; gap: 7px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.feedback-type-grid label > span svg { color: var(--accent); }
.feedback-type-grid label > span strong, .feedback-type-grid label > span small { display: block; }
.feedback-type-grid label > span small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.feedback-type-grid input:checked + span { border-color: var(--accent); background: #fff4ee; box-shadow: 0 0 0 2px rgba(255,90,31,.12); }
.feedback-assurance { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.feedback-sidebar { display: grid; gap: 14px; }
.feedback-sidebar .panel { padding: 22px; }
.feedback-sidebar .panel > svg { color: var(--accent); }
.feedback-sidebar h2 { margin: 12px 0 8px; font-size: 18px; }
.feedback-sidebar p, .feedback-sidebar li { color: var(--muted); font-size: 12px; line-height: 1.6; }
.feedback-sidebar ul { padding-left: 18px; }

/* Admin */
.admin-alert-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.moderation-system { overflow: hidden; margin-bottom: 16px; background: linear-gradient(135deg, #151814, #252923); color: white; border: 0; }
.moderation-system-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 25px; }
.moderation-system-head h2 { margin: 4px 0 6px; font-size: 25px; letter-spacing: -.04em; }
.moderation-system-head p { max-width: 650px; margin: 0; color: #aeb4aa; font-size: 12px; line-height: 1.55; }
.moderation-live { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: #c7f4d8; background: #21422f; border: 1px solid #356244; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.moderation-live i { width: 7px; height: 7px; background: #61dd91; border-radius: 50%; box-shadow: 0 0 0 4px rgba(97,221,145,.12); }
.moderation-capabilities { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #353a32; }
.moderation-capabilities > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 18px; border-right: 1px solid #353a32; }
.moderation-capabilities > div:last-child { border-right: 0; }
.moderation-capabilities svg { width: 18px; height: 18px; color: var(--accent); }
.moderation-capabilities strong, .moderation-capabilities small { display: block; }
.moderation-capabilities strong { font-size: 11px; }
.moderation-capabilities small { margin-top: 3px; color: #92988f; font-size: 9px; line-height: 1.35; }
.moderation-capabilities b { grid-column: 2; width: max-content; color: #6ee19a; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.moderation-capabilities b.manual { color: #efbd66; }
.table-scroll { overflow-x: auto; }
.moderation-table { min-width: 760px; }
.moderation-result { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.moderation-result.blocked { color: #9d1b1b; background: #fee7e7; }
.moderation-result.review { color: #8e5a00; background: #fff0cf; }
.moderation-result.passed { color: #17633f; background: #def4e8; }
.empty-moderation { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 90px; color: var(--success); font-weight: 750; }
.moderation-review-summary { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.moderation-review-summary h3 { margin: 12px 0 5px; font-size: 20px; letter-spacing: -.03em; }
.moderation-review-summary p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.moderation-decisions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 18px; }
.moderation-policy { overflow: hidden; }
.policy-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; border-top: 1px solid var(--line); }
.policy-row strong, .policy-row small { display: block; }
.policy-row strong { font-size: 12px; }
.policy-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.policy-toggle { position: relative; flex: 0 0 auto; width: 34px; height: 20px; background: #d6d8d2; border-radius: 999px; }
.policy-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: white; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.policy-toggle.on { background: var(--success); }
.policy-toggle.on::after { left: 17px; }
.moderator-search { position: relative; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.moderator-search > svg { position: absolute; left: 31px; top: 50%; z-index: 1; color: var(--muted); transform: translateY(-50%); }
.moderator-search .input { padding-left: 42px; }
.moderator-list { display: grid; }
.moderator-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 13px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.moderator-row:first-child { border-top: 0; }
.moderator-row[hidden] { display: none; }
.moderator-row .seller-avatar { width: 42px; height: 42px; font-size: 12px; }
.moderator-row p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.activity-list { display: grid; }
.activity-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 19px; border-top: 1px solid var(--line); font-size: 12px; }
.activity-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--paper); color: var(--muted); }
.activity-item time { color: var(--muted); }

/* Fitment guide */
.fitment-hero { color: white; background: radial-gradient(circle at 80% 30%, rgba(255,90,31,.2), transparent 32%), linear-gradient(130deg, #0d0e0c, #22241f); overflow: hidden; }
.fitment-hero .container { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 42px; padding-block: 68px; }
.fitment-hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px,6.5vw,90px); line-height: .9; letter-spacing: -.065em; }
.fitment-hero p { max-width: 720px; margin: 20px 0 0; color: #b9bbb4; font-size: 18px; }
.fitment-hero-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 13px 16px; color: var(--accent-2); border: 1px solid #41443c; background: rgba(255,255,255,.04); border-radius: 999px; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.fitment-workspace-section { background: #ededE8; }
.fitment-workspace { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.35fr); gap: 22px; align-items: start; }
.fitment-controls { position: sticky; top: 92px; }
.fitment-controls .panel-head p, .business-brand-form .panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.fitment-control-section { padding: 20px; border-top: 1px solid var(--line); }
.fitment-control-section:first-of-type { border-top: 0; }
.fitment-control-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; font-size: 13px; }
.fitment-control-section h3 svg { width: 17px; color: var(--accent); }
.fitment-control-section > .form-group + .form-group { margin-top: 11px; }
.fitment-input-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 42px; }
.input-suffix > span { position: absolute; right: 12px; top: 50%; color: var(--muted); font-size: 11px; font-weight: 850; transform: translateY(-50%); pointer-events: none; }
.fitment-warning { display: flex; align-items: flex-start; gap: 10px; margin: 0 20px 20px; padding: 13px; color: #72511a; background: #fff7df; border: 1px solid #f0dfac; border-radius: 10px; font-size: 10px; line-height: 1.5; }
.fitment-warning svg { flex: 0 0 auto; width: 16px; }
.fitment-output { min-width: 0; }
.fitment-visual-panel { background: #121310; color: white; border-color: #2c2e29; }
.fitment-visual-panel .panel-head { border-color: #2d2f2a; }
.fitment-visual-panel .panel-head h2 { font-size: 24px; letter-spacing: -.04em; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: #cdf583; background: #26351e; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.live-pill i { width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; box-shadow: 0 0 0 4px rgba(217,255,67,.1); }
#fitment-visual { padding: 18px 20px 14px; }
.fitment-stage { --fitment-scale: 1; --fitment-shift: 0px; position: relative; height: 440px; overflow: hidden; background: linear-gradient(180deg,#1d1f1b,#11120f); border: 1px solid #30332c; border-radius: 12px; }
.fitment-stage::before { content: ''; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px); background-size: 28px 28px; }
.fitment-car-label { position: absolute; z-index: 5; left: 20px; top: 18px; display: grid; }
.fitment-car-label span { color: var(--accent); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.fitment-car-label strong { font-size: 25px; letter-spacing: -.04em; }
.fitment-car-label small { color: #878b82; }
.fitment-fender { position: absolute; z-index: 3; left: calc(50% + 120px); top: 55px; width: 150px; height: 275px; border: 7px solid #666a62; border-left-color: transparent; border-bottom-color: transparent; border-radius: 0 130px 0 0; }
.fitment-fender::after { content: ''; position: absolute; top: 9px; right: 7px; width: 8px; height: 220px; background: #383a35; border-radius: 6px; }
.fitment-fender span, .fitment-strut span { position: absolute; color: #91958c; font-size: 9px; font-weight: 750; white-space: nowrap; }
.fitment-fender span { right: -2px; top: -24px; }
.fitment-strut { position: absolute; z-index: 3; right: calc(50% + 90px); top: 67px; width: 26px; height: 260px; background: linear-gradient(90deg,#3e413a,#83887e,#343630); border: 1px solid #999e92; border-radius: 8px; }
.fitment-strut::after { content: ''; position: absolute; left: -25px; bottom: 20px; width: 76px; height: 22px; background: #4b4e47; border-radius: 18px; }
.fitment-strut span { left: -20px; top: -27px; }
.fitment-hub { position: absolute; z-index: 3; left: calc(50% - 8px); top: 217px; width: 65px; height: 24px; background: #8e9288; border-radius: 0 8px 8px 0; }
.fitment-wheel { position: absolute; z-index: 4; left: calc(50% - 66px + var(--fitment-shift)); top: 97px; width: 132px; height: 278px; transform: scale(var(--fitment-scale)); transition: left .35s ease, transform .35s ease; }
.fitment-tyre { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(90deg,#090a09,#2c2e2a 12%,#10110f 24%,#050605 76%,#252723 90%,#090a09); border: 2px solid #3f423b; border-radius: 30px; box-shadow: inset 13px 0 16px rgba(255,255,255,.04), inset -12px 0 18px rgba(255,255,255,.04), 0 22px 35px rgba(0,0,0,.32); }
.fitment-rim { width: 82%; height: 70%; display: grid; place-items: center; color: #d7d9d2; background: linear-gradient(90deg,#565b53,#babeb5 52%,#50544d); border: 4px solid #e1e3dc; border-radius: 17px; }
.fitment-rim svg { width: 64px; height: 64px; stroke-width: .8; }
.fitment-ground { position: absolute; left: 5%; right: 5%; bottom: 64px; height: 2px; background: #555950; }
.fitment-measure { position: absolute; z-index: 6; bottom: 22px; display: grid; gap: 1px; color: #8e9289; font-size: 8px; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.fitment-measure b { color: white; font-size: 13px; letter-spacing: 0; text-transform: none; }
.fitment-measure.outer { left: calc(50% + 94px); }
.fitment-measure.inner { right: calc(50% + 94px); }
.fitment-legend { display: flex; gap: 18px; padding: 13px 4px 2px; color: #94978f; font-size: 9px; }
.fitment-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fitment-legend i { width: 15px; height: 3px; border-radius: 9px; }
.legend-current { background: var(--accent); }
.legend-limit { background: #777b72; }
.fitment-results { padding: 22px; }
.fitment-result-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fitment-result-head p { margin: 0; color: var(--muted); font-size: 12px; }
.fitment-result-status { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 11px; border-radius: 999px; font-size: 10px; font-weight: 900; white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.fitment-result-status.good { color: #176743; background: #dff4e8; }
.fitment-result-status.check { color: #8e5d0a; background: #fff0cf; }
.fitment-result-status.risk { color: #9d2521; background: #fee3e2; }
.fitment-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 20px 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fitment-metrics > div { min-width: 0; padding: 14px; background: white; }
.fitment-metrics span, .fitment-metrics small { display: block; color: var(--muted); font-size: 9px; }
.fitment-metrics strong { display: block; margin: 7px 0 4px; font-size: 20px; letter-spacing: -.04em; }
.fitment-oem-note { padding: 12px 14px; color: var(--muted); background: var(--paper); border-radius: 9px; font-size: 10px; }
.fitment-oem-note strong { color: var(--ink); }
.fitment-actions { display: flex; gap: 9px; }
.fitment-filter-link { display: flex; align-items: center; gap: 7px; color: #a64018; font-size: 11px; font-weight: 850; }
.fitment-filter-link svg { width: 15px; }

/* Memberships, ads and business pages */
.plans-hero { padding: 86px 0 72px; color: white; text-align: center; background: radial-gradient(circle at 50% 0,rgba(255,90,31,.24),transparent 40%),var(--dark); }
.plans-hero h1 { margin: 0; font-size: clamp(47px,6vw,76px); line-height: .95; letter-spacing: -.06em; }
.plans-hero p { max-width: 660px; margin: 19px auto; color: #b5b7b0; font-size: 17px; }
.billing-note { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; color: #cfd1ca; background: #242520; border: 1px solid #363832; border-radius: 999px; font-size: 10px; }
.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 510px; padding: 29px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.plan-card.featured { color: white; background: linear-gradient(145deg,#171915,#26291f); border-color: #34372e; box-shadow: var(--shadow-heavy); }
.plan-card.current { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan-popular { position: absolute; right: 18px; top: 18px; color: var(--dark); background: var(--accent-2); border-radius: 999px; padding: 5px 9px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.plan-icon { width: 51px; height: 51px; display: grid; place-items: center; color: var(--accent); background: #fff0e9; border-radius: 13px; }
.plan-card.featured .plan-icon { color: var(--accent-2); background: #30352a; }
.plan-card h2 { margin: 25px 0 4px; font-size: 25px; letter-spacing: -.04em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 16px; }
.plan-price strong { font-size: 43px; letter-spacing: -.055em; }
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-card.featured .plan-price span, .plan-card.featured > p { color: #aeb1a8; }
.plan-card > p { min-height: 48px; color: var(--muted); font-size: 13px; }
.plan-card ul { display: grid; gap: 12px; padding: 20px 0; margin: 8px 0 24px; border-top: 1px solid var(--line); list-style: none; }
.plan-card.featured ul { border-color: #3b3e35; }
.plan-card li { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.plan-card li svg { width: 15px; color: var(--success); }
.plan-card.featured li svg { color: var(--accent-2); }
.plan-card .button { margin-top: auto; }
.plans-footnote { margin-top: 24px; padding: 17px 20px; color: var(--muted); background: #fff9e8; border: 1px solid #ebddae; border-radius: 12px; font-size: 11px; text-align: center; }
.plans-footnote strong { color: var(--ink); }
.ad-shell { padding-block: 28px; }
.ad-unit { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px; color: #777a72; background: #e9e9e3; border: 1px dashed #c4c5bd; border-radius: 13px; text-align: left; }
.ad-unit > svg { width: 25px; color: #9a9c95; }
.ad-unit strong, .ad-unit small { display: block; }
.ad-unit strong { color: #555750; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ad-unit small { margin-top: 2px; font-size: 9px; }
.ad-unit a { color: #a64018; font-weight: 850; font-size: 10px; }
.results > .ad-shell { width: 100%; padding: 0 0 22px; }
.forum-sidebar .ad-shell { padding: 0; }
.forum-sidebar .ad-shell .container { width: 100%; }
.forum-sidebar .ad-unit { min-height: 150px; flex-direction: column; text-align: center; }
.membership-current { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 24px; }
.membership-current h2 { margin: 2px 0; font-size: 25px; }
.membership-current p { margin: 0; color: var(--muted); font-size: 12px; }
.membership-current > div:nth-child(2) > span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.membership-upgrade { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px; }
.membership-upgrade > div { display: flex; align-items: center; gap: 16px; }
.membership-upgrade > div > svg { width: 30px; color: var(--accent); }
.membership-upgrade h2 { margin: 0 0 4px; }
.membership-upgrade p { margin: 0; color: var(--muted); font-size: 12px; }
.membership-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.button-danger { color: white; background: #a72d24; border-color: #a72d24; }
.button-danger:hover { background: #8d211a; border-color: #8d211a; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 24px; border-color: #e7b9b4; background: #fff9f8; }
.danger-zone > div { display: flex; align-items: flex-start; gap: 14px; }
.danger-zone-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: #a72d24; background: #fee8e5; border-radius: 11px; }
.danger-zone h2 { margin: 0 0 5px; font-size: 19px; }
.danger-zone p { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.delete-account-form { display: grid; gap: 17px; }
.delete-account-form > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.profile-photo-panel { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 23px; }
.profile-photo-panel h2 { margin: 0 0 4px; }
.profile-photo-panel p { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.profile-photo-preview { width: 104px; height: 104px; display: grid; place-items: center; overflow: hidden; color: white; background: linear-gradient(145deg,#cf8b5e,#52301f); border: 4px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); font-size: 26px; font-weight: 900; }
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.seller-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.business-brand-form { padding-bottom: 22px; }
.brand-upload-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; padding: 20px; }
.brand-upload { display: grid; grid-template-columns: 70px 1fr; grid-template-rows: auto auto auto; gap: 2px 12px; align-items: center; padding: 13px; border: 1px dashed #c5c6bf; border-radius: 12px; cursor: pointer; }
.brand-upload > span { grid-row: 1/4; width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; color: var(--muted); background: var(--paper); border-radius: 10px; }
.brand-upload > span img { width: 100%; height: 100%; object-fit: cover; }
.brand-upload strong { font-size: 12px; }
.brand-upload small { color: var(--muted); font-size: 9px; }
.brand-upload b { color: #a64018; font-size: 10px; }
.brand-upload.banner > span { width: 130px; background-position: center; background-size: cover; }
.brand-upload.banner { grid-template-columns: 130px 1fr; }
.business-brand-form .form-grid { padding: 0 20px; }
.business-brand-form .form-actions { padding: 18px 20px 0; }
.storefront-banner { min-height: 480px; display: flex; align-items: end; color: white; background-position: center; background-size: cover; }
.storefront-banner-content { display: grid; grid-template-columns: 126px 1fr; align-items: end; gap: 25px; padding-bottom: 52px; }
.storefront-logo { width: 126px; height: 126px; display: grid; place-items: center; overflow: hidden; color: var(--dark); background: white; border: 5px solid rgba(255,255,255,.25); border-radius: 22px; font-size: 34px; font-weight: 950; box-shadow: var(--shadow-heavy); }
.storefront-logo img { width: 100%; height: 100%; object-fit: cover; }
.storefront-plan { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-2); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.storefront-banner h1 { margin: 8px 0; font-size: clamp(43px,6vw,72px); line-height: .95; letter-spacing: -.06em; }
.storefront-banner p { max-width: 700px; margin: 0 0 20px; color: #d3d4cf; }
.storefront-actions { display: flex; gap: 9px; }
.storefront-nav { position: sticky; z-index: 50; top: 74px; background: white; border-bottom: 1px solid var(--line); }
.storefront-nav .container { height: 58px; display: flex; align-items: center; gap: 26px; }
.storefront-nav a { font-size: 12px; font-weight: 850; }
.storefront-nav span { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--success); font-size: 10px; font-weight: 850; }
.storefront-rating { display: grid; text-align: right; }
.storefront-rating .stars { color: #d39517; letter-spacing: 2px; }
.storefront-rating strong { font-size: 23px; }
.storefront-rating small { color: var(--muted); }
.storefront-about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: start; }
.storefront-about h2 { margin: 0; font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.storefront-about > p { margin: 25px 0 0; color: #b8bab3; font-size: 17px; }
.storefront-facts { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 9px; padding-top: 25px; border-top: 1px solid #343631; }
.storefront-facts span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; color: #d2d3ce; background: #22231f; border-radius: 8px; font-size: 10px; }

/* Community forum */
.forum-hero { color: white; background: radial-gradient(circle at 80% 0,rgba(217,255,67,.11),transparent 35%),linear-gradient(120deg,#121310,#24261f); }
.forum-hero .container { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 60px; }
.forum-hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px,6vw,76px); line-height: .93; letter-spacing: -.06em; }
.forum-hero p { max-width: 670px; margin: 17px 0 0; color: #b9bbb3; font-size: 17px; }
.forum-section { background: #ededE8; }
.forum-layout, .thread-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
.forum-toolbar { padding: 14px; margin-bottom: 13px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.forum-categories { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 11px; scrollbar-width: none; }
.forum-category { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 0 11px; color: #575952; background: var(--paper); border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 850; }
.forum-category.active { color: white; background: var(--dark); }
.forum-category svg { width: 14px; }
.forum-search { position: relative; }
.forum-search > svg { position: absolute; z-index: 2; left: 13px; top: 50%; width: 17px; color: var(--muted); transform: translateY(-50%); }
.forum-search .input { padding-left: 40px; }
.forum-feed { display: grid; gap: 10px; }
.forum-thread { display: grid; grid-template-columns: auto minmax(0,1fr) 150px; gap: 17px; align-items: center; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease; }
.forum-thread:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.forum-thread-avatar { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: linear-gradient(145deg,#ee835b,#63311e); border-radius: 50%; font-size: 12px; font-weight: 900; }
.forum-thread-top { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 9px; }
.forum-thread h2 { margin: 5px 0 3px; font-size: 18px; line-height: 1.15; letter-spacing: -.03em; }
.forum-thread h2 a:hover { color: #a64018; }
.forum-thread p { margin: 0; color: var(--muted); font-size: 11px; }
.forum-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.forum-tags span { padding: 3px 6px; color: #686a64; background: var(--paper); border-radius: 5px; font-size: 8px; font-weight: 750; }
.forum-thread-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; color: var(--muted); text-align: right; font-size: 8px; }
.forum-thread-stats strong { display: block; color: var(--ink); font-size: 14px; }
.forum-thread-stats small { grid-column: 1/-1; }
.forum-sidebar { display: grid; gap: 15px; position: sticky; top: 92px; }
.forum-sidebar .panel { margin: 0; }
.forum-sidebar .panel:not(.forum-trending) { padding-bottom: 17px; }
.forum-sidebar .panel > h2, .forum-trending > h2 { margin: 0; padding: 18px; font-size: 17px; }
.forum-sidebar ol { margin: 0; padding: 0 35px 4px 46px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.forum-auto-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 16px 0; padding: 11px; color: #286348; background: #e7f5ed; border-radius: 8px; font-size: 9px; }
.forum-auto-note svg { flex: 0 0 auto; width: 15px; }
.forum-writer-lock { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; color: #f3f2ec; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; font-size: 11px; font-weight: 850; }
.forum-writer-lock svg { width: 17px; }
.forum-blog-intro { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 16px; color: #4c3b15; background: #fff7dc; border: 1px solid #ead69a; border-radius: 12px; font-size: 11px; line-height: 1.55; }
.forum-blog-intro > svg { width: 20px; flex: 0 0 auto; color: #b36b00; }
.forum-blog-intro strong { display: block; color: var(--ink); }
.forum-trending { display: grid; }
.forum-trending a { display: grid; grid-template-columns: 27px 1fr; gap: 7px; padding: 11px 17px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 750; }
.forum-trending a span { color: var(--accent); font-size: 9px; font-weight: 900; }
.thread-breadcrumb { padding: 16px 0; background: white; border-bottom: 1px solid var(--line); }
.thread-breadcrumb .container { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.thread-section { background: #ededE8; }
.thread-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.thread-title h1 { margin: 8px 0 5px; font-size: clamp(34px,4vw,54px); line-height: 1; letter-spacing: -.055em; }
.thread-title p { margin: 0; color: var(--muted); font-size: 11px; }
.thread-posts { display: grid; gap: 11px; }
.thread-post { display: grid; grid-template-columns: 150px 1fr; min-height: 190px; background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.thread-post > aside { display: flex; flex-direction: column; align-items: center; padding: 24px 14px; background: #f8f8f4; border-right: 1px solid var(--line); text-align: center; }
.thread-post > aside strong { margin-top: 10px; font-size: 11px; }
.thread-post > aside span { color: var(--muted); font-size: 9px; }
.thread-post > div { display: flex; flex-direction: column; padding: 21px; }
.thread-post-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.thread-post p { margin: 20px 0; font-size: 13px; white-space: pre-line; }
.thread-post footer { display: flex; gap: 7px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.thread-post footer button { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: 10px; cursor: pointer; }
.thread-post footer button:hover { color: var(--ink); background: var(--paper); }
.thread-post footer .forum-like-button strong { min-width: 20px; padding: 2px 6px; color: var(--muted); background: var(--paper-2); border-radius: 99px; font-size: 9px; }
.thread-post footer .forum-like-button.active { color: #b6380c; background: #fff0e8; }
.thread-post footer .forum-like-button.active svg { fill: currentColor; }
.thread-post footer .forum-like-button.active strong { color: white; background: var(--accent); }
.thread-post footer svg { width: 14px; }
.thread-spec-card { display: flex; align-items: center; gap: 12px; padding: 13px; margin-bottom: 14px; background: #f2f2ec; border-radius: 9px; }
.thread-spec-card span { color: var(--muted); font-size: 9px; }
.thread-spec-card strong { font-size: 12px; }
.thread-spec-card a { margin-left: auto; color: #a64018; font-size: 9px; font-weight: 850; }
.forum-reply { margin-top: 14px; padding-bottom: 17px; }
.forum-reply .textarea { width: calc(100% - 34px); margin: 17px; min-height: 130px; }
.forum-reply > div:last-child { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 0 17px; color: var(--muted); font-size: 9px; }
.forum-reply > div:last-child span { display: flex; align-items: center; gap: 6px; }
.forum-login-gate { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 20px; }
.forum-login-gate > div { display: flex; align-items: center; gap: 12px; }
.forum-login-gate > div > svg { color: var(--accent); }
.forum-login-gate strong, .forum-login-gate span { display: block; }
.forum-login-gate span { color: var(--muted); font-size: 10px; }
.forum-summary-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 10px; }
.forum-summary-row span { color: var(--muted); }
.build-winner-hero { min-height: 570px; color: white; background-size: cover; background-position: center; display: flex; align-items: end; }
.build-winner-hero .container { padding-block: 90px 70px; }
.build-winner-hero h1 { max-width: 800px; margin: 8px 0 12px; font-size: clamp(48px,7vw,88px); line-height: .92; letter-spacing: -.065em; }
.build-winner-hero p { max-width: 690px; color: #d6d7d1; font-size: 17px; line-height: 1.6; }
.build-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 48px; color: #d6d7d1; font-size: 11px; font-weight: 800; }
.build-back svg { width: 16px; }
.build-program { padding: 58px 0; background: var(--dark); color: white; }
.build-program .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.build-program h2 { margin: 7px 0 14px; max-width: 480px; font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.build-program > .container > div:first-child p { color: #b9bbb3; line-height: 1.7; }
.build-program-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.build-program-steps article { min-height: 155px; padding: 20px; background: #20221d; border: 1px solid #34372f; border-radius: 13px; }
.build-program-steps span { color: var(--accent); font-size: 10px; font-weight: 900; }
.build-program-steps strong { display: block; margin: 25px 0 7px; font-size: 15px; }
.build-program-steps p { margin: 0; color: #aeb0a9; font-size: 10px; line-height: 1.55; }
.community-build-grid { display: grid; gap: 25px; }
.community-build-card { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); position: relative; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 15px 40px rgba(22,24,20,.05); }
.build-rank { position: absolute; z-index: 3; top: 14px; left: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 11px; color: white; background: rgba(12,13,11,.84); backdrop-filter: blur(10px); border-radius: 8px; font-size: 9px; }
.build-rank span { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.build-gallery { min-height: 540px; display: grid; grid-template-rows: minmax(0,1fr) 105px; background: #111; }
.build-gallery.single { grid-template-rows: 1fr; }
.build-gallery button { position: relative; display: block; padding: 0; overflow: hidden; color: white; background: #111; border: 0; cursor: pointer; }
.build-gallery-main { min-height: 420px; }
.build-gallery-main > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform .3s,filter .3s; }
.build-gallery-main > span { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; color: white; background: rgba(10,11,9,.82); border-radius: 8px; font-size: 10px; font-weight: 850; backdrop-filter: blur(8px); }
.build-gallery-main > span svg { width: 15px; }
.build-gallery-main:hover > img,.build-gallery-main:focus-visible > img { transform: scale(1.025); filter: brightness(.88); }
.build-gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.build-gallery-thumbs button { height: 105px; }
.build-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s,filter .25s; }
.build-gallery-thumbs button:hover img,.build-gallery-thumbs button:focus-visible img { transform: scale(1.05); filter: brightness(.78); }
.build-card-body { padding: 30px; }
.build-owner { display: flex; align-items: center; gap: 10px; }
.build-owner > span { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--dark); border-radius: 50%; font-size: 10px; font-weight: 900; }
.build-owner small,.build-owner strong { display: block; }
.build-owner small { color: var(--muted); font-size: 9px; }
.build-owner strong { margin-top: 2px; font-size: 11px; }
.build-card-body > h2 { margin: 23px 0 8px; font-size: 32px; line-height: 1; letter-spacing: -.05em; }
.build-card-body > p { color: var(--muted); font-size: 11px; line-height: 1.65; }
.build-wheel-spec { display: flex; gap: 12px; margin: 22px 0; padding: 15px; background: var(--paper); border-radius: 11px; }
.build-wheel-spec > svg { width: 24px; color: var(--accent); flex: 0 0 auto; }
.build-wheel-spec small,.build-wheel-spec strong,.build-wheel-spec b,.build-wheel-spec em { display: block; }
.build-wheel-spec small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.build-wheel-spec strong { margin: 2px 0; }
.build-wheel-spec b,.build-wheel-spec em { color: #686a64; font-size: 9px; font-style: normal; }
.build-details { margin-bottom: 22px; border-block: 1px solid var(--line); }
.build-details summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; cursor: pointer; font-size: 10px; font-weight: 850; }
.build-details summary svg { width: 15px; }
.build-details > div { padding-bottom: 10px; }
.build-details section { padding: 9px 0; }
.build-details section strong { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.build-details section p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.build-card-body > footer { display: flex; gap: 8px; }
.build-card-body > footer .button { flex: 1; }
.build-form-section { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.build-form-section > div:first-child span,.build-form-section > div:first-child strong { display: block; }
.build-form-section > div:first-child span { color: var(--accent); font-size: 10px; font-weight: 900; }
.build-form-section > div:first-child strong { margin-top: 6px; }
.build-mod-grid .textarea { min-height: 95px; }
.build-photo-picker { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 5px; color: var(--muted); border: 2px dashed #c8cac2; border-radius: 13px; cursor: pointer; text-align: center; }
.build-photo-picker svg { width: 27px; color: var(--accent); }
.build-photo-picker strong { color: var(--ink); }
.build-photo-picker small { font-size: 9px; }
.build-image-preview { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-top: 10px; }
.build-image-preview figure { position: relative; margin: 0; }
.build-image-preview img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.build-image-preview span { position: absolute; right: 5px; bottom: 5px; width: 20px; height: 20px; display: grid; place-items: center; color: white; background: rgba(0,0,0,.7); border-radius: 50%; font-size: 8px; font-weight: 900; }
.compose-safety, .forum-compose-safety { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px; color: #72511a; background: #fff7df; border-radius: 9px; font-size: 10px; }

/* Footer */
.site-footer { background: var(--dark); color: white; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 35px; }
.footer-brand p { color: #969890; max-width: 360px; font-size: 14px; margin-top: 18px; }
.footer-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #6e7069; margin: 0 0 16px; }
.footer-col a { display: block; color: #c7c8c2; font-size: 13px; margin-bottom: 10px; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #2d2e29; color: #73756e; font-size: 11px; }

/* Modals & toast */
.modal-layer { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(6,7,6,.78); backdrop-filter: blur(8px); animation: fade .18s ease; }
.modal { width: min(100%, 520px); max-height: calc(100vh - 40px); overflow: auto; background: white; border-radius: 18px; box-shadow: var(--shadow-heavy); animation: slideup .22s ease; }
.modal-wide { width: min(100%, 1100px); }
.modal-header { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.modal-body { padding: 24px; }
.modal-close { background: var(--paper); border: 0; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.modal-gallery-image { width: 100%; max-height: 75vh; object-fit: contain; background: #111; }
.build-lightbox-layer { padding: 0; }
.build-lightbox { width: min(100%,1280px); max-height: 100vh; overflow: hidden; color: white; background: #0c0d0b; border: 1px solid #34362f; }
.build-lightbox-header { min-height: 76px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; padding: 13px 18px 13px 24px; border-bottom: 1px solid #31332d; }
.build-lightbox-header small { display: block; color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.build-lightbox-header h2 { margin: 3px 0 0; overflow: hidden; font-size: 20px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.build-lightbox-header > strong { min-width: 52px; color: #c6c8c0; font-size: 12px; text-align: center; }
.build-lightbox .modal-close { color: white; background: #292b26; }
.build-lightbox-stage { position: relative; height: min(70vh,760px); min-height: 390px; display: grid; place-items: center; overflow: hidden; padding: 14px; background: #080908; touch-action: pan-y; user-select: none; }
.build-lightbox-stage > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
@media (min-width: 681px) {
  .build-lightbox-stage > img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-width: none; max-height: none; }
}
.build-lightbox-arrow { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; transform: translateY(-50%); color: white; background: rgba(20,21,18,.82); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; backdrop-filter: blur(7px); cursor: pointer; }
.build-lightbox-arrow:hover,.build-lightbox-arrow:focus-visible { background: var(--accent); outline: none; }
.build-lightbox-arrow.previous { left: 18px; }
.build-lightbox-arrow.next { right: 18px; }
.build-lightbox-arrow svg { width: 20px; }
.build-swipe-hint { position: absolute; z-index: 2; bottom: 13px; left: 50%; padding: 7px 10px; transform: translateX(-50%); color: #d1d2cc; background: rgba(15,16,14,.78); border-radius: 99px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.build-lightbox-thumbs { height: 92px; display: flex; justify-content: center; gap: 7px; padding: 10px 16px; overflow-x: auto; background: #151613; border-top: 1px solid #31332d; }
.build-lightbox-thumbs button { flex: 0 0 96px; padding: 0; overflow: hidden; background: #222; border: 2px solid transparent; border-radius: 7px; opacity: .58; cursor: pointer; }
.build-lightbox-thumbs button.active { border-color: var(--accent); opacity: 1; }
.build-lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.login-social { display: grid; gap: 9px; margin-bottom: 22px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.toast-region { position: fixed; z-index: 900; bottom: 24px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(calc(100% - 30px), 420px); pointer-events: none; }
.toast { background: #111210; color: white; border: 1px solid #33342f; box-shadow: var(--shadow-heavy); border-radius: 11px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; animation: toastin .24s ease; }
.toast svg { color: var(--accent-2); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideup { from { transform: translateY(16px); opacity: 0; } }
@keyframes toastin { from { transform: translateY(14px); opacity: 0; } }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav .nav-link:nth-child(3), .main-nav .nav-link:nth-child(4) { display: none; }
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-inner { grid-template-columns: repeat(4, 1fr); }
  .fitment-finder { grid-template-columns: 1fr; gap: 24px; }
  .vehicle-form { grid-template-columns: repeat(3,1fr); }
  .vehicle-form .button { grid-column: 1/-1; }
  .parts-layout { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.6fr repeat(2,1fr); }
  .fitment-metrics { grid-template-columns: repeat(2,1fr); }
  .forum-layout, .thread-layout { grid-template-columns: minmax(0,1fr) 285px; }
  .brand-upload-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 68px 0; }
  .main-nav, .header-actions .lang-button, .header-actions .header-icon, .header-actions .profile-avatar, .header-actions .button { display: none; }
  .header-inner { height: 66px; }
  .logo { margin-right: auto; }
  .mobile-menu-button { display: block; }
  .header-quick-auth { width: 38px; height: 38px; flex-basis: 38px; }
  body.mobile-nav-open { overflow: hidden; }
  .site-header.mobile-open .main-nav { display: grid; align-content: start; position: fixed; top: 66px; left: 0; right: 0; height: calc(100dvh - 66px); padding: 18px 16px 30px; overflow-y: auto; background: rgba(17,18,16,.99); border-top: 1px solid #2d2e29; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
  .site-header.mobile-open .main-nav .nav-link { display: block; padding: 8px; font-size: 16px; }
  .site-header.mobile-open .mobile-create { display: flex; min-height: 48px; margin-top: 10px; justify-content: center; border-radius: 12px; }
  .site-header.mobile-open .mobile-account-action { color: var(--ink); background: white; border-color: white; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
  .site-header.mobile-open .mobile-account-action:hover { color: var(--ink); background: #f4f4ef; border-color: #f4f4ef; }
  .site-header.mobile-open .mobile-language-options { display: flex; gap: 7px; overflow-x: auto; padding: 11px 7px 2px; }
  .mobile-language-options button { flex: 0 0 39px; height: 36px; display: grid; place-items: center; color: white; background: #282a26; border: 1px solid #42443e; border-radius: 9px; font-size: 20px; }
  .mobile-language-options button.active { border-color: var(--accent); background: #3c2a23; }
  .hero { min-height: 660px; }
  .hero::before { background: linear-gradient(90deg, rgba(6,7,6,.92), rgba(6,7,6,.68)), url('/assets/images/hero.webp') 62% center/cover; }
  .hero-content { padding: 72px 0 112px; }
  .hero h1 { font-size: clamp(52px, 11vw, 78px); }
  .section-head { align-items: start; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-callout { grid-template-columns: 90px 1fr; }
  .instagram-callout > img { width: 90px; height: 90px; }
  .instagram-callout > .button { grid-column: 1/-1; }
  .browse-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; position: fixed; inset: 0 0 0 auto; z-index: 400; width: min(90vw, 370px); border: 0; border-radius: 0; overflow: auto; }
  .filter-panel.mobile-visible { display: block; }
  .filter-header .mobile-filter-button { display: grid; }
  .filter-backdrop { position: fixed; inset: 0; z-index: 399; background: rgba(0,0,0,.55); }
  .mobile-filter-button { display: inline-flex; }
  .gallery { grid-template-rows: repeat(2, 180px); }
  .listing-detail-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .wizard-shell { grid-template-columns: 1fr; }
  .wizard-progress { position: static; display: flex; overflow: auto; gap: 18px; align-items: center; padding: 15px; }
  .wizard-progress h2 { display: none; }
  .progress-step { flex: 0 0 auto; grid-template-columns: 29px auto; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-nav { position: static; display: flex; overflow: auto; }
  .dashboard-user { display: none; }
  .dashboard-link { flex: 0 0 auto; }
  .auth-shell { grid-template-columns: 1fr; margin-block: 24px; }
  .auth-story { min-height: 420px; padding: 38px; }
  .auth-eyebrow { margin-top: 42px; }
  .auth-points { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .auth-points > div { display: block; }
  .auth-points svg { margin-bottom: 7px; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1/-1; }
  .fitment-hero .container, .forum-hero .container { min-height: 290px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .fitment-workspace { grid-template-columns: 1fr; }
  .fitment-controls, .forum-sidebar { position: static; }
  .forum-layout, .thread-layout { grid-template-columns: 1fr; }
  .forum-sidebar { grid-template-columns: repeat(2,1fr); }
  .forum-sidebar .ad-shell { grid-column: 1/-1; }
  .build-program .container { grid-template-columns: 1fr; gap: 35px; }
  .community-build-card { grid-template-columns: 1fr; }
  .build-gallery { min-height: 460px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
  .plan-card { min-height: auto; }
  .storefront-nav { top: 66px; }
  .storefront-about { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 54px 0; }
  .header-inner { gap: 12px; }
  .logo { font-size: 19px; }
  .hero { min-height: 660px; align-items: end; }
  .hero::before { background: linear-gradient(180deg, rgba(7,8,7,.15) 0%, rgba(7,8,7,.55) 35%, rgba(7,8,7,.98) 78%), url('/assets/images/hero.webp') 67% top/auto 56% no-repeat; }
  .hero-content { padding: 235px 0 86px; }
  .hero-badge { margin-bottom: 15px; }
  .hero h1 { font-size: 50px; max-width: 460px; }
  .hero-copy { font-size: 15px; margin: 17px 0 22px; }
  .hero-search { display: grid; grid-template-columns: 1fr auto; }
  .hero-search .button span { display: none; }
  .hero-actions { display: none; }
  .hero-statline { gap: 12px; margin-top: 16px; }
  .quick-strip { margin-top: -35px; }
  .quick-inner { display: flex; overflow-x: auto; padding: 10px; border-radius: 13px; scrollbar-width: none; }
  .quick-item { flex: 0 0 105px; }
  .fitment-finder { padding: 24px 18px; gap: 22px; }
  .fitment-intro h2 { font-size: 30px; }
  .vehicle-form { grid-template-columns: 1fr; }
  .vehicle-form .button, .fitment-disclaimer { grid-column: auto; }
  .section-title { font-size: 38px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head .carousel-arrows, .section-head > .button { display: none; }
  .listing-track { grid-auto-columns: minmax(270px, 84vw); margin-right: -12px; }
  .brand-grid { display: flex; overflow-x: auto; margin-right: -12px; scrollbar-width: none; }
  .brand-tile { flex: 0 0 125px; min-height: 105px; }
  .style-grid { display: flex; overflow-x: auto; margin-right: -12px; scrollbar-width: none; }
  .style-card { flex: 0 0 72vw; }
  .parts-feature { min-height: 300px; }
  .parts-grid { grid-template-columns: repeat(2, 1fr); }
  .part-category-card { min-height: 255px; }
  .trust-grid { grid-template-columns: 1fr; }
  .process-head { display: block; }
  .process-head .section-copy { margin-top: 12px; }
  .process-grid { display: flex; overflow-x: auto; margin-right: -12px; scrollbar-width: none; }
  .process-card { flex: 0 0 74vw; }
  .instagram-callout { grid-template-columns: 68px 1fr; padding: 22px 18px; gap: 15px; }
  .instagram-callout > img { width: 68px; height: 68px; }
  .instagram-callout h2 { font-size: 28px; }
  .instagram-callout p { font-size: 12px; }
  .sell-cta { width: calc(100% - 24px); padding: 30px 24px; min-height: 400px; margin-bottom: 54px; background-position: 62% 10%; background-size: auto 75%; align-items: end; }
  .sell-cta::after { background: linear-gradient(0deg, rgba(17,18,16,1) 0%, rgba(17,18,16,.88) 48%, rgba(17,18,16,.1) 100%); }
  .sell-cta h2 { font-size: 44px; }
  .page-hero { padding: 45px 0 33px; }
  .page-hero-row { display: block; }
  .browse-search { margin-top: 20px; }
  .browse-layout { padding-top: 25px; }
  .results { min-width: 0; }
  .active-filters { max-width: 100%; overflow-x: auto; }
  .results-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-actions { width: 100%; flex-wrap: wrap; }
  .toolbar-actions .select { flex: 1 1 130px; min-width: 0; width: auto; }
  .view-toggle { display: none; }
  .results-grid { min-width: 0; grid-template-columns: minmax(0,1fr); }
  .results-grid .listing-card { width: 100%; min-width: 0; display: grid; grid-template-columns: 42% minmax(0,1fr); min-height: 178px; }
  .results-grid .listing-image-wrap { aspect-ratio: auto; }
  .results-grid .listing-body { padding: 13px; display: flex; flex-direction: column; justify-content: center; }
  .results-grid .listing-title { font-size: 17px; }
  .results-grid .listing-price { font-size: 18px; margin: 8px 0 6px; }
  .results-grid .listing-meta { display: block; padding-top: 7px; }
  .results-grid .listing-meta span:last-child { display: none; }
  .results-grid .badge { font-size: 8px; min-height: 24px; padding: 0 6px; }
  .fitment-hero .container, .forum-hero .container { padding-block: 48px; }
  .fitment-hero h1, .forum-hero h1 { font-size: 46px; }
  .fitment-hero p, .forum-hero p { font-size: 14px; }
  .fitment-hero-badge { font-size: 9px; }
  .fitment-input-grid { grid-template-columns: 1fr; }
  #fitment-visual { padding: 10px; }
  .fitment-stage { height: 390px; }
  .fitment-fender { left: calc(50% + 75px); }
  .fitment-strut { right: calc(50% + 68px); }
  .fitment-measure.outer { left: calc(50% + 72px); }
  .fitment-measure.inner { right: calc(50% + 72px); }
  .fitment-metrics { grid-template-columns: 1fr 1fr; }
  .fitment-result-head { grid-template-columns: 1fr; }
  .fitment-actions { display: grid; }
  .forum-thread { grid-template-columns: auto 1fr; padding: 15px; }
  .forum-thread-stats { grid-column: 2; grid-template-columns: auto auto 1fr; align-items: center; text-align: left; }
  .forum-thread-stats span { display: inline-flex; gap: 4px; align-items: baseline; }
  .forum-thread-stats strong { font-size: 11px; }
  .forum-thread-stats small { grid-column: auto; text-align: right; }
  .forum-sidebar { grid-template-columns: 1fr; }
  .thread-title { display: block; }
  .thread-title .button { margin-top: 14px; }
  .thread-post { grid-template-columns: 1fr; }
  .thread-post > aside { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .thread-post > aside .forum-thread-avatar { width: 38px; height: 38px; }
  .thread-post > aside strong { margin: 0; }
  .thread-spec-card { align-items: flex-start; flex-direction: column; }
  .thread-spec-card a { margin-left: 0; }
  .forum-reply > div:last-child, .forum-login-gate { align-items: stretch; flex-direction: column; }
  .build-winner-hero { min-height: 620px; background-position: 62% center; }
  .build-winner-hero .container { padding-block: 70px 48px; }
  .build-winner-hero h1 { font-size: 51px; }
  .build-back { margin-bottom: 120px; }
  .build-program h2 { font-size: 32px; }
  .build-program-steps { grid-template-columns: 1fr; }
  .build-gallery { min-height: 360px; grid-template-rows: 280px 80px; }
  .build-gallery.single { grid-template-rows: 360px; }
  .build-gallery-main,.build-gallery-main > img { min-height: 280px; }
  .build-gallery-thumbs button { height: 80px; }
  .build-lightbox { max-height: 100vh; border-radius: 0; }
  .build-lightbox-stage { height: calc(100vh - 148px); min-height: 280px; }
  .build-lightbox-thumbs { height: 72px; }
  .build-lightbox-thumbs button { flex-basis: 76px; }
  .build-lightbox-arrow { width: 42px; height: 42px; }
  .build-lightbox-arrow.previous { left: 9px; }
  .build-lightbox-arrow.next { right: 9px; }
  .build-swipe-hint { bottom: 9px; }
  .build-card-body { padding: 22px 17px; }
  .build-card-body > h2 { font-size: 28px; }
  .build-card-body > footer { display: grid; }
  .build-form-section { grid-template-columns: 1fr; }
  .build-image-preview { grid-template-columns: repeat(3,1fr); }
  .forum-login-gate .button { width: 100%; }
  .membership-current { grid-template-columns: auto 1fr; }
  .membership-current > .status { grid-column: 2; width: max-content; }
  .membership-upgrade { align-items: stretch; flex-direction: column; }
  .profile-photo-panel { grid-template-columns: 1fr; text-align: center; }
  .profile-photo-preview { margin-inline: auto; }
  .brand-upload { grid-template-columns: 60px 1fr; }
  .brand-upload.banner { grid-template-columns: 90px 1fr; }
  .brand-upload > span { width: 60px; height: 60px; }
  .brand-upload.banner > span { width: 90px; }
  .storefront-banner { min-height: 520px; }
  .storefront-banner-content { grid-template-columns: 1fr; align-items: end; padding-bottom: 35px; }
  .storefront-logo { width: 92px; height: 92px; border-radius: 16px; }
  .storefront-actions { align-items: stretch; flex-direction: column; }
  .storefront-nav .container { gap: 18px; overflow-x: auto; }
  .storefront-nav span { display: none; }
  .storefront-rating { margin-top: 16px; text-align: left; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 330px; border-radius: 13px; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item:not(:first-child) { display: none; }
  .listing-detail-layout { margin-top: 25px; }
  .listing-detail-title { font-size: 43px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-sidebar { display: flex; flex-direction: column; }
  .purchase-card { order: -1; }
  .listing-page { padding-bottom: 55px; }
  .profile-card { display: block; padding: 20px; }
  .profile-main { align-items: flex-end; }
  .profile-main .seller-avatar { width: 76px; height: 76px; }
  .profile-main h1 { font-size: 23px; }
  .profile-stats { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); justify-content: space-between; gap: 10px; }
  .wizard-page { padding-top: 0; }
  .wizard-shell { width: 100%; }
  .wizard-progress { border-radius: 0; }
  .progress-step span:last-child { display: none; }
  .wizard-card { border-radius: 0; border-left: 0; border-right: 0; padding: 25px 18px; min-height: calc(100vh - 190px); }
  .wizard-card h1 { font-size: 29px; }
  .choice-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full, .stagger-toggle { grid-column: auto; }
  .wizard-footer { align-items: end; }
  .save-note { display: none; }
  .preview-mini { grid-template-columns: 1fr; }
  .submission-safety { grid-template-columns: auto 1fr; }
  .submission-safety .status { grid-column: 2; width: max-content; }
  .dashboard-shell { padding-top: 23px; }
  .dashboard-content h1 { font-size: 35px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .account-page-head { align-items: flex-start; flex-direction: column; }
  .account-page-head .button { width: 100%; }
  .account-shortcuts { grid-template-columns: 1fr; }
  .account-listing-row { grid-template-columns: 90px 1fr; gap: 12px; }
  .account-listing-row > img { width: 90px; height: 82px; }
  .account-listing-actions { grid-column: 1/-1; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--line); }
  .offer-row { grid-template-columns: auto 1fr; }
  .offer-amount { justify-items: start; grid-column: 2; }
  .offer-actions { grid-column: 1/-1; justify-content: flex-end; }
  .moderator-row { grid-template-columns: auto 1fr auto; }
  .moderator-row > .button { grid-column: 2/-1; width: 100%; }
  .security-row { align-items: flex-start; flex-direction: column; }
  .security-row > .button { width: 100%; }
  .table th:nth-child(3), .table td:nth-child(3), .table th:nth-child(4), .table td:nth-child(4) { display: none; }
  .table td { padding: 11px; }
  .auth-page { min-height: calc(100vh - 66px); }
  .auth-shell { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .auth-story { min-height: 350px; padding: 28px 22px; }
  .auth-story h1 { font-size: 46px; }
  .auth-story > div > p { font-size: 14px; }
  .auth-points { display: none; }
  .auth-panel { padding: 34px 20px 52px; }
  .auth-panel h2 { font-size: 34px; }
  .auth-tabs { margin-bottom: 30px; }
  .access-page { min-height: calc(100vh - 66px); padding: 32px 12px; }
  .access-card { padding: 36px 20px; }
  .access-card .action-row { flex-direction: column; }
  .access-card .action-row .button { width: 100%; }
  .verification-banner.dashboard-verification { align-items: flex-start; flex-wrap: wrap; }
  .review-grid { grid-template-columns: 1fr; }
  .messages-shell { grid-template-columns: 1fr; height: calc(100vh - 66px); }
  .conversation-list { display: none; }
  .chat-header, .chat-compose { padding-inline: 13px; }
  .listing-context { padding-inline: 13px; }
  .listing-context-row { grid-template-columns: 1fr; }
  .review-eligibility { display: none; }
  .chat-header-actions .button { width: 42px; padding: 0; overflow: hidden; color: transparent; gap: 0; }
  .chat-header-actions .button svg { color: white; }
  .chat-messages { padding: 16px 13px; }
  .message-bubble { max-width: 86%; }
  .admin-alert-grid { grid-template-columns: 1fr; }
  .moderation-system-head { padding: 20px; }
  .moderation-capabilities { grid-template-columns: 1fr 1fr; }
  .moderation-capabilities > div:nth-child(2) { border-right: 0; }
  .moderation-capabilities > div:nth-child(-n+2) { border-bottom: 1px solid #353a32; }
  .moderation-table th:nth-child(3), .moderation-table td:nth-child(3), .moderation-table th:nth-child(4), .moderation-table td:nth-child(4) { display: table-cell; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-bottom { display: block; }
  .feedback-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .feedback-type-grid { grid-template-columns: 1fr; }
  .feedback-type-grid label > span { min-height: 88px; }
  .alert-row { grid-template-columns: 50px 1fr; }
  .alert-row .compact-toggle { grid-column: auto; }
  .chat-header-actions .draft-translate { display: none; }
}

/* Usability pass: richer listing overlays, admin controls and specialist pages */
.listing-hover-details {
  inset: auto 12px 12px;
  align-content: end;
  padding: 12px 14px;
  background: rgba(17,18,16,.86);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
  transform: translateY(8px);
}
.listing-hover-details strong { font-size: 16px; line-height: 1.1; letter-spacing: -.025em; }
.listing-hover-details span { max-width: 100%; color: #e3e4de; font-size: 10px; font-weight: 700; line-height: 1.35; }
.listing-card:hover .listing-image, .listing-card:focus-within .listing-image { transform: scale(1.035); filter: saturate(.96) contrast(1.02); }

.upload-zone.has-photos { border-color: var(--success); background: #f0faf4; }
.upload-zone.has-photos .upload-icon { color: var(--success); }
.photo-requirement { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding: 13px 15px; color: #98402b; background: #fff0eb; border: 1px solid #f2c6b8; border-radius: 11px; }
.photo-requirement.complete { color: #176743; background: #eaf8ef; border-color: #b9e4c9; }
.photo-requirement svg { flex: 0 0 auto; }
.photo-requirement span, .photo-requirement strong { display: block; }
.photo-requirement span { font-size: 11px; }
.photo-requirement strong { margin-bottom: 2px; font-size: 12px; }

.parts-page-hero, .recommendations-hero { color: white; background: radial-gradient(circle at 82% 25%,rgba(245,102,59,.2),transparent 32%),linear-gradient(135deg,#10110f,#262923); }
.parts-page-hero .container, .recommendations-hero .container { min-height: 360px; display: flex; align-items: center; justify-content: space-between; gap: 38px; padding-block: 70px; }
.parts-page-hero h1, .recommendations-hero h1 { max-width: 820px; margin: 0; font-size: clamp(48px,6vw,86px); line-height: .92; letter-spacing: -.065em; }
.parts-page-hero p, .recommendations-hero p { max-width: 700px; margin: 20px 0 0; color: #bfc1ba; font-size: 17px; }
.parts-category-section { position: sticky; z-index: 40; top: 74px; padding-block: 14px; background: rgba(245,245,241,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.parts-page-categories { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.parts-category-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 0 13px; color: #555850; background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 850; }
.parts-category-pill.active { color: white; background: var(--dark); border-color: var(--dark); }
.parts-category-pill svg { width: 15px; }
.parts-marketplace-section { background: var(--paper); }
.parts-buying-guide { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 34px; }
.parts-buying-guide > div { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.parts-buying-guide svg { color: var(--accent); }
.parts-buying-guide span, .parts-buying-guide strong { display: block; }
.parts-buying-guide span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.parts-buying-guide strong { margin-bottom: 4px; color: var(--ink); font-size: 13px; }

.recommendations-section { background: #efefea; }
.affiliate-intro { display: flex; align-items: center; gap: 13px; max-width: 900px; margin: 0 auto 26px; padding: 15px 18px; color: #4f514b; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; line-height: 1.5; }
.affiliate-intro svg { flex: 0 0 auto; color: var(--accent); }
.affiliate-intro strong { display: block; color: var(--ink); font-size: 12px; }
.recommended-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.recommended-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; transition: transform .22s ease,box-shadow .22s ease; }
.recommended-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.recommended-image { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #dadbd5; }
.recommended-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.recommended-card:hover .recommended-image img { transform: scale(1.045); }
.recommended-image > span { position: absolute; left: 13px; bottom: 13px; padding: 6px 9px; color: white; background: rgba(10,11,9,.88); border-radius: 7px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.recommended-body { padding: 20px; }
.recommended-category { color: var(--accent); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.recommended-body h2 { margin: 7px 0 9px; font-size: 23px; line-height: 1.05; letter-spacing: -.04em; }
.recommended-body p { min-height: 67px; margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.recommended-body > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recommended-body > div:last-child > strong { font-size: 13px; }
.affiliate-disclosure { max-width: 900px; margin: 34px auto 0; color: #73766e; font-size: 11px; line-height: 1.55; text-align: center; }
.recommendation-tabs { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.recommendation-tabs button { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 0 14px; color: #666960; background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 850; }
.recommendation-tabs button span { min-width: 20px; padding: 3px 6px; color: #85877f; background: var(--paper); border-radius: 999px; font-size: 9px; }
.recommendation-tabs button.active { color: white; background: var(--dark); border-color: var(--dark); }
.recommendation-tabs button.active span { color: var(--dark); background: var(--accent-2); }
.affiliate-editor { padding: 0; overflow: hidden; }
.affiliate-editor-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; padding: 22px; }
.affiliate-image-upload { display: grid; align-content: start; gap: 7px; cursor: pointer; }
.affiliate-image-upload > span { width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; color: var(--accent); background: var(--paper) center/cover no-repeat; border: 2px dashed #c7c9c1; border-radius: 12px; }
.affiliate-image-upload > span svg { width: 32px; height: 32px; }
.affiliate-image-upload strong { font-size: 12px; }
.affiliate-image-upload small, .optional-label { color: var(--muted); font-size: 9px; font-weight: 600; }
.affiliate-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 22px; background: var(--paper); border-top: 1px solid var(--line); }
.affiliate-editor-footer > span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.affiliate-manager-list { margin-top: 18px; overflow: hidden; }
.affiliate-manager-row { display: grid; grid-template-columns: 76px minmax(0,1fr) auto auto auto; align-items: center; gap: 13px; padding: 13px 18px; border-top: 1px solid var(--line); }
.affiliate-manager-row > img { width: 76px; height: 58px; object-fit: cover; border-radius: 8px; }
.affiliate-manager-row > div { display: grid; gap: 2px; }
.affiliate-manager-row > div span { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.affiliate-manager-row > div small { color: var(--muted); font-size: 10px; }
.affiliate-manager-row > a { color: var(--muted); }

.fitment-visual-explainer { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.fitment-visual-explainer > span { display: grid; grid-template-columns: 27px 1fr; padding: 10px; background: #1c1e1a; border: 1px solid #343730; border-radius: 9px; }
.fitment-visual-explainer b { grid-row: 1/3; width: 23px; height: 23px; display: grid; place-items: center; color: #111; background: var(--accent); border-radius: 50%; font-size: 10px; }
.fitment-visual-explainer small { color: #8e9289; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.fitment-visual-explainer strong { font-size: 10px; }
.fitment-side-label { position: absolute; z-index: 7; top: 50%; padding: 5px 8px; color: #8f938a; background: rgba(10,11,9,.74); border-radius: 5px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; writing-mode: vertical-rl; }
.fitment-side-label.suspension { left: 10px; }
.fitment-side-label.fender { right: 10px; }
.fitment-oem-wheel { position: absolute; z-index: 3; left: calc(50% - 66px); top: 97px; width: 132px; height: 278px; border: 3px dashed rgba(210,214,205,.5); border-radius: 30px; }
.fitment-oem-wheel > div { position: absolute; inset: 15% 9%; border: 2px dashed rgba(210,214,205,.42); border-radius: 17px; }
.fitment-wheel { filter: drop-shadow(0 0 12px rgba(245,102,59,.2)); }
.fitment-rim { color: #fff3ed; background: linear-gradient(90deg,#79452f,#f28a5f 52%,#713922); border-color: #ffb28f; }
.legend-oem { background: #979b91; }
.legend-current { background: var(--accent); }
.fitment-plain-language { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fitment-plain-language > div { display: grid; grid-template-columns: auto 1fr; gap: 9px; padding: 12px; background: var(--paper); border-radius: 9px; }
.plain-dot { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; }
.plain-dot.outer { background: var(--accent); }
.plain-dot.inner { background: #6871d9; }
.fitment-plain-language p, .fitment-plain-language strong { display: block; margin: 0; }
.fitment-plain-language p { color: var(--muted); font-size: 10px; line-height: 1.45; }
.fitment-plain-language strong { margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.fitment-oem-note { display: flex; align-items: flex-start; gap: 9px; }
.fitment-oem-note svg { flex: 0 0 auto; width: 15px; color: var(--accent); }

/* Easy fitment checker */
.easy-fitment-hero h1 { max-width: 760px; }
.easy-fitment-workspace { grid-template-columns: minmax(330px,430px) minmax(0,1fr); }
.easy-step h3 { align-items: flex-start; }
.easy-step h3 > b { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; color: var(--dark); background: var(--accent-2); border-radius: 50%; font-size: 12px; }
.easy-step h3 > span { display: grid; gap: 2px; font-size: 15px; }
.easy-step h3 small { color: var(--muted); font-size: 10px; font-weight: 600; }
.easy-visual-panel .panel-head h2 { max-width: 470px; }
.easy-fitment-key { display: flex; gap: 20px; margin-bottom: 14px; color: #a9ada4; font-size: 10px; }
.easy-fitment-key span { display: inline-flex; align-items: center; gap: 6px; }
.easy-fitment-key i { width: 22px; height: 10px; display: inline-block; border-radius: 3px; }
.easy-fitment-key i.factory { border: 2px dashed #a8ada3; }
.easy-fitment-key i.new { background: var(--accent); }
.easy-fitment-stage { position: relative; height: 390px; overflow: hidden; background: linear-gradient(180deg,#242620,#121310); border: 1px solid #363932; border-radius: 14px; }
.easy-fitment-stage::before { content: ''; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size: 32px 32px; }
.easy-fitment-stage header { position: absolute; z-index: 5; left: 22px; top: 19px; display: grid; }
.easy-fitment-stage header span { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.easy-fitment-stage header strong { font-size: 25px; letter-spacing: -.04em; }
.easy-fitment-stage header small { color: #858980; }
.easy-road { position: absolute; left: 50%; top: 102px; width: 270px; height: 175px; transform: translateX(-50%); }
.easy-road::before { content: ''; position: absolute; left: 50%; top: 50%; width: 330px; height: 4px; background: #777b72; transform: translate(-50%,-50%); border-radius: 10px; }
.easy-factory-wheel, .easy-new-wheel { position: absolute; left: 50%; top: 50%; height: 150px; transform: translate(-50%,-50%); border-radius: 24px; }
.easy-factory-wheel { z-index: 2; width: 132px; border: 3px dashed #9ba097; }
.easy-new-wheel { z-index: 3; width: var(--easy-width); display: grid; place-items: center; color: white; background: linear-gradient(90deg,#9f3d1d,#f5663b 35%,#ff9168 50%,#f5663b 65%,#963716); transform: translate(calc(-50% + var(--easy-shift)),-50%); box-shadow: 0 18px 35px rgba(0,0,0,.35); transition: width .3s ease,transform .3s ease; }
.easy-factory-wheel span, .easy-new-wheel span { position: absolute; left: 50%; bottom: -29px; color: #aeb2a9; font-size: 9px; font-weight: 850; white-space: nowrap; transform: translateX(-50%); }
.easy-factory-wheel span { top: -27px; bottom: auto; }
.easy-new-wheel span { color: #ff9b76; }
.easy-new-wheel svg { width: 64px; height: 64px; opacity: .86; }
.easy-limit { position: absolute; z-index: 4; top: 92px; bottom: 92px; width: 11px; background: #72766d; border-radius: 8px; }
.easy-limit.inside { left: 8%; }
.easy-limit.outside { right: 8%; }
.easy-limit span, .easy-limit small { position: absolute; display: block; width: 120px; color: #b6bab0; font-size: 9px; font-weight: 850; text-align: center; }
.easy-limit span { top: -25px; }
.easy-limit small { bottom: -23px; color: #767a72; font-weight: 600; }
.easy-limit.inside span, .easy-limit.inside small { left: -53px; }
.easy-limit.outside span, .easy-limit.outside small { right: -53px; }
.easy-direction { position: absolute; z-index: 6; bottom: 23px; display: flex; align-items: center; gap: 8px; color: #a5a99f; font-size: 9px; }
.easy-direction b { color: var(--accent); font-size: 25px; }
.easy-direction.inside { left: 16%; }
.easy-direction.outside { right: 16%; }
.easy-fitment-caption { margin: 13px 3px 0; color: #93978e; font-size: 10px; line-height: 1.5; }
.fitment-optional { margin: 0 20px 20px; padding: 0 15px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.fitment-optional summary { padding: 14px 0; color: #9c3c1b; font-size: 11px; font-weight: 850; cursor: pointer; }
.fitment-optional > p { margin: -5px 0 12px; color: var(--muted); font-size: 9px; }
.super-fitment-side { position: absolute; z-index: 5; top: 50%; padding: 7px 9px; color: #aeb2a9; background: rgba(11,12,10,.8); border-radius: 7px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; transform: translateY(-50%); }
.super-fitment-side.inside { left: 14px; }
.super-fitment-side.outside { right: 14px; }
.super-fitment-movement { position: absolute; z-index: 7; left: 50%; bottom: 22px; width: max-content; max-width: calc(100% - 36px); padding: 10px 13px; color: #d9ddd4; background: #2b2d28; border: 1px solid #3e413a; border-radius: 999px; font-size: 10px; font-weight: 800; text-align: center; transform: translateX(-50%); }
.super-fitment-movement.good { color: #bde9cd; border-color: #365b45; }
.super-fitment-movement.check { color: #ffe0a2; border-color: #725a29; }
.super-fitment-movement.risk { color: #ffb3ae; border-color: #783b38; }
.super-fitment-checklist { display: grid; gap: 9px; padding: 20px 22px; }
.super-fitment-checklist h3 { margin: 0 0 3px; font-size: 15px; }
.super-fitment-checklist article { display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-items: center; padding: 12px; background: var(--paper); border-radius: 9px; }
.super-fitment-checklist article > b { width: 31px; height: 31px; display: grid; place-items: center; color: var(--dark); background: var(--accent-2); border-radius: 50%; }
.super-fitment-checklist strong, .super-fitment-checklist small { display: block; }
.super-fitment-checklist strong { font-size: 11px; }
.super-fitment-checklist small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.fitment-simple-numbers { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 0 20px 15px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 9px; }
.fitment-simple-numbers span { display: grid; gap: 4px; padding: 12px; color: var(--muted); background: white; font-size: 9px; }
.fitment-simple-numbers strong { color: var(--ink); font-size: 15px; }
.easy-fitment-results { padding: 0; overflow: hidden; }
.fitment-answer { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 22px; border-bottom: 1px solid var(--line); }
.fitment-answer > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; }
.fitment-answer.good > span { color: #176743; background: #dff4e8; }
.fitment-answer.check > span { color: #8e5d0a; background: #fff0cf; }
.fitment-answer.risk > span { color: #9d2521; background: #fee3e2; }
.fitment-answer small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.fitment-answer h2 { margin: 3px 0 5px; font-size: 24px; letter-spacing: -.04em; }
.fitment-answer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.fitment-answer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
.fitment-answer-grid article { min-width: 0; padding: 17px; background: white; }
.fitment-answer-grid article > span { min-height: 25px; display: block; color: var(--accent); font-size: 23px; }
.fitment-answer-grid article > span svg { width: 23px; }
.fitment-answer-grid small, .fitment-answer-grid strong { display: block; }
.fitment-answer-grid small { margin-top: 6px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.fitment-answer-grid strong { margin: 5px 0; font-size: 15px; }
.fitment-answer-grid p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.fitment-number-details { border-top: 1px solid var(--line); }
.fitment-number-details summary { padding: 15px 20px; color: #9c3c1b; font-size: 11px; font-weight: 850; cursor: pointer; }
.fitment-number-details .fitment-metrics { margin: 0 20px 16px; }
.fitment-number-details .fitment-oem-note { margin: 0 20px 20px; }

/* Reel-inspired live fitment visualizer */
.live-fitment-hero { background: radial-gradient(circle at 78% 42%,rgba(245,102,59,.28),transparent 27%),linear-gradient(120deg,#0c0d0b,#242620); }
.live-fitment-hero .fitment-hero-badge i { width: 8px; height: 8px; background: #73dc9c; border-radius: 50%; box-shadow: 0 0 0 5px rgba(115,220,156,.12); }
.live-fitment-workspace { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(340px,410px); gap: 22px; align-items: start; }
.fitment-live-controls { grid-column: 2; grid-row: 1; position: sticky; top: 92px; overflow: hidden; }
.live-fitment-output { grid-column: 1; grid-row: 1; min-width: 0; }
.live-vehicle-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.live-vehicle-picker .full { grid-column: 1/-1; }
.live-fitment-sliders { padding: 20px; }
.live-control-intro { display: grid; gap: 2px; margin-bottom: 9px; }
.live-control-intro > span { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.live-control-intro > strong { font-size: 19px; letter-spacing: -.035em; }
.live-control-intro > small { color: var(--muted); font-size: 10px; }
.live-fitment-control { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.live-fitment-control:last-child { border-bottom: 0; }
.live-fitment-control label, .live-fitment-control small { display: block; }
.live-fitment-control label { font-size: 12px; font-weight: 850; }
.live-fitment-control small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.live-fitment-control > strong { align-self: center; color: var(--accent); font-size: 17px; letter-spacing: -.03em; }
.live-slider-row { grid-column: 1/-1; display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; align-items: center; gap: 9px; margin-top: 8px; }
.live-slider-row button { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: #f4f4ef; border: 1px solid #d9dbd3; border-radius: 10px; font: 800 20px/1 inherit; cursor: pointer; transition: .18s ease; }
.live-slider-row button:hover { color: white; background: var(--accent); border-color: var(--accent); }
.live-slider-row input { width: 100%; height: 6px; accent-color: var(--accent); cursor: ew-resize; }
.live-tyre-options { margin-top: 0; }
.live-visual-panel { overflow: hidden; }
.live-visual-panel .panel-head h2 { font-size: 24px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; color: #b8ecca; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.live-pill i { width: 7px; height: 7px; background: #68d692; border-radius: 50%; box-shadow: 0 0 0 4px rgba(104,214,146,.12); }
.live-visual-panel #fitment-visual { padding: 14px; }
.live-fitment-stage { position: relative; height: 510px; overflow: hidden; isolation: isolate; background: #111 url('/assets/images/hero.webp') 72% center/cover no-repeat; border: 1px solid #34362f; border-radius: 15px; }
.live-fitment-stage::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 36%; background: linear-gradient(transparent,rgba(7,8,7,.88)); pointer-events: none; }
.live-stage-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,rgba(7,8,7,.86) 0,rgba(7,8,7,.32) 37%,transparent 68%),linear-gradient(180deg,rgba(7,8,7,.38),transparent 36%); pointer-events: none; }
.live-stage-heading { position: absolute; z-index: 6; left: 22px; top: 21px; display: grid; max-width: 270px; }
.live-stage-heading span { color: var(--accent-2); font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.live-stage-heading strong { font-size: clamp(21px,2.4vw,30px); letter-spacing: -.045em; }
.live-stage-heading small { color: #a2a69c; font-size: 9px; }
.live-spec-chip { position: absolute; z-index: 7; right: 18px; top: 18px; padding: 10px 13px; color: white; background: rgba(10,11,9,.78); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; backdrop-filter: blur(10px); font-size: 12px; font-weight: 900; }
.live-factory-wheel, .live-wheel-position { position: absolute; left: 77.6%; top: 61%; width: clamp(156px,19vw,214px); aspect-ratio: 1; border-radius: 50%; }
.live-factory-wheel { z-index: 2; border: 3px dashed rgba(255,255,255,.64); transform: translate(-50%,-50%); box-shadow: 0 0 0 5px rgba(14,15,13,.18); }
.live-factory-wheel span { position: absolute; left: 50%; top: -28px; padding: 5px 8px; color: #e4e5df; background: rgba(10,11,9,.7); border-radius: 99px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; transform: translateX(-50%); }
.live-wheel-position { z-index: 4; transform: translate(calc(-50% + var(--live-wheel-poke)),-50%) scale(var(--live-wheel-scale)); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.live-wheel-position > span { position: absolute; left: 50%; bottom: -30px; width: max-content; padding: 5px 8px; color: #fff; background: var(--accent); border-radius: 99px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; transform: translateX(-50%); }
.live-wheel { position: relative; width: 100%; height: 100%; filter: drop-shadow(calc(-1 * var(--live-wheel-depth)) 8px 8px rgba(0,0,0,.68)); }
.live-wheel::before { content: ''; position: absolute; z-index: -1; inset: 4%; background: #080908; border: 5px solid #242620; border-radius: 50%; transform: translateX(calc(-1 * var(--live-wheel-depth))); transition: transform .28s ease; }
.live-tyre { position: relative; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(circle at 38% 31%,#474943 0,#20211e 34%,#090a09 67%,#22231f 72%,#080908 76%); border: 3px solid #090a09; border-radius: 50%; box-shadow: inset 0 0 0 7px #181916,inset 0 0 22px #000,0 17px 28px rgba(0,0,0,.44); }
.live-tyre::after { content: ''; position: absolute; inset: 4px; border: 2px dashed rgba(255,255,255,.09); border-radius: 50%; }
.live-brake-disc { position: absolute; z-index: 1; inset: 23%; background: repeating-radial-gradient(circle,#9b9d96 0 2px,#676a63 3px 6px); border: 3px solid #b5b7b0; border-radius: 50%; box-shadow: inset 0 0 13px #363833; }
.live-brake-disc i { position: absolute; right: -9px; top: 21%; width: 20px; height: 48%; background: var(--accent); border-radius: 7px; box-shadow: inset 3px 0 0 rgba(255,255,255,.22); }
.live-rim { position: absolute; z-index: 2; inset: 15%; overflow: hidden; background: repeating-conic-gradient(from 4deg,#f1f2ed 0 5deg,#5b5e57 6deg 14deg,#161714 15deg 29deg); border: 6px solid #d4d6ce; border-radius: 50%; box-shadow: inset 0 0 0 5px #484b45,inset 0 0 18px #090a09,0 0 0 2px #6b6e66; }
.live-rim::before { content: ''; position: absolute; inset: 34%; background: #2a2c28; border: 4px solid #d7d9d2; border-radius: 50%; box-shadow: 0 0 0 7px rgba(12,13,11,.8); }
.live-rim i { position: absolute; z-index: 2; left: 50%; top: 50%; width: 11%; aspect-ratio: 1; background: var(--accent); border: 2px solid #ffd0bd; border-radius: 50%; transform: translate(-50%,-50%); }
.live-et-axis { position: absolute; z-index: 7; left: 21px; bottom: 20px; width: min(280px,43%); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; color: #aeb1a9; font-size: 8px; line-height: 1.35; }
.live-et-axis span:last-child { text-align: right; }
.live-et-axis b { color: white; font-size: 9px; }
.live-et-axis i { height: 2px; position: relative; background: linear-gradient(90deg,#72766e,var(--accent),#72766e); }
.live-et-axis i::before, .live-et-axis i::after { content: ''; position: absolute; top: -3px; width: 7px; height: 7px; border: solid #aeb1a9; transform: rotate(45deg); }
.live-et-axis i::before { left: 0; border-width: 0 0 1px 1px; }
.live-et-axis i::after { right: 0; border-width: 1px 1px 0 0; }
.live-position-readout { position: absolute; z-index: 7; right: 18px; bottom: 18px; display: grid; min-width: 190px; padding: 11px 13px; color: white; background: rgba(14,15,13,.84); border: 1px solid #484b44; border-radius: 11px; backdrop-filter: blur(10px); text-align: right; }
.live-position-readout small { color: #a7aaa2; font-size: 8px; }
.live-position-readout strong { margin-top: 2px; font-size: 14px; }
.live-position-readout.outside { border-color: #b95632; }
.live-position-readout.inside { border-color: #6973c7; }
.live-position-readout.same { border-color: #47785a; }
.live-change-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(125px,1fr)); gap: 1px; margin-top: 12px; overflow: hidden; background: #34362f; border: 1px solid #34362f; border-radius: 11px; }
.live-change-summary article { min-width: 0; display: grid; gap: 3px; padding: 13px; color: white; background: #1b1c19; }
.live-change-summary small { color: #91958c; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.live-change-summary strong { font-size: 15px; letter-spacing: -.03em; }
.live-change-summary span { color: #aeb1a9; font-size: 8px; line-height: 1.4; }
.live-change-summary article.check { box-shadow: inset 0 3px #dca33d; }
.live-change-summary article.risk { box-shadow: inset 0 3px #c9534d; }

@media (max-width: 1080px) {
  .live-fitment-workspace { grid-template-columns: minmax(0,1.35fr) minmax(320px,360px); }
  .live-fitment-stage { height: 460px; }
}
@media (max-width: 920px) {
  .live-fitment-workspace { display: flex; flex-direction: column; }
  .fitment-live-controls, .live-fitment-output { position: static; width: 100%; }
  .fitment-live-controls { order: 1; }
  .live-fitment-output { order: 2; }
  .live-fitment-stage { height: 440px; }
}
@media (max-width: 580px) {
  .live-vehicle-picker { grid-template-columns: 1fr; padding: 16px; }
  .live-vehicle-picker .full { grid-column: auto; }
  .live-fitment-sliders { padding: 16px; }
  .live-fitment-stage { height: 390px; background-position: 73% center; }
  .live-stage-heading { left: 15px; top: 15px; max-width: 195px; }
  .live-stage-heading strong { font-size: 20px; }
  .live-stage-heading small { display: none; }
  .live-spec-chip { right: 12px; top: 70px; font-size: 10px; }
  .live-factory-wheel, .live-wheel-position { left: 75%; top: 57%; width: 154px; }
  .live-et-axis { left: 14px; bottom: 66px; width: calc(100% - 28px); }
  .live-position-readout { left: 14px; right: 14px; bottom: 12px; min-width: 0; text-align: left; }
  .live-change-summary { grid-template-columns: 1fr; }
  .live-change-summary article { grid-template-columns: 75px 1fr; }
  .live-change-summary span { grid-column: 2; }
  .fitment-simple-numbers { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .live-wheel-position { transition: none; }
}

/* Professional interactive 3D fitment studio */
.professional-3d-stage { background: radial-gradient(circle at 58% 42%,rgba(255,255,255,.12),transparent 23%),radial-gradient(circle at 79% 52%,rgba(245,102,59,.16),transparent 32%),linear-gradient(145deg,#080a08 0%,#191c17 48%,#0d0f0c 100%); box-shadow: inset 0 1px rgba(255,255,255,.08),0 24px 60px rgba(8,10,8,.18); }
.professional-3d-stage::before { content: ''; position: absolute; z-index: 0; inset: 48% -12% -45%; background: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 42px 42px; transform: perspective(440px) rotateX(62deg); transform-origin: center top; -webkit-mask-image: linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent); mask-image: linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent); pointer-events: none; }
.professional-3d-stage::after { z-index: 2; height: 25%; background: linear-gradient(transparent,rgba(5,6,5,.78)); }
.professional-3d-stage .live-stage-shade { background: linear-gradient(110deg,rgba(4,5,4,.62),transparent 35%),linear-gradient(180deg,rgba(4,5,4,.5),transparent 28%); }
.professional-3d-stage .live-stage-heading, .professional-3d-stage .live-spec-chip, .professional-3d-stage .live-et-axis, .professional-3d-stage .live-position-readout { z-index: 9; }
.fitment-3d-root { position: absolute; z-index: 4; inset: 58px 0 62px; overflow: hidden; outline: none; }
.fitment-3d-root::after { content: ''; position: absolute; inset: 8% 16% 14%; border-radius: 50%; background: radial-gradient(circle,rgba(245,102,59,.09),transparent 66%); filter: blur(24px); opacity: .45; transition: opacity .25s ease; pointer-events: none; }
.fitment-3d-root[data-level="check"]::after { background: radial-gradient(circle,rgba(220,163,61,.13),transparent 66%); opacity: .68; }
.fitment-3d-root[data-level="risk"]::after { background: radial-gradient(circle,rgba(201,83,77,.16),transparent 66%); opacity: .78; }
.fitment-3d-canvas { position: absolute; z-index: 3; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity .32s ease; }
.fitment-3d-root.three-ready .fitment-3d-canvas { opacity: 1; }
.fitment-3d-root.is-dragging .fitment-3d-canvas { cursor: grabbing; }
.fitment-3d-canvas:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -5px; border-radius: 10px; }
.fitment-3d-fallback { position: absolute; z-index: 2; inset: 0; opacity: 1; transition: opacity .25s ease; pointer-events: none; }
.fitment-3d-root.three-ready .fitment-3d-fallback { opacity: 0; }
.fitment-3d-fallback .live-factory-wheel, .fitment-3d-fallback .live-wheel-position { left: 50%; top: 47%; width: clamp(178px,24vw,230px); }
.fitment-fallback-floor { position: absolute; left: 50%; bottom: 25px; width: min(440px,74%); height: 70px; background: radial-gradient(ellipse,rgba(0,0,0,.72),transparent 68%); transform: translateX(-50%); }
.fitment-camera-toolbar { position: absolute; z-index: 8; left: 50%; bottom: 5px; display: flex; gap: 3px; padding: 4px; background: rgba(9,11,9,.7); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.25); backdrop-filter: blur(14px); transform: translateX(-50%); }
.fitment-camera-toolbar button { min-width: 72px; height: 32px; padding: 0 13px; color: #b9bdb4; background: transparent; border: 0; border-radius: 999px; font: 800 9px/1 inherit; letter-spacing: .035em; cursor: pointer; transition: color .18s ease,background .18s ease,box-shadow .18s ease; }
.fitment-camera-toolbar button:hover { color: white; background: rgba(255,255,255,.08); }
.fitment-camera-toolbar button.active { color: white; background: var(--accent); box-shadow: 0 5px 16px rgba(245,102,59,.28); }
.fitment-camera-toolbar button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.fitment-orbit-hint { position: absolute; z-index: 7; top: 11px; left: 50%; display: flex; align-items: center; gap: 7px; width: max-content; padding: 7px 10px; color: #aeb2aa; background: rgba(8,10,8,.52); border: 1px solid rgba(255,255,255,.09); border-radius: 999px; backdrop-filter: blur(10px); font-size: 8px; font-weight: 750; letter-spacing: .03em; transform: translateX(-50%); pointer-events: none; }
.fitment-orbit-hint span { color: var(--accent-2); font-size: 14px; line-height: .7; }

/* Fitment profile, wheel appearance and measured-clearance controls */
.fitment-profile-status { display: flex; align-items: center; gap: 11px; min-width: 0; margin: 0 20px 16px; padding: 12px 13px; color: #555950; background: linear-gradient(135deg,#f8f8f4,#efefe9); border: 1px solid #dcded6; border-radius: 11px; box-shadow: inset 0 1px rgba(255,255,255,.8); }
.fitment-profile-status > span:first-child { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; color: #87621f; background: #fff1ce; border-radius: 50%; }
.fitment-profile-status > span:first-child svg { width: 15px; height: 15px; }
.fitment-profile-status > div { min-width: 0; flex: 1 1 auto; }
.fitment-profile-status strong, .fitment-profile-status small, .fitment-profile-status p { display: block; }
.fitment-profile-status strong { color: var(--ink); font-size: 11px; line-height: 1.25; }
.fitment-profile-status small[data-fitment-profile-badge] { width: fit-content; max-width: 100%; margin: 0 0 4px; padding: 3px 7px; color: #87621f; background: #fff4d8; border: 1px solid #ead7a7; border-radius: 999px; font-size: 7px; font-weight: 900; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.fitment-profile-status p { margin: 3px 0 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.fitment-profile-status.has-measurements { border-color: #b9dec9; background: linear-gradient(135deg,#f3fbf6,#e7f5ec); }
.fitment-profile-status.has-measurements > span:first-child { color: #246b46; background: #dff2e7; }
.fitment-profile-status.has-measurements small[data-fitment-profile-badge] { color: #246b46; background: #e6f5ec; border-color: #bfdfcb; }
.fitment-profile-status[data-confidence="verified"], .fitment-profile-status.verified { border-color: #b9dec9; background: linear-gradient(135deg,#f3fbf6,#e7f5ec); }
.fitment-profile-status[data-confidence="measured"], .fitment-profile-status.measured { border-color: #c7d5e8; background: linear-gradient(135deg,#f5f8fc,#eaf0f8); }
.fitment-profile-status[data-confidence="estimated"], .fitment-profile-status.estimated { border-color: #ead8ad; background: linear-gradient(135deg,#fffaf0,#f7efd9); }

.measurement-confidence, .measurement-confidence-badge, .fitment-confidence-badge { --confidence-color: #87621f; --confidence-bg: #fff1ce; --confidence-border: #ecd59b; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 24px; max-width: 100%; padding: 5px 9px; color: var(--confidence-color); background: var(--confidence-bg); border: 1px solid var(--confidence-border); border-radius: 999px; font-size: 8px; font-weight: 900; line-height: 1.15; letter-spacing: .075em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.measurement-confidence::before, .measurement-confidence-badge::before, .fitment-confidence-badge::before { content: ''; width: 6px; height: 6px; flex: 0 0 auto; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb,currentColor 14%,transparent); }
.measurement-confidence.verified, .measurement-confidence-badge.verified, .fitment-confidence-badge.verified, [data-confidence="verified"] > .measurement-confidence, [data-confidence="verified"] > .measurement-confidence-badge, [data-confidence="verified"] > .fitment-confidence-badge { --confidence-color: #246b46; --confidence-bg: #e8f6ee; --confidence-border: #bddfc9; }
.measurement-confidence.measured, .measurement-confidence-badge.measured, .fitment-confidence-badge.measured, [data-confidence="measured"] > .measurement-confidence, [data-confidence="measured"] > .measurement-confidence-badge, [data-confidence="measured"] > .fitment-confidence-badge { --confidence-color: #395b85; --confidence-bg: #edf3fb; --confidence-border: #c8d7e9; }
.measurement-confidence.estimated, .measurement-confidence-badge.estimated, .fitment-confidence-badge.estimated, [data-confidence="estimated"] > .measurement-confidence, [data-confidence="estimated"] > .measurement-confidence-badge, [data-confidence="estimated"] > .fitment-confidence-badge { --confidence-color: #87621f; --confidence-bg: #fff1ce; --confidence-border: #ecd59b; }

.wheel-appearance-controls { min-width: 0; display: grid; gap: 13px; padding: 17px 20px 19px; border-top: 1px solid var(--line); background: linear-gradient(180deg,rgba(248,248,244,.68),rgba(255,255,255,.2)); }
.wheel-appearance-controls > div:first-child { min-width: 0; display: grid; gap: 2px; }
.wheel-appearance-controls > div:first-child > span { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.wheel-appearance-controls > div:first-child > strong { color: var(--ink); font-size: 14px; letter-spacing: -.025em; }
.wheel-appearance-controls > div:first-child > small { color: var(--muted); font-size: 8px; line-height: 1.45; }
.wheel-appearance-controls > h3, .wheel-appearance-controls > header h3 { margin: 0; font-size: 13px; letter-spacing: -.02em; }
.wheel-appearance-controls > p, .wheel-appearance-controls > header p { max-width: 48ch; margin: -3px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.wheel-appearance-controls > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; }
.wheel-appearance-controls > header > div { min-width: 0; }
.wheel-appearance-controls summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; color: var(--ink); font-size: 12px; font-weight: 850; cursor: pointer; list-style: none; }
.wheel-appearance-controls summary::-webkit-details-marker { display: none; }
.wheel-appearance-controls summary::after { content: '+'; width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; color: var(--accent); background: #fff0e9; border-radius: 50%; font-size: 15px; transition: transform .2s ease; }
.wheel-appearance-controls[open] summary::after { transform: rotate(45deg); }

.wheel-style-grid { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(108px,1fr)); gap: 8px; }
.wheel-style-grid > * { min-width: 0; }
.wheel-style-grid > .form-group { align-content: start; gap: 6px; margin: 0; padding: 11px; background: white; border: 1px solid #dedfd8; border-radius: 10px; }
.wheel-style-grid > .form-group label { font-size: 9px; }
.wheel-style-grid .select, .wheel-style-grid .input { width: 100%; min-width: 0; }
.wheel-style-grid > button, .wheel-style-grid > label, .wheel-style-option { position: relative; min-width: 0; min-height: 48px; display: grid; align-content: center; gap: 2px; padding: 9px 10px; color: #5d6059; background: white; border: 1px solid #d9dbd3; border-radius: 10px; font: 800 9px/1.25 inherit; text-align: left; cursor: pointer; transition: color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.wheel-style-grid > button small, .wheel-style-grid > label small, .wheel-style-option small { color: var(--muted); font-size: 8px; font-weight: 650; }
.wheel-style-grid > button:hover, .wheel-style-grid > label:hover, .wheel-style-option:hover { color: var(--ink); border-color: #e0a188; transform: translateY(-1px); }
.wheel-style-grid > button.active, .wheel-style-grid > button[aria-pressed="true"], .wheel-style-grid > label:has(input:checked), .wheel-style-option.active, .wheel-style-option:has(input:checked) { color: #9a3918; background: #fff3ed; border-color: #ef9f7f; box-shadow: inset 0 0 0 1px rgba(245,102,59,.12),0 6px 16px rgba(67,31,17,.06); }
.wheel-style-grid input[type="radio"], .wheel-style-grid input[type="checkbox"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wheel-style-grid > button:focus-visible, .wheel-style-grid > label:has(input:focus-visible), .wheel-style-option:has(input:focus-visible) { outline: 3px solid rgba(245,102,59,.24); outline-offset: 2px; }

.measured-clearance-fields { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(104px,1fr)); gap: 8px; margin-top: 2px; padding: 12px; background: #f1f3ef; border: 1px solid #d9dcd4; border-radius: 11px; }
.measured-clearance-fields > h3, .measured-clearance-fields > p, .measured-clearance-fields > legend, .measured-clearance-fields > .full { grid-column: 1/-1; }
.measured-clearance-heading { grid-column: 1/-1; min-width: 0; display: grid; gap: 2px; padding-bottom: 4px; }
.measured-clearance-heading strong { color: var(--ink); font-size: 11px; }
.measured-clearance-heading small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.measured-clearance-fields > h3, .measured-clearance-fields > legend { margin: 0; padding: 0; color: var(--ink); border: 0; font-size: 11px; font-weight: 850; }
.measured-clearance-fields > p { margin: -3px 0 2px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.measured-clearance-fields > .form-group { min-width: 0; gap: 5px; margin: 0; }
.measured-clearance-fields label { font-size: 8px; line-height: 1.3; }
.measured-clearance-fields .input, .measured-clearance-fields .select, .measured-clearance-fields .input-suffix { width: 100%; min-width: 0; }
.measured-clearance-fields .input { min-height: 40px; background: white; }
.measured-clearance-fields .field-help { font-size: 7px; line-height: 1.35; }
.measured-clearance-fields > .form-group > small { display: block; min-height: 2.7em; color: var(--muted); font-size: 7px; line-height: 1.35; overflow-wrap: anywhere; }

/* Projected labels for representative fender, strut and ride-height measurements */
.fitment-component-tag { --component-color: #f5a26f; --component-border: rgba(245,162,111,.54); --component-glow: rgba(245,102,59,.18); --leader-length: clamp(22px,4vw,48px); position: absolute; z-index: 10; width: max-content; max-width: min(184px,calc(100% - 24px)); display: grid; gap: 2px; padding: 8px 10px 8px 12px; color: #f2f4ee; background: linear-gradient(135deg,rgba(11,13,11,.94),rgba(26,29,25,.88)); border: 1px solid var(--component-border); border-radius: 9px; box-shadow: 0 9px 28px rgba(0,0,0,.3),0 0 24px var(--component-glow); backdrop-filter: blur(12px); transform: translate(-50%,-50%); opacity: .78; pointer-events: none; transition: opacity .2s ease,border-color .2s ease,box-shadow .2s ease; }
.fitment-component-tag small, .fitment-component-tag strong, .fitment-component-tag span { display: block; min-width: 0; overflow-wrap: anywhere; }
.fitment-component-tag span { color: var(--component-color); font-size: 7px; font-weight: 900; line-height: 1.2; letter-spacing: .09em; text-transform: uppercase; }
.fitment-component-tag strong { color: white; font-size: 10px; line-height: 1.25; letter-spacing: -.01em; }
.fitment-component-tag small { color: #aeb3aa; font-size: 7px; line-height: 1.35; }
.fitment-component-tag::after { content: ''; position: absolute; top: 50%; width: var(--leader-length); height: 1px; background: linear-gradient(90deg,var(--component-color),rgba(255,255,255,.12)); box-shadow: 0 0 8px var(--component-glow); pointer-events: none; }
.fitment-component-tag::before { content: ''; position: absolute; top: calc(50% - 3px); width: 6px; height: 6px; background: var(--component-color); border: 2px solid rgba(11,13,11,.92); border-radius: 50%; box-shadow: 0 0 0 3px var(--component-glow); pointer-events: none; }
.fitment-component-tag.fender, .fitment-component-tag[data-component="fender"] { --component-color: #ff9b73; --component-border: rgba(255,155,115,.58); --component-glow: rgba(245,102,59,.2); }
.fitment-component-tag.fender { left: 76%; top: 52%; }
.fitment-component-tag.fender::after, .fitment-component-tag[data-component="fender"]::after { right: 100%; background: linear-gradient(90deg,rgba(255,255,255,.12),var(--component-color)); }
.fitment-component-tag.fender::before, .fitment-component-tag[data-component="fender"]::before { right: calc(100% + var(--leader-length) - 4px); }
.fitment-component-tag.strut, .fitment-component-tag[data-component="strut"] { --component-color: #9db5ff; --component-border: rgba(130,157,239,.58); --component-glow: rgba(96,124,214,.2); }
.fitment-component-tag.strut { left: 24%; top: 52%; }
.fitment-component-tag.strut::after, .fitment-component-tag[data-component="strut"]::after { left: 100%; }
.fitment-component-tag.strut::before, .fitment-component-tag[data-component="strut"]::before { left: calc(100% + var(--leader-length) - 4px); }
.fitment-component-tag.ride, .fitment-component-tag[data-component="ride"] { --component-color: #92dfac; --component-border: rgba(110,205,143,.55); --component-glow: rgba(81,177,115,.18); }
.fitment-component-tag.ride { left: 50%; top: 17%; }
.fitment-component-tag.ride::after, .fitment-component-tag[data-component="ride"]::after { left: 50%; top: 100%; width: 1px; height: var(--leader-length); background: linear-gradient(180deg,var(--component-color),rgba(255,255,255,.12)); }
.fitment-component-tag.ride::before, .fitment-component-tag[data-component="ride"]::before { left: calc(50% - 3px); top: calc(100% + var(--leader-length) - 4px); }
.fitment-3d-root[data-view="clearance"] .fitment-component-tag { opacity: 1; box-shadow: 0 12px 34px rgba(0,0,0,.36),0 0 28px var(--component-glow); }
.fitment-3d-root[data-view="front"] .fitment-component-tag { opacity: .68; }
.fitment-component-tag[hidden], .fitment-component-tag.is-hidden, .fitment-component-tag[data-visible="false"] { display: none; }

.live-change-summary article { min-height: 88px; align-content: start; }
.live-change-summary article.good { box-shadow: inset 0 3px #4d9b6c; }
.live-change-summary article.measured { box-shadow: inset 0 3px #6686c9; }
.live-change-summary strong, .live-change-summary span { overflow-wrap: anywhere; }
.fitment-live-controls > .panel-head .text-button { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 580px) {
  .fitment-live-controls > .panel-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 12px; }
  .professional-3d-stage { height: 410px; background-position: center; }
  .fitment-3d-root { inset: 82px 0 66px; }
  .fitment-orbit-hint { display: none; }
  .fitment-camera-toolbar { bottom: 3px; }
  .fitment-camera-toolbar button { min-width: 70px; height: 42px; padding: 0 10px; font-size: 9px; }
  .professional-3d-stage .live-et-axis { display: none; }
  .fitment-3d-fallback .live-factory-wheel, .fitment-3d-fallback .live-wheel-position { left: 50%; top: 45%; width: 164px; }
  .fitment-profile-status { align-items: flex-start; flex-wrap: wrap; margin-inline: 16px; }
  .fitment-profile-status > div { flex-basis: calc(100% - 42px); }
  .measurement-confidence, .measurement-confidence-badge, .fitment-confidence-badge { min-height: 26px; white-space: normal; }
  .wheel-appearance-controls { padding: 16px; }
  .wheel-appearance-controls > header { display: grid; }
  .wheel-style-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .measured-clearance-fields { grid-template-columns: 1fr; }
  .fitment-3d-root:not([data-view="clearance"]) .fitment-component-tag { opacity: 0; visibility: hidden; }
  .fitment-3d-root[data-view="clearance"] .fitment-component-tag { left: 8px !important; right: auto !important; width: min(158px,calc(100% - 16px)); max-width: none; padding: 6px 8px 6px 10px; transform: none !important; }
  .fitment-3d-root[data-view="clearance"] .fitment-component-tag.fender, .fitment-3d-root[data-view="clearance"] .fitment-component-tag[data-component="fender"] { top: 7px !important; }
  .fitment-3d-root[data-view="clearance"] .fitment-component-tag.strut, .fitment-3d-root[data-view="clearance"] .fitment-component-tag[data-component="strut"] { top: 58px !important; }
  .fitment-3d-root[data-view="clearance"] .fitment-component-tag.ride, .fitment-3d-root[data-view="clearance"] .fitment-component-tag[data-component="ride"] { top: 109px !important; }
  .fitment-component-tag::before, .fitment-component-tag::after { display: none; }
  .fitment-component-tag strong { font-size: 9px; }
  .live-change-summary article { min-height: 0; }
}
@media (max-width: 390px) {
  .wheel-style-grid { grid-template-columns: 1fr; }
  .fitment-camera-toolbar { width: calc(100% - 20px); justify-content: stretch; }
  .fitment-camera-toolbar button { min-width: 0; flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fitment-3d-canvas, .fitment-3d-fallback, .fitment-camera-toolbar button, .wheel-style-grid > button, .wheel-style-grid > label, .wheel-style-option, .fitment-component-tag, .wheel-appearance-controls summary::after { transition: none; }
}

/* Fullscreen fitment studio */
body.fitment-fullscreen-open { overflow: hidden; overscroll-behavior: none; }
.fitment-fullscreen-toggle, .fitment-fullscreen-settings-toggle { position: absolute; z-index: 42; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 40px; min-height: 40px; padding: 0 12px; color: #eef1eb; background: rgba(10,12,10,.82); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.28); backdrop-filter: blur(14px); font: 850 9px/1 inherit; letter-spacing: .035em; cursor: pointer; transition: color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease; }
.fitment-fullscreen-toggle { top: 64px; right: 14px; }
.fitment-fullscreen-settings-toggle { display: none; }
.fitment-fullscreen-toggle svg, .fitment-fullscreen-settings-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; }
.fitment-fullscreen-toggle:hover, .fitment-fullscreen-settings-toggle:hover { color: white; background: rgba(245,102,59,.92); border-color: rgba(255,166,128,.7); transform: translateY(-1px); }
.fitment-fullscreen-toggle:focus-visible, .fitment-fullscreen-settings-toggle:focus-visible, .fitment-label-toggle:focus-visible, .fitment-label-toggle:has(input:focus-visible) { outline: 3px solid rgba(255,177,143,.42); outline-offset: 3px; }

.fitment-fullscreen-sidebar, .fitment-fullscreen-toolbar, .fitment-boundary-legend { display: none; }
.professional-3d-stage.is-fitment-fullscreen { position: fixed; z-index: 10000; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; min-height: 100svh; margin: 0; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; overflow: hidden; }
.is-fitment-fullscreen .fitment-3d-root { inset: clamp(62px,7vh,82px) 320px clamp(62px,7vh,82px) 0; }
.is-fitment-fullscreen .fitment-3d-canvas { touch-action: none; }
.is-fitment-fullscreen .live-stage-heading { left: 24px; top: 20px; max-width: min(360px,calc(100% - 560px)); }
.is-fitment-fullscreen .live-stage-heading strong { font-size: clamp(23px,2.5vw,36px); }
.is-fitment-fullscreen .live-stage-heading small { font-size: 9px; }
.is-fitment-fullscreen .live-spec-chip { top: 68px; right: 340px; max-width: min(420px,calc(100% - 390px)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-fitment-fullscreen .live-position-readout { right: 340px; bottom: 16px; }
.is-fitment-fullscreen .live-et-axis { bottom: 18px; }
.is-fitment-fullscreen .fitment-orbit-hint { opacity: .3; }
.is-fitment-fullscreen > .fitment-fullscreen-toggle { display: none; }

.is-fitment-fullscreen .fitment-fullscreen-sidebar { position: absolute; z-index: 40; inset: 0 0 0 auto; width: 320px; min-width: 0; display: flex; flex-direction: column; color: #eef1eb; background: linear-gradient(180deg,rgba(22,25,21,.985),rgba(11,13,11,.99)); border-left: 1px solid rgba(255,255,255,.12); box-shadow: -24px 0 70px rgba(0,0,0,.38); overflow: hidden; }
.fitment-fullscreen-sidebar-head { position: sticky; z-index: 2; top: 0; min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 19px 18px 16px; background: rgba(20,23,19,.96); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.fitment-fullscreen-sidebar-head > div { min-width: 0; display: grid; gap: 3px; }
.fitment-fullscreen-sidebar-head > div > small { color: #ff9b73; font-size: 8px; font-weight: 900; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.fitment-fullscreen-sidebar-head strong { color: white; font-size: 17px; line-height: 1.2; letter-spacing: -.03em; }
.fitment-fullscreen-sidebar-head button { width: 36px; height: 36px; flex: 0 0 auto; display: none; place-items: center; padding: 0; color: #c7cbc2; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; cursor: pointer; }
.fitment-fullscreen-sidebar-head button:hover { color: white; background: rgba(245,102,59,.82); border-color: rgba(255,161,121,.68); }
.fitment-fullscreen-sidebar-head button:focus-visible { outline: 3px solid rgba(255,177,143,.42); outline-offset: 2px; }
.fitment-fullscreen-sidebar-head button svg { width: 15px; height: 15px; }
.fitment-fullscreen-sidebar-head .fitment-fullscreen-toggle, .fitment-fullscreen-sidebar-head .fitment-fullscreen-settings-toggle { position: static; box-shadow: none; }

.fitment-fullscreen-controls { min-width: 0; flex: 1 1 auto; display: grid; align-content: start; gap: 10px; padding: 16px 17px max(24px,env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #555b52 transparent; }
.fitment-fullscreen-controls::-webkit-scrollbar { width: 8px; }
.fitment-fullscreen-controls::-webkit-scrollbar-thumb { background: #555b52; border: 2px solid transparent; border-radius: 99px; background-clip: padding-box; }
.fitment-fullscreen-controls > section { min-width: 0; display: grid; gap: 11px; padding: 13px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.095); border-radius: 12px; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.fitment-fullscreen-controls > section > header { min-width: 0; display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: start; gap: 9px; }
.fitment-fullscreen-controls > section > header > span { width: 28px; height: 28px; display: grid; place-items: center; color: #ffad8b; background: rgba(245,102,59,.13); border: 1px solid rgba(245,102,59,.27); border-radius: 8px; font-size: 8px; font-weight: 950; letter-spacing: .05em; }
.fitment-fullscreen-controls > section > header > div { min-width: 0; display: grid; gap: 2px; }
.fitment-fullscreen-controls > section > header strong { color: #f5f6f2; font-size: 11px; line-height: 1.25; letter-spacing: -.01em; }
.fitment-fullscreen-controls > section > header small { color: #8f948b; font-size: 7px; line-height: 1.45; overflow-wrap: anywhere; }
.fitment-fullscreen-vehicle, .fitment-fullscreen-style { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.fitment-fullscreen-vehicle > .full, .fitment-fullscreen-style > .full { grid-column: 1/-1; }
.fitment-fullscreen-vehicle label, .fitment-fullscreen-style label, .fitment-fullscreen-accuracy label { min-width: 0; display: grid; align-content: start; gap: 5px; color: #b8bdb4; font-size: 8px; font-weight: 800; }
.fitment-fullscreen-vehicle .select, .fitment-fullscreen-style .select { width: 100%; min-width: 0; height: 40px; padding-inline: 10px 28px; color: #eef1eb; background-color: #191d18; border-color: #3b4037; font-size: 9px; text-overflow: ellipsis; }
.fitment-fullscreen-vehicle .select option, .fitment-fullscreen-style .select option { color: #111; background: white; }
.fitment-fullscreen-ranges { min-width: 0; display: grid; gap: 8px; }
.fitment-fullscreen-control { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); align-items: center; gap: 7px; padding: 11px 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; box-shadow: inset 0 1px rgba(255,255,255,.03); }
.fitment-fullscreen-control > span { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #f1f3ed; }
.fitment-fullscreen-control > span b { min-width: 0; font-size: 9px; font-weight: 850; line-height: 1.25; }
.fitment-fullscreen-control > span output { flex: 0 0 auto; color: #ff9b73; font-size: 11px; font-weight: 900; white-space: nowrap; }
.fitment-fullscreen-control > label, .fitment-fullscreen-control > div:first-child { min-width: 0; color: #f1f3ed; font-size: 10px; font-weight: 850; }
.fitment-fullscreen-control > strong, .fitment-fullscreen-control > output { color: #ff9b73; font-size: 12px; font-weight: 900; white-space: nowrap; }
.fitment-fullscreen-control > small, .fitment-fullscreen-control > p { grid-column: 1/-1; margin: 0; color: #8f948b; font-size: 8px; line-height: 1.4; }
.fitment-fullscreen-control input[type="range"], .fitment-fullscreen-control > .live-slider-row, .fitment-fullscreen-control > .input-suffix { grid-column: 1/-1; width: 100%; min-width: 0; }
.fitment-fullscreen-control input[type="range"] { height: 18px; margin: 0; appearance: none; -webkit-appearance: none; accent-color: var(--accent); background: transparent; cursor: ew-resize; }
.fitment-fullscreen-control input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg,#565c53,#30352e); border-radius: 99px; box-shadow: inset 0 1px 2px rgba(0,0,0,.45); }
.fitment-fullscreen-control input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -6.5px; appearance: none; -webkit-appearance: none; background: #ff8357; border: 3px solid #ffe2d5; border-radius: 50%; box-shadow: 0 3px 10px rgba(245,102,59,.42); }
.fitment-fullscreen-control input[type="range"]::-moz-range-track { height: 4px; background: #3f453d; border: 0; border-radius: 99px; }
.fitment-fullscreen-control input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; background: #ff8357; border: 3px solid #ffe2d5; border-radius: 50%; box-shadow: 0 3px 10px rgba(245,102,59,.42); }
.fitment-fullscreen-control input[type="range"]:focus-visible { outline: 2px solid rgba(255,177,143,.5); outline-offset: 4px; border-radius: 99px; }
.fitment-fullscreen-control .live-slider-row { margin-top: 7px; }
.fitment-fullscreen-control .live-slider-row button { color: #eef1eb; background: #242821; border-color: #3e433a; }
.fitment-fullscreen-control .select, .fitment-fullscreen-control .input { width: 100%; min-width: 0; color: #eef1eb; background-color: #1b1f1a; border-color: #3b4037; }
.fitment-fullscreen-control .select option { color: #111; background: white; }

.fitment-fullscreen-accuracy { min-width: 0; overflow: hidden; background: rgba(95,124,214,.055); border: 1px solid rgba(130,157,239,.19); border-radius: 12px; }
.fitment-fullscreen-accuracy > summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; color: #ccd6f4; font-size: 9px; font-weight: 850; line-height: 1.3; cursor: pointer; list-style: none; }
.fitment-fullscreen-accuracy > summary::-webkit-details-marker { display: none; }
.fitment-fullscreen-accuracy > summary::after { content: '+'; width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; color: #b9c8f7; background: rgba(130,157,239,.13); border-radius: 50%; font-size: 14px; transition: transform .18s ease; }
.fitment-fullscreen-accuracy[open] > summary::after { transform: rotate(45deg); }
.fitment-fullscreen-accuracy > summary:focus-visible { outline: 2px solid rgba(157,181,255,.62); outline-offset: -3px; border-radius: 10px; }
.fitment-fullscreen-accuracy > div { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 8px; padding: 3px 12px 13px; }
.fitment-fullscreen-accuracy .input-suffix, .fitment-fullscreen-accuracy .input { width: 100%; min-width: 0; }
.fitment-fullscreen-accuracy .input { height: 38px; padding-inline: 9px 32px; color: #eef1eb; background-color: #191d18; border-color: #3b4037; font-size: 10px; }
.fitment-fullscreen-accuracy .input-suffix > span { right: 9px; color: #8f948b; font-size: 8px; }
.fitment-fullscreen-reset { width: 100%; min-height: 40px; padding: 0 12px; color: #d5d9d0; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; font: 850 9px/1 inherit; cursor: pointer; transition: color .18s ease,background .18s ease,border-color .18s ease; }
.fitment-fullscreen-reset:hover { color: white; background: rgba(245,102,59,.16); border-color: rgba(245,102,59,.42); }
.fitment-fullscreen-reset:focus-visible { outline: 3px solid rgba(255,177,143,.38); outline-offset: 2px; }
.fitment-fullscreen-note { margin: 0; padding-inline: 3px; color: #858b81; font-size: 7px; line-height: 1.5; }

.is-fitment-fullscreen .fitment-fullscreen-toolbar { position: absolute; z-index: 31; top: 17px; right: 340px; max-width: min(300px,calc(100% - 560px)); display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.is-fitment-fullscreen .fitment-fullscreen-toolbar > .fitment-fullscreen-settings-toggle { display: none; }
.fitment-fullscreen-sidebar .fitment-fullscreen-toolbar { position: static; max-width: none; justify-content: stretch; padding: 0; }
.fitment-fullscreen-toolbar > button, .fitment-label-toggle { min-width: 0; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; color: #c7cbc2; background: rgba(10,12,10,.76); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; backdrop-filter: blur(12px); font: 850 8px/1 inherit; letter-spacing: .04em; white-space: nowrap; cursor: pointer; }
.fitment-fullscreen-toolbar > button:hover, .fitment-label-toggle:hover, .fitment-fullscreen-toolbar > button[aria-pressed="true"], .fitment-label-toggle[aria-pressed="true"], .fitment-label-toggle:has(input:checked) { color: white; background: rgba(245,102,59,.84); border-color: rgba(255,161,121,.68); }
.fitment-label-toggle { position: relative; }
.fitment-label-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fitment-label-toggle svg, .fitment-fullscreen-toolbar svg { width: 14px; height: 14px; flex: 0 0 auto; }

.is-fitment-fullscreen .fitment-boundary-legend { position: absolute; z-index: 30; left: 20px; bottom: 15px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; max-width: min(330px,calc(100% - 700px)); padding: 7px 10px; color: #aeb3aa; background: rgba(8,10,8,.58); border: 1px solid rgba(255,255,255,.09); border-radius: 999px; backdrop-filter: blur(10px); font-size: 7px; font-weight: 800; letter-spacing: .025em; pointer-events: none; }
.fitment-boundary-legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fitment-boundary-legend i, .fitment-boundary-legend b { width: 16px; height: 3px; display: inline-block; border-radius: 999px; background: #7d8279; box-shadow: 0 0 8px rgba(255,255,255,.08); }
.fitment-boundary-legend .fender i, .fitment-boundary-legend .fender b, .fitment-boundary-legend [data-boundary="fender"] i, .fitment-boundary-legend [data-boundary="fender"] b { background: #ff8054; box-shadow: 0 0 9px rgba(255,128,84,.38); }
.fitment-boundary-legend .strut i, .fitment-boundary-legend .strut b, .fitment-boundary-legend [data-boundary="strut"] i, .fitment-boundary-legend [data-boundary="strut"] b { background: #789aff; box-shadow: 0 0 9px rgba(120,154,255,.34); }
.fitment-fullscreen-toolbar .fitment-boundary-legend, .fitment-fullscreen-sidebar .fitment-boundary-legend { position: static; max-width: 100%; pointer-events: none; }

/* Labels stay out of the model until the dedicated clearance camera is chosen. */
.fitment-3d-root:not([data-view="clearance"]) .fitment-component-tag { opacity: 0; visibility: hidden; }
.fitment-3d-root[data-view="clearance"] .fitment-component-tag { visibility: visible; }
.fitment-labels-hidden .fitment-component-tag, .fitment-3d-root.fitment-labels-hidden .fitment-component-tag { opacity: 0 !important; visibility: hidden !important; }
.is-fitment-fullscreen .fitment-3d-root:not([data-view="clearance"]) .fitment-orbit-hint { opacity: .18; }
.is-fitment-fullscreen .fitment-3d-root[data-view="clearance"] .fitment-orbit-hint { opacity: 0; visibility: hidden; }

@media (min-width: 761px) and (max-height: 700px) {
  .is-fitment-fullscreen .fitment-3d-root { inset-block: 56px; }
  .fitment-fullscreen-sidebar-head { padding-block: 13px 11px; }
  .fitment-fullscreen-controls { gap: 7px; padding-top: 11px; }
  .fitment-fullscreen-controls > section { gap: 8px; padding: 10px 11px; }
  .fitment-fullscreen-control { padding: 10px 12px; }
  .is-fitment-fullscreen .live-spec-chip { top: 58px; }
}

@media (max-width: 760px) {
  body.fitment-fullscreen-open { width: 100%; height: 100%; position: fixed; inset: 0; }
  .professional-3d-stage.is-fitment-fullscreen { min-width: 0; }
  .is-fitment-fullscreen .fitment-3d-root { inset: max(62px,env(safe-area-inset-top)) 0 max(64px,env(safe-area-inset-bottom)); }
  .is-fitment-fullscreen .live-stage-heading { left: 14px; top: max(12px,env(safe-area-inset-top)); max-width: calc(100% - 28px); }
  .is-fitment-fullscreen .live-stage-heading span { font-size: 7px; }
  .is-fitment-fullscreen .live-stage-heading strong { font-size: clamp(18px,5.8vw,24px); }
  .is-fitment-fullscreen .live-stage-heading small, .is-fitment-fullscreen .live-spec-chip, .is-fitment-fullscreen .live-et-axis, .is-fitment-fullscreen .live-position-readout, .is-fitment-fullscreen .fitment-orbit-hint { display: none; }
  .is-fitment-fullscreen .fitment-camera-toolbar { bottom: 4px; width: min(270px,calc(100% - 24px)); }
  .is-fitment-fullscreen .fitment-camera-toolbar button { min-width: 0; min-height: 44px; flex: 1 1 0; }

  .is-fitment-fullscreen .fitment-fullscreen-sidebar { width: min(330px,88vw); max-width: 100%; padding-top: env(safe-area-inset-top); transform: translateX(104%); visibility: hidden; box-shadow: -100vw 0 0 100vw rgba(3,4,3,0),-24px 0 70px rgba(0,0,0,.45); transition: transform .26s cubic-bezier(.2,.72,.2,1),visibility 0s linear .26s,box-shadow .26s ease; }
  .is-fitment-fullscreen.fullscreen-settings-open .fitment-fullscreen-sidebar { transform: translateX(0); visibility: visible; box-shadow: -100vw 0 0 100vw rgba(3,4,3,.58),-24px 0 70px rgba(0,0,0,.55); transition-delay: 0s; }
  .fitment-fullscreen-sidebar-head { padding: 15px 15px 13px; }
  .fitment-fullscreen-sidebar-head button { display: grid; }
  .fitment-fullscreen-controls { padding: 13px 14px max(24px,env(safe-area-inset-bottom)); }
  .fitment-fullscreen-control { padding: 12px; }
  .is-fitment-fullscreen.fullscreen-settings-open .fitment-fullscreen-settings-toggle { color: white; background: var(--accent); border-color: #ff9b73; }

  .is-fitment-fullscreen .fitment-fullscreen-toolbar { top: auto; right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); left: 10px; max-width: none; justify-content: flex-end; pointer-events: none; }
  .is-fitment-fullscreen .fitment-fullscreen-toolbar > *, .is-fitment-fullscreen .fitment-label-toggle { pointer-events: auto; }
  .fitment-fullscreen-toolbar > button, .fitment-label-toggle { min-height: 42px; padding-inline: 10px; }
  .is-fitment-fullscreen .fitment-fullscreen-toolbar > .fitment-fullscreen-settings-toggle { position: static; width: auto; min-width: 42px; height: 42px; display: inline-flex; padding: 0 10px; box-shadow: none; }
  .is-fitment-fullscreen .fitment-boundary-legend { inset: max(66px,calc(env(safe-area-inset-top) + 54px)) 10px auto auto; max-width: 150px; display: grid; gap: 5px; padding: 6px 8px; border-radius: 9px; }
  .fitment-boundary-legend > span { white-space: normal; }

  .is-fitment-fullscreen .fitment-3d-root:not([data-view="clearance"]) .fitment-component-tag { opacity: 0; visibility: hidden; }
  .is-fitment-fullscreen .fitment-3d-root[data-view="clearance"] .fitment-component-tag { left: 8px !important; right: auto !important; width: min(158px,calc(100% - 16px)); max-width: none; padding: 6px 8px 6px 10px; transform: none !important; opacity: 1; visibility: visible; }
  .is-fitment-fullscreen .fitment-3d-root[data-view="clearance"] .fitment-component-tag.fender { top: 7px !important; }
  .is-fitment-fullscreen .fitment-3d-root[data-view="clearance"] .fitment-component-tag.strut { top: 58px !important; }
  .is-fitment-fullscreen .fitment-3d-root[data-view="clearance"] .fitment-component-tag.ride { top: 109px !important; }
  .is-fitment-fullscreen .fitment-component-tag::before, .is-fitment-fullscreen .fitment-component-tag::after { display: none; }
  .is-fitment-fullscreen.fitment-labels-hidden .fitment-component-tag { opacity: 0 !important; visibility: hidden !important; }
}

@media (max-width: 420px) {
  .is-fitment-fullscreen .fitment-boundary-legend { max-width: 130px; font-size: 6px; }
  .is-fitment-fullscreen .fitment-fullscreen-toolbar { justify-content: flex-end; }
  .fitment-fullscreen-toolbar > button, .fitment-label-toggle { max-width: 120px; white-space: normal; text-align: center; }
}

@media (max-width: 580px) {
  .professional-3d-stage:not(.is-fitment-fullscreen) > .fitment-fullscreen-toggle { top: 14px; right: 12px; width: 42px; min-width: 42px; height: 42px; padding: 0; }
  .professional-3d-stage:not(.is-fitment-fullscreen) > .fitment-fullscreen-toggle > span { display: none; }
  .fitment-fullscreen-accuracy .input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fitment-fullscreen-toggle, .fitment-fullscreen-settings-toggle, .fitment-fullscreen-sidebar { transition: none; }
}

.policy-toggle { border: 0; cursor: pointer; transition: background .2s ease; }
.policy-toggle:focus-visible { outline: 3px solid rgba(245,102,59,.25); outline-offset: 2px; }
.admin-report-preview { width: 100%; text-align: left; color: inherit; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; }
.admin-report-preview:hover { background: var(--paper); }
.admin-data-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 16px; }
.admin-data-card { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; min-height: 82px; padding: 14px; text-align: left; color: inherit; background: #fafaf7; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: .2s ease; }
.admin-data-card:hover { transform: translateY(-2px); background: white; border-color: #e2a58c; box-shadow: 0 10px 24px rgba(20,22,18,.08); }
.admin-data-card > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--accent); background: #fff0e9; border-radius: 10px; }
.admin-data-card > span svg { width: 21px; height: 21px; }
.admin-data-card > svg { width: 16px; color: #9b9d96; }
.admin-data-card strong, .admin-data-card small { display: block; }
.admin-data-card strong { font-size: 12px; }
.admin-data-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.admin-report-list, .admin-data-modal { max-height: 72vh; overflow: auto; }
.admin-report-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.admin-report-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #a83a2a; background: #fee7e3; border-radius: 10px; }
.admin-report-row h3 { margin: 7px 0 5px; font-size: 15px; }
.admin-report-row p { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.admin-report-row small { color: var(--muted); font-size: 9px; }
.admin-report-actions { display: flex; gap: 6px; }
.admin-modal-list { display: grid; gap: 8px; }
.admin-modal-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 11px; padding: 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.admin-modal-item > span:first-child { color: var(--accent); }
.admin-modal-item > img { width: 52px; height: 42px; object-fit: cover; border-radius: 7px; }
.admin-modal-item strong, .admin-modal-item small { display: block; }
.admin-modal-item strong { font-size: 11px; }
.admin-modal-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.admin-data-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 16px; }
.admin-product-form { margin-bottom: 24px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.admin-product-form .button { margin-top: 14px; }
.affiliate-admin-note { display: flex; gap: 9px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.admin-product-list { display: grid; gap: 8px; }

/* Storefront directory, following and clear legal pages */
.storefront-directory-hero, .about-hero, .legal-hero { color: white; background: radial-gradient(circle at 82% 10%,rgba(255,90,31,.24),transparent 34%),var(--dark); }
.storefront-directory-hero .container { min-height: 360px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.storefront-directory-hero h1, .about-hero h1, .legal-hero h1 { max-width: 850px; margin: 0; font-size: clamp(48px,6vw,78px); line-height: .94; letter-spacing: -.06em; }
.storefront-directory-hero p, .about-hero p, .legal-hero p { max-width: 680px; margin: 20px 0 0; color: #b9bbb4; font-size: 17px; line-height: 1.55; }
.directory-summary { width: 174px; height: 174px; display: grid; place-items: center; align-content: center; flex: 0 0 auto; border: 1px solid #484a43; border-radius: 50%; background: rgba(255,255,255,.04); }
.directory-summary svg { color: var(--accent); width: 31px; height: 31px; }
.directory-summary strong { margin-top: 8px; font-size: 36px; line-height: 1; }
.directory-summary span { color: #aeb0aa; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.directory-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.directory-toolbar h2 { margin: 0 0 5px; font-size: 32px; letter-spacing: -.045em; }
.directory-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.directory-toolbar label { display: grid; grid-template-columns: auto 190px; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 800; }
.storefront-directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.storefront-directory-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 28px rgba(20,22,18,.06); }
.storefront-card-image { position: relative; display: block; height: 210px; background: #252721; }
.storefront-card-image > img { width: 100%; height: 100%; object-fit: cover; }
.storefront-card-logo { position: absolute; left: 22px; bottom: -29px; width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; color: white; background: var(--dark); border: 4px solid white; border-radius: 14px; font-size: 18px; font-weight: 900; box-shadow: 0 7px 18px rgba(0,0,0,.2); }
.storefront-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.storefront-card-body { display: grid; gap: 18px; padding: 43px 22px 22px; }
.storefront-verified { display: inline-flex; align-items: center; gap: 5px; color: #26704d; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.storefront-verified svg { width: 14px; }
.storefront-card-body h2 { margin: 6px 0; font-size: 24px; letter-spacing: -.045em; }
.storefront-card-body h2 a:hover { color: var(--accent); }
.storefront-card-body p { min-height: 38px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.storefront-card-body dl { display: flex; gap: 34px; margin: 0; }
.storefront-card-body dl div { display: grid; }
.storefront-card-body dt { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.storefront-card-body dd { margin: 2px 0 0; font-size: 23px; font-weight: 900; }
.storefront-card-body > small, .storefront-followers { color: var(--muted); font-size: 10px; }
.storefront-card-actions, .profile-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.storefront-card-actions .button { flex: 1; min-height: 42px; padding-inline: 12px; font-size: 11px; }
.profile-card { flex-wrap: wrap; }
.profile-actions { margin-left: auto; }
.profile-actions .button { min-height: 42px; }
.profile-stats { margin-left: auto; }
.listing-life-note { color: #9b3f1e !important; font-weight: 750; }

.about-hero .container { min-height: 550px; display: grid; grid-template-columns: minmax(0,1fr) 270px; align-items: center; gap: 70px; }
.about-hero .action-row { margin-top: 28px; }
.about-hero .button-outline { color: white; border-color: #565850; }
.about-wheel-mark { position: relative; width: 270px; height: 270px; display: block; padding: 8px; border: 1px solid #464840; border-radius: 50%; background: rgba(255,255,255,.03); }
.about-wheel-mark > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-wheel-mark span { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; color: white; background: rgba(14,15,13,.88); border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .04em; white-space: nowrap; transform: translateX(-50%); }
.about-wheel-mark span svg { width: 13px; }
.about-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.about-story h2, .about-europe h2 { margin: 0; font-size: clamp(34px,4vw,54px); line-height: 1; letter-spacing: -.055em; }
.about-story > p, .about-europe p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.about-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #383a34; border: 1px solid #383a34; border-radius: 15px; overflow: hidden; }
.about-values article { min-height: 260px; padding: 28px; background: #1c1e1a; }
.about-values article > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); background: #2a2c27; border-radius: 12px; }
.about-values h2 { margin: 30px 0 10px; font-size: 20px; }
.about-values p { margin: 0; color: #aeb0a9; font-size: 12px; line-height: 1.6; }
.about-europe { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.about-europe > div { max-width: 760px; }
.about-europe p { margin-top: 18px; font-size: 16px; }

.legal-hero .container { min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.legal-hero h1 { max-width: 900px; font-size: clamp(43px,5vw,68px); }
.legal-hero small { margin-top: 22px; color: #888b82; font-size: 10px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 70px; align-items: start; }
.legal-layout > nav { position: sticky; top: 100px; display: grid; gap: 4px; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.legal-layout > nav strong { padding: 8px 10px 13px; font-size: 12px; }
.legal-layout > nav a { padding: 10px; color: var(--muted); border-radius: 8px; font-size: 11px; font-weight: 750; }
.legal-layout > nav a:hover, .legal-layout > nav a.active { color: var(--ink); background: var(--paper); }
.legal-content { display: grid; gap: 0; }
.legal-content > section { padding: 5px 0 31px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 10px; font-size: 27px; letter-spacing: -.04em; }
.legal-content p { max-width: 780px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-contact { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 19px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.legal-contact > svg { color: var(--accent); }
.legal-contact strong, .legal-contact span { display: block; }
.legal-contact span { color: var(--muted); font-size: 10px; }
.legal-contact strong { color: var(--ink); font-size: 12px; }
.cookie-preferences { display: grid; gap: 12px; }
.cookie-choice { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.cookie-choice > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); background: #fff0e9; border-radius: 11px; }
.cookie-choice h2 { margin: 0 0 4px; font-size: 17px; }
.cookie-choice p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cookie-choice.locked { background: var(--paper); }
.cookie-choice.locked label { color: #49765f; font-size: 10px; font-weight: 850; }
.cookie-choice.locked input { display: none; }
.cookie-switch { position: relative; width: 45px; height: 25px; display: block; }
.cookie-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-switch > span { position: relative; display: block; width: 45px; height: 25px; background: #c6c8c0; border-radius: 999px; cursor: pointer; transition: .2s; }
.cookie-switch > span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; background: white; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: .2s; }
.cookie-switch input:checked + span { background: var(--accent); }
.cookie-switch input:checked + span::after { transform: translateX(20px); }
.cookie-switch input:focus-visible + span { outline: 3px solid rgba(245,102,59,.25); outline-offset: 2px; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }
.cookie-status { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; color: var(--muted); font-size: 10px; }
.cookie-status svg { width: 14px; color: var(--success); }

@media (max-width: 900px) {
  .parts-page-hero .container, .recommendations-hero .container { min-height: 330px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .parts-buying-guide, .recommended-grid { grid-template-columns: 1fr 1fr; }
  .admin-data-grid { grid-template-columns: 1fr; }
  .fitment-visual-explainer { grid-template-columns: 1fr; }
  .easy-fitment-workspace { grid-template-columns: minmax(0,1fr); }
  .storefront-directory-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-layout > nav { position: static; display: flex; overflow-x: auto; white-space: nowrap; }
  .legal-layout > nav strong { display: none; }
}

@media (max-width: 760px) {
  .messages-shell { height: auto; min-height: calc(100vh - 66px); }
  .conversation-list { display: flex; max-width: 100vw; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--line); }
  .conversation-header { position: sticky; left: 0; flex: 0 0 190px; padding: 13px; border-right: 1px solid var(--line); border-bottom: 0; }
  .conversation-header h1 { margin-bottom: 7px; font-size: 20px; }
  .verified-message-note { display: none; }
  .conversation { flex: 0 0 270px; border-right: 1px solid var(--line); border-bottom: 0; }
  .chat-pane { min-height: 680px; }
  .parts-buying-guide, .recommended-grid { grid-template-columns: 1fr; }
  .parts-page-hero h1, .recommendations-hero h1 { font-size: 48px; }
  .parts-page-hero .button, .recommendations-hero .button { width: 100%; }
  .fitment-plain-language { grid-template-columns: 1fr; }
  .admin-report-row { grid-template-columns: auto 1fr; }
  .admin-report-actions { grid-column: 1/-1; flex-wrap: wrap; }
  .admin-modal-item { grid-template-columns: auto 1fr auto; }
  .admin-modal-item > .button { grid-column: 2/-1; }
}

@media (max-width: 680px) {
  .membership-actions, .danger-zone, .modal-actions { align-items: stretch; flex-direction: column; }
  .membership-actions .button, .danger-zone > .button, .modal-actions .button { width: 100%; }
  .affiliate-editor-layout { grid-template-columns: 1fr; }
  .affiliate-image-upload > span { max-height: 220px; }
  .affiliate-editor-footer { align-items: stretch; flex-direction: column; }
  .affiliate-manager-row { grid-template-columns: 64px minmax(0,1fr) auto; }
  .affiliate-manager-row > img { width: 64px; height: 52px; }
  .affiliate-manager-row > a { display: none; }
  .affiliate-manager-row > .button { grid-column: 2; }
  .easy-fitment-stage { height: 350px; }
  .easy-limit.inside { left: 5%; }
  .easy-limit.outside { right: 5%; }
  .easy-direction.inside { left: 11%; }
  .easy-direction.outside { right: 11%; }
  .fitment-answer-grid { grid-template-columns: 1fr; }
  .fitment-answer { grid-template-columns: 40px 1fr; }
  .fitment-answer > span { width: 40px; height: 40px; }
  .easy-fitment-key { align-items: flex-start; flex-direction: column; gap: 7px; }
  .storefront-directory-hero .container { min-height: 430px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 28px; }
  .storefront-directory-hero h1, .about-hero h1 { font-size: 48px; }
  .directory-summary { width: auto; height: auto; display: flex; gap: 9px; padding: 12px 16px; border-radius: 999px; }
  .directory-summary strong { margin: 0; font-size: 22px; }
  .directory-toolbar { align-items: stretch; flex-direction: column; }
  .directory-toolbar label { grid-template-columns: 1fr; }
  .storefront-card-actions, .profile-actions, .cookie-actions { align-items: stretch; flex-direction: column; }
  .storefront-card-actions .button, .profile-actions .button, .cookie-actions .button { width: 100%; }
  .about-hero .container { min-height: 620px; grid-template-columns: 1fr; gap: 25px; padding-block: 60px; }
  .about-wheel-mark { width: 160px; height: 160px; }
  .fitment-simple-numbers { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 24px; }
  .about-values { grid-template-columns: 1fr; }
  .about-values article { min-height: 210px; }
  .about-europe { align-items: stretch; flex-direction: column; }
  .legal-hero .container { min-height: 390px; }
  .legal-contact { grid-template-columns: auto 1fr; }
  .legal-contact .button { grid-column: 1/-1; }
  .cookie-choice { grid-template-columns: 40px minmax(0,1fr) auto; padding: 16px; }
  .cookie-choice > span { width: 40px; height: 40px; }
}

/* Phone-first stabilization pass */
@media (max-width: 760px) {
  html, body { max-width: 100%; overflow-x: clip; }
  main, section, article, aside, form, fieldset, .container, .panel { min-width: 0; }
  img, video, canvas { max-width: 100%; }
  button, a, input, select, textarea { touch-action: manipulation; }
  input, select, textarea { max-width: 100%; font-size: 16px; }
  h1, h2, h3, p, a, button, label, span { overflow-wrap: anywhere; }
  .site-header { backdrop-filter: none; }
  .header-actions { gap: 7px; }
  .mobile-menu-button, .header-quick-auth { min-width: 40px; min-height: 40px; }
  .site-header.mobile-open .main-nav { overscroll-behavior: contain; padding-bottom: max(30px, env(safe-area-inset-bottom)); }
  .site-header.mobile-open .main-nav .nav-link { min-height: 44px; display: flex; align-items: center; }
  .page-hero h1, .parts-page-hero h1, .recommendations-hero h1,
  .storefront-directory-hero h1, .about-hero h1, .legal-hero h1 { font-size: clamp(38px,12vw,52px); }
  .page-hero p, .parts-page-hero p, .recommendations-hero p,
  .storefront-directory-hero p, .about-hero p, .legal-hero p { font-size: 14px; }
  .action-row, .directory-toolbar, .results-toolbar, .toolbar-actions { min-width: 0; flex-wrap: wrap; }
  .forum-toolbar { padding-inline: 10px; }
  .forum-categories { margin-inline: -10px; padding-inline: 10px; scroll-padding-inline: 10px; }
  .forum-category { min-height: 40px; }
  .thread-post > div { min-width: 0; padding: 17px 14px; }
  .thread-post footer { flex-wrap: wrap; }
  .thread-post footer button { min-height: 42px; }
  .listing-hover-details { display: none; }
  .listing-card:hover .listing-image,.listing-card:focus-within .listing-image { transform: none; filter: none; }
  .listing-photo-gallery { margin-inline: -12px; border-inline: 0; border-radius: 0; box-shadow: none; }
  .listing-photo-stage { height: min(78vw,430px); min-height: 280px; }
  .listing-photo-arrow { width: 42px; height: 42px; }
  .listing-photo-arrow.previous { left: 9px; }
  .listing-photo-arrow.next { right: 9px; }
  .listing-photo-counter { left: 10px; top: 10px; }
  .listing-photo-open { right: 10px; bottom: 10px; }
  .listing-photo-swipe { left: 10px; bottom: 12px; transform: none; }
  .listing-photo-thumbnails { height: 80px; justify-content: flex-start; padding: 8px 10px; }
  .listing-photo-thumbnails button { flex-basis: 82px; }
  .dashboard-nav, .legal-layout > nav, .storefront-nav .container, .wizard-progress { overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .table-scroll { width: 100%; max-width: calc(100vw - 24px); overscroll-behavior-inline: contain; }
  .modal-layer { align-items: end; padding: 0; }
  .modal:not(.build-lightbox) { width: 100%; max-height: 94dvh; border-radius: 18px 18px 0 0; }
  .modal-header { padding: 17px 16px; }
  .modal-body { padding: 18px 16px max(22px, env(safe-area-inset-bottom)); }
  .easy-fitment-stage, .fitment-stage { max-width: 100%; }
  .fitment-answer, .fitment-answer-grid article { min-width: 0; }
  .cookie-actions, .membership-actions, .danger-zone, .modal-actions { gap: 10px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .logo { gap: 7px; font-size: 17px; }
  .logo-mark { width: 36px; height: 36px; }
  .header-inner { gap: 7px; }
  .header-quick-auth, .mobile-menu-button { width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
  .hero h1 { font-size: clamp(40px,13vw,50px); }
  .hero-search { grid-template-columns: minmax(0,1fr) 48px; }
  .section-title { font-size: clamp(31px,10vw,38px); }
  .parts-grid.home-parts-grid, .parts-grid { grid-template-columns: 1fr; }
  .part-category-card { min-height: 230px; }
  .results-grid .listing-card, .results-grid.list-view .listing-card { display: block; min-height: 0; }
  .results-grid .listing-image-wrap, .results-grid.list-view .listing-image-wrap { min-height: 0; aspect-ratio: 4 / 3; }
  .results-grid .listing-body, .results-grid.list-view .listing-body { padding: 16px; }
  .listing-detail-title { font-size: clamp(34px,11vw,43px); }
  .gallery { grid-template-rows: 270px; }
  .fitment-hero h1, .forum-hero h1, .build-winner-hero h1 { font-size: clamp(39px,12vw,48px); }
  .fitment-stage, .easy-fitment-stage { height: 330px; }
  .fitment-metrics, .spec-grid { grid-template-columns: 1fr 1fr; }
  .fitment-simple-numbers { margin-inline: 12px; }
  .forum-thread { grid-template-columns: 42px minmax(0,1fr); gap: 11px; padding: 13px 11px; }
  .forum-thread-avatar { width: 42px; height: 42px; }
  .forum-thread h2 { font-size: 16px; }
  .forum-thread-stats { grid-column: 1 / -1; }
  .build-gallery { min-height: 320px; grid-template-rows: 248px 72px; }
  .build-gallery-main, .build-gallery-main > img { min-height: 248px; }
  .build-lightbox-header { grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 11px 10px 11px 14px; }
  .build-lightbox-header > strong { display: none; }
  .build-lightbox-stage { height: calc(100dvh - 148px); min-height: 0; padding: 10px; }
  .wizard-footer { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
  .wizard-footer .button { width: 100%; }
  .choice-grid, .stat-grid { grid-template-columns: 1fr; }
  .auth-story { display: none; }
  .auth-panel { width: 100%; padding: 30px 16px max(42px, env(safe-area-inset-bottom)); }
  .auth-panel h2 { font-size: 32px; }
  .auth-tabs { margin-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { margin-top: 32px; line-height: 1.7; }
  .cookie-choice { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
  .cookie-choice > span { width: 38px; height: 38px; }
  .cookie-choice > label, .cookie-choice > .cookie-switch { grid-column: 2; justify-self: start; }
  .cookie-choice h2 { font-size: 16px; }
  .directory-summary { max-width: 100%; }
  .storefront-card-body dl { justify-content: space-between; gap: 12px; }
  .legal-contact { padding: 15px; }
  .admin-data-card, .admin-modal-item { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
