/* Q1. Existing WPCode page-id overrides were designed for light fields/buttons.
 * Scope this compatibility layer to Woo cart/checkout; other pages stay untouched.
 */
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-cart-form, .cart_totals, .wc-block-checkout) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea) {
  color: #f4eee3 !important;
  -webkit-text-fill-color: #f4eee3 !important;
  background-color: #211a27 !important;
  border-color: #a893aa !important;
  caret-color: #f4eee3;
  color-scheme: dark;
  opacity: 1 !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-cart-form, .cart_totals, .wc-block-checkout) :is(input, textarea)::placeholder {
  color: #c7bacb !important;
  -webkit-text-fill-color: #c7bacb !important;
  opacity: 1 !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-cart-form, .cart_totals, .wc-block-checkout) :is(input, select, textarea):is(:autofill, :-webkit-autofill) {
  -webkit-text-fill-color: #f4eee3 !important;
  caret-color: #f4eee3;
  box-shadow: 0 0 0 1000px #211a27 inset !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-cart-form, .cart_totals, .wc-block-checkout) :is(label, .wc-block-components-checkbox__label, .wc-block-components-radio-control__label, .wc-block-components-radio-control__secondary-label, .wc-block-components-radio-control__description, .wc-block-components-radio-control-accordion-content) {
  color: #f4eee3 !important;
  -webkit-text-fill-color: #f4eee3 !important;
}
body.ssw-site.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) {
  background-color: #211a27;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce, .woocommerce-cart-form, .cart_totals, .wc-proceed-to-checkout) :is(button.button, input.button, a.button),
body.ssw-site.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button,
body.ssw-site.woocommerce-checkout .wc-block-checkout .wc-block-components-button:not(.is-link) {
  color: #19131c !important;
  -webkit-text-fill-color: #19131c !important;
  background: #d8b26a !important;
  text-shadow: none !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce, .woocommerce-cart-form, .cart_totals, .wc-proceed-to-checkout) :is(button.button, input.button, a.button):is(:hover, :focus, :visited),
body.ssw-site.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:is(:hover, :focus, :visited),
body.ssw-site.woocommerce-checkout .wc-block-checkout .wc-block-components-button:not(.is-link):is(:hover, :focus, :visited) {
  color: #19131c !important;
  -webkit-text-fill-color: #19131c !important;
  background: #e9c684 !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce, .woocommerce-cart-form, .cart_totals, .wc-proceed-to-checkout) :is(button.button, a.button) :is(span, strong, b),
body.ssw-site.woocommerce-checkout .wc-block-checkout .wc-block-components-button:not(.is-link) :is(span, strong, b) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-error, .woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner) {
  color: #f4eee3 !important;
  -webkit-text-fill-color: #f4eee3 !important;
  background: #211a27 !important;
  border-color: #d8b26a;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-error, .woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner) :is(li, p, span, strong, .wc-block-components-notice-banner__content) {
  color: #f4eee3 !important;
  -webkit-text-fill-color: #f4eee3 !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-error, .wc-block-components-notice-banner.is-error) {
  background: #2d1820 !important;
  border-color: #edb8c7;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-error, .woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner) a,
body.ssw-site.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-button.is-link, .wc-block-components-checkout-return-to-cart-button) {
  color: #ead098 !important;
  -webkit-text-fill-color: #ead098 !important;
  text-decoration: underline;
}
body.ssw-site.woocommerce-cart .woocommerce-cart-form .coupon-error-notice,
body.ssw-site.woocommerce-checkout .wc-block-checkout .wc-block-components-validation-error {
  color: #ffd0dd !important;
  -webkit-text-fill-color: #ffd0dd !important;
}
body.ssw-site:is(.woocommerce-cart, .woocommerce-checkout) :is(.woocommerce, .wc-block-checkout) :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid #f1cc86 !important;
  outline-offset: 3px;
}
body.ssw-site.woocommerce-checkout #postnl_checkout_option .postnl_content :is(label, label span, label i) {
  color: #19131c !important;
  -webkit-text-fill-color: #19131c !important;
}
