
#main-header {
    background-color: #0050FF;
}

#main-header {
    position: relative;
    z-index: 1;
}

#main-header .nav-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    max-height: 75px;
}

#main-header.retail .nav-container {
    padding: 15px 9px;
}

#main-header.retail .nav-container {
    max-width: 1224px;   
}

#main-header .logo {
    width: 48px;
    float: left;
}

#main-header .logo img,
#main-header .logo svg {
    width: 100%;
    height: auto;
}

#main-header.retail .logo svg {
    max-width: 37px;
    margin-top: 10px;
}

#main-header nav {
    width: calc(100% - 80px);
    justify-content: flex-end;
    float: left;
}
#main-header.retail nav {
    display: inline-block;
}
#main-header.retail nav a{
    font-family: 'Roboto-Font';
    font-weight: 400;
    padding:0 10px;
}

#main-header nav ul {
    list-style-type: none;
    display: flex;
    padding-left: 8%;
    float: left;
}

#main-header.retail nav ul {
    padding-left: 23px;
    margin-top: 2px;
}

#main-header nav ul li {
    color: #FFFFFF;
    padding: 10px 15px 0 15px;
    font-weight: 300;
}

#main-header.retail nav ul li {
    padding-right: 13px;
}

#main-header nav ul li:hover ul {
    display: flex;
}

#main-header nav ul li.parentActive ul {
    display: flex;
}

#main-header nav ul li.hidden {
    display: none;
}

#main-header nav ul li.right-separator {
    position: relative;
}

#main-header nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: OnAir-Light;
    margin-bottom: 23px;
    display: block;
    font-size: 18px;
    line-height: 24px;
}

#main-header nav ul li:after {
    content: "";
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    transition: all .4s;
}

#main-header nav ul li:hover:after {
    width: 100%;
    background: #FFFFFF;
}

#main-header nav ul li.active:after {
    width: 100%;
    background: #FFFFFF;
}

#main-header nav ul.second-menu {
    padding-left: 56px;
    float: left;
}

#main-header nav ul.second-menu li {
    color: #EDF7FF;
    padding: 10px 15px 0 15px;
}

#main-header nav ul.second-menu li a {
    color: #EDF7FF;
}

#main-header nav ul.submenu {
    position: absolute;
    display: flex;
    width: 100%;
    left: 0;
    top: 75px;
    justify-content: center;
    background-color: #FFFFFF;
    display: none;
}

#main-header nav ul.submenu li,
#main-header nav ul.submenu li a {
    color: #0050FF;
    font-size: 16px;
    line-height: 24px;
}

#main-header nav ul.submenu li a {
    margin: 8px 20px 16px;
}

#main-header nav ul.submenu li.active a {
    color: #0050FF;
}

#main-header nav ul.submenu li.active:after {
    content: "";
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    transition: all .4s;
    width: 100%;
    background: #0050FF;
}

#main-header nav ul.submenu li:hover a {
    color: #858585
}

#main-header nav ul.submenu li:hover:after {
    content: "";
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    transition: all .4s;
    width: 100%;
    background: #0050FF;
}

#main-header #mobile-button {
    display: none;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    width: 45px;
    height: 30px;
    outline: none;
}

#main-header #mobile-button span {
    display: block;
    width: 100%;
}
#main-header #mobile-button span img { width: 100%; }

#main-header .close-menu-icon { display: none;}
#main-header .close-menu-icon span { width: 30px; height: 30px; }
#main-header .close-menu-icon span img { width: 100%; }

#main-header a.logoutButton{float:right;font-size: 16px; line-height:24px;text-decoration:underline;color:#FFFFFF;font-family: OnAir-Light;margin-top: 6px;}
#main-header a.logoutButton:hover{text-decoration:none;}

#main-header .myAccount{float:right;position: relative;cursor:pointer;padding-bottom:32px;margin-top: 11px;}
#main-header .myAccount .userName{position:relative;font-size:14px;line-height: 20px;color:#FFFFFF; background:transparent url("../img/Avatar_white.bebe44f43956.svg") no-repeat 47px 0;padding-left: 26px;text-indent: -3999px;display: block;min-width: 80px;}
#main-header.retail .myAccount .userName{position:relative;font-size:16px;font-family: 'OnAir-Regular'; line-height: 20px;color:#FFFFFF; background:transparent;padding-left: 26px;text-indent: 0px;display: block;min-width: 80px;}
#main-header .myAccount .userName::after {position:absolute;right:0;top:8px;display: block;width: 10px;height: 7px; background:transparent url("../img/Arrow_white.462689065950.svg") no-repeat right 0;content: "";transition-timing-function: cubic-bezier(0.46,0.03,0.52,0.96);transition:all 0.7s;}
#main-header.retail .myAccount .userName::after {position:absolute;right:0;top:8px;display: block;width: 10px;height: 7px; background:transparent;content: "";transition-timing-function: cubic-bezier(0.46,0.03,0.52,0.96);transition:all 0.7s;}
#main-header .myAccount .myAccountLayer{display:none;position:absolute;top:49px;right:0;background-color: #FFFFFF;width: 185px;text-align: left;box-shadow: rgb(0 0 0 / 10%) 0px 4px 10px;padding:0;border-radius: 0 0 6px 6px;margin-top:0;transition-timing-function: cubic-bezier(0.46,0.03,0.52,0.96);transition:all 0.7s;z-index: 5;}
#main-header .myAccount:hover .myAccountLayer{display:block}
#main-header .myAccount:hover .userName::after {transform: rotate(180deg);}
#main-header .myAccount img{transition:all 0.7s;}
#main-header .myAccount:hover img{transform:rotate(180deg);}
#main-header .myAccount .myAccountLayer a{font-size:16px;line-height: 22px;color:#0050FF;display:block;padding:15px;display: block;}
#main-header .myAccount .myAccountLayer a:first-child{border-bottom:1px solid #E1E1E1;}

