/* =========================================================
   AUT0LOTTO – FAHRZEUGDETAILSEITE
========================================================= */

.page-vehicle main {
    overflow: hidden;
}

/* Alte Serifenschriften überschreiben */

.page-vehicle,
.page-vehicle button,
.page-vehicle input,
.page-vehicle select,
.page-vehicle textarea,
.page-vehicle h1,
.page-vehicle h2,
.page-vehicle h3,
.page-vehicle h4,
.page-vehicle p,
.page-vehicle a,
.page-vehicle span,
.page-vehicle strong,
.page-vehicle small {
    font-family:
        Inter,
        Arial,
        "Segoe UI",
        sans-serif !important;
}

/* =========================================================
   FEHLERSEITE
========================================================= */

.vehicle-error-section {
    min-height: 650px;
    padding: 120px 0;

    display: flex;
    align-items: center;
}

.vehicle-error-card {
    max-width: 720px;
    margin-inline: auto;
    padding: 70px 40px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 37, 58, 0.92),
            rgba(8, 23, 39, 0.95)
        );

    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.3);

    text-align: center;
}

.vehicle-error-icon {
    margin-bottom: 18px;
    font-size: 55px;
}

.vehicle-error-card h1 {
    margin-bottom: 14px;

    font-size: clamp(35px, 5vw, 50px);
    font-weight: 950;
}

.vehicle-error-card p {
    max-width: 540px;
    margin: 0 auto 28px;

    color: #8999ac;
}

.vehicle-error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================================================
   OBERER FAHRZEUGKOPF
========================================================= */

.vehicle-detail-hero {
    position: relative;
    isolation: isolate;

    padding: 58px 0 38px;

    overflow: hidden;
}

.vehicle-detail-hero::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(47, 109, 246, 0.14),
            transparent 31%
        ),
        radial-gradient(
            circle at 82% 28%,
            rgba(47, 158, 180, 0.07),
            transparent 30%
        );
}

.vehicle-detail-glow {
    position: absolute;
    top: -220px;
    right: 4%;
    z-index: -2;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 109, 246, 0.16),
            transparent 70%
        );
}

/* Breadcrumb */

.vehicle-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;

    margin-bottom: 28px;

    color: #6f8094;

    font-size: 11px;
}

.vehicle-breadcrumb a {
    transition: color var(--al-transition);
}

.vehicle-breadcrumb a:hover {
    color: #8cacff;
}

.vehicle-breadcrumb > span:last-child {
    overflow: hidden;

    max-width: 420px;

    color: #9cabbc;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Überschrift */

.vehicle-detail-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
}

.vehicle-detail-heading > div:first-child {
    min-width: 0;
}

.vehicle-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 31px;
    margin-bottom: 17px;
    padding: 7px 13px;

    border-radius: var(--al-radius-pill);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vehicle-detail-status.is-active {
    border: 1px solid rgba(79, 201, 155, 0.18);

    background: rgba(44, 145, 108, 0.13);
    color: #75dfb8;
}

.vehicle-detail-status.is-active > span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #79ebbd;

    box-shadow:
        0 0 0 4px rgba(121, 235, 189, 0.11);

    animation:
        vehicleStatusPulse
        1.8s ease-in-out infinite;
}

@keyframes vehicleStatusPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.78);
    }
}

.vehicle-detail-status.is-upcoming {
    border: 1px solid rgba(255, 200, 61, 0.18);

    background: rgba(255, 200, 61, 0.09);
    color: #ffd46b;
}

.vehicle-detail-status.is-completed {
    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.035);
    color: #9ba8b8;
}

.vehicle-detail-heading h1 {
    max-width: 880px;
    margin-bottom: 12px;

    font-size: clamp(44px, 5vw, 68px);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.052em;
}

.vehicle-detail-heading p {
    margin: 0;

    color: #8191a5;

    font-size: 14px;
}

