/* Leasing flow (SearchAvailabilityLeasing and later leasing pages). Kept separate from style.css so the
   standard flow's styles are untouched. */

/* ==== Hero ==== */
.leasing-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-color: var(--text-darkblack);
}

.leasing-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Darken the left side so the white text is readable on any background image. */
.leasing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 100%);
}

.leasing-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
    color: var(--text-white);
}

    .leasing-hero-content h1 {
        max-width: 560px;
        margin-bottom: 16px;
        font-size: clamp(30px, 4.2vw, 52px);
        font-weight: 800;
        line-height: 1.1;
        color: var(--text-white);
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    }

    .leasing-hero-content p {
        max-width: 520px;
        margin-bottom: 0;
        font-size: 18px;
        line-height: 1.5;
        color: var(--text-white);
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    }

/* ==== Section heading above filters/results ==== */
.leasing-heading {
    margin: 40px 0 24px;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    color: var(--text-darkblack);
}

/* ==== Monthly price filter ==== */
.leasing-price-intervals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leasing-price-interval {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e6e7eb;
    border-radius: 10px;
    background-color: #f6f7f9;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-darkblack);
}

    .leasing-price-interval:hover {
        border-color: var(--bg-blue);
    }

    .leasing-price-interval.selected {
        border-color: var(--bg-blue);
        background-color: var(--bg-secondary);
    }

/* ==== Car tiles ==== */
.leasing-car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.leasing-car-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e6e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.leasing-car-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 186px;
    background-color: #eef0f3;
}

    .leasing-car-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

        .leasing-car-image img.placeholder {
            width: 60%;
            height: auto;
            object-fit: contain;
        }

.leasing-availability {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

    .leasing-availability::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background-color: currentColor;
    }

    .leasing-availability.now {
        color: #15803d;
        background-color: #e7f6ec;
    }

    .leasing-availability.later {
        color: #b45309;
        background-color: #fdf0dc;
    }

.leasing-car-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 16px 16px;
}

.leasing-car-title {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-darkblack);
}

.leasing-car-variant {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.leasing-car-type {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: #eceef1;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-darkblack);
}

.leasing-rental-period {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #e6e7eb;
    border-radius: 10px;
    background-color: #f6f7f9;
}

    .leasing-rental-period img {
        width: 22px;
        height: 22px;
    }

    .leasing-rental-period .label {
        display: block;
        font-size: 12px;
        color: var(--text-gray);
    }

    .leasing-rental-period .value {
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: var(--text-darkblack);
    }

.leasing-car-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-gray);
}

    /* Also the vehicle information on the detail page. */
    .leasing-car-specs div,
    .leasing-detail-specs li,
    .leasing-car-location {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .leasing-car-specs img,
    .leasing-detail-specs img,
    .leasing-car-location img {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

.leasing-car-location {
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-darkblack);
}

/* Price and button sit at the bottom so tiles in a row line up. */
.leasing-car-price {
    margin-top: auto;
    margin-bottom: 12px;
    text-align: right;
    font-size: 14px;
    color: var(--text-darkblack);
}

    .leasing-car-price .from {
        display: block;
        font-size: 12px;
        color: var(--text-gray);
    }

    .leasing-car-price .amount {
        font-size: 22px;
        font-weight: 800;
    }

/* The action buttons of the leasing steps: the same height (42px) on every step. */
.leasing-btn {
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
    line-height: 16px;
}

@media (max-width: 1199.98px) {
    .leasing-car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .leasing-car-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .leasing-hero {
        min-height: 220px;
    }

    .leasing-hero-content p {
        font-size: 16px;
    }

    .leasing-heading {
        margin: 24px 0 16px;
    }
}

/* ==== Car detail ==== */
.leasing-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bg-blue);
    font-weight: 600;
    cursor: pointer;
}

    .leasing-back svg {
        width: 18px;
        height: 18px;
    }

        /* style.css fills every path; the chevron is a stroke only. */
        .leasing-back svg path {
            fill: none;
        }

