/**
 * enitan hope · Membership points: B-04 (basket) / C-10 (checkout) "Your rewards" box in the
 * Cart and Checkout blocks, and OC-02 on the order confirmation page (inc/points.php).
 * Canvas BasketV2 B-04 (paper box, 4px progress line) and CheckoutV2 C-10 (white box on the
 * paper summary). Tokens only.
 */

.eh-b04 {
	display: flex; flex-direction: column; gap: 10px;
	margin: var(--wp--preset--spacing--s, 16px) 0 0; padding: 16px 18px;
	background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink);
	font-size: 14px; line-height: 1.5;
}
/* WooCommerce sets ".slot-wrapper > * > * { padding: 16px 0 }" on slot fills: keep our inset (Kayode, 27 Nov). */
.wc-block-components-totals-wrapper.slot-wrapper .eh-b04, .eh-b04.eh-b04 { padding: 16px 18px; }
.wp-block-woocommerce-checkout .eh-b04 { background: var(--wp--preset--color--white); }
.eh-b04 p { margin: 0; }
.eh-b04__cap { color: var(--wp--preset--color--stone); }
.eh-b04__p { font-size: 15px; }
.eh-b04__p strong { font-weight: 600; }
.eh-b04__a, .eh-b04__a:visited { color: var(--wp--preset--color--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .eh-b04__a:hover { text-decoration-color: var(--wp--preset--color--yellow); text-decoration-thickness: 2px; } }
.eh-b04__a:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
.eh-b04__check { padding: 4px 0; font-size: 14px; }
.eh-b04__check input[disabled] { opacity: .5; }
.eh-b04__note { font-size: 13px; color: var(--wp--preset--color--stone); }
.eh-b04__bar { height: 4px; background: var(--wp--preset--color--paper-line); }
.eh-b04__bar span { display: block; height: 4px; background: var(--wp--preset--color--ink); }

/* OC-02 on the order confirmation page (paper box, as OC-03). */
.eh-oc02 { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--s, 16px); margin-top: var(--wp--preset--spacing--xl, 40px); padding: var(--wp--preset--spacing--xl, 40px); background: var(--wp--preset--color--paper); }
.eh-oc02 h2, .eh-oc02 p { margin: 0; }
.eh-oc02__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 15px; }
@media (max-width: 689.98px) { .eh-oc02 { padding: var(--wp--preset--spacing--m, 24px) 20px; } }
