.main-header {
    background: var(--menu-bg);
    color: var(--menu-color);
    height: var(--menu-height);
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 100;
}

.main-header .container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    height: var(--menu-height);
    margin-right: 36px;
    text-decoration: none;
}
.logo .logoWrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transform-origin: center left;
}

.logo img,
.logo svg {
    height: calc(100% * var(--mainNavLogoScale));
    max-height: calc(100% * var(--mainNavLogoScale));
    width: auto;
    display: block;
}

/* ----------------------- MAIN MENU ----------------------- */
.main-nav {
    flex: 1;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.menu-main {
    width: 100%;
}
.menu-main,
.menu-right {
    display: flex;
    margin: 0;
    padding: 0;
    height: var(--menu-height);
    align-items: center;
}

.menu-right {
    margin-left: auto;
}

.menu-main li,
.menu-right li {
    position: relative;
    height: 100%;
}

.menu-main > li a,
.menu-right > li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: var(--menu-height);
    color: var(--menu-color);
    text-decoration: none;
    font-family: var(--main-font);
    font-size: 1em;
    letter-spacing: 0.05em;
    font-weight: 400;
    transition: color var(--transition);
    text-transform: uppercase;
    text-align: center;
}

/*
.menu-main a:hover,
.menu-main .has-mega>a:hover,
.menu-right .cart-menu a:hover {
}
*/

.menu-main .has-mega a > span {
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-main .has-mega.mMenuOpen a > span {
    border-bottom:solid 3px #000;
    position: relative;
    top: 2px;
}

/* ----------------------- MEGA MENU ----------------------- */
.has-mega .mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    /*top: var(--menu-height);*/
    width: 100vw;
    background: #fff;
    color: #231F20;
    /* box-shadow: 0 12px 36px rgba(30,30,30,0.2); */
    padding: 36px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition);
    border-radius: 0 0 16px 16px;
    z-index: 120;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.mMenuOpen .mega-menu {
    display: block;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mega-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 48px;
    justify-content: center;
    align-items: flex-start;
}

.mega-content>div {
    min-width: 160px;
    flex: 1 1 0;
    text-align: left;
}

.mega-content ul {
    margin: 0;
    padding: 0;
}

.mega-content li {
    margin: 0;
}

.mega-content li a {
    color: #231F20;
    text-decoration: none;
    font-family: var(--main-font);
    font-size: 1em;
    display: block;
    transition: color 0.2s;
    text-transform: uppercase;
    height: auto !important;
    padding: 6px 0;
    justify-content: flex-start;
    text-align: left;
    background: none;
}

.mega-content a:hover {
    color: var(--menu-accent, #e4c800);
    background: none;
}

.mega-content h4 {
    margin-top: 0;
    margin-bottom: 2px;
    color: #231F20;
    font-size: 1em;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
}

/* ----------------------- CART ICON ----------------------- */
.menu-right .cart-menu a {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: var(--menu-height);
    color: var(--menu-color);
    text-decoration: none;
    font-size: 1em;
    font-family: var(--main-font);
    transition: color var(--transition);
    justify-content: center;
}

.menu-right .cart-menu a:hover {
    color: var(--menu-accent);
    background: none;
}

.cart-icon {
    display: flex;
    align-items: center;
    height: 22px;
    position: relative;
    top: -5px;
}

.menu-right .cart-menu svg circle,
.menu-right .cart-menu svg path {
    stroke: #231F20 !important;
    fill: #231F20 !important;
}

/* ----------------------- HAMBURGER ----------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 16px;
    z-index: 102;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: var(--menu-color);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Dropdown Menu ---------- */
.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: #fff;
    /* box-shadow: 0 6px 20px rgba(30,30,30,0.13); */
    border-radius: 0 0 12px 12px;
    z-index: 130;
    padding: 12px 0;
}

.dropdown li {
    position: relative;
}

.dropdown > li a {
    padding: 10px 24px;
    height: auto;
    color: #231F20;
    font-family: var(--main-font);
    font-size: 1em;
    text-transform: uppercase;
    text-align: left;
    background: none;
    width: 100%;
    transition: color 0.18s;
    display: block;
    border-radius: 4px;
}

.dropdown a:hover,
.dropdown a:focus {
    color: var(--menu-accent);
    background: none;
    outline: none;
}

.has-dropdown:hover>.dropdown,
.has-dropdown:focus-within>.dropdown,
.has-dropdown.mMenuOpen>.dropdown {
    display: block;
}