/* Car information: picture, facts and price side by side, as in the prototype. */
.leasing-panel {
    padding: 28px;
    border: 1px solid #e6e7eb;
    border-radius: 14px;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(20, 25, 35, 0.06);
}

.leasing-detail-top {
    display: grid;
    grid-template-columns: 1.1fr 1fr 240px;
    gap: 32px;
    align-items: start;
}

.leasing-detail-media {
    position: relative;
    min-width: 0;
}

    .leasing-detail-media .car-thumbnail-slider {
        border-radius: 12px;
        overflow: hidden;
    }

.leasing-detail-info {
    min-width: 0;
}

    .leasing-detail-info h1 {
        margin: 0;
        font-size: clamp(28px, 3vw, 36px);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.02em;
        color: var(--text-darkblack);
    }

.leasing-detail-variant {
    margin: 4px 0 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.leasing-detail-heading {
    margin: 22px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-darkblack);
}

.leasing-detail-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--text-gray);
}

.leasing-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .leasing-detail-tags .leasing-car-type {
        margin-bottom: 0;
    }

.leasing-detail-pickup {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e6e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-darkblack);
}

    .leasing-detail-pickup img {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-top: 2px;
    }

.leasing-detail-pricebox {
    padding: 18px;
    border: 2px solid var(--bg-blue);
    border-radius: 12px;
    text-align: center;
}

    .leasing-detail-pricebox strong {
        display: block;
        font-size: 26px;
        font-weight: 800;
        color: var(--text-darkblack);
    }

    .leasing-detail-pricebox .per {
        font-size: 15px;
        color: var(--text-gray);
    }

    .leasing-detail-pricebox .range {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e6e7eb;
        color: var(--text-darkblack);
    }

.leasing-detail-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-darkblack);
}

/* Bestil bilen: the fields to the left, the "Din leje" summary to the right. */
.leasing-booking {
    display: grid;
    /* Wide enough for "30. september 2026, kl. 09:00" on one line in the summary. */
    grid-template-columns: 1fr 410px;
    gap: 32px;
    align-items: start;
}

.leasing-booking-lead {
    margin: 0 0 18px;
    color: var(--text-gray);
}

    .leasing-booking-lead b {
        color: var(--text-darkblack);
    }

.leasing-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.leasing-field {
    min-width: 0;
}

    .leasing-field label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-darkblack);
    }

.leasing-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 16px;
    color: var(--text-darkblack);
}

    .leasing-input:focus {
        border-color: var(--bg-blue);
        outline: none;
    }

    .leasing-input.invalid {
        border-color: #c62828;
    }

.leasing-fixed {
    display: flex;
    align-items: center;
    background-color: #f6f7f9;
    font-weight: 600;
}

.leasing-hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--text-gray);
}

    .leasing-hint.error {
        color: #c62828;
    }

.leasing-summary {
    padding: 20px;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    background-color: #f6f7f9;
}

    .leasing-summary h3 {
        margin: 0 0 12px;
        font-size: 17px;
        font-weight: 700;
        color: var(--text-darkblack);
    }

    .leasing-summary dl {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px 12px;
        margin: 0;
        font-size: 15px;
    }

    .leasing-summary dt {
        font-weight: 400;
        color: var(--text-gray);
    }

    .leasing-summary dd {
        margin: 0;
        text-align: right;
        font-weight: 600;
        color: var(--text-darkblack);
    }

    .leasing-summary .btn {
        margin-top: 12px;
    }

        .leasing-summary .btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }

.leasing-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e5e9;
    color: var(--text-darkblack);
}

    .leasing-summary-total strong {
        font-size: 22px;
        font-weight: 800;
    }

