.a7-site-header{
    width:100%;
    height:104px;
    background:#078bf8;
    position:relative;
    z-index:10000;
    box-sizing:border-box;
}

.a7-site-header *,
.a7-site-header *:before,
.a7-site-header *:after{
    box-sizing:border-box;
}

.a7-site-header__inner{
    width:1410px;
    max-width:calc(100% - 40px);
    height:104px;
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:32px;
}

.a7-site-header__brand{
    display:flex;
    align-items:center;
    gap:24px;
    flex:0 0 auto;
    text-decoration:none!important;
}

.a7-site-header__logo{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:76px!important;
    max-height:58px!important;
    object-fit:contain!important;
}

.a7-site-header__tagline{
    color:#fff!important;
    font-size:16px;
    line-height:1.3;
    font-weight:500;
    white-space:nowrap;
}

.a7-site-header__phone{
    margin-left:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    flex:0 0 auto;
}

.a7-site-header__number{
    color:#fff!important;
    font-size:17px;
    line-height:1.15;
    font-weight:700;
    text-decoration:none!important;
    white-space:nowrap;
}

.a7-site-header__callback{
    color:#fff!important;
    font-size:14px;
    line-height:1.25;
    font-weight:500;
    text-decoration:none!important;
    white-space:nowrap;
}

.a7-site-header__callback:hover{
    text-decoration:underline!important;
}

.a7-site-header__actions{
    display:flex;
    align-items:center;
    gap:16px;
    flex:0 0 auto;
}

.a7-site-header__add{
    height:56px;
    padding:0 26px;
    border-radius:10px;
    background:#ffed00;
    color:#111!important;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    font-size:15px;
    font-weight:700;
    text-decoration:none!important;
    white-space:nowrap;
}

.a7-site-header__plus{
    font-size:31px;
    line-height:1;
    font-weight:300;
    margin-top:-2px;
}

.a7-site-header__franchise{
    height:56px;
    padding:0 25px;
    border:1px solid rgba(255,255,255,.9);
    border-radius:10px;
    color:#fff!important;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    font-weight:700;
    text-decoration:none!important;
    white-space:nowrap;
}

.a7-site-header__menu{
    width:52px;
    height:56px;
    border:0;
    padding:0;
    background:transparent;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    cursor:pointer;
}

.a7-site-header__menu span{
    display:block;
    width:30px;
    height:3px;
    border-radius:3px;
    background:#fff;
}

/* старые верхние шапки больше не показываем */
.top_line2,
.top-nav2{
    display:none!important;
}

@media(max-width:1100px){
    .a7-site-header__tagline{
        display:none;
    }

    .a7-site-header__inner{
        gap:18px;
    }

    .a7-site-header__add,
    .a7-site-header__franchise{
        padding-left:18px;
        padding-right:18px;
    }
}

@media(max-width:760px){
    .a7-site-header,
    .a7-site-header__inner{
        height:82px;
    }

    .a7-site-header__inner{
        max-width:calc(100% - 24px);
    }

    .a7-site-header__phone,
    .a7-site-header__franchise{
        display:none;
    }

    .a7-site-header__logo{
        max-width:58px!important;
        max-height:48px!important;
    }

    .a7-site-header__add{
        height:46px;
        padding:0 13px;
        font-size:12px;
    }

    .a7-site-header__plus{
        font-size:25px;
    }

    .a7-site-header__menu{
        width:42px;
        height:46px;
    }

    .a7-site-header__menu span{
        width:27px;
    }
}

/* A7 GLOBAL HEADER UI FIX */

#a7-global-menu{
    display:none!important;
    position:absolute!important;
    right:0!important;
    top:88px!important;
    width:280px!important;
    padding:12px!important;
    margin:0!important;
    background:#fff!important;
    border-radius:18px!important;
    box-shadow:0 18px 55px rgba(0,0,0,.20)!important;
    z-index:10010!important;
}

#a7-global-menu.is-open{
    display:block!important;
}

#a7-global-menu a{
    display:block!important;
    padding:13px 16px!important;
    margin:0!important;
    border-radius:10px!important;
    color:#171717!important;
    background:transparent!important;
    text-decoration:none!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:600!important;
}

#a7-global-menu a:hover{
    background:#f3f5f7!important;
}

