.header-catalog-menu-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.header-mob-menu-content.js-header-menu-eco {
    width: 380px;
    right: 100%;
    left: auto;
    z-index: 3000;
    top: 0;
    height: 100vh;
    padding: 0;
}
.header-mob-menu-content.js-header-menu-eco.opened {
    right: 0;
    display: block;
}
.header-catalog-menu-wrapper > .header-main-menu {
    flex: 1;
}
.header-catalog-menu-wrapper > .header-main-menu-eco {
    flex: 0;
    min-width: 190px;
    justify-content: flex-end;

    .menu-profile-eco {
        display: flex;
        flex-direction: row;
        align-items: center;

        img {
            width: 24px;
        }

        a {
            display: flex;
        }
    }

    .header-main-menu-eco-ul {
        display: flex;
    }

    .iekid-login-button, .iekid-logout-button {
        background: transparent;
        border: 0;
        outline: none;
        cursor: pointer;
        text-align: left;
        display: inline-flex;
        width: fit-content;
        max-width: max-content;
        gap: 6px;
        padding: 0 10px;
        align-items: center;
        font-family: WixMadeforDisplay;
        font-weight: 700;
        font-size: 14px;
        margin-right: 10px;

        .iekid-logo-over {
            display: none;
        }
    }

    .iekid-login-button:hover {
        background: #F6E200;

        .iekid-logo-over {
            display: block;
        }
        .iekid-logo {
            display: none;
        }
    }
}
.header-catalog-menu-wrapper > .header-main-menu-eco .header-main-menu-item {
    line-height: 0;
    background: none !important;
    align-items: center;
}
.header-catalog-menu-wrapper > .header-main-menu-eco .header-main-menu-item__link {
    white-space: nowrap;
    padding: 0;
    cursor: pointer;

    height: 12px;
    width: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;

    span {
        display: inline-block;
        height: 2px;
        width: 100%;
        background-color: #121318;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    &::before {
        content: "";
        display: inline-block;
        width: 100%;
        height: 2px;
        background-color: #121318;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    &::after {
        content: "";
        display: inline-block;
        width: 100%;
        height: 2px;
        background-color: #121318;
        position: absolute;
        bottom: 0;
        left: 0;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }
}

.header-mob-menu-content.js-header-menu-eco .header-mob-menu-content__main {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: clip;
}
.header-mob-menu-content.js-header-menu-eco .header-mob-menu-content__main .eco-close-button {
    background: url("/include/ecosystem/images/close.png") no-repeat center;
    width: 18px;
    height: 18px;
    display: inline-block;
    cursor: pointer;
}
.header-mob-menu-content.js-header-menu-eco .header-mob-menu-content__main .close-button-wrapper {
    text-align: right;
    padding: 20px 30px 0;
}
.header-mob-menu-content.js-header-menu-eco .header-mob-menu-content__main > iframe {
    height: calc(100vh - 40px);
}
body.opened-menu-overlay {
    overflow: hidden;
    height: 100vh;
}
.js-header-menu-eco-overlay {
    display: none;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    position: absolute;
    background: #0000009c;
    z-index: 2000;
}
.js-header-menu-eco-overlay.opened {
    display: block;
}

.js-header-menu-eco .ecosystem {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 92vh;
    overflow-y: auto;

    .ecosystem-profile {
        display: flex;
        flex-direction: column;

        button {
            background: transparent;
            border: 0;
            outline: none;
            cursor: pointer;
            text-align: left;
            display: inline-flex;
            width: -moz-fit-content;
            width: fit-content;
            max-width: max-content;
            gap: 6px;
            padding: 0 10px;
            align-items: center;
            font-family: WixMadeforDisplay;
            font-weight: 700;
            font-size: 14px;

            &.iekid-logout-button {
                padding: 0;
                min-width: 24px;
            }

            &.iekid-login-button {
                padding: 10px;

                &:hover {
                    background: #F6E200;

                    .iekid-logo-over {
                        display: block;
                    }
                    .iekid-logo {
                        display: none;
                    }
                }

                .iekid-logo-over {
                    display: none;
                }
            }
        }

        .ecosystem-profile-wrap {
            display: none;
            justify-content: space-between;
            align-items: center;
            padding-left: 10px;

            &.show {
                display: flex;
            }

            .ecosystem-profile-email {
                font-family: WixMadeforDisplay;
                font-style: normal;
                font-weight: 700;
                font-size: 16px;
                line-height: 20px;
                color: #1D252D;
            }
        }
    }

    .ecosystem-sections {
        flex: 1;
        margin-top: 30px;

        .section {
            display: flex;
            flex-direction: row;
            align-items: center;
            padding: 18px 16px;
            background: #F6E200;

            font-family: DrukTextWideCyr;
            font-style: normal;
            font-weight: 1000;
            font-size: 16px;
            line-height: 20px;
            text-transform: uppercase;
            color: #1D252D;
        }

        .items {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 20px;
            margin-bottom: 40px;

            .item {
                box-sizing: border-box;
                padding: 0;
                border: 1px solid #D6D6D6;

                &:hover {
                    background: #F6E200;
                    border: 1px solid #F6E200;

                    .header {
                        background: #F6E200;
                    }
                }

                .header {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    padding: 0 10px;
                    min-height: 40px;

                    font-family: WixMadeforDisplay;
                    font-style: normal;
                    font-weight: 700;
                    font-size: 16px;
                    line-height: 20px;
                    color: #1D252D;
                    transition: .3s;
                }

                .body {
                    display: flex;
                    flex-direction: row;

                    .body-left {
                        font-family: WixMadeforDisplay;
                        font-style: normal;
                        font-weight: 400;
                        font-size: 10px;
                        line-height: 13px;

                        color: #1D252D;

                        display: flex;
                        flex-direction: column;
                        align-items: flex-start;
                        padding: 0 0 10px 10px;
                    }
                    .body-right {
                        max-width: 35%;
                        display: flex;
                    }
                }
            }
        }
    }

    .ecosystem-more {
        text-align: right;

        .ecosystem-more-link {
            font-family: WixMadeforDisplay;
            font-style: normal;
            font-weight: 700;
            font-size: 14px;
            line-height: 18px;
            color: #1D252D;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
    }
}

@media (max-width: 1300px) {
    .header-catalog-menu-wrapper > .header-main-menu-eco .iekid-login-button{
        font-size: 13px;

        img {
            width: 55px;
        }
    }
}

@media (max-width: 1150px) {
    .header-catalog-menu-wrapper > .header-main-menu-eco {
        min-width: 140px;

        .iekid-login-button{
            font-size: 12px;
            margin-right: 0;
            padding: 0 5px;

            img {
                width: 40px;
            }
        }
    }
}
