/* Simple step-by-step booking flow */
body.public-site.booking-mobile-page {
    padding-bottom: clamp(82px, 12vw, 96px);
    background: #f7f8f6;
}

body.public-site.booking-mobile-page .site-header {
    position: sticky;
    top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.public-site.booking-mobile-page .site-header.is-scrolled {
    position: fixed;
    left: 0;
    right: 0;
}

body.public-site.booking-mobile-page .site-navbar {
    min-height: 58px;
    padding: .35rem clamp(1rem, 2.5vw, 2rem);
    border: 0;
    border-radius: 0;
    background: rgba(8, 12, 9, .78);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(150%);
}

body.public-site.booking-mobile-page .site-header.is-scrolled .site-navbar {
    background: #fff;
}

/* ── Customer availability (admin manual-booking style) ───────── */
.customer-booking-shell {
    padding: clamp(.85rem, 2.5vw, 1.5rem) 0 clamp(2rem, 4vw, 3rem);
    color: #1f2937;
}

.customer-booking-container {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.25rem);
}

.customer-booking-header {
    margin-bottom: .85rem;
}

.customer-booking-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #111827;
}

.customer-booking-lead {
    margin: .35rem 0 0;
    color: #6b7280;
    font-size: .92rem;
    font-weight: 600;
}

.customer-booking-strip {
    margin-bottom: .85rem;
}

.customer-sport-list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .85rem;
}

.customer-sport-chip {
    min-height: 2.55rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    padding: .55rem .95rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .95rem;
    font-weight: 700;
    background: #fff;
    color: #1f2937;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.customer-sport-chip i {
    font-size: .95rem;
}

.customer-sport-chip.is-selected {
    background: #2f940d;
    border-color: #2f940d;
    color: #fff;
}

.customer-date-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .65rem;
}

.customer-date-card {
    width: 100%;
    min-height: 5.4rem;
    border: 1.5px solid rgba(15, 23, 42, .14);
    border-radius: 14px;
    background: #fff;
    padding: .65rem .4rem;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    color: #111827;
    cursor: pointer;
}

.customer-date-card.is-selected {
    background: #2f940d;
    border-color: #2f940d;
    color: #fff;
}

.customer-date-month {
    font-size: .78rem;
    line-height: 1;
    font-weight: 600;
}

.customer-date-day {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 800;
    margin-top: .05rem;
}

.customer-date-name {
    font-size: .82rem;
    line-height: 1;
    font-weight: 600;
    margin-top: .05rem;
}

.customer-date-heading {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: .85rem 0 .55rem;
}

.customer-slots-panel {
    border: none;
    background: transparent;
    padding: 0;
}

@media (max-width: 767.98px) {
    .customer-date-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: .5rem;
        padding-bottom: .15rem;
        scrollbar-width: none;
    }

    .customer-date-grid::-webkit-scrollbar {
        display: none;
    }

    .customer-date-card {
        flex: 0 0 calc(22% - .35rem);
        min-width: 4.35rem;
        scroll-snap-align: start;
        min-height: 5.1rem;
        border-radius: 12px;
        padding: .55rem .2rem;
    }

    .customer-date-month { font-size: .72rem; }
    .customer-date-day { font-size: 1.35rem; }
    .customer-date-name { font-size: .72rem; }

    .customer-sport-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .customer-sport-list::-webkit-scrollbar { display: none; }
}

@media (min-width: 768px) {
    .customer-booking-strip {
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
        padding: 1.1rem 1.15rem;
        margin-bottom: 1.15rem;
    }

    .customer-date-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .customer-slots-panel {
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 16px;
        background: #fff;
        padding: 1.15rem 1.2rem 1.25rem;
    }

    .customer-date-heading {
        display: none;
    }
}

.booking-flow-shell {
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 3rem);
}

.booking-flow-container {
    width: min(100%, 640px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.25rem);
}

.booking-flow-head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.booking-flow-head h1 {
    margin: .2rem 0 .35rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 950;
    color: #101511;
}

.booking-flow-head p {
    margin: 0;
    color: #607064;
    font-size: .92rem;
}

