
/* =========================================================
   SITE BASE CSS
   Shared reusable component styling
========================================================= */


/* =========================================================
   ROOT FALLBACKS
========================================================= */

:root {
    --brand-primary: #052c65;
    --brand-primary-dark: #031c42;
    --brand-primary-light: #dce8ff;
    --color-text: #212529;
    --color-text-muted: #6c757d;
    --color-text-inverse: #ffffff;
    --color-border: #dee2e6;
    --background-body: #f5f6f8;
    --background-card: #ffffff;
    --background-muted: #f8fafc;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.12);
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}


/* =========================================================
   GLOBAL
========================================================= */

body {
    background: var(--background-body);
    color: var(--color-text);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}


/* =========================================================
   HEADER
========================================================= */

.top-header,
.navbar,
.header {
    background: var(--brand-primary);
    color: var(--color-text-inverse);
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar,
.left-sidebar {
    background: var(--background-card);
    border-right: 1px solid var(--color-border);
}

.sidebar-section-title,
.oz-sidebar-heading {
    background: var(--brand-primary);
    color: var(--color-text-inverse);
    padding: 10px 15px;
    font-weight: 600;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary,
.oz-btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--color-text-inverse);
    border-radius: var(--radius-lg);
    font-weight: 700;
    padding: 0.65rem 1.5rem;
}

    .btn-primary:hover,
    .oz-btn-primary:hover {
        background: var(--brand-primary-dark);
        border-color: var(--brand-primary-dark);
    }


/* =========================================================
   GENERIC CARDS
========================================================= */

