/* Keep the identity strapline on one line without overflowing small screens. */
.identity,
.no5-identity,
.no5-identity-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    max-width: 100% !important;
}

/* The floating control is intentionally isolated from .btn and other site buttons. */
a.mobile-book,
a.mobile-book.show {
    display: none !important;
    box-sizing: border-box !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

@media (max-width: 700px) {
    .identity,
    .no5-identity,
    .no5-identity-text {
        display: block !important;
        width: 100% !important;
        padding: 15px 6px !important;
        font-size: clamp(13px, 4vw, 19px) !important;
        line-height: 1.25 !important;
        letter-spacing: 0.045em !important;
        white-space: nowrap !important;
    }

    a.mobile-book,
    a.mobile-book.show {
        display: block !important;
        position: fixed !important;
        z-index: 9999 !important;
        left: 12px !important;
        right: 12px !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 14px 20px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: var(--pink, #F7E2E7) !important;
        color: var(--navy, #14213D) !important;
        box-shadow: 0 8px 26px rgba(20,33,61,.24) !important;
        text-align: center !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        pointer-events: auto !important;
    }

    body.no5-has-mobile-book {
        padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    }

    body.no5-has-mobile-book .site-footer {
        padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
    }
}

/* Explicitly preserve normal booking-button styling elsewhere. */
a.btn:not(.mobile-book),
button.btn:not(.mobile-book) {
    position: static;
    width: auto;
    z-index: auto;
}
