/* Shared vehicle detail layout; typography and colours inherit the active brand. */
.vehicle-overview {
    container: vehicle-overview / inline-size;
    margin: 0 0 24px;
}
.vehicle-related {
    clear: both;
    margin: 24px 0;
}
.vehicle-related h2 {
    margin: 0 0 12px;
    font-size: 1.2em;
    line-height: 1.4;
}
.vehicle-related ul,
#second .right .vehicle-related ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.vehicle-related li,
#second .right .vehicle-related li {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.5 !important;
}
.vehicle-related li::before,
#second .right .vehicle-related li::before {
    content: none !important;
    display: none !important;
}
.vehicle-related a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.vehicle-related a:focus-visible {
    outline: 2px solid var(--primary, #222);
    outline-offset: 3px;
}
.vehicle-overview .shop-heading {
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 24px;
}
.vehicle-overview .vehicle-title-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1 1 26rem;
    gap: 12px 16px;
    min-width: 0;
}
.vehicle-overview .vehicle-title-group .cars-campaigns {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.vehicle-overview .vehicle-title-group .cars-campaign-pill {
    font-size: 13px;
}
.inventory-detail__campaigns > #vehicle-campaign-terms {
    scroll-margin-top: 120px;
}
.vehicle-overview .shop-heading h1 {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    color: var(--heading-ink, #000);
    font-size: 1.8em;
    font-weight: var(--theme-stock-title-weight, var(--theme-h1-weight, 500));
    line-height: 1.2;
    overflow-wrap: break-word;
}
.vehicle-overview .inventory-detail__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 10px;
    min-width: 0;
}
.vehicle-overview .inventory-detail__actions > form {
    display: flex;
    min-width: 0;
    margin: 0;
}
.vehicle-overview .inventory-detail__actions .inventory-detail__button {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    border-radius: var(--theme-stock-calculator-radius, 0);
    padding: 12px 16px;
    line-height: var(--theme-inventory-detail-line, 1.35);
    white-space: normal;
    overflow-wrap: anywhere;
}
body:is([data-design-system="alfa"], [data-design-system="fiat"], [data-design-system="fiat-prof"], [data-design-system="jeep"])
    .vehicle-overview .inventory-detail__actions a.inventory-detail__button {
    border: var(--theme-stock-calculator-border, 0);
    background: var(--theme-stock-calculator-background);
    color: var(--theme-stock-calculator-copy);
}
body:is([data-design-system="alfa"], [data-design-system="fiat"], [data-design-system="fiat-prof"], [data-design-system="jeep"])
    .vehicle-overview .inventory-detail__actions a.inventory-detail__button:is(:hover, :focus-visible) {
    background: var(--theme-stock-calculator-hover-background, var(--theme-stock-calculator-background));
    color: var(--theme-stock-calculator-hover-copy, var(--theme-stock-calculator-copy));
    filter: var(--theme-inventory-detail-button-hover-filter, brightness(.92));
}
.vehicle-overview .inventory-detail__actions :focus-visible,
.pages .prev_detail:focus-visible {
    outline: 2px solid var(--primary, #222);
    outline-offset: 3px;
}
.pages .prev_detail {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
}
.vehicle-overview-body {
    display: grid;
    gap: 28px 40px;
    padding: 32px;
    background: var(--theme-vehicle-detail-surface, var(--tableHighlight, #dedede));
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
    border-bottom: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-overview-body--with-price {
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
}
.vehicle-overview .vehicle-key-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 28px 32px;
    margin: 0;
    padding: 0;
}
.vehicle-key-fact {
    position: relative;
    min-width: 0;
    padding-left: 40px;
    line-height: 1.45;
    overflow-wrap: break-word;
}
.vehicle-key-fact dt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vehicle-detail-muted, #687078);
    font-size: var(--theme-inventory-detail-secondary-size, max(12px, 0.875em));
    margin: 0 0 6px;
}
.vehicle-key-fact dt .vehicle-fact-icon {
    position: absolute;
    top: 2px;
    left: 0;
}
.vehicle-key-fact dd {
    margin: 0;
    padding: 0;
    color: var(--vehicle-detail-value, #30363b);
    font-size: max(12px, 1em);
    font-weight: 600;
}
.vehicle-fact-icon {
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background-color: var(--vehicle-fact-icon-color, #767676);
    -webkit-mask: var(--vehicle-fact-icon) center / contain no-repeat;
    mask: var(--vehicle-fact-icon) center / contain no-repeat;
}
.vehicle-key-fact[data-fact="modelYear"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/modules/inventory/icons/modelyear.svg');
}
.vehicle-key-fact[data-fact="firstRegistration"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/calendar.svg');
}
.vehicle-key-fact[data-fact="mileage"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/modules/inventory/icons/mileage.svg');
}
.vehicle-key-fact[data-fact="fuel"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/modules/inventory/icons/fueltype.svg');
}
.vehicle-key-fact[data-fact="transmission"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/modules/inventory/icons/transmission.svg');
}
.vehicle-key-fact[data-fact="color"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/colordrop.svg');
}
.vehicle-fact-icon.vehicle-fact-icon--paint {
    position: relative;
    background: none;
    -webkit-mask: none;
    mask: none;
}
.vehicle-fact-icon--paint::before,
.vehicle-fact-icon--paint::after {
    content: '';
    position: absolute;
    inset: 0;
}
.vehicle-fact-icon--paint::before {
    background: var(--vehicle-paint-background);
    -webkit-mask: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/paint-drop.svg') center / contain no-repeat;
    mask: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/paint-drop.svg') center / contain no-repeat;
}
.vehicle-fact-icon--paint::after {
    background: var(--vehicle-fact-icon-color, #767676);
    -webkit-mask: var(--vehicle-fact-icon) center / contain no-repeat;
    mask: var(--vehicle-fact-icon) center / contain no-repeat;
}
.vehicle-color-name {
    position: relative;
    display: inline-block;
    max-width: 100%;
    cursor: help;
}
.vehicle-color-name:focus-visible {
    outline: 2px solid var(--primary, #222);
    outline-offset: 3px;
}
.vehicle-color-info {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    vertical-align: -2px;
    background: #69727c;
    -webkit-mask: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/info3.svg') center / contain no-repeat;
    mask: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/info3.svg') center / contain no-repeat;
}
.vehicle-color-name:hover .vehicle-color-info,
.vehicle-color-name:focus .vehicle-color-info {
    background: #343a40;
}
.vehicle-color-tooltip {
    position: absolute;
    z-index: 130;
    bottom: calc(100% + 8px);
    left: 0;
    box-sizing: border-box;
    width: max-content;
    max-width: min(22rem, 100%);
    padding: 12px 16px;
    border: 1px solid #e0e3e8;
    border-radius: 8px;
    background: #fff;
    color: #343a40;
    box-shadow: 0 8px 24px rgba(25, 35, 45, 0.12), 0 2px 6px rgba(25, 35, 45, 0.04);
    font-size: max(12px, 0.9em);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    visibility: hidden;
}
.vehicle-color-name:hover .vehicle-color-tooltip,
.vehicle-color-name:focus .vehicle-color-tooltip {
    visibility: visible;
}
.vehicle-color-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 8px;
}
.vehicle-key-fact[data-fact="location"] {
    --vehicle-fact-icon: url('/assets/87d24730f8e234526701/pages/inventory/css/icons/location.svg');
}
.vehicle-key-fact[data-fact="availability"] .vehicle-fact-icon {
    background: none;
    -webkit-mask: none;
    mask: none;
}
.vehicle-key-fact[data-fact="availability"] .vehicle-fact-icon::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 7px;
    border-radius: 50%;
    background: var(--vehicle-availability-color, #767676);
}
.vehicle-overview[data-availability="in_stock"] {
    --vehicle-availability-color: #1e8c22;
}
.vehicle-overview[data-availability="incoming"] {
    --vehicle-availability-color: #EBAA05;
}
.vehicle-overview[data-availability="reserved"] {
    --vehicle-availability-color: #D82B04;
}
.vehicle-overview .vehicle-purchase-price {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: 16px 24px;
    padding: 0 0 0 40px;
    border-left: 1px solid var(--vehicle-detail-border, #dedede);
    color: var(--vehicle-detail-value, #30363b);
    line-height: 1.4;
    overflow-wrap: break-word;
}
.vehicle-purchase-price .vehicle-price-amounts,
.vehicle-purchase-price dt,
.vehicle-purchase-price dd {
    margin: 0;
    padding: 0;
}
.vehicle-price-original {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 14px;
    color: var(--vehicle-detail-muted, #687078);
    font-size: max(12px, 0.875em);
}
.vehicle-price-original s {
    font-weight: 500;
    text-decoration-thickness: 1px;
}
.vehicle-purchase-price .vehicle-price-current dt {
    margin-bottom: 8px;
    color: var(--vehicle-detail-muted, #687078);
    font-size: max(12px, 0.875em);
    font-weight: 500;
}
.vehicle-price-current .vehicle-price-amount {
    font-size: clamp(1.875rem, 2.65vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}
.vehicle-price-current--discounted .vehicle-price-amount {
    color: var(--theme-inventory-price, #d32f2f);
}
.vehicle-price-current .vehicle-price-delivery,
.vehicle-price-notes p {
    margin: 8px 0 0;
    font-size: max(12px, 0.9em);
    line-height: 1.4;
    color: var(--vehicle-detail-muted, #687078);
}
/* Partner frames reserve the space of every payment mode at first layout. */
.lease-container[data-is-embed="1"] > .subscription-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
.lease-container[data-is-embed="1"] .payment-options {
    grid-row: 1;
}
.lease-container[data-is-embed="1"] .vehicle-payment-table {
    grid-row: 2;
}
.lease-container[data-is-embed="1"] .cash-options,
.lease-container[data-is-embed="1"] .leasing-options,
.lease-container[data-is-embed="1"] .subscription-options {
    grid-area: 3 / 1;
    align-self: start;
    min-width: 0;
    display: block !important;
    visibility: hidden;
}
.lease-container[data-is-embed="1"][data-payment-mode="cash"] .cash-options,
.lease-container[data-is-embed="1"][data-payment-mode="financing"] .leasing-options,
.lease-container[data-is-embed="1"][data-payment-mode="subscription"] .subscription-options {
    visibility: visible;
}
.lease-container[data-is-embed="1"] .subscription-result {
    display: block !important;
}
.lease-container[data-is-embed="1"] #insurance_sec,
.lease-container[data-is-embed="1"] #replacement_car_sec {
    display: flex !important;
}
.lease-container[data-is-embed="1"] .vehicle-payment-table .hide,
.lease-container[data-is-embed="1"] .vehicle-payment-table tr[style*="display:none"],
.lease-container[data-is-embed="1"] .vehicle-payment-table tr[style*="display: none"] {
    display: table-row !important;
    visibility: hidden;
}
.lease-container[data-is-embed="1"] #insurance_sec[style*="display: none"],
.lease-container[data-is-embed="1"] #replacement_car_sec[style*="display: none"] {
    visibility: hidden;
}
[data-is-embed="1"] #offer-summary-discount-row[style*="display:none"],
[data-is-embed="1"] #offer-summary-discount-row[style*="display: none"] {
    display: table-row !important;
    visibility: hidden;
}
[data-is-embed="1"] .eq-category-header--static,
[data-is-embed="1"] .eq-main {
    cursor: default;
}
[data-is-embed="1"] .eq-row.open .eq-detail {
    animation: none;
}
.inventory-detail__technical {
    container-type: inline-size;
    container-name: vehicle-specifications;
}
.inventory-detail__technical > h2 {
    color: var(--primary, var(--heading-ink, #000));
}
.inventory-detail :is(.inventory-detail__technical, .vehicle-equipment-header) > h2 {
    font-size: calc(24px + var(--theme-inventory-detail-heading-increase, 0px));
    line-height: 1.25;
}
.inventory-detail__technical > .vehicle-specifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    padding: 0;
}
.vehicle-specifications > .vehicle-specification {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-content: start;
    align-items: start;
    gap: 8px 16px;
    min-width: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--vehicle-detail-border, #dedede);
    line-height: var(--theme-inventory-detail-line, 1.5);
    font-size: max(12px, 1em);
    background: transparent;
}
.vehicle-specifications > .vehicle-specification:nth-child(-n + 2) {
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-specifications > .vehicle-specification:nth-child(4n + 1),
.vehicle-specifications > .vehicle-specification:nth-child(4n + 2) {
    background: var(--theme-vehicle-detail-surface, var(--tableHighlight, #f5f3f2));
}
/* Complete odd desktop rows visually without adding an empty definition pair. */
.vehicle-specifications:has(> .vehicle-specification:last-child:nth-child(odd))::after {
    content: '';
    border-bottom: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-specifications:has(> .vehicle-specification:last-child:nth-child(4n + 1))::after {
    background: var(--theme-vehicle-detail-surface, var(--tableHighlight, #f5f3f2));
}
.vehicle-specifications:has(> .vehicle-specification:only-child)::after {
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-specification dt,
.vehicle-specification dd {
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
}
.vehicle-specification dt {
    text-align: left;
    font-weight: 600;
}
.vehicle-specification dd {
    text-align: right;
}
.vehicle-additional-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-additional-info-text {
    max-width: 75ch;
    font-size: max(14px, 1em);
    line-height: 1.65;
    text-align: left;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.vehicle-additional-info-text > :first-child {
    margin-top: 0;
}
.vehicle-additional-info-text > :last-child {
    margin-bottom: 0;
}
.vehicle-additional-info-text p {
    margin: 0 0 1em;
    line-height: inherit;
}
.vehicle-additional-info-text a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.shop-container .vehicle-payment-table th,
.shop-container .vehicle-payment-table td {
    padding: 12px 16px;
    line-height: 1.45;
    vertical-align: top;
    overflow-wrap: break-word;
}
.shop-container .vehicle-payment-table th {
    text-align: left;
    font-weight: 600;
}
.shop-container .techdata-container,
.shop-container .lease-container {
    min-width: 0;
}
.techdata-container > .car-details-campaigns {
    margin: 0 0 24px;
}
.shop-container h2 {
    font-size: 1.4em;
    margin: 0 0 20px;
}
.vehicle-payment-table {
    width: 100%;
    margin: 16px 0;
}
.vehicle-equipment {
    container: vehicle-equipment / inline-size;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-equipment-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 24px;
}
.vehicle-equipment-header h2 {
    margin: 0;
}
.vehicle-equipment-toggle {
    appearance: none;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: var(--theme-inventory-detail-size, 14px);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
.vehicle-equipment-toggle[hidden] {
    display: none;
}
.vehicle-equipment .shop-equipment {
    columns: auto;
    margin-bottom: 32px;
}
.vehicle-equipment-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: -8px 0 24px;
}
.vehicle-equipment-nav a {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 0;
    color: inherit;
    font-size: var(--theme-inventory-detail-size, 14px);
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}
.vehicle-equipment-nav a:hover {
    text-decoration-thickness: 2px;
}
.vehicle-equipment-nav a:focus-visible,
.vehicle-equipment-toggle:focus-visible,
.vehicle-equipment-group > summary:focus-visible,
.vehicle-equipment .shop-equipment h3:focus-visible {
    outline: 2px solid var(--primary, #222);
    outline-offset: 4px;
}
.vehicle-equipment .shop-equipment > div {
    margin: 0;
    padding: 24px 0;
}
.vehicle-equipment .shop-equipment > div:first-child {
    padding-top: 0;
}
.vehicle-equipment .shop-equipment > div + div {
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-equipment .shop-equipment h3 {
    margin: 0 0 16px;
    font-size: calc(18px + var(--theme-inventory-detail-heading-increase, 0px));
    line-height: 1.35;
    scroll-margin-top: 120px;
}
.vehicle-equipment-group + .vehicle-equipment-group {
    border-top: 1px solid var(--vehicle-detail-border, #dedede);
}
.vehicle-equipment-group > summary {
    padding: 18px 0;
    list-style: none;
    cursor: pointer;
}
.vehicle-equipment-group > summary::-webkit-details-marker {
    display: none;
}
.vehicle-equipment-group > summary::marker {
    content: '';
}
.vehicle-equipment .vehicle-equipment-group h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.vehicle-equipment-group-name {
    min-width: 0;
    overflow-wrap: anywhere;
}
.vehicle-equipment-count {
    flex: 0 0 auto;
    color: var(--vehicle-detail-muted, #687078);
    font-size: var(--theme-inventory-detail-secondary-size, 14px);
    font-weight: 400;
}
.vehicle-equipment-chevron {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin: 0 4px 4px auto;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.vehicle-equipment-group[open] .vehicle-equipment-chevron {
    margin-bottom: -4px;
    transform: rotate(225deg);
}
.vehicle-equipment .shop-equipment .vehicle-equipment-group > ul,
#second .right .vehicle-equipment .shop-equipment .vehicle-equipment-group > ul {
    padding: 4px 0 24px;
}
.vehicle-equipment .shop-equipment details.vehicle-equipment-group:not([open]) > ul,
#second .right .vehicle-equipment .shop-equipment details.vehicle-equipment-group:not([open]) > ul {
    display: none;
}
.vehicle-equipment .shop-equipment ul,
#second .right .vehicle-equipment .shop-equipment ul {
    /* Flow down each column so wrapped descriptions don't stretch neighbours. */
    display: block;
    columns: 2;
    column-gap: 40px;
    column-fill: balance;
    margin: 0;
    padding: 0;
    list-style: none;
}
.vehicle-equipment .shop-equipment li,
#second .right .vehicle-equipment .shop-equipment li {
    list-style: none;
    position: relative;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 16px;
    break-inside: avoid-column;
    background: none;
    font-size: var(--theme-inventory-detail-size, 14px);
    /* Brand styles set a fixed !important line height on all list items. */
    line-height: 1.5 !important;
    overflow-wrap: break-word;
}
.vehicle-equipment .shop-equipment li::before,
#second .right .vehicle-equipment .shop-equipment li::before {
    content: '';
    display: block;
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    margin-left: 0;
}
.vehicle-equipment .shop-equipment li::marker {
    content: '';
}
@container vehicle-equipment (max-width: 740px) {
    .vehicle-equipment .shop-equipment ul,
    #second .right .vehicle-equipment .shop-equipment ul {
        columns: 1;
        column-gap: 0;
    }
}
@media (min-width: 1021px) {
    @container vehicle-overview (min-width: 900px) {
        .vehicle-overview-body--with-price:has(.vehicle-price-summary + .inventory-detail__actions) {
            grid-template-columns: minmax(0, 1.2fr) minmax(420px, 1fr);
        }
        .vehicle-overview .vehicle-purchase-price:has(> .vehicle-price-summary + .inventory-detail__actions) {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            padding-inline-start: 24px;
        }
        .vehicle-price-summary + .inventory-detail__actions {
            grid-template-columns: minmax(0, 1fr);
        }
    }
}
@media (max-width: 1020px) {
    .vehicle-overview .shop-heading {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .vehicle-overview .vehicle-title-group {
        /* A horizontal flex basis becomes a fixed height in a column layout. */
        flex: 0 0 auto;
        width: 100%;
    }
    .vehicle-overview-body--with-price {
        grid-template-columns: minmax(0, 1fr);
    }
    .vehicle-overview .vehicle-purchase-price {
        width: 100%;
        box-sizing: border-box;
        padding: 24px 0 0;
        border-left: 0;
        border-top: 1px solid var(--vehicle-detail-border, #dedede);
    }
    .vehicle-price-amounts:has(.vehicle-price-original) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        align-items: start;
        column-gap: 16px;
    }
    .vehicle-price-amounts:has(.vehicle-price-original) > div {
        display: contents;
    }
    .vehicle-price-amounts:has(.vehicle-price-original) dt {
        grid-row: 1;
    }
    .vehicle-price-amounts:has(.vehicle-price-original) dd:not(.vehicle-price-delivery) {
        grid-row: 2;
    }
    .vehicle-price-original > * {
        grid-column: 2;
    }
    .vehicle-price-delivery {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}
@container vehicle-specifications (max-width: 620px) {
    .inventory-detail__technical > .vehicle-specifications {
        grid-template-columns: minmax(0, 1fr);
    }
    .vehicle-specifications::after {
        display: none;
    }
    .vehicle-specifications > .vehicle-specification:nth-child(2) {
        border-top: 0;
    }
    .vehicle-specifications > .vehicle-specification:nth-child(even) {
        background: transparent;
    }
    .vehicle-specifications > .vehicle-specification:nth-child(odd) {
        background: var(--theme-vehicle-detail-surface, var(--tableHighlight, #f5f3f2));
    }
}
@media (max-width: 640px) {
    .vehicle-overview-body {
        padding: 24px 20px;
    }
    .vehicle-overview .inventory-detail__actions {
        grid-template-columns: minmax(0, 1fr);
    }
    .vehicle-overview .vehicle-key-facts {
        gap: 24px 16px;
    }
    .vehicle-key-fact {
        padding-left: 32px;
    }
    .inventory-detail__technical > .vehicle-specifications {
        grid-template-columns: minmax(0, 1fr);
    }
    .vehicle-specifications::after {
        display: none;
    }
    .vehicle-specifications > .vehicle-specification:nth-child(2) {
        border-top: 0;
    }
    .vehicle-specifications > .vehicle-specification {
        padding: 12px;
        column-gap: 12px;
    }
    .vehicle-specifications > .vehicle-specification:nth-child(even) {
        background: transparent;
    }
    .vehicle-specifications > .vehicle-specification:nth-child(odd) {
        background: var(--theme-vehicle-detail-surface, var(--tableHighlight, #f5f3f2));
    }
    .shop-container .vehicle-payment-table th,
    .shop-container .vehicle-payment-table td {
        padding: 10px 12px;
    }
}

/* A stable image viewport exists before (and without) carousel enhancement. */
#vehicle-gallery {
    --vehicle-gallery-height: clamp(180px, 38vw, 340px);
    position: relative;
    clear: both;
    float: none;
    width: 100%;
    margin: 0 0 24px;
}
#vehicle-gallery .vehicle-gallery-slides,
#vehicle-gallery .slick-list,
#vehicle-gallery .slick-track {
    height: var(--vehicle-gallery-height);
    margin: 0;
}
#vehicle-gallery .vehicle-gallery-slides {
    position: relative;
    /* Shared Slick styles otherwise force height: 100% !important. */
    height: var(--vehicle-gallery-height) !important;
}
#vehicle-gallery .vehicle-gallery-slides:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}
#vehicle-gallery .vehicle-gallery-slide {
    display: block;
    flex: 0 0 100%;
    height: var(--vehicle-gallery-height);
    min-height: 0;
    /* Site Slick styles impose a 960px !important cap on every slide. */
    max-width: none !important;
    margin: 0;
    scroll-snap-align: center;
}
#vehicle-gallery .vehicle-gallery-slide .shopimage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}
#vehicle-gallery .vehicle-gallery-slide img,
#vehicle-gallery .vehicle-gallery-empty img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: scale-down;
}
#vehicle-gallery .vehicle-gallery-slide img[hidden] {
    display: none;
}
#vehicle-gallery .shopimage:focus-visible,
#vehicle-gallery button:focus-visible {
    outline: 2px solid var(--primary, #222);
    outline-offset: -3px;
}
#vehicle-gallery .vehicle-gallery-controls {
    display: flex;
    align-items: center;
    min-height: 48px;
}
#vehicle-gallery [data-gallery-dots] {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}
#vehicle-gallery .vehicle-gallery-dots,
#second #vehicle-gallery .vehicle-gallery-dots {
    /* Beat the editor's general ul/li spacing and generated bullet styles. */
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    width: max-content;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    line-height: 1;
}
#vehicle-gallery .vehicle-gallery-dots li,
#second #vehicle-gallery .vehicle-gallery-dots li {
    display: block;
    position: relative;
    float: none;
    flex: 0 0 28px;
    width: 28px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    list-style: none;
    line-height: 1;
}
#vehicle-gallery .vehicle-gallery-dots li::before,
#vehicle-gallery .vehicle-gallery-dots li::after,
#vehicle-gallery .vehicle-gallery-dots button::before,
#second #vehicle-gallery .vehicle-gallery-dots li::before,
#second #vehicle-gallery .vehicle-gallery-dots li::after,
#second #vehicle-gallery .vehicle-gallery-dots button::before {
    content: none !important;
    display: none !important;
}
#vehicle-gallery .vehicle-gallery-dots li::marker,
#second #vehicle-gallery .vehicle-gallery-dots li::marker {
    content: '';
}
#vehicle-gallery .vehicle-gallery-dots button,
#second #vehicle-gallery .vehicle-gallery-dots button {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 28px;
    min-width: 28px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}
#vehicle-gallery .vehicle-gallery-dots button::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbb;
}
#vehicle-gallery .vehicle-gallery-dots .slick-active button::after {
    background: var(--primary, #222);
}
#vehicle-gallery .slick-arrow {
    position: absolute;
    top: calc(var(--vehicle-gallery-height) / 2);
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    transform: translateY(-50%);
    background: var(--primary, #222);
    color: #fff;
    cursor: pointer;
}
#vehicle-gallery .slick-arrow::before {
    content: none;
}
#vehicle-gallery .slick-arrow svg {
    width: 20px;
    height: 20px;
}
#vehicle-gallery .slick-prev { left: 0; }
#vehicle-gallery .slick-next { right: 0; }
#vehicle-gallery .slick-disabled { opacity: 0.4; }
#vehicle-gallery .slick-hidden { display: none; }
#vehicle-gallery .vehicle-gallery-error:not([hidden]) {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 8px;
    background: #fff;
    color: #333;
    text-align: center;
}
#vehicle-gallery .vehicle-gallery-empty {
    position: relative;
    height: var(--vehicle-gallery-height);
}
#vehicle-gallery .vehicle-gallery-empty p {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    margin: 0;
    text-align: center;
}
@media (prefers-reduced-motion: reduce) {
    #vehicle-gallery .slick-track { transition: none !important; }
}

/* Native scrolling preserves the release gallery's bounded, centered slides. */
#vehicle-gallery .vehicle-gallery-slides {
  box-sizing: border-box;
  padding-inline: 12%;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
}
#vehicle-gallery .vehicle-gallery-slides::-webkit-scrollbar {
  display: none;
}
#vehicle-gallery .slick-arrow:disabled {
  opacity: .4;
}
@media (max-width: 1019px) {
  #vehicle-gallery .vehicle-gallery-slides { padding-inline: 24px; }
  #vehicle-gallery .slick-arrow { display: none; }
}