.booking-kicker {
    display: inline-block;
    color: #2f940d;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Stepper */
.booking-stepper {
    display: flex;
    justify-content: space-between;
    gap: .25rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.booking-stepper-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    min-width: 0;
}

.booking-stepper-dot {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(18, 30, 20, .12);
    background: #fff;
    color: #607064;
    font-size: .75rem;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.booking-stepper-label {
    color: #8a9a8e;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
}

.booking-stepper-item.is-active .booking-stepper-dot {
    border-color: #2f940d;
    background: #2f940d;
    color: #fff;
    transform: scale(1.06);
}

.booking-stepper-item.is-active .booking-stepper-label {
    color: #185706;
}

.booking-stepper-item.is-complete .booking-stepper-dot {
    border-color: #b8ef7b;
    background: #edf8e6;
    color: #185706;
}

/* Step panels */
.booking-step-panel {
    padding: clamp(1.1rem, 3vw, 1.4rem);
    border: 1px solid rgba(18, 30, 20, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 24, 18, .07);
}

.booking-step-panel[hidden] {
    display: none !important;
}

.booking-step-title {
    margin: 0 0 .35rem;
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 950;
    color: #101511;
}

.booking-step-lead {
    margin: 0 0 1.1rem;
    color: #607064;
    font-size: .9rem;
    line-height: 1.5;
}

/* Step 1 — Sport */
.booking-sport-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.booking-sport-card {
    display: grid;
    gap: .5rem;
    justify-items: center;
    padding: 1.25rem .85rem;
    border: 2px solid rgba(18, 30, 20, .1);
    border-radius: 16px;
    background: #fafcf8;
    color: #101511;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.booking-sport-card i {
    font-size: 1.6rem;
    color: #2f940d;
}

.booking-sport-card strong {
    font-size: .95rem;
    font-weight: 900;
}

.booking-sport-card:hover,
.booking-sport-card.is-active {
    border-color: #2f940d;
    background: #edf8e6;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(47, 148, 13, .14);
}

/* Step 2 — Date */
.booking-calendar-field {
    display: grid;
    gap: .45rem;
    margin-bottom: 1rem;
}

.booking-calendar-field span {
    color: #607064;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.booking-calendar-field input[type="date"] {
    width: 100%;
    min-height: 50px;
    padding: .65rem .85rem;
    border: 1px solid rgba(18, 30, 20, .12);
    border-radius: 12px;
    background: #fafcf8;
    color: #101511;
    font-size: 1rem;
    font-weight: 700;
}

.booking-quick-dates {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .35rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.booking-quick-dates::-webkit-scrollbar {
    display: none;
}

.booking-quick-date {
    flex: 0 0 64px;
    display: grid;
    gap: .1rem;
    justify-items: center;
    padding: .55rem .4rem;
    border: 1px solid rgba(18, 30, 20, .1);
    border-radius: 12px;
    background: #fff;
    color: #607064;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.booking-quick-date span {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-quick-date strong {
    font-size: 1.1rem;
    font-weight: 900;
    color: #101511;
}

.booking-quick-date em {
    font-size: .62rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-quick-date.is-active,
.booking-quick-date:hover {
    border-color: #2f940d;
    background: #edf8e6;
    color: #185706;
}

/* ── Slot step top-bar (mobile) ───────────────────────────────────── */
.slot-step-topbar {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
}

.slot-back-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(18, 30, 20, .13);
    border-radius: 50%;
    background: #fff;
    color: #304136;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
    margin-top: 2px;
}

.slot-back-btn:hover {
    background: #f7faf4;
    border-color: #2f940d;
}

.slot-step-heading {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.slot-sport-name {
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #2f940d;
}

.slot-date-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 950;
    color: #101511;
    line-height: 1.2;
}

/* ── Slot grid — 2-column mobile cards (manual-booking style) ─── */
.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1rem;
}

.booking-slot-hint {
    margin: 0 0 .85rem;
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
}

.booking-slot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .45rem;
    min-height: 5.4rem;
    padding: .75rem .8rem .7rem;
    border: 1.5px solid rgba(107, 114, 128, .45);
    border-radius: 14px;
    background: #fff;
    color: #111827;
    text-align: left;
    cursor: not-allowed;
    transition: border-color .18s ease, background .18s ease;
    box-shadow: none;
}

.booking-slot-card.is-available {
    cursor: pointer;
}

.booking-slot-card.is-available:hover {
    border-color: rgba(47, 148, 13, .65);
}

.booking-slot-card.is-available.is-selected {
    border-color: #7ed992;
    background: #d8f5de;
    box-shadow: none;
}

.booking-slot-card.is-booked {
    border-color: rgba(239, 68, 68, .45);
    background: #fef2f2;
}

.booking-slot-card.is-unavailable {
    border-color: rgba(148, 163, 184, .5);
    background: #f8fafc;
    cursor: not-allowed;
}

.booking-slot-card.is-past {
    opacity: .72;
}

.booking-slot-card.is-now:not(.is-booked):not(.is-unavailable) {
    border-color: rgba(47, 148, 13, .55);
    box-shadow: inset 0 0 0 1px rgba(47, 148, 13, .18);
}

.booking-slot-card:disabled {
    opacity: 1;
}

/* Card inner rows */
.bsc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .4rem;
}