#main-header .loginButton{float:right; font-size: 16px;line-height: 24px;color:#FFFFFF;font-family: 'OnAir-Light';text-decoration: none;border:1px solid #FFFFFF;border-radius: 2px;padding:7px 14px;margin-top: 1px;display: inline-block;}

#main-header {
    transition: background-color 0.4s linear
}

#main-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

@media only screen and (min-width: 1200px) {
    #main-header nav ul li.parentActive:after {
        width: 100%;
        background: #FFFFFF;
        transition: all 0;
    }

    /*Themes*/
    #main-header.sticky.transparent {
        background-color: #0050FF;
    }

    #main-header.transparent {
        background-color: transparent;
    }

    #main-header nav {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: baseline;
    }
    
    #main-header.retail nav {
        display: inline-block;
    }

    #main-header .loginButton {
        margin-left: 15px;
    }

    #main-header.white {
        background-color: #FFFFFF;
    }

    #main-header.white nav ul li a {
        color: #0050FF;
    }

    #main-header.white nav ul li.active:after {
        width: 100%;
        background: #0050FF;
    }

    #main-header.white nav ul li:hover:after {
        width: 100%;
        background: #0050FF;
    }

    #main-header.white nav ul.submenu {
        background-color: #0050FF;
    }

    #main-header.white nav ul.submenu li,
    #main-header.white nav ul.submenu li a {
        color: #FFFFFF;
    }

    #main-header.white nav ul.second-menu li a {
        color: #0090D0;
    }

    #main-header.white a.logoutButton {
        color: #0050FF;
    }

    #main-header.white nav ul.submenu li.active:after {
        background: #FFFFFF;
    }

    #main-header.white nav ul.submenu li:hover a {
        color: #41B6E6
    }

    #main-header.white .logo-header path {
        fill: #0050FF
    }

    #main-header.white .loginButton {
        color: #0050FF;
        border: 1px solid #0050FF;
    }

    #main-header.white .myAccount .userName {
        background: transparent url("../img/Avatar_blue.c0ca292d69da.svg") no-repeat 12px 0;
    }

    #main-header.white .myAccount .userName::after {
        background: transparent url("../img/Arrow_blue.5d85fffbd4d5.svg") no-repeat right 0;
    }

    #main-header.white .myAccount .myAccountLayer {
        top: 29px;
    }

    #header-tv::before {
        content: "";
        border-right: 1.5px solid #FFFFFF;
        position: absolute;
        bottom: 27px;
        left: 0px;
        height: 35%;
    }

    /*End Themes*/
}

