/* --- HEADER --- */
.header {
    display: flex;
    align-items: center;
    height: 4rem;
    background: #242424;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__top .nav-logo img {
    height: 23px;
    width: auto;
}

.header__logo {
    margin-right: 25px;
}

.header__logo img {
    width: auto;
    height: 40px;
}

.header__meta {
    flex-grow: 1;
}

/* --- MAIN MENU --- */
.nav-main .nav-main__link {
    color: inherit;
}

.nav-main__teasers {
    margin-top: 30px;
}

.nav-main__teaser {
    border: 2px solid #EDEDED;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.nav-main__teaser--dark {
    border: 2px solid #EDEDED;
    background: #EDEDED;
}


/* --- META --- */
.nav-meta__link {
    font-weight: bold;
    color: #fff;
}

.nav-lang__list {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    margin-top: 1rem;
    overflow-x: auto;
}

.nav-lang__item {
    padding: 0 1rem;
    margin: 0.5rem 0;
    border-width: 0 1px;
    border-style: solid;
    border-color: #EDEDED;
}

.nav-lang__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.nav-lang__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.nav-lang__link--active {
    color: #242424;
}

.nav-language .dropdown__toggle[class*=icon]::before {
    font-size: 1.5rem;
}

/* --- UTILITY --- */
.nav-utility__item {
    margin-left: 10px;
}

.nav-utility .dropdown__toggle[class*=icon]::before,
.nav-language .dropdown__toggle[class*=icon]::before {
    font-size: 1.0rem;
}

.nav-utility .nav-logo {
    color: #ffffff;
    font-size: 11px;
}
.nav-utility .nav-logo a {
    margin-left: 5px;
}
.nav-utility .nav-wishlist .wishlist-link {
    position: relative;
    margin-right: 10px;
}
.nav-utility .nav-wishlist .wishlist-link::before {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
}



/* --- MENU ICON --- */
/* @see https://jonsuh.com/hamburgers/ */
.mobile-menu__toggle {
    margin-right: 10px;
}

.hamburger {
    display: inline-block;
    height: 24px;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 4px;
    background-color: #000;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Squeeze */
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.mobile-menu--active .hamburger--squeeze .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.mobile-menu--active .hamburger--squeeze .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.mobile-menu--active .hamburger--squeeze .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}


/* --- DROPDOWN --- */
.dropdown__toggle--icon::after {
    content: '\e80f';
    display: inline-block;
    margin-left: 0.2em;
    margin-right: -.3rem;
    font-family: fontello;
    font-size: 1.35rem;
    line-height: 0;
    transition: transform .15s, top .15s;
    position: relative;
    top: 2px;
}

.dropdown__toggle--icon[class*=icon-]:after {
    display: none;
}

.dropdown__content {
    height: 0;
    overflow: hidden;
    position: absolute;
    z-index: 12; /* higher than mega menu */
    top: 64px;
    max-height: calc(100vh - 64px);
    left: 0;
    width: 100vw;
    padding: 0 20px;
    border: none;
    border-radius: 0 0 10px 10px;
    background: #FFF;
    opacity: 0;
    transition: padding .2s ease-out, opacity .2s;
}

.dropdown--active .dropdown__content {
    height: auto;
    overflow: auto;
    padding: 2rem 20px;
    border: 1px solid #EDEDED;
    opacity: 1;
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.05);
}

