.header__wrap {
    padding-bottom: 14px;
    margin-top: 16px;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header__wrap__logo svg {
    width: 242px;
}

.header__wrap__menu {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header__wrap__menu ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 0;
}

.header__wrap__menu li {
    padding-left: 55px;
}

.header__wrap__menu a {
    color: #333333;
    position: relative;
    font-family: "Montserrat", serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    font-size: 12px;
}

.header__wrap__menu a:hover {
    color: #919191;
}

.header__wrap__menu li:first-child {
    padding-left: 0;
}

.header__wrap__menu svg {
    width: 14px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    height: 8px;
}

.header__wrap__menu li:hover svg {
    fill: #898989;
}

.header a.arrow_black {
    padding-right: 0;
    border-radius: 39px;
}

.header__wrap__logo img {
    object-fit: contain;
    width: 172px;
    height: 46px;
}

a.arrow_black {
    padding-right: 25px;
}

.arrow_black.mobile-text {
    color: #333333 !important;
    border: none !important;
    padding-right: 0;
    width: 158px !important;
    text-align: right;
}

.mobile-text {
    display: none;
}

.auth-logo-item:hover .auth-menu-container {
    opacity: 1;
}

.auth-logo {
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin-left: 0.25rem;
}

.auth-menu-container {
    position: absolute;
    opacity: 0;
    background: #f7fafc;
    width: auto;
    height: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin: 0 15px;
}

.auth-menu-container ul {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
}

.auth-menu-container ul li {
    padding-left: 0;
    line-height: 3rem;
}

.mobile-menu {
    display: none;
    left: 0;
}

.mobile-menu-items {
    padding-left: 0;
}

.submenu__wrap__close__wrap {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 40px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.submenu__wrap__close {
    height: 20px;
    cursor: pointer;
}

.submenu__wrap__close:hover span {
    background-color: #0052eb;
}

.submenu__wrap__close span {
    -webkit-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    height: 2px;
    width: 24px;
    background-color: #666666;
    display: block;
    margin-bottom: 2px;
    border-radius: 1px;
}

.submenu__wrap__close span:nth-child(1) {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    margin-top: 10px;
}

.submenu__wrap__close span:nth-child(2) {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    margin-top: -4px;
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.m-get-category svg {
    width: 14px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    height: 8px;
}

@media (max-width: 1490px) {
    .auth-menu-container {
        right: 15px;
    }
}

@media only screen and (max-width: 1200px) {
    .header__wrap__menu li {
        padding-left: 35px;
    }
}

@media only screen and (max-width: 1024px) {
    .header__wrap__menu li {
        padding-left: 0;
    }

    .header__wrap__menu nav {
        margin-right: 55px;
    }

    .header__wrap__menu span {
        width: 50px;
        height: 7px;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        display: block;
        margin-bottom: 7px;
        background: #333333;
    }

    .header__wrap__menu {
        cursor: pointer;
    }

    a.link-mobile {
        display: none;
    }

    .mobile-menu {
        background: #f7fafc;
        position: fixed;
        top: -100%;
        display: none;
        z-index: 99999;
        width: 100%;
        height: 100%;
    }

    .mobile-menu ul {
        list-style: none;
    }

    .mobile-menu a {
        font-size: 24px;
        line-height: 60px;
        color: #333333;
        font-family: "Montserrat", serif;
        font-weight: bold;
        text-decoration: none;
    }
}

@media only screen and (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

@media only screen and (max-width: 750px) {
    .m-border_bottom {
        border-bottom: 1px solid #e3e2e2d6 !important;
    }
}

@media only screen and (max-width: 700px) {
    .header {
        position: fixed;
        background-color: white;
        width: 100%;
        z-index: 1001;
        top: 0;
    }
}

@media only screen and (min-width: 679px) and (max-width: 750px) {
    .mobile-menu {
        margin-top: -4px;
    }
}

@media (min-width: 680px) {
    header a.arrow_black svg {
        margin-left: 7px;
    }
}

@media only screen and (max-width: 678px) {
    .header__wrap {
        height: inherit;
        margin-top: 30px;
    }

    .header__wrap__menu span {
        width: 22px;
        height: 2px;
        margin-bottom: 4px;
    }

    .header__wrap__menu nav {
        margin-right: 12px;
    }

    a.arrow_black {
        padding-right: 5px;
        padding-left: 5px !important;
    }
}

@media only screen and (max-width: 568px) {
    .header__wrap {
        height: inherit;
        margin-top: 14px;
        padding-bottom: 16px;
    }

    .header__wrap__logo svg {
        display: none;
    }

    .header__wrap__logo span {
        font-family: "Montserrat", serif;
        font-size: 20px;
        color: #333333;
    }

    .header__wrap__logo p {
        font-family: "Rubik", serif;
        font-size: 11px;
        color: #333333;
    }

    .header__wrap__logo a {
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .header__wrap__logo img {
        width: 125px;
        height: 38px;
    }

    .header__wrap__menu a {
        font-size: 12px;
    }

    header a.arrow_black {
        padding: 12px 12px;
    }

    .mobile-text_in {
        display: none;
    }

    .mobile-text {
        display: table;
    }

    .mobile-menu {
        margin-top: -16px;
    }

    .mobile-menu a {
        font-size: 18px;
        line-height: 48px;
        color: #333333;
        font-family: "Montserrat", serif;
        font-weight: bold;
        text-decoration: none;
    }

    .submenu__wrap__close__wrap {
        margin-top: 10px;
    }

    header a.arrow_black {
        padding: 12px 12px;
    }
}

@media only screen and (max-width: 389px) {
    .header__wrap__logo p {
        margin-bottom: -15px;
    }
}

@media only screen and (max-width: 320px) {
    .header {
        padding-bottom: 0;
    }

    .header__wrap {
        margin-top: 14px;
    }

    .header__wrap__logo p {
        font-size: 10px;
    }

    .header__wrap__logo span {
        font-size: 21px;
    }

    .header {
        padding-bottom: 0;
    }
}