.bsc-time {
    font-size: .8rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
}

.booking-slot-card.is-selected .bsc-time {
    color: #111827;
}

.bsc-icon {
    font-size: .95rem;
    line-height: 1;
    flex-shrink: 0;
    color: #f5b400;
}

.bsc-icon.is-night {
    color: #3b82f6;
}

.bsc-meta {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.bsc-duration {
    display: inline-flex;
    align-items: center;
    min-height: 1.25rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: #edf8e6;
    color: #166534;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.booking-slot-card.is-duration-30 .bsc-duration {
    background: #e8f1ff;
    color: #1d4ed8;
}

.booking-slot-card.is-booked .bsc-duration,
.booking-slot-card.is-unavailable .bsc-duration {
    background: #f3f4f6;
    color: #6b7280;
}

.bsc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .25rem;
    padding-right: 1.5rem;
}

.bsc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 0;
    border: 1.5px solid transparent;
    background: transparent;
}

.bsc-badge--avail {
    border-color: #2f940d;
    color: #2f940d;
}

.bsc-badge--booked {
    border-color: #dc2626;
    color: #b91c1c;
}

.bsc-badge--muted {
    border-color: #94a3b8;
    color: #64748b;
}

.bsc-price {
    font-size: .68rem;
    font-weight: 800;
    color: #185706;
}

.booking-slot-card.is-booked .bsc-time,
.booking-slot-card.is-booked .bsc-price,
.booking-slot-card.is-unavailable .bsc-time,
.booking-slot-card.is-unavailable .bsc-price {
    color: #9ca3af;
}

.booking-slot-card .check-icon {
    display: none;
    position: absolute;
    right: .55rem;
    bottom: .45rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #2f940d;
    color: #fff;
    place-items: center;
    font-size: .7rem;
    line-height: 1;
}

.booking-slot-card.is-selected .check-icon {
    display: grid;
}


.booking-slot-loading,
.booking-slot-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: .4rem;
    justify-items: center;
    padding: 2rem 1rem;
    border: 1px dashed rgba(96, 112, 100, .28);
    border-radius: 14px;
    color: #607064;
    text-align: center;
}

.booking-slot-empty strong {
    color: #101511;
}

/* Step 4 — Details */
.booking-details-form {
    display: grid;
    gap: .85rem;
    margin-bottom: 1rem;
}

.booking-field {
    display: grid;
    gap: .4rem;
}

.booking-field span {
    color: #607064;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.booking-field input {
    min-height: 48px;
    padding: .6rem .85rem;
    border: 1px solid rgba(18, 30, 20, .12);
    border-radius: 12px;
    background: #fafcf8;
    font-size: .95rem;
    font-weight: 600;
}

.booking-field input:focus {
    outline: none;
    border-color: rgba(47, 148, 13, .45);
    box-shadow: 0 0 0 3px rgba(47, 148, 13, .12);
}

