/* =============================================================
   Mediabroz Booking — Intro step, quantity add-ons, summary form
   Loaded after booking-style.css; intentionally overrides some
   of its add-on and summary rules.
   ============================================================= */

/* ── Progress bar hidden on the intro screen ─────────────────── */
.bk-progress.is-hidden { display: none; }


/* ── Step 0: Intro (video + how it works) ────────────────────── */
.intro-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: start;
}

/* Media panel — holds the poster image now, a <video> later */
.intro-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f1018;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    aspect-ratio: 16 / 10;
}

.intro-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 80px rgba(103, 84, 233, 0.14);
    pointer-events: none;
}

.intro-media img,
.intro-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Placeholder — only visible while assets/plans-hero.jpg is absent */
.intro-media-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(103, 84, 233, 0.25) 0%, transparent 60%),
        linear-gradient(160deg, #0d0d18 0%, #111128 60%, #0b0c16 100%);
}

.intro-media.is-empty .intro-media-fallback { display: flex; }

.intro-media-fallback i {
    font-size: 2rem;
    color: rgba(103, 84, 233, 0.7);
    margin-bottom: 0.25rem;
}

.intro-media-fallback strong {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.intro-media-fallback span {
    font-size: 0.8125rem;
    color: #7b83a0;
}

.intro-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #a394ff;
    background: rgba(103, 84, 233, 0.12);
    border: 1px solid rgba(103, 84, 233, 0.28);
    padding: 6px 14px;
    border-radius: 100px;
}

.intro-steps h2 {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.28;
    color: #fff;
    margin: 16px 0 24px;
}

.intro-steps h2 span { color: #8b7cf0; }

.intro-step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intro-step-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 0.22s, border-color 0.22s;
}

.intro-step-list li:hover {
    background: rgba(103, 84, 233, 0.05);
    border-color: rgba(103, 84, 233, 0.22);
}

.istep-num {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #a394ff;
    background: rgba(103, 84, 233, 0.14);
    border: 1px solid rgba(103, 84, 233, 0.3);
}

.intro-step-list h4 {
    font-size: 15px;
    font-weight: 600;
    color: #e2e4ef;
    margin-bottom: 3px;
}

.intro-step-list p {
    font-size: 13px;
    line-height: 1.6;
    color: #7b83a0;
}

/* Continue row — full width beneath both columns */
.intro-foot {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.bk-next-lg {
    padding: 15px 38px;
    font-size: 15px;
}

.intro-note {
    font-size: 13px;
    color: #7b83a0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.intro-note i { color: #FFBE11; }

/* Mobile: video → steps → continue */
@media (max-width: 900px) {
    .intro-split { grid-template-columns: 1fr; gap: 26px; }
    .intro-steps h2 { font-size: 22px; margin: 14px 0 18px; }
    .intro-media { aspect-ratio: 16 / 11; }

    .intro-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 24px;
    }
    .intro-foot .bk-next-lg { justify-content: center; width: 100%; }
    .intro-note { justify-content: center; }
}


/* ── Category cards → responsive list-cards ──────────────────── */
/* Two comfortable columns on desktop, single-column list on phones.
   Icon sits in a fixed badge on the left; name + sub-text stack to
   its right. min-width:0 everywhere so long sub-text wraps instead
   of pushing the grid track past the viewport. */
.cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cat-card {
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    min-width: 0;
}

.cat-ic {
    flex: 0 0 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(103, 84, 233, 0.12);
    border: 1px solid rgba(103, 84, 233, 0.22);
    transition: background 0.25s, border-color 0.25s;
}

.cat-ic i {
    font-size: 19px;
    color: #8b7cf0;
    min-width: 0;
}

.cat-card.selected .cat-ic {
    background: rgba(103, 84, 233, 0.25);
    border-color: #6754E9;
}

/* .cat-card-scoped selectors beat booking-style.css's `.cat-card span`
   and `.cat-card i`, which are otherwise more specific than a bare class. */
.cat-card .cat-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.cat-card .cat-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #e2e4ef;
    line-height: 1.3;
}

