/* Loaded after the page's inline <style> so these rules win. */

/* Custom scrollbar, matching this page's ivory/bronze theme.
   scrollbar-width stays "auto" so Chrome/Edge don't shrink it and override the
   12px ::-webkit-scrollbar sizing below (scrollbar-color/-width are Firefox's only option). */
html {
    scrollbar-color: #ffd700 var(--ivory, #f8f6f3);
    scrollbar-width: auto;
}

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--ivory, #f8f6f3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffc400);
    border-radius: 7px;
    border: 2px solid var(--ivory, #f8f6f3);
}

::-webkit-scrollbar-thumb:hover {
    background: #ffea00;
}

/* Bug fix: .footer-bottom had no color of its own, so it inherited the page's
   dark body text color onto the dark footer background - invisible copyright line. */
.footer-bottom {
    color: var(--text, #e8e8e8);
}

.time-slots {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)) !important;
    gap: 0.5rem !important;
}

.time-slots .time-slot {
    padding: 0.55rem 0.4rem !important;
    font-size: 0.8rem !important;
}

/* Only constrain/scroll the sticky booking panel on desktop - on mobile it's
   position:static and should flow naturally with the page, not clip its own content. */
@media (min-width: 1025px) {
    .booking-form {
        max-height: calc(100vh - 40px) !important;
    }
}

.slots-loading {
    grid-column: 1 / -1;
    opacity: 0.6;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.location-toggle {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-option {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: var(--ivory, #f8f6f3);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.location-option input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--bronze, #b8813d);
}

.location-option:has(input:checked) {
    border-color: var(--bronze, #b8813d);
    background: rgba(184, 129, 61, 0.08);
}

.location-option.disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.location-option.disabled em {
    font-style: normal;
    font-size: 0.78rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .location-option {
        min-width: 100%;
    }
}

.price-original {
    font-size: 0.55em;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.55;
    margin-right: 0.4em;
    display: inline-block;
}

.offer-badge {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-top: 0.4rem;
}

.meta-value .offer-badge {
    display: block;
    width: fit-content;
    margin: 0.35rem auto 0;
}

.price-row .price-original {
    font-size: 0.85em;
}