@media (max-width: 1000px) {
    .leasing-detail-top {
        grid-template-columns: 1fr 1fr;
    }

    .leasing-detail-pricecol {
        grid-column: 1 / -1;
    }

    .leasing-booking {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .leasing-detail-top,
    .leasing-fields {
        grid-template-columns: 1fr;
    }

    .leasing-panel {
        padding: 20px;
    }
}

/* ==== Steps (LeasingSteps, from the add-ons step on) ==== */
.leasing-steps-sec {
    padding: 24px 0;
}

.leasing-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--text-gray);
}

    .leasing-steps li {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.leasing-steps-dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e9ebee;
    font-size: 12px;
    font-weight: 700;
}

    .leasing-steps-dot svg {
        width: 14px;
        height: 14px;
    }

        /* style.css fills every path; the check mark is a stroke only. */
        .leasing-steps-dot svg path {
            fill: none;
        }

.leasing-steps .done .leasing-steps-dot {
    background-color: #e5f5ea;
    color: #14883e;
}

.leasing-steps-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-darkblack);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.leasing-steps .current {
    color: var(--text-darkblack);
    font-weight: 700;
}

    .leasing-steps .current .leasing-steps-dot {
        background-color: var(--bg-blue);
        color: var(--text-white);
    }

/* ==== Booking summary side panel (LeasingBookingSummary, from the add-ons step on) ==== */
.leasing-side {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

    .leasing-side .leasing-panel {
        padding: 20px;
    }

.leasing-booking-summary {
    display: flex;
    flex-direction: column;
}

.leasing-booking-summary-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #eceef1;
}

    .leasing-booking-summary-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.leasing-booking-summary-title {
    margin: 0 0 2px;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-darkblack);
}

.leasing-booking-summary .leasing-car-type {
    margin-bottom: 0;
}

.leasing-timeline {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e5e9;
}

.leasing-timeline-stop {
    position: relative;
    padding-left: 20px;
    color: var(--text-darkblack);
}

    .leasing-timeline-stop::before {
        content: "";
        position: absolute;
        top: 6px;
        left: 0;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--bg-blue);
    }

    .leasing-timeline-stop strong {
        display: block;
    }

    .leasing-timeline-stop span {
        display: block;
        font-size: 14px;
        color: var(--text-gray);
    }

.leasing-timeline-period {
    justify-self: start;
    margin-left: 20px;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: #eceef1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-darkblack);
}

.leasing-side-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-darkblack);
}

/* Prisoversigt: collapsed by default, chevron turns when open. */
.leasing-breakdown summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-darkblack);
    list-style: none;
    cursor: pointer;
}

    .leasing-breakdown summary::-webkit-details-marker {
        display: none;
    }

    .leasing-breakdown summary svg {
        width: 18px;
        height: 18px;
        transform: rotate(-90deg);
        transition: transform 0.2s;
    }

.leasing-breakdown[open] summary svg {
    transform: rotate(90deg);
}

/* style.css fills every path; the chevron is a stroke only. */
.leasing-breakdown summary svg path {
    fill: none;
}

/* No column gap, so the line above the sum runs unbroken across label and amount. */
.leasing-lines {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 0;
    margin: 12px 0 0;
    font-size: 14px;
}

    .leasing-lines dt {
        font-weight: 400;
        color: var(--text-gray);
    }

    .leasing-lines dd {
        margin: 0;
        padding-left: 12px;
        text-align: right;
        font-variant-numeric: tabular-nums;
        color: var(--text-darkblack);
    }

    .leasing-lines .h {
        grid-column: 1 / -1;
        margin-top: 6px;
        font-weight: 700;
        color: var(--text-darkblack);
    }

    .leasing-lines .sum {
        margin-top: 4px;
        padding-top: 8px;
        border-top: 1px solid #e2e5e9;
        font-weight: 800;
        color: var(--text-darkblack);
    }

.leasing-promo {
    display: flex;
    gap: 8px;
}

    .leasing-promo .leasing-input {
        flex: 1;
        min-width: 0;
    }

.leasing-btn-ghost {
    /* 42px high, as .leasing-btn */
    padding: 12px 14px;
    line-height: 16px;
    border: 1px solid var(--bg-blue);
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--bg-blue);
    cursor: pointer;
}

    .leasing-btn-ghost:hover {
        background-color: var(--bg-blue);
        color: var(--text-white);
    }

