/* Phase A: compact dimension guidance, without changing the buy-box layout. */
.offset-hint{font-size:13px;font-weight:700;color:#c8161d}
.offset-guide{font-size:13px;line-height:1.6;margin-top:8px}
.offset-guide summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;font-weight:600;padding:6px 0}
.offset-guide summary:focus-visible{outline:2px solid #c8161d;outline-offset:3px}
.offset-guide svg{display:block;width:100%;height:auto;margin:12px 0;background:#f5f5f5}
.offset-guide p{margin:8px 0;overflow-wrap:anywhere}
/* RBP Wheels — page layouts */

/* ---------- Home: hero ---------- */
.hero { position: relative; background: #000; color: #fff; overflow: hidden; min-height: min(88vh, 860px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .78; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.65) 42%, rgba(0,0,0,.1) 80%), linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 45%); }
.hero__inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: 150px; }
.hero__tag { display: inline-block; border: 1px solid rgba(255,255,255,.28); padding: 10px 14px; font: 600 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 28px; }
.hero .lead { color: #d4d4d8; margin: 26px 0 34px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stats div { border-left: 2px solid var(--red); padding-left: 14px; }
.hero__stats b { display: block; font: 900 28px/1 var(--font-head); }
.hero__stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a1a1aa; }
@media (max-width: 760px) { .hero__inner { padding-top: 80px; padding-bottom: 120px; } .hero__stats { gap: 24px; margin-top: 40px; } .hero__stats b { font-size: 22px; } }

/* ---------- Home: fitment finder ---------- */
.fit { position: relative; z-index: 2; margin-top: -72px; }
.fit__panel { background: #fff; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.18); display: grid; grid-template-columns: 220px 1fr; overflow: hidden; }
.fit__intro { background: var(--red); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.fit__intro .h-3 { font-size: 22px; }
.fit__intro p { font-size: 13px; opacity: .85; }
.fit__form { padding: 24px 28px; display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 14px; align-items: end; }
.fit__result { grid-column: 1 / -1; font-size: 13px; color: var(--text-2); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; min-height: 20px; }
.fit__result b { color: var(--text); }
.fit__alt { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fit__alt .select { height: 36px; font-size: 13px; width: auto; }
@media (max-width: 900px) { .fit__panel { grid-template-columns: 1fr; } .fit__form { grid-template-columns: 1fr; } .fit__alt { margin-left: 0; } }

/* ---------- Home: series mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 640px; }
.tile { position: relative; overflow: hidden; border-radius: 6px; background: #121212; color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; isolation: isolate; }
.tile--lg { grid-row: span 2; }
.tile__art { position: absolute; z-index: -2; right: -4%; top: 40%; width: 52%; transform: translateY(-50%) rotate(-8deg); transition: transform .6s ease; }
.tile--lg .tile__art { width: 88%; right: -18%; top: 38%; }
.tile:hover .tile__art { transform: translateY(-50%) rotate(4deg) scale(1.03); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 85% 30%, rgba(200,22,29,.22), transparent 55%), linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 38%, transparent 70%); }
.tile__kicker { font: 600 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #fca5a5; margin-bottom: 12px; }
.tile .h-1 { font-size: clamp(30px, 3.6vw, 52px); }
.tile p { color: #bdbfc5; max-width: 340px; margin: 12px 0 22px; font-size: 15px; }
.tile .ph { background: transparent; color: #3b3b3f; }
.tile .ph__label { display: none; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; } .tile--lg { grid-row: auto; min-height: 420px; } }

/* ---------- Home: finish studio ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.studio__stage { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #ffffff 0%, #ececee 60%, #dcdce0 100%); border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.studio__stage img { width: 80%; height: 80%; object-fit: contain; transition: opacity .3s, transform .5s; }
.studio__stage img.is-swap { opacity: 0; transform: rotate(-12deg) scale(.96); }
.studio__label { position: absolute; left: 20px; bottom: 18px; font: 600 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.studio__tabs { display: grid; gap: 2px; margin: 32px 0; border-top: 1px solid var(--line); }
.studio__tab { display: grid; grid-template-columns: 36px 1fr auto; gap: 16px; align-items: center; padding: 16px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.studio__tab .swatch { pointer-events: none; }
.studio__tab b { font: 800 18px/1 var(--font-head); text-transform: uppercase; }
.studio__tab small { display: block; color: var(--text-2); font-size: 13px; margin-top: 6px; }
.studio__tab span:last-child { font-size: 12px; color: var(--text-3); letter-spacing: .08em; }
.studio__tab[aria-selected="true"] b { color: var(--red); }
.studio__tab[aria-selected="true"] .swatch::after { border-color: var(--ink); }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Home: sizes ---------- */
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #2a2a2a; }
.size { padding: 40px 28px 34px; border-right: 1px solid #2a2a2a; display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.size:last-child { border-right: 0; }
.size:hover { background: #181818; }
.size b { font: 900 clamp(64px, 8vw, 112px)/.9 var(--font-head); letter-spacing: -0.03em; }
.size b sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; color: var(--red); }
.size span { color: #a1a1aa; font-size: 14px; }
.size .link-arrow { margin-top: 14px; color: #fff; }
@media (max-width: 760px) { .sizes { grid-template-columns: 1fr 1fr; } .size { border-bottom: 1px solid #2a2a2a; padding: 28px 18px; } .size:nth-child(2) { border-right: 0; } }

/* ---------- Home: steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { padding: 8px 36px 8px 0; margin-right: 36px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; margin-right: 0; }
.step__n { font: 900 15px/1 var(--font-head); color: var(--red); letter-spacing: .1em; margin-bottom: 18px; }
.step .h-3 { margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 28px; } .step { border-right: 0; margin-right: 0; padding: 0 0 28px; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* ---------- Home: help band ---------- */
.band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band .h-1 { max-width: 640px; }

/* ---------- Series page ---------- */
.series-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.series-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.series-tabs a { height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 19px; font-size: 13px; font-weight: 600; }
.series-tabs a:hover { border-color: var(--ink); }
.series-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.series-count { font-size: 14px; color: var(--text-2); }
.coming { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; border: 1px dashed #d4d4d8; border-radius: var(--radius); padding: 32px; color: var(--text-2); min-height: 320px; }
.coming .h-3 { color: var(--text); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 72px; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fff 0%, #f0f0f2 60%, #e3e3e7 100%); border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 84%; height: 84%; object-fit: contain; transition: opacity .25s; }
.gallery__main .ph { background: transparent; }
.gallery__main .badge { position: absolute; top: 18px; left: 18px; }
.gallery__main { isolation: isolate; }
.gallery__control { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(20,20,20,.22); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .16s, color .16s; }
.gallery__control:hover { background: var(--ink); color: #fff; }
.gallery__control:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery__control span { font-size: 34px; line-height: 1; transform: translateY(-2px); }
.gallery__control--prev { left: 14px; }
.gallery__control--next { right: 14px; }
.gallery__status { position: absolute; right: 14px; bottom: 14px; z-index: 1; padding: 5px 9px; border-radius: 2px; background: rgba(24,24,24,.78); color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.gallery__unavailable { display: grid; place-items: center; width: 84%; height: 84%; }
.gallery__thumb-empty { color: var(--text-3); font-size: 22px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 84px; height: 84px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--muted); padding: 6px; display: grid; place-items: center; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb .ph__label { display: none; }
.thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.thumb span.thumb__name { position: absolute; left: 0; right: 0; bottom: -20px; font-size: 10px; text-align: center; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .gallery__control { width: 48px; height: 48px; }
  .gallery__control--prev { left: 8px; }
  .gallery__control--next { right: 8px; }
}
.buy__series { font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.buy__title { font: 900 clamp(40px, 5vw, 64px)/.95 var(--font-head); text-transform: uppercase; margin: 12px 0 14px; }
.buy__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.buy__price { margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.buy__price .amount { font: 900 34px/1 var(--font-head); }
.buy__price .amount small { font: 600 12px/1 var(--font-body); color: var(--text-3); letter-spacing: .12em; text-transform: uppercase; margin-left: 6px; }
.buy__price .label { margin-bottom: 8px; display: block; }
.buy__block { margin-bottom: 24px; }
.buy__block .label { display: flex; justify-content: space-between; margin-bottom: 12px; }
.buy__block .label b { color: var(--text); letter-spacing: normal; text-transform: none; font-size: 13px; }
.size-tabs { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.size-tab { flex: 1; height: 56px; border: 0; background: #fff; border-right: 1px solid var(--line); font: 900 20px/1 var(--font-head); }
.size-tab:last-child { border-right: 0; }
.size-tab small { font: 600 11px/1 var(--font-body); color: var(--text-3); margin-left: 2px; }
.size-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.size-tab[aria-selected="true"] small { color: #a1a1aa; }
.size-tab:disabled { color: #c4c4c8; cursor: not-allowed; background: repeating-linear-gradient(135deg, #fff 0 6px, #f6f6f7 6px 12px); }
.buy__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.buy__selects .span-2 { grid-column: 1 / -1; }
.buy__pn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--muted); border-radius: var(--radius); margin: 20px 0; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.buy__pn b { color: var(--text); }
.buy__cta { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.qty { display: flex; border: 1px solid #d4d4d8; border-radius: var(--radius); height: 52px; }
.qty button { width: 38px; border: 0; background: none; font-size: 18px; }
.qty input { width: 100%; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy__note { margin-top: 16px; }
.quick-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.quick-specs div { background: #fff; padding: 14px 16px; }
.quick-specs span { display: block; font: 700 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.quick-specs b { font-size: 15px; }
@media (max-width: 1000px) { .pdp { grid-template-columns: 1fr; gap: 36px; } .gallery { position: static; } }
@media (max-width: 520px) { .buy__selects { grid-template-columns: 1fr; } .quick-specs { grid-template-columns: 1fr 1fr; } }

.specs { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.specs__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.specs__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.specs__tab { padding: 14px 22px; border: 0; background: none; font: 800 16px/1 var(--font-head); text-transform: uppercase; color: var(--text-3); position: relative; white-space: nowrap; }
.specs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.specs__tab[aria-selected="true"] { color: var(--text); }
.specs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.specs__tab small { font: 600 11px/1 var(--font-body); color: var(--text-3); margin-left: 6px; }
.specs__filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; color: var(--text-2); }
.specs__filters .select { height: 38px; width: auto; font-size: 13px; }

/* ---------- All wheels (catalog) ---------- */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head button { border: 0; background: none; font-size: 12px; font-weight: 600; text-decoration: underline; color: var(--text-2); }
.filter-group { border-top: 1px solid var(--line); padding-top: 18px; }
.filter-group .label { display: block; margin-bottom: 12px; }
.checks { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check span:last-child { margin-left: auto; color: var(--text-3); font-size: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.toolbar__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--text-3); }
.toolbar__search .input { padding-left: 42px; height: 46px; }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { height: 44px; padding: 0 14px; border: 0; background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filters .chip { gap: 8px; }
.filters-toggle { display: none; }
@media (max-width: 1000px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 85; inset: 0 auto 0 0; width: min(340px, 88vw); background: #fff; padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; box-shadow: 20px 0 40px rgba(0,0,0,.15); align-content: start; }
  .filters.is-open { transform: none; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Cart / checkout ---------- */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; padding-bottom: 96px; }
.cart-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line__img { aspect-ratio: 1; background: var(--muted); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.cart-line__img img { width: 86%; height: 86%; object-fit: contain; }
.cart-line__img .ph__label { display: none; }
.cart-line h3 { font: 900 22px/1 var(--font-head); text-transform: uppercase; }
.cart-line__meta { font-size: 14px; color: var(--text-2); margin-top: 8px; display: grid; gap: 2px; }
.cart-line__actions { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.cart-line__actions .qty { height: 40px; width: 112px; }
.cart-line__actions button.remove { border: 0; background: none; font-size: 13px; text-decoration: underline; color: var(--text-2); }
.cart-line__total { text-align: right; font-weight: 700; }
.summary { background: var(--muted); border-radius: 6px; padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary .h-3 { margin-bottom: 20px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; }
.summary__row--total { border-top: 1px solid #d4d4d8; margin-top: 8px; padding-top: 18px; font-weight: 800; font-size: 18px; }
.summary .btn { margin-top: 20px; }
.summary .notice { margin-top: 16px; background: #fff; }
@media (max-width: 1000px) { .cart { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 560px) { .cart-line { grid-template-columns: 88px 1fr; } .cart-line__total { grid-column: 2; text-align: left; } }

.confirm { max-width: 680px; margin: 0 auto; text-align: center; padding: 40px 0 96px; }
.confirm__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; }
.confirm__icon svg { width: 32px; }
.confirm .lead { margin: 16px auto 0; }
.order-box { text-align: left; border: 1px solid var(--line); border-radius: 6px; margin-top: 36px; }
.order-box__head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; background: var(--muted); font-size: 14px; flex-wrap: wrap; }
.order-box__body { padding: 8px 22px 18px; }
.order-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-item:last-child { border-bottom: 0; }

/* timeline for tracking */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.timeline li.is-done .dot { background: var(--ink); border-color: var(--ink); }
.timeline li.is-now .dot { border-color: var(--amber); background: var(--amber-bg); }
.timeline b { display: block; }
.timeline span { font-size: 14px; color: var(--text-2); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; padding-bottom: 96px; }
.contact__info { display: grid; gap: 28px; }
.contact__info h3 { font: 700 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

/* Product photos: blend baked white backgrounds, no drop shadows. */
.gallery__main img, .thumb img, .studio__stage img, .tile__art img, .cart-line__img img { mix-blend-mode: multiply; box-shadow: none; filter: none; }
.pending { font-size: 12px; color: var(--text-2); font-family: var(--font-body); }
