:root {
    --bg: #f4f6f9;
    --card: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --blue: #2563eb;
    --purple: #7a297d;
    --purpleBg: #f8f0f8;
    --purpleLight: rgba(122,41,125,.12);
    --teal: #0f766e;
    --tealBg: #ecfeff;
    --paidBg: #f8f0f8;
    --paidInk: #7a297d;
    --danger: #b91c1c;
    --ok: #065f46;
}

* {
    box-sizing: border-box
}

.wrap {
    max-width: 1180px;
    margin: 0 auto
}

.topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.title {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .2px
}

.hint {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px
}

.pill {
    background: #eef2ff;
    color: #3730a3;
    font-weight: 900;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #e0e7ff;
    min-width: 340px;
    text-align: right;
    line-height: 1.35
}

.checkoutGrid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px
}

@media (max-width: 980px) {
    .checkoutGrid {
        grid-template-columns: 1fr
    }

    .pill {
        min-width: unset;
        text-align: left
    }
}

.cardX {
    background: var(--card);
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
    padding: 16px
}

.sticky {
    position: sticky;
    top: 16px
}

.sectionTitle {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--muted);
    padding-left: 10px;
    border-left: 3px solid var(--purple)
}

/* Flight Summary */
.flightHead {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.heroImg {
    width: 170px;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg,#e5e7eb,#f8fafc);
    flex: 0 0 auto
}

@media (max-width: 980px) {
    .flightHead {
        flex-direction: column
    }

    .heroImg {
        width: 100%;
        height: 180px
    }
}

.flightKicker {
    font-size: 12px;
    color: var(--muted);
    font-weight: 850;
    letter-spacing: .3px
}

.flightTitle {
    margin-top: 4px;
    font-size: 26px;
    font-weight: 950;
    line-height: 1.15
}

.flightReg {
    color: var(--muted);
    font-weight: 850;
    font-size: 13px
}

.metaRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 10px 0 6px
}

.chip {
    border: 1px solid var(--line);
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    color: #334155
}

/*.badge {
    background: var(--tealBg);
    color: var(--teal);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid rgba(15,118,110,.15);
    white-space: nowrap
}*/

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

/* Summary table */
.sumRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px
}

    .sumRow span {
        color: #334155
    }

    .sumRow b {
        font-weight: 950
    }

.sumDivider {
    height: 1px;
    background: var(--line);
    margin: 10px 0
}

.sumTotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    background: var(--purpleBg);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 6px 0 0
}

    .sumTotal b {
        font-weight: 1000;
        font-size: 20px;
        color: var(--purple)
    }

.money {
    font-variant-numeric: tabular-nums
}

/* Paid amenities */
.payAmenity {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s
}

    .payAmenity + .payAmenity {
        margin-top: 10px
    }

    .payAmenity:hover {
        border-color: var(--purple);
        background: var(--purpleBg)
    }

    .payAmenity:has(input:checked) {
        border-color: var(--purple);
        background: var(--purpleBg);
        box-shadow: 0 0 0 2px var(--purpleLight)
    }

    .payAmenity input {
        width: 16px;
        height: 16px;
        accent-color: var(--purple);
        flex: 0 0 auto;
        cursor: pointer
    }

.payAmenityBody {
    flex: 1
}

.payAmenityTop {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center
}

.payAmenityName {
    font-weight: 900;
    font-size: 13px
}

.payAmenityDesc {
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.35
}
.badge,
.payAmenityPrice {
    font-weight: 950;
    font-size: 12px;
    color: var(--purple);
    background: var(--purpleBg);
    border: 1px solid rgba(122,41,125,.2);
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    height: fit-content
}

.emptyNote {
    font-size: 12px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    padding: 10px;
    border-radius: 12px
}

/* Form */
.formGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media (max-width: 720px) {
    .formGrid {
        grid-template-columns: 1fr
    }
}

.field label {
    display: block;
    font-size: 12px;
    color: #334155;
    margin-bottom: 6px
}

.field input, .field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    background: #fff;
    font-size: 13px
}

    .field input:focus, .field select:focus {
        border-color: rgba(122,41,125,.45);
        box-shadow: 0 0 0 3px rgba(122,41,125,.1)
    }

/* Payment method */
.pmGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media (max-width: 720px) {
    .pmGrid {
        grid-template-columns: 1fr
    }
}

.pmCard {
    border: 2px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s
}

    .pmCard input {
        display: none
    }

    .pmCard:has(input:checked) {
        border-color: var(--purple);
        background: var(--purpleBg);
        box-shadow: 0 0 0 3px var(--purpleLight)
    }

    .pmCard:has(input:checked) .pmCardIcon {
        background: var(--purple);
        color: #fff
    }

    .pmCard:has(input:checked) .pmTitle {
        color: var(--purple)
    }

.pmCardIcon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--muted);
    transition: background .2s, color .2s
}

.pmTitle {
    font-weight: 950;
    font-size: 13px;
    transition: color .2s
}

.pmDesc {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
    line-height: 1.35
}

/* CTA */
.ctaRow {
    margin-top: 18px
}

.btn {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 950;
    cursor: pointer
}

    .btn.primary {
        background: var(--purple);
        color: #fff;
        border: none;
        border-radius: 14px;
        padding: 15px 24px;
        font-size: 18px;
        font-weight: 900;
        width: 100%;
        letter-spacing: .4px;
        cursor: pointer;
        transition: background .2s, transform .1s
    }

    .btn.primary:hover {
        background: #621f65
    }

    .btn.primary:active {
        transform: scale(.98)
    }

/* ── Consent Checkboxes ────────────────────────────────── */
.consentChecks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px
}

.consentItem {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    user-select: none
}

.consentBox {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    accent-color: var(--purple);
    cursor: pointer;
    border-radius: 4px
}

.consentLink {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 2px
}

    .consentLink:hover {
        color: #621f65
    }

/* ── Flight Summary Slider ─────────────────────────────── */
.cardFlush {
    padding: 0;
    overflow: hidden
}

.flightSliderWrap {
    position: relative;
    width: 100%;
    height: 400px
}

.flightInfo {
    padding: 30px;
}

.flightSlider {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a2e
}

.sliderSlide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .65s ease
}

    .sliderSlide.active {
        opacity: 1
    }

.sliderDots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2
}

.sliderDot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .3s, transform .3s
}

    .sliderDot.active {
        background: #fff;
        transform: scale(1.3)
    }

/* ── Destination Card ──────────────────────────────────── */
.destKicker {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .6px;
    color: var(--muted);
    margin-bottom: 4px
}
.msg {
    margin-bottom: 15px;
}
.destRoute {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0
}

.destAirportBlock {
    min-width: 60px
}

    .destAirportBlock:last-child {
        text-align: right
    }

.destAirport {
    font-size: 38px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -1px;
    color: #7a297d;
}

.destTime {
    font-size: 17px;
    font-weight: 900;
    margin-top: 5px
}

.destDay {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.destMidLine {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700
}

.destArrow {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 3px;
    color: #94a3b8
}

.destArrowLine {
    flex: 1;
    height: 1px;
    background: #cbd5e1
}

.destInfoRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px
}

.destInfoBox {
    flex: 1;
    min-width: 72px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 9px 12px
}

.destInfoLabel {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .4px;
    color: var(--muted)
}

.destInfoValue {
    font-size: 14px;
    font-weight: 950;
    margin-top: 3px
}