.has-dropdown .dropdown .has-dropdown svg.generalArrow_1  {
    position: absolute;
    right:20px;
    transform: rotate(0deg);
}

.has-dropdown .dropdown .dropdown {
    left: 100%;
    top: 0;
    margin-left: -2px;
    border-radius: 0 12px 12px 12px;
    /* box-shadow: 0 6px 20px rgba(30,30,30,0.11); */
}



.module_mainheader_1 svg.generalArrow_1 {
    transform: rotate(90deg);
    margin-left: 10px;
}
.module_mainheader_1 svg.generalArrow_1 polyline {
    stroke: #000;
}


@media (max-width: 1440px) {
    .main-nav {
        margin-left: 0px;
    }
    .menu-main>li>a, .menu-right a {
        padding: 0 20px;
    }
}
@media (max-width: 1440px) {
    .container {
        padding: 0 10px;
    }
    .main-nav {
        margin-left: 0px;
    }
    .menu-main>li>a, .menu-right a {
        padding: 0 16px;
    }
}
@media (max-width: 1170px) {
    .logo {
        margin-right: 18px;
    }
    .menu-main>li>a, .menu-right a {
        padding: 0 10px;
    }
}
@media (max-width: 1080px) {
    :root {
        --menu-height: 72px;
    }

    .main-header {
        height: var(--menu-height);
    }

    .container {
        padding: 0 14px;
    }

    .main-nav {
        display: none !important;
        /*
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--menu-bg);
        z-index: 101;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: top var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
        justify-content: flex-start;
        */
    }

    .main-nav.mMenuOpen {
        top: 0;
    }


    .menu-right {
        height: auto;
        margin-left: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        flex-direction: column;
    }

    /*
    .menu-main li,
    .menu-right li {
        width: 100%;
    }
        */

    .menu-main a:not(.cartContentsWrapper a),
    .menu-right a:not(.cartContentsWrapper a) {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .has-mega .mega-menu {
        position: static;
        width: 100%;
        left: 0;
        right: 0;
        /* box-shadow: none; */
        border-radius: 0;
        padding: 18px 0;
        transform: none;
        top: auto;
        z-index: 120;
    }

    .mega-content {
        gap: 24px;
        max-width: 100%;
        padding: 0 12px;
    }

    .mega-content>div {
        text-align: left;
    }
    .logo {
        margin-right: 0;
    }
    .hamburger {
        display: flex;
        margin-left: 0;
    }

    /* Dropdown on mobile */
    .dropdown {
        position: static;
        /* box-shadow: none; */
        background: none;
        min-width: 0;
        padding: 0 0 0 16px;
        border-radius: 0;
    }

    .dropdown a {
        padding: 12px 0;
        width: 100%;
        background: none;
    }

    .has-dropdown>a::after {
        content: " ▼";
        float: right;
        margin-left: 6px;
        color: #888;
    }

    .has-dropdown .dropdown .has-dropdown>a::after {
        content: " ▶";
        float: right;
        margin-left: 6px;
        color: #888;
    }

    .has-dropdown.mMenuOpen>.dropdown {
        display: block;
    }
}

@media (max-width: 520px) {
    .main-header .container {
        padding: 0 20px;
    }
}











.mobile-nav {
    position: fixed;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: start;
    justify-content: center;
    transition: height .4s ease;
}
.mobileMenuOpen .mobile-nav {
    height: 100vh;
}

.mobileNavContent {
    width: 100%;
    height: 100vh;
    position: absolute;
    bottom:0;
    left:0;
}
.mobileNavContent_Inner {
    padding-top:72px;
}

.mobile-nav ul.mobile-menu {
    padding: 0 60px;
}

.mobileNavContent .has-mega:hover .mega-menu,
.mobileNavContent .has-mega:focus-within .mega-menu,
.mobileNavContent .has-mega.mMenuOpen .mega-menu {
    display: none;
    position: static;
    opacity: 0;
    pointer-events: none;
    transform: none;
}

.mobileNavContent .has-mega.mobile_megaMenu_open .mega-menu {
    display: block;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}


.mobile-nav ul.mobile-menu > li > a {
    height: 60px;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom:solid 1px #999;
}

@media (max-width: 835px) {
    .mega-content {
        flex-direction: column;
        align-items: center;
    }
    .mega-content > div {
        width: 100%;
    }
    .mega-content,
    .mega-content * {
        text-align: center !important;
    }
}

@media (max-width: 564px) {
    .mobile-nav ul.mobile-menu {
        padding: 0 20px;
    }
}