header.style-1 {
    
    z-index: 10;
    left: 0;
    right: 0;
    /* background-color: #a0acb9; */
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 27.15%), rgba(0, 0, 0, 0.3); */
}

.header-style-1__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #d7e1ec;
    margin-bottom: 15px;
}

.header__logo {
    display: flex;
    gap: 32px;
    align-items: center;
    padding-right: 40px;
}

.header__logo img {
    height: 72px;
}

.header__logo .description {
    max-width: 256px;
}

.header__logo .description p {
    color: #000;
    padding: 0;
    margin: 0;
}

.header__contacts {
    display: flex; 
    gap: 32px;   
    align-items: center;
}

.phone__link {
    position: relative;
    text-decoration: none;
    color: #000;
    font-family: Wix Madefor Text;
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;

}
.menu-wrapper3{
    display: none;
}
.phone__link:hover {
   color:#d7e1ec;;
}
.menu-wrapper2{
    display: none;
}

.mobile-menu {
    position: relative;
    display: none;
    width: 32px;
    z-index: 5;
    margin-left: 20px;
}

.mobile-menu__decor {
    width: 32px;
    height: 1px;
    background-color: #000;    
    transition: transform .3s, opacity .3s;
}

.mobile-menu__decor:not(:last-child) {
    margin-bottom: 12px;
}

.navigation-menu ul {
    list-style: none;
    margin: 0;
    /* padding: 0; */
    z-index: 5;
}

.menu-list {
    display: flex;
    gap: 24px;
    position: relative;
}
.menu-two{
    display: flex;
    justify-content: space-between;
    max-height: 49px;
}

.menu-list > li {    
    border-radius: 12px;
    margin-bottom: 16px;
}

.menu-list li a {
    display: flex;
    padding: 12px 16px;
    align-items: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #000;
    cursor: pointer;
}
.menu-wrapper3 .menu-list li a {
    color:#fff;
}

.menu-list > li:not(.dropdown) a:hover {
    background-color: #566d6a;
    border-radius: 8px;
}


.parrent-one::before {
    content: '';
    position: absolute;
}

.parrent-two {
    position: relative;
}



.parrent-two.item-menu-active {
    background-color: unset;
}

.submenu-wrapper .menu-item a {
    color: #28313d;
    transition: color .3s;
}

.submenu-wrapper .menu-item a:hover {
    color: #707d81;
}

.dropdown > a::after {
    content: url('/wp-content/themes/sk-karkashome/assets/images/dropdown-gray.svg');
    margin-left: 14px;
}

.dropdown-open > a::after {
    transform: rotate(180deg);
}

.submenu-wrapper {
    position: absolute;
    z-index: 5;
    top: 48px;
    left: 0;
    background-color: #fff;
    width: 100%;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 16px 38px 0 rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    transform-origin: 0 0;
    transform: rotateX(-90deg);
    transition: .3s linear;
    visibility: hidden;
    opacity: 0;
}

.submenu-wrapper .parrent-two .submenu-wrapper {
    flex-direction: column;
    top: 50px;
    padding: 5px;
}

.menu-open {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
}

.item-menu-active {
    background-color: transparent;
}

.banner {
    width: 450px;
    height: 255px;
    background-color: #d7e1ec;
}

