.childrens {
    display: flex;
    flex-direction: column;
}


.catalog__childrens {
    margin-bottom: 25px;
    padding: 24px 24px 20px 24px;
    background-color: var(--main-background-color);
    position: relative;
    border-radius: 10px;
}

.childrens__title {
    display: none;
}

.childrens__title .mdi {
    display: none;
}

.childrens__list {
    display: flex;
    flex-wrap: wrap;
}

.childrens__container {
    position: relative;
    max-height: 36px;
    overflow: hidden;
    transition: all 0.5s;
}

.childrens__container.active {
    max-height: 900px;
}

.childrens__button-more {
    position: absolute;
    left: 50%;
    top: calc(100% - 21px);
    font-size: 30px;
    width: 42px;
    height: 42px;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    display: none;
}
.childrens__button-more i {
    line-height: 1;
    width: 30px;
    height: 30px;
}

.childrens__button-more.active {
    transform: rotate(180deg);
}

.childrens__item {
    color: var(--accent-color);
    font-size: 14px;
    margin: 0 4px 4px 0;
    font-weight: 500;
    transition: all .3s ease;
    background: var(--accent-background-color);
}

.childrens__item:hover {
    opacity: 1;
}

.childrens__item:last-child {
    margin-right: 0;
}

.childrens__item:hover {
    color: var(--secondary-text-color);
    background: var(--accent-color);
}

.childrens__link {
    display: block;
    padding: 8px 16px;
}

@media (max-width: 768px) {
    .childrens__container {
        max-height: none;
    }
    .childrens__button-more {
        display: none !important;
    }
}