:root {
  --wheel-bg: #f4f5f2;
  --wheel-paper: rgba(255, 255, 255, .76);
  --wheel-white: #fff;
  --wheel-ink: #202a32;
  --wheel-muted: #5d6870;
  --wheel-faint: #8b9599;
  --wheel-amber: #cf861f;
  --wheel-deep: #9d5f12;
  --wheel-line: rgba(95, 111, 116, .2);
  --wheel-shadow: 0 20px 52px rgba(43, 53, 55, .09);
  --wheel-tech: "Chakra Petch", "Noto Sans SC", sans-serif;
  --wheel-body: "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.wheels-page,
body.wheel-detail-page,
body.wheel-compat-page {
  min-height: 100vh;
  margin: 0;
  color: var(--wheel-ink);
  background:
    radial-gradient(1100px 620px at 82% 12%, rgba(207, 134, 31, .1), transparent 62%),
    radial-gradient(900px 720px at 8% 80%, rgba(128, 164, 176, .14), transparent 64%),
    linear-gradient(160deg, #fff 0%, var(--wheel-bg) 58%);
  font-family: var(--wheel-body);
}

body.wheels-page::before,
body.wheel-detail-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(95, 111, 116, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 111, 116, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, #000 18%, transparent 82%);
}

body.wheels-page a,
body.wheel-detail-page a { color: inherit; }

.wheel-page-container,
.wheel-detail-container {
  width: min(1440px, calc(100% - clamp(40px, 8vw, 112px)));
  margin-inline: auto;
}

.wheel-compat { width: min(720px, calc(100% - 40px)); min-height: 65vh; margin: 0 auto; padding: clamp(100px, 15vw, 180px) 0; }
.wheel-compat h1 { margin: 0 0 17px; font: 700 clamp(2.8rem, 6vw, 5.5rem)/.92 var(--wheel-tech); letter-spacing: -.05em; }
.wheel-compat p:not(.wheel-eyebrow) { max-width: 54ch; margin: 0 0 24px; color: var(--wheel-muted); font-size: .9rem; line-height: 1.8; }

.wheel-eyebrow {
  margin: 0 0 14px;
  color: var(--wheel-deep);
  font: 600 .66rem/1.2 var(--wheel-tech);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.wheel-eyebrow::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 9px 1px 0;
  border-radius: 50%;
  background: var(--wheel-amber);
  box-shadow: 0 0 10px rgba(207, 134, 31, .5);
  content: "";
}

.wheel-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(157, 95, 18, .3);
  border-radius: 2px;
  font: 600 .69rem/1.2 var(--wheel-tech);
  letter-spacing: .08em;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .3s ease, background .25s ease;
}

.wheel-button:hover { transform: translateY(-2px); }

.wheel-button--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--wheel-amber), var(--wheel-deep));
  box-shadow: 0 10px 24px rgba(157, 95, 18, .16);
}

.wheel-button--secondary {
  color: var(--wheel-ink) !important;
  background: rgba(255, 255, 255, .58);
}

.wheel-button:focus-visible,
.wheel-card a:focus-visible,
.wheel-gallery-thumb:focus-visible,
.wheel-related-card:focus-visible {
  outline: 2px solid var(--wheel-amber);
  outline-offset: 3px;
}
.wheel-choice:focus-within,
.wheel-finish-choice:focus-within { outline: none; }
.wheel-choice:has(input:focus-visible),
.wheel-finish-choice:has(input:focus-visible) { outline: 2px solid var(--wheel-amber); outline-offset: 3px; }

/* Product listing */
.wheel-list-main { padding: clamp(20px, 3vw, 36px) 0 100px; }

.wheel-list-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr); align-items: center; gap: clamp(36px, 7vw, 108px); min-height: 440px; }
.wheel-list-hero h1 { max-width: 820px; margin: 0 0 20px; font: 700 clamp(3.2rem, 7.4vw, 7.4rem)/1.02 var(--wheel-tech); letter-spacing: -.055em; }
.wheel-list-hero h1 em { color: var(--wheel-deep); font-style: normal; }
.wheel-list-hero-lede { max-width: 630px; margin: 0; color: var(--wheel-muted); font-size: 1rem; font-weight: 300; line-height: 1.85; }
.wheel-list-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.wheel-list-visual { position: relative; display: grid; min-height: 330px; place-items: center; overflow: hidden; }
.wheel-list-visual img { display: block; width: 122%; height: 122%; object-fit: contain; transform: translateX(-8%); filter: drop-shadow(0 26px 24px rgba(43, 53, 55, .14)); }