.dropdown--active .dropdown__toggle:after {
    transform: rotate(180deg);
    top: 4px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* --- PHONE (SM) --- */
@media ( min-width: 576px ) {


}


/* --- TABLET (MD) --- */
@media ( min-width: 768px ) {

    /* --- DROPDOWN --- */
    .dropdown__toggle {
        cursor: pointer;
        transition: color .4s;
    }

    .dropdown__toggle:hover {
        color: #008893;
    }

    .dropdown__toggle--icon[class*=icon-]:not(.icon-phone):not(.icon-globe):after {
        display: inline-block;
    }

    .dropdown__toggle--icon[class*=icon-]:not(.icon-phone):not(.icon-globe):before {
        display: none;
    }

}


/* --- < DESKTOP --- */
@media ( max-width: 991px ) {
    .header {
        height: auto;
        flex-direction: column;
        justify-content: center;
    }

    .header__top {
        justify-content: center;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .header__logo {
        margin-right: 20px;
    }

    .header__logo img {
        width: auto;
        height: 25px;
    }
    .header__logo-brand {
        text-align: center;
        padding-bottom: 0.5rem;
    }

    /* --- MOBILE MENU --- */
    .header__menu-row {
        display: flex;
        justify-content: space-between;
        width: 100%;
        background-color: #fff;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        box-shadow: 0 20px 40px 0 rgba(0,0,0,0.05);
        align-items: center;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
    }

    .mobile-menu__content {
        overflow-y: auto;
        position: fixed;
        z-index: 11;
        top: 100px;
        right: 0;
        bottom: 0;
        left: 0;
        height: 0;
        background: #FFF;
    }

    .mobile-menu-size {
        width: 40px;
    }

    .mobile-menu--active .mobile-menu__content {
        max-width: none;
        height: auto;
    }

    .mobile-menu__toggle:focus {
        outline: none;
    }

    .mobile-menu .hamburger-inner,
    .mobile-menu .hamburger-inner::before,
    .mobile-menu .hamburger-inner::after {
        background-color: #000;
    }


    /* --- UTILITY --- */
    .nav-utility .icon-globe::before {
        margin-right: 10px;
    }


    /* --- MAIN MENU --- */
    /* Nav list styling */
    .nav-main__item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

    .nav-main__item:last-child {
        border-bottom: 0;
    }

    .nav-main .nav-main__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 10px 10px 20px;
        font-weight: bold;
    }

    .nav-main .nav-main__link::before {
        order: 1;
        margin-left: 0.5em;
        font-size: 1.5rem;
        transform: translateY(-0.05em);
        color: #E2001A;
    }

    .nav-main .nav-main__link--up {
        justify-content: flex-start;
        padding-left: 10px;
        border-bottom: 1px solid #FFF;
    }

    .nav-main .nav-main__link--up::before {
        order: -1;
        margin: 0 0.5em 0 0;
    }

    .nav-main .nav-main__link--current,
    .nav-main .nav-main__link--current:hover {
        font-weight: 700;
        color: #FFF;
        background: #7d7d7d;
    }

    .nav-main .nav-main__item--meta {
        color: #7d7d7d;
    }

    /* Main menu */
    .nav-main {
        overflow-x: hidden;
        overflow-y: auto;
        position: absolute;
        top: -20px;
        right: 0;
        bottom: 0;
        left: 0;
        max-width: 680px;
        margin: 0 auto;
        opacity: 0;
        transition: top .3s, opacity .3s;
    }

    .mobile-menu--active .nav-main {
        top: 0;
        opacity: 1;
    }

    .nav-main__list {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 1.5rem 0 3rem;
        transition: transform .5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .nav-main__list.open {
        display: block;
    }

    .nav-main__list .nav-main__list {
        left: 100%;
    }

    /* Level 1 */
    .nav-main__list--1 {
        display: block;
    }
}


/* --- DESKTOP (LG) --- */
@media ( min-width: 992px ) {

    /* --- HEADER --- */
    .header {
        display: block;
        height: auto;
        padding-top: 10px;
    }

    .header__menu {
        position: relative;
        background-color: #ffffff;
        box-shadow: 0 20px 40px 0 rgba(0,0,0,0.05);
    }

    .header--breadcrumb {
        margin-bottom: 40px;
    }


    /* --- MOBILE MENU --- */
    .mobile-menu__content {
        position: relative;
    }


    /* --- MAIN MENU --- */
    .nav-main {
        margin-top: 10px;
        padding-top: 4px;
        font-size: 0.875rem; /* 14px */
    }
    .nav-main__sub {
        display: none;
        position: absolute;
        z-index: 11;
        top: 100%;
        right: -20px;
        left: -20px;
        padding: 0 40px 1.5rem 40px;
        background: #FFF;
        border: 1px solid #EDEDED;
        border-top: 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.05);
    }

    .nav-main .header__logo-brand {
        padding-bottom: 2px;
        /* margin-bottom: 0.5rem; */
    }

    .nav-main__list {
        list-style: none;
    }

    /*.nav-main__item--sub > .nav-main__link {
        cursor: pointer;
    }*/
    .nav-main__list--1 > .nav-main__item {
        align-items: end;
        display: flex;
    }

    .nav-main__item--1 > .nav-main__link {
        /*color: #fff;*/
        border-bottom: 4px solid transparent;
        transition: color .2s, border .15s;
        cursor: pointer;
    }

    .nav-main .nav-main__link::before {
        display: none;
    }

    .nav-main__item--1 > .nav-main__link:hover,
    .nav-main__item--1.nav-main__item--hover > .nav-main__link,
    .nav-main__item--1.nav-main__item--active > .nav-main__link {
        border-bottom: 4px solid #d9000d;
    }

    /* Level 1 */
    .nav-main__list--1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-main__item--1 > .nav-main__link {
        font-weight: bold;
        display: block;
        padding: 0.75rem 0; /* 3rem total height */
        margin-left: 20px;
    }

    .nav-main__item--hover .nav-main__sub,
    .nav-main__item--open .nav-main__sub {
        display: block;
    }

    .nav-main__teasers {
        margin-top: 50px;
    }

    .nav-main__teaser {
        padding: 40px;
    }

    .nav-main__item--sub {
        position: relative;
    }

    /* Level 2 */
    .nav-main__sub.nav-main__sub--brand {
        left: calc(50% + 10px); /* margin-left 20px */
        transform: translateX(-50%);
        min-width: 300px;
        right: auto;
        padding-top: .5rem;
    }
    .nav-main__sub.nav-main__sub--brand.nav-main__sub--brand-last {
        left: auto;
        right: -30px;
        transform: none;
    }
    .nav-main__item--2 {
        margin-top: 1rem;
        font-weight: bold;
    }

    /* level 3 */
    .nav-main__item--3 {
        margin: .5rem 0 0 1rem;
    }
    .nav-main__item--3 .nav-main__link:hover {
        color: var(--brand-active);
    }

    /* --- HEADER MENU --- */
    .nav-meta {
        margin: 0;
    }

    .header .nav-list--inline > li {
        padding: 0;
    }

    .header .nav-list--inline > li + li {
        padding: 0 0 0 20px;
    }

    /* country */
    .nav-country .dropdown__content {
        min-width: 325px;
    }

    .nav-language .dropdown__content {
        width: auto;
    }


    /* --- ROOTLINE --- */
    .header__breadcrumb {
        height: 40px;
    }


    /* --- DROPDOWN --- */
    .dropdown {
        position: relative;
    }

    .dropdown__content {
        top: calc(100% + 10px);
        left: 50%;
        min-width: 100%;
        width: auto;
        border-radius: 10px;
        transform: translateX(-50%);
    }

    .dropdown--active .dropdown__content {
        padding: 2rem 20px;
        border: 1px solid #EDEDED;
    }


    /* --- UTITLITY --- */
    .nav-utility__item {
        margin-left: 20px;
        display: flex;
        align-items: center;
    }

    .nav-utility__item .dropdown__toggle {
        display: flex;
        align-items: center;
    }

    .nav-utility .dropdown__toggle[class*=icon]::before {
        margin-right: 10px;
    }


    .nav-utility .nav-logo {
        margin-left: 20px;
    }
}


/* --- DESKTOP (XL) --- */
@media ( min-width: 1200px ) {

    /* --- HEADER --- */
    .header__logo {
        margin-right: 30px;
    }

    .header__logo-brand {
        flex-grow: 1;
    }

    .header .nav-list--inline > li + li {
        padding-left: 30px;
    }

    /* Level 1 */
    .nav-main__item--1 > .nav-main__link {
        margin-left: 40px;
        padding-top: 24px;
        padding-bottom: 20px;
    }

    /* Level 2 */
    .nav-main__sub.nav-main__sub--brand {
        left: calc(50% + 35px); /* margin-left 70px */
    }

    /* --- UTITLITY --- */
    .nav-utility__item {
        margin-left: 35px;
    }

    .nav-utility .nav-logo {
        margin-left: 40px;
    }

    .nav-utility .dropdown__toggle[class*=icon]::before,
    .nav-language .dropdown__toggle[class*=icon]::before {
        font-size: 1.1rem;
    }
}


/* --- DESKTOP (XXL) --- */
@media ( min-width: 1440px ) {

    .nav-utility .nav-logo {
        margin-left: 70px;
    }

    .header__logo {
        margin-right: 50px;
    }

    .header .nav-list--inline > li + li {
        padding-left: 50px;
    }

    /* --- MAIN MENU --- */
    .nav-main {
        font-size: 1rem;
    }

    /* Level 1 */
    .nav-main__item--1 > .nav-main__link {
        margin-left: 60px;
    }

    /* --- UTILITY --- */
    .nav-utility__item {
        margin-left: 50px;
    }
}