.booking-hint {
    color: #8a9a8e;
    font-size: .82rem;
}

.booking-hint[data-tone="success"] {
    color: #185706;
}

.booking-hint[data-tone="warning"] {
    color: #b54708;
}

/* Step 5 — Payment */
.booking-summary-chip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .85rem;
    border-radius: 14px;
    background: #101511;
    color: #fff;
}

.booking-summary-chip div {
    display: grid;
    gap: .15rem;
}

.booking-summary-chip span {
    color: rgba(255, 255, 255, .65);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.booking-summary-chip strong {
    font-size: .88rem;
    font-weight: 900;
}

.booking-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1rem;
}

.booking-upi-note {
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(47, 148, 13, .18);
    border-radius: 14px;
    background: rgba(230, 244, 219, .7);
}

.booking-upi-note strong {
    display: block;
    margin-bottom: .25rem;
    font-size: .88rem;
    color: #14532d;
}

.booking-upi-note p {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f3d07;
    letter-spacing: .02em;
}

.booking-upi-note small {
    color: #4b5563;
    line-height: 1.5;
}

.booking-upi-note a {
    color: #14532d;
    font-weight: 700;
}

.booking-payment-card {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 54px;
    padding: .7rem .85rem;
    border: 2px solid rgba(18, 30, 20, .1);
    border-radius: 14px;
    background: #fff;
    color: #101511;
    font-size: .84rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.booking-payment-card.is-active {
    border-color: #2f940d;
    background: #edf8e6;
    box-shadow: 0 8px 20px rgba(47, 148, 13, .12);
}

.booking-pay-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: .9rem;
}

.booking-pay-icon--upi { background: #ede9fe; color: #6d28d9; }
.booking-pay-icon--gpay { background: #e8f4fd; color: #1a73e8; }
.booking-pay-icon--phonepe { background: #f3e8ff; color: #7c3aed; }
.booking-pay-icon--paytm { background: #e0f2fe; color: #0284c7; }
.booking-pay-icon--card { background: #fef3c7; color: #b45309; }

/* Step 6 — Confirmation */
.booking-confirm-card {
    text-align: center;
}

.booking-confirm-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto .85rem;
    border-radius: 50%;
    background: #edf8e6;
    color: #2f940d;
    font-size: 1.8rem;
}

.booking-confirm-card h2 {
    margin: 0 0 .25rem;
    font-size: 1.45rem;
    font-weight: 950;
    color: #101511;
}

.booking-confirm-id {
    margin: 0 0 1rem;
    color: #2f940d;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.booking-confirm-list {
    display: grid;
    gap: .55rem;
    margin: 0 0 1.25rem;
    text-align: left;
}

.booking-confirm-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem .75rem;
    border-radius: 10px;
    background: #f7faf4;
}

.booking-confirm-list dt {
    margin: 0;
    color: #607064;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-confirm-list dd {
    margin: 0;
    color: #101511;
    font-size: .88rem;
    font-weight: 800;
    text-align: right;
}

.booking-confirm-actions {
    display: grid;
    gap: .65rem;
}

/* Buttons */
.booking-step-nav {
    display: flex;
    gap: .65rem;
    justify-content: space-between;
    margin-top: .25rem;
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 48px;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    border: 0;
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.booking-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.booking-btn--primary {
    background: linear-gradient(135deg, #3da312 0%, #2f940d 55%, #1d6908 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 148, 13, .24);
}

.booking-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(47, 148, 13, .3);
}

.booking-btn--ghost {
    border: 1px solid rgba(18, 30, 20, .14);
    background: #fff;
    color: #304136;
}

.booking-btn--ghost:hover:not(:disabled) {
    background: #f7faf4;
}

.booking-btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .28);
}

.booking-step-nav .booking-btn--primary {
    margin-left: auto;
}

/* Payment overlay */
.booking-payment-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: end center;
    padding: 1rem;
    background: rgba(16, 24, 40, .6);
    backdrop-filter: blur(8px);
}

.booking-payment-overlay.d-none {
    display: none !important;
}

.booking-payment-sheet {
    display: grid;
    gap: .65rem;
    width: min(100%, 400px);
    padding: 1.25rem;
    border-radius: 18px 18px 0 0;
    background: #fff;
    text-align: center;
}

.booking-payment-sheet-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    background: #edf8e6;
    color: #2f940d;
    font-size: 1.2rem;
}