#a7-global-callback{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:20px!important;
    background:rgba(0,0,0,.58)!important;
    z-index:999999!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
}

#a7-global-callback.is-open{
    display:flex!important;
}

.a7-global-callback__box{
    position:relative!important;
    width:420px!important;
    max-width:calc(100vw - 32px)!important;
    padding:36px!important;
    margin:0!important;
    background:#fff!important;
    border-radius:24px!important;
    box-shadow:0 24px 80px rgba(0,0,0,.24)!important;
    box-sizing:border-box!important;
}

.a7-global-callback__x{
    position:absolute!important;
    right:16px!important;
    top:12px!important;
    border:0!important;
    background:transparent!important;
    color:#d5d5d5!important;
    font-size:38px!important;
    line-height:1!important;
    cursor:pointer!important;
}

.a7-global-callback__title{
    margin:4px 35px 28px!important;
    text-align:center!important;
    font-size:28px!important;
    line-height:1.15!important;
    font-weight:700!important;
}

#a7-global-callback-phone{
    display:block!important;
    width:100%!important;
    height:58px!important;
    padding:0 18px!important;
    border:1px solid #d9dee5!important;
    border-radius:16px!important;
    box-sizing:border-box!important;
    font-size:18px!important;
    text-align:center!important;
}

.a7-global-callback__human{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    margin:18px 0 20px!important;
}

.a7-global-callback__human input{
    width:20px!important;
    height:20px!important;
    margin:0!important;
}

.a7-global-callback__submit{
    display:block!important;
    width:100%!important;
    height:58px!important;
    border:0!important;
    border-radius:16px!important;
    background:#ffed00!important;
    color:#111!important;
    font-size:18px!important;
    font-weight:700!important;
    cursor:pointer!important;
}

.a7-global-callback__message{
    min-height:22px!important;
    margin-top:12px!important;
    text-align:center!important;
    font-size:14px!important;
}

.a7-global-callback__honeypot{
    position:absolute!important;
    left:-10000px!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
}

.a7-global-callback__success{
    display:none;
    min-height:250px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
}

.a7-global-callback__success-text{
    margin-bottom:30px!important;
    text-align:center!important;
    font-size:28px!important;
    line-height:1.25!important;
    font-weight:700!important;
}


/* HEADER INTERACTION FIX */
.a7-site-header__callback{
    display:inline-block!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    outline:0!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#fff!important;
    font-family:inherit!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:500!important;
    text-decoration:none!important;
    cursor:pointer!important;
}

.a7-site-header__callback:hover{
    color:#fff!important;
    text-decoration:underline!important;
}

.a7-site-header__callback:focus,
.a7-site-header__callback:active{
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#fff!important;
}

#a7-global-menu-open{
    position:relative!important;
    z-index:10020!important;
    pointer-events:auto!important;
    cursor:pointer!important;
}

#a7-global-menu{
    z-index:10019!important;
}


/* A7 HEADER FINAL BUTTON RESET */

.a7-site-header button,
.a7-site-menu button{
    -webkit-appearance:none!important;
    appearance:none!important;
    outline:none!important;
    box-shadow:none!important;
}

.a7-site-header__add{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    -webkit-appearance:none!important;
    appearance:none!important;
}

.a7-site-header__add:hover,
.a7-site-header__add:focus,
.a7-site-header__add:active{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:#ffed00!important;
    color:#111!important;
}

#a7-global-login{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    -webkit-appearance:none!important;
    appearance:none!important;
    background:transparent!important;
}

#a7-global-login:hover{
    background:#f3f5f7!important;
}

#a7-global-login:focus,
#a7-global-login:active{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
}

#a7-global-menu a:focus,
#a7-global-menu a:active{
    outline:0!important;
    box-shadow:none!important;
}

/* немного аккуратнее само меню */
#a7-global-menu{
    width:250px!important;
    top:82px!important;
    right:0!important;
    padding:9px!important;
    border:0!important;
    border-radius:18px!important;
    box-shadow:0 14px 38px rgba(0,0,0,.14)!important;
}

#a7-global-menu a,
#a7-global-menu button{
    min-height:43px!important;
    padding:11px 14px!important;
}

/* BURGER */
#a7-global-menu-open{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
}

#a7-global-menu-open span{
    transition:transform .22s ease, opacity .18s ease!important;
}

