/**
 * Visual hierarchy for NudgeSells add-on line items on the WooCommerce
 * cart and checkout pages. WooCommerce renders every cart item as an
 * independent table row with no native nesting, so this styles each
 * add-on row to read as "belonging to" the host product immediately
 * above it, rather than as an unrelated separate purchase -- just the
 * arrow indent, no cell padding. Upgrades are deliberately excluded --
 * they render as regular cart items, with no special styling at all.
 */

/* These two spans are inserted into WooCommerce's own cart/checkout
   templates (item name, item totals), so - unlike the widget above -
   there's no "nudgesells-upsell-wrap" ancestor to root the selector on.
   Specificity is instead raised by qualifying the element tag and
   doubling the class itself, which is enough to beat the generic
   `span`/text styling most themes apply to cart rows without needing
   `!important`. */
span.nudgesells-cart-item-indent.nudgesells-cart-item-indent {
	display: inline-block;
	margin-inline-end: 6px;
	color: var( --nudgesells-accent, #1E5F46 );
	font-weight: 700;
}

span.nudgesells-cart-savings-note.nudgesells-cart-savings-note {
	font-weight: 600;
	color: var( --nudgesells-success, #2a7d2a );
}