.booking-payment-sheet h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.booking-payment-sheet strong {
    font-size: 1.5rem;
    color: #185706;
}

.booking-payment-progress {
    height: 6px;
    border-radius: 999px;
    background: #edf8e6;
    overflow: hidden;
}

.booking-payment-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f940d, #8ddf2f);
    transition: width .35s ease;
}

/* ── Legend (keep) ─────────────────────────────────────────────────── */
.booking-slot-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin-bottom: .75rem;
    color: #607064;
    font-size: .75rem;
    font-weight: 700;
}

.booking-slot-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.booking-slot-legend i {
    width: 11px;
    height: 11px;
    border-radius: 3px;
}

.legend-available {
    background: #edf8e6;
    border: 2px solid #2f940d;
}

.legend-booked {
    background: #fef2f2;
    border: 2px solid rgba(239, 68, 68, .55);
}

.booking-slot-duration-chip {
    margin-left: auto;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: #eef5ea;
    color: #1f6f09;
    font-weight: 800;
}

/* ── Sticky Book Bar ───────────────────────────────────────────────── */
.sticky-book-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem clamp(1rem, 4vw, 1.5rem);
    padding-bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(18, 30, 20, .1);
    box-shadow: 0 -6px 24px rgba(16, 24, 18, .1);
    animation: slideUpBar .25s ease;
}

.sticky-book-bar.d-none {
    display: none !important;
}

@keyframes slideUpBar {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

.sticky-book-bar__info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
    flex: 1;
}

.sticky-book-bar__time {
    font-size: .8rem;
    font-weight: 800;
    color: #101511;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-book-bar__price {
    font-size: .72rem;
    font-weight: 700;
    color: #2f940d;
}

.sticky-book-bar__btn {
    flex-shrink: 0;
    font-size: .82rem;
    min-height: 44px;
    padding: .6rem 1.1rem;
}

/* Hide floating WhatsApp + mobile dock while Book CTA is visible */
body.booking-bar-open .floating-whatsapp-btn,
body.booking-bar-open .public-mobile-dock {
    display: none !important;
}

/* Hide sticky Book bar / dock / WhatsApp while confirm sheet is open */
body.booking-sheet-open .sticky-book-bar,
body.booking-sheet-open .floating-whatsapp-btn,
body.booking-sheet-open .public-mobile-dock {
    display: none !important;
    pointer-events: none !important;
}

body.booking-bar-open:not(.booking-sheet-open) {
    padding-bottom: 5.75rem;
}

body.booking-sheet-open {
    padding-bottom: 0 !important;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .sticky-book-bar {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        border-radius: 0;
        gap: .75rem;
    }

    .sticky-book-bar__time {
        font-size: .74rem;
    }

    .sticky-book-bar__btn {
        min-width: 6.5rem;
    }

    body.booking-bar-open:not(.booking-sheet-open) {
        padding-bottom: 6.25rem;
    }

    .book-sheet {
        max-height: min(94dvh, 100%);
        padding: .45rem 1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
        gap: .8rem;
    }

    .book-sheet__summary-head {
        gap: .65rem;
    }

    .book-sheet__summary-head strong {
        font-size: .9rem;
        word-break: break-word;
    }

    .book-sheet__confirm-btn {
        position: sticky;
        bottom: 0;
        z-index: 2;
    }
}

@media (min-width: 992px) {
    .sticky-book-bar {
        left: 50%;
        right: auto;
        bottom: 1.25rem;
        width: min(560px, calc(100% - 2rem));
        transform: translateX(-50%);
        border: 1px solid rgba(18, 30, 20, .1);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(16, 24, 18, .16);
        padding-bottom: .85rem;
    }

    body.booking-bar-open:not(.booking-sheet-open) {
        padding-bottom: 6.5rem;
    }
}

