/* Rows switched off in the block settings (the table is re-rendered in place
 * after cart changes, so they are hidden from the wrapper). */
.wp-block-storeengine-cart-totals.storeengine-cart-totals--no-subtotal .order-subtotal,
.wp-block-storeengine-cart-totals.storeengine-cart-totals--no-discount .storeengine-cart-sub-total-table__coupon,
.wp-block-storeengine-cart-totals.storeengine-cart-totals--no-tax :is(.tax-total, .storeengine-cart-sub-total-table__tax-rate),
.wp-block-storeengine-cart-totals.storeengine-cart-totals--no-shipping .storeengine-shipping-totals {
	display: none;
}

/* Tax row hidden but charged: the total says it includes tax (render.php). */
.wp-block-storeengine-cart-totals.storeengine-cart-totals--no-tax:has(:is(.tax-total, .storeengine-cart-sub-total-table__tax-rate)) .order-total th::after {
	content: " (" var(--storeengine-incl-tax-label, "incl. tax") ")";
	font-size: 0.85em;
	font-weight: 400;
}

.wp-block-storeengine-cart-totals .storeengine-cart-totals__heading {
	margin: 0 0 0.75em;
}

.wp-block-storeengine-cart-totals .storeengine-block-sample-note {
	margin: 0 0 0.5em;
	font-size: 12px;
	font-style: italic;
	opacity: 0.6;
}
