
html body.ss-one-code .wc-block-components-totals-coupon { display: none !important; }
html body.ss-one-code .nm-coupon-wrap { display: none !important; } /* classic cart page: its own coupon dropdown */
html body .ss-code-msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
/* Yellow via background-image: it paints over the theme's black and the night script's inline background color. */
html body.ss-checkout .wc-block-components-checkout-place-order-button, html body .wc-block-checkout .wc-block-components-checkout-place-order-button { background-color: #FFE800 !important; background-image: linear-gradient(#FFE800, #FFE800) !important; border: 2px solid #111 !important; color: #111 !important; -webkit-text-fill-color: #111 !important; }
html body.ss-checkout .wc-block-components-checkout-place-order-button *, html body .wc-block-checkout .wc-block-components-checkout-place-order-button * { color: #111 !important; -webkit-text-fill-color: #111 !important; }
@media (hover: hover) { html body.ss-checkout .wc-block-components-checkout-place-order-button:hover, html body .wc-block-checkout .wc-block-components-checkout-place-order-button:hover { background-image: linear-gradient(#111, #111) !important; -webkit-text-fill-color: #FFE800 !important; } html body.ss-checkout .wc-block-components-checkout-place-order-button:hover *, html body .wc-block-checkout .wc-block-components-checkout-place-order-button:hover * { -webkit-text-fill-color: #FFE800 !important; } }
/* Card form: Woo reserves 220px while the card fields load; once they have loaded, drop that so there is no gap above PayPal. */
html body .wcpay-payment-element-wrapper:has(.StripeElement iframe) { min-height: 0 !important; }
html body .wcpay-payment-element-wrapper .wcpay-payment-element { margin-bottom: 8px !important; }
/* Selected payment option box: 2px outline, black by day and white at night (the night script removes box-shadow, so use outline). */
html body .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: none !important; outline: 2px solid #111 !important; outline-offset: -2px; }
html.ss-dark body .wc-block-components-radio-control-accordion-option--checked-option-highlighted { outline-color: #f2f2f2 !important; }
/* Checked radio dot: white at night (it was black on black). */
html.ss-dark body .wc-block-components-radio-control__input:checked::before { background: #f2f2f2 !important; }
/* Quantity badge on order summary photos: white with black number at night, like the header cart count. */
html.ss-dark body .wc-block-components-order-summary-item__quantity { background-image: linear-gradient(#f2f2f2, #f2f2f2) !important; border-color: #f2f2f2 !important; color: #111 !important; -webkit-text-fill-color: #111 !important; }
html.ss-dark body .wc-block-components-order-summary-item__quantity * { color: #111 !important; -webkit-text-fill-color: #111 !important; }
/* Checkout cleanup (Nov 22): */
/* Express checkout: no title or box, just the buttons and a tight "or" rule. */
html body .wc-block-components-express-payment--checkout { margin: 0 0 8px !important; }
html body .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container { display: none !important; }
html body .wc-block-components-express-payment--checkout .wc-block-components-express-payment__content { padding: 0 !important; border: 0 !important; box-shadow: none !important; }
html body .wc-block-components-express-payment-continue-rule--checkout { margin: 12px 0 24px !important; }
/* reCAPTCHA: dark at night (Google only offers light or dark when it loads, so invert it), and no stray line break after it. */
html.ss-dark body .g-recaptcha iframe { filter: invert(1) hue-rotate(180deg); }
html body .g-recaptcha + br { display: none; }
html body .g-recaptcha { margin-bottom: 24px; }
/* Only one shipping option: show it as a plain line, not a radio button. */
html body .ss-one-rate .wc-block-components-radio-control__input { display: none !important; }
html body .ss-one-rate .wc-block-components-radio-control__option { padding-left: 0 !important; padding-right: 0 !important; box-shadow: none !important; border: 0 !important; }
html body .ss-one-rate .wc-block-components-radio-control { border: 0 !important; box-shadow: none !important; }
/* Legal line: small, under Pay now (phones). */
html body .ss-terms-mini { display: none; }
@media (max-width: 781px) {
	html body .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { display: none !important; }
	html body .wc-block-checkout__terms { display: none !important; }
	html body .wc-block-checkout__actions_row { flex-wrap: nowrap !important; } /* the row stacks bottom-up (column-reverse), so order -1 puts the legal line under the button */
	html body .ss-terms-mini { display: block; order: -1; flex: 0 0 auto; width: 100%; margin: 8px 0 0; font-size: 11px; line-height: 1.35; text-align: center; color: #111; -webkit-text-fill-color: #111; }
	html.ss-dark body .ss-terms-mini { color: #f2f2f2; -webkit-text-fill-color: #f2f2f2; }
	html body .ss-terms-mini a { color: inherit !important; -webkit-text-fill-color: currentColor !important; text-decoration: underline; }
	html body.ss-pay-pinned { padding-bottom: 116px; }
	html body .wc-block-checkout__actions_row { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0 !important; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important; background: #fff; border-top: 2px solid #111; }
	html.ss-dark body .wc-block-checkout__actions_row { background: #111; border-top-color: #f2f2f2; }
	html body.ss-pay-pinned { padding-bottom: 96px; }
}