/* ── Book bottom-sheet ─────────────────────────────────────────────── */
.book-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    background: rgba(16, 24, 40, .5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overscroll-behavior: none;
}

.book-sheet-overlay.d-none {
    display: none !important;
}

.book-sheet {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    max-height: 92dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: .5rem 1.15rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: .95rem;
    animation: sheetUp .3s cubic-bezier(.22,.61,.36,1);
    scrollbar-width: none;
}

.book-sheet::-webkit-scrollbar { display: none; }

@keyframes sheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.book-sheet__handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(18, 30, 20, .12);
    margin: .35rem auto 0;
    flex-shrink: 0;
}

.book-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.book-sheet__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
}

.book-sheet__close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 50%;
    background: #fff;
    color: #111827;
    font-size: .85rem;
    cursor: pointer;
    flex-shrink: 0;
}

.book-sheet__form {
    display: grid;
    gap: .85rem;
}

.book-sheet-field {
    display: grid;
    gap: .35rem;
}

.book-sheet-field > span {
    color: #111827;
    font-size: .82rem;
    font-weight: 650;
}

.book-sheet-field__control {
    position: relative;
}

.book-sheet-field__control input {
    width: 100%;
    min-height: 48px;
    padding: .65rem 2.6rem .65rem .9rem;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: .95rem;
    font-weight: 600;
}

.book-sheet-field__control input:focus {
    outline: none;
    border-color: rgba(47, 148, 13, .55);
    box-shadow: 0 0 0 3px rgba(47, 148, 13, .12);
}

.book-sheet-field__control i {
    position: absolute;
    right: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: .9rem;
    pointer-events: none;
}

.book-sheet__summary {
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, .12);
    border-radius: 14px;
    padding: 1rem 1.05rem;
}

.book-sheet__summary-title {
    text-align: center;
    margin-bottom: .85rem;
    color: #2e8b57;
    font-size: 1.05rem;
    font-weight: 800;
}

.book-sheet__summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.book-sheet__summary-head strong {
    display: block;
    color: #111827;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
}

.book-sheet__summary-head span {
    display: block;
    margin-top: .15rem;
    color: #6b7280;
    font-size: .8rem;
}

.book-sheet__summary-rule {
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, .12);
    margin: .75rem 0;
    opacity: 1;
}

.book-sheet__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: .55rem;
    color: #6b7280;
    font-size: .9rem;
}

.book-sheet__summary-row strong {
    color: #111827;
    font-weight: 650;
}

.book-sheet__summary-row--total {
    margin-bottom: 0;
    color: #111827;
    font-weight: 650;
}

.book-sheet__summary-row--muted {
    color: #9ca3af;
    font-size: .78rem;
}

.book-sheet__summary-row--muted strong {
    color: #2f940d;
    font-weight: 750;
}

.book-sheet__summary-row--total strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.book-sheet__confirm-btn {
    width: 100%;
    min-height: 52px;
    margin-top: .15rem;
    border: 1.5px solid #000;
    border-radius: 12px;
    background: #86e49d;
    color: #000;
    font-size: .95rem;
    font-weight: 800;
    cursor: pointer;
}

.book-sheet__confirm-btn:disabled {
    opacity: .7;
    cursor: wait;
}

@media (max-width: 575.98px) {
    .booking-stepper-label {
        display: none;
    }

    .booking-stepper-dot {
        width: 32px;
        height: 32px;
        font-size: .68rem;
    }

    .booking-sport-grid,
    .booking-payment-grid {
        grid-template-columns: 1fr;
    }

    .booking-step-nav {
        flex-direction: column-reverse;
    }

    .booking-step-nav .booking-btn {
        width: 100%;
    }

    .booking-step-nav .booking-btn--primary {
        margin-left: 0;
    }

    .booking-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    .booking-slot-card {
        min-height: 5.6rem;
        padding: .65rem .7rem .6rem;
    }

    .bsc-time {
        font-size: .72rem;
    }

    .bsc-duration {
        font-size: .64rem;
    }
}

@media (max-width: 991.98px) {
    body.public-site.booking-mobile-page .site-nav-collapse {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}
