/* Product Comparison: "See Full Specifications" rows and buttons (render.php, assets/js/product-comparison-specs.js) */
.product-comparison__more[hidden]{display:none!important}

/* Expanded: keep the line between the selected rows and the full specs */
.product-comparison__table>tbody:has(+ .product-comparison__more:not([hidden]))>tr:last-of-type>*{border-bottom:1px solid var(--flexible-table-line)}

/* Button row: no line, the button sits under the column */
.product-comparison__table>tfoot>tr>*{border-bottom:0;vertical-align:top}
.product-comparison__toggle{white-space:normal;text-align:left;cursor:pointer}

/* Featured column card: rounded at the button row, not at the last spec row */
.product-comparison__table:has(>tfoot)>tbody>tr:last-of-type>*{border-radius:0!important}
.product-comparison.has-featured-column-1 .product-comparison__table>tfoot>tr>:nth-child(2),
.product-comparison.has-featured-column-2 .product-comparison__table>tfoot>tr>:nth-child(3),
.product-comparison.has-featured-column-3 .product-comparison__table>tfoot>tr>:nth-child(4),
.product-comparison.has-featured-column-4 .product-comparison__table>tfoot>tr>:nth-child(5),
.product-comparison.has-featured-column-5 .product-comparison__table>tfoot>tr>:nth-child(6){border-radius:0 0 var(--flexible-table-radius) var(--flexible-table-radius)}
