/* =====================================================
   Booking-paused notice
   Only linked while DIRECT_BOOKING_ENABLED = false in build.js. Replaces the
   Beds24 search form (rooms page), the homepage booking strip and the
   checkout form with a panel pointing guests to our Booking.com page.
   Markup: src/partials/booking-paused.html. Theme-aware via theme.css vars.
   ===================================================== */

.booking-paused {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.booking-paused__icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.booking-paused__body {
    flex: 1 1 auto;
    min-width: 0;
}

.booking-paused__title {
    margin: 0 0 4px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

.booking-paused__msg {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-muted);
}

/* "You can also book directly by phone" line with a tap-to-call number. */
.booking-paused__phone { margin-top: 6px; }

.booking-paused__phone a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.booking-paused__phone a:hover,
.booking-paused__phone a:focus {
    color: var(--accent-hover);
    text-decoration: underline;
}

.booking-paused__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(239, 127, 26, 0.32);
    transition: background-color .15s ease, transform .1s ease;
}

.booking-paused__btn:hover,
.booking-paused__btn:focus {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
}

.booking-paused__btn:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 2px;
}

.booking-paused__btn:active { transform: scale(0.98); }

/* Rooms page — sits exactly where the search form sat, so the "what's
   included" strip below stays visually attached to its bottom edge. */
.apt-search .booking-paused {
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
}

/* Checkout pages — the notice is the whole page, so give it a centered,
   stacked card treatment instead of the horizontal strip. */
.checkout-section .booking-paused {
    flex-direction: column;
    max-width: 640px;
    padding: 36px 28px;
    text-align: center;
}

.checkout-section .booking-paused__title { font-size: 24px; margin-bottom: 8px; }
.checkout-section .booking-paused__btn   { margin-top: 6px; }

/* Phones + the narrow homepage column: stack icon / text / button. */
@media (max-width: 767.98px) {
    .booking-paused {
        flex-direction: column;
        gap: 12px;
        padding: 22px 18px;
        text-align: center;
    }

    .booking-paused__btn {
        width: 100%;
        white-space: normal;
    }
}

/* Apartment cards — the primary button becomes a link out to Booking.com.
   The label is longer than "Book", so step the type down a little to keep
   it on one line in the narrowest 3-column layout. Text only (no icon), so
   if a fallback font ever forces a wrap it's just two centered lines. */
.apt-card__btn--bookingcom {
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
}

.apt-card__btn--bookingcom:hover,
.apt-card__btn--bookingcom:focus {
    color: #fff;
    text-decoration: none;
}