.cat-card .cat-sub {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #6a708c;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.cat-card.selected .cat-sub { color: #9098b5; }

/* Phones: one card per row, roomy tap target */
@media (max-width: 600px) {
    .cat-grid { grid-template-columns: 1fr; gap: 10px; }
    .cat-card { padding: 15px 16px; min-height: 66px; }
    .cat-ic   { flex-basis: 40px; height: 40px; }
    .cat-ic i { font-size: 17px; }
    .cat-card .cat-name { font-size: 14px; }
    .cat-card .cat-sub  { font-size: 11.5px; }
}


/* ── Add-on rows: info left, price + control right ───────────── */
.addon-item {
    align-items: center;
    justify-content: space-between;
}

.addon-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Quantity add-ons are only selectable via their buttons */
.addon-item.addon-qty   { cursor: default; }
.addon-item.addon-fixed { cursor: pointer; }

.addon-qty {
    min-width: 118px;
    display: flex;
    justify-content: flex-end;
}

.qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1.5px solid rgba(103, 84, 233, 0.4);
    background: rgba(103, 84, 233, 0.1);
    color: #a394ff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, transform 0.12s;
}

.qty-btn.qty-add { padding: 9px 18px; }

.qty-btn:hover:not(:disabled) {
    background: rgba(103, 84, 233, 0.2);
    border-color: #6754E9;
}

.qty-btn:active:not(:disabled) { transform: scale(0.95); }

.qty-btn:focus-visible {
    outline: 2px solid #8b7cf0;
    outline-offset: 2px;
}

.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.qty-stepper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #07070a;
    border: 1.5px solid rgba(103, 84, 233, 0.4);
    border-radius: 10px;
    padding: 4px;
}

.qty-stepper[hidden] { display: none; }

.qty-stepper .qty-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 11px;
    border-radius: 7px;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Running subtotal under the add-on list */
.addon-running-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 15px 18px;
    background: rgba(103, 84, 233, 0.07);
    border: 1px solid rgba(103, 84, 233, 0.22);
    border-radius: 12px;
    font-size: 13px;
    color: #8a90aa;
}

.addon-running-total strong {
    font-size: 16px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
    .addon-item {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
    }
    .addon-info  { flex: 1 1 100%; }
    .addon-right { flex: 1 1 100%; justify-content: space-between; }
    .addon-qty   { min-width: 0; }
}


/* ── Summary card (the form lives inside it) ─────────────────── */
.summary-card {
    background: #0b0c14;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.summary-card .summary-split { margin-bottom: 22px; }

.summary-card .summary-left,
.summary-card .summary-right {
    background: #0f1018;
    border-color: rgba(255, 255, 255, 0.06);
}

/* "What's Included": a plain heading on desktop, a collapse toggle on
   phones (so the long feature list doesn't bury the name/phone fields). */
.summary-right-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    pointer-events: none;   /* desktop: behaves as a heading, not a button */
}

.summary-right-title > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.summary-right-title > span i { color: #6754E9; }

.sr-chevron {
    display: none;
    color: #7b83a0;
    font-size: 13px;
    transition: transform 0.25s ease;
}

/* Enquiry bar: fields left, submit right */
.summary-form-bar {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    flex: 1;
}

.summary-form-bar .bk-submit { flex-shrink: 0; }

.summary-back-row {
    display: flex;
    margin-top: 18px;
}

/* Review line items */
.rv-addon-head {
    font-size: 12px;
    color: #7b83a0;
    font-weight: 600;
    margin-bottom: 6px;
}

.rv-addon-head i { color: #6754E9; margin-right: 5px; }
.rv-addon-line i { color: #6754E9; font-size: 10px; margin-right: 6px; }

.rv-qty {
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rv-line-price {
    color: #6754E9;
    font-size: 11px;
    font-weight: 600;
}

.rv-muted   { color: #7b83a0; }
.rv-muted i { color: #6754E9; }

/* Shared empty / error states */
.bk-empty { color: #5b6282; padding: 20px 0; }
.bk-error { color: #e43480; padding: 20px 0; }

@media (max-width: 900px) {
    .summary-form-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .summary-form-bar .bk-submit {
        justify-content: center;
        width: 100%;
        min-height: 50px;   /* comfortable primary tap target */
    }
}

@media (max-width: 600px) {
    .summary-fields { grid-template-columns: 1fr; }
    .summary-card   { padding: 16px; }

    /* Collapsible "What's Included" */
    .summary-right-title { pointer-events: auto; cursor: pointer; margin-bottom: 12px; }
    .sr-chevron { display: inline-block; }
    .summary-right.collapsed .summary-features { display: none; }
    .summary-right:not(.collapsed) .sr-chevron { transform: rotate(180deg); }
}
