.store-plan-catalog-table .fi-fo-field-wrp-label {
    display: none;
}

.store-plan-catalog-table .fi-fo-toggle {
    justify-content: center;
}

.store-plan-catalog-table .fi-input-wrp,
.store-plan-catalog-table .fi-fo-toggle {
    margin-top: 0;
    margin-bottom: 0;
}

.store-plan-catalog-table .fi-input-wrp input {
    min-height: 2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.store-plan-catalog-table__table td {
    vertical-align: middle;
}

.store-plan-catalog-plan-meta .fi-badge {
    flex-shrink: 0;
}

.store-plan-catalog-table input[type='hidden'] {
    display: none;
}

/* Список тарифов: фиксированная раскладка, кнопки — узкая колонка справа */
.fi-resource-store-plan-catalog .fi-ta-table,
.store-plan-catalog-list .fi-ta-table {
    table-layout: fixed;
    width: 100%;
}

.fi-resource-store-plan-catalog .fi-ta-table .fi-table-header-cell-name,
.fi-resource-store-plan-catalog .fi-ta-table .fi-table-cell-name,
.store-plan-catalog-list .fi-ta-table .fi-table-header-cell-name,
.store-plan-catalog-list .fi-ta-table .fi-table-cell-name {
    width: auto;
    white-space: normal;
}

.fi-resource-store-plan-catalog .fi-ta-table .fi-table-header-cell-name > span,
.store-plan-catalog-list .fi-ta-table .fi-table-header-cell-name > span {
    justify-content: flex-start;
}

.fi-resource-store-plan-catalog .fi-ta-table .fi-ta-actions-header-cell,
.fi-resource-store-plan-catalog .fi-ta-table .fi-ta-actions-cell,
.store-plan-catalog-list .fi-ta-table .fi-ta-actions-header-cell,
.store-plan-catalog-list .fi-ta-table .fi-ta-actions-cell {
    width: 7.5rem;
    min-width: 7.5rem;
    max-width: 7.5rem;
    white-space: nowrap;
}

/* Режим пересортировки: узкая колонка с ручкой, без пустого места по центру */
.store-plan-catalog-list--reordering .fi-ta-table thead tr > th:first-child,
.store-plan-catalog-list--reordering .fi-ta-table tbody tr > td:first-child {
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    box-sizing: border-box;
}

.store-plan-catalog-list--reordering .fi-ta-table tbody tr > td:first-child > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    justify-content: center;
}

.store-plan-catalog-list--reordering .fi-ta-table .fi-ta-actions-cell.hidden {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