@media only screen and (max-width: 1199px) {
    body {
        overflow-x: hidden;
    }

    #main-header {
        position: fixed;
        width: 100%;
        z-index: 100;
        background-color: #0050FF;
        top: 0
    }

    #main-header .logo {
        width: 50px;
        height: 55px;
    }

    #main-header .logo img,
    #main-header .logo svg {
        width: 100%;
        height: 100%;
    }

    #main-header .nav-container {
        padding: 10px 15px;
        position: absolute;
        overflow: hidden;
        justify-content: space-between;
        align-items: center;
    }

    #main-header .nav-container .nav {
        display: none;
    }

    #main-header #mobile-button {
        display: block;
    }

    #main-header .close-menu-icon {
        display: block;
        padding: 0;
        height: 30px;
    }

    #main-header .close-menu-icon span {
        display: block;
        float: right;
    }

    #main-header nav {
        float: none;
        width: 100%;
        padding: 25px 20px 20px;
        background-color: #0050FF;
        position: absolute;
        top: 0;
        z-index: 3;
        justify-content: flex-start;
        transition: all cubic-bezier(0.83, 0.24, 0.29, 1) 0.6s;
    }

    #main-header nav ul, #main-header nav ul.second-menu {
        flex-direction: column;
        margin-bottom: 0;
        width: 100%;
        padding-left: 0%;
    }

    #main-header .nav-container {
        background-color: #0050FF;
        margin: 0 auto;
    }

    #main-header nav ul li, #main-header nav ul.second-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0;
    }

    #main-header nav ul li a {
        font-family: OnAir-Light;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 0px;
        padding: 14px 0;
    }

    #main-header nav ul li.active a:after {
        display: none;
    }

    #main-header nav ul:last-child li:last-child {
        border-bottom: 0;
    }

    #main-header nav ul li.hidden {
        display: block;
    }

    #main-header nav .active .submenu .submenu-container {
        display: block;
        padding: 0;
    }

    #main-header nav ul.submenu li,
    #main-header nav ul.submenu li a { color: #FFFFFF;padding:0; margin:0;}
    #main-header nav ul.submenu li a {padding:14px 0;}
    #main-header nav .active .submenu .submenu-container ul li { padding-left: 0; }
    #main-header nav .active .submenu .submenu-container ul li:last-child { padding-bottom: 0; }
    #main-header nav .active .submenu .submenu-container ul li a { margin:0; display: block; float: left; }
    #main-header nav ul li.active .submenu { position: relative; background-color: transparent; top: 0; }
    #main-header nav ul li#header-login { border-top: 1px solid #191919; padding-top: 25px; margin-top: 25px; }
    #main-header nav ul li#header-login a { border: 0; margin-left: 0; padding: 0; }
    #main-header nav ul.submenu{display: block;background: transparent;top: 0;position: relative;}
    #main-header a.logoutButton{width: 100%;padding: 8px 0px;text-decoration: none;color: #01B7B4;}
    #main-header nav ul.submenu li.active a {color: #FFFFFF;}

    #main-header .myAccount{width: 100%;}
    /*#main-header .myAccount .userName{display: none;}*/
    #main-header .myAccount .myAccountLayer{display: block;width: 100%;background: transparent;box-shadow: 0 0 0;top: 0;left: 35px;}
    #main-header nav .myAccount .myAccountLayer a{color:#FFFFFF;font-family: 'OnAir-Regular';padding: 7px 15px;}
    #main-header nav .myAccount .myAccountLayer a:first-child{border:0;}
    #main-header .myAccount .userName{margin-top:8px;background-position: 17px 0;}
    #main-header .loginButton{float: left;margin-top: 15px;}
    #main-header .myAccount .userName::after{display:none;}
}

/* Menu labels added by the theme, hidden elsewhere. Must beat
   `#mobile-button span` (2,0,1) and `.close-menu-icon span` (1,1,1). */
#main-header #mobile-button .menu-label,
#main-header .close-menu-icon .menu-label {
    display: none;
}

/* === `floating_white` theme — scoped, wins by specificity, no `!important` == */
#main-header.floating_white {
    --o2-blue: #0050FF;
    --o2-black: #00001E;
    --o2-white: #FFFFFF;
    --o2-hover-bg: #F3F3F5;
    --o2-border: #F3F3F5;
    --o2-separator: #B4B4BE;
    --o2-glass-bg: rgba(255, 255, 255, .8);
    --o2-glass-blur: 20px;           /* Figma blur 40 */
    --o2-pill-radius: 48px;
    --o2-header-height: 80px;
}

/* Fixed from first paint, not via the `.sticky` class the JS toggles. */
#main-header.floating_white {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Not compensated on purpose: content passes behind the frosted bar. */

#main-header.floating_white #mobile-button .menu-label,
#main-header.floating_white .close-menu-icon .menu-label {
    display: inline-block;
}

