/* Reflect Shop, RFL-6: Undo notice above the Cart block (includes/cart-undo.php, assets/js/cart-undo.js).
   The notice uses WooCommerce's notice banner classes, so WooCommerce's and the theme's notice styles
   apply; only the Undo button is new. */
/* The region is empty until a removal: the cart keeps its place (no flow block gap above it); a notice's
   own bottom margin gives the space when one shows. */
.reflect-cart-undo + .wp-block-woocommerce-cart { margin-block-start: 0; }
.reflect-cart-undo .reflect-cart-undo__undo {
	display: inline-block;
	min-height: 24px; /* WCAG 2.5.8 target size */
	margin: 0;
	padding: 0 2px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.reflect-cart-undo .reflect-cart-undo__undo[aria-disabled="true"] { cursor: progress; }
/* Error notices are white on red: the focus ring and the dismiss cross follow the text colour. */
.reflect-cart-undo .is-error .reflect-cart-undo__undo:focus-visible { outline-color: currentColor; }
.reflect-cart-undo .is-error > .wc-block-components-notice-banner__dismiss { color: inherit !important; opacity: 1; }
.reflect-cart-undo .is-error > .wc-block-components-notice-banner__dismiss svg { fill: currentColor; }
