/* Cookie consent banner (analytics only). Fixed-position, so opening/closing it never shifts page layout (no CLS).
   Desktop: a card in the bottom-right corner (the floating WhatsApp button lives bottom-left).
   Phones: full width at the bottom; the floating buttons are lifted above it while it is open. */
.cookieConsent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000; /* above .floatingButtons (900) and the sticky Book Now bar (500) */
    width: min(420px, calc(100vw - 32px));
    background: #fff;
    color: var(--blackcolor, #1a1a1a);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    font-family: var(--font, sans-serif);
}
.cookieConsent[hidden] { display: none; }

.cookieConsentInner { padding: 20px; }

.cookieConsentTitle {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}
.cookieConsentTitle:focus { outline: none; }
.cookieConsentTitle:focus-visible { outline: 2px solid var(--mainred, #a00d18); outline-offset: 2px; }

.cookieConsentText {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
}
.cookieConsentText a { color: var(--mainred, #a00d18); text-decoration: underline; }

.cookieConsentActions { display: flex; gap: 10px; }

/* Accept and Decline look the same on purpose: neither choice is pushed. */
.cookieConsentButton {
    flex: 1 1 0;
    min-height: 44px;
    padding: 10px 16px;
    border: 2px solid var(--mainred, #a00d18);
    border-radius: 10px;
    background: #fff;
    color: var(--mainred, #a00d18);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.cookieConsentButton:hover { background: var(--mainred, #a00d18); color: #fff; }
.cookieConsentButton:focus-visible { outline: 3px solid var(--blackcolor, #1a1a1a); outline-offset: 2px; }

/* Footer "Cookie preferences" entry: a button styled like the neighbouring legal links. */
.cookiePreferencesLink {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}
.cookiePreferencesLink:hover { text-decoration: underline; }

@media (max-width: 639px) {
    .cookieConsent {
        right: 0;
        bottom: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
    }
    .cookieConsentInner { padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
    .cookieConsentOpen .floatingButtons { bottom: calc(var(--cookie-consent-height, 0px) + 8px); }
}
