﻿.header-top-mobile{
    display: none;
}

.header svg{
    max-width: 100%;
}

.header-row {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.logo-link{
    display: block;
}

.header-row-right{
    display: flex;
    gap: 10px;
    align-items: center;
    gap: 30px;
}

.header-row-right-inner {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-phones-block {
    display: flex;
    gap: 30px;
    
}

.header-phones-item h3, .header-phones-item h3 a{
    color: rgba(24, 24, 24, 0.70);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
   
}

.phone-num-link {
    display: block;
    color: #FF6505;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.phone-support-list {
    color: #333;
}

.whatsapp-item a, .max-item a {
    width: 46px;
    height: 46px;
    border-radius: 10px;    
    font-size: 0;
    /*background: url(//cdn.specialist.ru/content/file/layouts/header2025/img/whatsapp-icon.png) center center no-repeat, #EFF2F7;*/
    /*background-size: contain;*/
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 6px;
}

.max-item a svg{
    display: block;
    width: 70%;
}

    .max-item a {
        position: relative;
    }

.max-item a span{
    position: absolute;
}

    .order-callback {
        border-radius: 10px;
        border: 1px solid #FF6505;
        background: #FF6505;
        padding: 12px 18px;
        color: #FFF;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.3s;
        width: auto;
    }

    .order-callback:hover {
        transition: 0.3s;
        background: #FF8031;
    }

.header-bottom {
    background: linear-gradient(0deg, #012063 0%, #012063 100%);
    padding: 10px 20px;
}

.header-bottom-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-menu-list {
    display: flex;
    gap: 10px;
}

.header-menu-item {
    position: relative;
}

.top-level-menu {
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    white-space: nowrap;
}


    .top-level-menu:after {
        display: block;
        content: "";
        width: 8px;
        height: 5px;
        background: url(//cdn.specialist.ru/Content/File/Site_rework/index-2/i/index-2/arrow-down.svg) center center no-repeat;
    }

.top-level-menu:only-child:after {
    display: none;
}

.header-submenu {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    background: #FFF;
    box-shadow: -10px 0px 20px 0px rgba(175, 175, 175, 0.08), 10px 10px 20px 0px rgba(175, 175, 175, 0.08);
    overflow: hidden;
    padding: 20px 10px;
    width: 280px;
    transition: 0.3s;
    border-radius: 10px;
    background: #FFF;
    transform: translateY(-5px);
}

.header-submenu::before {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    top: -20px;
    left: 0;    
}

.top-level-menu:hover {
    background: #072E7E;
    color: #fff;
    transition: 0.3s;
}

.header-profile .top-level-menu:hover {
    color: #fff;
}

.header-profile .header-menu-item:hover .header-submenu, .header-profile .login-header-block:hover .header-submenu {
    height: auto;
    left: 0;
    top: calc( 100% + 20px);
    z-index: 1030;
    clip-path: initial;
    clip: auto;
    overflow: visible;
    transform: translateY(0);
}


@media (min-width: 911px) {
    .header-menu-item:hover .header-submenu,
    .login-header-block:hover .header-submenu {
        height: auto;
        left: 0;
        top: calc( 100% + 20px);
        z-index: 1030;
        clip-path: initial;
        clip: auto;
        overflow: visible;
        transform: translateY(0);
    }
}

.login-header-block:hover .header-submenu, .login-header-block .header-submenu {
    left: auto;
    right: 0;
}

.header-submenu li {
    margin-bottom: 5px;
}

.header-submenu a {
    color: #000;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 14.4px */
    letter-spacing: -0.12px;
    padding: 10px;
    display: block;   
    transition: 0.3s;
}

    .header-submenu a:hover {
        border-radius: 5px;
        background: #EFF2F7;
        transition: 0.3s;
    }

.header-submenu li:last-child{
    margin-bottom: 0;
}

.header-bottom-rigth {
    display: flex;    
    gap: 6px;
}

.header-bottom-button, button.header-bottom-button {
    display: block;
    font-size: 0;
    background-image: none;
    background-color: #072E7E;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
}

    .header-bottom-button:hover, .header-bottom-button.active {
        background-color: #0338a5;
    }

.header-search-button {
    /*background-image: url("//cdn.specialist.ru/Content/File/layouts/header2025/img/magnifier.png");
    background-size: 16px auto;*/
    width: 35px;
    height: 35px;
}

.header-cart-button {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-image: url("//cdn.specialist.ru/Content/File/layouts/header2025/img/cart.png");
    background-size: 17px auto;*/
    width: 35px;
    height: 35px;
    position: relative;
}

.cart-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 5px;
    border-radius: 50%;
    background: #E40038;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    color: #FFF;
    font-size: 11px;   
    font-weight: 600;
    line-height: 2;
    width: 24px;
    height: 24px;
    z-index: 1;
}

.cart-counter:empty {
    display: none;
}

.login-header-block{
    display: none;
    position: relative;
}

    .login-header-block.active {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.header-login-button {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 15px;
}
   

    .header-login-button span {
        display: block;        
        color: #FFF;      
        font-size: 14px;        
        font-weight: 500;        
    }

.header-username{
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-menu-search {
    display: flex;
    flex-direction: column;
    position: relative;
}

.header-menu-search-body {
    border-radius: 10px;
    background: #FFF;
    padding: 14px;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    width: 300px;
    height: 57px;
    top: 56px;      
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 1020;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.header-menu-search-block.active .header-menu-search-body {
    visibility: visible;
    opacity: 1;
}

.search-shadow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
}

.header-menu-search-block.active .search-shadow {
    display: block;
    background: transparent;
}

.header-menu-search-body form {
    padding: 0;
    border-radius: 7px;
    overflow: hidden;
    background: #EFF2F7;
    display: flex;
    width: 100%;
}

    .header-menu-search-body input {
        background: transparent;
        border-radius: 0;
        padding: 8px;
        height: 32px;
        border: none;
        flex-grow: 1;
    }

.header-menu-search-body form:focus-within{
    box-shadow: 0 0 1px 1px #012063;
}

    .header-menu-search-body button {       
        border: none;
        background: #003356;
        border-radius: 2px;       
        transition: all 0.2s;
        padding: 0 24px;
        border-radius: 0;
        font-size: 0;
        margin: 0;
        background: url("//cdn.specialist.ru/Content/File/layouts/header2025/img/search-blue.png") center center no-repeat, transparent;
    }

        .header-menu-search-body button:hover {
            opacity: 0.7;
            background: url("//cdn.specialist.ru/Content/File/layouts/header2025/img/search-blue.png") center center no-repeat, transparent;
        }

.mob-menu-block-top{
    display: none;
}

@media (max-width: 1200px) {
    .header-top .wrapper{
        padding: 0 10px;
    }

    .header-phones-block {
        gap: 15px;
    }

    .phone-num-link{
        font-size: 14px;
    }

    .order-callback{
        padding: 12px;
        font-size: 12px;
    }

    .header-bottom {
        padding: 10px;
    }

    .header-bottom .wrapper {
        padding: 0;
    }

    .header-username {
        max-width: 140px;
    }

    .header-menu-list{
        gap: 0;
    }

    .top-level-menu{
        font-size: 16px;
        padding: 8px;
        gap: 6px
    }

    .header-login-button span {
        font-size: 12px;
    }

    .header-profile .wrapper {
        width: 100%;
    }
}


/*убрать перед переносом на прод*/
/*.techwork{
    display: none!important;
}*/