/* Семантическая таблица характеристик в карточке товара (sidebar-product.php).
   Класс .single_params_table. Палитра согласована с article-tables.css. */
.single_params_table {
    width: 100%;
    margin: 0 0 8px;
    border-collapse: collapse;
    color: #243247;
    font-size: 16px;
    line-height: 1.45;
    table-layout: fixed;
}

.single_params_table caption {
    padding: 10px 14px;
    background: #f2f5f9;
    color: #526174;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.single_params_table thead th {
    padding: 12px 14px;
    background: linear-gradient(180deg, #315f9f, #294f85);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #dbe3ed;
}

.single_params_table th[scope="row"] {
    width: 45%;
    color: #1f3150;
    font-weight: 600;
    text-align: left;
}

.single_params_table th[scope="row"],
.single_params_table td {
    padding: 11px 14px;
    border-bottom: 1px solid #dbe3ed;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: normal;
}

.single_params_table tbody tr:nth-child(even) > * {
    background: #f6f8fb;
}

.single_params_table tbody tr:last-child > * {
    border-bottom: 0;
}

.single_params_table a {
    color: #315f9f;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

@media (max-width: 767px) {
    .single_params_table {
        font-size: 14px;
        line-height: 1.4;
    }
    .single_params_table th[scope="row"],
    .single_params_table td { padding: 10px 11px; }
    .single_params_table thead th { padding: 10px 11px; font-size: 13px; }
    .single_params_table th[scope="row"] { width: 42%; }
}
