
#header {
    width: calc(100vw - 2*var(--padding-inline) - var(--scrollbar-width));
    margin-inline: var(--padding-inline);
    margin-block: 50px;
}

header .instagram {
    width: 15px;
    height: 15px;
    margin-right: 20px;
    cursor: pointer;
    transition: margin .2s;
}

header .instagram:hover {
    margin-right: 18px; 
}

header .logo-space {
    --height: 50px;
    height: var(--height);
}

header .logo-space img {
    height: var(--height);
}

header .logo-space .lang-switcher {
    float: right;
    height: var(--height);
}

header .lang-switcher {

    display: flex;
    align-items: center;
    gap: 20px;
}

header .lang-switcher a {
    color: var(--text-grey);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
}

header ul {
    list-style: none;
    margin-top: 30px;
    display: flex;
    width: 100%;
    height: 30px;
    justify-content: end;
    gap: 30px;
}

header ul .lang-switcher {
    margin-block: 20px;
    display: none;
}

header ul li {
    height: 30px;
}

header ul li a {
    line-height: 30px;
    opacity: .55;
    transition: opacity .2s;
    text-decoration: none;
    color: var(--text-grey);
    text-transform: lowercase;
}

header ul li.current-menu-item a {
    opacity: 1;
}


header .burger {
    width: 35px;
    height: 25px;
    display: none;
    float: right;
    cursor: pointer;
    margin-block: calc((var(--height) - 25px) / 2);
}

header .burger .line {
    width: 35px;
    background-color: var(--text-grey);
    height: 3px;
    transition: all .23s ease-in-out;
}

header .burger .line:nth-child(2) {
    margin-block: 8px;
}

@media (max-width: 800px) {
    header.main .burger {
        display: block;
    }
    header.main .logo-space .lang-switcher {
        display: none;
    }

    header.main ul {
        position: absolute;
        width: 100vw;
        left: 0;
        top: 130px;
        background-color: white;
        padding-inline: var(--padding-inline);
        height: fit-content;
        max-height: 0;
        flex-direction: column;
        justify-content: unset;
        z-index: 3;
        align-items: end;
        gap: 15px;
        transition: max-height .5s;
        overflow: hidden;
        margin-top: 30px;
    }
    header.mobileOpen ul {
        max-height: 380px;
    }

    header.mobileOpen .burger .line:nth-child(1) {
        transform: rotate(45deg);
        margin-top: 10px;
        margin-left: 1px;
    }
    header.mobileOpen .burger .line:nth-child(2) {
        transform: rotate(-45deg);
        margin-top: -3px;
    }
    header.mobileOpen .burger .line:nth-child(3) {
        display: none;
    }

    header.main ul .lang-switcher {
        display: flex;
    }


}

@media (max-width: 380px) {
    header .logo-space img {
        width: 200px;
    }
}

.category-header {
    height: 40px;
}

.category-header ul {
    margin-top: 0;
    width: fit-content;
    float: right;
    padding-left: 70px;
    padding-top: 10px;
    border-top: 1px solid var(--text-grey);
}