/* === Desktop (≥1200px) — transparent 96px bar, 1360×64 frosted pill ======= */
@media only screen and (min-width: 1200px) and (hover: hover) {

    #main-header.floating_white {
        box-sizing: border-box;
        height: 96px;
        max-height: none;
        padding: 16px 40px;
        background-color: transparent;
    }

    #main-header.floating_white .nav-container {
        position: relative;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 1360px;
        height: 64px;
        max-height: none;
        min-height: 0;
        margin: 0 auto;
        padding: 3px;                /* design inset 4px = 1px border + 3px */
        background-color: var(--o2-glass-bg);
        border: 1px solid var(--o2-border);
        border-radius: var(--o2-pill-radius);
        -webkit-backdrop-filter: blur(var(--o2-glass-blur));
                backdrop-filter: blur(var(--o2-glass-blur));
    }

    #main-header.floating_white a.logo {
        position: absolute;
        left: 3px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 56px;
        height: 56px;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    #main-header.floating_white a.logo svg,
    #main-header.floating_white a.logo img {
        width: 56px;
        height: 56px;
    }

    /* Equal-width groups centre the separator. */
    #main-header.floating_white nav {
        position: static;
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    #main-header.floating_white nav > ul {
        display: flex;
        align-items: center;
        flex: 1 1 0;
        gap: 4px;
        height: 100%;
        margin: 0;
    }

    #main-header.floating_white nav > ul:not(.second-menu) {
        justify-content: flex-end;
        padding: 0 10px 0 0;
    }

    /* Gradient so the 1px × 32px rule ignores container height. */
    #main-header.floating_white nav > ul.second-menu {
        justify-content: flex-start;
        margin: 0;
        padding: 0 0 0 10px;
        border-left: 0;
        background: linear-gradient(var(--o2-separator), var(--o2-separator)) left center / 1px 32px no-repeat;
    }

    /* Full pill height: otherwise 9px of dead space swallow the `:hover`. */
    #main-header.floating_white nav > ul > li,
    #main-header.floating_white nav ul.second-menu > li {
        position: static;
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    /* The base makes it `relative`, which would capture the submenu. */
    #main-header.floating_white nav > ul > li.right-separator {
        position: static;
        border: 0;
        padding: 0;
        margin: 0;
    }

    #main-header.floating_white nav > ul > li.right-separator::before,
    #main-header.floating_white nav > ul > li.right-separator::after {
        display: none;
    }

    /* Keeps the `li` hovered on the way down; full width, the path is diagonal.
       The active variant is listed so it outscores the `li.active:after` reset
       below, which ties with the plain selector and would win by order. */
    #main-header.floating_white nav > ul > li:hover::after,
    #main-header.floating_white nav > ul > li.active:hover::after {
        content: "";
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        top: calc(100% - 6px);
        height: 70px;                /* gap (~12) + submenu height (44) + slack */
        display: block;
        margin: 0;
        width: auto;
        background: none;
        transition: none;
    }

    #main-header.floating_white nav > ul > li > a,
    #main-header.floating_white nav ul.second-menu > li > a {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: 46px;
        margin: 0;
        padding: 12px 16px;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: var(--o2-black);
        white-space: nowrap;
        border-radius: 40px;
        transition: background-color .2s, color .2s;
    }

    #main-header.floating_white nav > ul > li:hover > a {
        background-color: var(--o2-hover-bg);
        color: var(--o2-black);
    }

    /* Computed server-side as `li.active`. */
    #main-header.floating_white nav > ul > li.active > a {
        background-color: var(--o2-black);
        color: var(--o2-white);
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
    }

    /* Pill background instead of the base 3px underline. */
    /* Hovered top-level items keep their `::after`: it is the hit area. */
    #main-header.floating_white nav ul li:after,
    #main-header.floating_white nav ul li.active:after {
        display: none;
    }

    #main-header.floating_white nav ul.submenu li:hover:after {
        display: none;
    }

    #main-header.floating_white a.loginButton {
        position: absolute;
        right: 3px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
        height: 56px;
        margin: 0;
        padding: 16px 24px;
        border: 0;
        border-radius: 40px;
        background-color: var(--o2-blue);
        color: var(--o2-white);
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
        white-space: nowrap;
    }

    #main-header.floating_white nav ul.submenu {
        top: calc(100% + 9px);
        left: 50%;
        right: auto;
        width: auto;
        transform: translateX(-50%);
        align-items: center;
        gap: 4px;
        box-sizing: border-box;
        height: 44px;
        margin: 0;
        padding: 3px;
        background-color: var(--o2-glass-bg);
        border: 1px solid var(--o2-border);
        border-radius: var(--o2-pill-radius);
        -webkit-backdrop-filter: blur(var(--o2-glass-blur));
                backdrop-filter: blur(var(--o2-glass-blur));
    }


    #main-header.floating_white nav ul.submenu li {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    #main-header.floating_white nav ul.submenu li a {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: 36px;
        margin: 0;
        padding: 8px 16px;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: var(--o2-black);
        white-space: nowrap;
        border-radius: 32px;
        transition: background-color .2s, color .2s;
    }

    #main-header.floating_white nav ul.submenu li:hover a {
        background-color: var(--o2-hover-bg);
        color: var(--o2-black);
    }

    #main-header.floating_white nav ul.submenu li.active a {
        background-color: var(--o2-black);
        color: var(--o2-white);
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
    }

    #main-header.floating_white nav ul.submenu li.active:after,
    #main-header.floating_white nav ul.submenu li:hover:after {
        display: none;
    }

    /* (1,2,3) beats `li:hover ul` (1,1,4) without `!important`. */
    #main-header.floating_white nav ul.submenu:not(:has(li)) {
        display: none;
    }
}