.vehicle-back-link {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 11px 0;

    color: #789fff;

    font-size: 12px;
    font-weight: 800;

    transition:
        gap var(--al-transition),
        color var(--al-transition);
}

.vehicle-back-link:hover {
    gap: 13px;
    color: #9bb7ff;
}

/* =========================================================
   HAUPTLAYOUT
========================================================= */

.vehicle-detail-section {
    position: relative;

    padding: 30px 0 105px;
}

.vehicle-detail-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 390px);
    align-items: start;
    gap: 28px;
}

.vehicle-detail-main {
    min-width: 0;
}

/* =========================================================
   GALERIE
========================================================= */

.vehicle-detail-gallery {
    margin-bottom: 27px;
}

.vehicle-gallery-main {
    position: relative;

    height: 610px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 23px;

    background: #071421;

    box-shadow:
        0 27px 70px rgba(0, 0, 0, 0.31);

    overflow: hidden;
}

.vehicle-gallery-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        opacity 220ms ease,
        transform 650ms ease,
        filter 650ms ease;
}

.vehicle-gallery-main img.is-changing {
    opacity: 0.38;
    transform: scale(0.985);
}

.vehicle-gallery-main:hover img {
    transform: scale(1.025);

    filter:
        saturate(1.04)
        contrast(1.015);
}

.vehicle-gallery-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 11, 20, 0.72),
            transparent 40%
        );

    pointer-events: none;
}

.vehicle-gallery-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;

    min-height: 31px;
    padding: 8px 13px;

    border: 1px solid rgba(102, 148, 255, 0.18);
    border-radius: var(--al-radius-pill);

    background: rgba(9, 27, 46, 0.78);
    color: #8aabff;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    backdrop-filter: blur(12px);
}

.vehicle-gallery-expand {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 4;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    background: rgba(5, 17, 29, 0.73);
    color: #ffffff;

    font-size: 20px;

    backdrop-filter: blur(12px);

    transition:
        transform var(--al-transition),
        background var(--al-transition);
}

.vehicle-gallery-expand:hover {
    transform: scale(1.06);
    background: #356fe8;
}

/* Vorschaubilder */

.vehicle-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;

    margin-top: 12px;
}

.vehicle-gallery-thumbnail {
    position: relative;

    height: 102px;
    padding: 0;

    border: 2px solid transparent;
    border-radius: 13px;

    background: #081522;

    opacity: 0.65;
    overflow: hidden;

    transition:
        opacity var(--al-transition),
        border-color var(--al-transition),
        transform var(--al-transition),
        box-shadow var(--al-transition);
}

.vehicle-gallery-thumbnail:hover,
.vehicle-gallery-thumbnail.is-active {
    opacity: 1;
    transform: translateY(-3px);
}

.vehicle-gallery-thumbnail.is-active {
    border-color: #4b82ff;

    box-shadow:
        0 0 0 3px rgba(47, 109, 246, 0.11);
}

.vehicle-gallery-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================================
   FAHRZEUGINFORMATIONEN
========================================================= */

.vehicle-detail-information {
    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 35, 54, 0.78),
            rgba(8, 23, 39, 0.84)
        );

    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.21);

    backdrop-filter: blur(14px);
}

.vehicle-information-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 25px;
}

.vehicle-information-heading span:first-child,
.vehicle-detail-description > span {
    display: block;

    margin-bottom: 6px;

    color: #6e99ff;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vehicle-information-heading h2,
.vehicle-detail-description h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 880;
}

.vehicle-information-year {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 63px;
    height: 40px;
    padding-inline: 12px;

    border: 1px solid rgba(92, 141, 255, 0.14);
    border-radius: 11px;

    background: rgba(47, 109, 246, 0.07);
    color: #8aaaff;

    font-size: 13px;
    font-weight: 900;
}

.vehicle-detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;

    margin-bottom: 29px;
}

.vehicle-detail-spec {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;
    min-height: 78px;
    padding: 13px;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.024);
}