.feedback-header {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.mobile-description,
.feedback-header-mobile {
    display: none;
}
.schema-organization{
    display: none;
}
.menu-two .phone{
    display: none;
}
.mobile-description__contacts .phone {
    display: none;
}
.soc-icon{
    filter: brightness(0);
}
@media(max-width:1200px){
    .menu-list li a {
        padding: 12px 0;
    }
}
@media(max-width: 1024px) {
    .header__contacts .social-link-block,
    .feedback-header{
        display: none;
    }
}
@media(max-width:910px){
    .menu-wrapper2 {
        display:block;
    }
    .menu-wrapper3{
        display: block;
}
    .header-style-1__top{
        display: none;
    }
    .menu-wrapper{
        display: none;
    }
        .header-footer-group.open .navigation-menu {
        transform: translateX(100%);
        overflow: auto;
        
    }
        .header-footer-group.open .mobile-menu__decor:nth-child(1) {
        transform: translateY(13px);
        background-color: #000;
    }
    .header-footer-group.open .mobile-menu__decor:nth-child(3) {
        transform: translateY(-13px);
        background-color: #000;

    }
        .navigation-menu{        
        position: absolute;
        padding: 92px 32px 0 ;
        left: -100%;
        top: 0;
        background-color: #fff;
        width: 100vw;
        height: 728px;
        z-index: 2;
        transition: transform .3s;
    }
    .menu-wrapper2 .menu-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        z-index: 6;
    }
    .menu-wrapper2 .submenu-wrapper li{
        border: unset;

    }
    .menu-wrapper2 li {
        border: 1px solid #bcdcb4;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .menu-wrapper2 .menu-list > li.menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .menu-two .phone{
        display: block;
    }
    .menu-wrapper2 .menu-list li a{
        color: black;
    }
    .menu-two{
        border-bottom: 1px solid #d7e1ec;
    }

    /* Добавляем индикатор подменю (вместо ::after) */
    .menu-wrapper2 .menu-list > li.menu-item-has-children > a::after {
        content: "";
        display: inline-block;
        width: 36px;
        height: 36px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7 10l5 5 5-5z"/></svg>');
        background-repeat: no-repeat;
        background-position: center;
        margin-left: 8px;
    }
    .menu-wrapper2 .menu-list li a{
        margin-left: 24px;
    }
    .menu-wrapper3 .menu-list {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .menu-wrapper3 .menu-list li a{
        padding: 12px 10px;
    }
    .menu-wrapper3 .menu-list li{
        border-radius: 12px;
        background-color: #bcdcb4;
    }
        .menu-wrapper3 .menu-list li{
        border-radius: 12px;
        background-color: #576d6a;
    }
        .header__logo {
        z-index: 5;
        border-right: unset;
        
    }
    .header__logo img {
        height: 55px;
    }
    .logo-descrip-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .phone{
        z-index: 5;
    }
    .social-link-block-mobile {
        display: block;
    }
        .mobile-description {
        display: flex;
        flex-direction: column;
        gap: 32px;
        color: #fff;
    }
    .mobile-description__contacts {
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        align-items: center;
        margin-bottom: 30px;
    }
    .mobile-description .description{
        display:none;
    }
        .mobile-description__contacts .feedback-header-mobile {
        display: block;
    }
        .menu-list li a {
        font-weight: 400;
        font-size: 16px;
        line-height: 120%;
    }
        .menu-list > li.menu-item {
        margin-bottom: 0;
        padding: 12px 16px;
    }
        .menu-list {        
        padding-top: 30px;
    }
    .menu-wrapper2 .menu-list{
        border-top: 1px solid #d7e1ec;
    }
    .mobile-description .soc-icon{
        filter: brightness(0);
    }
    .mobile-description .soc-icon::before{
        filter: brightness(0);
    }
    .menu-wrapper2 .menu-list > li.menu-item{
        position: relative;
    }
    .submenu-wrapper{
        top: 88px;
    }
}
@media(max-width: 768px) {
    .menu-two .description-2{
        display: none;
    }
    .navigation-menu{
        height: 621px;
        padding: 65px 32px 0;
    }
    .menu-list > li.menu-item {
        max-height: 48px;
        gap: 10px;
    }
    .menu-list > li.menu-item{
        padding: 0px 16px;
    }
    .parrent-two {
        position: unset;
    }

    .parrent-two.item-menu-active {
        border: none ;
    }

    .menu-open li {
        margin-bottom: 24px;
    }

    .item-menu-active {
        background-color: transparent;
    }

    .header__logo img {
        max-height: 50px; 
    }

    .mobile-menu__decor {
        background-color: #000;
    }
    
    .header__contacts .phone{
        display: none;
    }

    .mobile-description .description {
        display: block;
        margin-top: 15px;
    }
    .submenu-wrapper{
        top: 50px;
    }
    .social-link-block-mobile > .soc-icon {
        border-top-right-radius: 40px;
        border-bottom-right-radius: 40px;
        border-top-left-radius: 40px;
        border-bottom-left-radius: 40px;
        width: 90px;
        height: 40px;
    }

    .mobile-description{
        gap: 0;
    }
    .mobile-description__contacts{
        margin-top: 20px;
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .menu-list {
        padding-top: 20px;
    }
    .mobile-description .description p {
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;
    }
    .logo-descrip-container .phone{
        display: none;
    }
    .mobile-description__contacts .phone {
        display: block;
    }
    .mobile-description__contacts .phone a {
        color:#000;
    }
}

@media(max-width: 550px) {
    .navigation-menu{        
        padding: 64px 16px 0;
    }

    .mobile-description__contacts {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        gap: 32px;
    }

    .social-link-block-mobile > .soc-icon {
        border-top-right-radius: 40px;
        border-bottom-right-radius: 40px;
        border-top-left-radius: 40px;
        border-bottom-left-radius: 40px;
        width: 90px;
        height: 40px;
    }

    .main-banner.style-1 .banner-two-section .right-section {
        display: none;
    }
    .menu-list{
        gap: 10px;
    }
    .navigation-menu ul {
        flex-direction: column;
    }
}
@media(max-width:400px){
    .menu-wrapper2 .menu-list > li.menu-item-has-children > a::after{
        width: 15px;
        height: 15px;
    }
}

@media(min-width: 320px) and (max-width: 375px) {
    .social-link-block-mobile {
        display: flex;
        justify-content: space-between;
    }
    .social-link-block-mobile > .soc-icon {
        width: 90px;
    }
}