/* SV 2026-10-01: keep cart/checkout dark if the inline Customizer CSS is lost or outranked */
body.woocommerce-cart.custom-background,
body.woocommerce-checkout.custom-background { background-color: #242424 !important; }

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info:not(.cart-empty),
.woocommerce-cart .woocommerce-message:not(.cart-empty),
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout #main-content .checkout-modern-wrap .woocommerce-form-login-toggle,
.woocommerce-checkout #main-content .checkout-modern-wrap form.woocommerce-form-login,
.woocommerce-checkout .woocommerce .order-review,
.woocommerce-checkout .woocommerce-checkout-review-order table,
.woocommerce-checkout .form-row.create-account,
.woocommerce-checkout .checkout-modern-wrap .woocommerce-terms-and-conditions {
  background-color: #242424 !important;
  color: #fff !important;
}

/* Payment box: background only. NMI CollectJS runs with styleSniffer, which copies
   computed page styles into the card iframes; forcing color:#fff here could make the
   card text white on the iframes' white inputs. Matches the child theme's existing
   .payment_box rule (background only). */
.woocommerce-checkout .payment_box,
.woocommerce-checkout .checkout-modern-wrap #payment .payment_methods .payment_box {
  background-color: #242424 !important;
}

/* v1.0.2: do not depend on the theme-mod-driven custom-background body class */
body.woocommerce-cart,
body.woocommerce-checkout { background-color: #242424 !important; }
.woocommerce-cart #content,
.woocommerce-checkout #content,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper { background-color: #242424 !important; }
/* login and coupon toggle links were forced to #333 by the Customizer CSS */
body.woocommerce-checkout .woocommerce-form-login-toggle a.showlogin,
body.woocommerce-checkout .woocommerce-form-coupon-toggle a.showcoupon { color: #fff !important; text-decoration: underline; }