.vehicle-detail-spec-icon {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;

    border-radius: 10px;

    background: rgba(47, 109, 246, 0.1);
    color: #77a0ff;

    font-size: 16px;
}

.vehicle-detail-spec > div {
    min-width: 0;
}

.vehicle-detail-spec small,
.vehicle-detail-spec strong {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-detail-spec small {
    margin-bottom: 3px;

    color: #6e7e91;

    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.vehicle-detail-spec strong {
    color: #dfe7f0;

    font-size: 11px;
    font-weight: 780;
}

.vehicle-detail-description {
    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vehicle-detail-description h2 {
    margin-bottom: 15px;
}

.vehicle-detail-description p {
    margin: 0;

    color: #8999ab;

    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   TICKET-/KAUFBEREICH
========================================================= */

.vehicle-purchase-panel {
    position: sticky;
    top: 105px;

    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 21px;

    background:
        linear-gradient(
            155deg,
            rgba(19, 39, 60, 0.96),
            rgba(7, 22, 38, 0.97)
        );

    box-shadow:
        0 26px 65px rgba(0, 0, 0, 0.33),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    overflow: hidden;
}

.vehicle-purchase-panel::before {
    content: "";

    position: absolute;
    top: -130px;
    right: -120px;

    width: 290px;
    height: 290px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 109, 246, 0.16),
            transparent 68%
        );

    pointer-events: none;
}

.vehicle-purchase-header {
    position: relative;

    margin-bottom: 23px;
    padding-bottom: 21px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.065);

    text-align: center;
}

.vehicle-purchase-header span,
.vehicle-purchase-header strong,
.vehicle-purchase-header small {
    display: block;
}

.vehicle-purchase-header > span {
    margin-bottom: 5px;

    color: #76869a;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vehicle-purchase-header strong {
    color: #ffffff;

    font-size: 40px;
    font-weight: 950;
    line-height: 1;
}

.vehicle-purchase-header small {
    margin-top: 7px;

    color: #718196;

    font-size: 9px;
}

/* Fortschritt */

.vehicle-ticket-progress {
    position: relative;

    margin-bottom: 20px;
}

.vehicle-ticket-progress-head,
.vehicle-ticket-progress-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.vehicle-ticket-progress-head {
    margin-bottom: 9px;
}

.vehicle-ticket-progress-head span {
    color: #78889b;

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.vehicle-ticket-progress-head strong {
    color: #ffffff;

    font-size: 12px;
}

.vehicle-ticket-progress-track {
    height: 8px;

    border-radius: var(--al-radius-pill);

    background: rgba(255, 255, 255, 0.06);

    overflow: hidden;
}

.vehicle-ticket-progress-track > span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #3574ef,
            #65a0ff
        );

    box-shadow:
        0 0 13px rgba(68, 132, 255, 0.38);
}

.vehicle-ticket-progress-values {
    margin-top: 8px;
}

.vehicle-ticket-progress-values span {
    color: #6d7e91;

    font-size: 8px;
}

/* Ziehungsbox */

.vehicle-draw-box {
    margin-bottom: 20px;
    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.024);
}

.vehicle-draw-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 14px;
}

.vehicle-draw-heading span,
.vehicle-draw-heading strong,
.vehicle-draw-heading small {
    display: block;
}

