/* Keep the fixed header compact until all desktop controls fit comfortably. */
.hp-site-nav #openPreferences { white-space: nowrap; }
.hp-site-nav .hp-contact-tile {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 11px 15px; margin: 0 12px;
    color: #12618a; background: #edf7fc; border: 1px solid #d7eaf4;
    border-radius: 14px; text-decoration: none; min-height: 62px;
    transition: background-color .15s ease, border-color .15s ease;
}
.hp-site-nav .hp-contact-tile:hover { color: #084e75; background: #e1f1fa; border-color: #a9cfE4; }
.hp-site-nav .hp-contact-tile:focus-visible { outline: 3px solid #1685bd; outline-offset: 3px; }
.hp-site-nav .hp-contact-tile-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; background: #fff; border-radius: 11px; }
.hp-site-nav .hp-contact-tile-copy { display: flex; flex-direction: column; gap: 3px; }
.hp-site-nav .hp-contact-tile-title { font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hp-site-nav .hp-contact-tile-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; line-height: 1.3; }
.hp-site-nav .hp-mobile-nav-contact,
.hp-site-nav .hp-mobile-navigation-preferences,
.hp-site-nav .hp-mobile-navigation:not([open]) { display: none; }

@media (max-width: 991.98px) {
    .hp-site-nav .hp-contact-tile { gap: 6px; padding: 6px; margin: 0; width: 166px; box-sizing: border-box; min-height: 50px; border-radius: 11px; }
    .hp-site-nav .hp-contact-tile-icon { flex-basis: 20px; width: 20px; height: 28px; border-radius: 7px; }
    .hp-site-nav .hp-contact-tile-icon svg { width: 20px; height: 20px; }
    .hp-site-nav .hp-contact-tile-title { font-size: 13px; white-space: normal; }
    .hp-site-nav .hp-contact-tile-action { font-size: 12px; gap: 5px; white-space: nowrap; }
    .hp-site-nav .hp-contact-tile-copy { max-width: 130px; }
    header .hp-site-nav > .container {
        display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 8px; align-items: center; max-width: none;
    }
    header .hp-site-nav .navbar-brand { min-width: 0; margin: 0; padding: 0; }
    header .hp-site-nav .holidayparkingLogo {
        width: min(165px, calc(100vw - 200px)); max-width: 100% !important; height: auto;
    }
    header .hp-site-nav .navbar-brand .holidayparkingLogo { width: 100% !important; max-width: 165px !important; }
    header .hp-site-nav > .container > div:not(.navbar-collapse) { display: block; max-width: none !important; }
    header .hp-site-nav .navbar-toggler { display: grid; }
    header .hp-site-nav .navbar-collapse { display: none; }
    .hp-site-nav .hp-mobile-menu-button {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        color: #103d57;
        background: #edf7fc;
        border: 1px solid #d7eaf4;
        border-radius: 11px;
    }
    .hp-site-nav .hp-mobile-menu-button:focus-visible,
    .hp-mobile-navigation :focus-visible {
        outline: 2px solid #1685bd;
        outline-offset: 2px;
    }
    html:has(.hp-mobile-navigation[open]) { overflow: hidden; }
    .hp-site-nav .hp-mobile-navigation {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        max-width: none;
        max-height: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        color: #103d57;
        background: #fff;
    }
    .hp-site-nav .hp-mobile-navigation[open] {
        display: flex;
        flex-direction: column;
    }
    .hp-mobile-navigation-header {
        display: grid;
        flex: none;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        align-items: center;
        gap: 12px;
        padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
        border-bottom: 1px solid #dce9ef;
    }
    .hp-mobile-menu-close span {
        position: relative;
        width: 21px;
        height: 21px;
    }
    .hp-mobile-menu-close span::before,
    .hp-mobile-menu-close span::after {
        position: absolute;
        inset: 9px 0 auto;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        content: "";
        transform: rotate(45deg);
    }
    .hp-mobile-menu-close span::after { transform: rotate(-45deg); }
    .hp-mobile-navigation-home { justify-self: center; }
    .hp-mobile-navigation-home img {
        display: block;
        width: 176px;
        max-width: 100%;
        height: auto;
    }
    .hp-mobile-navigation-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    }
    .hp-mobile-navigation .navbar-nav { margin: 0 !important; }
    .hp-mobile-navigation .navbar-nav > .nav-item {
        margin: 0 !important;
        border-bottom: 1px solid #dce9ef;
    }
    .hp-mobile-navigation .hp-mobile-nav-contact { display: block; }
    .hp-mobile-navigation .navbar-nav > .nav-item > .navigationButton {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        min-height: 59px;
        height: auto;
        padding: 12px 10px !important;
        border: 0 !important;
        border-radius: 8px !important;
        color: #103d57 !important;
        font-size: 1rem;
        font-weight: 650;
        line-height: 1.35;
        text-align: start;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .hp-mobile-navigation .navbar-nav > .nav-item > .navigationButton:is(a, button)::after {
        display: block;
        flex: 0 0 8px;
        width: 8px;
        height: 8px;
        margin: 0 3px 0 auto;
        border: solid #47738b;
        border-width: 0 2px 2px 0;
        content: "";
        transform: rotate(-45deg);
    }
    .hp-mobile-navigation .navbar-nav > .nav-item > .dropdown-toggle::after { transform: rotate(45deg); }
    .hp-mobile-navigation .navbar-nav > .nav-item > .dropdown-toggle.show::after { transform: rotate(225deg); }
    .hp-mobile-navigation .navbar-nav > .nav-item > [data-hp-click="manage_booking"] {
        background: #edf7fc;
        font-weight: 750;
    }
    .hp-mobile-navigation .customer-account-nav-link.is-authenticated {
        min-width: 0;
        box-shadow: none;
    }
    .hp-mobile-navigation .customer-account-nav-label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        font-size: inherit;
        white-space: normal;
    }
    .hp-mobile-navigation .customer-account-nav-icon { margin: 0; }
    .hp-mobile-navigation .customer-account-nav-name { max-width: 100%; }
    .hp-mobile-navigation .customer-account-menu {
        position: static !important;
        width: 100%;
        min-width: 0 !important;
        margin-bottom: 10px !important;
        background: #f4f9fc !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .hp-mobile-navigation #openPreferences { white-space: normal; }
    .hp-mobile-navigation .hp-mobile-navigation-preferences { display: inline; }
    .hp-mobile-navigation .hp-navigation-market {
        margin-inline-start: auto;
        color: #47738b;
        font-size: .8rem;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .hp-mobile-navigation #openPreferences::after { margin-inline-start: 2px; }

    body > .mainContent { margin-top: 76px !important; }
    body.admin-preview-active > .mainContent { margin-top: 122px !important; }
}
@media (max-width: 390px) {
    .hp-site-nav .hp-contact-tile { width: 122px; }
    .hp-site-nav .hp-contact-tile-action { display: none; }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: no-preference) {
    .hp-mobile-navigation[open] { animation: hp-mobile-navigation-enter .2s ease-out; }
    @keyframes hp-mobile-navigation-enter {
        from { transform: translateX(-100%); }
        to { transform: translateX(0); }
    }
}
@media (min-width: 992px) {
    .hp-site-nav { flex-wrap: nowrap; }
    .hp-site-nav .navbar-collapse { display: flex !important; flex-basis: auto; }
    .hp-site-nav .navbar-nav { flex-direction: row; }
    .hp-site-nav .navbar-toggler { display: none; }
}

@media (max-width: 767.98px) {
    body.admin-preview-active > .mainContent { margin-top: 124px !important; }
}
