
/* --------------------------------- STRUCTURE --------------------------------- */

#header{
    /* z-index: 9999; */
    /* border-bottom: solid 1px var(--color-light-grey); */
    box-shadow: none !important;
    background: var(--color-black) !important;
}

.modal-open #header{
    z-index: 1;
}

.displayNavFullWidth{
    position: relative;
}

html:has(#header.is-open),
body:has(#header.is-open){
    overflow: hidden;
}

.header-nav .container,
.header-top .container{
    padding-inline: 30px!important;
}

@media (max-width: 1300px) {
    #header{
        border: none !important;
    }

    #header:has(+ #wrapper #left-column.active) {
        display: none;
    }
}

@media (width < 769px) {
    .header-nav .container,
    .header-top .container {
        padding-inline: 35px!important;
    }
}

/* --------------------------------- HEADER NAV --------------------------------- */


#header .header-nav{
    background: none;
    max-height: none;
    border: none;
    padding-block: 32px 15px;
}

.advtm_menu_10,
.advtm_menu_11 {
    display: none;
}

.burgerTransition {
    display: none;
}

@media (max-width: 1500px) {
    #header .header-nav{
        padding-block: 20px;
    }
}

@media (max-width: 1300px) {
    #header .header-nav{
        padding-block: 20px!important;
        position: relative;
    }

    .advtm_menu_10,
    .advtm_menu_11 {
        display: block;
    }

    #adtm_menu > #adtm_menu_inner > #menu > li.advtm_menu_10 > a {
        padding-top: 16px!important;
    }

    #adtm_menu > #adtm_menu_inner > #menu > li.advtm_menu_10 > a > span,
    #adtm_menu > #adtm_menu_inner > #menu > li.advtm_menu_11 > a > span {
        display: flex;
        flex-direction: row-reverse;
        gap: 20px;
        align-items: center;
        justify-content: flex-end;
        font-family: var(--ffMMe);
        text-transform: none!important;
        font-size: 1rem!important;
        line-height: 1.5625rem!important;
    }

    /* #header .header-nav .mobile{
        display: flex!important;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        width: fit-content!important;
    }
    #header .header-nav .mobile .left .logo,
    #header .header-nav .mobile .right {
        display: none!important;
    }
    #header .header-nav .mobile .left{
        display: flex;
        align-items: center;
        gap: 50px;
    }
    #header .header-nav .mobile .right{
        display: flex;
        align-items: center;
        gap: 20px;
    } */

    .burgerTransition {
        display: block;
        position: absolute;
        left: 25px;
        top: 32px;
        z-index: 10;
    }

    .header-nav .container {
        display: flex!important;
        gap: 50px!important;
        flex-direction: row-reverse!important;
        padding-inline: 80px!important;
        justify-content: flex-end;
    }
    .header-nav .container::after {
        display: none!important;
    }
    #header .displayNav {
        width: 100%;
    }
}

@media (width < 769px) {
    #header .header-nav {
        padding-block: 13px 19px!important;
    }
}

/* --------------------------------- HEADER TOP --------------------------------- */

#header .header-top{
    padding-block: 12px 0px;
    display: block!important;
}

/* --------------------------------- LOGO --------------------------------- */

#header .logo{
    width: 180px;
    min-width: 180px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1500px) {
    #header .logo{
        width: 140px;
        min-width: 140px;
    }
}

@media (max-width: 1300px) {

    #header .header-top>.container {
        padding-top: 38px;
    }

    #header .logo{
        width: 100px!important;
        min-width: 175px;
        aspect-ratio: 175/46;
        height: auto;
    }

    #header .header-top {
        padding-block: 18px;
        background-color: var(--color-white);
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        z-index: 10;
        transition: left 0.3s ease;
    }

    #header.opened_menu .header-top {
        left: 0;
        transition: left 0.3s ease;
    }

    #adtm_menu > #adtm_menu_inner > #menu > li.menu-icon-mobile {
        height: 19px;
        width: 19px;
        margin-bottom: 15px!important;
    }

    /* #adtm_menu ul#menu .li-niveau1:hover div.adtm_sub {
        opacity: 0;
        visibility: hidden;
    } */
}

/* --------------------------------- BURGER / MENU ICON --------------------------------- */

#menu-icon{
    margin: 0px !important;
    width: 25px;
    height: 20px;
    position: relative;
}

#menu-icon .bar{
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transform: translateY(0%);
    transition: 300ms ease;
    position: absolute;
    left: 0;
}

.mobileOnly {
    display: none;
}

