.spare-fit { display: grid; gap: 16px; min-width: 0; margin-top: 24px; color: #1f2937; }
.spare-fit [hidden] { display: none !important; }
.spare-fit__title { display: flex; align-items: center; gap: 8px; margin: 0; color: #111827; font: 600 18px/1.3 Roboto, Arial, sans-serif; }
.spare-fit__icon { flex-shrink: 0; color: #e25848; }

.spare-fit__declared { display: grid; gap: 14px; min-width: 0; }
.spare-fit__eyebrow { margin: 0; color: #6b7280; font-size: 13px; font-weight: 500; }
.spare-fit__make { min-width: 0; }
.spare-fit__make-name { margin: 0 0 8px; color: #111827; font: 600 15px/1.3 Roboto, Arial, sans-serif; }
.spare-fit__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.spare-fit__chips li { min-width: 0; max-width: 100%; }
.spare-fit__chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; max-width: 100%; min-height: 44px; padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; color: #1f2937; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; transition: border-color .15s, background-color .15s; }
.spare-fit__chip:hover { border-color: #e25848; background: #fff; color: #111827; }
.spare-fit__years { color: #6b7280; font-size: 13px; font-weight: 400; white-space: nowrap; }
.spare-fit__note { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.45; }

.spare-fit__check { display: grid; gap: 10px; min-width: 0; padding-top: 16px; border-top: 1px solid #eceae8; }
.spare-fit__button { justify-self: start; max-width: 100%; min-height: 44px; padding: 8px 16px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; color: #111827; font: 500 14px/1.3 Roboto, Arial, sans-serif; cursor: pointer; transition: border-color .15s, background-color .15s; }
.spare-fit__button:hover { border-color: #e25848; background: #fef7f6; }
.spare-fit__button[disabled] { opacity: .65; cursor: progress; }
.spare-fit__panel { display: grid; gap: 10px; min-width: 0; }
.spare-fit__select-wrap { display: grid; gap: 4px; min-width: 0; color: #4b5563; font-size: 13px; }
.spare-fit__select { width: 100%; max-width: 420px; min-height: 44px; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 10px; background-color: #fff; color: #111827; font-size: 14px; }
.spare-fit__result { margin: 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f3f4f6; color: #374151; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.spare-fit__result[data-state="yes"] { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; font-weight: 500; }
.spare-fit__link { display: inline-flex; align-items: center; min-height: 44px; color: #cc3322; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.spare-fit__link:hover { color: #a82818; }
.spare-fit__picker { display: grid; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fafafa; }
.spare-fit__picker-title { margin: 0; color: #111827; font-size: 14px; font-weight: 600; }
.spare-fit__picker-grid { display: grid; grid-template-columns: 1fr; gap: 8px; min-width: 0; }
.spare-fit__picker-error { margin: 0; color: #b42318; font-size: 13px; }
.spare-fit__picker-note { margin: 0; color: #6b7280; font-size: 12px; line-height: 1.4; }
.spare-fit__button--primary { border-color: #dd2c2d; background: #dd2c2d; color: #fff; font-weight: 600; }
.spare-fit__button--primary:hover { border-color: #b91c1c; background: #b91c1c; }
.spare-fit__result[data-state="partial"] { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.spare-fit__actions { display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.spare-fit__actions:not(:has(> :not([hidden]))) { display: none; }
.spare-fit__link--button { padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; }

.spare-fit__details { min-width: 0; padding-top: 12px; border-top: 1px solid #eceae8; }
.spare-fit__summary { display: list-item; padding: 10px 0; color: #111827; font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.spare-fit__summary:hover { color: #cc3322; }
.spare-fit__scroll { max-width: 100%; max-height: 360px; margin: 4px 0 10px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: auto; -webkit-overflow-scrolling: touch; }
.spare-fit__table { width: 100%; min-width: 540px; border-collapse: collapse; color: #374151; font-size: 13px; line-height: 1.35; }
.spare-fit__caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spare-fit__table thead th { position: sticky; top: 0; z-index: 1; padding: 8px 10px; background: #f3f4f6; color: #374151; font-weight: 600; text-align: left; white-space: nowrap; }
.spare-fit__table tbody th { width: 34%; padding: 8px 10px; color: #111827; font-weight: 500; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.spare-fit__table td { padding: 8px 10px; vertical-align: top; }
.spare-fit__table tbody + tbody { border-top: 1px solid #e5e7eb; }
.spare-fit__table tbody tr + tr td { border-top: 1px solid #f3f4f6; }
.spare-fit__nowrap { white-space: nowrap; }
.spare-fit__request { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; padding-top: 4px; border-top: 1px solid #eceae8; }
.spare-fit__request .spare-fit__link { min-width: 0; line-height: 1.45; }
.spare-fit__info { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: #9ca3af; cursor: pointer; transition: color .15s, background-color .15s; }
.spare-fit__info:hover, .spare-fit__info[aria-expanded="true"] { background: #f3f4f6; color: #111827; }
.spare-fit__info .material-symbols-outlined { font-size: 20px; }

.spare-fit__pop { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(380px, 100%); padding: 18px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; color: #374151; box-shadow: 0 18px 48px rgb(17 24 39 / .16), 0 2px 6px rgb(17 24 39 / .06); }
.spare-fit__pop-close { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #6b7280; cursor: pointer; }
.spare-fit__pop-close:hover { background: #f3f4f6; color: #111827; }
.spare-fit__pop-close .material-symbols-outlined { font-size: 18px; }
.spare-fit__pop-title { margin: 0 36px 4px 0; color: #111827; font: 600 16px/1.35 Roboto, Arial, sans-serif; }
.spare-fit__pop-lead { margin: 0 0 14px; color: #4b5563; font-size: 13px; line-height: 1.5; }
.spare-fit__feed { margin-bottom: 14px; padding: 12px; border-radius: 12px; background: #f6f6f7; }
.spare-fit__feed-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #6b7280; font-size: 12px; }
.spare-fit__live { display: inline-flex; align-items: center; gap: 6px; color: #16a34a; font-weight: 600; }
.spare-fit__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: spare-fit-pulse 1.8s ease-out infinite; }
.spare-fit__offer { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; }
.spare-fit__offer + .spare-fit__offer { margin-top: 6px; }
.spare-fit__offer--new { box-shadow: 0 0 0 1px #bbf7d0; animation: spare-fit-arrive .5s .35s both cubic-bezier(.2, .8, .2, 1); }
.spare-fit__offer-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fde8e5; color: #cc3322; }
.spare-fit__offer-icon .material-symbols-outlined { font-size: 18px; }
.spare-fit__offer-text { min-width: 0; }
.spare-fit__offer-text b { display: block; color: #111827; font-size: 13px; font-weight: 500; }
.spare-fit__offer-text small { color: #6b7280; font-size: 12px; }
.spare-fit__offer strong { color: #111827; font-size: 15px; font-variant-numeric: tabular-nums; }
.spare-fit__cta { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 10px; background: #dd2c2d; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s; }
.spare-fit__cta:hover { background: #c42425; color: #fff; }
.spare-fit__pop-note { margin: 8px 0 0; color: #6b7280; font-size: 12px; text-align: center; }
@keyframes spare-fit-pulse { 0% { box-shadow: 0 0 0 0 rgb(22 163 74 / .45); } 70%, 100% { box-shadow: 0 0 0 7px rgb(22 163 74 / 0); } }
@keyframes spare-fit-arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.spare-fit__chip:focus-visible,
.spare-fit__button:focus-visible,
.spare-fit__select:focus-visible,
.spare-fit__picker .spare-fit__button:focus-visible,
.spare-fit__link:focus-visible,
.spare-fit__summary:focus-visible,
.spare-fit__scroll:focus-visible,
.spare-fit__info:focus-visible,
.spare-fit__pop-close:focus-visible,
.spare-fit__cta:focus-visible { outline: 2px solid #e25848; outline-offset: 2px; }

@media (min-width: 768px) {
    .spare-fit__chip { min-height: 36px; }
    .spare-fit__link { min-height: 32px; }
    .spare-fit__info { width: 32px; height: 32px; }
    .spare-fit__picker-grid { grid-template-columns: 1.2fr 1.2fr .8fr; }
}

@media (prefers-reduced-motion: reduce) {
    .spare-fit__live::before, .spare-fit__offer--new { animation: none; }
}
