/* Reward credit notices (data-eesc) look as they do on the cart page (mu-plugins/ee-cart-page), not like the
   site's blue info box, so the gold amount stays readable at checkout. Siam, 7 Nov 2026: "Yes, match the cart". */
.woocommerce-info[data-eesc],
.woocommerce-message[data-eesc],
.woocommerce-error:has(> li[data-eesc]) {
	margin: 0 0 10px !important;
	padding: 12px 16px !important;
	border: 1px solid #ece3cf !important;
	border-radius: 12px !important;
	background: #faf7f0 !important;
	color: #1e293b !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	box-shadow: none !important;
	outline: 0 !important;
}
.woocommerce-error:has(> li[data-eesc]) {
	border-color: #f3c9c4 !important;
	background: #fff5f4 !important;
}
.woocommerce-info[data-eesc]::before,
.woocommerce-message[data-eesc]::before,
.woocommerce-error:has(> li[data-eesc])::before {
	display: none !important;
}

/* The cart page's summary table colours every other row's cells with a long :not() chain. */
.eesc-row td {
	font-size: 13px;
	line-height: 1.45;
	color: #8b692f !important;
}
html body.ee-co.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.eesc-row td {
	color: var(--ee-gold, #8b692f) !important;
}
.eesc-row a {
	color: inherit;
	text-decoration: underline;
}
.eesc-marker {
	display: none;
}
.eesc-afterpay-note {
	margin: 0 0 12px;
	font-size: 13px;
	color: #8b692f;
}

/* Credit applied: the buyer pays from the checkout form, so no wallet opens before the email is known. */
body.eesc-credit .wc-stripe-banner-checkout,
body.eesc-credit .wc-stripe-cart-checkout-container,
body.eesc-credit .wc-stripe-product-checkout-container,
body.eesc-credit .wc-stripe-mini-cart-express,
body.eesc-credit .wc_stripe_mini_cart_payment_methods,
body.eesc-credit .woocommerce-mini-cart__buttons [class*="wc-stripe"] {
	display: none !important;
}