.vehicle-draw-heading > div > span {
    color: #748499;

    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.vehicle-draw-heading strong {
    margin-top: 3px;

    color: #ffffff;

    font-size: 14px;
}

.vehicle-draw-heading small {
    color: #708095;

    font-size: 8px;
}

.vehicle-draw-icon {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 11px;

    background: rgba(47, 109, 246, 0.1);
    color: #78a0ff;
}

/* Countdown */

.vehicle-detail-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.vehicle-detail-countdown .countdown-unit {
    min-width: 0;
    padding: 10px 3px;

    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 9px;

    background: rgba(47, 109, 246, 0.055);

    text-align: center;
}

.vehicle-detail-countdown .countdown-number {
    display: block;

    color: #ffffff;

    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.vehicle-detail-countdown .countdown-label {
    display: block;

    margin-top: 5px;

    color: #66778c;

    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
}

.vehicle-draw-message {
    margin: 0;

    color: #8494a6;

    font-size: 11px;
    line-height: 1.6;
}

/* Ticketformular */

.vehicle-ticket-form {
    position: relative;

    margin-bottom: 20px;
}

.vehicle-ticket-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 13px;
}

.vehicle-ticket-form-heading > div span,
.vehicle-ticket-form-heading > div strong {
    display: block;
}

.vehicle-ticket-form-heading > div span {
    color: #718196;

    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.vehicle-ticket-form-heading > div strong {
    margin-top: 2px;

    color: #ffffff;

    font-size: 13px;
}

.vehicle-ticket-form-heading > span {
    color: #708198;

    font-size: 8px;
}

.vehicle-ticket-quick-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;

    margin-bottom: 10px;
}

.vehicle-ticket-quick-buttons button {
    min-height: 39px;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.025);
    color: #8797a9;

    font-size: 11px;
    font-weight: 850;

    transition:
        background var(--al-transition),
        border-color var(--al-transition),
        color var(--al-transition),
        transform var(--al-transition);
}

.vehicle-ticket-quick-buttons button:hover,
.vehicle-ticket-quick-buttons button.is-active {
    border-color: rgba(92, 141, 255, 0.26);

    background: rgba(47, 109, 246, 0.12);
    color: #9bb7ff;
}

.vehicle-ticket-quick-buttons button:active {
    transform: scale(0.97);
}

/* Zähler */

.vehicle-ticket-counter {
    display: grid;
    grid-template-columns: 47px minmax(0, 1fr) 47px;
    gap: 7px;

    margin-bottom: 12px;
}

.vehicle-ticket-counter button {
    min-height: 49px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;

    font-size: 23px;
    font-weight: 500;

    transition:
        border-color var(--al-transition),
        background var(--al-transition);
}

.vehicle-ticket-counter button:hover {
    border-color: rgba(92, 141, 255, 0.28);

    background: rgba(47, 109, 246, 0.1);
}

.vehicle-ticket-counter label {
    display: block;
}

.vehicle-ticket-counter input {
    width: 100%;
    height: 49px;
    padding: 0 10px;

    border: 1px solid rgba(92, 141, 255, 0.17);
    border-radius: 11px;

    background: rgba(47, 109, 246, 0.065);
    color: #ffffff;

    font-size: 18px;
    font-weight: 900;
    text-align: center;

    appearance: textfield;
}

.vehicle-ticket-counter input::-webkit-inner-spin-button,
.vehicle-ticket-counter input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.vehicle-ticket-counter input:focus {
    border-color: rgba(92, 141, 255, 0.55);

    box-shadow:
        0 0 0 4px rgba(47, 109, 246, 0.09);

    outline: none;
}

/* Gesamtpreis */

.vehicle-ticket-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 12px;
    padding: 15px;

    border: 1px solid rgba(92, 141, 255, 0.13);
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 109, 246, 0.11),
            rgba(47, 109, 246, 0.035)
        );
}

.vehicle-ticket-total span,
.vehicle-ticket-total small {
    display: block;
}

.vehicle-ticket-total > div > span {
    color: #78899d;

    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.vehicle-ticket-total small {
    margin-top: 3px;

    color: #6c7d91;

    font-size: 8px;
}

.vehicle-ticket-total > strong {
    color: #ffffff;

    font-size: 24px;
    font-weight: 950;
}

.vehicle-add-cart-button {
    width: 100%;
}

.vehicle-ticket-message {
    min-height: 18px;
    margin-top: 10px;

    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.vehicle-ticket-message.is-success {
    color: #71dcb5;
}

.vehicle-ticket-message.is-error {
    color: #ff9194;
}

/* Nicht verfügbar */

.vehicle-unavailable-box {
    margin-bottom: 20px;
    padding: 20px;

    border: 1px solid rgba(239, 100, 103, 0.14);
    border-radius: 14px;

    background: rgba(239, 100, 103, 0.055);

    text-align: center;
}

.vehicle-unavailable-box > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-bottom: 11px;

    border-radius: 50%;

    background: rgba(239, 100, 103, 0.11);
    color: #ff9698;

    font-size: 19px;
    font-weight: 900;
}

.vehicle-unavailable-box strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 14px;
}