.leasing-total-main {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e5e9;
    color: var(--text-darkblack);
}

    .leasing-total-main strong {
        font-size: 28px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

@media (prefers-reduced-motion: reduce) {
    .leasing-breakdown summary svg {
        transition: none;
    }
}

/* Steppers on the add-ons page: a plain − and + instead of style.css's small circles, and a greyed − at the minimum. */
.leasing-addons .quantitybtn {
    padding: 0 6px;
    border-radius: 8px;
}

    .leasing-addons .quantitybtn button {
        flex: none;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 6px;
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
        color: var(--bg-blue);
    }

        .leasing-addons .quantitybtn button:hover:not(:disabled) {
            background-color: #eceef1;
        }

        .leasing-addons .quantitybtn button:disabled {
            color: #b8bcc4;
            cursor: default;
        }

    /* style.css sizes the km field for 20px buttons. The field gets the number's width (set inline in ch),
       so the number and "km" are centred together as "0 km". */
    .leasing-addons .quantitybtn .increae-num {
        flex: 1;
        width: auto;
        min-width: 0;
        justify-content: center;
        gap: 4px;
    }

        .leasing-addons .quantitybtn .increae-num .input-km {
            flex: none;
            max-width: 100%;
            padding: 0;
            font-variant-numeric: tabular-nums;
            text-align: center;
        }

        .leasing-addons .quantitybtn .increae-num p {
            flex: none;
            margin-left: 0;
        }

/* The note under an add-on ("Lån altid kun køretøjet ud til personer…", accessory descriptions) as in the
   prototype instead of style.css's 10px. */
.leasing-addons .childset-row .add-btn-txt p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Mobile bottom bar: the monthly total next to Fortsæt. */
.leasing-mobile-total-label {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
}

.leasing-mobile-total-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-darkblack);
}

/* media.css reverses the add-ons, personal details and payment pages' columns on small screens, putting the side panel first. As in the
   prototype, the add-ons come first and the car, prices and total follow. */
.addons-sec.leasing-addons .row,
.addons-sec.leasing-personal .row,
.addons-sec.leasing-payment .row {
    flex-direction: row;
}

/* Personal details: Privat/Firma as a segmented control, as in the prototype. */
.leasing-seg {
    display: inline-flex;
    gap: 4px;
    margin: 4px 0 20px;
    padding: 4px;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    background-color: #f6f7f9;
}

    .leasing-seg label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 8px 14px;
        border-radius: 7px;
        font-weight: 600;
        color: var(--text-darkblack);
        cursor: pointer;
    }

        .leasing-seg label.selected {
            background-color: #ffffff;
            box-shadow: 0 0 0 1px var(--bg-blue);
        }

    .leasing-seg input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: var(--bg-blue);
    }

/* Add-ons, personal details and payment: Tilbage and Fortsæt the same size, as in the prototype. */
.leasing-addons .addons-last-btn .border-button,
.leasing-addons .addons-last-btn .btn-dark-blue,
.leasing-personal .addons-last-btn .border-button,
.leasing-personal .addons-last-btn .btn-dark-blue,
.leasing-payment .addons-last-btn .border-button,
.leasing-payment .addons-last-btn .btn-dark-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 42px; /* as .leasing-btn */
    padding: 0 24px;
    border-radius: 6px;
}

/* Payment: the amounts in "Fuldfør betaling" a little larger than in the side panel. */
.leasing-pay-lines {
    font-size: 15px;
    padding-top: 12px;
    border-top: 1px solid #e2e5e9; /* as the .sum line */
}

/* ==== Confirmation (BookingSuccesfulLeasing), as in the prototype ==== */
.leasing-receipt .container {
    display: grid;
    gap: 16px;
    padding-bottom: 40px;
}

.leasing-receipt .leasing-panel {
    padding: 24px;
}

/* style.css gives headings a 43px line height. */
.leasing-receipt h1,
.leasing-receipt h2 {
    line-height: 1.3;
}

