.header_new {
    background-size: cover;
    position: relative;
    color: #000;
    background: #daf2e2;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding-top: 5px;
    width: auto;
    max-width: 1230px;
    border-bottom: 1px solid #ccffcc;
}

.header_info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 15px 0;
}

.header_info .logo-cont img {
    width: 128px;
    height: 113px;
}

.header_info--content {
    display: flex;
    align-items: center;
    gap: 65px;
}

.contacts-mail-list {
    display: flex;
    flex-direction: column;
}

.header-btn-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header-btn-orange {
    width: 190px;
    height: 38px;
    background-color: #ffaf3a;
    color: #ffffff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.header-btn-green {
    width: 190px;
    height: 38px;
    background-color: #66cc33;
    color: #ffffff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.header_menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #7ac043;
}

.header_menu--list {
    display: flex;
    align-items: center;
}

.header_menu--list ul {
    display: flex;
    font-size: 16px;
    font-weight: bold;
}

.header_menu--list ul a {
    color: white;
    text-decoration: none;
}

.header_menu--list ul li {
    padding: 20px 20px;
    border-right: 1px solid #ffffff;
    position: relative;
}

.header_menu--list ul li:hover {
    background-color: #ffaf3a;
    cursor: pointer;
}

.header_menu--list ul li:nth-child(1) a:after{
    content: url("/images/new-header/arrow.png");
    margin-left: 10px;
}

.header_menu--list ul li:nth-child(1) ul a:after{
    content: "";
}

.header_menu--list ul li:nth-child(2) a:after{
    content: url("/images/new-header/arrow.png");
    margin-left: 10px;
}

.header_menu--list ul li:nth-child(2) ul a:after{
    content: "";
}

.header_menu--list ul li:nth-child(2) ul {
    width: 500px;

}



.header_menu--list li>ul {
    display: none;
}

.header_menu--list li:hover ul {
    display: block;
}

.header_menu--list li ul {
    position: absolute;
    width: 100%;
    z-index: 9999;
    background-color: #7ac043;
    left: 0;
    top: 100%;
}

.header_menu--search {
    flex: 1;
}

.header_menu--search .sisea-search-form{
    display: block;
    float: none;
    width: 100%;
    height: 100%;
}

.header_menu--search fieldset {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header_menu--search .sisea-search-form input#search {
    border: 1px solid #fff;
    box-sizing: border-box;
    display: block;
    float: left;
    padding: 0 25px;
    height: 100%;
    width: 100%;
}

.header_menu--search input[type=submit] {
    background: url(/images/icon-ser.png) 1px 7px no-repeat;
    border: medium none;
    color: #fff;
    display: block;
    float: left;
    font-size: 15px;
    font-weight: 700;
    height: 38px;
    width: 30px;
    position: absolute;
    right: 20px;
    top: 20%;
}

.header_menu--mobile {
    display: none;
}

.header_menu--mobile-close {
    display: none;
}