#header .right .wishlist_link {
    display: none;
}

@media (width < 769px) {
    #header .header-nav .mobile .left .logo,
    #header .header-nav .mobile .right {
        display: flex!important;
    }

    .burgerTransition {
        left: 35px;
    }

    #header .header-top>.container {
        padding-top: 5px;
    }

    .mobileOnly {
        display: block;
        width: 100%;
    }

    .header-nav .container {
        padding-inline: 35px!important;
        flex-direction: column!important;
        gap: 19px !important;
    }
}

@media (width < 768px) {
    .header-nav .container {
        flex-direction: column-reverse !important;
        align-items: center;
    }

    .mobileOnly + .mobile {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .mobileOnly + .mobile .left {
        width: 62.5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #header .header-nav .mobile .right {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .burgerTransition {
        display: none;
    }

    #adtm_menu.adtm_touch {
        left: -100%!important;
        transition: left 0.3s ease;
    }

    #adtm_menu.adtm_touch.adtm_menu_toggle_open {
        left: 0!important;
        transition: left 0.3s ease;
    }
}

@media (width < 577px) {
    .mobileOnly + .mobile .left {
        width: unset;
        gap: 50px;
    }

    #checkout #search_widget {
        display: block!important;
    }
}

#menu-icon .bar1{
    top: 0;
    /* transition: transform 0.3s ease, top 0.3s ease 0.3s; */
}

/* #header.is-open #menu-icon .bar1{
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: top 0.3s ease, transform 0.3s ease 0.3s;
} */

#menu-icon .bar2{
    top: 50%;
    transform: translateY(-50%);
    /* transition: opacity 0.3s ease 0.3s; */
}

/* #header.is-open #menu-icon .bar2{
    opacity: 0;
    transition: opacity 0.3s ease 0.15s;
} */

#menu-icon .bar3{
    bottom: 0;
    /* transition: transform 0.3s ease, bottom 0.3s ease 0.3s; */
}

/* #header.is-open #menu-icon .bar3{
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    transition: bottom 0.3s ease, transform 0.3s ease 0.3s;
} */

/* --------------------------------- DISPLAY NAV --------------------------------- */

#header .displayNav{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    max-width: 1416px;
    margin: 0 auto;
    align-items: center;
}

@media (width < 1501px) {
    #header .displayNav{
        max-width: unset;
    }
}

@media (max-width: 1000px) {
    #header .displayNav{
        gap: 30px;
    }
}

/* --------------------------------- DISPLAY NAV 1 --------------------------------- */

#header .displayNav1{
    display: flex;
    align-items: center;
    gap: 100px;
}

@media (max-width: 1200px) {
    #header .displayNav1{
        gap: 60px;
    }
}

@media (max-width: 1000px) {
    #header .displayNav1{
        gap: 40px;
    }
}

@media (width < 769px) {
    #header .displayNav1 {
        justify-content: center;
    }

    #header .displayNav1 #search_widget{
        display: none;
    }
}

/* --------------------------------- DISPLAY NAV 2 --------------------------------- */

#header .displayNav2{
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 1200px) {
    #header .displayNav2{
        gap: 20px;
    }
}

@media (width < 1301px) {
    #header .header-nav #_desktop_contact_link,
    #header .header-nav #_desktop_user_info,
    #header .header-nav #_desktop_cart .blockcart span.text {
        display: none;
    }
}

/* --------------------------------- HEADER BANNER --------------------------------- */

#header .header-banner{
    background-color: var(--color-primary);
    padding-block: 10px;
}

#header .header-banner p,
#header .header-banner p a{
    color: var(--color-black);
    font-family: var(--ffMSeBo);
    margin: 0px;
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    white-space: nowrap;
}

.bannerMobileSpawn {
    display: none;
}

#header .header-banner .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-inline: unset;
    gap: 2.5%;
    margin-inline: unset;
    overflow: hidden;
}

#header .header-banner .container > p {
    display: block;
    animation: scrollBanner 20s linear infinite;
}

@media (width > 1699px) {
    #header .header-banner .container {
        width: 100%;
    }
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-102.5%);
    }
}

@media (max-width: 992px) {
    #header .header-banner p,
    #header .header-banner p a{
        font-size: .6875rem;
        line-height: .875rem;
        white-space: nowrap;
    }

    #header .header-banner {
        overflow-x: hidden;
    }

   .bannerMobileSpawn {
        display: block;
    }

    #header .header-banner .container > p {
        animation: scrollBanner 15s linear infinite;
    }
}