/* Product specification: the table from the product editor as label / value rows. */
.lc-product-specifications table {
    width: 100% !important;
    height: auto !important;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--leguma-border, #e4e4e4) !important;
    /* !important: tables pasted from the editor carry inline border-collapse and black
       row/cell border colours (border="black"), which would otherwise draw dark lines. */
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
}

.lc-product-specifications :is(td, th) {
    width: auto !important;
    height: auto !important;
    padding: 0.75rem 1rem !important;
    border: 0 !important;
    border-top: 1px solid var(--leguma-border, #e4e4e4) !important;
    text-align: left !important;
    vertical-align: middle;
}

.lc-product-specifications tr {
    border: 0 !important;
}

.lc-product-specifications tr:first-child :is(td, th) {
    border-top: 0 !important;
}

.lc-product-specifications tr:nth-child(odd) {
    background: var(--leguma-surface-hover, #f6f6f6);
}

/* First column: the label. */
.lc-product-specifications :is(td, th):first-child {
    width: 45% !important;
    color: var(--leguma-muted, #676767);
    font-weight: 600;
}

.lc-product-specifications :is(td, th):first-child :is(strong, b) {
    font-weight: inherit;
}

.lc-product-specifications :is(td, th):last-child {
    color: var(--leguma-text, #222222);
    font-weight: 700;
}
