.service-blocks {
    border-radius: 20px;
    min-height: 80vh;
}

.group-title-container {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* Обертка для переключателя */
.toggle-group-wrapper {
    width: 40px; /* Фиксированная ширина */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

/* Стили для переключателя +/- */
.toggle-group {
    font-size: 40px;
    font-weight: 300;
    width: 30px; /* Фиксированная ширина символа */
    text-align: center;
    display: inline-block;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

/* Заголовок группы */
.group-title {
    margin: 0;
    flex-grow: 1;
    font-size: 18px; /* Примерный размер, подберите под ваш дизайн */
    line-height: 1.3;
    padding-right: 40px;
}



.custom-department-filter {
    position: relative;
    display: inline-block;
    width: 250px;
    //margin-right: 15px;

    @media (max-width: 768px) {
        width: 100%!important;

    }
}

.service-filters {
    display: grid;
    grid-template-columns:  320px minmax(200px, 1fr)  auto auto; /* 4 колонки */
    gap: 10px; /* Отступы между элементами */
    align-items: center; /* Выравнивание по вертикали */
}
.search-input {
    min-width: 0;
    width: 100%!important;
}

.toggle-group{
    font-size: 40px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .service-filters {
        grid-template-columns: 1fr; /* На мобильных - одна колонка */
    }
}

.filter-selected {

    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 16px 16px;
    cursor: pointer;

    width: 320px;

    border: 1px solid #b0b0b0;
    border-radius: 33px;

    height: 42px;
    padding: 3px 40px 0px 47px;
    box-sizing: border-box;


    align-items: center;
    font-weight: 400;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Или 'clip' если не нужно многоточие */
    line-height: 35px;

    /* Градиентное затухание */
    /*mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent 100%);*/
    /*-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent 100%);*/

    @media (max-width: 768px) {
        width: 100%!important;

    }
    


}

.filter-selected::after {
    display: none;
}

.filter-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    z-index: 99999;
    border-radius: 20px;
    width: 420px;

    padding: 20px 0;
}

.filter-options li {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
}

.filter-options li:hover {
    background: #f5f5f5;
}

.filter-options li {
    list-style-type: none;
    margin: 0 20px!important;
}

.filter-selected::after {
    content: "";
    position: absolute;
    right: 40px; /* Оставляем место для стрелки */
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}

.price-table__kodoper{
    font-size: 14px;
    padding: 0 20px;
    width: 180px;

    @media (max-width: 768px) {
        padding: 10px 0;

    }
}

.kodoper{
    background: #af8246;
    padding: 0 20px;
    border-radius: 30px;
    line-height: 32px;
    color: white;
    font-size: 12px;


}

.price-table__title{
    margin-right: 20px;
    text-align: left;
}

.col-md-12.centr-width {
    padding: 20px 20px;
    background-color: #fff4e6;
    border-radius: 10px;
}


    .flex-table__row{
        border-radius: 10px;
    }


    .group-title-container{
        cursor: pointer;
    }