.card,
.portlet {
    background: var(--background-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   CRUISE RESULT LIST
========================================================= */

.oz-cruise-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

    .oz-cruise-list > .cruise-card {
        width: 100%;
        min-width: 0;
        display: flex;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }


    /* =========================================================
   CRUISE RESULT CARD
========================================================= */

    .oz-cruise-list .cruise-result-card {
        display: grid;
        grid-template-columns: 210px minmax(0, 1fr);
        min-height: 100%;
        width: 100%;
        overflow: hidden;
        background: var(--background-card);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        background-clip: padding-box;
        transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    }

        .oz-cruise-list .cruise-result-card:hover,
        .oz-cruise-list .cruise-result-card:focus-within {
            transform: translateY(-2px);
            border-color: var(--brand-primary-light);
            box-shadow: var(--shadow-md);
        }
    /* =========================================================
   CRUISE BADGES
========================================================= */

    .oz-cruise-list .cruise-night-badge,
    .oz-cruise-list .cruise-duration-badge,
    .oz-cruise-list .badge {
        position: absolute;
        top: .75rem;
        left: .75rem;
        z-index: 2;
        padding: .5rem .85rem;
        border-radius: 999px !important;
        background: var(--brand-primary);
        color: var(--color-text-inverse);
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .02em;
        line-height: 1;
        text-transform: uppercase;
        box-shadow: var(--shadow-sm);
    }


    /* =========================================================
   CRUISE CARD CONTENT
========================================================= */

    .oz-cruise-list .cruise-result-body {
        min-width: 0;
        padding: 1.25rem 1.35rem 1rem;
        display: flex;
        flex-direction: column;
    }

    .oz-cruise-list .cruise-brand-logo {
        max-width: 145px;
        max-height: 28px;
        width: auto;
        object-fit: contain;
    }

    .oz-cruise-list .cruise-result-title {
        margin: .8rem 0 .85rem;
        color: var(--color-text);
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .oz-cruise-list .cruise-meta-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem .95rem;
        margin: 0 0 .8rem;
        padding: 0;
        list-style: none;
        color: var(--color-text-muted);
        font-size: .88rem;
    }

        .oz-cruise-list .cruise-meta-list li {
            display: inline-flex;
            align-items: center;
            min-width: 0;
            white-space: nowrap;
        }

        .oz-cruise-list .cruise-meta-list span {
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .oz-cruise-list .cruise-meta-list i,
        .oz-cruise-list .cruise-benefits i {
            width: 1rem;
            margin-right: .42rem;
            color: var(--brand-primary);
            text-align: center;
            flex-shrink: 0;
        }

    .oz-cruise-list .cruise-benefits {
        display: flex;
        flex-wrap: wrap;
        gap: .45rem .85rem;
        margin-top: auto;
        padding-top: .7rem;
        color: var(--brand-danger, #d71920);
        font-size: .82rem;
        font-weight: 700;
    }

        .oz-cruise-list .cruise-benefits i {
            color: var(--brand-accent, #ffb000);
        }

        .oz-cruise-list .cruise-benefits > div {
            display: inline-flex !important;
            align-items: center;
            gap: .35rem;
            margin: 0;
        }

        .oz-cruise-list .cruise-benefits img {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }

    .oz-cruise-list .cruise-announcement {
        margin-top: .5rem;
        color: var(--brand-danger, #d71920);
        font-size: .82rem;
        font-weight: 700;
    }


    /* =========================================================
   CRUISE PRICE FOOTER
========================================================= */

    .oz-cruise-list .cruise-result-price {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        align-items: center;
        gap: .75rem 1rem;
        border-top: 1px solid var(--color-border);
        padding: .9rem 1.25rem;
        background: var(--background-muted);
    }

    .oz-cruise-list .price-block {
        display: flex;
        align-items: baseline;
        gap: .5rem;
        min-width: 0;
    }

    .oz-cruise-list .price-prefix {
        color: var(--color-text-muted);
        font-size: .82rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .oz-cruise-list .price-main {
        color: var(--brand-primary);
        font-family: var(--font-heading);
        font-size: 1.55rem;
        font-weight: 850;
        letter-spacing: -.035em;
        line-height: 1;
        white-space: nowrap;
    }

    .oz-cruise-list .price-suffix {
        color: var(--color-text-muted);
        font-size: .78rem;
        white-space: nowrap;
    }

    .oz-cruise-list .quad-price {
        margin: 0;
        color: var(--color-text-muted);
        font-size: .84rem;
        white-space: nowrap;
    }

        .oz-cruise-list .quad-price strong {
            color: var(--color-text);
        }

    .oz-cruise-list .view-cruise-detail {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 7.5rem;
        min-height: 2.15rem;
        margin-top: 0;
        border-radius: var(--radius-lg) !important;
        background: var(--brand-primary);
        color: var(--color-text-inverse) !important;
        text-decoration: none;
        font-weight: 800;
        box-shadow: var(--shadow-sm);
        transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
    }

        .oz-cruise-list .view-cruise-detail:hover,
        .oz-cruise-list .view-cruise-detail:focus {
            background: var(--brand-primary-dark);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }


/* =========================================================
   CRUISE RESULT RESPONSIVE
========================================================= */

@media (min-width: 1600px) {
    .oz-cruise-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

        .oz-cruise-list .cruise-result-card {
            grid-template-columns: 190px minmax(0, 1fr);
        }

        .oz-cruise-list .cruise-result-image-link,
        .oz-cruise-list .cruise-result-image {
            min-height: 175px;
        }

        .oz-cruise-list .cruise-meta-list {
            grid-template-columns: 1fr;
        }
}

@media (max-width: 1199.98px) {
    .oz-cruise-list {
        grid-template-columns: 1fr;
    }

        .oz-cruise-list .cruise-result-card {
            grid-template-columns: 230px minmax(0, 1fr);
        }

        .oz-cruise-list .cruise-meta-list {
            display: flex;
            flex-wrap: wrap;
        }
}

@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 170px minmax(0, 1fr);
        border-radius: var(--radius-md);
    }

    .oz-cruise-list .cruise-result-image-link,
    .oz-cruise-list .cruise-result-image {
        min-height: 170px;
    }

    .oz-cruise-list .cruise-result-body {
        padding: .9rem;
    }

    .oz-cruise-list .cruise-result-title {
        margin-top: .65rem;
        font-size: 1.05rem;
    }

    .oz-cruise-list .cruise-meta-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: .4rem;
        font-size: .82rem;
    }

    .oz-cruise-list .cruise-benefits {
        font-size: .78rem;
    }

    /* Mobile footer fix:
       Prevent fare text from being covered by the CTA button
       on real-device widths such as Pixel 7. */
    .oz-cruise-list .cruise-result-price {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: .8rem .9rem;
        row-gap: .75rem;
    }

    .oz-cruise-list .quad-price {
        display: block;
        white-space: nowrap;
    }

    .oz-cruise-list .price-block {
        flex-wrap: wrap;
        row-gap: .15rem;
    }

    .oz-cruise-list .price-main {
        font-size: 1.45rem;
    }

    .oz-cruise-list .view-cruise-detail {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 479.98px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 1fr;
    }

    .oz-cruise-list .cruise-result-image-link,
    .oz-cruise-list .cruise-result-image {
        min-height: 205px;
    }

    .oz-cruise-list .cruise-result-image-link {
        border-top-right-radius: var(--radius-lg);
        border-bottom-left-radius: 0;
    }

    .oz-cruise-list .cruise-result-price {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .oz-cruise-list .view-cruise-detail {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* =========================================================
   PORTLET TITLES
========================================================= */

.portlet > .portlet-title:not(.tabbable-line):not(.oz-tabbable-line),
.oz-section-heading,
.panel-primary > .panel-heading {
    background: var(--brand-primary);
    color: var(--color-text-inverse);
    padding: 12px 16px;
    font-weight: 600;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}


/* =========================================================
   TABBABLE PORTLET TITLES
========================================================= */

.portlet-title.tabbable-line,
.portlet-title.oz-tabbable-line {
    background: transparent !important;
    color: inherit !important;
    border: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
}


/* =========================================================
   TAB STYLING
========================================================= */

.oz-tabbable-line .nav-tabs {
    border-bottom: 1px solid var(--color-border);
}

    .oz-tabbable-line .nav-tabs .nav-link {
        border: none;
        color: var(--color-text-muted);
        background: transparent;
        margin-bottom: -1px;
    }

        .oz-tabbable-line .nav-tabs .nav-link:hover {
            color: var(--brand-primary);
            background: transparent;
        }

        .oz-tabbable-line .nav-tabs .nav-link.active {
            color: var(--brand-primary) !important;
            background: transparent !important;
            border: none !important;
            border-bottom: 3px solid var(--brand-primary) !important;
            font-weight: 600;
        }


/* =========================================================
   FORMS
========================================================= */

.form-control,
.form-select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 0.2rem rgba(5,44,101,0.15);
    }


/* =========================================================
   TABLES
========================================================= */

.table thead th {
    background: var(--brand-primary-light);
    color: var(--color-text);
}


/* =========================================================
   ALERTS / BOOKING TOTAL
========================================================= */

.booking-total,
.alert-success {
    border-left: 5px solid var(--brand-primary);
}

/* =========================================================
   TABBABLE PORTLET SCROLLBAR FIX
   Keeps Bootstrap overflow-auto behavior but hides unwanted scrollbar.
========================================================= */

.portlet-title.tabbable-line,
.portlet-title.oz-tabbable-line {
    overflow: hidden !important;
}

    .portlet-title.tabbable-line .nav-tabs,
    .portlet-title.oz-tabbable-line .nav-tabs,
    .oz-tabbable-line .nav-tabs {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .portlet-title.tabbable-line .nav-tabs::-webkit-scrollbar,
        .portlet-title.oz-tabbable-line .nav-tabs::-webkit-scrollbar,
        .oz-tabbable-line .nav-tabs::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }

/* Cruise detail page/component styling moved to:
   /css/views/cruises/cruise-detail.b5.css */

/* =========================================================
   TOP RIGHT UTILITY MENU
   Scoped header/account menu styling.
   Account dropdown rules only apply after _TopRightMenu.B5.cshtml
   adds the oz-user-menu classes to the logged-in account menu.
========================================================= */

.oz-site-header,
.oz-site-header .container-fluid,
.oz-site-header .d-flex,
.oz-site-header .top-rttop,
.oz-site-header .top-rtnav,
.oz-site-header .oz-desktop-utility-menu,
.oz-site-header #toprightmenu,
.oz-site-header .oz-top-right-menu {
    overflow: visible !important;
}

    .oz-site-header .oz-utility-bar {
        background: var(--top-right-menu-bg, var(--brand-primary-dark));
        color: var(--top-right-menu-text, var(--color-text-inverse));
    }

/* Account dropdown override: prevents utility-bar white text
   from affecting logged-in dropdown menu items */
.oz-user-menu .dropdown-menu a,
.oz-user-menu .dropdown-menu a *,
.oz-user-menu .dropdown-menu button,
.oz-user-menu .dropdown-menu button *,
.oz-user-menu .dropdown-menu .dropdown-item,
.oz-user-menu .dropdown-menu .dropdown-item * {
    color: var(--top-right-dropdown-text, var(--color-text)) !important;
}

    /* Logout override */
    .oz-user-menu .dropdown-menu .oz-user-menu-logout,
    .oz-user-menu .dropdown-menu .oz-user-menu-logout *,
    .oz-user-menu .dropdown-menu a[href*="logout"],
    .oz-user-menu .dropdown-menu a[href*="logout"] *,
    .oz-user-menu .dropdown-menu a[href*="Logout"],
    .oz-user-menu .dropdown-menu a[href*="Logout"] *,
    .oz-user-menu .dropdown-menu a[href*="logoff"],
    .oz-user-menu .dropdown-menu a[href*="logoff"] *,
    .oz-user-menu .dropdown-menu a[href*="LogOff"],
    .oz-user-menu .dropdown-menu a[href*="LogOff"] * {
        color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
    }


.oz-desktop-utility-menu,
/* Logged-out Login / Sign Up links. Classes are added by _TopRightMenu.B5.cshtml JS. */
.oz-auth-login-link,
.oz-auth-signup-link {
    display: inline-flex !important;
    align-items: center;
    gap: .45rem;
    min-height: 2.35rem;
    padding: .35rem .75rem !important;
    border-radius: var(--radius-pill, 999px) !important;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none !important;
}

.oz-auth-login-link {
    color: var(--top-right-menu-text, var(--color-text-inverse)) !important;
    background: transparent !important;
    font-weight: 500 !important;
}

    .oz-auth-login-link:hover,
    .oz-auth-login-link:focus {
        background: var(--top-right-menu-hover-bg, rgba(255,255,255,.12)) !important;
        color: var(--top-right-menu-hover-text, var(--color-text-inverse)) !important;
    }

.oz-auth-signup-link {
    background: var(--top-right-menu-cta-bg, var(--brand-secondary, var(--brand-primary))) !important;
    border: 1px solid var(--top-right-menu-cta-bg, var(--brand-secondary, var(--brand-primary))) !important;
    color: var(--top-right-menu-cta-text, var(--color-text-inverse)) !important;
    box-shadow: var(--shadow-sm);
    font-weight: 600 !important;
}

    .oz-auth-signup-link:hover,
    .oz-auth-signup-link:focus {
        background: var(--top-right-menu-cta-hover-bg, var(--brand-primary)) !important;
        border-color: var(--top-right-menu-cta-hover-bg, var(--brand-primary)) !important;
        color: var(--top-right-menu-cta-text, var(--color-text-inverse)) !important;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

/* Logged-in account dropdown. Only targeted when JS identifies the account menu. */
.oz-user-menu {
    position: relative;
    z-index: 7060;
}

@media (min-width: 992px) {
    .oz-user-menu .oz-user-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: .5rem;
        max-width: 290px;
        min-height: 2.35rem;
        padding: .45rem .85rem !important;
        overflow: hidden;
        border: 1px solid var(--top-right-account-border, var(--brand-secondary, var(--brand-primary))) !important;
        border-radius: var(--radius-pill, 999px) !important;
        background: var(--top-right-account-bg, var(--background-card)) !important;
        box-shadow: var(--shadow-sm);
        font-weight: 500 !important;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-decoration: none !important;
    }

        .oz-user-menu .oz-user-menu-toggle,
        .oz-user-menu .oz-user-menu-toggle * {
            color: var(--top-right-account-text, var(--brand-secondary, var(--brand-primary))) !important;
            font-weight: 500 !important;
        }

            .oz-user-menu .oz-user-menu-toggle::before {
                content: "\f2bd";
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 1.1rem;
                min-width: 1.1rem;
                font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
                font-weight: 900;
                color: var(--top-right-account-icon, var(--brand-secondary, var(--brand-primary)));
                line-height: 1;
            }

            .oz-user-menu .oz-user-menu-toggle:hover,
            .oz-user-menu .oz-user-menu-toggle:focus {
                background: var(--top-right-account-hover-bg, var(--brand-primary-light)) !important;
                box-shadow: var(--shadow-md);
            }
}

.oz-user-menu .oz-user-menu-dropdown {
    z-index: 7060 !important;
    min-width: 15rem;
    margin-top: .55rem !important;
    padding: .55rem !important;
    border: 1px solid var(--top-right-dropdown-border, var(--color-border)) !important;
    border-radius: var(--radius-lg, 1rem) !important;
    background: var(--top-right-dropdown-bg, var(--background-card)) !important;
    box-shadow: var(--top-right-dropdown-shadow, var(--shadow-md)) !important;
}

.oz-user-menu .oz-user-menu-item {
    display: flex !important;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .65rem .75rem !important;
    border-radius: var(--radius-sm, .5rem) !important;
    background: transparent !important;
    color: var(--top-right-dropdown-text, var(--color-text)) !important;
    font-weight: 500 !important;
    line-height: 1.25;
    text-decoration: none !important;
    white-space: nowrap;
}

    .oz-user-menu .oz-user-menu-item *,
    .oz-user-menu .oz-user-menu-item span {
        color: inherit !important;
        font-weight: 500 !important;
    }

    .oz-user-menu .oz-user-menu-item:hover,
    .oz-user-menu .oz-user-menu-item:focus {
        background: var(--top-right-dropdown-hover-bg, var(--brand-primary-light)) !important;
        color: var(--top-right-dropdown-hover-text, var(--brand-primary)) !important;
    }

.oz-user-menu .oz-menu-icon {
    flex: 0 0 1rem;
    width: 1rem;
    color: var(--top-right-dropdown-icon, var(--color-text-muted)) !important;
    text-align: center;
}

/* Logout: explicit, high-specificity fallback for class, href, and common logout routes. */
.oz-user-menu .oz-user-menu-dropdown .oz-user-menu-logout,
.oz-user-menu .oz-user-menu-dropdown .oz-user-menu-logout *,
.oz-user-menu .oz-user-menu-dropdown a[href*="Logout"],
.oz-user-menu .oz-user-menu-dropdown a[href*="Logout"] *,
.oz-user-menu .oz-user-menu-dropdown a[href*="logout"],
.oz-user-menu .oz-user-menu-dropdown a[href*="logout"] *,
.oz-user-menu .oz-user-menu-dropdown a[href*="LogOff"],
.oz-user-menu .oz-user-menu-dropdown a[href*="LogOff"] *,
.oz-user-menu .oz-user-menu-dropdown a[href*="logoff"],
.oz-user-menu .oz-user-menu-dropdown a[href*="logoff"] * {
    color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
    font-weight: 500 !important;
}

    .oz-user-menu .oz-user-menu-dropdown .oz-user-menu-logout .oz-menu-icon,
    .oz-user-menu .oz-user-menu-dropdown a[href*="Logout"] .oz-menu-icon,
    .oz-user-menu .oz-user-menu-dropdown a[href*="logout"] .oz-menu-icon,
    .oz-user-menu .oz-user-menu-dropdown a[href*="LogOff"] .oz-menu-icon,
    .oz-user-menu .oz-user-menu-dropdown a[href*="logoff"] .oz-menu-icon {
        color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
    }

    .oz-user-menu .oz-user-menu-dropdown .oz-user-menu-logout:hover,
    .oz-user-menu .oz-user-menu-dropdown .oz-user-menu-logout:focus,
    .oz-user-menu .oz-user-menu-dropdown a[href*="Logout"]:hover,
    .oz-user-menu .oz-user-menu-dropdown a[href*="Logout"]:focus,
    .oz-user-menu .oz-user-menu-dropdown a[href*="logout"]:hover,
    .oz-user-menu .oz-user-menu-dropdown a[href*="logout"]:focus,
    .oz-user-menu .oz-user-menu-dropdown a[href*="LogOff"]:hover,
    .oz-user-menu .oz-user-menu-dropdown a[href*="LogOff"]:focus,
    .oz-user-menu .oz-user-menu-dropdown a[href*="logoff"]:hover,
    .oz-user-menu .oz-user-menu-dropdown a[href*="logoff"]:focus {
        background: var(--top-right-logout-hover-bg, rgba(220,53,69,.08)) !important;
        color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
    }

/* =========================================================
   TOP RIGHT USER MENU FINAL OVERRIDE
   Purpose:
   - The logged-in submenu is rendered inside the navy utility bar.
   - The utility bar has a global white text rule:
     .oz-site-header .oz-utility-bar a { color: #fff !important; }
   - These selectors are intentionally more specific and target only
     the decorated logged-in account submenu links.
========================================================= */

.oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item,
.oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item:link,
.oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item:visited,
.oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item,
.oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item {
    color: var(--top-right-dropdown-text, var(--color-text)) !important;
    font-weight: 500 !important;
}

    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item *,
    .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item *,
    .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item * {
        color: inherit !important;
        font-weight: 500 !important;
    }

    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item:hover,
    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item:focus,
    .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item:hover,
    .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item:focus,
    .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item:hover,
    .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item:focus {
        background: var(--top-right-dropdown-hover-bg, var(--brand-primary-light)) !important;
        color: var(--top-right-dropdown-hover-text, var(--brand-primary)) !important;
    }

    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item .oz-menu-icon,
    .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item .oz-menu-icon,
    .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item .oz-menu-icon {
        color: var(--top-right-dropdown-icon, var(--color-text-muted)) !important;
    }

    /* Logout must come after the normal item colour override. */
    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item.oz-user-menu-logout,
    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item.oz-user-menu-logout:link,
    .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item.oz-user-menu-logout:visited,
    .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item.oz-user-menu-logout,
    .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item.oz-user-menu-logout {
        color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
        font-weight: 500 !important;
    }

        .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item.oz-user-menu-logout *,
        .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item.oz-user-menu-logout *,
        .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item.oz-user-menu-logout * {
            color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
            font-weight: 500 !important;
        }

        .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item.oz-user-menu-logout:hover,
        .oz-site-header .oz-utility-bar .oz-user-menu a.oz-user-menu-item.oz-user-menu-logout:focus,
        .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item.oz-user-menu-logout:hover,
        .oz-site-header .oz-utility-bar .oz-user-menu button.oz-user-menu-item.oz-user-menu-logout:focus,
        .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item.oz-user-menu-logout:hover,
        .oz-site-header .oz-utility-bar .oz-user-menu .oz-user-menu-item.oz-user-menu-logout:focus {
            background: var(--top-right-logout-hover-bg, rgba(220,53,69,.08)) !important;
            color: var(--top-right-logout-text, var(--brand-danger, #dc3545)) !important;
        }


/* =========================================================
   PREMIUM TOP RIGHT MENU REFINEMENTS
========================================================= */

.oz-user-menu .oz-user-menu-toggle {
    font-size: .9rem !important;
    font-weight: 500 !important;
}

.oz-user-menu .oz-user-menu-item,
.oz-user-menu .oz-user-menu-item * {
    font-size: .92rem !important;
    font-weight: 400 !important;
}

.oz-site-header .oz-utility-bar {
    min-height: 46px;
}

/* =========================================================
   FINAL HERO SEARCH OVERRIDE
   Beats legacy .oz-hero-search-panel rules coming from the page.
   Keep this inside the partial so the search component owns its tabs.
========================================================= */

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
    background: var(--background-card, #fff) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-bottom: 0 !important;
    border-radius: var(--radius-lg, 1rem) var(--radius-lg, 1rem) 0 0 !important;
    box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.05)) !important;
}

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
    background: var(--background-card, #fff) !important;
    border: 0 !important;
    box-shadow: none !important;
}

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link {
        background: transparent !important;
        color: var(--color-text-muted, #64748b) !important;
        border: 0 !important;
        border-bottom: 3px solid transparent !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link * {
            color: inherit !important;
            text-shadow: none !important;
        }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active {
            background: var(--background-card, #fff) !important;
            color: var(--brand-primary, #052c65) !important;
            border: 0 !important;
            border-bottom: 3px solid var(--brand-secondary, var(--brand-primary, #052c65)) !important;
            text-shadow: none !important;
            box-shadow: none !important;
        }

            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active * {
                color: var(--brand-primary, #052c65) !important;
                text-shadow: none !important;
            }

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style {
    background: rgba(255,255,255,.97) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-radius: 0 0 var(--radius-lg, 1rem) var(--radius-lg, 1rem) !important;
    box-shadow: 0 1rem 2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
}


/* =========================================================
   FINAL SEARCH POLISH + BUTTON VISIBILITY FIX
   - Never let button styling override Bootstrap d-none.
   - Makes tabs a compact segmented control.
   - Tightens spacing and softens controls for a premium search card.
========================================================= */

.search-control-wrapper.oz-search-shell #btn-search-cruise.d-none,
.search-control-wrapper.oz-search-shell .oz-search-action-btn.d-none {
    display: none !important;
}

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
    padding: .7rem 1rem .15rem !important;
    background: rgba(255,255,255,.98) !important;
    border-radius: var(--radius-lg, 1rem) var(--radius-lg, 1rem) 0 0 !important;
    box-shadow: 0 .65rem 1.25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
}

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: .25rem !important;
    gap: .25rem !important;
    background: var(--background-muted, #f8fafc) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-radius: var(--radius-pill, 999px) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .03) !important;
}

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link {
        min-width: 10.5rem !important;
        min-height: 2.35rem !important;
        padding: .55rem 1.15rem !important;
        border: 0 !important;
        border-radius: var(--radius-pill, 999px) !important;
        background: transparent !important;
        color: var(--color-text-muted, #64748b) !important;
        font-size: .93rem !important;
        font-weight: 600 !important;
        text-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active {
            background: var(--background-card, #fff) !important;
            color: var(--brand-primary, #052c65) !important;
            border: 0 !important;
            box-shadow: 0 .25rem .75rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
            text-shadow: none !important;
        }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link:hover {
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .06) !important;
            color: var(--brand-primary, #052c65) !important;
        }

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style {
    padding: 1.1rem 1.25rem 1.2rem !important;
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.95)) !important;
    border-radius: 0 0 var(--radius-lg, 1rem) var(--radius-lg, 1rem) !important;
    box-shadow: 0 1rem 2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
}

.search-control-wrapper .search-filter-options .row {
    --bs-gutter-x: .9rem;
    --bs-gutter-y: .9rem;
}

.search-control-wrapper .oz-search-control-label {
    margin-bottom: .35rem !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
}

.search-control-wrapper .oz-search-label-icon {
    font-size: .84rem !important;
}

.search-control-wrapper .oz-search-panel .form-select,
.search-control-wrapper .oz-search-panel .form-control,
.search-control-wrapper .oz-search-panel select.form-select,
.search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single {
    min-height: 2.45rem !important;
    height: 2.45rem !important;
    border-radius: .65rem !important;
    border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
}

    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 2.35rem !important;
        font-size: .9rem !important;
    }

    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 2.35rem !important;
    }

.search-control-wrapper .oz-search-action-btn {
    min-height: 2.45rem !important;
    height: 2.45rem !important;
    border-radius: .65rem !important;
    font-size: .92rem !important;
    font-weight: 750 !important;
}

    .search-control-wrapper .oz-search-action-btn.btn-outline-secondary,
    .search-control-wrapper #btn-search-reset {
        background: rgba(255,255,255,.92) !important;
        border-color: var(--brand-primary, #052c65) !important;
        color: var(--brand-primary, #052c65) !important;
    }

@media (max-width: 767.98px) {
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        border-radius: var(--radius-md, .75rem) !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link {
            width: 100% !important;
            min-width: 0 !important;
        }
}

/* =========================================================
   MODERN FILTER SIDEBAR
   Scoped to SideBar.B5.cshtml.
   Theme-driven card accordion filter styling.
========================================================= */

#sidebar,
#sidebar.sidebar-offcanvas,
#sidebar.oz-layout-sidebar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

    #sidebar::before,
    #sidebar::after {
        display: none !important;
        content: none !important;
    }

    .oz-modern-sidebar,
    #sidebar .oz-modern-sidebar,
    #sidebar .oz-sidebar {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        color: var(--color-text);
    }

/* Sidebar component visual/card/tree styling moved to:
   /css/views/layout/sidebar.b5.css
   Keep only the outer #sidebar reset here because the layout column also uses #sidebar. */

/* =========================================================
       FINAL MOBILE SEARCH DRAWER POLISH
       Mobile-only refinement. Desktop styles are intentionally untouched.
    ========================================================= */

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell {
        margin-bottom: 1.1rem !important;
    }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle {
            position: relative;
            width: 100%;
            min-height: 4.35rem;
            margin: .55rem 0 .85rem !important;
            padding: .8rem 1rem !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: .85rem;
            border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
            border-radius: var(--radius-lg, 1.25rem) !important;
            background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)) !important;
            color: var(--brand-primary, #052c65) !important;
            box-shadow: 0 .65rem 1.45rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
            text-align: left;
        }

            .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle:hover,
            .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle:focus {
                background: var(--background-card, #fff) !important;
                border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .24) !important;
                color: var(--brand-primary, #052c65) !important;
                box-shadow: 0 .8rem 1.65rem rgba(var(--brand-primary-rgb, 5, 44, 101), .16) !important;
                outline: 0 !important;
            }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-copy {
            display: grid !important;
            gap: .25rem !important;
            min-width: 0;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-title {
            display: inline-flex !important;
            align-items: center !important;
            gap: .65rem !important;
            color: var(--brand-primary, #052c65) !important;
            font-family: var(--font-heading);
            font-size: 1.02rem;
            font-weight: 800;
            line-height: 1.15;
        }

            .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-title i {
                width: 1.25rem;
                min-width: 1.25rem;
                color: var(--brand-primary, #052c65) !important;
                font-size: 1rem;
                text-align: center;
            }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-summary {
            display: block;
            padding-left: 1.9rem;
            color: var(--color-text-muted, #64748b) !important;
            font-size: .82rem;
            font-weight: 500;
            line-height: 1.25;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle .toggle-icon {
            width: 1.25rem;
            min-width: 1.25rem;
            color: var(--brand-primary, #052c65) !important;
            font-size: .95rem;
            text-align: center;
            transition: transform .22s ease;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle[aria-expanded="true"] .toggle-icon {
            transform: rotate(180deg);
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters {
            margin-top: .35rem;
        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters.collapse:not(.show) {
                display: none;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters.show,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters.collapsing {
                display: block;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters > .oz-search-tabs-wrapper {
                margin: 0 !important;
                padding: .6rem .6rem 0 !important;
                overflow: visible !important;
                border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
                border-bottom: 0 !important;
                border-radius: var(--radius-lg, 1.25rem) var(--radius-lg, 1.25rem) 0 0 !important;
                background: var(--background-card, #fff) !important;
                box-shadow: 0 .55rem 1.25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                width: 100% !important;
                min-width: 0 !important;
                gap: .25rem !important;
                margin: 0 !important;
                padding: .2rem !important;
                border: 1px solid var(--color-border, #dee2e6) !important;
                border-radius: var(--radius-lg, 1.25rem) !important;
                background: var(--background-muted, #f8fafc) !important;
                box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .03) !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-item,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-item {
                    width: 100% !important;
                    min-width: 0 !important;
                    margin: 0 !important;
                }

                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a,
                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a,
                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link,
                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link {
                        width: 100% !important;
                        min-width: 0 !important;
                        min-height: 2.45rem !important;
                        padding: .58rem .55rem !important;
                        border: 0 !important;
                        border-radius: var(--radius-lg, 1.25rem) !important;
                        background: transparent !important;
                        color: var(--color-text-muted, #64748b) !important;
                        font-size: .88rem !important;
                        font-weight: 650 !important;
                        line-height: 1.15 !important;
                        text-shadow: none !important;
                        box-shadow: none !important;
                        white-space: normal !important;
                    }

                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li.active > a,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li.active > a,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a.active,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a.active,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link.active,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link.active {
                            background: var(--background-card, #fff) !important;
                            color: var(--brand-primary, #052c65) !important;
                            box-shadow: 0 .25rem .7rem rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
                        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-panel,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-tab-content-container-style {
                margin: 0 !important;
                padding: .35rem 0 0 !important;
                border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
                border-top: 0 !important;
                border-radius: 0 0 var(--radius-lg, 1.25rem) var(--radius-lg, 1.25rem) !important;
                background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.96)) !important;
                box-shadow: 0 .85rem 1.75rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
                overflow: hidden;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options {
                padding: 0 !important;
                background: transparent !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row {
                    display: block !important;
                    margin: 0 !important;
                    --bs-gutter-x: 0;
                    --bs-gutter-y: 0;
                }

                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > [class*="col-"] {
                        display: grid !important;
                        grid-template-columns: minmax(0, 1fr) minmax(8.25rem, 44%) !important;
                        align-items: center !important;
                        gap: .75rem !important;
                        width: 100% !important;
                        max-width: 100% !important;
                        padding: .78rem .95rem !important;
                        border-bottom: 1px solid var(--color-border, #dee2e6) !important;
                    }

                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > [class*="col-"]:last-child {
                            border-bottom: 0 !important;
                        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
                min-width: 0;
                margin: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                gap: .55rem !important;
                color: var(--color-text, #0f172a) !important;
                font-size: .84rem !important;
                font-weight: 800 !important;
                line-height: 1.2 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-label-icon {
                width: 1.15rem;
                min-width: 1.15rem;
                color: var(--brand-primary, #052c65) !important;
                font-size: .9rem;
                text-align: center;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label span {
                color: inherit !important;
                overflow-wrap: anywhere;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-control,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters select.form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single {
                width: 100% !important;
                min-width: 0 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-control,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters select.form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single {
                height: 2.45rem !important;
                min-height: 2.45rem !important;
                border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
                border-radius: var(--radius-sm, .5rem) !important;
                background-color: var(--background-card, #fff) !important;
                color: var(--color-text, #0f172a) !important;
                box-shadow: none !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__rendered {
                    line-height: 2.35rem !important;
                    padding-left: .75rem !important;
                    padding-right: 1.85rem !important;
                    color: var(--color-text-muted, #64748b) !important;
                    font-size: .9rem !important;
                }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__arrow {
                    height: 2.35rem !important;
                    right: .35rem !important;
                }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col {
                display: block !important;
                padding: .95rem !important;
                border-bottom: 0 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions {
                width: 100%;
                display: grid !important;
                gap: .55rem !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-action-btn {
                width: 100% !important;
                min-height: 2.75rem !important;
                height: 2.75rem !important;
                border-radius: var(--radius-md, .75rem) !important;
                font-size: .95rem !important;
                font-weight: 800 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-reset,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-secondary-action {
                background: linear-gradient(180deg, var(--background-card, #fff), var(--background-muted, #f8fafc)) !important;
                border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .35) !important;
                color: var(--brand-primary, #052c65) !important;
                box-shadow: 0 .25rem .65rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
            }
}

@media (max-width: 359.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > [class*="col-"] {
        grid-template-columns: 1fr !important;
        gap: .45rem !important;
    }

    .search-control-wrapper.oz-search-shell .oz-mobile-search-summary {
        white-space: normal;
    }
}

/* =========================================================
   HERO IMAGE FOCAL POSITION REFINEMENT
   Fallback component rules. Layout inline CSS remains the final
   owner of hero/search overlay positioning.
========================================================= */

#heroImage-container {
    overflow: hidden;
    background: var(--background-muted, #f8fafc);
}

#hero-image,
.oz-hero-image {
    object-fit: cover;
    object-position: var(--hero-image-position, left center);
}

.oz-hero-search-wrapper #hero-image,
.oz-hero-search-wrapper .oz-hero-image {
    min-height: var(--hero-image-min-height-desktop, 330px);
}

@media (min-width: 1400px) {
    .oz-hero-search-wrapper #hero-image,
    .oz-hero-search-wrapper .oz-hero-image {
        min-height: var(--hero-image-min-height-wide, 360px);
    }
}

@media (max-width: 1199.98px) {
    .oz-hero-search-wrapper #hero-image,
    .oz-hero-search-wrapper .oz-hero-image {
        min-height: var(--hero-image-min-height-tablet, 260px);
        object-position: var(--hero-image-position-tablet, var(--hero-image-position, left center));
    }
}

@media (max-width: 767.98px) {
    .oz-hero-search-wrapper #hero-image,
    .oz-hero-search-wrapper .oz-hero-image,
    .oz-hero-image {
        min-height: var(--hero-image-min-height-mobile, 220px);
        object-position: var(--hero-image-position-mobile, var(--hero-image-position, left center));
    }
}

/* =========================================================
   HERO IMAGE MOBILE HIDE REFINEMENT
   Mobile UX: hide decorative hero image on search/result pages
   so users reach search and cruise results faster.
========================================================= */

@media (max-width: 767.98px) {
    .oz-hero-search-wrapper #heroImage-container {
        display: none !important;
    }

    .oz-hero-search-wrapper {
        overflow: visible !important;
    }

        .oz-hero-search-wrapper .oz-hero-search-panel {
            position: relative !important;
            left: auto !important;
            top: auto !important;
            width: 100% !important;
            transform: none !important;
            margin-top: 0 !important;
        }
}

/* Cruise detail booking loader styling moved to:
   /css/views/cruises/cruise-detail.b5.css */

/* =========================================================
   PROCESS / FARE TYPE JQUERY UI DIALOG STACKING FIX
   Keeps Bootstrap 5 process-page dialogs above the modal veil.
   Scoped to known process/fare dialogs only so payment overlay fixes remain intact.
========================================================= */

.ui-dialog[aria-describedby="idProceedWithPriceConfirmDialog"],
.ui-dialog[aria-describedby="idSoldOutDialog"],
.ui-dialog[aria-describedby="idCovid19InformationDialog"],
.ui-dialog[aria-describedby="idPastGuestInformationDialog"] {
    z-index: 2147482000 !important;
    pointer-events: auto !important;
}

    .ui-dialog[aria-describedby="idProceedWithPriceConfirmDialog"] .ui-dialog-content,
    .ui-dialog[aria-describedby="idSoldOutDialog"] .ui-dialog-content,
    .ui-dialog[aria-describedby="idCovid19InformationDialog"] .ui-dialog-content,
    .ui-dialog[aria-describedby="idPastGuestInformationDialog"] .ui-dialog-content,
    .ui-dialog[aria-describedby="idProceedWithPriceConfirmDialog"] .ui-dialog-buttonpane,
    .ui-dialog[aria-describedby="idSoldOutDialog"] .ui-dialog-buttonpane,
    .ui-dialog[aria-describedby="idCovid19InformationDialog"] .ui-dialog-buttonpane,
    .ui-dialog[aria-describedby="idPastGuestInformationDialog"] .ui-dialog-buttonpane {
        pointer-events: auto !important;
    }

body:has(.ui-dialog[aria-describedby="idProceedWithPriceConfirmDialog"]) > .ui-widget-overlay,
body:has(.ui-dialog[aria-describedby="idSoldOutDialog"]) > .ui-widget-overlay,
body:has(.ui-dialog[aria-describedby="idCovid19InformationDialog"]) > .ui-widget-overlay,
body:has(.ui-dialog[aria-describedby="idPastGuestInformationDialog"]) > .ui-widget-overlay {
    z-index: 2147481000 !important;
    pointer-events: auto !important;
}


/* B5 loading-action compatibility.
   Keep B5 markup on .oz-b5-loading-action only, but allow existing B5 CSS button
   styling that targeted legacy spinner action classes to also apply to the new class. */
.oz-b5-loading-action {
    cursor: pointer;
}

/* =========================================================
   BOOTSTRAP 5 GLOBAL LOADING OVERLAY
   B5-only replacement for legacy spin.js / ABP page busy UI.
========================================================= */

.oz-b5-loading-action {
    cursor: pointer;
}

.oz-b5-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 8090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: radial-gradient(circle at 50% 38%, rgba(var(--brand-primary-rgb, 5, 44, 101), .08), transparent 34rem), rgba(248, 250, 252, .78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .20s ease;
}

    .oz-b5-loading-overlay[hidden] {
        display: none !important;
    }

    .oz-b5-loading-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

.oz-b5-loading-card {
    width: min(92vw, 23rem);
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .14);
    border-radius: var(--radius-lg, 1.25rem);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1.25rem 3rem rgba(var(--brand-primary-rgb, 5, 44, 101), .22);
    text-align: center;
    transform: translateY(.35rem) scale(.985);
    transition: transform .20s ease;
}

.oz-b5-loading-overlay.is-visible .oz-b5-loading-card {
    transform: translateY(0) scale(1);
}

.oz-b5-loading-spinner {
    position: relative;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
}

    .oz-b5-loading-spinner::before {
        content: "";
        position: absolute;
        inset: 0;
        display: block;
        border: .28rem solid rgba(var(--brand-primary-rgb, 5, 44, 101), .13);
        border-top-color: var(--brand-primary, #052c65);
        border-radius: 50%;
        animation-name: ozB5LoaderSpin !important;
        animation-duration: .85s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }

    .oz-b5-loading-spinner::after {
        content: "";
        position: absolute;
        inset: .75rem;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--brand-primary-light, #dce8ff), #fff);
        box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .08);
    }

    .oz-b5-loading-spinner span {
        position: absolute;
        left: 50%;
        bottom: -.1rem;
        z-index: 1;
        width: .38rem;
        height: .38rem;
        border-radius: 999px;
        background: var(--brand-primary, #052c65);
        opacity: .28;
        animation-name: ozB5LoaderDot !important;
        animation-duration: 1.05s !important;
        animation-timing-function: ease-in-out !important;
        animation-iteration-count: infinite !important;
    }

        .oz-b5-loading-spinner span:nth-child(1) {
            margin-left: -.95rem;
        }

        .oz-b5-loading-spinner span:nth-child(2) {
            margin-left: -.19rem;
            animation-delay: .12s !important;
        }

        .oz-b5-loading-spinner span:nth-child(3) {
            margin-left: .57rem;
            animation-delay: .24s !important;
        }

.oz-b5-loading-title {
    color: var(--color-text, #212529);
    font-family: var(--font-heading, inherit);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.2;
}

.oz-b5-loading-message {
    margin-top: .35rem;
    color: var(--color-text-muted, #6c757d);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.35;
}

html.oz-b5-loading-active,
body.oz-b5-loading-active {
    cursor: progress;
}

@keyframes ozB5LoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ozB5LoaderDot {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: .28;
    }

    40% {
        transform: translateY(-.32rem);
        opacity: .86;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oz-b5-loading-overlay,
    .oz-b5-loading-card {
        transition: none !important;
    }
}

@media (max-width: 575.98px) {
    .oz-b5-loading-card {
        width: min(92vw, 20rem);
        padding: 1.15rem 1rem;
    }

    .oz-b5-loading-spinner {
        width: 3.45rem;
        height: 3.45rem;
    }
}

/* Bootstrap 5 local panel loading overlay.
   Use for AJAX refreshes inside a section instead of blocking the whole page. */
.oz-b5-local-loading-active {
    min-height: 4rem;
}

.oz-b5-local-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: inherit;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: auto;
    transition: opacity .16s ease;
}

    .oz-b5-local-loading-overlay.is-visible {
        opacity: 1;
    }

.oz-b5-local-loading-card {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.75rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12);
    border-radius: var(--radius-lg, .75rem);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 .75rem 1.75rem rgba(var(--brand-primary-rgb, 5, 44, 101), .16);
    color: var(--color-text, #212529);
    font-weight: 700;
}

    .oz-b5-local-loading-card .spinner-border {
        width: 1.35rem;
        height: 1.35rem;
        border-width: .18rem;
        flex: 0 0 auto;
    }

.oz-b5-local-loading-message {
    font-size: .92rem;
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    .oz-b5-local-loading-overlay {
        transition: none !important;
    }
}

/* Minimal B5 loader polish.
   Safe visual-only layer: does not modify spinner keyframes or JS timing. */
.oz-b5-loading-card {
    position: relative;
    overflow: hidden;
}

    .oz-b5-loading-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: .22rem;
        background: linear-gradient(90deg, rgba(var(--brand-primary-rgb, 5, 44, 101), .16), var(--brand-primary, #052c65), rgba(var(--brand-primary-rgb, 5, 44, 101), .16));
    }

.oz-b5-loading-overlay.is-visible .oz-b5-loading-card {
    transform: translateY(0) scale(1);
}

.oz-b5-loading-message {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
}

.oz-b5-local-loading-card {
    transform: translateY(.15rem);
    transition: transform .18s ease;
}

.oz-b5-local-loading-overlay.is-visible .oz-b5-local-loading-card {
    transform: translateY(0);
}


/* =========================================================
   SAFE LOADER POLISH V2
   - CSS only
   - does NOT modify spinner animation engine
   - does NOT modify validation logic
========================================================= */

.oz-b5-loading-overlay {
    background: radial-gradient(circle at top, rgba(var(--brand-primary-rgb, 5, 44, 101), .08), transparent 38%), rgba(248, 250, 252, .78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.oz-b5-loading-card {
    border-radius: 1.2rem;
    border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .10);
    box-shadow: 0 1.25rem 2.5rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14), 0 .35rem .8rem rgba(15, 23, 42, .06);
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.oz-b5-loading-overlay.is-visible .oz-b5-loading-card {
    transform: translateY(0) scale(1);
}

.oz-b5-loading-title {
    letter-spacing: -.01em;
}

.oz-b5-loading-message {
    opacity: .92;
}

.oz-b5-local-loading-overlay {
    background: rgba(255, 255, 255, .68);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.oz-b5-local-loading-card {
    border-radius: .9rem;
    box-shadow: 0 .8rem 1.6rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12);
}

/* =========================================================
   B5 CRUISE CARD INLINE LOADER
========================================================= */

.oz-cruise-card-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3.25rem;
    margin: 1rem auto 1.25rem;
    padding: .8rem 1.15rem;
    border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12);
    border-radius: var(--radius-lg, 1.25rem);
    background: rgba(255, 255, 255, .96);
    color: var(--color-text, #212529);
    box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.05));
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.25;
}

    .oz-cruise-card-loader .spinner-border {
        width: 1.25rem;
        height: 1.25rem;
        border-width: .16rem;
        flex: 0 0 auto;
    }

.oz-cruise-card-loader-text {
    display: inline-block;
    color: var(--color-text-muted, #6c757d);
    white-space: nowrap;
}

.oz-cruise-card-loader--initial {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.oz-cruise-card-loader--more {
    margin-top: 1.25rem;
}

@media (max-width: 575.98px) {
    .oz-cruise-card-loader {
        width: min(100%, 20rem);
        min-height: 3rem;
        padding: .75rem 1rem;
        font-size: .9rem;
    }
}


/* =========================================================
   B5 MOBILE-FIRST TYPOGRAPHY REFINEMENT
   Uses rem + clamp() design tokens.
   Goal: improve mobile readability while keeping desktop clean/professional.
========================================================= */

:root {
    --oz-font-xs: clamp(0.8125rem, 0.78rem + 0.12vw, 0.875rem);
    --oz-font-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
    --oz-font-md: clamp(0.95rem, 0.91rem + 0.22vw, 1rem);
    --oz-font-base: clamp(1rem, 0.98rem + 0.15vw, 1.05rem);
    --oz-font-lg: clamp(1.08rem, 1.02rem + 0.35vw, 1.2rem);
    --oz-font-xl: clamp(1.2rem, 1.08rem + 0.65vw, 1.45rem);
    --oz-font-price: clamp(1.55rem, 1.35rem + 0.85vw, 1.95rem);
    --oz-line-tight: 1.2;
    --oz-line-normal: 1.45;
    --oz-line-relaxed: 1.55;
}

body {
    font-size: var(--oz-font-base);
    line-height: var(--oz-line-normal);
}

/* Preserve a professional desktop rhythm. */
@media (min-width: 1200px) {
    body {
        font-size: 1rem;
    }
}

.card,
.portlet,
.booking-shell,
.booking-page,
.booking-process-page,
.booking-confirmation-page,
.booking-status-page,
.mybooking-page,
.contact-content-body,
.faq-content,
.cruise-detail-summary,
.cruise-detail-heading,
.cruise-overview-panel {
    line-height: var(--oz-line-normal);
}

    .card-body,
    .portlet-body,
    .booking-card-body,
    .booking-panel-body,
    .cruise-tab-content,
    .mybooking-page .card-body {
        font-size: var(--oz-font-md);
    }

h1,
.h1 {
    font-size: clamp(1.55rem, 1.28rem + 1.25vw, 2.25rem);
    line-height: var(--oz-line-tight);
}

h2,
.h2 {
    font-size: clamp(1.35rem, 1.16rem + 0.9vw, 1.85rem);
    line-height: var(--oz-line-tight);
}

h3,
.h3 {
    font-size: clamp(1.18rem, 1.06rem + 0.55vw, 1.5rem);
    line-height: 1.25;
}

h4,
.h4,
.card-header h4,
.card-header .h4 {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
    line-height: 1.3;
}

.btn,
.form-control,
.form-select,
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    font-size: var(--oz-font-md);
}

@media (max-width: 767.98px) {
    .btn,
    .form-control,
    .form-select {
        min-height: 2.75rem;
    }
}

.oz-cruise-list .cruise-result-title {
    font-size: clamp(1.12rem, 1.02rem + 0.55vw, 1.35rem);
    line-height: 1.25;
}

.oz-cruise-list .cruise-meta-list {
    font-size: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
    line-height: 1.35;
}

.oz-cruise-list .cruise-benefits,
.oz-cruise-list .cruise-announcement {
    font-size: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
    line-height: 1.35;
}

.oz-cruise-list .cruise-night-badge,
.oz-cruise-list .cruise-duration-badge,
.oz-cruise-list .badge {
    font-size: clamp(0.78rem, 0.74rem + 0.12vw, 0.82rem);
    line-height: 1.05;
}

.oz-cruise-list .price-prefix,
.oz-cruise-list .price-suffix,
.oz-cruise-list .quad-price {
    font-size: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
    line-height: 1.3;
}

.oz-cruise-list .price-main {
    font-size: var(--oz-font-price);
}

.oz-cruise-list .view-cruise-detail {
    font-size: var(--oz-font-md);
    min-height: 2.55rem;
}

@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-result-title {
        margin-top: .7rem;
        margin-bottom: .75rem;
    }

    .oz-cruise-list .cruise-meta-list {
        gap: .45rem;
    }

    .oz-cruise-list .cruise-benefits {
        gap: .5rem .75rem;
    }

    .oz-cruise-list .view-cruise-detail {
        min-height: 2.8rem;
    }
}

.cruise-tabs-scroll .nav-link,
.oz-page-horizontal-menu .cruise-tabs-scroll .nav-link,
.oz-tabbable-line .nav-tabs .nav-link {
    font-size: var(--oz-font-sm);
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .cruise-tabs-scroll .nav-link,
    .oz-page-horizontal-menu .cruise-tabs-scroll .nav-link {
        font-size: clamp(0.92rem, 0.88rem + 0.18vw, 1rem);
        line-height: 1.25;
        min-height: 2.85rem;
    }
}

.search-control-wrapper .mobile-search-toggle,
.oz-mobile-search-proxy .oz-mobile-search-toggle-title {
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
    line-height: 1.2;
}

.oz-mobile-search-proxy .oz-mobile-search-summary {
    font-size: clamp(0.84rem, 0.8rem + 0.14vw, 0.9rem);
    line-height: 1.25;
}

.booking-process-page #idFrmBooking,
.booking-process-page #idFrmBooking table,
.booking-process-page #idFrmBooking td,
.booking-process-page #idFrmBooking th,
.booking-process-page #idFrmBooking label,
.booking-process-page #idFrmBooking .form-check-label {
    font-size: var(--oz-font-md);
    line-height: var(--oz-line-normal);
}

    .booking-process-page #idFrmBooking .booking-passenger-table > tbody > tr:not(.alert-row) > td[data-mobile-label]::before,
    .booking-process-page #idFrmBooking .booking-mobile-row-label,
    .booking-process-page #idFrmBooking .booking-cabin-field-label,
    .booking-process-page #idFrmBooking .booking-address-field label {
        font-size: var(--oz-font-sm);
        line-height: 1.25;
    }

@media (max-width: 767.98px) {
    .booking-process-page #idFrmBooking .booking-passenger-table > tbody > tr:not(.alert-row) > td.booking-passenger-card-title,
    .booking-process-page #idFrmBooking .booking-mobile-row-label,
    .booking-process-page #idFrmBooking .booking-cabin-field-label {
        font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.02rem);
    }
}

.mybooking-text-sm,
.payment-amount-field .field-validation-error,
.payment-amount-field .payment-validation-message,
#payment-disable-area .field-validation-error,
.mybooking-page .field-validation-error {
    font-size: var(--oz-font-sm);
    line-height: var(--oz-line-normal);
}

.my-bookings-page .booking-number-pill {
    font-size: var(--oz-font-sm);
}

.my-bookings-page .booking-manage-btn,
.my-bookings-page a[id^="btnManage-"] {
    font-size: var(--oz-font-md);
}

@media (max-width: 767.98px) {
    .oz-cruise-list,
    .booking-shell,
    .booking-process-page,
    .booking-confirmation-page,
    .booking-status-page,
    .mybooking-page,
    .cruise-detail-tabs,
    .cruise-overview-panel {
        font-size: 1rem;
    }

        .oz-cruise-list small,
        .booking-shell small,
        .mybooking-page small {
            font-size: var(--oz-font-sm);
        }
}


/* =========================================================
   B5 NO-HERO SEARCH LAYOUT
   Removes dependency on the hero image while preserving the existing
   search component, sticky mobile proxy, and responsive behaviour.
========================================================= */

.oz-hero-search-wrapper--no-image {
    position: relative;
    min-height: 0 !important;
    margin: 0;
    padding: clamp(.75rem, 1vw, 1.25rem) 0 0;
    background: var(--background-body, #f5f6f8);
}

    .oz-hero-search-wrapper--no-image #heroImage-container,
    .oz-hero-search-wrapper--no-image #hero-image,
    .oz-hero-search-wrapper--no-image .oz-hero-image,
    .oz-hero-search-wrapper--no-image .side-side-background,
    .oz-hero-search-wrapper--no-image .img-responsive-wrapper {
        display: none !important;
    }

    .oz-hero-search-wrapper--no-image .oz-hero-search-panel {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        z-index: auto;
    }

    /* Keep the search card professional without needing image contrast. */
    .oz-hero-search-wrapper--no-image .search-control-wrapper.oz-search-shell,
    .oz-hero-search-wrapper--no-image .oz-search-shell {
        margin-top: 0;
    }

/* Desktop/tablet: compact top section similar to the supplied screenshot. */
@media (min-width: 992px) {
    .oz-hero-search-wrapper--no-image {
        padding-top: .9rem;
    }

        .oz-hero-search-wrapper--no-image .oz-hero-search-panel {
            padding-inline: 0;
        }
}

/* Mobile: preserve existing mobile search behaviour and avoid creating a hero gap. */
@media (max-width: 991.98px) {
    .oz-hero-search-wrapper--no-image {
        padding-top: .5rem;
    }

        .oz-hero-search-wrapper--no-image .oz-hero-search-panel {
            width: 100%;
        }
}


/* =========================================================
   B5 PROMO + PAGE HEADER ORDER
   Promo banner is conditional. It must not reserve vertical space when empty/hidden.
   Final order: promo banner, page header, search filters, tabs/body.
========================================================= */

.oz-promotion-wrapper {
    display: block;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

    .oz-promotion-wrapper.oz-promotion-wrapper--active {
        height: auto;
        margin-bottom: 1rem !important;
        overflow: visible;
        opacity: 1;
        pointer-events: auto;
    }

.oz-page-header-row {
    margin-bottom: .65rem;
}

    .oz-page-header-row + .oz-content-shell .oz-hero-search-wrapper--no-image {
        padding-top: 0;
    }

@media (max-width: 991.98px) {
    .oz-promotion-wrapper.oz-promotion-wrapper--active {
        margin-bottom: .75rem !important;
    }

    .oz-page-header-row {
        margin-bottom: .55rem;
    }
}

@media (max-width: 575.98px) {
    .oz-page-header-row {
        margin-bottom: .45rem;
    }
}

/* =========================================================
   CRUISE SEARCH EMPTY STATE
   Theme-driven no-results component for shell and non-shell search.
========================================================= */

.oz-empty-state {
    --empty-state-primary: var(--brand-primary);
    --empty-state-primary-dark: var(--brand-primary-dark);
    --empty-state-primary-light: var(--brand-primary-light);
    --empty-state-surface: var(--background-card);
    --empty-state-muted-surface: var(--background-muted);
    --empty-state-border: var(--color-border);
    --empty-state-text: var(--color-text);
    --empty-state-muted-text: var(--color-text-muted);
    display: flex;
    min-height: 420px;
    margin: 1.25rem 0 2rem;
    padding: clamp(2rem, 5vw, 4.5rem) 1rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: var(--empty-state-text);
    background: radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--empty-state-primary-light) 42%, transparent) 0, transparent 34%), linear-gradient(180deg, color-mix(in srgb, var(--empty-state-primary-light) 18%, transparent), transparent 52%);
    border: 1px solid color-mix(in srgb, var(--empty-state-border) 70%, transparent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.oz-empty-state-illustration {
    width: clamp(9rem, 22vw, 14rem);
    height: auto;
    margin-bottom: 1.25rem;
    color: var(--empty-state-primary);
}

.oz-empty-state-ship {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.oz-empty-state-ship-bg {
    fill: color-mix(in srgb, var(--empty-state-primary-light) 62%, var(--empty-state-surface));
}

.oz-empty-state-ship-line,
.oz-empty-state-window,
.oz-empty-state-wave {
    fill: none;
    stroke: var(--empty-state-primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oz-empty-state-window {
    stroke-width: 5;
}

.oz-empty-state-cloud,
.oz-empty-state-wave--muted {
    fill: none;
    stroke: color-mix(in srgb, var(--empty-state-primary) 36%, var(--empty-state-surface));
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oz-empty-state-wave--muted {
    stroke-width: 4;
    opacity: .72;
}

.oz-empty-state-title {
    max-width: 48rem;
    margin: 0 0 .65rem;
    color: var(--empty-state-text);
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    font-weight: 850;
    line-height: 1.2;
}

.oz-empty-state-text {
    max-width: 42rem;
    margin: 0;
    color: var(--empty-state-muted-text);
    font-size: clamp(.98rem, 1.6vw, 1.1rem);
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .oz-empty-state {
        min-height: 340px;
        margin: .75rem 0 1.25rem;
        padding: 2rem 1rem;
        border-radius: var(--radius-md);
    }

    .oz-empty-state-illustration {
        width: 8.75rem;
        margin-bottom: 1rem;
    }
}

/* Cruise detail other departures card-list styling moved to:
   /css/views/cruises/cruise-detail.b5.css */

/* =========================================================
   MOBILE SEARCH FILTER LAYOUT
   Mobile-only grouping for core filters and optional filters.
   Theme-safe: inherits colours, radii, shadows, and typography from CSS variables.
========================================================= */

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .45rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: .75rem .95rem !important;
        border-bottom: 0 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-filter-more,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-filter-more {
        display: none !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .search-filter-options .row > .oz-mobile-filter-more,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .search-filter-options .row > .oz-mobile-filter-more {
        display: flex !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: .65rem .95rem .85rem !important;
        border-bottom: 1px solid var(--color-border) !important;
    }


    /* Safety rebuild styling for Select2 controls that were hidden until More Filters expanded. */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container {
        width: 100% !important;
        display: block !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection--single,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection--single {
            display: flex !important;
            align-items: center !important;
            width: 100% !important;
            min-height: 2.45rem !important;
            border: 1px solid var(--color-border) !important;
            border-radius: var(--radius-md) !important;
            background-color: var(--background-card) !important;
            box-shadow: none !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection__rendered,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection__rendered {
            display: flex !important;
            align-items: center !important;
            width: 100% !important;
            padding-left: .75rem !important;
            padding-right: 2rem !important;
            line-height: 1.2 !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection__arrow,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection__arrow {
            display: block !important;
            height: 100% !important;
            right: .65rem !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: .35rem !important;
        width: auto !important;
        min-height: 2.25rem !important;
        padding: 0 !important;
        color: var(--brand-primary) !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle:hover,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle:focus,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle:focus {
            color: var(--brand-primary-dark) !important;
            text-decoration: none !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col {
        order: 60;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col {
        order: 70;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: .95rem !important;
        border-bottom: 0 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-depart-country,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-depart-country {
        order: 5;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-depart-city,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-depart-city {
        order: 10;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-departure-month,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-departure-month {
        order: 20;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-brand,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-brand {
        order: 30;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-ship,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-ship {
        order: 40;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-arrive-country,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-arrive-country {
        order: 50;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-arrive-city,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-arrive-city {
        order: 60;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-destination-city,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-destination-city {
        order: 70;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-total-nights,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-filter-total-nights {
        order: 80;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
        display: inline-flex !important;
        width: 100% !important;
        margin: 0 !important;
        align-items: center !important;
        gap: .45rem !important;
        color: var(--color-text) !important;
        font-size: .78rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .form-select,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .select2-container,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .form-select,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .select2-container {
            margin-top: .15rem !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field select.form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field select.form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single {
        min-height: 3rem !important;
        border-color: var(--color-border) !important;
        border-radius: var(--radius-md) !important;
        background: var(--background-card) !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__rendered,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 2.9rem !important;
            padding-left: .85rem !important;
            padding-right: 2.25rem !important;
            color: var(--color-text) !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__arrow,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 2.9rem !important;
            right: .55rem !important;
        }
}

/* =========================================================
   MOBILE MODIFY SEARCH PROXY STACKING FIX
   Baseline-preserving fix: only raises the floating proxy above result media.
   Does not touch the real search form, filter grouping, More/Less Filters,
   or dropdown layout.
========================================================= */

@media (max-width: 991.98px) {
    .oz-mobile-search-proxy,
    body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
        z-index: 2140 !important;
        transform: translateZ(0);
    }
}

/* =========================================================
   SEARCH PARTIAL EXTERNALISED STYLES
   Moved from _Search.B5.cshtml inline <style> blocks.
========================================================= */

/* =========================================================
       Search partial component styling
       Keep this scoped to this partial. Existing IDs/classes are preserved.
    ========================================================= */

.search-control-wrapper.oz-search-shell {
    background: transparent !important;
    border: 0 !important;
}

    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
        margin-bottom: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--color-border, #dee2e6) !important;
        border-bottom: 0 !important;
        border-radius: var(--radius-lg, 1rem) var(--radius-lg, 1rem) 0 0 !important;
        background: var(--background-card, #fff) !important;
        box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.05)) !important;
    }

    .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs,
    .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: .5rem !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: .65rem 1rem 0 !important;
        border: 0 !important;
        background: var(--background-card, #fff) !important;
        white-space: nowrap !important;
    }

        .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li,
        .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li,
        .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-item,
        .search-control-wrapper.oz-search-shell .search-control-tabs .nav-item {
            float: none !important;
            width: auto !important;
            min-width: 0 !important;
            flex: 0 0 auto !important;
            margin: 0 !important;
            padding: 0 !important;
            background: transparent !important;
            border: 0 !important;
        }

            .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
            .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
            .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link,
            .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: .5rem !important;
                min-height: 2.85rem !important;
                padding: .7rem 1.35rem .8rem !important;
                margin: 0 !important;
                border: 0 !important;
                border-bottom: 3px solid transparent !important;
                border-radius: var(--radius-md, .75rem) var(--radius-md, .75rem) 0 0 !important;
                background: transparent !important;
                color: var(--color-text-muted, #64748b) !important;
                font-size: .95rem !important;
                font-weight: 600 !important;
                line-height: 1.2 !important;
                text-decoration: none !important;
                text-shadow: none !important;
                white-space: nowrap !important;
                box-shadow: none !important;
            }

                .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a *,
                .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a *,
                .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link *,
                .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link * {
                    color: inherit !important;
                }

                .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a:hover,
                .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a:focus,
                .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a:hover,
                .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a:focus,
                .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link:hover,
                .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link:focus,
                .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link:hover,
                .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link:focus {
                    background: var(--brand-primary-light, #e8f1ff) !important;
                    color: var(--brand-primary, #052c65) !important;
                    border-bottom-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .35) !important;
                }

                .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a,
                .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
                .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active,
                .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active,
                .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link.active,
                .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link.active {
                    background: var(--background-card, #fff) !important;
                    color: var(--brand-primary, #052c65) !important;
                    border-bottom-color: var(--brand-secondary, var(--brand-primary, #052c65)) !important;
                    font-weight: 700 !important;
                }

.search-control-wrapper .oz-search-tab-icon {
    width: 1.1rem;
    min-width: 1.1rem;
    color: currentColor;
    text-align: center;
}

.search-control-wrapper.oz-search-shell .oz-search-panel,
.search-control-wrapper.oz-search-shell .search-tab-content-container-style {
    margin: 0 !important;
    background: rgba(255,255,255,.97) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-radius: 0 0 var(--radius-lg, 1rem) var(--radius-lg, 1rem) !important;
    box-shadow: 0 1rem 2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
}

.search-control-wrapper .search-filter-options .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.search-control-wrapper .oz-search-control-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: .45rem !important;
    margin-bottom: .45rem !important;
    color: var(--color-text, #0f172a) !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

    .search-control-wrapper .oz-search-control-label span {
        color: var(--color-text, #0f172a) !important;
    }

.search-control-wrapper .oz-search-label-icon {
    width: 1rem;
    min-width: 1rem;
    color: var(--brand-primary, #052c65) !important;
    font-size: .88rem;
    text-align: center;
}

.search-control-wrapper .oz-search-panel .form-select,
.search-control-wrapper .oz-search-panel .form-control,
.search-control-wrapper .oz-search-panel select.form-select,
.search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single {
    min-height: 2.65rem !important;
    border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .2) !important;
    border-radius: var(--radius-sm, .5rem) !important;
    background-color: var(--background-card, #fff) !important;
    color: var(--color-text, #0f172a) !important;
    box-shadow: none !important;
}

.search-control-wrapper .oz-search-panel .select2-container {
    width: 100% !important;
}

.search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
        width: 100%;
        line-height: 2.55rem !important;
        padding-left: .85rem;
        padding-right: 2rem;
        color: var(--color-text-muted, #64748b);
    }

    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 2.55rem !important;
        right: .4rem;
    }

    .search-control-wrapper .oz-search-panel .form-select:focus,
    .search-control-wrapper .oz-search-panel .form-control:focus,
    .search-control-wrapper .oz-search-panel select.form-select:focus,
    .search-control-wrapper .oz-search-panel .select2-container--default.select2-container--focus .select2-selection--single,
    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single:focus {
        border-color: var(--brand-secondary, var(--brand-primary, #052c65)) !important;
        box-shadow: 0 0 0 .2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
    }

.search-control-wrapper .oz-search-action-btn {
    min-height: 2.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .35rem !important;
    border-radius: var(--radius-sm, .5rem) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
}

    .search-control-wrapper .oz-search-action-btn.btn-primary {
        background: var(--brand-secondary, var(--brand-primary, #052c65)) !important;
        border-color: var(--brand-secondary, var(--brand-primary, #052c65)) !important;
        color: var(--color-text-inverse, #fff) !important;
        box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.05));
    }

        .search-control-wrapper .oz-search-action-btn.btn-primary:hover {
            background: var(--brand-primary, #052c65) !important;
            border-color: var(--brand-primary, #052c65) !important;
        }

    .search-control-wrapper .oz-search-action-btn.btn-outline-secondary {
        background: var(--background-card, #fff) !important;
        border-color: var(--brand-primary, #052c65) !important;
        color: var(--brand-primary, #052c65) !important;
    }

        .search-control-wrapper .oz-search-action-btn.btn-outline-secondary:hover {
            background: var(--brand-primary-light, #e8f1ff) !important;
            border-color: var(--brand-primary, #052c65) !important;
            color: var(--brand-primary-dark, #031f49) !important;
        }

.search-control-wrapper .select2-results__group {
    padding: .5rem .75rem;
    font-size: .8125rem;
    font-weight: 800;
    color: var(--brand-primary, #052c65) !important;
    background: var(--brand-primary-light, #e8f1ff) !important;
}

.search-control-wrapper .select2-results__option[role=option] {
    padding: .5rem .85rem;
}

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-control-wrapper.oz-search-shell .oz-search-tabs {
        flex-wrap: nowrap;
        min-width: max-content;
        padding-bottom: .25rem;
    }
}

@media (max-width: 767.98px) {
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
        margin-bottom: .75rem !important;
        border: 1px solid var(--color-border, #dee2e6) !important;
        border-radius: var(--radius-md, .75rem) !important;
        overflow: hidden !important;
    }

    .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs,
    .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0 !important;
        padding: 0 !important;
        flex-wrap: wrap !important;
    }

        .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-item,
        .search-control-wrapper.oz-search-shell .search-control-tabs .nav-item,
        .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li,
        .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li {
            min-width: 0 !important;
            width: 100% !important;
        }

    .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link,
    .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link,
    .search-control-wrapper.oz-search-shell .oz-search-tabs > li > a,
    .search-control-wrapper.oz-search-shell .search-control-tabs > li > a {
        width: 100% !important;
        min-height: 2.75rem !important;
        padding: .65rem .5rem !important;
        text-align: center;
        font-size: .875rem !important;
        white-space: normal !important;
        border-radius: 0 !important;
        border-right: 1px solid var(--color-border, #dee2e6) !important;
        border-bottom: 1px solid var(--color-border, #dee2e6) !important;
    }

        .search-control-wrapper.oz-search-shell .oz-search-tabs .nav-link.active,
        .search-control-wrapper.oz-search-shell .search-control-tabs .nav-link.active,
        .search-control-wrapper.oz-search-shell .oz-search-tabs > li.active > a,
        .search-control-wrapper.oz-search-shell .search-control-tabs > li.active > a {
            background: var(--brand-primary, #052c65) !important;
            color: var(--color-text-inverse, #fff) !important;
            border-color: var(--brand-primary, #052c65) !important;
        }

    .search-control-wrapper.oz-search-shell .oz-search-panel,
    .search-control-wrapper.oz-search-shell .search-tab-content-container-style {
        border-radius: var(--radius-md, .75rem) !important;
        padding: 1rem !important;
        box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.05)) !important;
    }
}

/* =========================================================
       FINAL HERO SEARCH OVERRIDE
       Beats legacy .oz-hero-search-panel rules coming from the page.
       Keep this inside the partial so the search component owns its tabs.
    ========================================================= */

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
    background: var(--background-card, #fff) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-bottom: 0 !important;
    border-radius: var(--radius-lg, 1rem) var(--radius-lg, 1rem) 0 0 !important;
    box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.05)) !important;
}

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
    background: var(--background-card, #fff) !important;
    border: 0 !important;
    box-shadow: none !important;
}

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link {
        background: transparent !important;
        color: var(--color-text-muted, #64748b) !important;
        border: 0 !important;
        border-bottom: 3px solid transparent !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link *,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link * {
            color: inherit !important;
            text-shadow: none !important;
        }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active {
            background: var(--background-card, #fff) !important;
            color: var(--brand-primary, #052c65) !important;
            border: 0 !important;
            border-bottom: 3px solid var(--brand-secondary, var(--brand-primary, #052c65)) !important;
            text-shadow: none !important;
            box-shadow: none !important;
        }

            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active *,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active * {
                color: var(--brand-primary, #052c65) !important;
                text-shadow: none !important;
            }

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style {
    background: rgba(255,255,255,.97) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-radius: 0 0 var(--radius-lg, 1rem) var(--radius-lg, 1rem) !important;
    box-shadow: 0 1rem 2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
}


/* =========================================================
       FINAL SEARCH POLISH + BUTTON VISIBILITY FIX
       - Never let button styling override Bootstrap d-none.
       - Makes tabs a compact segmented control.
       - Tightens spacing and softens controls for a premium search card.
    ========================================================= */

.search-control-wrapper.oz-search-shell #btn-search-cruise.d-none,
.search-control-wrapper.oz-search-shell .oz-search-action-btn.d-none {
    display: none !important;
}

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
    padding: .7rem 1rem .15rem !important;
    background: rgba(255,255,255,.98) !important;
    border-radius: var(--radius-lg, 1rem) var(--radius-lg, 1rem) 0 0 !important;
    box-shadow: 0 .65rem 1.25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
}

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: .25rem !important;
    gap: .25rem !important;
    background: var(--background-muted, #f8fafc) !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    border-radius: var(--radius-pill, 999px) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .03) !important;
}

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link {
        min-width: 10.5rem !important;
        min-height: 2.35rem !important;
        padding: .55rem 1.15rem !important;
        border: 0 !important;
        border-radius: var(--radius-pill, 999px) !important;
        background: transparent !important;
        color: var(--color-text-muted, #64748b) !important;
        font-size: .93rem !important;
        font-weight: 600 !important;
        text-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active {
            background: var(--background-card, #fff) !important;
            color: var(--brand-primary, #052c65) !important;
            border: 0 !important;
            box-shadow: 0 .25rem .75rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
            text-shadow: none !important;
        }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link:hover {
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .06) !important;
            color: var(--brand-primary, #052c65) !important;
        }

.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style {
    padding: 1.1rem 1.25rem 1.2rem !important;
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.95)) !important;
    border-radius: 0 0 var(--radius-lg, 1rem) var(--radius-lg, 1rem) !important;
    box-shadow: 0 1rem 2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
}

.search-control-wrapper .search-filter-options .row {
    --bs-gutter-x: .9rem;
    --bs-gutter-y: .9rem;
}

.search-control-wrapper .oz-search-control-label {
    margin-bottom: .35rem !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
}

.search-control-wrapper .oz-search-label-icon {
    font-size: .84rem !important;
}

.search-control-wrapper .oz-search-panel .form-select,
.search-control-wrapper .oz-search-panel .form-control,
.search-control-wrapper .oz-search-panel select.form-select,
.search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single {
    min-height: 2.45rem !important;
    height: 2.45rem !important;
    border-radius: .65rem !important;
    border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
}

    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 2.35rem !important;
        font-size: .9rem !important;
    }

    .search-control-wrapper .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 2.35rem !important;
    }

.search-control-wrapper .oz-search-action-btn {
    min-height: 2.45rem !important;
    height: 2.45rem !important;
    border-radius: .65rem !important;
    font-size: .92rem !important;
    font-weight: 750 !important;
}

    .search-control-wrapper .oz-search-action-btn.btn-outline-secondary,
    .search-control-wrapper #btn-search-reset {
        background: rgba(255,255,255,.92) !important;
        border-color: var(--brand-primary, #052c65) !important;
        color: var(--brand-primary, #052c65) !important;
    }

@media (max-width: 767.98px) {
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        border-radius: var(--radius-md, .75rem) !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link {
            width: 100% !important;
            min-width: 0 !important;
        }
}

/* =========================================================
       FINAL MOBILE SEARCH DRAWER POLISH
       Mobile-only refinement. Desktop styles are intentionally untouched.
    ========================================================= */

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell {
        margin-bottom: 1.1rem !important;
    }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle {
            position: relative;
            width: 100%;
            min-height: 4.35rem;
            margin: .55rem 0 .85rem !important;
            padding: .8rem 1rem !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: .85rem;
            border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
            border-radius: var(--radius-lg, 1.25rem) !important;
            background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)) !important;
            color: var(--brand-primary, #052c65) !important;
            box-shadow: 0 .65rem 1.45rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
            text-align: left;
        }

            .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle:hover,
            .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle:focus {
                background: var(--background-card, #fff) !important;
                border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .24) !important;
                color: var(--brand-primary, #052c65) !important;
                box-shadow: 0 .8rem 1.65rem rgba(var(--brand-primary-rgb, 5, 44, 101), .16) !important;
                outline: 0 !important;
            }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-copy {
            display: grid !important;
            gap: .25rem !important;
            min-width: 0;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-title {
            display: inline-flex !important;
            align-items: center !important;
            gap: .65rem !important;
            color: var(--brand-primary, #052c65) !important;
            font-family: var(--font-heading);
            font-size: 1.02rem;
            font-weight: 800;
            line-height: 1.15;
        }

            .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-title i {
                width: 1.25rem;
                min-width: 1.25rem;
                color: var(--brand-primary, #052c65) !important;
                font-size: 1rem;
                text-align: center;
            }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-summary {
            display: block;
            padding-left: 1.9rem;
            color: var(--color-text-muted, #64748b) !important;
            font-size: .82rem;
            font-weight: 500;
            line-height: 1.25;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle .toggle-icon {
            width: 1.25rem;
            min-width: 1.25rem;
            color: var(--brand-primary, #052c65) !important;
            font-size: .95rem;
            text-align: center;
            transition: transform .22s ease;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle[aria-expanded="true"] .toggle-icon {
            transform: rotate(180deg);
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters {
            margin-top: .35rem;
        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters.collapse:not(.show) {
                display: none;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters.show,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters.collapsing {
                display: block;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters > .oz-search-tabs-wrapper {
                margin: 0 !important;
                padding: .6rem .6rem 0 !important;
                overflow: visible !important;
                border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
                border-bottom: 0 !important;
                border-radius: var(--radius-lg, 1.25rem) var(--radius-lg, 1.25rem) 0 0 !important;
                background: var(--background-card, #fff) !important;
                box-shadow: 0 .55rem 1.25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                width: 100% !important;
                min-width: 0 !important;
                gap: .25rem !important;
                margin: 0 !important;
                padding: .2rem !important;
                border: 1px solid var(--color-border, #dee2e6) !important;
                border-radius: var(--radius-lg, 1.25rem) !important;
                background: var(--background-muted, #f8fafc) !important;
                box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .03) !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-item,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-item {
                    width: 100% !important;
                    min-width: 0 !important;
                    margin: 0 !important;
                }

                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a,
                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a,
                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link,
                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link {
                        width: 100% !important;
                        min-width: 0 !important;
                        min-height: 2.45rem !important;
                        padding: .58rem .55rem !important;
                        border: 0 !important;
                        border-radius: var(--radius-lg, 1.25rem) !important;
                        background: transparent !important;
                        color: var(--color-text-muted, #64748b) !important;
                        font-size: .88rem !important;
                        font-weight: 650 !important;
                        line-height: 1.15 !important;
                        text-shadow: none !important;
                        box-shadow: none !important;
                        white-space: normal !important;
                    }

                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li.active > a,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li.active > a,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a.active,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a.active,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link.active,
                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link.active {
                            background: var(--background-card, #fff) !important;
                            color: var(--brand-primary, #052c65) !important;
                            box-shadow: 0 .25rem .7rem rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
                        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-panel,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-tab-content-container-style {
                margin: 0 !important;
                padding: .35rem 0 0 !important;
                border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
                border-top: 0 !important;
                border-radius: 0 0 var(--radius-lg, 1.25rem) var(--radius-lg, 1.25rem) !important;
                background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.96)) !important;
                box-shadow: 0 .85rem 1.75rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
                overflow: hidden;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options {
                padding: 0 !important;
                background: transparent !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row {
                    display: block !important;
                    margin: 0 !important;
                    --bs-gutter-x: 0;
                    --bs-gutter-y: 0;
                }

                    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > [class*="col-"] {
                        display: grid !important;
                        grid-template-columns: minmax(0, 1fr) minmax(8.25rem, 44%) !important;
                        align-items: center !important;
                        gap: .75rem !important;
                        width: 100% !important;
                        max-width: 100% !important;
                        padding: .78rem .95rem !important;
                        border-bottom: 1px solid var(--color-border, #dee2e6) !important;
                    }

                        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > [class*="col-"]:last-child {
                            border-bottom: 0 !important;
                        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
                min-width: 0;
                margin: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                gap: .55rem !important;
                color: var(--color-text, #0f172a) !important;
                font-size: .84rem !important;
                font-weight: 800 !important;
                line-height: 1.2 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-label-icon {
                width: 1.15rem;
                min-width: 1.15rem;
                color: var(--brand-primary, #052c65) !important;
                font-size: .9rem;
                text-align: center;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label span {
                color: inherit !important;
                overflow-wrap: anywhere;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-control,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters select.form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single {
                width: 100% !important;
                min-width: 0 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-control,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters select.form-select,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single {
                height: 2.45rem !important;
                min-height: 2.45rem !important;
                border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
                border-radius: var(--radius-sm, .5rem) !important;
                background-color: var(--background-card, #fff) !important;
                color: var(--color-text, #0f172a) !important;
                box-shadow: none !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__rendered {
                    line-height: 2.35rem !important;
                    padding-left: .75rem !important;
                    padding-right: 1.85rem !important;
                    color: var(--color-text-muted, #64748b) !important;
                    font-size: .9rem !important;
                }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__arrow {
                    height: 2.35rem !important;
                    right: .35rem !important;
                }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col {
                display: block !important;
                padding: .95rem !important;
                border-bottom: 0 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions {
                width: 100%;
                display: grid !important;
                gap: .55rem !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-action-btn {
                width: 100% !important;
                min-height: 2.75rem !important;
                height: 2.75rem !important;
                border-radius: var(--radius-md, .75rem) !important;
                font-size: .95rem !important;
                font-weight: 800 !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-reset,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-secondary-action {
                background: linear-gradient(180deg, var(--background-card, #fff), var(--background-muted, #f8fafc)) !important;
                border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .35) !important;
                color: var(--brand-primary, #052c65) !important;
                box-shadow: 0 .25rem .65rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
            }
}

@media (max-width: 359.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > [class*="col-"] {
        grid-template-columns: 1fr !important;
        gap: .45rem !important;
    }

    .search-control-wrapper.oz-search-shell .oz-mobile-search-summary {
        white-space: normal;
    }
}

/* Match cruise detail Index.B5 Bootstrap 5 tab style */
.search-control-wrapper .oz-search-tabs-wrapper {
    border-bottom: 1px solid #dee2e6 !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: transparent !important;
}

.search-control-wrapper .oz-search-tabs.nav-tabs,
.search-control-wrapper .search-control-tabs.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border-bottom: 0 !important;
    background: transparent !important;
    white-space: nowrap;
    margin-bottom: 0;
}

    .search-control-wrapper .oz-search-tabs.nav-tabs .nav-item,
    .search-control-wrapper .search-control-tabs.nav-tabs .nav-item {
        background: transparent !important;
        border: 0 !important;
        margin-bottom: 0;
    }

    .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link,
    .search-control-wrapper .search-control-tabs.nav-tabs .nav-link,
    .search-control-wrapper .oz-search-tabs.nav-tabs > li > a,
    .search-control-wrapper .search-control-tabs.nav-tabs > li > a {
        display: block;
        padding: .85rem 1rem;
        color: var(--bs-primary) !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
    }

        .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link:hover,
        .search-control-wrapper .search-control-tabs.nav-tabs .nav-link:hover,
        .search-control-wrapper .oz-search-tabs.nav-tabs > li > a:hover,
        .search-control-wrapper .search-control-tabs.nav-tabs > li > a:hover {
            color: var(--bs-primary) !important;
            background: transparent !important;
            border-bottom-color: rgba(var(--bs-primary-rgb), .35) !important;
        }

        .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link.active,
        .search-control-wrapper .search-control-tabs.nav-tabs .nav-link.active,
        .search-control-wrapper .oz-search-tabs.nav-tabs .nav-item.show .nav-link,
        .search-control-wrapper .search-control-tabs.nav-tabs .nav-item.show .nav-link,
        .search-control-wrapper .oz-search-tabs.nav-tabs > li.active > a,
        .search-control-wrapper .search-control-tabs.nav-tabs > li.active > a {
            color: #212529 !important;
            background: transparent !important;
            border: 0 !important;
            border-bottom: 2px solid var(--bs-primary) !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            font-weight: 600;
        }

.search-control-wrapper.oz-search-shell {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.search-control-wrapper .oz-search-panel {
    margin-top: 1rem;
}

/* Responsive Bootstrap 5 search layout:
       - mobile: 1 control per row
       - tablet: 2 controls per row
       - laptop: 3 controls per row
       - desktop xl: 4 controls per row */
.oz-search-panel .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.oz-search-panel {
    max-width: 100%;
}

.oz-search-control-label {
    display: block;
    min-height: 1.25rem;
}

.oz-search-panel .select2-container--default .select2-selection--single {
    min-height: 44px;
}

    .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 42px;
    }

    .oz-search-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px;
    }

.oz-search-action-btn {
    min-height: 44px;
    width: 100%;
}

@media (min-width: 1200px) {
    .oz-search-panel .row > .col-xl-3 {
        max-width: 25%;
    }
}

@media (max-width: 767.98px) {
    .oz-search-panel {
        padding: 1rem !important;
    }

    .oz-search-action-btn {
        min-height: 46px;
    }
}

/* Responsive search tabs.
       Desktop/tablet: standard Bootstrap underline tabs.
       Small screens: compact equal-width tabs with wrapped labels. */
.search-control-wrapper .oz-search-tabs-wrapper {
    overflow-x: visible !important;
}

.search-control-wrapper .oz-search-tabs.nav-tabs,
.search-control-wrapper .search-control-tabs.nav-tabs {
    flex-wrap: wrap !important;
}

.search-control-wrapper .oz-search-tabs .nav-item,
.search-control-wrapper .search-control-tabs .nav-item {
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .search-control-wrapper .oz-search-tabs.nav-tabs,
    .search-control-wrapper .search-control-tabs.nav-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 0;
    }

    .search-control-wrapper .oz-search-tabs .nav-item,
    .search-control-wrapper .search-control-tabs .nav-item {
        width: 100%;
        min-width: 0;
    }

    .search-control-wrapper .oz-search-tabs .nav-link,
    .search-control-wrapper .search-control-tabs .nav-link,
    .search-control-wrapper .oz-search-tabs > li > a,
    .search-control-wrapper .search-control-tabs > li > a {
        width: 100%;
        min-width: 0;
        padding: .75rem .35rem;
        text-align: center;
        font-size: .875rem;
        line-height: 1.15;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

@media (max-width: 374.98px) {
    .search-control-wrapper .oz-search-tabs .nav-link,
    .search-control-wrapper .search-control-tabs .nav-link,
    .search-control-wrapper .oz-search-tabs > li > a,
    .search-control-wrapper .search-control-tabs > li > a {
        font-size: .8125rem;
        padding-left: .25rem;
        padding-right: .25rem;
    }
}

/* Hero-only search presentation.
       Scoped to .oz-hero-search-panel so the normal standalone search partial remains unchanged. */
.oz-hero-search-panel .search-control-wrapper.oz-search-shell {
    margin-bottom: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Remove the wasted space between the tab header and search body. */
.oz-hero-search-panel .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper.mb-3 {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, .48) !important;
    border-radius: 8px 8px 0 0 !important;
    background: rgba(3, 35, 72, .72) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    overflow: visible !important;
}

.oz-hero-search-panel .search-main-tab-container,
.oz-hero-search-panel .tab-content.search-main-tab-container {
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.oz-hero-search-panel #tab-search-options {
    padding: 0 !important;
}

.oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs,
.oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs {
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

    .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs > li > a {
        color: rgba(255, 255, 255, .94) !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, .72) !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-weight: 600 !important;
        padding: .55rem 1.25rem !important;
    }

        .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs .nav-item.show .nav-link,
        .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs .nav-item.show .nav-link,
        .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs > li.active > a {
            color: #fff !important;
            border-bottom-color: #fff !important;
            text-shadow: 0 1px 3px rgba(0, 0, 0, .85) !important;
        }

.oz-hero-search-panel .search-control-wrapper .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper .search-tab-content-container-style {
    margin: 0 !important;
    margin-top: 0 !important;
    background: rgba(255, 255, 255, .86) !important;
    border: 1px solid rgba(255, 255, 255, .58) !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16) !important;
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    padding: 1rem 1.25rem !important;
}

/* Keep Select2 looking like a dropdown even when it initializes before the hero overlay has settled. */
.oz-hero-search-panel select.form-select,
.oz-hero-search-panel .select2-container {
    width: 100% !important;
    display: block !important;
}

.oz-hero-search-panel .select2-container--default .select2-selection--single {
    min-height: 42px !important;
    height: 42px !important;
    border: 1px solid #c3cedb !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, .92) !important;
    display: flex !important;
    align-items: center !important;
}

    .oz-hero-search-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 40px !important;
        padding-left: .85rem !important;
        padding-right: 2rem !important;
    }

    .oz-hero-search-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 40px !important;
        right: .35rem !important;
    }

@media (max-width: 991.98px) {
    .oz-hero-search-panel .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
    .oz-hero-search-panel .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper.mb-3 {
        border-radius: 6px 6px 0 0 !important;
    }
}

@media (max-width: 767.98px) {
    .oz-hero-search-panel .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
    .oz-hero-search-panel .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper.mb-3 {
        padding: 0 !important;
        background: #fff !important;
        border-bottom: 1px solid #dee2e6 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs .nav-link,
    .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs > li > a,
    .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs > li > a {
        color: var(--bs-primary) !important;
        text-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper .search-control-tabs.nav-tabs > li.active > a {
            color: #212529 !important;
            border-bottom-color: var(--bs-primary) !important;
            text-shadow: none !important;
        }

    .oz-hero-search-panel .search-control-wrapper .oz-search-panel,
    .oz-hero-search-panel .search-control-wrapper .search-tab-content-container-style {
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* =========================================================
   SEARCH THEME SURFACE FINAL
   Theme-driven surface applied from external CSS only.
   This intentionally comes after the migrated _Search.B5 styles.
========================================================= */

.search-control-wrapper.oz-search-shell {
    background: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 10%, var(--background-card) 90%), color-mix(in srgb, var(--brand-primary) 6%, var(--background-card) 94%) ) !important;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, var(--color-border) 82%) !important;
    border-radius: var(--radius-lg, 1rem) !important;
    box-shadow: 0 .85rem 1.9rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
}

    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper,
    .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
    .search-control-wrapper.oz-search-shell .oz-search-panel,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters {
        background: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 8%, var(--background-card) 92%), color-mix(in srgb, var(--brand-primary) 4%, var(--background-card) 96%) ) !important;
    }

.oz-hero-search-panel .search-control-wrapper.oz-search-shell,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters {
    background: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 10%, var(--background-card) 90%), color-mix(in srgb, var(--brand-primary) 6%, var(--background-card) 94%) ) !important;
}

/* Keep the actual controls white/readable on the tinted surface. */
.search-control-wrapper.oz-search-shell .form-control,
.search-control-wrapper.oz-search-shell .form-select,
.search-control-wrapper.oz-search-shell .select2-container--default .select2-selection--single,
.search-control-wrapper.oz-search-shell button.dropdown-toggle {
    background-color: var(--background-card) !important;
}

/* Keep the sticky mobile proxy aligned with the same theme surface. */
@media (max-width: 991.98px) {
    .oz-mobile-search-proxy {
        background: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 10%, var(--background-card) 90%), color-mix(in srgb, var(--brand-primary) 6%, var(--background-card) 94%) ) !important;
        border-color: color-mix(in srgb, var(--brand-primary) 20%, var(--color-border) 80%) !important;
    }
}

/* Fallback for browsers without color-mix support. */
@supports not (background: color-mix(in srgb, #000 5%, #fff 95%)) {
    .search-control-wrapper.oz-search-shell,
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper,
    .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
    .search-control-wrapper.oz-search-shell .oz-search-panel,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters,
    .oz-mobile-search-proxy {
        background: rgba(var(--brand-primary-rgb, 5, 44, 101), .085) !important;
    }

    .search-control-wrapper.oz-search-shell {
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
    }
}

/* =========================================================
   SEARCH THEME SURFACE FINAL OVERRIDE
   Production override for the visible search surface.
   Keeps the actual dropdown controls white, but gives the whole
   search header/body/proxy a consistent light theme-tinted surface.
========================================================= */

.search-control-wrapper.oz-search-shell {
    --oz-search-surface: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 12%, var(--background-card) 88%), color-mix(in srgb, var(--brand-primary) 7%, var(--background-card) 93%) );
    --oz-search-surface-soft: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 10%, var(--background-card) 90%), color-mix(in srgb, var(--brand-primary) 6%, var(--background-card) 94%) );
    background: var(--oz-search-surface) !important;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--color-border) 80%) !important;
    border-radius: var(--radius-lg, 1rem) !important;
    box-shadow: 0 .85rem 1.9rem rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
}

    /* Header/tabs surface and body surface must match. */
    .search-control-wrapper.oz-search-shell > #mobileSearchFilters,
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
    .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper,
    .search-control-wrapper.oz-search-shell .search-main-tab-container,
    .search-control-wrapper.oz-search-shell .tab-content.search-main-tab-container,
    .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
    .search-control-wrapper.oz-search-shell #tab-search-options,
    .search-control-wrapper.oz-search-shell .oz-search-panel,
    .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
    .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
        background: var(--oz-search-surface-soft) !important;
    }

/* Hero-specific selectors from the rendered DOM. */
.oz-hero-search-panel .search-control-wrapper.oz-search-shell,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell > #mobileSearchFilters,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-main-tab-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .tab-content.search-main-tab-container,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell #tab-search-options,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
.oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
    background: var(--oz-search-surface-soft) !important;
}

/* Mobile collapsed/expanded header card should also show the tint. */
.search-control-wrapper.oz-search-shell .mobile-search-toggle,
.search-control-wrapper.oz-search-shell .oz-mobile-search-toggle,
.oz-mobile-search-proxy {
    background: var(--oz-search-surface) !important;
    border-color: color-mix(in srgb, var(--brand-primary) 20%, var(--color-border) 80%) !important;
}

/* Preserve white/readable input surfaces and active tab pills. */
.search-control-wrapper.oz-search-shell .form-control,
.search-control-wrapper.oz-search-shell .form-select,
.search-control-wrapper.oz-search-shell select,
.search-control-wrapper.oz-search-shell .select2-container--default .select2-selection--single,
.search-control-wrapper.oz-search-shell button.dropdown-toggle,
.search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active,
.search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active,
.search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
.search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a {
    background-color: var(--background-card) !important;
}

/* Fallback for browsers without color-mix support. */
@supports not (background: color-mix(in srgb, #000 5%, #fff 95%)) {
    .search-control-wrapper.oz-search-shell {
        --oz-search-surface: rgba(var(--brand-primary-rgb, 5, 44, 101), .10);
        --oz-search-surface-soft: rgba(var(--brand-primary-rgb, 5, 44, 101), .075);
        background: var(--oz-search-surface) !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .20) !important;
    }
}

/* =========================================================
   MOBILE SEARCH SURFACE OPAQUE FIX
   Softer premium theme surface.
   Keeps the search elevated without looking like a coloured panel.
========================================================= */

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell {
        --oz-mobile-search-surface: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 4%, var(--background-card) 96%), color-mix(in srgb, var(--brand-primary) 2.5%, var(--background-card) 97.5%) );
        --oz-mobile-search-surface-soft: linear-gradient( 180deg, color-mix(in srgb, var(--brand-primary) 3%, var(--background-card) 97%), color-mix(in srgb, var(--brand-primary) 1.5%, var(--background-card) 98.5%) );
    }

        /* Expanded mobile search panel */
        .search-control-wrapper.oz-search-shell > #mobileSearchFilters,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters.show,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .tab-content,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-main-tab-container,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-tab-content-container-style,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-panel,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters #tab-search-options,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-wrapper-tab-main-container,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs-wrapper,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs {
            background: var(--oz-mobile-search-surface-soft) !important;
            background-color: color-mix(in srgb, var(--brand-primary) 2.5%, var(--background-card) 97.5%) !important;
        }

        /* Sticky proxy / collapsed header */
        .search-control-wrapper.oz-search-shell .mobile-search-toggle,
        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle,
        .oz-mobile-search-proxy,
        body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
            background: var(--oz-mobile-search-surface) !important;
            background-color: color-mix(in srgb, var(--brand-primary) 4%, var(--background-card) 96%) !important;
            border-color: color-mix(in srgb, var(--brand-primary) 14%, var(--color-border) 86%) !important;
            opacity: 1 !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        /* Keep controls clean and readable */
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-control,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-select,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters select,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters button.dropdown-toggle {
            background: var(--background-card) !important;
            background-color: var(--background-card) !important;
        }

    /* Older browser fallback */
    @supports not (background: color-mix(in srgb, #000 5%, #fff 95%)) {
        .search-control-wrapper.oz-search-shell > #mobileSearchFilters,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters.show,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .tab-content,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-main-tab-container,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-tab-content-container-style,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-panel,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters #tab-search-options,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-wrapper-tab-main-container,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs-wrapper,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs {
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .03) !important;
            background-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .03) !important;
        }

        .search-control-wrapper.oz-search-shell .mobile-search-toggle,
        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle,
        .oz-mobile-search-proxy,
        body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
            background-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
        }
    }
}

/* =========================================================
   SEARCH SHELL SEAM CLEANUP FIX
   Narrow wrapper cleanup only.
   Keeps the previous subtle search body tint intact and prevents
   parent placeholder/wrapper colours from showing as curved seams.
========================================================= */

.oz-hero-search-wrapper,
.oz-hero-search-wrapper--no-image,
.oz-hero-search-panel {
    background: transparent !important;
    background-color: transparent !important;
}

.oz-hero-search-wrapper,
.oz-hero-search-wrapper--no-image {
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Let the actual search shell/panel own the visible radius and surface. */
.search-control-wrapper.oz-search-shell {
    overflow: hidden;
}

    /* Prevent child layers from creating a second visible curve at the top-left/top-right. */
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper {
        border-top-left-radius: inherit !important;
        border-top-right-radius: inherit !important;
    }

/* Keep mobile proxy opaque without changing the expanded panel colour. */
@media (max-width: 991.98px) {
    .oz-mobile-search-proxy,
    body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* =========================================================
   SEARCH PANEL FINAL HERO OVERRIDE
   Exact high-specificity override for the rendered search panel.
   Purpose: remove the large grey block, reduce nested container weight,
   and make the search feel like a clean floating white card.
========================================================= */

.oz-hero-search-panel .search-control-wrapper.oz-search-shell {
    background: var(--background-card, #fff) !important;
    background-color: var(--background-card, #fff) !important;
    border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
    border-radius: var(--radius-lg, 1.25rem) !important;
    box-shadow: 0 1rem 2.5rem rgba(var(--brand-primary-rgb, 5, 44, 101), .055), 0 .2rem .65rem rgba(var(--brand-primary-rgb, 5, 44, 101), .025) !important;
    overflow: hidden !important;
}

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell > #mobileSearchFilters,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-main-tab-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .tab-content.search-main-tab-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #tab-search-options,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel {
        background: var(--background-card, #fff) !important;
        background-color: var(--background-card, #fff) !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
            padding: .7rem 1rem .35rem !important;
            border: 0 !important;
        }

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel {
        padding: 1rem 1.25rem 1.1rem !important;
        border: 0 !important;
    }

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-main-tab-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .tab-content.search-main-tab-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #tab-search-options {
        border-top: 0 !important;
    }

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs {
        background: rgba(var(--brand-primary-rgb, 5, 44, 101), .025) !important;
        border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .06) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li.active > a,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs > li > a.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs.search-control-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-tabs.nav-tabs .nav-link.active,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs.nav-tabs .nav-link.active {
            background: var(--background-card, #fff) !important;
            border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .04) !important;
            box-shadow: 0 .25rem .7rem rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
        }

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .form-control,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell button.dropdown-toggle {
        background: var(--background-card, #fff) !important;
        background-color: var(--background-card, #fff) !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .11) !important;
        box-shadow: none !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .form-control:focus,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .form-select:focus,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell select:focus,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .select2-container--default.select2-container--focus .select2-selection--single,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell button.dropdown-toggle:focus {
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .28) !important;
            box-shadow: 0 0 0 .16rem rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
        }

    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .btn-outline-primary,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell button.btn-outline-primary,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell input.btn-outline-primary {
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .36) !important;
        box-shadow: none !important;
    }

@media (max-width: 991.98px) {
    .oz-mobile-search-proxy,
    body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
        background: var(--background-card, #fff) !important;
        background-color: var(--background-card, #fff) !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .07) !important;
        box-shadow: 0 .85rem 1.8rem rgba(var(--brand-primary-rgb, 5, 44, 101), .10) !important;
        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* =========================================================
   SEARCH CONTENT WRAPPER WHITE SURFACE FIX
   Removes the grey side gutters exposed around the white search card.
   This targets the immediate layout/search wrappers only, not the body,
   sidebar, result cards, or search functionality.
========================================================= */

.oz-content-shell,
.oz-content-main,
.oz-results-shell,
.oz-hero-search-wrapper,
.oz-hero-search-wrapper--no-image,
.oz-hero-search-panel {
    background: var(--background-card, #fff) !important;
    background-color: var(--background-card, #fff) !important;
}

.oz-hero-search-wrapper,
.oz-hero-search-wrapper--no-image,
.oz-hero-search-panel {
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Keep the search card as the only visible framed element. */
.oz-hero-search-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    /* =========================================================
   SEARCH SHELL FINAL MICRO POLISH
   Built ONLY on the accepted white-shell baseline.
   Changes ONLY:
   1. slightly reduce vertical height
   2. slightly soften reset button border
========================================================= */

    /* Slightly reduce search shell vertical bulk */
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-tab-content-container-style,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-panel {
        padding-top: .78rem !important;
        padding-bottom: .72rem !important;
    }

    /* Slightly tighten tab/header spacing */
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .search-control-wrapper-tab-main-container.oz-search-tabs-wrapper,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .oz-search-tabs-wrapper {
        padding-top: .48rem !important;
        padding-bottom: .18rem !important;
    }

    /* Softer reset button border only */
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell .btn-outline-primary,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell button.btn-outline-primary,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell input.btn-outline-primary {
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .22) !important;
        box-shadow: 0 .08rem .25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .02) !important;
    }

        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .btn-outline-primary:hover,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell .btn-outline-primary:focus {
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .32) !important;
            box-shadow: 0 .14rem .38rem rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
        }


/* =========================================================
   B5 MOBILE SEARCH COMPACT SELECT2
   Mobile-only: external labels are visually hidden and the Select2
   selected value displays icon + field label + selected value.
========================================================= */

.oz-search-select2-selection {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    gap: .35rem;
}

.oz-search-select2-mobile-prefix {
    display: none;
}

.oz-search-select2-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row {
        --bs-gutter-y: .45rem;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field {
            gap: 0 !important;
            padding-top: .38rem !important;
            padding-bottom: .38rem !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container {
        width: 100% !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--bootstrap-5 .select2-selection--single,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single {
        min-height: 2.7rem !important;
        height: 2.7rem !important;
        border-radius: .8rem !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__rendered {
            display: flex !important;
            align-items: center !important;
            min-height: 2.58rem !important;
            line-height: 1.2 !important;
            padding-left: .9rem !important;
            padding-right: 2.1rem !important;
            font-size: .95rem !important;
            font-weight: 600 !important;
            color: var(--color-text, #212529) !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 2.58rem !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection {
        width: 100%;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        gap: .45rem;
        color: var(--brand-primary, #052c65);
        font-family: var(--font-heading, inherit);
        font-weight: 800;
        white-space: nowrap;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-icon {
        width: 1.05rem;
        min-width: 1.05rem;
        text-align: center;
        font-size: .95rem;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator {
        color: var(--color-text-muted, #6c757d);
        font-weight: 700;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value {
        color: var(--color-text, #212529);
        font-weight: 500;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col {
        padding-top: .45rem !important;
        padding-bottom: .35rem !important;
    }
}

@media (max-width: 379.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-label {
        max-width: 9.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* =========================================================
   MOBILE SEARCH SELECT2 COMPACT FINAL OVERRIDE
   Mobile-only: keeps desktop search rendering untouched.
========================================================= */
@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field {
        gap: .18rem !important;
        padding: .22rem .75rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
        display: none !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .form-select,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .select2-container,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .form-select,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label + .select2-container {
            margin-top: 0 !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field select.form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field select.form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single {
        height: 2.38rem !important;
        min-height: 2.38rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single {
        border-color: var(--color-border) !important;
        border-radius: var(--radius-md) !important;
        background: var(--background-card) !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__rendered,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__rendered {
            display: flex !important;
            align-items: center !important;
            min-height: 2.28rem !important;
            line-height: 1.1 !important;
            padding-left: .72rem !important;
            padding-right: 2rem !important;
            color: var(--color-text) !important;
            font-size: .86rem !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__arrow,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 2.28rem !important;
            right: .38rem !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection {
        display: inline-flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: .28rem !important;
        white-space: nowrap !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        gap: .22rem !important;
        color: var(--brand-primary) !important;
        font-weight: 800 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-icon,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-icon {
        width: .95rem !important;
        min-width: .95rem !important;
        text-align: center !important;
        font-size: .78rem !important;
        color: var(--brand-primary) !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-label,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-label,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator {
        color: var(--brand-primary) !important;
        font-size: .76rem !important;
        font-weight: 800 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        color: var(--color-text) !important;
        font-weight: 700 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col {
        padding: .28rem .75rem .42rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle {
        min-height: 1.9rem !important;
        font-size: .82rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col {
        padding: .48rem .75rem .62rem !important;
    }
}

/* =========================================================
   MOBILE SEARCH SELECT2 LIFECYCLE FIX OVERRIDE
   Mobile-only. Keeps desktop search untouched.
========================================================= */
@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options {
        padding-top: .15rem !important;
        padding-bottom: .15rem !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row {
            --bs-gutter-y: .12rem !important;
            row-gap: .12rem !important;
        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field {
                gap: 0 !important;
                padding: .14rem .7rem !important;
                margin: 0 !important;
            }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
        display: none !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field select.form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field select.form-select,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container {
        height: 2.28rem !important;
        min-height: 2.28rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--bootstrap-5 .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--bootstrap-5 .select2-selection--single {
        height: 2.28rem !important;
        min-height: 2.28rem !important;
        border-color: var(--color-border) !important;
        border-radius: .55rem !important;
        background: var(--background-card) !important;
        box-shadow: none !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__rendered,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__rendered,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
            display: flex !important;
            align-items: center !important;
            height: 2.18rem !important;
            min-height: 2.18rem !important;
            line-height: 1.05 !important;
            padding-left: .68rem !important;
            padding-right: 1.85rem !important;
            color: var(--color-text) !important;
            font-size: .82rem !important;
            font-weight: 700 !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__arrow,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--default .select2-selection--single .select2-selection__arrow,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
            height: 2.18rem !important;
            right: .32rem !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection {
        display: inline-flex !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: .22rem !important;
        white-space: nowrap !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        gap: .18rem !important;
        color: var(--brand-primary) !important;
        font-weight: 800 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-icon,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-icon {
        width: .85rem !important;
        min-width: .85rem !important;
        text-align: center !important;
        font-size: .72rem !important;
        color: var(--brand-primary) !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-label,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-label,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator {
        color: var(--brand-primary) !important;
        font-size: .72rem !important;
        font-weight: 800 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        color: var(--color-text) !important;
        font-size: .82rem !important;
        font-weight: 700 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col {
        padding: .18rem .7rem .28rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle {
        min-height: 1.75rem !important;
        font-size: .78rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col {
        padding: .38rem .7rem .5rem !important;
    }
}

/* =========================================================
   MOBILE SEARCH SELECT2 VALUE-ONLY FORMAT
   Mobile-only: default values show placeholder label; selected
   values show icon + selected value only. No separators.
========================================================= */
@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-separator,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-mobile-prefix {
        display: none !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-selection {
        display: inline-flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: .35rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-select2-value {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   MOBILE SEARCH SELECT2 ARROW CORRECTION V6
   Fixes optional More Filters controls without adding duplicate
   fallback arrows to controls whose Select2 arrow already exists.
========================================================= */
@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container--default .select2-selection--single,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container--bootstrap-5 .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container--default .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container--bootstrap-5 .select2-selection--single {
        position: relative !important;
        padding-right: 2rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-selection--single .select2-selection__arrow,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-selection--single .select2-selection__arrow {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: .45rem !important;
        width: 1rem !important;
        height: 1rem !important;
        margin-top: -.5rem !important;
        pointer-events: none !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-selection--single .select2-selection__arrow b,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-selection--single .select2-selection__arrow b {
            display: block !important;
            border-color: #6c757d transparent transparent transparent !important;
            border-style: solid !important;
            border-width: 5px 4px 0 4px !important;
            height: 0 !important;
            left: 50% !important;
            margin-left: -4px !important;
            margin-top: -2px !important;
            position: absolute !important;
            top: 50% !important;
            width: 0 !important;
        }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-selection--single:not(:has(.select2-selection__arrow b))::after,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-selection--single:not(:has(.select2-selection__arrow b))::after {
        content: "";
        position: absolute;
        top: 50%;
        right: .75rem;
        width: 0;
        height: 0;
        margin-top: -2px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #6c757d;
        pointer-events: none;
    }
}

/* =========================================================
   MOBILE SEARCH AESTHETIC REFINEMENT V1
   Mobile-only polish for the approved sticky/autosearch baseline.
   Desktop search and search execution are intentionally untouched.
========================================================= */

@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell {
        margin-bottom: .95rem !important;
    }

        /* Centered premium mobile search header */
        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle,
        .oz-mobile-search-proxy {
            display: grid !important;
            grid-template-columns: 2.9rem minmax(0, 1fr) 2.9rem !important;
            align-items: center !important;
            gap: .35rem !important;
            text-align: center !important;
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
            background: rgba(255,255,255,.97) !important;
            box-shadow: 0 .5rem 1.25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .105) !important;
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease !important;
        }

    body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
        display: grid !important;
    }

    .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle {
        min-height: 4.2rem !important;
        padding: .72rem .8rem !important;
        margin: .45rem 0 .7rem !important;
    }

    .oz-mobile-search-proxy {
        min-height: 3.95rem !important;
        padding: .62rem .8rem !important;
    }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle:hover,
        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle:focus,
        .oz-mobile-search-proxy:hover,
        .oz-mobile-search-proxy:focus {
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .22) !important;
            box-shadow: 0 .65rem 1.45rem rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
            outline: 0 !important;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-icon,
        .oz-mobile-search-proxy .oz-mobile-search-toggle-icon {
            width: 2.45rem !important;
            height: 2.45rem !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            justify-self: start !important;
            border-radius: 999px !important;
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
            color: var(--brand-primary, #052c65) !important;
            font-size: 1rem !important;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-copy,
        .oz-mobile-search-proxy .oz-mobile-search-toggle-copy {
            display: grid !important;
            gap: .18rem !important;
            min-width: 0 !important;
            justify-items: center !important;
            text-align: center !important;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-title,
        .oz-mobile-search-proxy .oz-mobile-search-toggle-title {
            display: block !important;
            color: var(--brand-primary, #052c65) !important;
            font-family: var(--font-heading);
            font-size: 1.05rem !important;
            font-weight: 850 !important;
            letter-spacing: -.01em !important;
            line-height: 1.12 !important;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-summary,
        .oz-mobile-search-proxy .oz-mobile-search-summary {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 0 !important;
            color: var(--color-text-muted, #64748b) !important;
            font-size: .82rem !important;
            font-weight: 550 !important;
            line-height: 1.22 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle .toggle-icon,
        .oz-mobile-search-proxy .toggle-icon {
            justify-self: end !important;
            width: 2.45rem !important;
            height: 2.45rem !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            color: var(--brand-primary, #052c65) !important;
            font-size: .9rem !important;
            transition: transform .22s ease !important;
        }

    /* Softer shell: less boxed, more app-like */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters > .oz-search-tabs-wrapper {
        padding: .55rem .65rem 0 !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .095) !important;
        background: rgba(255,255,255,.96) !important;
        box-shadow: 0 .35rem .95rem rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-panel,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-tab-content-container-style {
        padding-top: .28rem !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .095) !important;
        background: rgba(255,255,255,.965) !important;
        box-shadow: 0 .7rem 1.45rem rgba(var(--brand-primary-rgb, 5, 44, 101), .085) !important;
    }

    /* Premium segmented-control tabs: selected state, not CTA/button-primary */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs {
        gap: .22rem !important;
        padding: .18rem !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .11) !important;
        background: rgba(var(--brand-primary-rgb, 5, 44, 101), .035) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.8) !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link {
            min-height: 2.35rem !important;
            padding: .5rem .55rem !important;
            color: rgba(var(--brand-primary-rgb, 5, 44, 101), .58) !important;
            font-size: .86rem !important;
            font-weight: 720 !important;
            transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link .oz-search-tab-icon,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link .oz-search-tab-icon,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a .oz-search-tab-icon,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a .oz-search-tab-icon {
                opacity: .68 !important;
                transition: opacity .18s ease, color .18s ease !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li.active > a,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li.active > a,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a.active,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a.active,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link.active,
            .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link.active {
                background: rgba(255,255,255,.99) !important;
                color: var(--brand-primary, #052c65) !important;
                box-shadow: 0 .28rem .72rem rgba(var(--brand-primary-rgb, 5, 44, 101), .12), inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
            }

                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs .nav-link.active .oz-search-tab-icon,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs .nav-link.active .oz-search-tab-icon,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li.active > a .oz-search-tab-icon,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li.active > a .oz-search-tab-icon,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-tabs.nav-tabs > li > a.active .oz-search-tab-icon,
                .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-control-tabs.nav-tabs > li > a.active .oz-search-tab-icon {
                    opacity: 1 !important;
                    color: var(--brand-primary, #052c65) !important;
                }

    /* Filter fields: softer border and tighter vertical rhythm while preserving tap area */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field {
        gap: .32rem !important;
        padding: .52rem .8rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-control-label {
        font-size: .82rem !important;
        font-weight: 780 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-label-icon {
        color: var(--brand-primary, #052c65) !important;
        opacity: .96 !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .form-control,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters select.form-select,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection--single,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection--single {
        min-height: 2.38rem !important;
        height: 2.38rem !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .13) !important;
        border-radius: .68rem !important;
        background: rgba(255,255,255,.99) !important;
        box-shadow: 0 .06rem .22rem rgba(var(--brand-primary-rgb, 5, 44, 101), .035) !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__rendered,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection__rendered,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters.oz-mobile-more-filters-open .oz-mobile-filter-more .select2-container .select2-selection__rendered {
            line-height: 2.28rem !important;
            color: var(--color-text, #0f172a) !important;
            font-size: .88rem !important;
            font-weight: 700 !important;
        }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 2.28rem !important;
        }

    /* Subtle more/less filters row */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-more-toggle-col {
        padding: .55rem .85rem .65rem !important;
        border-top: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .06) !important;
        border-bottom: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .075) !important;
        background: rgba(var(--brand-primary-rgb, 5, 44, 101), .012) !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle {
        min-height: 2.1rem !important;
        color: var(--brand-primary, #052c65) !important;
        font-size: .86rem !important;
        font-weight: 800 !important;
        letter-spacing: -.005em !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle i,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-more-filters-toggle i {
            width: 2rem !important;
            height: 2rem !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin-right: .15rem !important;
            border-radius: 999px !important;
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
            font-size: .92rem !important;
        }

    /* Reset action: secondary utility, not CTA */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions-col {
        padding: .62rem .85rem .78rem !important;
        background: transparent !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions {
        gap: .35rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-reset,
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-secondary-action {
        width: auto !important;
        min-width: 7.4rem !important;
        max-width: 9rem !important;
        min-height: 2.42rem !important;
        height: 2.42rem !important;
        justify-self: start !important;
        background: rgba(255,255,255,.88) !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .22) !important;
        color: var(--brand-primary, #052c65) !important;
        box-shadow: none !important;
        font-size: .86rem !important;
        font-weight: 780 !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-reset:hover,
        .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-reset:focus {
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .35) !important;
            color: var(--brand-primary, #052c65) !important;
        }
}

@media (max-width: 359.98px) {
    .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle,
    .oz-mobile-search-proxy {
        grid-template-columns: 2.55rem minmax(0, 1fr) 2.55rem !important;
    }

        .search-control-wrapper.oz-search-shell .oz-mobile-search-toggle-title,
        .oz-mobile-search-proxy .oz-mobile-search-toggle-title {
            font-size: .98rem !important;
        }
}

/* =========================================================
   MOBILE SEARCH AESTHETIC V2 SAFETY FIXES
   - Keep floating proxy hidden until sticky controller enables it.
   - Prevent the aesthetic header grid rule from overriding .d-none.
========================================================= */
@media (max-width: 991.98px) {
    body:not(.oz-mobile-search-proxy-visible) .oz-mobile-search-proxy,
    .oz-mobile-search-proxy.d-none:not(.is-visible) {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-.35rem) !important;
    }

    body.oz-mobile-search-proxy-visible .oz-mobile-search-proxy {
        display: grid !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

/* =========================================================
   CRUISE CARD PREMIUM POLISH PASS
   Scoped to cruise result cards only.
   No markup or JavaScript changes required.
========================================================= */

.oz-cruise-list .cruise-result-card {
    border-color: rgba(5, 44, 101, .12);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .oz-cruise-list .cruise-result-card:hover,
    .oz-cruise-list .cruise-result-card:focus-within {
        transform: translateY(-3px);
        border-color: rgba(5, 44, 101, .24);
        box-shadow: 0 18px 40px rgba(15, 23, 42, .13);
    }

.oz-cruise-list .cruise-result-image-link {
    background: #eaf1fb;
}

.oz-cruise-list .cruise-result-image {
    transform: scale(1);
    transition: transform .45s ease, filter .45s ease;
}

.oz-cruise-list .cruise-result-card:hover .cruise-result-image,
.oz-cruise-list .cruise-result-card:focus-within .cruise-result-image {
    transform: scale(1.035);
    filter: saturate(1.06) contrast(1.03);
}

.oz-cruise-list .cruise-night-badge,
.oz-cruise-list .cruise-duration-badge,
.oz-cruise-list .badge {
    top: .85rem;
    left: .85rem;
    padding: .52rem .9rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    box-shadow: 0 8px 18px rgba(5, 44, 101, .24);
}

.oz-cruise-list .cruise-result-body {
    padding: 1.35rem 1.45rem 1.05rem;
}

.oz-cruise-list .cruise-brand-logo {
    max-height: 30px;
    object-fit: contain;
    object-position: left center;
}

.oz-cruise-list .cruise-result-title {
    margin: .75rem 0 .9rem;
    color: #101828;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -.018em;
}

.oz-cruise-list .cruise-meta-list {
    gap: .5rem .95rem;
    color: #667085;
}

    .oz-cruise-list .cruise-meta-list li {
        line-height: 1.25;
    }

    .oz-cruise-list .cruise-meta-list i,
    .oz-cruise-list .cruise-benefits i {
        color: var(--brand-primary);
        opacity: .95;
    }

.oz-cruise-list .cruise-benefits {
    padding-top: .85rem;
    font-size: .8rem;
    letter-spacing: -.005em;
}

.oz-cruise-list .cruise-result-price {
    border-top-color: rgba(5, 44, 101, .10);
    background: linear-gradient(180deg, rgba(248, 250, 252, .92), rgba(255, 255, 255, .96));
    padding: .95rem 1.25rem;
}

.oz-cruise-list .price-block,
.oz-cruise-list .quad-price {
    position: relative;
}

.oz-cruise-list .price-prefix {
    color: #667085;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.oz-cruise-list .price-main {
    color: var(--brand-primary);
    font-size: 1.62rem;
    font-weight: 900;
    letter-spacing: -.045em;
}

.oz-cruise-list .price-suffix,
.oz-cruise-list .quad-price {
    color: #667085;
    font-size: .77rem;
}

    .oz-cruise-list .quad-price strong {
        color: #101828;
        font-weight: 850;
    }

.oz-cruise-list .view-cruise-detail {
    min-height: 2.35rem;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    box-shadow: 0 8px 18px rgba(5, 44, 101, .20);
    letter-spacing: -.005em;
}

    .oz-cruise-list .view-cruise-detail:hover,
    .oz-cruise-list .view-cruise-detail:focus {
        background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(5, 44, 101, .28);
    }

@media (min-width: 1200px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .oz-cruise-list .cruise-result-image-link,
    .oz-cruise-list .cruise-result-image {
        min-height: 205px;
    }
}

@media (min-width: 1600px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .oz-cruise-list .cruise-result-image-link,
    .oz-cruise-list .cruise-result-image {
        min-height: 195px;
    }
}

@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-result-card {
        box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
    }

        .oz-cruise-list .cruise-result-card:hover,
        .oz-cruise-list .cruise-result-card:focus-within {
            transform: none;
        }

    .oz-cruise-list .cruise-result-body {
        padding: 1rem .95rem .9rem;
    }

    .oz-cruise-list .cruise-brand-logo {
        max-height: 26px;
    }

    .oz-cruise-list .cruise-result-title {
        margin: .7rem 0 .75rem;
        font-size: 1.08rem;
        line-height: 1.24;
    }

    .oz-cruise-list .cruise-meta-list {
        gap: .42rem;
        font-size: .82rem;
    }

    .oz-cruise-list .cruise-result-price {
        padding: .9rem .95rem .95rem;
        background: linear-gradient(180deg, #f8fafc, #ffffff);
    }

    .oz-cruise-list .price-block {
        align-content: flex-start;
    }

    .oz-cruise-list .price-prefix {
        font-size: .75rem;
    }

    .oz-cruise-list .price-main {
        font-size: 1.5rem;
    }

    .oz-cruise-list .view-cruise-detail {
        min-height: 2.45rem;
    }
}

@media (max-width: 479.98px) {
    .oz-cruise-list .cruise-result-image-link,
    .oz-cruise-list .cruise-result-image {
        min-height: 220px;
    }

    .oz-cruise-list .cruise-result-body {
        padding: 1rem;
    }
}


/* =========================================================
   PREMIUM BENEFIT BADGE REFINEMENT
========================================================= */

.oz-cruise-list .cruise-benefits,
.oz-cruise-list .cruise-benefit,
.oz-cruise-list .cruise-benefits li {
    margin-top: .55rem;
}

    .oz-cruise-list .cruise-benefits span,
    .oz-cruise-list .cruise-benefit span,
    .oz-cruise-list .cruise-benefits .benefit-text,
    .oz-cruise-list .cruise-benefits li {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .42rem .82rem;
        border-radius: 999px;
        background: linear-gradient(180deg, #fff8f4 0%, #fff2eb 100%);
        border: 1px solid rgba(245, 107, 71, .22);
        color: #d94841;
        font-size: .78rem;
        font-weight: 700;
        line-height: 1;
        box-shadow: 0 4px 10px rgba(245, 107, 71, .08);
        width: fit-content;
    }

    .oz-cruise-list .cruise-benefits i,
    .oz-cruise-list .cruise-benefit i {
        color: #e25544;
        font-size: .82rem;
        margin-right: .05rem;
    }

@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-benefits span,
    .oz-cruise-list .cruise-benefit span,
    .oz-cruise-list .cruise-benefits .benefit-text,
    .oz-cruise-list .cruise-benefits li {
        font-size: .74rem;
        padding: .4rem .72rem;
    }
}

/* =========================================================
   SEARCH RESULTS COUNT SUMMARY
   Normalises the cruise count generated by both standard and shell
   search renderers:
   - searchV2.B5.js: .label.label-info
   - searchV2.shell.B5.js: .badge.bg-info.oz-total-cruises-label
========================================================= */

.row-total-records {
    margin: 0 0 1.15rem !important;
    padding: 0 !important;
}

    .row-total-records > [class*="col-"],
    .row-total-records > .col-xs-12 {
        display: inline-flex !important;
        align-items: center !important;
        gap: .65rem !important;
        max-width: 100%;
        min-height: 3.1rem;
        padding: .72rem 1rem !important;
        border: 1px solid rgba(5, 44, 101, .10);
        border-radius: 999px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
        box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
        color: var(--color-text, #212529);
        font-family: var(--font-body, inherit);
        line-height: 1.2;
    }

        .row-total-records > [class*="col-"]::before,
        .row-total-records > .col-xs-12::before {
            content: "\f21a";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.15rem;
            height: 2.15rem;
            min-width: 2.15rem;
            border-radius: 999px;
            background: var(--brand-primary-light, #dce8ff);
            color: var(--brand-primary, #052c65);
            font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
            font-weight: 900;
            font-size: .95rem;
            line-height: 1;
        }

    .row-total-records span:first-child {
        color: var(--color-text, #212529);
        font-size: .95rem;
        font-weight: 700;
        letter-spacing: -.01em;
        white-space: nowrap;
    }

    .row-total-records .label,
    .row-total-records .label-info,
    .row-total-records .badge,
    .row-total-records .bg-info,
    .row-total-records .oz-total-cruises-label {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 2.15rem;
        min-height: 2.15rem;
        padding: .35rem .65rem !important;
        border: 1px solid rgba(5, 44, 101, .14) !important;
        border-radius: 999px !important;
        background: var(--brand-primary, #052c65) !important;
        color: var(--color-text-inverse, #ffffff) !important;
        font-family: var(--font-heading, inherit);
        font-size: 1rem !important;
        font-weight: 900 !important;
        letter-spacing: -.035em;
        line-height: 1 !important;
        box-shadow: 0 6px 14px rgba(5, 44, 101, .18);
    }

@media (max-width: 767.98px) {
    .row-total-records {
        margin-bottom: .9rem !important;
    }

        .row-total-records > [class*="col-"],
        .row-total-records > .col-xs-12 {
            width: 100%;
            min-height: 2.85rem;
            padding: .65rem .8rem !important;
            gap: .55rem !important;
            border-radius: var(--radius-lg, 20px);
        }

            .row-total-records > [class*="col-"]::before,
            .row-total-records > .col-xs-12::before {
                width: 1.95rem;
                height: 1.95rem;
                min-width: 1.95rem;
                font-size: .85rem;
            }

        .row-total-records span:first-child {
            font-size: .9rem;
            white-space: normal;
        }

        .row-total-records .label,
        .row-total-records .label-info,
        .row-total-records .badge,
        .row-total-records .bg-info,
        .row-total-records .oz-total-cruises-label {
            min-width: 2rem;
            min-height: 2rem;
            font-size: .95rem !important;
        }
}

/* =========================================================
   PAGE HEADER CLEANUP
   White-background compatible page title treatment.
   Removes the old divider/strip effect without introducing a grey canvas.
========================================================= */


.oz-page-header-row {
    background: transparent;
    border: 0;
    box-shadow: none;
}


/* =========================================================
   PAGE HEADER TRUE SOFT EDGE SURFACE
   Subtle white-to-grey edge softening only.
========================================================= */

.oz-page-header-row {
    overflow: hidden !important;
}

/* =========================================================
   PROMOTION BANNER B5 THEME
   Shared multi-site promotion/reassurance strip.
   Data comes from the banner service; appearance is theme-driven.
========================================================= */

:root {
    --oz-promo-bg: linear-gradient(90deg, #fffaf0 0%, #fff6df 52%, #f3e5c4 100%);
    --oz-promo-border: rgba(111, 91, 51, .18);
    --oz-promo-title: var(--color-text, #263445);
    --oz-promo-subtitle: var(--color-text-muted, #526071);
    --oz-promo-accent: #8a6d2f;
    --oz-promo-icon-bg: rgba(255, 255, 255, .74);
    --oz-promo-shadow: 0 .18rem .55rem rgba(29, 41, 57, .055);
}

.oz-promotion-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
}

    .oz-promotion-banner .container-fluid {
        padding-left: .5rem;
        padding-right: .5rem;
    }

.oz-promotion-strip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    min-height: 3.35rem;
    padding: .55rem 1.05rem;
    overflow: hidden;
    border: 1px solid var(--oz-promo-border);
    border-radius: var(--radius-md, .75rem);
    background: var(--oz-promo-bg);
    box-shadow: var(--oz-promo-shadow);
}

    .oz-promotion-strip::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at left center, rgba(255,255,255,.42), transparent 11rem), radial-gradient(circle at right center, rgba(255,255,255,.28), transparent 10rem);
    }

.oz-promotion-edge-fade {
    display: none;
}

.oz-promotion-main,
.oz-promotion-action {
    position: relative;
    z-index: 1;
}

.oz-promotion-main {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.oz-promotion-icon {
    width: 1.95rem;
    height: 1.95rem;
    flex: 0 0 1.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--oz-promo-icon-bg);
    border: 1px solid color-mix(in srgb, var(--oz-promo-accent) 24%, transparent);
}

.oz-promotion-tag-icon {
    position: relative;
    width: .82rem;
    height: .82rem;
    display: block;
    border: 1.6px solid var(--oz-promo-accent);
    border-radius: .17rem;
    transform: rotate(-35deg);
}

    .oz-promotion-tag-icon::before {
        content: "";
        position: absolute;
        top: .1rem;
        left: .1rem;
        width: .18rem;
        height: .18rem;
        border-radius: 50%;
        background: var(--oz-promo-accent);
    }

.oz-promotion-copy {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: .65rem;
    flex-wrap: wrap;
}

.oz-promotion-title {
    display: inline-block;
    color: var(--oz-promo-title) !important;
    font-family: var(--font-heading, inherit);
    font-size: clamp(.98rem, 1.05vw, 1.2rem);
    font-weight: 700;
    line-height: 1.18;
}

.oz-promotion-subtitle {
    display: inline-block;
    color: var(--oz-promo-subtitle) !important;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.25;
}

.oz-promotion-copy a,
.oz-promotion-copy a:hover,
.oz-promotion-copy a:focus,
.oz-promotion-action-link,
.oz-promotion-action-link:hover,
.oz-promotion-action-link:focus {
    text-decoration: none !important;
}

    .oz-promotion-copy a:hover,
    .oz-promotion-copy a:focus {
        color: var(--brand-primary, #052c65) !important;
    }

.oz-promotion-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.oz-promotion-action-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--brand-primary, #052c65);
    font-size: .84rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    padding: .35rem .25rem;
    transition: color .18s ease, transform .18s ease;
}

    .oz-promotion-action-link:hover,
    .oz-promotion-action-link:focus {
        color: var(--brand-primary-dark, #031c42);
        transform: translateX(2px);
    }

.oz-promotion-action-arrow {
    font-size: .95rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .oz-promotion-banner .container-fluid {
        padding-left: .35rem;
        padding-right: .35rem;
    }

    .oz-promotion-strip {
        min-height: auto;
        padding: .65rem .75rem;
        gap: .7rem;
    }

    .oz-promotion-main {
        align-items: flex-start;
        gap: .65rem;
    }

    .oz-promotion-copy {
        display: block;
    }

    .oz-promotion-subtitle {
        margin-top: .1rem;
    }

    .oz-promotion-icon {
        width: 1.85rem;
        height: 1.85rem;
        flex-basis: 1.85rem;
    }
}

@media (max-width: 575.98px) {
    .oz-promotion-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .oz-promotion-action {
        justify-content: flex-start;
        padding-left: 2.5rem;
    }
}

/* =========================================================
   LAYOUT B5 EXTRACTED CSS
   Moved from _Layout.BS5.cshtml.
   This is a CSS-only refactor; behavior and selectors are intentionally preserved.
========================================================= */

/* ---- Layout embedded CSS block 1 moved from _Layout.BS5.cshtml ---- */
html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: #f8f9fa;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

.oz-site-header {
    z-index: 1030;
}

    .oz-site-header #sticky-logo {
        min-width: 0;
    }

        .oz-site-header .top-left-sticky-logo-b5 img,
        .oz-site-header #sticky-logo img {
            max-height: 64px;
            width: auto;
            max-width: min(420px, 55vw);
            object-fit: contain;
        }


.oz-layout-main {
    max-width: 100%;
}

.oz-layout-content {
    min-width: 0;
}

.oz-content-shell {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 .125rem .5rem rgba(0,0,0,.04);
}


/* =========================================================
           PAGE HEADER INTEGRATION
           Keeps page titles white-background compatible while removing
           the patched/banded title-strip effect.
        ========================================================= */

.oz-page-header-row {
    margin-top: 0 !important;
    margin-bottom: .15rem !important;
    overflow: hidden !important;
    /* Ultimate requirement:
               - keep the header visually white
               - only soften the outer edges into the grey background
               - fade should be almost imperceptible; top/bottom fade intentionally very light
            */
    background: linear-gradient( 90deg, rgba(245,246,248,.28) 0%, rgba(255,255,255,.96) 3.5%, #ffffff 9%, #ffffff 91%, rgba(255,255,255,.96) 96.5%, rgba(245,246,248,.28) 100% ), linear-gradient( 180deg, rgba(245,246,248,.14) 0%, rgba(255,255,255,.995) 7%, #ffffff 16%, #ffffff 84%, rgba(255,255,255,.995) 93%, rgba(245,246,248,.14) 100% ) !important;
    border: 0 !important;
    box-shadow: none !important;
}

    .oz-page-header-row > .col-12 {
        min-width: 0;
    }

@media (max-width: 767.98px) {
    .oz-page-header-row {
        margin-bottom: .05rem !important;
        background: linear-gradient( 90deg, rgba(245,246,248,.22) 0%, rgba(255,255,255,.97) 4%, #ffffff 10%, #ffffff 90%, rgba(255,255,255,.97) 96%, rgba(245,246,248,.22) 100% ), linear-gradient( 180deg, rgba(245,246,248,.12) 0%, rgba(255,255,255,.995) 8%, #ffffff 18%, #ffffff 82%, rgba(255,255,255,.995) 92%, rgba(245,246,248,.12) 100% ) !important;
    }
}

.oz-promotion-wrapper {
    overflow: hidden;
}

.oz-sidebar-offcanvas {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    overflow: hidden;
}

.oz-site-footer {
    background: #06192d;
    border-top: 0;
    margin-top: 0 !important;
    padding: 0;
    width: 100%;
}

.navbar .dropdown-menu {
    border-radius: .75rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
}

@media (max-width: 991.98px) {
    .oz-content-shell {
        padding: .75rem;
        border-radius: .75rem;
    }

    .oz-layout-main {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .oz-sidebar-offcanvas {
        border-radius: 0;
    }
}

@media (min-width: 992px) {
    .oz-layout-sidebar {
        position: sticky;
        top: 6rem;
        align-self: flex-start;
    }
}

/* =========================================================
           GLOBAL FONT SETTINGS

           400 = normal body text
           500 = menus/navigation
           600 = headings/card titles
           700 = pricing/buttons/highlights

           Modern fallback stack ensures clean rendering even if
           Inter cannot load.
        ========================================================= */

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
}

/* Navigation / Menus */
.navbar,
.menu,
.nav-link {
    font-weight: 500;
}

/* Titles / Cruise Cards */
h1, h2, h3,
.card-title,
.cruise-title {
    font-weight: 600;
}

/* Prices / Buttons / Important CTA */
.price,
.btn,
.btn-primary {
    font-weight: 700;
}

/* ---- Layout embedded CSS block 2 moved from _Layout.BS5.cshtml ---- */
/* Header spacing refinement:
        keeps logo + top-right menu compact and places the primary nav directly below it. */
.oz-site-header {
    background: #fff;
}

    .oz-site-header > .container-fluid > .d-flex {
        min-height: 72px;
        padding-top: .35rem !important;
        padding-bottom: .35rem !important;
    }

    .oz-site-header #sticky-logo img,
    .oz-site-header .top-left-sticky-logo-b5 img {
        display: block;
        max-height: 62px;
        width: auto;
        object-fit: contain;
    }

    .oz-site-header .navbar {
        margin-top: 0 !important;
        border-top: 1px solid rgba(0,0,0,.08);
    }

        .oz-site-header .navbar .container-fluid {
            min-height: 48px;
        }

    .oz-site-header .navbar-nav .nav-link {
        padding-top: .75rem;
        padding-bottom: .75rem;
    }

    .oz-site-header + .oz-layout-main {
        padding-top: 1rem;
    }

@media (max-width: 991.98px) {
    .oz-site-header > .container-fluid > .d-flex {
        min-height: 60px;
    }

    .oz-site-header #sticky-logo img,
    .oz-site-header .top-left-sticky-logo-b5 img {
        max-height: 50px;
        max-width: 58vw;
    }
}

/* ---- Layout embedded CSS block 3 moved from _Layout.BS5.cshtml ---- */
/* Mobile header standard:
        keep only hamburger + logo in the header; move account/help links into offcanvas. */
@media (max-width: 991.98px) {
    .oz-site-header > .container-fluid > .d-flex {
        justify-content: flex-start !important;
    }

    .oz-mobile-top-menu #toprightmenu {
        width: 100%;
        align-items: stretch !important;
    }

        .oz-mobile-top-menu #toprightmenu > .nav-item {
            width: 100%;
        }

        .oz-mobile-top-menu #toprightmenu .oz-top-link,
        .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn) {
            width: 100%;
            justify-content: flex-start;
            padding: .75rem 0 !important;
            border-bottom: 1px solid rgba(0,0,0,.08);
            border-radius: 0;
        }

        .oz-mobile-top-menu #toprightmenu .oz-country-selector {
            min-width: 0;
            width: 100%;
            margin-bottom: .5rem;
        }
}

/* ---- Layout embedded CSS block 4 moved from _Layout.BS5.cshtml ---- */
/* Fixed full header:
        Use fixed instead of sticky because existing parent containers/page wrappers can break sticky positioning.
        This keeps logo/top-right menu and primary navigation visible on every device. */
:root {
    --oz-header-offset-desktop: 132px;
    --oz-header-offset-mobile: 76px;
}

.oz-site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    background: #fff;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .12);
}

body {
    padding-top: var(--oz-header-offset-desktop) !important;
}

.oz-site-header .navbar {
    background: #fff;
    position: relative;
    z-index: 1101;
}

.oz-site-header .dropdown-menu,
.oz-site-header .oz-account-dropdown {
    z-index: 1120 !important;
}

.oz-layout-main {
    position: relative;
    z-index: 1;
}

.oz-layout-sidebar {
    top: calc(var(--oz-header-offset-desktop) + 1rem) !important;
}

@media (max-width: 991.98px) {
    body {
        padding-top: var(--oz-header-offset-mobile) !important;
    }

    .oz-site-header .offcanvas {
        z-index: 1140;
    }

    .oz-site-header .offcanvas-backdrop {
        z-index: 1130;
    }
}

/* ---- Layout embedded CSS block 5 moved from _Layout.BS5.cshtml ---- */
/* Account dropdown above fixed header/content */
.oz-site-header,
.oz-site-header > .container-fluid,
.oz-site-header > .container-fluid > .d-flex,
.oz-site-header .navbar,
.oz-site-header .navbar-collapse,
.oz-site-header .top-rtnav,
.oz-site-header #toprightmenu,
.oz-site-header .oz-top-right-menu,
.oz-site-header .oz-account-menu {
    overflow: visible !important;
}

.oz-site-header {
    z-index: 5000 !important;
}

    .oz-site-header .oz-account-menu {
        position: relative;
        z-index: 5100 !important;
    }

    .oz-site-header .oz-account-dropdown,
    .oz-site-header #toprightmenu .dropdown-menu,
    .oz-site-header .dropdown-menu {
        position: absolute;
        z-index: 5200 !important;
    }

.oz-layout-main,
.oz-content-shell,
.oz-layout-content,
.oz-layout-sidebar {
    z-index: auto !important;
}

@media (max-width: 991.98px) {
    .oz-site-header .offcanvas {
        z-index: 5300 !important;
    }

    .offcanvas-backdrop {
        z-index: 5290 !important;
    }
}

/* ---- Layout embedded CSS block 6 moved from _Layout.BS5.cshtml ---- */
/* Final account dropdown layering fix.
        The top account dropdown was being covered by the second header row/primary nav.
        Put the logo/account row in a higher stacking layer than the menu row. */
.oz-site-header {
    isolation: isolate;
    overflow: visible !important;
    z-index: 7000 !important;
}

    .oz-site-header > .container-fluid {
        position: relative;
        z-index: 7030 !important;
        overflow: visible !important;
        background: #fff;
    }

        .oz-site-header > .container-fluid > .d-flex {
            position: relative;
            z-index: 7040 !important;
            overflow: visible !important;
            background: #fff;
        }

    .oz-site-header > nav.navbar {
        position: relative;
        z-index: 7010 !important;
        overflow: visible !important;
        background: #fff;
    }

    .oz-site-header .top-rtnav,
    .oz-site-header #toprightmenu,
    .oz-site-header .oz-top-right-menu,
    .oz-site-header .oz-account-menu {
        position: relative;
        z-index: 7050 !important;
        overflow: visible !important;
    }

        .oz-site-header .oz-account-dropdown,
        .oz-site-header #toprightmenu .dropdown-menu,
        .oz-site-header .oz-account-menu .dropdown-menu {
            z-index: 7060 !important;
        }

            .oz-site-header .oz-account-menu.show .oz-account-dropdown,
            .oz-site-header .oz-account-dropdown.show {
                display: block;
            }

.oz-layout-main,
.oz-layout-main * {
    z-index: auto;
}

/* ---- Layout embedded CSS block 7 moved from _Layout.BS5.cshtml ---- */
/* Sidebar/hero alignment without breaking the responsive mobile header/offcanvas */
.oz-layout-promotion {
    margin-bottom: 1rem;
    overflow: hidden;
}

.oz-layout-sidebar#sidebar {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-top: 0 !important;
}

.oz-layout-content {
    min-width: 0;
}

.oz-content-shell {
    padding-top: 0;
}

    .oz-content-shell #heroImage-container,
    .oz-content-shell > .container-fluid:first-child {
        margin-top: 0 !important;
    }

@media (min-width: 992px) {
    .oz-layout-sidebar {
        align-self: flex-start;
        position: sticky;
        top: calc(var(--oz-header-offset-desktop, 132px) + 1rem);
    }
}

/* Industry standard for this site layout:
        hide the left sidebar on tablet/mobile and rely on the responsive search/menu UI. */
@media (max-width: 991.98px) {
    .oz-layout-sidebar,
    #sidebar {
        display: none !important;
    }

    .oz-layout-main {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .oz-content-shell {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}

/* ---- Layout embedded CSS block 8 moved from _Layout.BS5.cshtml ---- */
/* Final sidebar alignment:
        - no empty promotion/banner space above the sidebar
        - sidebar starts at the same vertical position as the hero image
        - no legacy blue border/background around the sidebar
        - sidebar hidden on tablet/mobile */
.oz-layout-promotion {
    margin-bottom: 1rem;
    overflow: hidden;
}

.oz-layout-main {
    padding-left: .75rem;
    padding-right: .75rem;
}

    .oz-layout-main > .row {
        align-items: flex-start !important;
    }

.oz-layout-sidebar#sidebar,
#sidebar.oz-layout-sidebar,
#sidebar.sidebar-offcanvas {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}

    .oz-layout-sidebar#sidebar::before,
    .oz-layout-sidebar#sidebar::after,
    #sidebar.sidebar-offcanvas::before,
    #sidebar.sidebar-offcanvas::after {
        display: none !important;
        content: none !important;
    }

.oz-layout-sidebar .oz-sidebar {
    margin-top: 0 !important;
    border: 0 !important;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .08) !important;
}

.oz-layout-content,
.oz-layout-content-shell,
.oz-content-shell {
    min-width: 0;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

    .oz-layout-content-shell > .container-fluid:first-child,
    .oz-layout-content-shell #heroImage-container,
    .oz-content-shell > .container-fluid:first-child,
    .oz-content-shell #heroImage-container {
        margin-top: 0 !important;
    }

@media (min-width: 992px) {
    .oz-layout-sidebar {
        align-self: flex-start;
        position: sticky;
        top: calc(var(--oz-header-offset-desktop, 132px) + 1rem);
    }
}

@media (max-width: 991.98px) {
    .oz-layout-sidebar,
    #sidebar {
        display: none !important;
    }

    .oz-layout-main {
        padding-left: .5rem;
        padding-right: .5rem;
    }
}

/* ---- Layout embedded CSS block 9 moved from _Layout.BS5.cshtml ---- */
/* Sidebar top alignment fix only.
        The layout row uses Bootstrap .g-3, which adds top gutter space to columns.
        This removes the top gutter for the sidebar/content row while keeping horizontal spacing. */
.oz-layout-main > .row.g-3 {
    --bs-gutter-y: 0 !important;
    align-items: flex-start !important;
}

    .oz-layout-main > .row.g-3 > .oz-layout-sidebar,
    .oz-layout-main > .row.g-3 > .oz-layout-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

.oz-layout-sidebar#sidebar,
#sidebar.oz-layout-sidebar,
#sidebar.sidebar-offcanvas {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ---- Layout embedded CSS block 10 moved from _Layout.BS5.cshtml ---- */
/* FINAL sidebar gap fix.
        Root cause: legacy sidebar/offcanvas/site CSS is adding top spacing/border to the sidebar column
        or its first rendered child. This resets the sidebar column and its immediate children only,
        without affecting the hero/content column. */
@media (min-width: 992px) {
    .oz-layout-main > .row,
    .oz-layout-main > .row.g-3 {
        align-items: flex-start !important;
        --bs-gutter-y: 0 !important;
    }

        .oz-layout-main > .row > aside.oz-layout-sidebar,
        .oz-layout-main > .row > #sidebar,
        aside#sidebar.oz-layout-sidebar,
        #sidebar.sidebar-offcanvas {
            align-self: flex-start !important;
            margin-top: 0 !important;
            padding-top: 0 !important;
            top: auto !important;
            border: 0 !important;
            border-left: 0 !important;
            border-right: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            outline: 0 !important;
        }
            /* Remove top spacing from whatever the SideBar action renders first:
            legacy h3, modern .oz-sidebar, jstree/sidebar-tree, or old sidebar-ul. */
            aside#sidebar.oz-layout-sidebar > *,
            #sidebar.sidebar-offcanvas > *,
            #sidebar > h3:first-child,
            #sidebar > .oz-sidebar:first-child,
            #sidebar > .sidebar-tree:first-child,
            #sidebar > .sidebar-tree-generic:first-child,
            #sidebar > .sidebar-ul:first-child {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

    #sidebar > h3:first-child {
        padding-top: .95rem !important;
    }

    #sidebar .oz-sidebar {
        margin-top: 0 !important;
    }

    #sidebar .oz-sidebar-title:first-child,
    #sidebar h3:first-child {
        margin-top: 0 !important;
    }
    /* Remove old blue border that comes from legacy sidebar theme classes. */
    #sidebar,
    #sidebar *,
    #sidebar::before,
    #sidebar::after {
        border-color: rgba(0, 0, 0, .08);
    }

        #sidebar::before,
        #sidebar::after {
            display: none !important;
            content: none !important;
        }
}

@media (max-width: 991.98px) {
    .oz-layout-sidebar,
    #sidebar {
        display: none !important;
    }
}

/* ---- Layout embedded CSS block 11 moved from _Layout.BS5.cshtml ---- */
/* Tablet responsive layout fix:
        - hide sidebar on tablet and mobile
        - remove leftover sidebar space from Bootstrap columns
        - remove large gap before hero/content
        - centre cruise cards/results on tablet
        - prevent horizontal overflow after device rotation */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.oz-layout-main,
.oz-layout-content,
.oz-content-shell,
#cruise-items-scroll-area,
#cruise-items-scroll-area .scroll {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 1199.98px) {
    .oz-layout-sidebar,
    #sidebar,
    aside#sidebar,
    .sidebar-offcanvas {
        display: none !important;
        width: 0 !important;
        max-width: 0 !important;
        flex: 0 0 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    .oz-layout-content,
    .oz-layout-main > .row > .oz-layout-content,
    .oz-layout-main > .row > section {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: .65rem !important;
        padding-right: .65rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .oz-layout-main > .row,
    .oz-layout-main > .row.g-3 {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: flex-start !important;
    }

    .oz-layout-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .oz-content-shell,
    .oz-layout-content-shell,
    .content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

        .oz-content-shell #heroImage-container,
        .oz-layout-content-shell #heroImage-container,
        #heroImage-container {
            margin-top: 0 !important;
        }

    .oz-layout-promotion {
        display: none !important;
    }

    #cruise-items-scroll-area .scroll {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Common cruise result/card containers. These centre cards when the result grid
            uses fixed card widths that otherwise leave an ugly right-side gutter on tablet. */
    .cruise-list,
    .cruise-results,
    .cruise-search-results,
    .cruise-items,
    .cruise-item-list,
    .cruise-card-list,
    .search-results,
    .result-list,
    #cruise-items,
    #cruise-list,
    #cruise-results {
        display: flex;
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 1rem;
        width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
    }

        .cruise-list > *,
        .cruise-results > *,
        .cruise-search-results > *,
        .cruise-items > *,
        .cruise-item-list > *,
        .cruise-card-list > *,
        .search-results > *,
        .result-list > *,
        #cruise-items > *,
        #cruise-list > *,
        #cruise-results > * {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .oz-content-shell,
    .oz-layout-content-shell,
    .content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #cruise-items-scroll-area {
        display: flex;
        justify-content: center;
    }

        #cruise-items-scroll-area .scroll {
            width: 100%;
            max-width: 980px;
            margin-left: auto !important;
            margin-right: auto !important;
        }
}

@media (max-width: 767.98px) {
    .oz-layout-content,
    .oz-layout-main > .row > .oz-layout-content,
    .oz-layout-main > .row > section {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
}

/* ---- Layout embedded CSS block 12 moved from _Layout.BS5.cshtml ---- */
/* Tablet portrait infinite-scroll fix:
        Do not turn #cruise-items-scroll-area into a flex container.
        The jScroll/infinite paging plugin relies on normal document flow and height calculation.
        Flex centering on tablet portrait can prevent the scroll trigger from being reached. */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    #cruise-items-scroll-area {
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
    }

        #cruise-items-scroll-area .scroll {
            display: block !important;
            overflow: visible !important;
            height: auto !important;
            min-height: 0 !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-bottom: 150px !important;
        }

    .jscroll-inner,
    .jscroll-added {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .jscroll-next-parent,
    .jscroll-loading {
        clear: both;
        width: 100%;
        text-align: center;
    }
}

/* ---- Layout embedded CSS block 13 moved from _Layout.BS5.cshtml ---- */
/* Tablet header/offcanvas fix:
        iPad landscape does not have enough width for the logo + top-right links + full primary menu.
        Use the same compact header/offcanvas behaviour as mobile up to Bootstrap xl. */
@media (max-width: 1199.98px) {
    .oz-site-header > .container-fluid > .d-flex {
        justify-content: flex-start !important;
    }

    .oz-site-header .d-lg-none {
        display: inline-flex !important;
    }

    .oz-site-header .d-lg-flex,
    .oz-site-header .d-lg-block,
    .oz-site-header > nav.navbar.d-lg-block {
        display: none !important;
    }

    .oz-site-header #sticky-logo img,
    .oz-site-header .top-left-sticky-logo-b5 img {
        max-height: 52px;
        max-width: 58vw;
        object-fit: contain;
    }

    .oz-site-header .offcanvas {
        z-index: 5300 !important;
    }

    .offcanvas-backdrop {
        z-index: 5290 !important;
    }

    .offcanvas .oz-mobile-top-menu #toprightmenu {
        width: 100%;
        align-items: stretch !important;
    }

        .offcanvas .oz-mobile-top-menu #toprightmenu > .nav-item {
            width: 100%;
        }

        .offcanvas .oz-mobile-top-menu #toprightmenu .oz-top-link,
        .offcanvas .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn) {
            width: 100%;
            justify-content: flex-start;
            padding: .75rem 0 !important;
            border-bottom: 1px solid rgba(0,0,0,.08);
            border-radius: 0;
        }
}

@media (min-width: 1200px) {
    .oz-site-header .d-lg-none {
        display: none !important;
    }

    .oz-site-header .d-lg-flex {
        display: flex !important;
    }

    .oz-site-header .d-lg-block {
        display: block !important;
    }
}

/* ---- Layout embedded CSS block 14 moved from _Layout.BS5.cshtml ---- */
/* Footer must not be sticky/fixed.
        It should remain in normal document flow and appear only after page content. */
footer,
.oz-site-footer,
.footertwo,
.footerlinks,
.footercopyright,
.oz-footer-copyright {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: auto !important;
}

body {
    padding-bottom: 0 !important;
}

#cruise-items-scroll-area .scroll {
    padding-bottom: 150px;
}

/* ---- Layout embedded CSS block 15 moved from _Layout.BS5.cshtml ---- */
/* Hero/search layout only. Search visual styling is scoped in _Search.B5.cshtml.
           The hero image uses theme-controlled focal positioning so banner text is not cropped. */
.oz-hero-search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0 !important;
    overflow: hidden;
}

    .oz-hero-search-wrapper #heroImage-container {
        min-height: var(--hero-image-min-height-desktop, 330px);
        background: var(--background-muted, #f8fafc);
    }

    .oz-hero-search-wrapper #hero-image-link {
        display: block;
        min-height: var(--hero-image-min-height-desktop, 330px);
    }

    .oz-hero-search-wrapper #hero-image {
        display: block;
        width: 100%;
        height: 100%;
        min-height: var(--hero-image-min-height-desktop, 330px);
        max-height: none !important;
        object-fit: cover;
        object-position: var(--hero-image-position, left center);
    }

.oz-hero-search-panel {
    position: absolute;
    left: 50%;
    top: var(--hero-search-panel-offset-top, 12px);
    z-index: 20;
    width: min(1180px, calc(100% - 3rem));
    transform: translateX(-50%);
}

    .oz-hero-search-panel .search-control-wrapper {
        margin-bottom: 0 !important;
    }

@media (min-width: 1400px) {
    .oz-hero-search-wrapper #heroImage-container,
    .oz-hero-search-wrapper #hero-image-link,
    .oz-hero-search-wrapper #hero-image {
        min-height: var(--hero-image-min-height-wide, 360px);
    }

    .oz-hero-search-panel {
        top: var(--hero-search-panel-offset-top-wide, 14px);
    }
}

/* At tablet widths the search form can become taller than the hero.
           Put it back into normal flow so it cannot overlap page content. */
@media (max-width: 1199.98px) {
    .oz-hero-search-wrapper {
        overflow: visible;
    }

        .oz-hero-search-wrapper #heroImage-container,
        .oz-hero-search-wrapper #hero-image-link,
        .oz-hero-search-wrapper #hero-image {
            min-height: var(--hero-image-min-height-tablet, 260px);
            object-position: var(--hero-image-position-tablet, var(--hero-image-position, left center));
        }

    .oz-hero-search-panel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        transform: none;
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .oz-hero-search-wrapper {
        overflow: visible;
    }

        .oz-hero-search-wrapper #heroImage-container,
        .oz-hero-search-wrapper #hero-image-link,
        .oz-hero-search-wrapper #hero-image {
            min-height: 0 !important;
        }

        .oz-hero-search-wrapper #heroImage-container {
            display: none !important;
        }

    .oz-hero-search-panel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        transform: none;
        margin-top: 0;
    }
}

/* ---- Layout embedded CSS block 16 moved from _Layout.BS5.cshtml ---- */
/* Final modern header layout: utility links in the themed utility bar; logo and primary nav share one row.
           Colours are token-driven so each website theme can own its brand identity. */
.oz-site-header {
    background: var(--header-main-bg, #fff);
}

    .oz-site-header .oz-utility-bar {
        background: var(--top-right-menu-bg, var(--brand-primary-dark)) !important;
        color: var(--top-right-menu-text, var(--color-text-inverse)) !important;
        min-height: 40px;
    }

        .oz-site-header .oz-utility-bar a,
        .oz-site-header .oz-utility-bar .nav-link,
        .oz-site-header .oz-utility-bar button {
            color: var(--top-right-menu-text, var(--color-text-inverse)) !important;
        }

            .oz-site-header .oz-utility-bar a:hover,
            .oz-site-header .oz-utility-bar a:focus,
            .oz-site-header .oz-utility-bar .nav-link:hover,
            .oz-site-header .oz-utility-bar .nav-link:focus {
                color: var(--top-right-menu-hover-text, var(--color-text-inverse)) !important;
                background: var(--top-right-menu-hover-bg, rgba(255,255,255,.12)) !important;
            }

    .oz-site-header .oz-brand-nav-row {
        min-height: 80px;
    }

    .oz-site-header .oz-header-logo img,
    .oz-site-header #sticky-logo img,
    .oz-site-header .top-left-sticky-logo-b5 img {
        max-height: 58px;
        max-width: min(300px, 28vw);
        object-fit: contain;
    }

    .oz-site-header .oz-desktop-primary-nav {
        overflow: visible;
    }

        .oz-site-header .oz-desktop-primary-nav .oz-primary-nav {
            flex: 1 1 auto;
            min-width: 0;
            width: 100%;
            border: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }

            .oz-site-header .oz-desktop-primary-nav .oz-primary-nav > .container-fluid {
                padding-left: 1rem !important;
                padding-right: 0 !important;
            }

            .oz-site-header .oz-desktop-primary-nav .oz-primary-nav .navbar-collapse {
                display: flex !important;
            }

            .oz-site-header .oz-desktop-primary-nav .oz-primary-nav .navbar-nav.secondary-nav-b5 {
                flex-wrap: nowrap !important;
                justify-content: flex-start !important;
                width: 100% !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                overflow: visible;
            }

            .oz-site-header .oz-desktop-primary-nav .oz-primary-nav .nav-link {
                padding-top: .85rem !important;
                padding-bottom: .85rem !important;
                padding-left: .85rem !important;
                padding-right: .85rem !important;
                font-size: .95rem !important;
            }

            .oz-site-header .oz-desktop-primary-nav .oz-primary-nav .navbar-toggler {
                display: none !important;
            }

@media (min-width: 1200px) {
    .oz-site-header .oz-mobile-menu-trigger {
        display: none !important;
    }
}

@media (max-width: 1199.98px) {
    .oz-site-header .oz-brand-nav-row {
        min-height: 58px;
        justify-content: flex-start !important;
    }

    .oz-site-header .oz-header-logo img,
    .oz-site-header #sticky-logo img,
    .oz-site-header .top-left-sticky-logo-b5 img {
        max-height: 52px;
        max-width: 58vw;
    }
}

/* =========================================================
           PREMIUM FLOATING MOBILE TOPBAR
           Mobile-only header surface for hamburger + logo.
           Desktop and tablet navigation remain unchanged.
        ========================================================= */

@media (max-width: 767.98px) {
    .oz-site-header {
        background: var(--background-body, #f5f6f8) !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        padding-top: max(.15rem, env(safe-area-inset-top, 0px));
    }

        .oz-site-header .oz-brand-nav-container {
            padding-left: .65rem !important;
            padding-right: .65rem !important;
        }

        .oz-site-header .oz-brand-nav-row {
            position: relative;
            min-height: 58px;
            margin: 0 0 .45rem;
            padding: .42rem .7rem !important;
            gap: 0 !important;
            justify-content: center !important;
            background: rgba(255, 255, 255, .98);
            border: 1px solid rgba(5, 44, 101, .10);
            border-radius: .95rem;
            box-shadow: 0 .65rem 1.25rem rgba(15, 23, 42, .11);
        }

        .oz-site-header .oz-mobile-menu-trigger {
            position: absolute;
            left: .7rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
        }

        .oz-site-header .oz-header-logo,
        .oz-site-header #sticky-logo {
            min-width: 0;
            flex: 0 1 auto;
            margin-inline: auto;
            text-align: center;
        }

        .oz-site-header .top-left-sticky-logo-b5 {
            max-width: 100%;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            .oz-site-header .oz-header-logo img,
            .oz-site-header #sticky-logo img,
            .oz-site-header .top-left-sticky-logo-b5 img {
                max-height: 36px;
                max-width: min(210px, 58vw);
                width: auto;
                object-fit: contain;
            }
}

/* ---- Layout embedded CSS block 17 moved from _Layout.BS5.cshtml ---- */
/* Mobile header/offcanvas controls only.
           Scoped to the site header and #ozMobileMenu so this cannot affect other buttons. */
.oz-site-header .oz-mobile-menu-trigger,
#ozMobileMenu .oz-mobile-menu-close-body {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid var(--color-border, #dee2e6) !important;
    background: var(--background-card, #ffffff) !important;
    color: var(--brand-primary, #052c65) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,0.05)) !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

    .oz-site-header .oz-mobile-menu-trigger:hover,
    .oz-site-header .oz-mobile-menu-trigger:focus,
    #ozMobileMenu .oz-mobile-menu-close-body:hover,
    #ozMobileMenu .oz-mobile-menu-close-body:focus {
        border-color: var(--brand-primary, #052c65) !important;
        background: var(--brand-primary-light, #dce8ff) !important;
        color: var(--brand-primary-dark, #031c42) !important;
        box-shadow: var(--shadow-md, 0 8px 20px rgba(0,0,0,0.12)) !important;
        transform: translateY(-1px);
    }

    .oz-site-header .oz-mobile-menu-trigger i,
    #ozMobileMenu .oz-mobile-menu-close-body i {
        font-size: 1.15rem;
        line-height: 1;
    }

@media (min-width: 1200px) {
    .oz-site-header .oz-mobile-menu-trigger,
    #ozMobileMenu .oz-mobile-menu-close-body {
        display: none !important;
    }
}

/* ---- Layout embedded CSS block 18 moved from _Layout.BS5.cshtml ---- */
/* Phase 1 fix: Select2 compatibility after removing Metronic select2-bootstrap.css.
           Some existing scripts still initialise Select2 with theme: 'bootstrap'. */
.select2-container--bootstrap .select2-selection--single,
.select2-container--default .select2-selection--single {
    min-height: calc(1.5em + .75rem + 2px);
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background-color: #fff;
    display: flex;
    align-items: center;
}

    .select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #212529;
        line-height: 1.5;
        padding-left: .75rem;
        padding-right: 2rem;
    }

    .select2-container--bootstrap .select2-selection--single .select2-selection__arrow,
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100%;
        width: 2rem;
        right: .25rem;
        top: 0;
        position: absolute;
    }

        .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b,
        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #6c757d transparent transparent transparent;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            height: 0;
            left: 50%;
            margin-left: -4px;
            margin-top: -2px;
            position: absolute;
            top: 50%;
            width: 0;
        }

.select2-container--bootstrap.select2-container--open .select2-selection--single .select2-selection__arrow b,
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #6c757d transparent;
    border-width: 0 4px 5px 4px;
}

.select2-container--bootstrap.select2-container--focus .select2-selection--single,
.select2-container--bootstrap.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.select2-dropdown,
.select2-container--open {
    z-index: 8000 !important;
}

/* TravelPay / hosted payment widgets must sit above any legacy jQuery BlockUI veil. */
.zp-payment,
.zp-payment-modal,
.zp-payment-dialog,
.zenpay-payment,
.zenpay-modal,
.ui-dialog,
.ui-widget-overlay {
    z-index: 10050 !important;
}

.blockUI.blockOverlay.ccPayment-blockOverlay {
    z-index: 9000 !important;
}

/* ---- Layout embedded CSS block 19 moved from _Layout.BS5.cshtml ---- */
.oz-page-tab-icon {
    padding: .35rem .55rem !important;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 1rem;
    line-height: 1;
}

    .oz-page-tab-icon:hover,
    .oz-page-tab-icon:focus,
    .oz-page-tab-icon.active {
        color: #0f172a !important;
        background: transparent !important;
    }

    .oz-page-tab-icon i {
        vertical-align: middle;
    }

.oz-tabbable-line,
.oz-tabbable-line .nav-tabs {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ---- Layout embedded CSS block 20 moved from _Layout.BS5.cshtml ---- */
/* Mobile auth mirror.
        The mobile menu mirrors the DESKTOP auth state instead of rendering its own stale server-side auth block. */
#ozMobileAuthMirror .oz-mobile-auth-links,
#ozMobileAuthMirror .oz-mobile-account-clone {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(0,0,0,.08);
}

    #ozMobileAuthMirror .oz-mobile-auth-links a,
    #ozMobileAuthMirror .oz-mobile-account-dropdown a {
        display: flex;
        align-items: center;
        gap: .65rem;
        padding: .65rem .75rem;
        border-radius: .5rem;
        color: #212529;
        text-decoration: none;
    }

        #ozMobileAuthMirror .oz-mobile-auth-links a:hover,
        #ozMobileAuthMirror .oz-mobile-auth-links a:focus,
        #ozMobileAuthMirror .oz-mobile-account-dropdown a:hover,
        #ozMobileAuthMirror .oz-mobile-account-dropdown a:focus {
            background: rgba(var(--bs-primary-rgb), .08);
            color: var(--bs-primary);
        }

    #ozMobileAuthMirror .oz-mobile-auth-links .btn {
        justify-content: flex-start;
    }

#ozMobileAuthMirror .oz-mobile-account-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: space-between;
    border-radius: .75rem;
    min-height: 42px;
}

#ozMobileAuthMirror .oz-mobile-account-dropdown {
    width: 100%;
    margin-top: .5rem;
    padding: .5rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .75rem;
    background: #fff;
}

#ozMobileAuthMirror .oz-mobile-account-button[aria-expanded="true"] .oz-mobile-account-chevron {
    transform: rotate(180deg);
}

#ozMobileAuthMirror .oz-mobile-account-chevron {
    transition: transform .15s ease-in-out;
}

/* ---- Layout embedded CSS block 21 moved from _Layout.BS5.cshtml ---- */
/* Forced mobile logged-out state after logout click */
#ozMobileAuthMirror .oz-mobile-auth-links {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(0,0,0,.08);
}

    #ozMobileAuthMirror .oz-mobile-auth-links a {
        display: flex;
        align-items: center;
        gap: .65rem;
        padding: .65rem .75rem;
        border-radius: .5rem;
        color: #212529;
        text-decoration: none;
    }

        #ozMobileAuthMirror .oz-mobile-auth-links a:hover,
        #ozMobileAuthMirror .oz-mobile-auth-links a:focus {
            background: rgba(var(--bs-primary-rgb), .08);
            color: var(--bs-primary);
        }

    #ozMobileAuthMirror .oz-mobile-auth-links .btn {
        justify-content: flex-start;
    }

/* =========================================================
   SHARED SELECT2 DROPDOWN FALLBACKS
   Kept global because Select2 is used by multiple pages/components.
========================================================= */

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.select2-results__option {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd;
    color: #fff;
}


/* =========================================================
   MOBILE HEADER HAMBURGER POSITION FIX
   Keeps the absolute-positioned hamburger vertically centered even
   when Bootstrap focus/hover states are active after the menu opens.
========================================================= */
@media (max-width: 767.98px) {
    .oz-site-header .oz-brand-nav-row > .oz-mobile-menu-trigger,
    .oz-site-header .oz-brand-nav-row > .oz-mobile-menu-trigger:hover,
    .oz-site-header .oz-brand-nav-row > .oz-mobile-menu-trigger:focus,
    .oz-site-header .oz-brand-nav-row > .oz-mobile-menu-trigger:active,
    .oz-site-header .oz-brand-nav-row > .oz-mobile-menu-trigger.show,
    .oz-site-header .oz-brand-nav-row > .oz-mobile-menu-trigger[aria-expanded="true"] {
        position: absolute !important;
        left: .7rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
}


/* =========================================================
   MOBILE SEARCH ACTION ROW + COMPACT FIELD SPACING
   Concrete fix for SearchParametersB5 mobile rendering.
   - Overrides the generic mobile field grid for the action column.
   - Keeps More Filters and Reset in one full-width row.
   - Lets More Filters take remaining space and Reset stay fixed right.
   - Mobile/tablet only; desktop remains unchanged.
========================================================= */
@media (max-width: 991.98px) {
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options > .row,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options > .row {
        --bs-gutter-y: .38rem !important;
        row-gap: .38rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-mobile-search-field {
        padding-top: .16rem !important;
        padding-bottom: .16rem !important;
    }

    /* Critical: the generic mobile rule makes every column a two-column grid.
       The action column must not be a grid, otherwise the row is squeezed and
       More Filters gets clipped. */
    .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-search-actions-col,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .search-filter-options .row > .oz-search-actions-col {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: .45rem .85rem .6rem !important;
        margin: 0 !important;
        border-top: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .065) !important;
        border-bottom: 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: .65rem !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row .oz-mobile-more-filters-toggle,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row .oz-mobile-more-filters-toggle {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            flex: 1 1 auto !important;
            width: auto !important;
            min-width: 0 !important;
            max-width: 100% !important;
            height: 2.35rem !important;
            min-height: 2.35rem !important;
            margin: 0 !important;
            padding: 0 .25rem 0 0 !important;
            border: 0 !important;
            background: transparent !important;
            color: var(--brand-primary, #052c65) !important;
            font-size: .86rem !important;
            font-weight: 800 !important;
            line-height: 1 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            box-shadow: none !important;
        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row .oz-mobile-more-filters-toggle i,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row .oz-mobile-more-filters-toggle i {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                flex: 0 0 2rem !important;
                width: 2rem !important;
                height: 2rem !important;
                margin-right: .35rem !important;
                border-radius: 999px !important;
                background: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
                font-size: .92rem !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row .oz-mobile-more-filters-toggle span,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row .oz-mobile-more-filters-toggle span {
                display: inline-block !important;
                min-width: 0 !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                white-space: nowrap !important;
            }

        .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row #btn-search-reset,
        .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row #btn-search-reset {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 auto !important;
            width: auto !important;
            min-width: 5.35rem !important;
            max-width: none !important;
            height: 2.35rem !important;
            min-height: 2.35rem !important;
            margin: 0 0 0 auto !important;
            padding: 0 .85rem !important;
            border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .22) !important;
            border-radius: var(--radius-md, .75rem) !important;
            background: rgba(255,255,255,.9) !important;
            color: var(--brand-primary, #052c65) !important;
            box-shadow: none !important;
            font-size: .84rem !important;
            font-weight: 800 !important;
            line-height: 1 !important;
            white-space: nowrap !important;
        }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row #btn-search-reset i,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row #btn-search-reset i {
                flex: 0 0 auto !important;
                margin-right: .35rem !important;
            }

            .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row #btn-search-reset span,
            .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-mobile-search-actions-row #btn-search-reset span {
                white-space: nowrap !important;
            }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters .oz-search-actions {
        display: grid !important;
        gap: .35rem !important;
        width: 100% !important;
        margin-top: .35rem !important;
    }

    .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-cruise.d-none,
    .oz-hero-search-panel .search-control-wrapper.oz-search-shell #mobileSearchFilters #btn-search-cruise.d-none {
        display: none !important;
    }
}


/* iOS/Safari safeguard: make sure reused loader animations are actively running when visible. */
.oz-b5-loading-overlay.is-visible .oz-b5-loading-spinner::before,
.oz-b5-loading-overlay.is-visible .oz-b5-loading-spinner span {
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =========================================================
   B5 GLOBAL LOADER - IOS SAFARI ANIMATION FALLBACK
   Purpose:
   - iPhone/iPad Safari can throttle the rotating border animation during
     form submit/navigation.
   - Keep desktop/Android on the existing spinner.
   - Only Apple WebKit devices receive oz-b5-loading-overlay--static-fallback
     from ozcruising.template.b5.js.
========================================================= */

.oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary-light, #dce8ff), #ffffff);
    box-shadow: inset 0 0 0 1px rgba(var(--brand-primary-rgb, 5, 44, 101), .10), 0 .45rem 1rem rgba(var(--brand-primary-rgb, 5, 44, 101), .10);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

    .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner::before,
    .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner::after {
        content: none !important;
        display: none !important;
        -webkit-animation: none !important;
        animation: none !important;
    }

    .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner span {
        position: static !important;
        display: inline-block;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        width: .48rem;
        height: .48rem;
        border-radius: 999px;
        background: var(--brand-primary, #052c65);
        opacity: .35;
        -webkit-animation-name: ozB5LoaderAppleDot !important;
        animation-name: ozB5LoaderAppleDot !important;
        -webkit-animation-duration: 1s !important;
        animation-duration: 1s !important;
        -webkit-animation-timing-function: ease-in-out !important;
        animation-timing-function: ease-in-out !important;
        -webkit-animation-iteration-count: infinite !important;
        animation-iteration-count: infinite !important;
        will-change: opacity, transform;
    }

        .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner span:nth-child(1) {
            -webkit-animation-delay: 0s !important;
            animation-delay: 0s !important;
        }

        .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner span:nth-child(2) {
            -webkit-animation-delay: .14s !important;
            animation-delay: .14s !important;
        }

        .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner span:nth-child(3) {
            -webkit-animation-delay: .28s !important;
            animation-delay: .28s !important;
        }

@-webkit-keyframes ozB5LoaderAppleDot {
    0%, 80%, 100% {
        -webkit-transform: translateY(0) scale(.88);
        transform: translateY(0) scale(.88);
        opacity: .35;
    }

    40% {
        -webkit-transform: translateY(-.34rem) scale(1);
        transform: translateY(-.34rem) scale(1);
        opacity: .95;
    }
}

@keyframes ozB5LoaderAppleDot {
    0%, 80%, 100% {
        -webkit-transform: translateY(0) scale(.88);
        transform: translateY(0) scale(.88);
        opacity: .35;
    }

    40% {
        -webkit-transform: translateY(-.34rem) scale(1);
        transform: translateY(-.34rem) scale(1);
        opacity: .95;
    }
}

@media (max-width: 575.98px) {
    .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner {
        width: 3.45rem;
        height: 3.45rem;
        gap: .36rem;
    }

        .oz-b5-loading-overlay--static-fallback .oz-b5-loading-spinner span {
            width: .42rem;
            height: .42rem;
        }
}

/* =========================================================
   CRUISE RESULT MAP SOURCE-RATIO PANEL
   Final card construction for _DataTable.B5.cshtml.

   The cruise small-map thumbnails are 200 x 225. The map panel
   now uses that same ratio, so the image fills the placeholder
   without truncation, distortion, contain gaps, or blurred fillers.
========================================================= */

.oz-cruise-list .cruise-result-card {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
}

.oz-cruise-list .cruise-map-panel {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 200 / 225;
    height: auto;
    min-height: 0;
    align-self: start;
    overflow: hidden;
    background: #eaf1fb;
    color: inherit;
    text-decoration: none;
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: 0;
}

.oz-cruise-list .cruise-map-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: fill;
    object-position: center;
    background: #eaf1fb;
    transform: none;
    transition: none;
}

.oz-cruise-list .cruise-result-card:hover .cruise-map-image,
.oz-cruise-list .cruise-result-card:focus-within .cruise-map-image {
    transform: none;
    filter: none;
}

.oz-cruise-list .cruise-result-body {
    align-self: center;
}

@media (min-width: 1200px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .oz-cruise-list .cruise-map-panel,
    .oz-cruise-list .cruise-map-image {
        min-height: 0;
    }
}

@media (min-width: 1600px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 1199.98px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .oz-cruise-list .cruise-map-panel,
    .oz-cruise-list .cruise-map-image {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .oz-cruise-list .cruise-map-panel,
    .oz-cruise-list .cruise-map-image {
        min-height: 0;
    }

    .oz-cruise-list .cruise-result-body {
        align-self: start;
    }
}

@media (max-width: 479.98px) {
    .oz-cruise-list .cruise-result-card {
        grid-template-columns: 1fr;
    }

    .oz-cruise-list .cruise-map-panel {
        width: 100%;
        aspect-ratio: 200 / 225;
        min-height: 0;
        border-top-right-radius: var(--radius-lg);
        border-bottom-left-radius: 0;
    }

    .oz-cruise-list .cruise-map-image {
        min-height: 0;
    }
}

/* =========================================================
   CRUISE CARD THEME-SAFE PREMIUM POLISH
   Visual-only refinement. No hard-coded brand colours.
   Keeps current map/image rendering untouched.
========================================================= */

/* Card surface */
.oz-cruise-list .cruise-result-card {
    border-color: color-mix(in srgb, var(--brand-primary) 14%, var(--color-border));
    background: var(--background-card);
    box-shadow: var(--shadow-sm), 0 .65rem 1.45rem color-mix(in srgb, var(--brand-primary) 10%, transparent);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .oz-cruise-list .cruise-result-card:hover,
    .oz-cruise-list .cruise-result-card:focus-within {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--brand-primary) 26%, var(--color-border));
        box-shadow: var(--shadow-md), 0 1rem 2rem color-mix(in srgb, var(--brand-primary) 14%, transparent);
    }

/* Subtle image/content separation without altering image ratio */
.oz-cruise-list .cruise-result-image-link {
    background: var(--brand-primary-light);
    box-shadow: inset -1px 0 0 color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

/* Themed night badge */
.oz-cruise-list .cruise-night-badge,
.oz-cruise-list .cruise-duration-badge,
.oz-cruise-list .badge {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-sm), 0 .45rem 1rem color-mix(in srgb, var(--brand-primary-dark) 28%, transparent);
}

/* Content hierarchy */
.oz-cruise-list .cruise-result-body {
    padding: 1.3rem 1.4rem 1.05rem;
}

.oz-cruise-list .cruise-brand-logo {
    max-height: 30px;
    object-position: left center;
}

.oz-cruise-list .cruise-result-title {
    color: var(--color-text);
    font-weight: 850;
    letter-spacing: -.015em;
}

.oz-cruise-list .cruise-meta-list {
    color: var(--color-text-muted);
}

    .oz-cruise-list .cruise-meta-list i,
    .oz-cruise-list .cruise-benefits i {
        color: var(--brand-primary);
    }

/* Theme-safe benefit pill */
.oz-cruise-list .cruise-benefits span,
.oz-cruise-list .cruise-benefit span,
.oz-cruise-list .cruise-benefits .benefit-text,
.oz-cruise-list .cruise-benefits li {
    border-color: color-mix(in srgb, var(--brand-danger, var(--brand-primary)) 18%, var(--color-border));
    background: color-mix(in srgb, var(--brand-danger, var(--brand-primary)) 7%, var(--background-card));
    color: var(--brand-danger, var(--brand-primary));
    box-shadow: 0 .25rem .75rem color-mix(in srgb, var(--brand-danger, var(--brand-primary)) 8%, transparent);
}

/* Theme-safe price footer */
.oz-cruise-list .cruise-result-price {
    border-top-color: color-mix(in srgb, var(--brand-primary) 12%, var(--color-border));
    background: linear-gradient( 180deg, color-mix(in srgb, var(--background-muted) 78%, var(--background-card)) 0%, var(--background-card) 100% );
}

.oz-cruise-list .price-prefix,
.oz-cruise-list .price-suffix,
.oz-cruise-list .quad-price {
    color: var(--color-text-muted);
}

.oz-cruise-list .price-main {
    color: var(--brand-primary);
    font-weight: 900;
}

.oz-cruise-list .quad-price strong {
    color: var(--color-text);
}

/* Theme-safe CTA */
.oz-cruise-list .view-cruise-detail {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: var(--color-text-inverse) !important;
    box-shadow: var(--shadow-sm), 0 .45rem 1rem color-mix(in srgb, var(--brand-primary-dark) 22%, transparent);
}

    .oz-cruise-list .view-cruise-detail:hover,
    .oz-cruise-list .view-cruise-detail:focus {
        background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
        box-shadow: var(--shadow-md), 0 .7rem 1.35rem color-mix(in srgb, var(--brand-primary-dark) 28%, transparent);
    }

/* Mobile safety */
@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-result-card:hover,
    .oz-cruise-list .cruise-result-card:focus-within {
        transform: none;
    }

    .oz-cruise-list .cruise-result-body {
        padding: .95rem;
    }
}

/* =========================================================
   CRUISE CARD THEME-SAFE SPACING REFINEMENT
   Light polish only. Keeps map/image rendering untouched.
========================================================= */

/* Keep the body compact and intentional without changing the card structure. */
.oz-cruise-list .cruise-result-body {
    padding-top: 1.2rem;
    padding-bottom: .95rem;
}

/* Tighten the logo/title/meta rhythm. */
.oz-cruise-list .cruise-result-title {
    margin-top: .68rem;
    margin-bottom: .78rem;
}

.oz-cruise-list .cruise-meta-list {
    margin-bottom: .55rem;
    gap: .46rem .9rem;
}

/* Pull the benefit pill up slightly so it does not feel detached. */
.oz-cruise-list .cruise-benefits {
    margin-top: .35rem;
    padding-top: .45rem;
}

/* Refine the footer spacing/alignment without changing layout. */
.oz-cruise-list .cruise-result-price {
    padding-top: .82rem;
    padding-bottom: .9rem;
}

.oz-cruise-list .price-block {
    gap: .42rem;
}

.oz-cruise-list .quad-price {
    align-self: center;
}

/* Keep CTA visually aligned with the price row. */
.oz-cruise-list .view-cruise-detail {
    min-height: 2.3rem;
}

/* Responsive safety: preserve compact rhythm on tablet/mobile. */
@media (max-width: 767.98px) {
    .oz-cruise-list .cruise-result-body {
        padding-top: .9rem;
        padding-bottom: .85rem;
    }

    .oz-cruise-list .cruise-result-title {
        margin-top: .58rem;
        margin-bottom: .62rem;
    }

    .oz-cruise-list .cruise-meta-list {
        gap: .36rem;
        margin-bottom: .45rem;
    }

    .oz-cruise-list .cruise-benefits {
        margin-top: .25rem;
        padding-top: .35rem;
    }
}


/* =========================================================
   CRUISE CARD META FIX
   Prevent truncation on 2-card desktop layouts
========================================================= */
@media (min-width: 1200px) {
    .oz-cruise-list .cruise-meta-list {
        grid-template-columns: 1fr;
    }

        .oz-cruise-list .cruise-meta-list li {
            min-width: 0;
            max-width: 100%;
        }

        .oz-cruise-list .cruise-meta-list span {
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
}

/* =========================================================
   FLATPICKR BOOTSTRAP 5 THEME INTEGRATION
   Theme-driven Flatpickr styling.
   Brand colours, radius, shadows, and typography are controlled
   through site/theme CSS variables such as theme-ozcruising.css.
========================================================= */

.flatpickr-input.form-control,
input.flatpickr-input.form-control {
    min-height: calc(1.5em + .75rem + 2px);
    height: auto;
    padding: .375rem .75rem;
    font-size: var(--oz-font-md, 1rem);
    line-height: 1.5;
    border-radius: var(--radius-sm, .375rem);
}

.flatpickr-alt-input.form-control {
    min-height: calc(1.5em + .75rem + 2px);
    height: auto;
    padding: .375rem .75rem;
    font-size: var(--oz-font-md, 1rem);
    line-height: 1.5;
    border-radius: var(--radius-sm, .375rem);
}

.flatpickr-calendar {
    border: 1px solid var(--color-border, #dee2e6);
    border-radius: var(--radius-lg, 1rem);
    background: var(--background-card, var(--color-surface, #ffffff));
    box-shadow: var(--shadow-md, 0 .5rem 1rem rgba(0,0,0,.15));
    color: var(--color-text, #212529);
    font-family: var(--font-body, inherit);
    overflow: hidden;
}

    .flatpickr-calendar.arrowTop::before,
    .flatpickr-calendar.arrowTop::after,
    .flatpickr-calendar.arrowBottom::before,
    .flatpickr-calendar.arrowBottom::after {
        border-bottom-color: var(--brand-primary, #052c65);
        border-top-color: var(--brand-primary, #052c65);
    }

.flatpickr-months,
.flatpickr-month {
    background: var(--brand-primary, #052c65);
    color: var(--color-text-inverse, #ffffff);
}

.flatpickr-current-month,
.flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months {
    color: var(--color-text-inverse, #ffffff) !important;
    font-family: var(--font-heading, var(--font-body, inherit));
    font-weight: 700;
}

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        background: var(--brand-primary, #052c65);
    }

        /* Native month dropdown options should remain readable while the browser paints
   the select popup. Keep the closed select themed, but render the option list
   with normal surface/text colours for reliable Chrome/Edge/Safari behaviour. */
        .flatpickr-current-month .flatpickr-monthDropdown-months option,
        .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
            background: var(--background-card, var(--color-surface, #ffffff)) !important;
            color: var(--color-text, #212529) !important;
        }

            .flatpickr-current-month .flatpickr-monthDropdown-months option:checked,
            .flatpickr-current-month .flatpickr-monthDropdown-months option:hover,
            .flatpickr-current-month .flatpickr-monthDropdown-months option:focus {
                background: var(--brand-primary-light, #e8f1ff) !important;
                color: var(--brand-primary, #052c65) !important;
            }

.flatpickr-prev-month,
.flatpickr-next-month {
    color: var(--color-text-inverse, #ffffff) !important;
    fill: var(--color-text-inverse, #ffffff) !important;
}

    .flatpickr-prev-month:hover,
    .flatpickr-next-month:hover {
        color: var(--brand-primary-light, #e8f1ff) !important;
        fill: var(--brand-primary-light, #e8f1ff) !important;
    }

.flatpickr-weekdays {
    background: var(--brand-primary, #052c65);
}

span.flatpickr-weekday {
    background: var(--brand-primary, #052c65);
    color: var(--color-text-inverse, #ffffff);
    font-size: var(--oz-font-xs, .875rem);
    font-weight: 700;
}

.flatpickr-day {
    border-radius: var(--radius-sm, .5rem);
    color: var(--color-text, #212529);
}

    .flatpickr-day:hover,
    .flatpickr-day:focus {
        background: var(--brand-primary-light, #e8f1ff);
        border-color: var(--brand-primary-light, #e8f1ff);
        color: var(--brand-primary, #052c65);
    }

    .flatpickr-day.today {
        border-color: var(--brand-secondary, var(--brand-primary, #052c65));
        color: var(--brand-primary, #052c65);
        font-weight: 700;
    }

        .flatpickr-day.today:hover,
        .flatpickr-day.today:focus {
            background: var(--brand-primary-light, #e8f1ff);
            border-color: var(--brand-secondary, var(--brand-primary, #052c65));
            color: var(--brand-primary, #052c65);
        }

    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange,
    .flatpickr-day.selected:hover,
    .flatpickr-day.startRange:hover,
    .flatpickr-day.endRange:hover {
        background: var(--brand-secondary, var(--brand-primary, #052c65));
        border-color: var(--brand-secondary, var(--brand-primary, #052c65));
        color: var(--color-text-inverse, #ffffff);
        font-weight: 700;
    }

    .flatpickr-day.inRange {
        background: var(--brand-primary-light, #e8f1ff);
        border-color: var(--brand-primary-light, #e8f1ff);
        box-shadow: -5px 0 0 var(--brand-primary-light, #e8f1ff), 5px 0 0 var(--brand-primary-light, #e8f1ff);
    }

    .flatpickr-day.disabled,
    .flatpickr-day.disabled:hover,
    .flatpickr-day.prevMonthDay,
    .flatpickr-day.nextMonthDay {
        color: var(--color-text-muted, #6c757d);
        opacity: .45;
    }

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
    color: var(--color-text, #212529);
}

    .flatpickr-time input:hover,
    .flatpickr-time .flatpickr-am-pm:hover,
    .flatpickr-time input:focus,
    .flatpickr-time .flatpickr-am-pm:focus {
        background: var(--brand-primary-light, #e8f1ff);
    }

@media (max-width: 767.98px) {
    .flatpickr-input.form-control,
    input.flatpickr-input.form-control,
    .flatpickr-alt-input.form-control {
        min-height: 2.75rem;
    }

    .flatpickr-calendar {
        border-radius: var(--radius-md, .75rem);
    }
}


/* =========================================================
   GLOBAL FLATPICKR THEME OVERRIDE
   Keep Flatpickr year spinner arrows visible on the navy header.
========================================================= */

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--color-text-inverse, #fff) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: var(--color-text-inverse, #fff) !important;
}

.flatpickr-current-month .numInputWrapper span:hover.arrowUp:after {
    border-bottom-color: var(--brand-primary-light, #dce8ff) !important;
}

.flatpickr-current-month .numInputWrapper span:hover.arrowDown:after {
    border-top-color: var(--brand-primary-light, #dce8ff) !important;
}

/* =========================================================
   GLOBAL MOBILE FLATPICKR TOUCH UX
   Applies to all Bootstrap 5 pages using Flatpickr.
   CSS only: no Flatpickr JavaScript behaviour is changed here.
   The Flatpickr CSS bundle should be loaded locally/same-origin
   to avoid stylesheet cssRules access issues while resizing.
========================================================= */

@media (max-width: 991.98px) {
    .flatpickr-calendar {
        width: min(92vw, 22rem) !important;
        max-width: calc(100vw - 1.5rem) !important;
        border-radius: var(--radius-lg, 1rem) !important;
        font-family: var(--font-body, inherit) !important;
        font-size: 1rem !important;
        box-shadow: 0 1rem 2rem rgba(var(--brand-primary-rgb, 5, 44, 101), .16) !important;
        overflow: hidden !important;
    }

        .flatpickr-calendar.open,
        .flatpickr-calendar.inline {
            width: min(92vw, 22rem) !important;
            max-width: calc(100vw - 1.5rem) !important;
        }

        .flatpickr-calendar.arrowTop::before,
        .flatpickr-calendar.arrowTop::after,
        .flatpickr-calendar.arrowBottom::before,
        .flatpickr-calendar.arrowBottom::after {
            display: none !important;
        }

    .flatpickr-months {
        min-height: 3.35rem !important;
        background: var(--brand-primary, #052c65) !important;
        border-radius: var(--radius-lg, 1rem) var(--radius-lg, 1rem) 0 0 !important;
    }

        .flatpickr-months .flatpickr-month {
            height: 3.35rem !important;
            color: var(--color-text-inverse, #fff) !important;
        }

        .flatpickr-months .flatpickr-prev-month,
        .flatpickr-months .flatpickr-next-month,
        .flatpickr-prev-month,
        .flatpickr-next-month {
            top: .2rem !important;
            width: 3rem !important;
            height: 3rem !important;
            padding: .75rem !important;
            color: var(--color-text-inverse, #fff) !important;
            fill: var(--color-text-inverse, #fff) !important;
        }

            .flatpickr-months .flatpickr-prev-month svg,
            .flatpickr-months .flatpickr-next-month svg,
            .flatpickr-prev-month svg,
            .flatpickr-next-month svg {
                width: 1rem !important;
                height: 1rem !important;
            }

    .flatpickr-current-month {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: .45rem !important;
        width: calc(100% - 6rem) !important;
        left: 3rem !important;
        height: 3.35rem !important;
        padding: .6rem 0 0 !important;
        font-size: 1.05rem !important;
    }

        .flatpickr-current-month .flatpickr-monthDropdown-months {
            width: auto !important;
            min-width: 8rem !important;
            height: 2.3rem !important;
            padding: .25rem 1.75rem .25rem .65rem !important;
            border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
            border-radius: var(--radius-md, .6rem) !important;
            background-color: var(--background-card, #fff) !important;
            color: var(--color-text, #212529) !important;
            font-family: var(--font-body, inherit) !important;
            font-size: 1.05rem !important;
            font-weight: 700 !important;
            line-height: 1.4 !important;
        }

        .flatpickr-current-month .oz-flatpickr-year-input-wrapper-hidden {
            display: none !important;
        }

        .flatpickr-current-month .oz-flatpickr-mobile-year-select {
            width: auto !important;
            min-width: 6.5rem !important;
            height: 2.3rem !important;
            padding: .25rem 1.75rem .25rem .65rem !important;
            border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
            border-radius: var(--radius-md, .6rem) !important;
            background-color: var(--background-card, #fff) !important;
            color: var(--color-text, #212529) !important;
            font-family: var(--font-body, inherit) !important;
            font-size: 1.05rem !important;
            font-weight: 700 !important;
            line-height: 1.4 !important;
            text-align: left !important;
        }

    .flatpickr-innerContainer,
    .flatpickr-rContainer,
    .flatpickr-days,
    .dayContainer {
        width: min(92vw, 22rem) !important;
        min-width: min(92vw, 22rem) !important;
        max-width: calc(100vw - 1.5rem) !important;
    }

    .flatpickr-weekdays,
    .flatpickr-weekdaycontainer {
        width: 100% !important;
    }

    .flatpickr-weekdays {
        height: 2.5rem !important;
        background: var(--brand-primary, #052c65) !important;
    }

    span.flatpickr-weekday,
    .flatpickr-weekday {
        color: var(--color-text-inverse, #fff) !important;
        font-size: .95rem !important;
        font-weight: 800 !important;
        line-height: 2.5rem !important;
    }

    .flatpickr-day {
        max-width: calc(min(92vw, 22rem) / 7) !important;
        height: 2.75rem !important;
        line-height: 2.75rem !important;
        margin: 0 !important;
        border-radius: .65rem !important;
        font-size: 1rem !important;
    }

    .rangeMode .flatpickr-day {
        margin-top: 1px !important;
    }

    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange,
    .flatpickr-day.selected:hover,
    .flatpickr-day.startRange:hover,
    .flatpickr-day.endRange:hover {
        background: var(--brand-primary, #052c65) !important;
        border-color: var(--brand-primary, #052c65) !important;
        color: var(--color-text-inverse, #fff) !important;
    }

    .flatpickr-day.inRange,
    .flatpickr-day.prevMonthDay.inRange,
    .flatpickr-day.nextMonthDay.inRange,
    .flatpickr-day.today.inRange,
    .flatpickr-day.prevMonthDay.today.inRange,
    .flatpickr-day.nextMonthDay.today.inRange,
    .flatpickr-day:hover,
    .flatpickr-day.prevMonthDay:hover,
    .flatpickr-day.nextMonthDay:hover,
    .flatpickr-day:focus,
    .flatpickr-day.prevMonthDay:focus,
    .flatpickr-day.nextMonthDay:focus {
        background: var(--brand-primary-light, #dce8ff) !important;
        border-color: var(--brand-primary-light, #dce8ff) !important;
        color: var(--brand-primary, #052c65) !important;
    }
}

@media (max-width: 359.98px) {
    .flatpickr-calendar,
    .flatpickr-calendar.open,
    .flatpickr-calendar.inline,
    .flatpickr-innerContainer,
    .flatpickr-rContainer,
    .flatpickr-days,
    .dayContainer {
        width: min(94vw, 20.5rem) !important;
        min-width: min(94vw, 20.5rem) !important;
        max-width: calc(100vw - 1rem) !important;
    }

    .flatpickr-day {
        max-width: calc(min(94vw, 20.5rem) / 7) !important;
        height: 2.55rem !important;
        line-height: 2.55rem !important;
        font-size: .95rem !important;
    }
}

/* =========================================================
   FLATPICKR MOBILE PREMIUM SIZE OVERRIDE
   Mobile-only visual layer. Requires the JS cssRules-safe fix.
   Does not change Flatpickr behaviour, positioning, or date logic.
========================================================= */

@media (max-width: 767.98px) {
    .flatpickr-calendar,
    .flatpickr-calendar.open {
        width: min(96vw, 24.25rem) !important;
        min-width: min(96vw, 24.25rem) !important;
        max-width: 96vw !important;
        border-radius: 1.05rem !important;
        box-shadow: 0 1rem 2.25rem rgba(var(--brand-primary-rgb, 5, 44, 101), .22) !important;
        overflow: hidden !important;
        font-size: 1rem !important;
    }

        .flatpickr-calendar.arrowTop::before,
        .flatpickr-calendar.arrowTop::after,
        .flatpickr-calendar.arrowBottom::before,
        .flatpickr-calendar.arrowBottom::after {
            display: none !important;
        }

    .flatpickr-months {
        min-height: 3.6rem !important;
    }

        .flatpickr-months .flatpickr-month {
            height: 3.6rem !important;
            overflow: visible !important;
        }

    .flatpickr-current-month {
        height: 3.6rem !important;
        padding-top: .72rem !important;
        left: 3.1rem !important;
        width: calc(100% - 6.2rem) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: .45rem !important;
    }

        .flatpickr-current-month .flatpickr-monthDropdown-months,
        .flatpickr-current-month input.cur-year,
        .flatpickr-current-month .numInputWrapper,
        .flatpickr-current-month .oz-flatpickr-mobile-year-select {
            height: 2.35rem !important;
            min-height: 2.35rem !important;
            border-radius: .65rem !important;
            font-size: 1.05rem !important;
            font-weight: 800 !important;
            line-height: 2.35rem !important;
        }

        .flatpickr-current-month .flatpickr-monthDropdown-months {
            max-width: 10.25rem !important;
            padding: 0 2rem 0 .9rem !important;
        }

        .flatpickr-current-month .numInputWrapper,
        .flatpickr-current-month .oz-flatpickr-mobile-year-select {
            max-width: 7rem !important;
        }

    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 3.25rem !important;
        height: 3.6rem !important;
        padding: 1rem !important;
    }

        .flatpickr-prev-month svg,
        .flatpickr-next-month svg {
            width: 1rem !important;
            height: 1rem !important;
        }

    .flatpickr-weekdays {
        height: 2.55rem !important;
    }

    .flatpickr-weekdaycontainer,
    span.flatpickr-weekday {
        height: 2.55rem !important;
        line-height: 2.55rem !important;
    }

    span.flatpickr-weekday {
        font-size: .9rem !important;
        font-weight: 850 !important;
    }

    .flatpickr-innerContainer,
    .flatpickr-rContainer,
    .flatpickr-days,
    .dayContainer {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .flatpickr-days {
        overflow: hidden !important;
    }

    .dayContainer {
        padding: .25rem .45rem .6rem !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .flatpickr-day {
        flex: 0 0 calc(100% / 7) !important;
        width: calc(100% / 7) !important;
        max-width: calc(100% / 7) !important;
        height: 3.05rem !important;
        line-height: 3.05rem !important;
        margin: 0 !important;
        border-radius: .8rem !important;
        font-size: 1.02rem !important;
        font-weight: 600 !important;
    }

        .flatpickr-day.prevMonthDay,
        .flatpickr-day.nextMonthDay {
            font-weight: 500 !important;
        }

        .flatpickr-day.selected,
        .flatpickr-day.startRange,
        .flatpickr-day.endRange,
        .flatpickr-day.selected:hover,
        .flatpickr-day.startRange:hover,
        .flatpickr-day.endRange:hover {
            background: var(--brand-primary, #052c65) !important;
            border-color: var(--brand-primary, #052c65) !important;
            color: var(--color-text-inverse, #fff) !important;
        }

        .flatpickr-day.inRange,
        .flatpickr-day.prevMonthDay.inRange,
        .flatpickr-day.nextMonthDay.inRange,
        .flatpickr-day.today.inRange {
            background: var(--brand-primary-light, #dce8ff) !important;
            border-color: var(--brand-primary-light, #dce8ff) !important;
            box-shadow: none !important;
        }
}

@media (max-width: 359.98px) {
    .flatpickr-calendar,
    .flatpickr-calendar.open {
        width: calc(100vw - .75rem) !important;
        min-width: calc(100vw - .75rem) !important;
        max-width: calc(100vw - .75rem) !important;
    }

    .flatpickr-current-month {
        left: 2.65rem !important;
        width: calc(100% - 5.3rem) !important;
        gap: .3rem !important;
    }

        .flatpickr-current-month .flatpickr-monthDropdown-months {
            max-width: 8.75rem !important;
            padding-left: .65rem !important;
        }

        .flatpickr-current-month .numInputWrapper,
        .flatpickr-current-month .oz-flatpickr-mobile-year-select {
            max-width: 5.8rem !important;
        }

    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 2.75rem !important;
    }

    .dayContainer {
        padding-left: .25rem !important;
        padding-right: .25rem !important;
    }

    .flatpickr-day {
        height: 2.78rem !important;
        line-height: 2.78rem !important;
        border-radius: .65rem !important;
        font-size: .98rem !important;
    }
}

/* =========================================================
   MOBILE HEADER LEFT LOGO + RIGHT ACTIONS FINAL OVERRIDE
   Overrides older centered-logo/absolute-hamburger mobile rules.
   Desktop remains unchanged.
========================================================= */

@media (max-width: 767.98px) {
    .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        align-items: center !important;
        justify-content: initial !important;
        column-gap: .35rem !important;
        min-height: 56px !important;
        padding: .4rem .65rem !important;
    }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-header-logo,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid #sticky-logo {
            grid-column: 1 !important;
            justify-self: start !important;
            margin: 0 !important;
            text-align: left !important;
        }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .top-left-sticky-logo-b5 {
            justify-content: flex-start !important;
        }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-header-logo img,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid #sticky-logo img,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .top-left-sticky-logo-b5 img {
                max-height: 34px !important;
                max-width: min(190px, 52vw) !important;
            }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-menu {
            grid-column: 2 !important;
            justify-self: end !important;
            margin-left: 0 !important;
        }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger:hover,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger:focus,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger:active,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger.show,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger[aria-expanded="true"] {
            position: static !important;
            grid-column: 3 !important;
            justify-self: end !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
        }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger {
            width: 44px !important;
            height: 44px !important;
            min-width: 44px !important;
            min-height: 44px !important;
            padding: 0 !important;
            border: 1px solid transparent !important;
            border-radius: .75rem !important;
            background: transparent !important;
            color: var(--brand-primary, #052c65) !important;
            box-shadow: none !important;
        }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:hover,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:focus,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:hover,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:focus,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger[aria-expanded="true"] {
                border-color: transparent !important;
                background: rgba(var(--brand-primary-rgb, 5, 44, 101), .07) !important;
                color: var(--brand-primary-dark, #031c42) !important;
                box-shadow: none !important;
                transform: none !important;
            }
}

/* =========================================================
   MOBILE HEADER V2 - FINAL SITE-BASE OVERRIDE
   Ensures legacy/global mobile header button styles do not
   reintroduce circular or filled treatments.
========================================================= */

@media (max-width: 767.98px) {
    .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px 44px !important;
        align-items: center !important;
        justify-content: initial !important;
        column-gap: .12rem !important;
        min-height: 56px !important;
        padding: .35rem .65rem !important;
    }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-header-logo,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid #sticky-logo {
            grid-column: 1 !important;
            justify-self: start !important;
            min-width: 0 !important;
            margin: 0 .45rem 0 0 !important;
            text-align: left !important;
            transform: none !important;
        }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .top-left-sticky-logo-b5 {
            justify-content: flex-start !important;
        }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-header-logo img,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid #sticky-logo img,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .top-left-sticky-logo-b5 img {
                max-height: 36px !important;
                max-width: min(200px, 58vw) !important;
                width: auto !important;
                height: auto !important;
            }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-menu {
            grid-column: 2 !important;
            justify-self: end !important;
            margin-left: 0 !important;
        }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger:hover,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger:focus,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger:active,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger.show,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid > .oz-mobile-menu-trigger[aria-expanded="true"] {
            position: static !important;
            grid-column: 3 !important;
            justify-self: end !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
        }

        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .btn.oz-mobile-menu-trigger,
        .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .btn.oz-mobile-account-trigger {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 44px !important;
            height: 44px !important;
            min-width: 44px !important;
            min-height: 44px !important;
            padding: 0 !important;
            border: 0 !important;
            border-radius: .65rem !important;
            background: transparent !important;
            background-color: transparent !important;
            color: var(--brand-primary, #052c65) !important;
            box-shadow: none !important;
            outline: 0 !important;
            line-height: 1 !important;
        }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:hover,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:focus,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:active,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:hover,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:focus,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:active,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger[aria-expanded="true"] {
                border: 0 !important;
                background: rgba(var(--brand-primary-rgb, 5, 44, 101), .06) !important;
                background-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .06) !important;
                color: var(--brand-primary-dark, #031c42) !important;
                box-shadow: none !important;
                transform: none !important;
            }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger i,
            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger i {
                color: currentColor !important;
                line-height: 1 !important;
            }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger i {
                font-size: 1.26rem !important;
            }

            .oz-site-header .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger i {
                font-size: 1.32rem !important;
            }
}

/* =========================================================
   MOBILE HEADER V3 - EDGE ALIGNMENT + BRAND WEIGHT
   Mirrors _TopRightMenu.B5.css so the final header polish wins
   over older global/header rules when bundles are ordered differently.
========================================================= */

@media (max-width: 1199.98px) {
    .oz-brand-nav-row.oz-mobile-brand-grid {
        grid-template-columns: minmax(0, 1fr) 40px 40px !important;
        column-gap: .05rem !important;
        min-height: 3.5rem !important;
        padding-left: .35rem !important;
        padding-right: .25rem !important;
    }

        .oz-brand-nav-row.oz-mobile-brand-grid .oz-header-logo {
            margin-left: -.15rem !important;
            margin-right: .35rem !important;
        }

            .oz-brand-nav-row.oz-mobile-brand-grid .oz-header-logo img {
                max-width: min(64vw, 14.5rem) !important;
                max-height: 2.35rem !important;
            }

        .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-menu,
        .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger {
            transform: translateY(1px) !important;
        }

        .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger,
        .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger {
            width: 40px !important;
            height: 44px !important;
            min-width: 40px !important;
            min-height: 44px !important;
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
        }

            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:hover,
            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:focus,
            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:hover,
            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:focus,
            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-menu-trigger:active,
            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger:active,
            .oz-brand-nav-row.oz-mobile-brand-grid .oz-mobile-account-trigger[aria-expanded="true"] {
                background: rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
                border: 0 !important;
                box-shadow: none !important;
            }
}

/* =========================================================
   MOBILE OFFCANVAS MENU POLISH
   Complements _SecondaryNav.B5.css.  This keeps the existing
   dynamic menu and utility links, but removes row-heavy styling.
========================================================= */

@media (max-width: 1199.98px) {
    #ozMobileMenu.offcanvas {
        width: min(88vw, 22rem);
        border-right: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .10) !important;
        background: linear-gradient(180deg, #fff 0%, rgba(248,250,252,.98) 100%) !important;
        box-shadow: .8rem 0 2rem rgba(15, 23, 42, .14);
    }

    #ozMobileMenu .offcanvas-header {
        min-height: 3.7rem;
        padding: .8rem 1rem .7rem !important;
        border-bottom: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
        background: rgba(255,255,255,.96);
    }

    #ozMobileMenu .offcanvas-title {
        color: var(--brand-primary, #052c65);
        font-family: var(--font-heading, inherit);
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: -.015em;
    }

    #ozMobileMenu .offcanvas-body {
        padding: 1rem 1.05rem 1.35rem !important;
    }

    #ozMobileMenu .oz-mobile-menu-close-header,
    #ozMobileMenu .oz-mobile-menu-close-body {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 2.45rem !important;
        height: 2.45rem !important;
        min-width: 2.45rem !important;
        padding: 0 !important;
        border: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .12) !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,.96) !important;
        color: var(--brand-primary, #052c65) !important;
        box-shadow: 0 .2rem .7rem rgba(var(--brand-primary-rgb, 5, 44, 101), .10) !important;
        line-height: 1 !important;
    }

        #ozMobileMenu .oz-mobile-menu-close-header:hover,
        #ozMobileMenu .oz-mobile-menu-close-header:focus,
        #ozMobileMenu .oz-mobile-menu-close-body:hover,
        #ozMobileMenu .oz-mobile-menu-close-body:focus {
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
            color: var(--brand-primary, #052c65) !important;
            outline: 0 !important;
        }

    /* The body close button is kept for compatibility with the current markup,
           but the header close is the primary close affordance. */
    #ozMobileMenu .offcanvas-body > .d-flex.justify-content-end.mb-3 {
        margin-bottom: .55rem !important;
    }

    #ozMobileMenu .oz-mobile-top-menu {
        margin-bottom: 1rem !important;
    }

        #ozMobileMenu .oz-mobile-top-menu #toprightmenu,
        #ozMobileMenu .oz-mobile-top-menu .oz-top-right-menu {
            width: 100% !important;
            align-items: stretch !important;
            gap: .18rem !important;
            margin: 0 !important;
            padding: 0 !important;
        }

            #ozMobileMenu .oz-mobile-top-menu #toprightmenu > .nav-item {
                width: 100% !important;
                margin: 0 !important;
            }

            #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-country-selector {
                width: auto !important;
                min-width: 0 !important;
                max-width: 10.25rem !important;
                margin: 0 0 1rem !important;
            }

        #ozMobileMenu .oz-mobile-top-menu .country-selector-b5,
        #ozMobileMenu .oz-mobile-top-menu .country-selector-b5 .select2-container {
            width: 100% !important;
        }

            #ozMobileMenu .oz-mobile-top-menu .country-selector-b5 .select2-selection--single,
            #ozMobileMenu .oz-mobile-top-menu .country-selector-b5__select {
                min-height: 2.65rem !important;
                height: 2.65rem !important;
                border-radius: var(--radius-md, .75rem) !important;
                border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .16) !important;
                background: #fff !important;
                box-shadow: 0 .15rem .45rem rgba(var(--brand-primary-rgb, 5, 44, 101), .05) !important;
            }

        #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-top-link,
        #ozMobileMenu .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn) {
            display: inline-flex !important;
            align-items: center !important;
            gap: .78rem !important;
            width: 100% !important;
            min-height: 3rem !important;
            padding: .65rem .15rem !important;
            border: 0 !important;
            border-bottom: 0 !important;
            border-radius: var(--radius-md, .75rem) !important;
            background: transparent !important;
            color: var(--color-text, #111827) !important;
            font-size: .94rem !important;
            font-weight: 500 !important;
            line-height: 1.25 !important;
            text-decoration: none !important;
        }

            #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-top-link:hover,
            #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-top-link:focus,
            #ozMobileMenu .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn):hover,
            #ozMobileMenu .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn):focus {
                background: rgba(var(--brand-primary-rgb, 5, 44, 101), .055) !important;
                color: var(--brand-primary, #052c65) !important;
                outline: 0 !important;
            }

        #ozMobileMenu .oz-mobile-top-menu .oz-top-link-icon {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 1.35rem !important;
            width: 1.35rem !important;
            min-width: 1.35rem !important;
            color: var(--brand-primary, #052c65) !important;
            font-size: .98rem !important;
            text-align: center !important;
            opacity: .96;
        }

    #ozMobileMenu .offcanvas-body > .my-3.border-top {
        margin: .95rem 0 1.05rem !important;
        border-top: 1px solid rgba(var(--brand-primary-rgb, 5, 44, 101), .10) !important;
    }

    #ozMobileMenu .oz-mobile-account-dropdown {
        z-index: 7065 !important;
    }
}

@media (max-width: 359.98px) {
    #ozMobileMenu.offcanvas {
        width: min(92vw, 21rem);
    }

    #ozMobileMenu .offcanvas-body {
        padding-left: .9rem !important;
        padding-right: .9rem !important;
    }
}

/* =========================================================
   MOBILE OFFCANVAS PHASE 1 POLISH
   Final low-risk visual refinements only:
   - softer close button
   - tighter top spacing
   - calmer utility icons
   - improved country selector rhythm
   - small optical alignment improvements
========================================================= */

@media (max-width: 1199.98px) {
    #ozMobileMenu.offcanvas {
        background: linear-gradient(180deg, rgba(255,255,255,.995) 0%, rgba(248,250,252,.985) 100%) !important;
    }

    #ozMobileMenu .offcanvas-header {
        min-height: 3.35rem !important;
        padding: .62rem .95rem .55rem !important;
        border-bottom-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .065) !important;
        background: rgba(255,255,255,.98) !important;
    }

    #ozMobileMenu .offcanvas-body {
        padding: .62rem 1.1rem 1.35rem !important;
    }

    #ozMobileMenu .oz-mobile-menu-close-header,
    #ozMobileMenu .oz-mobile-menu-close-body {
        width: 2.15rem !important;
        height: 2.15rem !important;
        min-width: 2.15rem !important;
        min-height: 2.15rem !important;
        border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .10) !important;
        background: rgba(255,255,255,.94) !important;
        box-shadow: 0 .12rem .35rem rgba(var(--brand-primary-rgb, 5, 44, 101), .08) !important;
    }

        #ozMobileMenu .oz-mobile-menu-close-header i,
        #ozMobileMenu .oz-mobile-menu-close-body i {
            font-size: .96rem !important;
        }

        #ozMobileMenu .oz-mobile-menu-close-header:hover,
        #ozMobileMenu .oz-mobile-menu-close-header:focus,
        #ozMobileMenu .oz-mobile-menu-close-body:hover,
        #ozMobileMenu .oz-mobile-menu-close-body:focus {
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .18) !important;
            background: rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
            box-shadow: 0 .16rem .45rem rgba(var(--brand-primary-rgb, 5, 44, 101), .10) !important;
            transform: none !important;
        }

    #ozMobileMenu .offcanvas-body > .d-flex.justify-content-end.mb-3 {
        margin-top: -.1rem !important;
        margin-bottom: .35rem !important;
    }

    #ozMobileMenu .oz-mobile-top-menu {
        margin-bottom: .9rem !important;
    }

        #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-country-selector {
            max-width: 10.5rem !important;
            margin: 0 0 1.25rem !important;
        }

        #ozMobileMenu .oz-mobile-top-menu .country-selector-b5 .select2-selection--single,
        #ozMobileMenu .oz-mobile-top-menu .country-selector-b5__select {
            min-height: 2.55rem !important;
            height: 2.55rem !important;
            border-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .14) !important;
            box-shadow: 0 .1rem .32rem rgba(var(--brand-primary-rgb, 5, 44, 101), .045) !important;
        }

        #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-top-link,
        #ozMobileMenu .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn) {
            min-height: 2.92rem !important;
            padding: .62rem .35rem !important;
            gap: .72rem !important;
            font-size: .93rem !important;
        }

        #ozMobileMenu .oz-mobile-top-menu .oz-top-link-icon {
            flex-basis: 1.2rem !important;
            width: 1.2rem !important;
            min-width: 1.2rem !important;
            color: rgba(var(--brand-primary-rgb, 5, 44, 101), .78) !important;
            font-size: .88rem !important;
            opacity: .82 !important;
        }

        #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-top-link:hover .oz-top-link-icon,
        #ozMobileMenu .oz-mobile-top-menu #toprightmenu .oz-top-link:focus .oz-top-link-icon,
        #ozMobileMenu .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn):hover .oz-top-link-icon,
        #ozMobileMenu .oz-mobile-top-menu #toprightmenu li a:not(.dropdown-item):not(.btn):focus .oz-top-link-icon {
            color: var(--brand-primary, #052c65) !important;
            opacity: 1 !important;
        }

    #ozMobileMenu .offcanvas-body > .my-3.border-top {
        margin: .85rem 0 .95rem !important;
        border-top-color: rgba(var(--brand-primary-rgb, 5, 44, 101), .085) !important;
    }
}

/* =========================================================
   MOBILE OFFCANVAS BACKDROP POLISH
   Darkens the page behind the mobile menu so the offcanvas
   feels focused and premium without changing menu behaviour.
========================================================= */

@media (max-width: 1199.98px) {
    body:has(#ozMobileMenu.show) > .offcanvas-backdrop.show,
    body:has(#ozMobileMenu.show) .offcanvas-backdrop.show {
        background-color: var(--brand-primary-dark, #031c42) !important;
        opacity: .62 !important;
        backdrop-filter: blur(2px) saturate(105%);
        -webkit-backdrop-filter: blur(2px) saturate(105%);
    }
}

/* =========================================================
   MOBILE OFFCANVAS BACKDROP STACKING FIX
   The mobile menu is rendered inside the fixed header, which has
   a high stacking layer for account/dropdown safety. Bootstrap's
   normal backdrop sits behind that header, so the header can remain
   visually above the dimmed page. This header-scoped veil covers the
   full viewport while keeping the offcanvas drawer above it.
========================================================= */

@media (max-width: 1199.98px) {
    .oz-site-header:has(#ozMobileMenu.show)::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 7055;
        background: rgba(var(--brand-primary-rgb, 5, 44, 101), .58);
        backdrop-filter: blur(2px) saturate(105%);
        -webkit-backdrop-filter: blur(2px) saturate(105%);
        pointer-events: none;
    }

    #ozMobileMenu.offcanvas {
        z-index: 7060 !important;
    }

    body:has(#ozMobileMenu.show) .offcanvas-backdrop.show {
        background-color: var(--brand-primary-dark, #031c42) !important;
        opacity: .38 !important;
    }
}

/* =========================================================
   FACEBOOK ANDROID IN-APP BROWSER - MOBILE HEADER CORRECTION
   Applies only when oz-facebook-iab-fix.js identifies FB Android.
   Preserve browser font scaling and Bootstrap rem typography.
========================================================= */
@media (max-width: 767.98px) {
    html.oz-facebook-android-iab .oz-site-header {
        padding-top: 2.4px !important;
    }

    html.oz-facebook-android-iab body {
        padding-top: var(--oz-facebook-header-height, var(--oz-header-offset-mobile, 76px)) !important;
    }
}

/* =========================================================
   CRUISE CARD - OPTIONAL SOLO FARE (OPTION B)
   Compact 2 x 2 footer: Twin | Quad / Solo | View.
   Cards without Solo retain their existing footer layout.
========================================================= */

.oz-cruise-list .cruise-result-price:has(> .solo-price) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "twin quad" "solo view";
    align-items: center;
    column-gap: .5rem;
    row-gap: .65rem;
}

    .oz-cruise-list .cruise-result-price:has(> .solo-price) > .price-block {
        grid-area: twin;
        min-width: 0;
    }

    .oz-cruise-list .cruise-result-price:has(> .solo-price) > .quad-price {
        grid-area: quad;
        min-width: 0;
        white-space: normal;
        justify-self: start;
        align-self: center;
    }

    .oz-cruise-list .cruise-result-price:has(> .solo-price) > .solo-price {
        grid-area: solo;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
        min-width: 0;
        gap: .15rem;
        color: var(--color-text-muted);
        font-size: .75rem;
        line-height: 1.2;
    }

        .oz-cruise-list .cruise-result-price:has(> .solo-price) > .solo-price strong {
            font-size: 1.125rem;
            line-height: 1.15;
            font-weight: 800;
            color: var(--brand-primary, #052c65);
            white-space: nowrap;
        }

    .oz-cruise-list .cruise-result-price:has(> .solo-price) > .view-cruise-detail {
        grid-area: view;
        grid-column: 2;
        grid-row: 2;
        justify-self: stretch;
        align-self: center;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

@media (max-width: 479.98px) {
    .oz-cruise-list .cruise-result-price:has(> .solo-price) {
        padding: .7rem .8rem;
        column-gap: .35rem;
        row-gap: .55rem;
    }

        .oz-cruise-list .cruise-result-price:has(> .solo-price) > .price-block {
            gap: .2rem;
        }

        .oz-cruise-list .cruise-result-price:has(> .solo-price) > .quad-price {
            font-size: .7rem;
        }

        .oz-cruise-list .cruise-result-price:has(> .solo-price) > .solo-price strong {
            font-size: 1.0625rem;
        }
}

/* Shared login-gated Missive chat launcher (all website themes). */
.oz-chat-guest { position: fixed; right: 40px; bottom: 40px; z-index: 1050; font-family: Arial, sans-serif; }
        .oz-chat-guest-button { display:flex; align-items:center; justify-content:center; width:60px; height:60px; border:0; border-radius:50%; background:#387eb3; color:#fff; box-shadow:0 3px 12px rgba(0,0,0,.18); cursor:pointer; }
        .oz-chat-guest-button:focus-visible, .oz-chat-login-close:focus-visible, .oz-chat-login-link:focus-visible { outline:3px solid #ffbf47; outline-offset:3px; }
        .oz-chat-login-dialog { position:absolute; right:0; bottom:74px; width:min(340px,calc(100vw - 30px)); padding:22px 18px 18px; border-radius:12px; background:#fff; color:#202a37; box-shadow:0 5px 28px rgba(0,0,0,.22); }
        .oz-chat-login-dialog[hidden] { display:none; }
        .oz-chat-login-dialog strong { display:block; padding-right:24px; font-size:17px; }
        .oz-chat-login-dialog p { margin:12px 0 16px; font-size:14px; line-height:1.5; }
        .oz-chat-login-close { position:absolute; right:10px; top:8px; background:transparent; border:0; font-size:25px; cursor:pointer; color:#52616d; }
        .oz-chat-login-link { display:block; text-align:center; padding:11px 16px; background:#082451; color:white !important; text-decoration:none; border-radius:8px; font-weight:600; }
        @media(max-width:575px) { .oz-chat-guest { right:20px; bottom:20px; } }
.oz-chat-guest-button--cruises { background-color: #68aee0; }