/* === Shared by tablet and mobile (≤1199px) =============================== */
@media only screen and (max-width: 1199px),
       only screen and (hover: none) and (pointer: coarse) {

    #main-header.floating_white #mobile-button,
    #main-header.floating_white .close-menu-icon {
        cursor: pointer;
    }

    /* The base pins `width: 45px`. */
    #main-header.floating_white #mobile-button {
        width: auto;
    }

    /* The `img` `src` is hardcoded, so the icon is masked from CSS instead. */
    #main-header.floating_white #mobile-button .menu-icon img,
    #main-header.floating_white .close-menu-icon span img {
        display: none;
    }

    #main-header.floating_white #mobile-button .menu-icon {
        width: 24px;
        height: 24px;
        background-color: var(--o2-blue);
        -webkit-mask: url("../img/menu.838a8a8a7d52.svg") no-repeat center / 24px 24px;
                mask: url("../img/menu.838a8a8a7d52.svg") no-repeat center / 24px 24px;
    }

    #main-header.floating_white .close-menu-icon span {
        width: auto;
        height: auto;
        float: none;
    }

    #main-header.floating_white .close-menu-icon span:not(.menu-label) {
        width: 24px;
        height: 24px;
        background-color: var(--o2-white);
        -webkit-mask: url("../img/close.f8461ef4f43b.svg") no-repeat center / 24px 24px;
                mask: url("../img/close.f8461ef4f43b.svg") no-repeat center / 24px 24px;
    }

    /* Off-screen before the JS moves it, or it flashes on load. Own scroll: the
       JS pins the height to the viewport without `overflow`. */
    #main-header.floating_white nav {
        position: absolute;
        top: 0;
        z-index: 3;
        float: none;
        width: 100%;
        justify-content: flex-start;
        transition: all cubic-bezier(0.83, 0.24, 0.29, 1) 0.6s;
        left: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        max-height: 100vh;
        max-height: 100dvh;
        background-color: transparent;
        background-image: linear-gradient(180deg, #FFFFFF 54.33%, #DBE8FF 78.37%, #82A9FF 100%);
    }

    /* Pinned to the viewport only while open. */
    #main-header.floating_white.is-open .close-menu-icon {
        position: fixed;
        z-index: 5;
    }

    /* Those blocks only reach top-level items; the base border hits submenu ones. */
    #main-header.floating_white nav ul li,
    #main-header.floating_white nav ul.second-menu li {
        border-bottom: 0;
    }

    /* ⚠️ The design does not define the active state here; marked by font weight. */
    #main-header.floating_white nav > ul > li.active > a,
    #main-header.floating_white nav ul.second-menu > li.active > a,
    #main-header.floating_white nav li.has-submenu .submenu li.active a {
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
    }
}

/* === Submenu accordion — `header.js` toggles `is-expanded` =============== */
@media only screen and (max-width: 1199px),
       only screen and (hover: none) and (pointer: coarse) {

    /* Collapsed by default. (1,3,2) beats `ul.submenu`, `li:hover ul` and
       `li.parentActive ul`. */
    #main-header.floating_white nav li.has-submenu .submenu {
        display: none;
    }

    #main-header.floating_white nav li.has-submenu.is-expanded .submenu {
        display: block;
    }

    #main-header.floating_white nav li.has-submenu > a {
        position: relative;
        display: block;
        cursor: pointer;
    }

    #main-header.floating_white nav li.has-submenu > a::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -12px;
        width: 24px;
        height: 24px;
        display: block;
        background-color: var(--o2-black);
        -webkit-mask: url("../img/plus.6030a76dcef1.svg") no-repeat center / 24px 24px;
                mask: url("../img/plus.6030a76dcef1.svg") no-repeat center / 24px 24px;
    }

    #main-header.floating_white nav li.has-submenu.is-expanded > a::after {
        -webkit-mask-image: url("../img/minus.59e276de5c54.svg");
                mask-image: url("../img/minus.59e276de5c54.svg");
    }

    /* Absolute for the desktop bar; in the accordion it belongs to the flow. */
    #main-header.floating_white nav li.has-submenu .submenu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: transparent;
    }

    /* The base paints them white and underlines the active one, for the old
       blue background. */
    #main-header.floating_white nav li.has-submenu .submenu li,
    #main-header.floating_white nav li.has-submenu .submenu li a {
        color: var(--o2-black);
    }

    /* The base zeroes these inside its `max-width` query, so above it the
       desktop spacing leaks in. */
    #main-header.floating_white nav li.has-submenu .submenu li {
        margin: 0;
        padding: 0;
    }

    #main-header.floating_white nav li.has-submenu .submenu li a {
        margin: 0;
    }

    #main-header.floating_white nav li.has-submenu .submenu li::after,
    #main-header.floating_white nav li.has-submenu .submenu li.active::after,
    #main-header.floating_white nav li.has-submenu .submenu li:hover::after {
        display: none;
    }

}

