/* AN INFINITY - CLEAN HOTEL MEGA MENU */

.brand-header {
    position: sticky;
    top: 0;
    z-index: 1500;
}

.brand-header-inner {
    position: relative;
}

@media (min-width: 1201px) {

    .brand-navigation {
        position: static;
    }

    .brand-hotels-menu {
        position: static;
        flex-shrink: 0;
    }

    .brand-hotels-menu > summary {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 35px 0;
        font: 400 16px/1.35 Georgia, serif;
        cursor: pointer;
        white-space: nowrap;
    }

    .brand-hotels-menu > summary::-webkit-details-marker {
        display: none;
    }

    .brand-hotels-panel {
        position: absolute;
        top: 100%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(1100px, calc(100vw - 48px));
        min-width: 0;
        max-height: 72vh;
        overflow-y: auto;
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 0;
        padding: 0;
        background: #ffffff;
        border: 1px solid #d9e8f1;
        border-top: 3px solid #c6a264;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 25px 60px rgba(5, 34, 58, .18);
        z-index: 1600;
    }

    .brand-hotels-intro {
        min-width: 0;
        padding: 30px;
        background: linear-gradient(135deg, #eaf7ff, #ffffff);
        border-right: 1px solid #dce9ef;
    }

    .brand-hotels-groups {
        min-width: 0;
        padding: 28px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        align-content: start;
    }

    .brand-destination-group {
        min-width: 0;
    }

    .brand-destination-group > summary {
        font: 400 22px/1.4 Georgia, serif;
        color: #082237;
    }

    .brand-destination-group a {
        display: block;
        padding: 10px;
        font-size: 13px;
        line-height: 1.5;
        border-radius: 6px;
        overflow-wrap: anywhere;
    }

    .brand-destination-group a:hover {
        background: #eaf7ff;
        color: #0b6489;
    }
}

.brand-hotels-menu:not([open]) > .brand-hotels-panel {
    display: none;
}

@media (max-width: 1200px) {

    .brand-hotels-menu {
        grid-column: 1 / -1;
        position: static;
        width: 100%;
    }

    .brand-hotels-menu > summary {
        display: flex;
        justify-content: space-between;
        padding: 16px 3px;
        font-size: 20px;
        cursor: pointer;
    }

    .brand-hotels-panel {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        min-width: 0;
        max-height: none;
        overflow: visible;
        display: block;
        padding: 12px;
        background: #ffffff;
        border: 1px solid #e0eaf0;
        border-radius: 10px;
        box-shadow: none;
    }

    .brand-hotels-intro {
        padding: 18px;
        border: 0;
        border-radius: 8px;
        background: #edf8ff;
    }

    .brand-hotels-intro h2 {
        font-size: 25px;
    }

    .brand-hotels-groups {
        display: block;
        padding: 14px 5px;
    }

    .brand-destination-group {
        margin-bottom: 10px;
    }

    .brand-destination-group > summary {
        font-size: 19px;
        cursor: pointer;
    }

    .brand-destination-group a {
        display: block;
        padding: 12px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-hotels-menu *,
    .brand-hotels-menu *::before,
    .brand-hotels-menu *::after {
        transition: none !important;
        animation: none !important;
    }
}