.vehicle-unavailable-box p {
    margin: 0;

    color: #8d98a7;

    font-size: 10px;
    line-height: 1.6;
}

.vehicle-unavailable-box.is-upcoming {
    border-color: rgba(255, 200, 61, 0.15);

    background: rgba(255, 200, 61, 0.055);
}

.vehicle-unavailable-box.is-upcoming > span {
    background: rgba(255, 200, 61, 0.11);
    color: #ffd56d;
}

/* Vorteile */

.vehicle-purchase-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vehicle-purchase-benefits > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.vehicle-purchase-benefits span {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background: rgba(79, 201, 155, 0.1);
    color: #69d8af;

    font-size: 10px;
    font-weight: 900;
}

.vehicle-purchase-benefits p {
    margin: 0;

    color: #8493a6;

    font-size: 9px;
}

.vehicle-purchase-terms {
    margin: 14px 0 0;

    color: #68798d;

    font-size: 8px;
    line-height: 1.55;
    text-align: center;
}

.vehicle-purchase-terms a {
    color: #789fff;
}

.vehicle-purchase-terms a:hover {
    text-decoration: underline;
}

/* =========================================================
   ÄHNLICHE FAHRZEUGE
========================================================= */

.similar-vehicles-section {
    position: relative;

    padding: 90px 0 105px;
}

.similar-vehicles-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 35px;
}

.similar-vehicles-heading .section-title-new {
    margin-bottom: 0;
}

.similar-vehicles-heading .section-title-new span {
    color: var(--al-primary-light);
}

.similar-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.similar-vehicle-card {
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 35, 54, 0.91),
            rgba(8, 23, 39, 0.94)
        );

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.23);

    overflow: hidden;

    transition:
        transform var(--al-transition),
        border-color var(--al-transition),
        box-shadow var(--al-transition);
}

.similar-vehicle-card:hover {
    transform: translateY(-6px);

    border-color: rgba(92, 141, 255, 0.26);

    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.29);
}

.similar-vehicle-image {
    display: block;

    height: 220px;

    background: #071421;

    overflow: hidden;
}

.similar-vehicle-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 650ms ease,
        filter 650ms ease;
}

.similar-vehicle-card:hover .similar-vehicle-image img {
    transform: scale(1.055);

    filter: saturate(1.04);
}

.similar-vehicle-content {
    padding: 19px;
}

.similar-vehicle-content > span {
    display: block;

    margin-bottom: 5px;

    color: #6f99ff;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.similar-vehicle-content h3 {
    margin-bottom: 17px;

    font-size: 18px;
    font-weight: 850;
}

.similar-vehicle-progress {
    margin-bottom: 17px;
}

.similar-vehicle-progress > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 7px;
}

.similar-vehicle-progress span {
    color: #748498;

    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.similar-vehicle-progress strong {
    color: #ffffff;

    font-size: 10px;
}

.similar-progress-track {
    height: 6px;

    border-radius: var(--al-radius-pill);

    background: rgba(255, 255, 255, 0.06);

    overflow: hidden;
}

.similar-progress-track > span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #3675ef,
            #67a1ff
        );
}

.similar-vehicle-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 39px;
    align-items: center;
    gap: 12px;

    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.similar-vehicle-footer span,
.similar-vehicle-footer strong {
    display: block;
}

.similar-vehicle-footer span {
    color: #6e7f93;

    font-size: 7px;
    font-weight: 750;
    text-transform: uppercase;
}

.similar-vehicle-footer strong {
    margin-top: 2px;

    color: #dce4ee;

    font-size: 11px;
}