/* === Account layer — opened by CSS, not JS ============================== */
@media only screen and (min-width: 1200px) and (hover: hover) {

    /* Two-colour: background image, not a mask, hence two files. */
    #main-header.floating_white .myAccount .userName {
        display: block;
        width: 56px;
        height: 56px;
        min-width: 0;
        margin: 0;
        padding-left: 0;
        text-indent: -3999px;
        background: transparent url("../img/avatar.a4688988e5cf.svg") no-repeat center / 56px 56px;
    }

    #main-header.floating_white .myAccount:hover .userName {
        background-image: url("../img/avatar_black.9b61e215b8f3.svg");
    }

    /* The redesign drops the chevron. */
    #main-header.floating_white .myAccount .userName::after {
        display: none;
    }

    /* Same anchoring as the CTA it replaces, or the base `float` misaligns it. */
    #main-header.floating_white .myAccount {
        position: absolute;
        right: 3px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        float: none;
        width: 56px;
        height: 56px;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    /* Clipped so row backgrounds respect the corners; hence no radius on rows. */
    #main-header.floating_white .myAccount .myAccountLayer {
        top: calc(100% + 8px);
        box-sizing: border-box;
        width: 244px;
        padding: 0;
        border: 1px solid var(--o2-border);
        border-radius: 16px;
        background-color: var(--o2-glass-bg);
        -webkit-backdrop-filter: blur(var(--o2-glass-blur));
                backdrop-filter: blur(var(--o2-glass-blur));
        box-shadow: none;
        overflow: hidden;
    }

    /* Covers the 8px gap. On the avatar because the card clips its content. */
    #main-header.floating_white .myAccount::after {
        content: "";
        position: absolute;
        right: 0;
        top: 100%;
        width: 244px;
        height: 9px;
    }

    #main-header.floating_white .myAccount .myAccountLayer a {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 13px 32px 16px 16px;
        border-radius: 0;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0;
        color: var(--o2-black);
        transition: background-color .2s;
        background: #fff;
    }

    #main-header.floating_white .myAccount .myAccountLayer a:first-child {
        border-bottom: 1px solid var(--o2-border);
    }

    #main-header.floating_white .myAccount .myAccountLayer a:last-child {
        border-bottom: 0;
    }

    #main-header.floating_white .myAccount .myAccountLayer a::before {
        content: "";
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        background-color: var(--o2-blue);
        -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
        -webkit-mask-position: center;
                mask-position: center;
        -webkit-mask-size: 24px 24px;
                mask-size: 24px 24px;
    }

    #main-header.floating_white .myAccount .myAccountLayer a:first-child::before {
        -webkit-mask-image: url("../img/home.a84a8081289a.svg");
                mask-image: url("../img/home.a84a8081289a.svg");
    }

    #main-header.floating_white .myAccount .myAccountLayer a:last-child::before {
        -webkit-mask-image: url("../img/logout.ae91130c4fbe.svg");
                mask-image: url("../img/logout.ae91130c4fbe.svg");
    }

    #main-header.floating_white .myAccount .myAccountLayer a:hover {
        background-color: var(--o2-hover-bg);
        text-decoration: none;
    }
}


/* === Tablet (800–1199px) =================================================
   The base declares `overflow: hidden` on `.nav-container`, which holds the
   expandable `<nav>`; `header.js` writes `overflow: visible` when opening. */
