/* === HAMBURGER ICON === */
.hamburger {
    position: relative;
    width: 2.6vw;
    min-width: 24px;
    height: 1.8vw;
    min-height: 16px;
    color: var(--mainColor)
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--mainColor);
    border-radius: 999px;
    transition: transform .35s ease, opacity .25s ease, top .35s ease, bottom .35s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* === MORPH INTO X === */
.menu-wrapper.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-wrapper.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-wrapper.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.navmenu-bot {
    font-weight: var(--textWeight);
    font-size: var(--ctaSizeDesktop);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.watto-dark-button.active {
    color: var(--mainColor, black);
    text-decoration: none;
    background-color: var(--secondaryColor, white);
    padding: var(--buttonPadding, 6px 24px 6px 24px);
    border-radius: var(--buttonBorderRadius, 24px);
    border: var(--buttonBorderAddColor, solid 2px) var(--secondaryColor, white);
    font-size: var(--ctaSizeDesktop);
    font-weight: var(--textWeight);
    line-height: var(--fontLineHeight);
    width: fit-content;
}

.watto-dark-button.active:hover {
    color: var(--secondaryColor, black);
    text-decoration: none;
    background-color: var(--black, white);
    padding: var(--buttonPadding, 6px 24px 6px 24px);
    border-radius: var(--buttonBorderRadius, 24px);
    border: var(--buttonBorderAddColor, solid 2px) var(--secondaryColor, white);
    font-size: var(--ctaSizeDesktop);
    font-weight: var(--textWeight);
    line-height: var(--fontLineHeight);
    width: fit-content;
}

#watto-header-business-name.active {
    color: var(--secondaryColor, white);
}

.watto-button {
    color: var(--white, white);
    text-decoration: none;
    background-color: var(--secondaryColor, red);
    padding: var(--buttonPadding, 6px 24px 6px 24px);
    border-radius: var(--buttonBorderRadius, 25px);
    border: var(--buttonBorderAddColor, solid 2px) var(--secondaryColor, red);
    max-height: 1.5rem;
}

.watto-button:hover {
    text-decoration: none;
    color: var(--secondaryColor, red);
    background-color: var(--white, white);
    border: var(--buttonBorderAddColor, solid 2px) var(--secondaryColor, red);
}

.social-icons {
    color: var(--white, white);
    size: var(--ctaSizeDesktop);
}

.watto-header {
    background-color: var(--thirdiaryColor, #ffffff);
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15vw 0 15vw;
    margin: 0;
    height: 8vh;
}

.watto-header-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.watto-header-floating {
    z-index: 3;
}

.navmenu-top {
    display: inline-block;
    color: var(--white, white);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.watto-header-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-menu-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* === MORPH INTO X === */
.desktop-menu-wrapper.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--secondaryColor);
}

.desktop-menu-wrapper.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.desktop-menu-wrapper.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background: var(--secondaryColor);
}

.watto-header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.watto-header-icons-logos {
    height: 60px;
}

.watto-header-icons hr {
    background-color: var(--mainColor, #4358A3);
    width: 4px;
    padding: 24px 0 30px 0;
    border: none;
}

.watto-header-right-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 28px;
}

.watto-header-right-menu>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navmenu-bot {
    display: inline-block;
    color: var(--mainColor, #4358A3);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.watto-header-right-menu .megamenu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
}

.watto-header-right-menu .megamenu div {
    flex: 1;
}

/*.watto-header-right-menu li:hover .megamenu {
            display: grid;
        }*/

.watto-header-right-menu a:hover {
    text-decoration: underline;
}

#watto-header-megamenu {
    display: none;
    flex-direction: row;
    position: absolute;
    top: 0;
    background-color: var(--mainColor, black);
    width: 100vw;
    z-index: 2;
    color: var(--white, #ffffff);
}

.megamenu-navmenu {
    padding: 0;
}

#watto-header-megamenu-left {
    background-color: var(--secondaryColor);
    opacity: 0.7;
    color: var(--secondaryColor);
    width: 36%;
    border-radius: var(--headerSectionBorderRadius, 0 0 200px 0);
}

#watto-header-megamenu-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32%;
}

#watto-header-megamenu-right {
    width: 32%;
}

.megamenu hr {
    background: linear-gradient(to right, var(--mainColor), rgba(0, 0, 0, 0));
    width: 100%;
    height: 2px;
    border: none;
}

.megamenu-navmenu {
    position: relative;
    left: 0;
    list-style-position: inside;

}

.megamenu-navmenu * {
    list-style-type: none;
    line-height: var(--fontLineHeight, 1.19);
    padding: 0;
    margin: 0;
    font-size: var(--subtitleSizeDesktop, 0.8);
}

.megamenu-navmenu li {
    margin-top: 24px;
}

.megamenu-navmenu a {
    color: var(--secondaryColor, white);
    text-decoration: none;
}

.social-icons-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons-row li {
    list-style: none;
}

.social-icons-row h4 {
    margin: 0;
}

.social-icons-row a i {
    font-size: 22px;
}


.watto-header-megamenu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.megamenu-subtitles {
    font-size: var(--textSizeDesktop);
    font-weight: var(--textWeight);
}

.megamenu-links a:hover {
    text-decoration: underline;
}

#watto-header-menu-social {
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 768px) {

    .watto-header {
        padding: var(--mobileHeaderPadding);
    }

    #watto-header-megamenu {
        flex-direction: column;
        padding: var(--mobileMenuPadding);
        gap: var(--innerSectionTitlesGap);
    }

    #watto-header-megamenu-left {
        display: none;
    }

    #watto-header-megamenu-mid {
        align-items: start;
        width: 100%;
    }

    #watto-header-megamenu-right {
        width: 100%;
        gap: var(--innerSectionTitlesGap);
    }

    .megamenu-navmenu {
        padding: 0;
        margin: 0;
    }

    .watto-megamenu-link {
        font-size: var(--h3SizeDesktop);
    }
    
    #watto-megamenu-contacts-list-contacts-items {
        font-size: var(--subtitleSizeDesktop);
    }
}