.similar-vehicle-footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border: 1px solid rgba(92, 141, 255, 0.15);
    border-radius: 11px;

    background: rgba(47, 109, 246, 0.08);
    color: #82a4ff;

    font-size: 17px;

    transition:
        background var(--al-transition),
        color var(--al-transition),
        transform var(--al-transition);
}

.similar-vehicle-footer > a:hover {
    transform: translateX(3px);

    background: #356fe8;
    color: #ffffff;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.vehicle-detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(1, 7, 13, 0.95);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity var(--al-transition),
        visibility var(--al-transition);

    backdrop-filter: blur(16px);
}

.vehicle-detail-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vehicle-detail-lightbox img {
    max-width: min(1250px, 95vw);
    max-height: 89vh;

    border-radius: 17px;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.62);
}

.vehicle-detail-lightbox-close {
    position: absolute;
    top: 22px;
    right: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;

    font-size: 30px;
    line-height: 1;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1160px) {
    .vehicle-detail-layout {
        grid-template-columns:
            minmax(0, 1fr)
            335px;
        gap: 20px;
    }

    .vehicle-gallery-main {
        height: 525px;
    }

    .vehicle-detail-spec-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .similar-vehicles-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .similar-vehicle-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;

        width: min(100%, 520px);
        margin-inline: auto;
    }
}

@media (max-width: 900px) {
    .vehicle-detail-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-detail-layout {
        grid-template-columns: 1fr;
    }

    .vehicle-purchase-panel {
        position: relative;
        top: auto;
    }

    .vehicle-gallery-main {
        height: 500px;
    }

    .vehicle-gallery-thumbnails {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .vehicle-detail-hero {
        padding-top: 43px;
        padding-bottom: 28px;
    }

    .vehicle-detail-heading h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .vehicle-detail-section {
        padding-top: 20px;
        padding-bottom: 75px;
    }

    .vehicle-gallery-main {
        height: 350px;

        border-radius: 17px;
    }

    .vehicle-gallery-thumbnails {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .vehicle-gallery-thumbnail {
        height: 82px;
    }

    .vehicle-detail-information {
        padding: 22px 18px;
    }

    .vehicle-information-heading {
        align-items: flex-start;
    }

    .vehicle-information-heading h2,
    .vehicle-detail-description h2 {
        font-size: 21px;
    }

    .vehicle-detail-spec-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-purchase-panel {
        padding: 21px 18px;
    }

    .similar-vehicles-section {
        padding-top: 70px;
        padding-bottom: 78px;
    }

    .similar-vehicles-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .similar-vehicles-heading .al-button {
        width: 100%;
    }

    .similar-vehicles-grid {
        grid-template-columns: 1fr;
    }

    .similar-vehicle-card:last-child:nth-child(odd) {
        grid-column: auto;

        width: 100%;
    }
}

@media (max-width: 430px) {
    .vehicle-breadcrumb > span:last-child {
        max-width: 170px;
    }

    .vehicle-gallery-main {
        height: 270px;
    }

    .vehicle-gallery-thumbnail {
        height: 68px;
    }

    .vehicle-gallery-badge {
        top: 12px;
        left: 12px;
    }

    .vehicle-gallery-expand {
        top: 11px;
        right: 11px;

        width: 39px;
        height: 39px;
    }

    .vehicle-information-heading {
        flex-direction: column;
    }

    .vehicle-ticket-quick-buttons {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vehicle-detail-countdown {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vehicle-detail-countdown .countdown-unit {
        padding-block: 11px;
    }

    .vehicle-ticket-total > strong {
        font-size: 21px;
    }

    .vehicle-error-actions {
        flex-direction: column;
    }

    .vehicle-error-actions .al-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-detail-status.is-active > span {
        animation: none;
    }

    .vehicle-gallery-main img,
    .vehicle-gallery-thumbnail,
    .similar-vehicle-card,
    .similar-vehicle-image img {
        transition: none;
    }
}