/* InterCorp signature: the logo's gold arc and its navy, carried from the front face into the store.
   Silver still carries every page; navy is a floor, never the whole room. */
:root { --brand-gold: #FBB600; --on-navy: #c3cede; }

/* home, the join: the arc draws over the heading, the ring stands on a navy floor */
.shop { --p: 1; --view: clamp(330px, calc(100svh - 462px), 500px); position: relative; padding: 0; background: var(--cyc); }
.shop-scene { position: relative; padding-top: 88px; overflow: hidden; isolation: isolate; }
.shop-head { position: relative; z-index: 1; text-align: center; padding-top: 48px; }
.shop .shop-head h2 { color: var(--navy); font-size: clamp(48px, 5.2vw, 80px); line-height: 1; letter-spacing: -.04em; }
.shop-head p { margin-top: 12px; color: var(--ink-2); font-size: 18px; line-height: 1.4; text-wrap: balance; }
.shop-arc { position: absolute; z-index: 0; left: 50%; top: 76px; width: min(820px, 88vw); height: min(156px, 17vw); max-width: none; translate: -42% 0; pointer-events: none;
  clip-path: inset(-4px calc((1 - min(1, var(--p) * 1.25)) * 100%) -4px 0); }
.shop-ring { position: relative; z-index: 2; margin-top: 14px; padding-bottom: 14px; }
.shop .warp-view { height: var(--view); }
.shop-floor { position: absolute; z-index: 1; left: -12vw; right: -12vw; bottom: 0; height: calc(var(--view) * .42 + 72px); background: var(--navy);
  clip-path: ellipse(86% 100% at 50% 100%); transform-origin: 50% 100%; transform: scaleY(calc(.35 + .65 * var(--p))); }
.shop .wc-tool { background: var(--navy); }
.shop .wc-tool .wc-media { background: #0b2558; }
.shop .wc-tool .wc-art { background: radial-gradient(110% 85% at var(--mx, 50%) 16%, #1b386e 0%, #0a2252 70%); }
.shop .warp-dot::before { background: #7f8ea8; }
.shop .warp-dot:hover::before { background: #fff; }
/* V5.8.1: no gold travelling line; the chosen dot lights up white */
.shop .warp-ind { display: none; }
.shop .warp-dot::before { transition: background-color .25s var(--ease-ui, ease), transform .35s var(--spring, ease); }
.shop .warp-dot[aria-current="true"]::before { background: #fff; transform: scale(1.3); box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.shop .warp-arw:focus-visible, .shop .warp-dot:focus-visible { outline-color: var(--brand-gold); }
.shop-base { position: relative; margin-top: -1px; background: var(--navy); color: #fff; }
.base-in { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: center; gap: 56px; padding-block: 22px 34px; }
.base-logo { display: block; width: 176px; height: auto; }
.base-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.base-facts b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.base-facts span { display: block; margin-top: 4px; color: var(--on-navy); font-size: 14.5px; line-height: 1.4; text-wrap: pretty; }
.shop + .finder { padding-top: 96px; }
@media (max-height: 819px) and (min-width: 1024px) {
  .shop { --view: max(318px, calc(100svh - 414px)); }
  .shop-scene { padding-top: 76px; }
  .shop-head { padding-top: 34px; }
  .shop .shop-head h2 { font-size: 52px; }
  .shop-head p { margin-top: 8px; font-size: 16px; }
  .shop-arc { top: 70px; height: 118px; width: 600px; }
  .shop .wc-name { font-size: 22px; }
  .shop .wc-sub { min-height: 0; font-size: 14px; }
  .shop .wc-body { padding-top: 10px; }
  .base-in { padding-block: 12px 20px; }
}
@media (max-width: 820px) {
  .shop { --view: 440px; }
  .base-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .base-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- the saved pricing display: switch, price, Add ---------- */
:root { --track: #e8e8eb; --spring: cubic-bezier(.22, 1, .36, 1); --spring-dur: 420ms; }
.pc-pick { margin-top: auto; padding-top: 16px; }
.seg { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); margin: 0; padding: 3px; border-radius: 12px; background: var(--track); isolation: isolate; }
.seg button { position: relative; z-index: 1; min-height: 44px; padding: 0 3px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 500 14px/1 var(--font); white-space: nowrap; cursor: pointer; transition: color .2s var(--ease-ui); }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { color: var(--ink); font-weight: 600; }
.seg button:focus-visible { outline-offset: 0; }
.pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 1)); border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 4px 10px -3px rgba(0, 0, 0, .12); translate: calc(var(--at, 0) * 100%) 0; transition: translate var(--spring-dur) var(--spring); }
.seg-one { display: grid; place-items: center; min-height: 50px; color: var(--ink-2); font-size: 14px; font-weight: 500; pointer-events: none; }
.pc-note { margin: 8px 2px 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.35; text-wrap: pretty; }
.pc-note:empty, .buy-note:empty { display: none; }
.pc-pick .pc-buy { margin-top: 0; padding-top: 14px; }
.pc-price .amt { display: inline-block; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.pc-price .each { color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.btn.btn-add { position: relative; display: grid; place-items: center; gap: 0; min-width: 9.5rem; height: 46px; padding: 0 18px; font-size: 15px; transition: transform var(--spring-dur) var(--spring), background-color .12s linear; }
.pc-buy .btn-add { z-index: 2; }
.btn-add:hover { transform: translateY(-1px); }
.btn-add:active { transform: scale(.96); transition-duration: 90ms; }
.btn.btn-gold.btn-add { height: 52px; min-width: 168px; font-size: 16px; }
.st { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(7px); filter: blur(2px); transition: opacity .2s var(--ease-ui), transform .32s var(--ease-ui), filter .2s var(--ease-ui); }
[data-state="idle"] > .st-idle, [data-state="adding"] > .st-adding, [data-state="added"] > .st-added { opacity: 1; transform: none; filter: none; }
.st path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
[data-state="added"] > .st-added path { animation: st-draw .4s var(--ease-ui) .06s both; }
@keyframes st-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
[data-state="adding"] .spin { animation: st-spin .7s linear infinite; }
@keyframes st-spin { to { rotate: 1turn; } }

/* the part page's larger switch */
.pick { position: relative; display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); margin: 0; padding: 4px; border-radius: 16px; background: var(--track); isolation: isolate; }
.pick .pill { top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 1)); border-radius: 12px; }
.pick label { position: relative; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 4px; min-height: 64px; padding: 4px; border-radius: 12px; color: var(--ink-2); cursor: pointer; transition: color .2s var(--ease-ui); }
.pick label:hover, .pick label:has(:checked) { color: var(--ink); }
.pick label:has(:focus-visible) { outline: 2px solid var(--navy); outline-offset: 1px; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.o-n { font-size: 14px; font-weight: 500; white-space: nowrap; }
.o-p { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pick-one { margin-top: 18px; place-items: center; min-height: 56px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.buy-note { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.buy-total { display: grid; gap: 5px; justify-items: start; }
.buy-total .buy-price { display: inline-block; font-size: 38px; }
.buy-total span { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }

/* catalogue tools, the saved vehicle, menu */
.fbar-r, .ftools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.ftools .ctl { position: relative; flex: none; }
.ftools select { width: auto; max-width: 100%; height: 44px; padding-right: 38px; }
.nav .links a.has-veh { display: inline-flex; align-items: center; gap: 7px; max-width: 210px; color: var(--navy); }
.nav .links a.has-veh span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav .links a.has-veh .ico { flex: none; width: 17px; height: 17px; }
.x-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* navy bands: All parts, About, and the footer on every page */
.band { position: relative; overflow: hidden; padding: 136px 0 52px; background: var(--navy); color: #fff; }
.band .wrap { position: relative; }
.band h1 { font-size: clamp(38px, 4.6vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.band p { margin-top: 14px; max-width: 48ch; color: var(--on-navy); font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.band-arc { position: absolute; right: -3vw; top: 88px; width: min(560px, 52vw); height: auto; max-width: none; }
.band-about { padding-bottom: 136px; }
.catalogue-all { padding-top: 40px; }
.ab-body { padding-bottom: 96px; }
.ab-cats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: -88px 0 0; padding: 0; list-style: none; }
.ab-cats a { display: grid; gap: 5px; padding: 8px 8px 20px; border-radius: var(--r-card); background: var(--surface); text-decoration: none; transition: transform .18s var(--ease-ui); }
.ab-cats a:hover { transform: translateY(-2px); }
.ab-ph { display: grid; place-items: center; height: 220px; margin-bottom: 12px; border-radius: var(--r-img); background: var(--plate); }
.ab-ph img { max-width: 80%; max-height: 184px; object-fit: contain; }
.ab-cats b, .ab-cats small { padding: 0 10px; }
.ab-cats b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ab-cats small { color: var(--ink-2); font-size: 14px; }
.ab-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; margin-top: 72px; }
.ab-facts dt { color: var(--navy); font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.ab-facts dd { margin: 10px 0 0; max-width: 54ch; color: var(--ink-2); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.ab-facts a { color: var(--ink); text-underline-offset: 4px; }
.foot { padding: 48px 0 36px; border: 0; background: var(--navy); color: #fff; }
.foot .ft, .foot .ft-fine { color: var(--on-navy); }
.foot .ft h2, .foot .ft nav a:hover { color: #fff; }
.foot .ft img { width: 154px; height: auto; }
.foot :focus-visible { outline-color: var(--brand-gold); }
@media (max-width: 720px) {
  .ab-cats, .ab-facts { grid-template-columns: minmax(0, 1fr); }
  .fbar-r { justify-content: flex-start; }
  .ftools { justify-content: flex-start; }
  .o-p { font-size: 14px; }
}
@media (forced-colors: active) {
  .seg button[aria-checked="true"], .pick label:has(:checked) { outline: 2px solid Highlight; }
  .seg, .pick, .btn-add { border: 1px solid ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  .pill, .st, .btn.btn-add { transition: none; }
  [data-state] .spin, [data-state] > .st path { animation: none; }
}
/* the glass nav turns solid over a navy band, so its words stay dark on light */
body:has(.band) .nav { background: rgba(255, 255, 255, .94); }
/* product: the fit answer carries its tone on the whole box */
.fitbox { transition: background-color .2s var(--ease-ui), box-shadow .2s var(--ease-ui); }
.fitbox-top .fit { font-size: 16px; font-weight: 600; }
.fitbox-top .fit .ico { width: 20px; height: 20px; }
.fitbox[data-tone="fit"] { background: #eef6f2; box-shadow: inset 0 0 0 1.5px var(--ok); }
.fitbox[data-tone="check"] { background: #fbf4e8; box-shadow: inset 0 0 0 1.5px var(--warn); }
.fitbox[data-tone="no"] { background: #fbefee; box-shadow: inset 0 0 0 1.5px var(--err); }