@media only screen and (min-width: 800px) and (max-width: 1199px),
       only screen and (hover: none) and (pointer: coarse) and (min-width: 800px) {

    #main-header.floating_white {
        background: none;
    }

    /* On `::before`: `.nav-container` is the expandable `<nav>` containing block. */
    #main-header.floating_white .nav-container {
        position: absolute;
        top: 0;
        left: 0;
        max-width: none;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 96px;
        max-height: none;
        padding: 0 44px;             /* design 40 + 1px border + 3px inset */
        background: none;
        isolation: isolate;
    }

    #main-header.floating_white .nav-container::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 16px;
        left: 40px;
        right: 40px;
        height: 64px;
        box-sizing: border-box;
        background-color: var(--o2-glass-bg);
        border: 1px solid var(--o2-border);
        border-radius: var(--o2-pill-radius);
        -webkit-backdrop-filter: blur(var(--o2-glass-blur));
                backdrop-filter: blur(var(--o2-glass-blur));
    }

    /* Above the panel, visible with the menu open. */
    #main-header.floating_white a.logo {
        position: relative;
        z-index: 4;
        width: 56px;
        height: 56px;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    #main-header.floating_white a.logo svg,
    #main-header.floating_white a.logo img {
        width: 56px;
        height: 56px;
    }

    #main-header.floating_white #mobile-button,
    #main-header.floating_white .close-menu-icon {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 16px;
        height: 56px;
        margin: 0;
        padding: 13px 16px;
        border: 0;
        border-radius: 40px;
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
    }

    #main-header.floating_white #mobile-button {
        background-color: var(--o2-white);
        color: var(--o2-blue);
    }

    #main-header.floating_white .close-menu-icon {
        position: absolute;
        top: 20px;                   /* pill 16 + 4px inset */
        right: 44px;
        float: none;
        background-color: var(--o2-black);
        color: var(--o2-white);
    }

    /* Not floats: clearance would absorb the `margin-top` of the dropped block. */
    #main-header.floating_white nav {
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        align-content: flex-start;
        column-gap: 56px;            /* guaranteed minimum gap */
        row-gap: 64px;
        padding: 136px 40px 40px 40px;
    }

    #main-header.floating_white nav > ul,
    #main-header.floating_white nav > ul.second-menu {
        float: none;
        display: flex;
        flex-flow: column nowrap;
        gap: 40px;
        width: 301px;
        margin: 0;
        padding: 0;
        border: 0;
    }

    /* Column gap = `column-gap` + this margin; the gap alone is the minimum. */
    #main-header.floating_white nav > ul.second-menu {
        margin-left: 47px;
    }

    /* Flush right. An auto margin does not count towards line breaking. */
    #main-header.floating_white nav a.loginButton,
    #main-header.floating_white nav .myAccount {
        margin-left: auto;
    }

    #main-header.floating_white nav > ul > li,
    #main-header.floating_white nav ul.second-menu > li {
        display: flex;
        flex-direction: column;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #main-header.floating_white nav > ul > li::after,
    #main-header.floating_white nav > ul > li.right-separator::before,
    #main-header.floating_white nav > ul > li.right-separator::after {
        display: none;
    }

    #main-header.floating_white nav > ul > li > a,
    #main-header.floating_white nav ul.second-menu > li > a {
        display: block;
        margin: 0;
        padding: 0;
        background: none;
        border-radius: 0;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 32px;
        line-height: 1.4;
        letter-spacing: -0.02em;
        color: var(--o2-black);
    }

    #main-header.floating_white nav li.has-submenu > a {
        padding-right: 40px;
    }

    #main-header.floating_white nav li.has-submenu > a::after {
        width: 24px;
        height: 24px;
        margin-top: -12px;
    }

    #main-header.floating_white nav li.has-submenu .submenu {
        padding: 16px 0 0 0;
    }

    #main-header.floating_white nav li.has-submenu .submenu li a {
        padding: 8px 0;
        font-family: 'OnAir-Regular', sans-serif;
        font-size: 16px;
        line-height: 1.4;
    }

    #main-header.floating_white nav a.loginButton {
        float: none;
        clear: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 309px;
        height: 62px;
        margin: 0;
        padding: 24px 32px;
        border: 0;
        border-radius: 40px;
        background-color: var(--o2-blue);
        color: var(--o2-white);
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
    }

    #main-header.floating_white nav .myAccount {
        float: none;
        clear: none;
        width: 292px;
        margin: 0;
        padding: 0;
        background: none;
    }

    /* No avatar or name inside the panel. */
    #main-header.floating_white nav .myAccount .loginLayer {
        display: none;
    }

    #main-header.floating_white nav .myAccount .myAccountLayer {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: none;
    }

    /* Centred, unlike desktop. Side padding evened out so it really centres. */
    #main-header.floating_white nav .myAccount .myAccountLayer a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
        min-height: 62px;
        margin: 0;
        padding: 11px 16px;
        border: 0;
        border-radius: 40px;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        text-decoration: none;
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a::before {
        content: "";
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
        -webkit-mask-position: center;
                mask-position: center;
        -webkit-mask-size: 24px 24px;
                mask-size: 24px 24px;
    }

    /* ⚠️ Icon colours not confirmed by design. */
    #main-header.floating_white nav .myAccount .myAccountLayer a:first-child {
        background-color: var(--o2-blue);
        color: var(--o2-white);
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a:first-child::before {
        background-color: var(--o2-white);
        -webkit-mask-image: url("../img/home.a84a8081289a.svg");
                mask-image: url("../img/home.a84a8081289a.svg");
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a:last-child {
        background-color: var(--o2-hover-bg);
        color: var(--o2-black);
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a:last-child::before {
        background-color: var(--o2-black);
        -webkit-mask-image: url("../img/logout.ae91130c4fbe.svg");
                mask-image: url("../img/logout.ae91130c4fbe.svg");
    }
}

/* === Mobile (≤799px) — tablet structure at mobile scale ================= */
@media only screen and (max-width: 799px) {

    #main-header.floating_white {
        background: none;
    }

    #main-header.floating_white .nav-container {
        position: absolute;
        top: 0;
        left: 0;
        max-width: none;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        height: 90px;
        max-height: none;
        padding: 20px 20px 0 20px;   /* design 16 + 1px border + 3px inset */
        background: none;
        isolation: isolate;
    }

    #main-header.floating_white .nav-container::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 16px;
        left: 16px;
        right: 16px;
        height: 58px;
        box-sizing: border-box;
        background-color: var(--o2-glass-bg);
        border: 1px solid var(--o2-border);
        border-radius: var(--o2-pill-radius);
        -webkit-backdrop-filter: blur(var(--o2-glass-blur));
                backdrop-filter: blur(var(--o2-glass-blur));
    }

    #main-header.floating_white a.logo {
        position: relative;
        z-index: 4;
        width: 50px;
        height: 50px;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    #main-header.floating_white a.logo svg,
    #main-header.floating_white a.logo img {
        width: 50px;
        height: 50px;
    }

    #main-header.floating_white #mobile-button,
    #main-header.floating_white .close-menu-icon {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 16px;
        height: 50px;
        margin: 0;
        padding: 13px 16px;
        border: 0;
        border-radius: 40px;
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
    }

    #main-header.floating_white #mobile-button {
        background-color: var(--o2-white);
        color: var(--o2-blue);
    }

    #main-header.floating_white .close-menu-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        float: none;
        background-color: var(--o2-black);
        color: var(--o2-white);
    }

    #main-header.floating_white nav {
        box-sizing: border-box;
        padding: 106px 24px 40px 24px;
    }

    #main-header.floating_white nav > ul,
    #main-header.floating_white nav > ul.second-menu {
        float: none;
        display: flex;
        flex-flow: column nowrap;
        gap: 24px;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #main-header.floating_white nav > ul.second-menu {
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--o2-border);
    }

    #main-header.floating_white nav > ul > li,
    #main-header.floating_white nav ul.second-menu > li {
        display: flex;
        flex-direction: column;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #main-header.floating_white nav > ul > li::after,
    #main-header.floating_white nav > ul > li.right-separator::before,
    #main-header.floating_white nav > ul > li.right-separator::after {
        display: none;
    }

    #main-header.floating_white nav > ul > li > a,
    #main-header.floating_white nav ul.second-menu > li > a {
        display: block;
        margin: 0;
        padding: 0;
        background: none;
        border-radius: 0;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0;
        color: var(--o2-black);
    }

    #main-header.floating_white nav li.has-submenu > a {
        padding-right: 32px;
    }

    #main-header.floating_white nav li.has-submenu > a::after {
        width: 24px;
        height: 24px;
        margin-top: -12px;
    }

    #main-header.floating_white nav li.has-submenu .submenu {
        margin: 0;
        padding: 24px 0 0 0;
    }

    #main-header.floating_white nav li.has-submenu.is-expanded .submenu {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #main-header.floating_white nav li.has-submenu .submenu li a {
        display: block;
        margin: 0;
        padding: 0;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: var(--o2-black);
    }

    #main-header.floating_white nav a.loginButton {
        float: none;
        clear: both;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        height: 62px;
        margin: 56px 0 0 0;          /* list padding 16 + 40 */
        padding: 24px 32px;
        border: 0;
        border-radius: 40px;
        background-color: var(--o2-blue);
        color: var(--o2-white);
        font-family: 'OnAir-Bold', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
    }

    #main-header.floating_white nav .myAccount {
        position: static;
        float: none;
        clear: both;
        width: 100%;
        margin: 56px 0 0 0;
        padding: 0;
        background: none;
    }

    #main-header.floating_white nav .myAccount .loginLayer {
        display: none;
    }

    #main-header.floating_white nav .myAccount .myAccountLayer {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: none;
    }

    /* Centred, unlike desktop. Side padding evened out: the design 32 on the right
       assumed left-aligned content and would shift the group off centre. */
    #main-header.floating_white nav .myAccount .myAccountLayer a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
        min-height: 62px;
        margin: 0;
        padding: 11px 16px;
        border: 0;
        border-radius: 40px;
        font-family: 'OnAir-Regular', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        text-decoration: none;
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a::before {
        content: "";
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
        -webkit-mask-position: center;
                mask-position: center;
        -webkit-mask-size: 24px 24px;
                mask-size: 24px 24px;
    }

    /* ⚠️ Icon colours not confirmed by design. */
    #main-header.floating_white nav .myAccount .myAccountLayer a:first-child {
        background-color: var(--o2-blue);
        color: var(--o2-white);
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a:first-child::before {
        background-color: var(--o2-white);
        -webkit-mask-image: url("../img/home.a84a8081289a.svg");
                mask-image: url("../img/home.a84a8081289a.svg");
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a:last-child {
        background-color: var(--o2-hover-bg);
        color: var(--o2-black);
    }

    #main-header.floating_white nav .myAccount .myAccountLayer a:last-child::before {
        background-color: var(--o2-black);
        -webkit-mask-image: url("../img/logout.ae91130c4fbe.svg");
                mask-image: url("../img/logout.ae91130c4fbe.svg");
    }
}

/* Derived from the column widths, gaps and padding: recompute if they change. */
@media only screen and (min-width: 800px) and (max-width: 1150px) {

    #main-header.floating_white nav a.loginButton,
    #main-header.floating_white nav .myAccount {
        margin-left: 0;
    }
}

/* Tighter nav items where the bar is at its narrowest desktop width. */
@media only screen and (min-width: 1200px) and (max-width: 1300px) and (hover: hover) {

    #main-header.floating_white nav > ul > li > a,
    #main-header.floating_white nav ul.second-menu > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}
