.izi-checkout-stepper {
    display: grid;
    grid-template-columns: 44px minmax(64px, 88px) 44px;
    align-items: center;
    gap: 8px;
}

.izi-checkout-stepper button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-body);
    font-size: 22px;
    font-weight: 800;
    transition:
        border-color var(--trans-smooth),
        color var(--trans-smooth),
        background var(--trans-smooth),
        opacity var(--trans-smooth);
}

.izi-checkout-stepper button:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
}

.izi-checkout-stepper button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.izi-checkout-stepper input {
    width: 100%;
    min-width: 0;
    text-align: center;
    font-weight: 800;
    appearance: textfield;
}

.izi-checkout-stepper input::-webkit-inner-spin-button,
.izi-checkout-stepper input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/*
|--------------------------------------------------------------------------
| Fixed reference header offset
|--------------------------------------------------------------------------
|
| The ZIP reference header is fixed and 76px high. Legacy payment screens
| originally lived under a different layout whose header spacing was handled
| separately. These screens now use the reference header, so they need an
| explicit offset to prevent their first line of content sitting underneath it.
|
*/

body[data-page="payment-methods"] .izi-payment-methods,
body[data-page="card-payment"] .izi-lanacash,
body[data-page="bank-transfer"] .izi-bank-transfer {
    margin-top: 76px;
}

/*
|--------------------------------------------------------------------------
| Payment navigation
|--------------------------------------------------------------------------
*/

.izi-payment-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #b8b2a7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    transition:
        color var(--trans-smooth),
        transform var(--trans-smooth);
}

.izi-payment-back-link:hover {
    color: var(--gold);
    transform: translateX(-3px);
}

.izi-payment-back-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 4px;
}

.izi-payment-back-link__arrow {
    color: var(--gold);
    font-size: 17px;
    line-height: 1;
}

/*
|--------------------------------------------------------------------------
| Adventure checkout
|--------------------------------------------------------------------------
*/

.checkout-view .checkout-grid {
    grid-template-columns:
        minmax(0, .88fr)
        minmax(430px, 1.12fr);
    gap: 28px;
}

.checkout-payment form {
    width: 100%;
}

.checkout-payment form > h3:not(:first-child) {
    margin-top: 30px;
}

.checkout-payment form > label {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 7px;
    margin: 0 0 17px;
    color: var(--text-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.checkout-payment form > label > span {
    display: block;
    width: 100%;
}

.checkout-payment form > label > input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-body);
    outline: none;
    font: inherit;
    font-weight: 500;
}

.checkout-payment form > label > input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 137, 26, .1);
}

.checkout-payment form > label > small {
    display: block;
    margin-top: 1px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
}

.checkout-payment .booking-card {
    margin-bottom: 28px;
}

.checkout-payment .booking-card .booking-total {
    gap: 20px;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-payment .booking-card .booking-total > div:first-child {
    flex: 1;
}

.checkout-payment .booking-card .booking-total strong {
    color: var(--text-body);
    font-size: 15px;
}

.checkout-payment .booking-card .detail-description {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.checkout-payment .payment-notice {
    margin-top: 6px;
}

.checkout-payment .btn-submit {
    width: 100%;
    margin-top: 10px;
    border-radius: 11px;
}

.checkout-cart .city-card-media {
    overflow: hidden;
    margin: -1px -1px 22px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: #050505;
}

.checkout-cart .city-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.checkout-cart h2 {
    margin: 8px 0 20px;
    font-family: var(--fd);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1;
    text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| Catalog / detail adaptations
|--------------------------------------------------------------------------
*/

.city-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(212, 137, 26, .2),
            transparent 38%
        ),
        #080808;
    color: var(--gold);
    font-family: var(--fd);
    font-size: clamp(54px, 7vw, 90px);
    letter-spacing: .12em;
}

.detail-content .adventure-review-row {
    margin: 0 0 24px;
}

.detail-content .booking-card {
    margin-top: 8px;
}

.detail-content .booking-card .btn-submit {
    text-decoration: none;
}

.adventure-card[hidden] {
    display: none !important;
}

/*
|--------------------------------------------------------------------------
| Public form honeypots
|--------------------------------------------------------------------------
|
| Honeypot fields remain in the DOM so automated form fillers can encounter
| them, but they must never be visible, clickable, or part of the human form
| layout.
|
*/

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 1000px) {
    .checkout-view .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-cart {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    body[data-page="payment-methods"] .izi-payment-methods,
    body[data-page="card-payment"] .izi-lanacash,
    body[data-page="bank-transfer"] .izi-bank-transfer {
        margin-top: 76px;
    }

    .checkout-payment .booking-card .booking-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .izi-checkout-stepper {
        grid-template-columns: 44px 76px 44px;
    }

    .detail-content .adventure-review-row {
        align-items: stretch;
    }

    .detail-content .adventure-review-row > * {
        width: 100%;
    }
}