/* =====================================================================
 * SAVINGS LINE — حزمة ٢، بند ٤ «كم وفّرت» (2026-11-14).
 * The component's own styles (inc/v5/savings.php), enqueued on the
 * cart and checkout pages only. House fact-line typography mirrors
 * .rn7-pers-cmp (14.5px / 1.6); per the design-system rule prices
 * are --ink and the saved figure speaks in the store's savings
 * voice --save (the .rn5-price-save green). Flat truth: no
 * gradient, no shadow, no animation — these are high-frequency
 * surfaces and the line is re-rendered by Woo's own fragments.
 * ===================================================================== */

.rn7-savings {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ink);
}

.rn7-savings b {
	font-weight: 800;
}

.rn7-savings .rn7-savings-win {
	color: var(--save);
}

.rn7-savings-scope {
	display: block;
	margin-block-start: 2px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--ink-2);
}

/* Cart: a fact band inside the totals card, directly under the
 * all-in lead total — separated by the card's own divider tone,
 * never a nested card. */
.rn7-savings--cart {
	margin-block-start: 14px;
	border-block-start: 1px solid var(--line);
	padding-block-start: 12px;
}

/* Checkout: a full-width row of the review-order table, directly
 * above the order-total row; the cell keeps the table's rhythm.
 * The review table's inherited cell rule is white-space:nowrap —
 * left standing, it would force this fact line onto one line and
 * push the table (and the page) sideways at 375 (measured:
 * document scrollWidth 439 vs 375). The component therefore
 * restores normal wrapping on its own cell and line, at source. */
.rn7-savings-row td {
	padding: 10px 0;
	text-align: start;
	white-space: normal;
}

.rn7-savings--checkout {
	font-size: 14px;
	white-space: normal;
	overflow-wrap: break-word;
}