#a7-global-menu-open.is-open span:nth-child(1){
    transform:translateY(9px) rotate(45deg)!important;
}

#a7-global-menu-open.is-open span:nth-child(2){
    opacity:0!important;
}

#a7-global-menu-open.is-open span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg)!important;
}


/* =========================================
   A7 HEADER CLEAN FINAL
   ========================================= */

/* callback выглядит как текст, но это button */
.a7-site-header__callback{
    display:block!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    padding:0!important;
    margin:0!important;
    color:#fff!important;
    font-family:inherit!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:500!important;
    text-align:left!important;
    cursor:pointer!important;
    appearance:none!important;
    -webkit-appearance:none!important;
}

.a7-site-header__callback:hover{
    text-decoration:underline!important;
}

/* меню всегда относительно контейнера 1410, а не края экрана */
#a7-global-menu{
    position:fixed!important;
    top:92px!important;
    right:max(20px, calc((100vw - 1410px) / 2))!important;
    left:auto!important;
    width:250px!important;
    margin:0!important;
    padding:10px!important;

    background:#fff!important;
    border:0!important;
    border-radius:18px!important;
    box-shadow:0 14px 38px rgba(0,0,0,.14)!important;

    z-index:10019!important;
}

#a7-global-menu a,
#a7-global-menu button{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    appearance:none!important;
    -webkit-appearance:none!important;
}

/* HERO: одинаковый воздух сверху и снизу */
.a7-hero-new{
    height:auto!important;
    min-height:0!important;
}

.a7-hero-new__inner{
    height:auto!important;
    min-height:0!important;

    padding-top:30px!important;
    padding-bottom:30px!important;
}

.a7-hero-new__headline{
    margin-top:0!important;
    padding-top:0!important;
}

.a7-hero-new__search{
    margin-top:26px!important;
    margin-bottom:0!important;
}

/* полностью глушим старые шапки */
.top_line2,
.top-nav2,
.top_line,
.top-nav{
    display:none!important;
}


/* MENU HOVER - ONLY UNDERLINE */
#a7-global-menu a,
#a7-global-menu button{
    background:transparent!important;
    text-decoration:none!important;
}

#a7-global-menu a:hover,
#a7-global-menu button:hover{
    background:transparent!important;
    color:#171717!important;
    text-decoration:underline!important;
}

#a7-global-menu a:focus,
#a7-global-menu button:focus,
#a7-global-menu a:active,
#a7-global-menu button:active{
    background:transparent!important;
    outline:0!important;
    box-shadow:none!important;
}


/* MENU TYPOGRAPHY + LOGIN LINK */
#a7-global-menu a,
#a7-global-menu button{
    font-weight:400!important;
    cursor:pointer!important;
}

#a7-global-login{
    display:block!important;
    width:100%!important;
    cursor:pointer!important;
    color:#171717!important;
    text-decoration:none!important;
}

#a7-global-login:hover{
    text-decoration:underline!important;
}


/* FIXED GLOBAL HEADER */
.a7-site-header{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:10000!important;
}

/* компенсация высоты фиксированной шапки */
body{
    padding-top:104px!important;
}

@media(max-width:760px){
    body{
        padding-top:82px!important;
    }
}


/* CALLBACK FORM POLISH */
#a7-global-callback-phone{
    margin-bottom:16px!important;
    border:1px solid #d9dee5!important;
    outline:none!important;
    box-shadow:none!important;
    transition:border-color .18s ease, box-shadow .18s ease!important;
}

#a7-global-callback-phone:focus{
    border-color:#078bf8!important;
    outline:none!important;
    box-shadow:0 0 0 3px rgba(7,139,248,.10)!important;
}

.a7-global-callback__submit{
    margin-top:0!important;
}


/* HEADER BUTTON HOVER */
.a7-site-header__add,
.a7-site-header__franchise{
    cursor:pointer!important;
    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease!important;
}

.a7-site-header__add:hover{
    background:#ffe100!important;
    transform:translateY(-1px)!important;
}

.a7-site-header__franchise:hover{
    background:rgba(255,255,255,.12)!important;
    border-color:#fff!important;
    transform:translateY(-1px)!important;
}

.a7-site-header__add:active,
.a7-site-header__franchise:active{
    transform:translateY(0)!important;
}

