/* Price comparison and selection, using the existing garage palette. */
.stage1-config { margin-top: 24px; padding: 32px; border: 1px solid var(--line); border-top: 3px solid var(--orange); background: var(--panel, #232323); scroll-margin-top: 24px; }
.addon-heading { margin-bottom: 24px; }
.addon-kicker { margin: 0 0 8px; color: var(--orange); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.addon-heading h3 { margin: 0 0 12px; max-width: 780px; font-size: clamp(32px, 2.6vw, 48px); line-height: 1.05; }
.addon-heading h3:focus { outline: none; }
.addon-vehicle { margin: 0; color: var(--cream); font-size: 16px; line-height: 1.5; }
.addon-hint { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 12px 0 20px; }
.addon-option { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px; color: var(--cream); font-size: 15px; line-height: 1.4; cursor: pointer; font-weight: 500; }
.addon-option input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--orange); color-scheme: dark; cursor: pointer; }
.addon-option span { min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
.addon-option:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: -3px; }
.addon-option input:focus-visible { outline: none; }
.pricing-stage1 { border: 1px solid var(--line); background: #17171755; font-size: 18px; padding: 16px; }
.pricing-stage1:has(input:checked) { border-color: var(--orange); background: #ff850a0d; }
.pricing-stage1 strong { margin-left: auto; white-space: nowrap; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .4fr); gap: 32px; align-items: start; }
.pricing-list { min-width: 0; }
.pricing-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.pricing-table th, .pricing-table td { border-bottom: 1px solid var(--line); }
.pricing-table thead th { padding: 14px 12px; text-align: right; vertical-align: bottom; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
.pricing-table thead th:first-child { width: 52%; text-align: left; }
.pricing-table tbody th { text-align: left; padding: 0; }
.pricing-table td { padding: 14px 12px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricing-table tbody tr:hover { background: #efe3cb06; }
.pricing-table tbody tr.is-selected { background: #ff850a0d; }
.pricing-table tbody tr.is-selected th { box-shadow: inset 3px 0 var(--orange); }
.pricing-safety { margin-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.pricing-safety summary { min-height: 44px; padding: 12px 0; cursor: pointer; }
.pricing-safety summary::marker { color: var(--orange); }
.pricing-safety summary:hover { color: var(--cream); }
.pricing-safety summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pricing-safety p { margin: 0 0 12px; }
.pricing-safety p:last-child { padding-bottom: 4px; }
.stage1-config[data-pricing-mode="with"] [data-price-column="with"],
.stage1-config[data-pricing-mode="without"] [data-price-column="without"] { color: var(--cream); background: #efe3cb08; }
.stage1-config[data-pricing-mode="with"] .is-selected [data-price-column="with"],
.stage1-config[data-pricing-mode="without"] .is-selected [data-price-column="without"] { color: var(--orange); font-weight: 700; }
.pricing-summary { position: sticky; top: 24px; min-width: 0; padding: 24px; border: 1px solid var(--line); background: #171717; }
.pricing-summary h4 { margin: 0 0 16px; font-size: 28px; line-height: 1.1; }
.pricing-selection { list-style: none; margin: 0; padding: 0; }
.pricing-selection li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.pricing-selection li span { overflow-wrap: normal; word-break: normal; hyphens: none; }
.pricing-selection strong { flex-shrink: 0; font-weight: 500; white-space: nowrap; }
.pricing-total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 18px; }
#pricing-total { color: var(--orange); font-size: clamp(26px, 2.2vw, 36px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.addon-actions { display: flex; flex-direction: column; gap: 8px; }
.pricing-summary .button { width: 100%; min-height: 52px; justify-content: space-between; gap: 12px; font-size: 15px; padding-inline: 16px; }
.pricing-summary .button:disabled { opacity: .5; cursor: not-allowed; }
.stage1-config[aria-busy="true"] { opacity: .65; }
.stage1-skip { align-self: flex-start; min-height: 44px; padding: 10px 0; margin-top: 8px; border: 0; border-bottom: 1px solid #efe3cb66; background: transparent; color: var(--cream); font-size: 14px; font-weight: 600; text-align: left; }
.stage1-skip:hover { color: var(--orange); }
.tuning-selection { margin: 0 0 24px; padding: 20px; border: 1px solid #17171755; background: #fff3; }
.tuning-selection h3 { margin: 0 0 8px; font-size: 26px; }
.tuning-selection p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.tuning-selection ul { margin: 0 0 12px; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.tuning-selection .selection-total { margin-top: 8px; font-weight: 700; }
.tuning-selection button { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--coal); color: var(--coal); background: transparent; font-size: 14px; font-weight: 600; }
.tuning-selection button:focus-visible { outline-color: var(--coal); }
#tuning-selection-status { margin: 0 0 16px; font-size: 13px; line-height: 1.5; }
#tuning-selection-status:empty { display: none; }
@media (max-width: 1100px) {
  .pricing-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pricing-summary { position: static; }
}
@media (max-width: 700px) {
  .stage1-config { padding: 24px 12px; }
  .addon-heading h3 { font-size: 32px; }
  .addon-vehicle { font-size: 15px; }
  .pricing-stage1 { padding: 12px; font-size: 16px; }
  .pricing-table { font-size: 12px; }
  .pricing-table thead th { padding: 12px 4px; font-size: 11px; }
  .pricing-table thead th:first-child { width: 52%; }
  .pricing-table td { padding: 12px 4px; }
  .pricing-table .addon-option { padding: 12px 8px 12px 4px; gap: 8px; font-size: 13px; }
  .pricing-table .addon-option input { flex-basis: 18px; width: 18px; height: 18px; }
  .pricing-summary { padding: 20px 16px; }
  .tuning-selection { padding: 16px; }
}