.wheel-search-panel { position: relative; z-index: 2; margin-top: 26px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .68); box-shadow: var(--wheel-shadow); }
.wheel-search-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.wheel-search-heading h2 { margin: 0; font: 700 clamp(1.8rem, 3.2vw, 2.8rem)/1 var(--wheel-tech); letter-spacing: -.03em; }
.wheel-search-heading p { max-width: 420px; margin: 0; color: var(--wheel-muted); font-size: .82rem; line-height: 1.7; }
.wheel-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.wheel-search-input { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-ink); background: rgba(244, 245, 242, .76); font: 400 .86rem var(--wheel-body); }
.wheel-search-input:focus,
.wheel-vehicle-grid input:focus,
.wheel-vehicle-grid select:focus,
.wheel-filter input:focus,
.wheel-fitment-form input:focus,
.wheel-fitment-form select:focus,
.wheel-inquiry-form input:focus,
.wheel-inquiry-form textarea:focus { outline: 2px solid rgba(207, 134, 31, .34); outline-offset: 1px; }
.wheel-vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; margin-top: 12px; }
.wheel-vehicle-grid label,
.wheel-filter legend,
.wheel-fitment-form label,
.wheel-inquiry-form label { display: grid; gap: 7px; color: var(--wheel-deep); font: 600 .61rem/1.2 var(--wheel-tech); letter-spacing: .13em; text-transform: uppercase; }
.wheel-vehicle-grid input,
.wheel-vehicle-grid select { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-ink); background: rgba(255, 255, 255, .58); font: 400 .78rem var(--wheel-body); }
.wheel-vehicle-button { min-height: 43px; align-self: end; border: 1px solid rgba(157, 95, 18, .3); border-radius: 2px; color: #fff; background: var(--wheel-deep); font: 600 .64rem var(--wheel-tech); letter-spacing: .09em; cursor: pointer; }
.wheel-vehicle-active { display: none; margin: 12px 0 0; color: var(--wheel-muted); font-size: .74rem; }
.wheel-vehicle-active.is-visible { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wheel-vehicle-active button { border: 0; color: var(--wheel-deep); background: transparent; font: 600 .64rem var(--wheel-tech); letter-spacing: .08em; cursor: pointer; }

.wheel-catalog { padding-top: clamp(72px, 9vw, 120px); }
.wheel-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.wheel-catalog-head h2 { margin: 0; font: 700 clamp(2.1rem, 4vw, 3.8rem)/1 var(--wheel-tech); letter-spacing: -.04em; }
.wheel-catalog-head p { max-width: 420px; margin: 0; color: var(--wheel-muted); font-size: .84rem; line-height: 1.75; }
.wheel-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 12px 14px; border-block: 1px solid var(--wheel-line); }
.wheel-result-summary { color: var(--wheel-muted); font: 500 .66rem var(--wheel-tech); letter-spacing: .11em; text-transform: uppercase; }
.wheel-sort { display: flex; align-items: center; gap: 8px; color: var(--wheel-muted); font: 500 .62rem var(--wheel-tech); letter-spacing: .08em; text-transform: uppercase; }
.wheel-sort select { min-height: 34px; padding: 6px 10px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-ink); background: rgba(255, 255, 255, .64); font: 400 .7rem var(--wheel-body); }
.wheel-active-filters { display: flex; min-height: 36px; flex-wrap: wrap; align-content: flex-start; gap: 7px; margin-bottom: 22px; }
.wheel-filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 9px; border: 1px solid rgba(157, 95, 18, .26); border-radius: 999px; color: var(--wheel-deep); background: rgba(207, 134, 31, .08); font: 500 .62rem var(--wheel-tech); letter-spacing: .04em; }
.wheel-filter-chip button { display: grid; width: 16px; height: 16px; place-items: center; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.wheel-filter-clear { display: none; align-items: center; min-height: 28px; padding: 5px 10px; border: 0; color: var(--wheel-muted); background: transparent; font: 500 .62rem var(--wheel-tech); cursor: pointer; }
.wheel-filter-clear.is-visible { display: inline-flex; }
.wheel-catalog-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: start; gap: clamp(24px, 3.7vw, 56px); }
.wheel-filters { position: sticky; top: 112px; padding: 20px 18px; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .48); }
.wheel-filters-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wheel-filters-heading strong { font: 600 .72rem var(--wheel-tech); letter-spacing: .14em; }
.wheel-filters-heading span { color: var(--wheel-faint); font: 500 .57rem var(--wheel-tech); letter-spacing: .1em; }
.wheel-filter { margin: 0; padding: 0 0 17px; border: 0; border-bottom: 1px solid var(--wheel-line); }
.wheel-filter + .wheel-filter { margin-top: 17px; }
.wheel-filter > summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--wheel-deep); font: 600 .61rem/1.2 var(--wheel-tech); letter-spacing: .13em; cursor: pointer; list-style: none; }
.wheel-filter > summary::-webkit-details-marker { display: none; }
.wheel-filter > summary::after { color: var(--wheel-faint); content: ""; }
.wheel-filter > summary span { flex: 0 0 auto; margin-left: auto; color: var(--wheel-faint); font-size: .78rem; line-height: 1; transform: rotate(0); transition: transform .2s ease; }
.wheel-filter:not([open]) > summary { margin-bottom: 0; }
.wheel-filter:not([open]) > summary span { transform: rotate(-90deg); }
.wheel-filter-options { display: grid; gap: 8px; }
.wheel-range-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.wheel-range-inputs label { gap: 5px; color: var(--wheel-faint); font-size: .52rem; letter-spacing: .08em; }
.wheel-range-inputs input { width: 100%; min-height: 34px; padding: 7px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-ink); background: rgba(255, 255, 255, .58); font: 400 .7rem var(--wheel-body); }
.wheel-filter-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--wheel-muted); font-size: .72rem; letter-spacing: .02em; cursor: pointer; }
.wheel-filter-option span { display: flex; align-items: center; gap: 8px; }
.wheel-filter-option input { accent-color: var(--wheel-deep); }
.wheel-filter-option small { color: var(--wheel-faint); font: 500 .58rem var(--wheel-tech); }
.wheel-filter-note { margin: 15px 0 0; color: var(--wheel-faint); font-size: .68rem; line-height: 1.65; }
.wheel-filter-submit { display: none; }
.wheel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wheel-card { min-width: 0; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .7); box-shadow: 0 12px 34px rgba(43, 53, 55, .04); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.wheel-card:hover { border-color: rgba(157, 95, 18, .42); box-shadow: 0 24px 44px rgba(43, 53, 55, .11); transform: translateY(-5px); }
.wheel-card[hidden] { display: none; }
.wheel-card-media { position: relative; display: grid; aspect-ratio: 1 / .88; place-items: center; overflow: hidden; border-bottom: 1px solid var(--wheel-line); background: linear-gradient(145deg, #e9eeeb, #fff); text-decoration: none; }
.wheel-card-media::before { position: absolute; inset: 12%; border: 1px solid rgba(207, 134, 31, .16); border-radius: 50%; content: ""; }
.wheel-card-media img { position: relative; z-index: 1; display: block; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(43, 53, 55, .16)); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.wheel-card:hover .wheel-card-media img { transform: scale(1.06); }
.wheel-card-badge,
.wheel-card-index { position: absolute; z-index: 2; top: 12px; color: var(--wheel-deep); font: 600 .56rem var(--wheel-tech); letter-spacing: .12em; }
.wheel-card-badge { left: 12px; }
.wheel-card-index { right: 12px; color: var(--wheel-faint); }
.wheel-card-view { position: absolute; right: 12px; bottom: 10px; z-index: 2; color: var(--wheel-deep); font: 600 .58rem var(--wheel-tech); letter-spacing: .08em; opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .3s; }
.wheel-card:hover .wheel-card-view { opacity: 1; transform: translateY(0); }
.wheel-card-body { padding: 17px 16px 14px; }
.wheel-card-series { margin: 0 0 7px; color: var(--wheel-deep); font: 600 .58rem var(--wheel-tech); letter-spacing: .13em; }
.wheel-card h2 { margin: 0 0 8px; font: 600 1.2rem/1.15 var(--wheel-tech); letter-spacing: -.02em; }
.wheel-card h2 a { text-decoration: none; }
.wheel-card-description { min-height: 45px; margin: 0; color: var(--wheel-muted); font-size: .73rem; line-height: 1.6; }
.wheel-card-meta,
.wheel-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wheel-card-meta { margin-top: 13px; color: var(--wheel-muted); font: 500 .59rem var(--wheel-tech); letter-spacing: .06em; text-transform: uppercase; }
.wheel-card-meta span { padding-right: 7px; border-right: 1px solid var(--wheel-line); }
.wheel-card-meta span:last-child { border-right: 0; }
.wheel-card-finishes { display: flex; align-items: center; gap: 5px; margin-top: 14px; }
.wheel-card-finishes span { width: 13px; height: 13px; border: 1px solid rgba(95, 111, 116, .28); border-radius: 50%; background: #24282c; }
.wheel-card-finishes span:nth-child(2) { background: #c5c8c5; }
.wheel-card-finishes span:nth-child(3) { background: #8b5a2b; }
.wheel-card-finishes span:nth-child(4) { background: #737b7a; }
.wheel-card-finishes .color-black { background: #24282c; }
.wheel-card-finishes .color-gunmetal { background: linear-gradient(135deg, #929a99, #3d4545); }
.wheel-card-finishes .color-silver, .wheel-card-finishes .color-machined-silver { background: linear-gradient(135deg, #f0f2ef, #a7afac); }
.wheel-card-finishes .color-bronze { background: linear-gradient(135deg, #c08c4c, #68431e); }
.wheel-card-finishes .color-white { background: #f4f5f1; }
.wheel-card-finishes small { margin-left: 3px; color: var(--wheel-faint); font-size: .61rem; }
.wheel-card-tags { margin-top: 13px; }
.wheel-card-tags span { padding: 4px 6px; border: 1px solid var(--wheel-line); color: var(--wheel-faint); font: 500 .55rem var(--wheel-tech); letter-spacing: .06em; }
.wheel-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--wheel-line); }
.wheel-card-footer > span { color: var(--wheel-faint); font-size: .62rem; }
.wheel-card-footer a { color: var(--wheel-deep); font: 600 .62rem var(--wheel-tech); letter-spacing: .05em; text-decoration: none; white-space: nowrap; }
.wheel-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.wheel-pagination button { min-width: 40px; min-height: 36px; padding: 7px 11px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-muted); background: rgba(255, 255, 255, .66); font: 500 .65rem var(--wheel-tech); cursor: pointer; }
.wheel-pagination button.is-active { border-color: transparent; color: #fff; background: var(--wheel-deep); }
.wheel-pagination button:disabled { cursor: default; opacity: .45; }
.wheel-empty { display: none; margin-top: 18px; padding: clamp(28px, 4vw, 46px); border: 1px dashed rgba(157, 95, 18, .4); background: rgba(207, 134, 31, .06); }
.wheel-empty.is-visible { display: block; }
.wheel-empty h3 { margin: 0 0 10px; font: 700 1.7rem/1.1 var(--wheel-tech); }
.wheel-empty p { max-width: 54ch; margin: 0 0 18px; color: var(--wheel-muted); font-size: .84rem; line-height: 1.75; }

/* Shared inquiry block */
.wheel-inquiry { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(26px, 5vw, 76px); align-items: stretch; margin-top: clamp(78px, 10vw, 132px); padding: clamp(28px, 4vw, 54px); border: 1px solid var(--wheel-line); background: linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(226, 232, 229, .42)); box-shadow: var(--wheel-shadow); }
.wheel-inquiry--compact { margin-top: 26px; }
.wheel-inquiry-copy h2 { max-width: 13ch; margin: 0 0 17px; font: 700 clamp(2rem, 4vw, 3.5rem)/.98 var(--wheel-tech); letter-spacing: -.04em; }
.wheel-inquiry-copy > p:not(.wheel-eyebrow) { max-width: 45ch; margin: 0; color: var(--wheel-muted); font-size: .84rem; line-height: 1.8; }
.wheel-inquiry-copy ul { display: grid; gap: 8px; margin: 24px 0; padding: 0; list-style: none; color: var(--wheel-muted); font-size: .75rem; }
.wheel-inquiry-copy li::before { margin-right: 8px; color: var(--wheel-amber); content: "✓"; }
.wheel-inquiry-contact { display: grid; gap: 7px; padding-top: 17px; border-top: 1px solid var(--wheel-line); color: var(--wheel-faint); font: 500 .61rem var(--wheel-tech); letter-spacing: .1em; }
.wheel-inquiry-contact a { color: var(--wheel-deep); text-decoration: none; }
.wheel-inquiry-form { position: relative; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .78); box-shadow: 0 14px 34px rgba(43, 53, 55, .06); }
.wheel-form-heading { display: grid; gap: 7px; padding-bottom: 17px; border-bottom: 1px solid var(--wheel-line); }
.wheel-form-heading span { color: var(--wheel-deep); font: 600 .6rem var(--wheel-tech); letter-spacing: .15em; }
.wheel-form-heading strong { font: 600 1rem/1.35 var(--wheel-tech); }
.wheel-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.wheel-inquiry-form label { color: var(--wheel-muted); font-size: .59rem; }
.wheel-inquiry-form label span { color: var(--wheel-deep); }
.wheel-inquiry-form label i { color: var(--wheel-amber); font-style: normal; }
.wheel-inquiry-form input,
.wheel-inquiry-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-ink); background: rgba(244, 245, 242, .68); font: 400 .78rem var(--wheel-body); }
.wheel-inquiry-form textarea { min-height: 116px; resize: vertical; }
.wheel-form-full { grid-column: 1 / -1; }
.wheel-inquiry-form .wheel-button { margin-top: 18px; border: 0; cursor: pointer; }
.wheel-form-note { margin: 13px 0 0; color: var(--wheel-faint); font-size: .64rem; line-height: 1.6; }
.wheel-form-status { min-height: 18px; margin: 9px 0 0; color: var(--wheel-deep); font-size: .68rem; }

/* Detail page */
.wheel-detail-main { padding: 0 0 100px; }
.wheel-detail-wrap { animation: wheel-detail-fade-in .7s cubic-bezier(.22, 1, .36, 1) both; }
.wheel-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding: 25px 0 0; color: var(--wheel-faint); font: 500 .59rem var(--wheel-tech); letter-spacing: .12em; }
.wheel-breadcrumbs a { color: var(--wheel-deep); text-decoration: none; }
.wheel-breadcrumbs strong { color: var(--wheel-ink); font-weight: 600; }
.wheel-detail-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); align-items: start; gap: clamp(38px, 7vw, 100px); min-height: clamp(620px, 78vh, 780px); padding-top: 26px; }
.wheel-gallery-main { position: relative; display: grid; min-height: 580px; place-items: center; overflow: visible; border: 0; background: transparent; }
.wheel-gallery-main::before, .wheel-gallery-main::after { display: none; }
.wheel-gallery-main img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; margin: 0 auto; object-fit: contain; object-position: center center; filter: drop-shadow(0 26px 24px rgba(43, 53, 55, .22)); animation: wheel-detail-image-in .9s .1s cubic-bezier(.22, 1, .36, 1) both; }
.wheel-gallery { position: sticky; top: 88px; align-self: start; }
.wheel-gallery-label, .wheel-gallery-index { position: absolute; z-index: 2; color: var(--wheel-faint); font: 500 .57rem var(--wheel-tech); letter-spacing: .15em; }
.wheel-gallery-label { top: 18px; left: 20px; }
.wheel-gallery-index { right: 20px; bottom: 18px; }
.wheel-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.wheel-gallery-thumb { display: grid; width: 72px; height: 62px; min-width: 0; min-height: 0; place-items: center; justify-items: center; align-items: center; overflow: hidden; padding: 5px; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .6); cursor: pointer; }
.wheel-gallery-thumb.is-active { border-color: var(--wheel-amber); }
.wheel-gallery-thumb img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; object-position: center center; }
.wheel-detail-summary { padding-top: clamp(24px, 5vw, 72px); animation: wheel-detail-slide-in .7s .18s cubic-bezier(.22, 1, .36, 1) both; }
.wheel-detail-summary h1 { max-width: 610px; margin: 0 0 21px; font: 700 clamp(2.25rem, 3.45vw, 3.7rem)/1.02 var(--wheel-tech); letter-spacing: -.04em; overflow-wrap: anywhere; }
.wheel-detail-summary h1 > span { display: block; white-space: nowrap; font-size: .62em; letter-spacing: -.02em; }
.wheel-detail-summary h1 em { display: block; color: var(--wheel-deep); font-style: normal; }
.wheel-detail-summary h1 em span { display: block; }
.wheel-detail-context { margin: -10px 0 18px; color: var(--wheel-muted); font: 500 .78rem/1.4 var(--wheel-tech); letter-spacing: .04em; }
.wheel-detail-lede { max-width: 560px; margin: 0; color: var(--wheel-muted); font-size: 1rem; line-height: 1.82; }
.wheel-detail-flags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.wheel-detail-flags span { padding: 6px 8px; border: 1px solid var(--wheel-line); color: var(--wheel-muted); font: 500 .58rem var(--wheel-tech); letter-spacing: .08em; text-transform: uppercase; }
.wheel-selector { display: grid; gap: 17px; margin-top: 29px; }
.wheel-selector fieldset { margin: 0; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--wheel-line); }
.wheel-selector legend { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 10px; color: var(--wheel-deep); font: 600 .62rem var(--wheel-tech); letter-spacing: .14em; }
.wheel-selector legend strong { color: var(--wheel-ink); font-weight: 500; letter-spacing: .02em; text-transform: none; }
.wheel-choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.wheel-choice { position: relative; cursor: pointer; }
.wheel-choice input,
.wheel-finish-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wheel-choice span { display: grid; min-width: 52px; min-height: 36px; place-items: center; padding: 7px 10px; border: 1px solid var(--wheel-line); color: var(--wheel-muted); background: rgba(255, 255, 255, .54); font: 500 .66rem var(--wheel-tech); }
.wheel-choice.is-selected span { border-color: var(--wheel-deep); color: var(--wheel-deep); background: rgba(207, 134, 31, .09); }
.wheel-color-option { display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; }
.wheel-color-swatch { width: 13px; height: 13px; flex: 0 0 auto; border: 1px solid rgba(95, 111, 116, .34); border-radius: 50%; background: #24282c; }
.wheel-color-swatch.color-black { background: #24282c; }
.wheel-color-swatch.color-gunmetal { background: linear-gradient(135deg, #929a99, #3d4545); }
.wheel-color-swatch.color-silver { background: linear-gradient(135deg, #f5f6f3, #a7afac); }
.wheel-color-swatch.color-gray, .wheel-color-swatch.color-grey { background: #7d8584; }
.wheel-color-swatch.color-gold { background: linear-gradient(135deg, #f0c766, #a96d12); }
.wheel-color-swatch.color-bronze { background: linear-gradient(135deg, #c08c4c, #68431e); }
.wheel-color-swatch.color-white { background: #f4f5f1; }
.wheel-color-swatch.color-blue { background: #3979b9; }
.wheel-color-swatch.color-red { background: #b9433f; }
.wheel-color-swatch.color-green { background: #4e8a63; }
.wheel-color-swatch.color-purple { background: #805a9a; }
.wheel-custom-input { width: 64px; height: 36px; min-height: 36px; padding: 0 10px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-muted); background: rgba(255, 255, 255, .54); font: 500 .66rem var(--wheel-tech); letter-spacing: 0; text-align: center; outline: none; cursor: pointer; transition: width .25s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.wheel-custom-input.selected { border-color: var(--wheel-deep); color: var(--wheel-deep); background: rgba(207, 134, 31, .09); }
.wheel-custom-input.editing { width: 230px; height: 36px; padding: 0 12px; border-color: #4d4d4d; color: #666; background: #f7f6f2; letter-spacing: .5px; text-align: left; cursor: text; }
.wheel-custom-input:focus { outline: 2px solid rgba(207, 134, 31, .34); outline-offset: 1px; }
.wheel-custom-input::selection { background: #e5d5b4; }
.wheel-finish-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wheel-finish-choice { display: flex; min-height: 40px; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--wheel-line); color: var(--wheel-muted); font-size: .68rem; cursor: pointer; }
.wheel-finish-choice.is-selected { border-color: var(--wheel-deep); color: var(--wheel-deep); background: rgba(207, 134, 31, .08); }
.wheel-finish-choice--custom { border-style: dashed; color: #8d9694; background: rgba(224, 228, 225, .62); cursor: not-allowed; }
.wheel-finish-choice small { margin-left: auto; color: var(--wheel-faint); font-size: .58rem; }
.finish-swatch { width: 17px; height: 17px; flex: 0 0 auto; border: 1px solid rgba(95, 111, 116, .3); border-radius: 50%; background: #24282c; }
.finish-swatch--custom { background: #aeb6b3; opacity: .68; }
.finish-swatch[class*="silver"], .finish-swatch[class*="machined"], .finish-swatch[class*="brushed"], .finish-swatch[class*="diamond"] { background: linear-gradient(135deg, #e7e9e5, #8e9692); }
.finish-swatch[class*="bronze"] { background: linear-gradient(135deg, #c08c4c, #68431e); }
.finish-swatch[class*="gunmetal"], .finish-swatch[class*="grey"] { background: linear-gradient(135deg, #9aa2a1, #454d4d); }
.finish-swatch[class*="two-tone"] { background: linear-gradient(135deg, #e7e9e5 0 48%, #24282c 52%); }
.finish-swatch.color-black { background: #24282c; }
.finish-swatch.color-gunmetal { background: linear-gradient(135deg, #929a99, #3d4545); }
.finish-swatch.color-silver, .finish-swatch.color-machined-silver { background: linear-gradient(135deg, #f0f2ef, #a7afac); }
.finish-swatch.color-bronze { background: linear-gradient(135deg, #c08c4c, #68431e); }
.finish-swatch.color-white { background: #f4f5f1; }
.wheel-fitment-brief { margin-top: 21px; padding: 13px 14px; border: 1px solid rgba(207, 134, 31, .25); background: rgba(207, 134, 31, .07); }
.wheel-fitment-brief > div { display: flex; align-items: center; gap: 7px; color: var(--wheel-deep); font: 600 .57rem var(--wheel-tech); letter-spacing: .13em; }
.wheel-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wheel-amber); }
.wheel-fitment-brief strong { display: block; margin-top: 8px; font: 600 .82rem var(--wheel-tech); }
.wheel-fitment-brief p { margin: 5px 0 0; color: var(--wheel-muted); font-size: .68rem; line-height: 1.55; }
.wheel-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.wheel-quick-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: clamp(28px, 4vw, 58px); border-block: 1px solid var(--wheel-line); }
.wheel-quick-specs > div { display: grid; gap: 6px; padding: 21px 24px 23px 0; }
.wheel-quick-specs > div { animation: wheel-detail-slide-in .55s cubic-bezier(.22, 1, .36, 1) both; }
.wheel-quick-specs > div:nth-child(1) { animation-delay: .32s; }
.wheel-quick-specs > div:nth-child(2) { animation-delay: .39s; }
.wheel-quick-specs > div:nth-child(3) { animation-delay: .46s; }
.wheel-quick-specs > div:nth-child(4) { animation-delay: .53s; }
.wheel-quick-specs > div:nth-child(5) { animation-delay: .60s; }
.wheel-quick-specs > div + div { padding-left: 24px; border-left: 1px solid var(--wheel-line); }
.wheel-quick-spec-card { display: grid !important; grid-template-columns: 1fr 1fr; align-items: stretch; min-width: 0; }
.wheel-quick-spec-copy { display: grid; gap: 6px; align-content: start; min-width: 0; }
.wheel-quick-specs span { color: var(--wheel-faint); font: 500 .55rem var(--wheel-tech); letter-spacing: .1em; }
.wheel-quick-spec-icon-box { display: grid; width: 100%; aspect-ratio: 1; place-items: center; color: var(--wheel-amber); background: transparent; }
.wheel-quick-spec-icon { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.wheel-quick-spec-icon--size { fill: currentColor; stroke: none; }
.wheel-quick-specs strong { font: 600 1.02rem/1.2 var(--wheel-tech); }
.wheel-quick-specs small { color: var(--wheel-faint); font-size: .66rem; }
.wheel-detail-section { padding: clamp(80px, 10vw, 136px) 0; border-bottom: 1px solid var(--wheel-line); }
.wheel-section-heading { max-width: 690px; }
.wheel-section-heading h2 { margin: 0 0 15px; font: 700 clamp(2.1rem, 4.2vw, 4.2rem)/.98 var(--wheel-tech); letter-spacing: -.045em; }
.wheel-section-heading > p:last-child { margin: 0; color: var(--wheel-muted); font-size: .88rem; line-height: 1.82; }
.wheel-fitment-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-top: 32px; padding: 20px; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .62); }
.wheel-fitment-form input,
.wheel-fitment-form select { width: 100%; min-height: 42px; padding: 10px; border: 1px solid var(--wheel-line); border-radius: 2px; color: var(--wheel-ink); background: rgba(244, 245, 242, .7); font: 400 .76rem var(--wheel-body); }
.wheel-fitment-form .wheel-button { min-height: 42px; border: 1px solid var(--wheel-line); cursor: pointer; }
.wheel-fitment-result { margin-top: 14px; padding: 16px 18px; border-left: 3px solid var(--wheel-amber); background: rgba(207, 134, 31, .07); }
.wheel-result-kicker { display: block; color: var(--wheel-faint); font: 600 .58rem var(--wheel-tech); letter-spacing: .15em; }
.wheel-result-kicker--review { color: var(--wheel-deep); }
.wheel-fitment-result strong { display: block; margin-top: 6px; font: 600 .98rem var(--wheel-tech); }
.wheel-fitment-result p { margin: 5px 0 0; color: var(--wheel-muted); font-size: .72rem; line-height: 1.65; }
.wheel-spec-layout { display: block; width: 100%; margin-top: 35px; }
.wheel-spec-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .63); }
.wheel-spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .76rem; }
.wheel-spec-table th, .wheel-spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--wheel-line); text-align: left; }
.wheel-spec-table tr:last-child th, .wheel-spec-table tr:last-child td { border-bottom: 0; }
.wheel-spec-table th { width: 18%; color: var(--wheel-deep); background: rgba(207, 134, 31, .06); font: 600 .62rem var(--wheel-tech); letter-spacing: .07em; text-transform: uppercase; }
.wheel-spec-table td { width: 32%; overflow-wrap: anywhere; }
.wheel-spec-table td { color: var(--wheel-muted); }
.wheel-spec-note { padding: 24px; border: 1px solid var(--wheel-line); background: linear-gradient(145deg, rgba(255, 255, 255, .74), rgba(226, 232, 229, .45)); }
.wheel-note-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(207, 134, 31, .42); color: var(--wheel-deep); font: 700 1.1rem var(--wheel-tech); }
.wheel-spec-note h3 { margin: 18px 0 9px; font: 600 1.35rem/1.1 var(--wheel-tech); }
.wheel-spec-note p { margin: 0 0 18px; color: var(--wheel-muted); font-size: .78rem; line-height: 1.75; }
.wheel-spec-note a { color: var(--wheel-deep); font: 600 .65rem var(--wheel-tech); letter-spacing: .07em; text-decoration: none; }
.wheel-design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 37px; }
.wheel-design-grid article { min-width: 0; }
.wheel-detail-art { display: grid; aspect-ratio: 1 / .72; place-items: center; overflow: hidden; border: 1px solid var(--wheel-line); background: linear-gradient(145deg, #e5ebe8, #fff); }
.wheel-detail-art img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(43, 53, 55, .16)); }
.wheel-detail-art--depth { background: linear-gradient(145deg, #dfe7e4, #f8faf7); }
.wheel-detail-art--depth img { transform: translateX(9%) scale(1.08); }
.wheel-detail-art--finish { background: linear-gradient(145deg, #f0ede5, #fff); }
.wheel-detail-art--finish img { filter: saturate(.58) contrast(1.08) drop-shadow(0 18px 18px rgba(43, 53, 55, .14)); }
.wheel-design-grid article > span { display: block; margin-top: 16px; color: var(--wheel-deep); font: 600 .58rem var(--wheel-tech); letter-spacing: .12em; }
.wheel-options-block { margin-top: 34px; }
.wheel-options-block h3 { margin: 0 0 13px; font: 600 1.3rem/1.1 var(--wheel-tech); }
.wheel-options-table-wrap { overflow-x: auto; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .63); }
.wheel-options-table-wrap .wheel-spec-table { min-width: 720px; }
.wheel-finish-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wheel-finish-record-grid article { display: grid; gap: 8px; padding: 17px; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .63); }
.wheel-finish-record-grid strong { font: 600 .88rem var(--wheel-tech); }
.wheel-finish-record-grid span, .wheel-finish-record-grid small { color: var(--wheel-muted); font-size: .7rem; line-height: 1.5; }
.wheel-finish-record-grid small { color: var(--wheel-deep); }
.wheel-design-grid h3 { margin: 8px 0 8px; font: 600 1.3rem/1.1 var(--wheel-tech); }
.wheel-design-grid p { margin: 0; color: var(--wheel-muted); font-size: .76rem; line-height: 1.7; }
.wheel-related-section { padding: clamp(78px, 9vw, 120px) 0 0; }
.wheel-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 33px; }
.wheel-related-card { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--wheel-line); background: rgba(255, 255, 255, .62); text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
.wheel-related-card:hover { border-color: rgba(157, 95, 18, .42); transform: translateY(-4px); }
.wheel-related-card img { width: 92px; height: 82px; object-fit: contain; }
.wheel-related-card span { display: grid; gap: 5px; min-width: 0; }
.wheel-related-card small { color: var(--wheel-deep); font: 500 .52rem var(--wheel-tech); letter-spacing: .08em; }
.wheel-related-card strong { font: 600 .88rem var(--wheel-tech); }
.wheel-related-card em { color: var(--wheel-muted); font: 500 .57rem var(--wheel-tech); font-style: normal; }

@keyframes wheel-detail-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wheel-detail-slide-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wheel-detail-image-in {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(-10px) scale(1); }
}

@media (max-width: 1180px) {
  .wheel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wheel-catalog-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .wheel-detail-hero { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 40px; }
  .wheel-gallery-main { min-height: 510px; }
  .wheel-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wheel-list-hero { grid-template-columns: 1fr; min-height: 0; }
  .wheel-list-visual { width: min(100%, 520px); min-height: 300px; margin-inline: auto; }
  .wheel-vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wheel-vehicle-button { min-height: 43px; }
  .wheel-catalog-layout { grid-template-columns: 1fr; }
  .wheel-filters { position: static; }
  .wheel-filter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wheel-filter-submit { display: inline-flex; margin-top: 15px; border: 0; cursor: pointer; }
  .wheel-detail-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; }
  .wheel-gallery { position: static; }
  .wheel-gallery-main { min-height: min(72vw, 640px); }
  .wheel-detail-summary { padding-top: 0; padding-bottom: 30px; }
  .wheel-fitment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wheel-fitment-form .wheel-button { grid-column: span 2; }
  .wheel-inquiry { grid-template-columns: 1fr; }
  .wheel-inquiry-copy h2 { max-width: none; }
}

@media (max-width: 640px) {
  .wheel-page-container,
  .wheel-detail-container { width: min(100% - 40px, 580px); }
  .wheel-list-main { padding-top: 24px; }
  .wheel-list-hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .wheel-search-heading,
  .wheel-catalog-head { display: block; }
  .wheel-search-heading p,
  .wheel-catalog-head p { margin-top: 12px; }
  .wheel-search-row { grid-template-columns: 1fr; }
  .wheel-vehicle-grid { grid-template-columns: 1fr 1fr; }
  .wheel-vehicle-button { grid-column: 1 / -1; }
  .wheel-vehicle-active.is-visible { align-items: start; flex-direction: column; }
  .wheel-catalog-toolbar { align-items: start; flex-direction: column; }
  .wheel-sort { width: 100%; justify-content: space-between; }
  .wheel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wheel-card-body { padding: 14px 11px 11px; }
  .wheel-card h2 { font-size: 1rem; }
  .wheel-card-description { min-height: 0; font-size: .68rem; }
  .wheel-card-meta { gap: 4px; font-size: .52rem; }
  .wheel-card-finishes small { display: none; }
  .wheel-card-tags { display: none; }
  .wheel-card-footer { align-items: start; flex-direction: column; gap: 7px; }
  .wheel-filter-options { grid-template-columns: 1fr 1fr; }
  .wheel-empty { padding: 24px 18px; }
  .wheel-inquiry { margin-top: 70px; padding: 22px 17px; }
  .wheel-form-grid { grid-template-columns: 1fr; }
  .wheel-form-full { grid-column: auto; }
  .wheel-gallery-main { min-height: 86vw; }
  .wheel-detail-summary h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
  .wheel-finish-row { grid-template-columns: 1fr; }
  .wheel-detail-actions { display: grid; grid-template-columns: 1fr; }
  .wheel-quick-specs { grid-template-columns: repeat(2, 1fr); }
  .wheel-quick-specs > div { padding: 17px 12px 18px 0; }
  .wheel-quick-specs > div + div { padding-left: 12px; }
  .wheel-quick-specs > div:nth-child(3) { border-top: 1px solid var(--wheel-line); }
  .wheel-quick-specs > div:nth-child(4) { border-top: 1px solid var(--wheel-line); }
  .wheel-fitment-form { grid-template-columns: 1fr; padding: 15px; }
  .wheel-fitment-form .wheel-button { grid-column: auto; }
  .wheel-spec-layout { grid-template-columns: 1fr; }
  .wheel-design-grid, .wheel-finish-record-grid { grid-template-columns: 1fr; }
  .wheel-related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transform: none !important; }
}
