/**
 * Стили кастомного woocommerce_single_product_summary
 * Подключить через wp_enqueue_style() только на is_product()
 *
 * @package YourTheme
 */

/* ══════════════════════════════════════
   4. Таблица характеристик
══════════════════════════════════════ */
.custom-summary__attrs {
    margin-top: 8px;
}

.custom-summary__attrs-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 10px;
}

.custom-summary__attrs-table {
    display: block;
    margin: 0;
}

.custom-summary__attrs-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    background: transparent;
    border-bottom: 1px dashed #dadada;
}

/* Чётные строки — светло-серый фон, как на скриншоте */
.custom-summary__attrs-row:nth-child(even) {
    /* background: #f7f7f7; */
}

.custom-summary__attrs-name {
    font-size: 15px;
    color: #888;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.custom-summary__attrs-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 400;
    margin: 0;
    text-align: right;
}

/* ══════════════════════════════════════
   Адаптив
══════════════════════════════════════ */
@media (max-width: 480px) {
    .custom-summary__btn-order {
        flex: 1 1 100%;
    }

    .custom-summary__attrs-row {
        flex-direction: column;
        gap: 2px;
        padding: 10px 14px;
    }

    .custom-summary__attrs-value {
        text-align: left;
        color: #1a1a1a;
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-summary__btn-order {
        transition: none;
    }
}