@media (max-width: 1024px) {
    .header_info--content {
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .work24-text-new {
        margin-left: 0;
        font-size: 12px;
    }

    .work24 {
        display: flex;
    }

    .contact-master__email-new {
        font-size: 12px;
    }


    .header-btn-orange, .header-btn-green {
        font-size: 14px !important;
    }

    .header_info .logo-cont img {
        width: 108px;
        height: 95px;
    }

    .header_menu--mobile {
        display: flex;
        width: 50%;
        height: 50px;
        align-items: center;
    }

    .header_menu--mobile svg {
        margin-left: 30px;
    }

    .header_menu--list {
        display: none;
    }
}

@media (max-width: 1024px) {
    .header_new {
        position: relative;
        z-index: 9999;
    }

    .header_menu--mobile {
        display: flex !important;
        align-items: center;
        cursor: pointer;
        z-index: 10001;
        background: #7ac043;
        height: 50px;
    }

    .header_menu--mobile-open {
        display: flex;
    }

    .header_menu--mobile-close {
        display: none;
    }

    /* Родительское меню под хедером на 50% ширины */
    .header_menu--list {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 200px);
        z-index: 9999;
        height: 500px;
    }

    .header_menu--list.active {
        display: block !important;
    }

    .header_menu--list ul {
        flex-direction: column;
        justify-content: space-between;
        width: 50%;
        margin: 0;
        padding: 0;
        background: #daf2e2;
        height: 500px;
    }

    .header_menu--list ul li {
        border-right: none !important;
        border-bottom: 1px solid #99cc66;
        padding: 15px 20px !important;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        overflow: visible !important;
    }

    .header_menu--list ul li:hover {
        background-color: transparent !important;
    }

    .header_menu--list ul li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #333300 ;
    }

    .header_menu--list ul li a:hover {
        color: #66cc33;
    }


    /* Стрелки у родительских пунктов */
    .header_menu--list ul li:nth-child(1) > a:after,
    .header_menu--list ul li:nth-child(2) > a:after {
        content: "›" !important;
        font-size: 24px;
        color: #99cc99;
        margin-left: 10px;
        background: none !important;
    }

    .header_menu--list ul li:nth-child(1) ul a:after,
    .header_menu--list ul li:nth-child(2) ul a:after {
        content: "" !important;
    }

    .header_menu--list li ul.child-menu {
        position: absolute !important;
        top: 0;
        left: 100%;
        width: 100% !important;
        height: 500px;
        background: #daf2e2 !important;
        z-index: 9999 !important;
        padding: 10px 5px !important;
        margin: 0 !important;
        overflow-y: auto !important;
        display: none !important;
        /* box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2); */
        box-sizing: border-box;
        }

    .header_menu--list li ul.child-menu.active {
        display: block !important;
    }

    .header_menu--list li ul.child-menu li {
        padding: 5px 20px !important;
        border: none;
        background: #daf2e2;
    }

    .header_menu--list li ul.child-menu li a {
        font-weight: normal !important;
        font-size: 16px;
        color: #333300 !important;
        line-height: 24px;
    }

    .header_menu--list li ul.child-menu li a:hover {
        color: #66cc33 !important;
    }

    .header_menu--list ul li:nth-child(1) > a::after,
    .header_menu--list ul li:nth-child(2) > a::after {
        transition: transform 0.3s ease !important;
        display: inline-block !important;
    }

    .header_menu--list ul li:nth-child(1) > a.arrow-rotate::after,
    .header_menu--list ul li:nth-child(2) > a.arrow-rotate::after {
        transform: rotate(90deg) !important;
    }

    .child-menu--top {
        top: -123% !important;
    }




}

@media (max-width: 480px) {
    .header_menu--list {
        width: 85%;
    }

    .header_menu--list li ul.child-menu {
        left: 0;
        height: 586px;
        overflow-y: hidden !important;
    }

    .header_menu--list li ul.child-menu li a {

        line-height: 24px;
    }

    .child-menu--top {
        top: -100% !important;
    }
}

.child-menu-back {
    display: none;
    align-items: center;
    gap: 8px;
}

.header_info--content--mobile {
    display: none;
}

@media (max-width: 480px) {
    .child-menu-back {
        display: flex !important;
        align-items: center;
        padding: 12px 20px !important;
        cursor: pointer !important;
    }

    .child-menu-back span {
        font-size: 14px;
        color: #66cc33;
        font-weight: bold;
        display: block;
    }

    .header_menu--mobile svg {
        margin-left: 0;
    }

    .header_menu--mobile {
        width: 60px;
        justify-content: center;
    }

    .header_menu--list {
        max-height: none;
        height: 586px;
        background: #daf2e2;
    }

    .header_info--content--mobile {
        display: block;
        margin: 15px 20px;
        padding-top: 10px;
        font-weight: normal;
    }

    .header_info--content--desktop {
        display: none;
    }

    .contacts-phone img {
        display: none;
    }

    .header_menu--list ul li {
        padding: 15px 20px 15px 20px !important;
    }

    .header_menu--list ul {

        /*padding: 0 0 0 20px;*/
    }

    .header_menu--list ul li:nth-child(1) > a:after, .header_menu--list ul li:nth-child(2) > a:after {
        padding-right: 20px;
    }

    .header-btn-green, .header-btn-orange {
        width: 160px;
    }

    .header_menu--list ul {
        width: 100%;
        height: auto;
    }


}

.header_menu_sticky {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #7ac043;
    max-width: 1230px;
    margin: 0 auto;
    display: none;
}

@media(min-width: 1024px) {
    .header_menu_sticky.visible {
        display: block;
    }
}


@media (max-width: 400px) {
    .header_info .logo-cont img {
        width: 90px;
        height: 79px;
    }

    .contact-master__phone-new {
        font-size: 12px;
    }

    .header-btn-green, .header-btn-orange {
        width: 140px;
        font-size: 12px!important;
    }

    .header_menu--list li ul.child-menu li a {
        line-height: 20px;
    }

}

.overlay-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}