/* Component styles only; the native Salient header and menu remain in use. */
body.sc-booking-shell {
    --sc-cta-accent: #b91c1c;
    --sc-cta-ink: #16313b;
    --sc-sticky-cta-height: 78px;
}

body.sc-booking-shell #header-outer #top nav > ul > li.sc-reserve-menu > a,
body.sc-booking-shell #header-outer a.sc-reserve,
body.sc-booking-shell .sc-sticky-cta a.sc-reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 13px 18px !important;
    border-radius: 6px;
    background: var(--sc-cta-accent) !important;
    color: #fff !important;
    font: 700 13px/1.3 "Noto Sans", Arial, sans-serif;
    line-height: 1.3 !important;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

body.sc-booking-shell #header-outer #top nav > ul > li.sc-reserve-menu > a::after {
    content: "↗";
    position: static;
    display: inline;
    width: auto;
    height: auto;
    border: 0;
    background: none;
    transform: none;
}

body.sc-booking-shell #header-outer #top nav > ul > li.sc-reserve-menu > a .menu-title-text {
    color: inherit !important;
}

body.sc-booking-shell #header-outer #top nav > ul > li.sc-reserve-menu > a .menu-title-text::after {
    display: none !important;
}

body.sc-booking-shell .sc-sticky-cta {
    display: none;
}

body.sc-booking-shell .sc-sticky-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

body.sc-booking-shell .sc-sticky-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--sc-cta-accent);
    border-radius: 6px;
    color: var(--sc-cta-accent);
    background: #fff;
    text-decoration: none;
}

body.sc-booking-shell .sc-header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    text-decoration: none;
}

body.sc-booking-shell .sc-header-phone svg,
body.sc-booking-shell .sc-sticky-phone svg {
    width: 22px;
    height: 22px;
    flex: none;
}

body.sc-booking-shell #header-outer #top nav > ul > li.sc-reserve-menu > a.sc-header-phone::after {
    display: none;
}

body.sc-booking-shell .sc-reserve:focus-visible,
body.sc-booking-shell .sc-reserve-menu > a:focus-visible,
body.sc-booking-shell .sc-sticky-phone:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@media (max-width: 999px) {
    body.sc-booking-shell #header-outer .mobile-header {
        margin-right: 12px;
    }

    body.sc-booking-shell #header-outer a.sc-reserve {
        gap: 6px;
        padding: 10px !important;
        font-size: 11px;
    }

    body.sc-booking-shell .sc-header-phone-label {
        display: none;
    }

    body.sc-booking-shell #header-outer a.sc-header-phone {
        width: 44px;
        min-width: 44px;
        padding: 0 !important;
    }
}

@media (max-width: 767px) {
    body.sc-booking-shell.sc-has-sticky-cta {
        padding-bottom: calc(var(--sc-sticky-cta-height) + env(safe-area-inset-bottom, 0px)) !important;
        scroll-padding-bottom: calc(var(--sc-sticky-cta-height) + env(safe-area-inset-bottom, 0px) + 20px);
    }

    body.sc-booking-shell .sc-sticky-cta {
        position: fixed;
        inset: auto 0 0;
        z-index: 990;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        box-sizing: border-box;
        height: calc(var(--sc-sticky-cta-height) + env(safe-area-inset-bottom, 0px));
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #dce5e8;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(22, 49, 59, .08);
    }

    body.sc-booking-shell .sc-sticky-cta p {
        min-width: 0;
        margin: 0;
        padding: 0;
        color: #586b73;
        font: 400 12px/1.4 "Noto Sans", Arial, sans-serif;
    }

    body.sc-booking-shell .sc-sticky-cta strong {
        display: block;
        color: var(--sc-cta-ink);
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    body.sc-booking-shell .sc-sticky-cta {
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.sc-booking-shell .sc-sticky-cta strong {
        font-size: 14px;
    }

    body.sc-booking-shell .sc-sticky-cta a.sc-reserve {
        gap: 6px;
        padding: 12px 10px !important;
        font-size: 12px;
    }
}

@media (hover: hover) {
    body.sc-booking-shell #header-outer #top nav > ul > li.sc-reserve-menu > a:hover,
    body.sc-booking-shell #header-outer a.sc-reserve:hover,
    body.sc-booking-shell .sc-sticky-cta a.sc-reserve:hover {
        background: #971919 !important;
    }

    body.sc-booking-shell .sc-sticky-phone:hover {
        background: #f8eeee;
    }
}

/* No online CTA is displayed before the first confirmed marker response. */
html body.sc-booking-shell a[href*="/rezerwacja"]:not(.sc-availability-ready),
html body.sc-booking-shell li:has(> a[href*="/rezerwacja"]:not(.sc-availability-ready)),
html body.sc-booking-shell a.sc-availability-hidden,
html body.sc-booking-shell li:has(> a.sc-availability-hidden) {
    display: none !important;
}

html body.sc-booking-shell a.sc-action-disabled,
html body.sc-booking-shell a.sc-action-disabled:hover,
html body.sc-booking-shell a.sc-action-disabled:focus {
    background: #e1e3e3 !important;
    color: #717777 !important;
    border-color: #c8cccc !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    filter: grayscale(1);
    text-decoration: none !important;
}

html body.sc-booking-shell a.sc-action-disabled * {
    color: inherit !important;
}
