@media screen and (max-width: 767px) {
    .button-tg, #phone, #adress, #schedule {
        display: none !important;
    }
    #logo {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        max-width: 100% !important;
        float: none !important;
    }
    #logo .navbar-toggle {
        margin: 0 !important;
        height: 33px;
    }
    .header__buttons {
        display: none !important;
    }
}

.header-mobile {
    padding-top: 18px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255);
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
.header-mobile.open {
    transform: translateX(0);
}
body.mobile-menu-active {
    overflow: hidden;
}
.header-mobile .header__buttons {
    display: flex !important;
    gap: 7px;
    justify-content: space-between;
}
.header-mobile .rounded.callback_btn {
    width: 49%;
    font-size: 12px;
    max-width: 175px;
    background: url(/local/templates/main/img/icn_callback.png) no-repeat 4px 6px;
    border-radius: 0px !important;
    margin: 15px 0 0 0;
    display: block;
    border: 1px #EA4D2C solid;
    color: #EA4D2C;
    text-decoration: none;
    background-size: 16%;
    padding: 10px 10px 10px 40px;
}
.header-mobile .rounded.free-sample-btn {
    background: url(/local/templates/main/img/advantages3.png) no-repeat;
    background-size: 16%;
    background-position: 5% 50%;
}
.header-mobile__contacts {
    padding-left: 20px;
}
.header-mobile__contacts a{
    font-size: 14px;
    color: black;
    display: block;
}
.header-mobile__contacts span{
    font-size: 14px;
    color: black;
    display: block;
}
.header-mobile__socials {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}
.header-mobile__socials a {
    display: block;
    width: 50px;
    height: 50px;
}
.header-fixed {
    display: none;
    padding-top: 0px !important;
}
.header-fixed #header {
   /* min-height: 80px !important;
    height: 80px !important;*/
    padding-top: 5px !important;
}
.header-main #header{
    padding-top: 5px !important;
}
.header-fixed.scroll {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 10px !important;
}
 #logo {
    margin-top: 15px !important;
}
.header-fixed__container {
   max-width: 1350px !important;
}
.header-fixed__container .container{
    display: inline-block;
}
.header-fixed__container .navbar-nav {
    padding-top: 5px;
    max-width: 845px;
    margin: 0 20px;
}
.header-fixed__container #phone {
   margin: 0 !important;
    padding: 0 !important;
}
.header-fixed__container .mobile-phone {
    display: none !important;
}
@media screen and (max-width: 1200px) {
    .header-main .header__buttons {
        display: none;
    }
    .header-main .button-tg {
        display: none;
    }
    .header-main .navbar-nav {
        width: 100% !important;
    }
    .header-fixed__container #phone {
        display: none;
    }
    .header-fixed__container .mobile-phone {
        display: inline-block !important;
    }
    .header-fixed .navbar-nav {
        display: none !important;
        width: 100% !important;
    }
    .header-fixed .navbar-toggle {
        display: block !important;
    }
    .header-fixed #logo {
        max-width: calc(100% - 15px) !important;
        width: calc(100% - 15px) !important;
        display: flex;
        justify-content: space-between;
    }
    .header-mobile #logo {
        max-width: 100% !important;
        width: 100% !important;
        display: flex;
        justify-content: space-between;
    }
    #mobile-close {
        display: block;
    }
    .header-mobile .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}
.header-main {
    padding-bottom: 10px;
}
.header-main .navbar-nav li:not(:first-child) {
    /*margin-left: 10px;*/
}
.header-main .navbar-nav li a {
    display: block;
    padding: 9px 10px !important;
}
.header-main .navbar-nav li .dropdown-toggle {
    padding: 9px 20px 9px 10px !important;
}
.header-fixed .navbar-nav li a {
    display: block;
    padding: 9px 10px !important;
}
.header-fixed .navbar-nav li .dropdown-toggle {
    padding: 9px 20px 9px 10px !important;
}
.header-fixed #logo img
{
    padding-bottom: 10px;
}