.leasing-receipt-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .leasing-receipt-title h1 {
        margin: 0 0 4px;
        font-size: 26px;
        font-weight: 800;
        color: var(--text-darkblack);
    }

    .leasing-receipt-title p {
        margin: 0;
        color: var(--text-gray);
    }

.leasing-receipt-ok {
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1f9d55;
    color: #ffffff;
}

    .leasing-receipt-ok.pending {
        background-color: #e0a800;
    }

    .leasing-receipt-ok svg {
        width: 26px;
        height: 26px;
    }

/* style.css fills every path; these icons are strokes only. */
.leasing-receipt-ok svg path,
.leasing-receipt-icon svg path,
.leasing-receipt-icon svg rect {
    fill: none;
}

.leasing-receipt-uniify {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--bg-blue);
    border-radius: 10px;
    background-color: #f3f2fe;
}

    .leasing-receipt-uniify h2 {
        margin: 0 0 4px;
        font-size: 17px;
        font-weight: 700;
        color: var(--text-darkblack);
    }

    .leasing-receipt-uniify p {
        margin: 0;
        color: var(--text-darkblack);
    }

.leasing-receipt-icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--bg-blue);
}

    .leasing-receipt-icon svg {
        width: 100%;
        height: 100%;
    }

/* The car picture next to the name and the timeline. */
.leasing-receipt-car {
    display: grid;
    grid-template-columns: minmax(0, 320px) 1fr;
    gap: 6px 24px;
    margin-top: 20px;
    align-items: start;
}

    .leasing-receipt-car .leasing-booking-summary-media {
        grid-row: span 5;
        margin-bottom: 0;
    }

    .leasing-receipt-car .leasing-booking-summary-title,
    .leasing-receipt-car .leasing-car-variant,
    .leasing-receipt-car .leasing-car-type {
        margin: 0;
        justify-self: start;
    }

    .leasing-receipt-car .leasing-timeline {
        margin-top: 6px;
    }

.leasing-next-steps {
    display: grid;
    gap: 14px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: leasing-next;
}

    .leasing-next-steps li {
        position: relative;
        padding-left: 40px;
        counter-increment: leasing-next;
    }

        .leasing-next-steps li::before {
            content: counter(leasing-next);
            position: absolute;
            top: 0;
            left: 0;
            display: grid;
            place-items: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: #eceef1;
            font-size: 14px;
            font-weight: 700;
            color: var(--text-darkblack);
        }

        .leasing-next-steps li strong,
        .leasing-next-steps li span {
            display: block;
        }

        .leasing-next-steps li span {
            color: var(--text-gray);
        }

.leasing-receipt-h {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-darkblack);
}

.leasing-receipt-location,
.leasing-receipt-pay {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 24px;
}

    .leasing-receipt-location p {
        color: var(--text-darkblack);
    }

.leasing-receipt-tel {
    font-weight: 600;
    color: var(--bg-blue);
}

.leasing-receipt-map iframe {
    display: block;
    border-radius: 10px;
}

.leasing-receipt-paid {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background-color: #f6f7f9;
    color: var(--text-darkblack);
}

    .leasing-receipt-paid strong {
        font-size: 24px;
        font-weight: 800;
    }

.leasing-order-no {
    color: var(--bg-blue); /* as .btn-dark-blue */
    font-weight: 600;
}

.leasing-receipt-first-payment {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background-color: #f6f7f9;
    color: var(--text-darkblack);
}

    .leasing-receipt-first-payment strong {
        display: block;
        font-size: 16px;
        font-weight: 700;
    }

    .leasing-receipt-first-payment .leasing-hint {
        margin: 6px 0 0;
    }

.leasing-receipt-home {
    justify-self: start;
    min-height: 42px; /* as .leasing-btn */
    padding: 0 24px;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .leasing-receipt-car,
    .leasing-receipt-location,
    .leasing-receipt-pay {
        grid-template-columns: 1fr;
    }

        .leasing-receipt-car .leasing-booking-summary-media {
            grid-row: auto;
        }

    .leasing-receipt-title h1 {
        font-size: 22px;
    }
}
