/* Stage-only card palette; existing component loading is unchanged. */
:root[data-tm24-theme="dark"] {
    --tm24-card-text: var(--tm24-color-text, #edf3fa);
    --tm24-card-accent-light: var(--tm24-color-accent, #a8d2ff);
    --tm24-card-blue: var(--tm24-color-accent, #84bfff);
    --tm24-card-note: var(--tm24-color-muted, #aab8c9);
    --tm24-card-border: var(--tm24-color-border, #35465d);
    --tm24-card-surface: var(--tm24-color-surface, #172331);
    --tm24-card-hover-border: var(--tm24-color-accent, #84bfff);
}
/* Existing light layout and native color fallbacks follow. */
/* Width belongs to the theme's existing builder column. */
.tm24-reference-prices { width: 100%; min-width: 0; box-sizing: border-box; margin: 48px 0 36px; color: var(--tm24-card-text, #1c242b); }
.tm24-reference-prices > h2 { margin: 0 0 24px; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.25; text-align: center; }
.tm24-reference-prices > h2::after { content: ""; display: block; width: 58px; height: 3px; margin: 13px auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--tm24-card-accent-light, #65a6e6) 0%, var(--tm24-card-blue, #347ac5) 100%); }
.tm24-reference-prices__intro { width: 100%; box-sizing: border-box; padding-inline: max(0px, calc((100% - 888px) / 2)); margin: 0; font-size: 14px; color: var(--tm24-card-note, #66717b); text-align: left; }
.tm24-reference-prices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: 24px; padding: 8px 0 16px; }
.tm24-reference-prices__card { position: relative; width: 100%; max-width: 280px; justify-self: center; min-width: 0; box-sizing: border-box; padding: 10px; border: 1px solid var(--tm24-card-border, #dce8f4); border-radius: 22px; background: var(--tm24-card-surface, #fff); box-shadow: 0 9px 27px rgba(28, 69, 112, .075); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.tm24-reference-prices__card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; touch-action: manipulation; }
.tm24-reference-prices__card-link:focus-visible { outline: 3px solid var(--tm24-theme-main); outline-offset: 3px; }
.tm24-reference-prices__image { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; isolation: isolate; --car-wash: #aec7e0; background: linear-gradient(180deg, var(--tm24-theme-secondary, #cadbec) 0%, #eef6fd 58%, #f4f9fd 100%); }
.tm24-reference-prices__image img { display: block; width: 100%; height: 100%; margin: 0; padding: 0; object-fit: cover; object-position: var(--car-position, 0%) center; mix-blend-mode: multiply; border-radius: 0; }
.tm24-reference-prices__body { position: relative; padding: 20px 12px 14px; }
.tm24-reference-prices__name-price { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tm24-reference-prices__card h3 { min-width: 0; margin: 0; padding: 0; font-size: 16px; line-height: 1.35; font-weight: 600; color: inherit; overflow-wrap: anywhere; text-transform: uppercase; }
.tm24-reference-prices__amount { color: var(--tm24-fleet-blue, var(--tm24-card-blue, #347ac5)); font-size: 22px; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm24-reference-prices__capacity { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0; padding: 0; color: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; }
.tm24-reference-prices__capacity > span { display: inline-flex; align-items: center; gap: 5px; }
.tm24-reference-prices__capacity svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tm24-reference-prices__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 12px; }
.tm24-reference-prices__cta { min-height: 44px; margin-top: 12px; }
@media (max-width: 900px) {
    .tm24-reference-prices__intro { padding-inline: max(0px, calc((100% - 578px) / 4)); }
    .tm24-reference-prices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 600px) {
    .tm24-reference-prices__intro { padding-inline: max(0px, calc((100% - 572px) / 4)); }
    .tm24-reference-prices__grid { gap: 12px; }
    .tm24-reference-prices__card { padding: 8px; border-radius: 20px; }
    .tm24-reference-prices__card h3 { font-size: 14px; }
    .tm24-reference-prices__body { padding: 16px 4px 12px; }
    .tm24-reference-prices__capacity { gap: 8px 12px; }
}
@media (max-width: 390px) {
    .tm24-reference-prices__intro { padding-inline: max(0px, calc((100% - 280px) / 2)); }
    .tm24-reference-prices__grid { grid-template-columns: minmax(0, 1fr); }
    .tm24-reference-prices__card h3 { font-size: 16px; }
}
.tm24-reference-prices__card[data-vehicle-id="43"] .tm24-reference-prices__image { --car-wash: #aec7e0; --car-position: -17.359%; }
.tm24-reference-prices__card[data-vehicle-id="5868"] .tm24-reference-prices__image { --car-wash: #aec7e0; --car-position: -8.766%; }
.tm24-reference-prices__card[data-vehicle-id="42"] .tm24-reference-prices__image { --car-wash: #aec7e0; --car-position: -22.828%; }
.tm24-reference-prices__card[data-vehicle-id="40"] .tm24-reference-prices__image { --car-wash: #aec7e0; --car-position: -4.469%; }
.tm24-reference-prices__card[data-vehicle-id="20211"] .tm24-reference-prices__image { --car-wash: #aec7e0; --car-position: -10.719%; }
.tm24-reference-prices__card[data-vehicle-id="31801"] .tm24-reference-prices__image { --car-wash: #aec7e0; --car-position: -3.313%; }

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    .tm24-reference-prices__card:hover, .tm24-reference-prices__card:focus-within { border-color: var(--tm24-card-hover-border, #bad4ed); transform: translateY(-4px); box-shadow: 0 17px 38px rgba(28, 69, 112, .14); }
}
@media (prefers-reduced-motion: reduce) {
    .tm24-reference-prices__card { transition: none; }
    .tm24-reference-prices__card:hover, .tm24-reference-prices__card:focus-within { transform: none; }
}
