.fitment-preview-page { background: var(--surface); }
.fitment-inline-chooser #vehicle-select select { font-family: inherit; font-size: .875rem; padding: 6px 36px 6px 10px; min-height: 44px; width: 100%; max-width: 100%; }
.fitment-inline-chooser #vehicle-select .form-group { width: 100%; min-width: 0; }
.fitment-inline-chooser #vehicle-select .form-group:empty { display: none; }
.fitment-inline-chooser #vehicle-select .vehicle-controller { display: flex; flex-wrap: wrap; gap: 10px; }
.fitment-inline-chooser #vehicle-select .form-group { flex: 1 1 150px; width: auto; }
.fitment-inline-chooser #vehicle-select .form-group:has(select[name="y"]) { flex: 0 0 135px; }
.fitment-inline-chooser #vehicle-select .form-group:has(select)::after { right: 10px; width: 16px; height: 16px; }
.fitment-inline-chooser:not([hidden]) { display: block; margin-top: 14px; }
.fitment-inline-chooser .vehicle-shelf { padding: 0; }
.fitment-inline-chooser .vehicle-shelf__option-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 4px 12px; max-height: 300px; overflow-y: auto; }
.fitment-inline-chooser .vehicle-shelf__header h2 { font-size: 1.5rem; }
.fitment-preview-entry { padding-block: 14px; margin-bottom: 11px; }
.fitment-check { display: block; scroll-margin-top: 24px; }
.fitment-check [hidden] { display: none !important; }
@media (min-width: 768px) {
  .fitment-check[data-fitment-preview-cleared-value="true"] .fitment-check__header .fitment-check__link { display: none; }
}
.fitment-check__header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.fitment-check__header .product-compatibility__body { min-width: 0; }
.fitment-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.fitment-check__link { font-weight: 400; }
.fitment-check__title { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; color: var(--text); margin: 0; }
.fitment-check__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; padding: 0; min-height: 44px; background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; }
.fitment-check__close[aria-expanded="true"] svg { transform: rotate(180deg); }
.fitment-check__close svg { transition: transform 180ms ease-out; }
.fitment-check__details { display: grid; grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 180ms ease-out, opacity 180ms ease-out, visibility 0s; }
.fitment-check__details-inner { min-height: 0; overflow: hidden; }
.fitment-check__details[inert] { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition-delay: 0s, 0s, 180ms; }
@media (prefers-reduced-motion: reduce) {
  .fitment-check__details, .fitment-check__close svg { transition: none; }
}
.fitment-check__close, .fitment-check .fitment-check__clear { color: var(--gray); }
.fitment-check__label { font-size: .875rem; font-weight: 700; margin: 0 0 6px; }
.fitment-check__vehicle { display: inline-flex; align-items: center; gap: 8px; padding-left: 10px; border: 1px solid var(--button-info-border); border-radius: 4px; max-width: 100%; }
.fitment-check__vehicle > span { font-family: var(--font-heading); font-weight: 700; color: var(--text); }
.fitment-check__clear { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; flex: 0 0 auto; }
.fitment-check__change { margin-top: 16px; font-size: .875rem; }
.fitment-check__change:has([hidden]) { display: none; }
.fitment-check__history { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fitment-check__result { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.fitment-check__recent { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: 0; }
.fitment-check__recent a { display: inline-block; padding-block: 6px; }
.vehicle-shelf--preview .vehicle-shelf__vehicle-pill { border: 0; background: none; padding: 0; border-radius: 0; }
.vehicle-shelf--preview .vehicle-shelf__vehicle-link { font-family: inherit; font-size: 1rem; font-weight: 400; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; align-items: center; padding: 4px 0; }
.vehicle-shelf--preview .vehicle-shelf__vehicles { display: block; }
.vehicle-shelf--preview .vehicle-shelf__vehicle-pill { display: flex; }
.vehicle-shelf--preview .cancel { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; margin-bottom: 4px; min-height: 36px; }
.vehicle-shelf--preview .vehicle-shelf__header { gap: 4px; }
.vehicle-shelf--preview .vehicle-shelf__header h2 { font-size: 1.75rem; }
.vehicle-shelf--preview .vehicle-shelf__close { flex-shrink: 0; }
@media (max-width: 767px) {
  .fitment-check__header { grid-template-columns: minmax(0, 1fr); }
  .fitment-check__close { display: none; }
}
.vehicle-shelf--preview .vehicle-step-clear { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--surface); width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto; }
@media (pointer: coarse) {
  .fitment-check__clear { min-width: 44px; min-height: 44px; }
}
.fitment-preview-panel .product-compatibility__body { font-size: 1.125rem; }
.fitment-preview-panel .product-compatibility__icon svg { width: 2rem; height: 2rem; }
.fitment-preview-entry .product-compatibility__content { flex-wrap: wrap; }
.fitment-preview-guidance { margin: 10px 0 0; font-size: 1rem; }
.fitment-inline-chooser .vehicle-shelf__header { font-weight: 600; }
.fitment-comparison { max-width: 1180px; margin: auto; padding: 24px; }
.fitment-comparison__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.fitment-comparison__grid--mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 812px; margin: auto; }
.fitment-comparison iframe { width: 100%; height: 850px; border: 1px solid var(--button-info-border); }
.fitment-comparison nav a[aria-current="page"] { background: var(--accent); color: var(--surface); }
.fitment-preview-note { padding: 10px 18px; background: var(--surface-2); font-size: 13px; }
.fitment-preview-purchase { max-width: 600px; margin: auto; padding: 0 18px 28px; }
.fitment-preview-panel, .fitment-preview-inline { background: transparent; }
.fitment-preview-cart { display: block; width: 100%; margin: 20px 0 14px; }
.fitment-preview-recent { margin: 16px 0 8px; }
.fitment-preview-purchase .form-group { max-width: 100%; }
.fitment-preview-purchase .form-control { min-height: 40px; max-width: 100%; }
.fitment-preview-recent .popper { max-width: min(320px, calc(100vw - 48px)); }
.fitment-preview-answer { padding-top: 10px; }
.fitment-preview-answer strong { display: block; margin-bottom: 10px; }
.fitment-preview-controls { margin-top: 30px; border-top: 1px solid var(--button-info-border); padding-top: 12px; }
.fitment-preview-controls summary { cursor: pointer; padding: 10px 0; }
.fitment-preview-controls .btn { margin: 4px; }
@media (max-width: 700px) {
  .fitment-comparison__grid { grid-template-columns: 1fr; }
  .fitment-comparison__grid--mobile { max-width: 390px; }
}
