@media (min-width: 768px) {
    .header_middle_line {
        min-height: 66px;
    }
    #header.header4 #_desktop_search_widget {
        z-index: 2;
    }
    .checkout-minimize #header.header4 #_desktop_search_widget {
        order: 2;
    }
    #index #header.header4 {
        border-bottom: 0;
    }
    #header.header4 {
        border-bottom: 1px solid #eeeeee;
    }
    #header.header4 .search-widget {
        position: relative;
        left: unset;
        top: unset;
        right: unset;
        width: auto;
        border: 0;
        max-width: 100%;
        display: block;
    }
    #header.header4 .header-nav {
        border-bottom: 1px solid #eeeeee;
        padding: 7px 0;
    }
    #header.header4 .lang_and_сr_label {
        display: none;
    }
    #header.header4 .header-nav #contact-link {
        margin: 0;
    }
    #header.header4 .header-top #_desktop_logo {
        padding: 11px 0;
    }
    #header.header4 #_desktop_logo a {
        align-items: flex-start;
    }

    #header.header4 #_desktop_search_widget {
        width: 100%;
        max-width: 255px;
    }
    #header.header4 .search-widget form button[type=submit] {
        padding: 0;
    }
    #header.header4 .header-nav .blockcart {
        margin-left: 27px;
    }
    #header.header4 #_desktop_an_wishlist-nav a {
        display: flex;
        align-items: center;
    }
    #header.header4 #_desktop_an_wishlist-nav a svg {
        margin: 0 7px 2px 0;
    }
    #header.header4 #_desktop_an_wishlist-nav {
        margin-left: 30px;
    }
    #header.header4 .user-info .btn-unstyle,
    #header.header4 .header-nav .user-info a {
        display: flex;
        align-items: center;
    }
    #header.header4 .header-nav .user-info .btn-unstyle svg {
        margin-right: 8px;
    }
    #header.header4 .header-nav .user-info a svg {
        margin: 0 8px 2px 0;
    }
    #header.header4 #_desktop_clientservice,
    #header.header4 #_desktop_user_info {
        margin-left: 30px;
    }
    #_desktop_contact_link a {
        display: flex;
        align-items: center;
    }
    #_desktop_contact_link a svg {
        margin-right: 7px;
    }
    #header.header4 .clientservice_sg-modal {
        padding: 0!important;
    }
}

@media (max-width: 1200px) {
    #header.header4 .amenu-item .amenu-link {
        padding: 22px 14px;
    }
    #header.header4 #_desktop_clientservice,
    #header.header4 #_desktop_user_info,
    #header.header4 .header-nav .blockcart,
    #header.header4 #_desktop_an_wishlist-nav {
        margin-left: 20px;
    }
}
@media (max-width: 991px) {
    #header.header4 .amenu-item .amenu-link {
        padding: 22px 7px;
    }
    #header.header4 #_desktop_clientservice,
    #header.header4 #_desktop_user_info,
    #header.header4 .header-nav .blockcart,
    #header.header4 #_desktop_an_wishlist-nav {
        margin-left: 8px;
    }
}