/* Контейнер всех фильтров */
#ot-filters-extra {
    width: 100%;
    box-sizing: border-box;

    background: #f7f7f7;
    border: 1px solid #e5e5e5;

    padding: 35px 45px 20px 45px;
    margin-top: 20px;

    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 1fr; /* 4 ровных колонки */
    gap: 40px;

    align-items: start;
}

/* Общий размер всех колонок — одинаковая высота */
.ot-filter-col,
.ot-filter-col-wide {
    display: flex;
    flex-direction: column;
    height: 430px;               /* <<< фиксируем высоту */
}

/* Заголовки */
.ot-filter-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

/* Поля поиска */
.ot-filter-search {
    width: 100%;
    height: 42px;

    border: 1px solid #ccc;
    border-radius: 4px;

    padding: 0 40px 0 12px;
    margin-bottom: 12px;

    font-size: 16px;
    outline: none;
}

.ot-filter-search:focus {
    border-color: #00a046;
}

/* Списки — одинаковая высота */
.ot-filter-list {
    flex-grow: 1;               /* <<< растягивает до нужной высоты */
    min-height: 0;              /* фикс для корректной работы flex-grow */
    overflow-y: auto;

    padding: 15px 18px;

    background: #fff;
    border: none;
    border-radius: 4px;
}

/* Элементы списка */
.ot-filter-list label {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
}

.ot-filter-list input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

/* Кнопка "Показать/Скрыть поля" переносится вниз */
#ot-filters-toggle-wrapper {
    width: 100%;
    text-align: right;
    margin-top: 10px;
}

/* Стиль самой кнопки НЕ меняем! */

/* Скроллы */
.ot-filter-list::-webkit-scrollbar {
    width: 8px;
}

.ot-filter-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ot-filter-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.ot-filter-list::-webkit-scrollbar-thumb:hover {
    background: #9e9e9e;
}

.searchTabs__content {
    padding: 0;
    background-color: #fff;
    border: none;      
    margin-top: 16px;
}

.ot-msf-form {
    border-bottom: 1px solid #e5e5e5;  
    margin-bottom: 0;
}
