/**
 * BROXAIL Product Editor - Frontend Product Specs Styles
 * Scoped styles for the single product page specs card.
 * Brand tokens: Ink #141A10, Line #DCDBD3, Lime #D8F784, Muted #6b7563.
 */

.brx-specs-card {
    background: #ffffff;
    border: 1px solid #DCDBD3;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0;
    box-sizing: border-box;
}

.brx-specs-heading {
    margin: 0 0 12px 0;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #141A10;
    line-height: 1.3;
}

.brx-specs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brx-specs-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9.5px 0;
    border-top: 1px solid #DCDBD3;
    box-sizing: border-box;
}

.brx-specs-row:first-child {
    border-top: none;
    padding-top: 2px;
}

.brx-specs-row:last-child {
    padding-bottom: 2px;
}

.brx-specs-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7563;
    font-weight: 600;
    margin: 0;
    flex-shrink: 0;
    line-height: 1.4;
}

.brx-specs-value {
    font-size: 15px;
    color: #141A10;
    margin: 0;
    text-align: right;
    line-height: 1.45;
    word-break: break-word;
}

/* Custom options chips */
.brx-specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.brx-spec-chip {
    display: inline-flex;
    align-items: center;
    background: #D8F784;
    color: #141A10;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 999px;
    line-height: 1.3;
}

/* Responsive: stack rows on smaller mobile screens */
@media (max-width: 600px) {
    .brx-specs-card {
        padding: 16px;
        border-radius: 12px;
    }

    .brx-specs-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 8.5px 0;
    }

    .brx-specs-value {
        text-align: left;
    }

    .brx-specs-chips {
        justify-content: flex-start;
    }
}
