/* Bookings page - desktop 2-column layout */
.bookings-layout {
    display: flex;
    gap: 1.5rem;
}
.bookings-main {
    flex: 1;
    min-width: 0;
}
.bookings-sidebar {
    width: 20rem;
    flex-shrink: 0;
}
.bookings-sidebar-sticky {
    position: sticky;
    top: 6rem; /* clear site header (z-30 user-menu-base) */
    z-index: 10;
}

/* Desktop: hide mobile-only elements */
.bookings-mobile-only {
    display: none;
}

/* Mobile cart overlay - always rendered above header */
.bookings-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 60; /* above user-menu-scroll-logo z-50 */
}
.bookings-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}
.bookings-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 24rem;
    background: white;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 61;
}

/* Mobile bottom bar */
.bookings-mobile-bar {
    display: none;
}
.bookings-mobile-bar-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.375rem;
    background-color: #16a34a;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.bookings-mobile-bar-btn:hover {
    background-color: #15803d;
}

/* Slot detail overlay */
.bookings-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.bookings-detail-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.bookings-detail-content {
    position: relative;
    z-index: 61;
    width: 100%;
    max-width: 32rem;
}

/* Add to cart button */
.booking-add-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #16a34a;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    transition: background-color .15s;
}
.booking-add-btn:hover {
    background-color: #15803d;
}
.booking-add-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Mobile: < 1024px */
@media (max-width: 1023px) {
    .bookings-sidebar {
        display: none;
    }
    .bookings-mobile-only {
        display: block;
    }
    .bookings-mobile-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 55; /* above header z-50 */
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        padding: 0.75rem 1rem;
    }
}
