/* СТИЛИ ДЛЯ ВСЕХ ТАБЛИЦ CL46 */
/* 1. Настройка структуры всех таблиц T431 */
.t431 .t431__table {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    table-layout: fixed;
    width: 100% !important;
}

/* 2. Чистим границы и разрешаем позиционирование */
.t431 .t431__td,
.t431 .t431__th {
    border: none !important;
    padding: 15px !important;
    position: relative;
}

/* 3. Скругление 8px для каждой строки */
.t431 tr th:first-child,
.t431 tr td:first-child { border-radius: 8px 0 0 8px !important; }
.t431 tr th:last-child,
.t431 tr td:last-child { border-radius: 0 8px 8px 0 !important; }

/* 4. Красная укороченная линия под строками */
.t431 .t431__thead tr::after,
.t431 .t431__tbody tr:nth-child(even)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5px;
    right: 5px;
    height: 2px;
    background-color: #F86363;
    border-radius: 0 0 6px 6px;
    z-index: 10;
    pointer-events: none;
    display: block;
}

/* Фикс позиционирования для линии */
.t431 .t431__table tr {
    position: relative;
}

/* 5. Жирный шрифт для первой колонки */
.t431 .t431__td:first-child {
    font-weight: 700 !important;
    color: #383838;
}

/* 6. Убираем дефолтные тени или бордеры Тильды, если они мешают */
.t431 .t431__table tr {
    border: none !important;
}
/* КОНЕЦ - СТИЛИ ДЛЯ ВСЕХ ТАБЛИЦ CL46 */


/* КАЛЬКУЛЯТОР РЕМОНТ ХОЛОДИЛЬНИКОВ - Задаем высоту кнопке в конкретном блоке */
#rec2230250701 .t-submit {
    height: 80px !important;
    
    /* Обнуляем вертикальные отступы, чтобы они не суммировались с высотой */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    
    /* Центрируем текст внутри кнопки по вертикали */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Если нужно, чтобы кнопка была на всю ширину своего контейнера */
    width: 100% !important;
    max-width: 400px; /* Можно ограничить макс. ширину, если 100% — это слишком много */
}

/* Фикс для мобильных, чтобы на маленьких экранах она не выглядела гигантской (опционально) */
@media screen and (max-width: 640px) {
    #rec2230250701 .t-submit {
        height: 60px !important; /* На мобилках лучше сделать чуть меньше */
    }
}

/* КОНЕЦ - КАЛЬКУЛЯТОР РЕМОНТ ХОЛОДИЛЬНИКОВ */

/* ПРИНУДИТЕЛЬНО СБРАСЫВАЕМ СТИЛИ НА ТАБЛИЦАХ В ОШИБКАХ */
/* "Ядерный" сброс для блока rec2287311331 */
/* Применяем правила к двум таблицам */
/* Применяем правила ко всем блокам с классом uc-oshibki */
.uc-oshibki .t431__table {
    border-collapse: separate !important;
    border-spacing: 0 4px !important;
    table-layout: auto !important;
    border: none !important;
}

.uc-oshibki .t431__td, 
.uc-oshibki .t431__th {
    border: none !important; 
    padding: 12px 15px !important;
}

.uc-oshibki .t431__td:first-child {
    border-radius: 8px 0 0 8px !important;
    font-weight: 700 !important;
    color: #F86363 !important;
}

.uc-oshibki .t431__td:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.uc-oshibki .t431__tbody tr:nth-child(even) td {
    background-color: #f5f5f5 !important;
}

.uc-oshibki .t431__thead tr::after, 
.uc-oshibki .t431__tbody tr::after {
    display: none !important;
}

/* КОНЕЦ - ПРИНУДИТЕЛЬНО СБРАСЫВАЕМ СТИЛИ НА ТАБЛИЦАХ В ОШИБКАХ */


/* УБИРАЕМ ГЛЮК ТИЛЬДЫ КОТОРАЯ ДОБАВЛЯЛА ЛИНИЮ НА ПЕРВОМ ЭКРАНЕ ПОД ФОРМОЙ */
/* Убираем ВСЕ границы и тени у таблиц T431 */
.t431,
.t431 *,
.t431__table,
.t431__table-wrapper,
.t431__tbody,
.t431__thead,
.t431__th,
.t431__td,
.t431__oddrow,
.t431__evenrow {
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Принудительно убираем горизонтальный скролл */
.t431__table-wrapper {
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

/* Скрываем скроллбар полностью */
.t431__table-wrapper::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Фикс для iOS Safari — убираем все артефакты рендеринга */
@supports (-webkit-touch-callout: none) {
    .t431 {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .t431__table-wrapper {
        overflow-x: hidden !important;
    }
}

/* Глобальный фикс */
html, body {
    overflow-x: hidden !important;
}

/* Убираем padding/margin которые могут создавать линии */
.t431 {
    padding: 0 !important;
    margin: 0 !important;
}

