/* Checkout contrast repair: classic WooCommerce + WooCommerce Blocks.
   Scoped to checkout; presentation-only, no gateway or cart behavior changes. */
body.woocommerce-checkout .content-section,
body.woocommerce-checkout .prose-woo,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout{
 color:#e9f4fb!important;
}
body.woocommerce-checkout :is(.woocommerce,.wc-block-checkout) :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,p,small,span:not(.screen-reader-text),th,td,dt,dd){
 color:inherit;
}
body.woocommerce-checkout .woocommerce :is(h2,h3,h4,legend),
body.woocommerce-checkout .wc-block-checkout :is(h2,h3,h4,legend){
 color:#fff!important;
}
body.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields,.woocommerce-additional-fields,.woocommerce-checkout-review-order,#order_review,#payment){
 color:#e9f4fb!important;
}
body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-checkout .woocommerce form .form-row .required,
body.woocommerce-checkout .woocommerce :is(.woocommerce-input-wrapper,.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper),
body.woocommerce-checkout .woocommerce :is(.order-total,.cart-subtotal,.product-name,.product-total),
body.woocommerce-checkout .woocommerce :is(.woocommerce-checkout-review-order-table,.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td),
body.woocommerce-checkout .woocommerce #payment :is(label,li,p,small,span,strong),
body.woocommerce-checkout .woocommerce #payment .payment_box p{
 color:#eaf5fc!important;
}
body.woocommerce-checkout .woocommerce :is(#order_review,.woocommerce-checkout-review-order),
body.woocommerce-checkout .woocommerce #payment{
 background:#11283a!important;border:1px solid #35566d!important;color:#eaf5fc!important;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods,
body.woocommerce-checkout .woocommerce #payment .payment_box{
 background:#203b50!important;color:#ecf7ff!important;
}
body.woocommerce-checkout .woocommerce #payment .payment_box:before{
 border-bottom-color:#203b50!important;
}
/* Classic checkout: the site's custom inputs have dark backgrounds.
   Explicit light text and placeholders avoid unreadable WebKit text-fill rules. */
body.woocommerce-checkout .woocommerce :is(input.input-text,input[type="text"],input[type="email"],input[type="tel"],input[type="number"],textarea,select),
body.woocommerce-checkout .woocommerce .select2-container .select2-selection--single,
body.woocommerce-checkout .woocommerce .select2-container .select2-selection__rendered,
body.woocommerce-checkout .wc-block-checkout :is(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],textarea,select){
 background:#071b2c!important;color:#f4fbff!important;border:1px solid #577d91!important;
 opacity:1!important;-webkit-text-fill-color:#f4fbff!important;
}
body.woocommerce-checkout .woocommerce input::placeholder,
body.woocommerce-checkout .woocommerce textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout input::placeholder{
 color:#adcadb!important;opacity:1!important;-webkit-text-fill-color:#adcadb!important;
}
body.woocommerce-checkout .woocommerce form.checkout :is(#customer_details,.col-1,.col-2) :is(input,textarea,select),
body.woocommerce-checkout .woocommerce form.checkout :is(input[id^="billing_"],input[name^="billing_"],select[id^="billing_"],select[name^="billing_"]),
body.woocommerce-checkout .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{
 background-color:#071b2c!important;color:#f4fbff!important;-webkit-text-fill-color:#f4fbff!important;
}
body.woocommerce-checkout .woocommerce form.checkout :is(#customer_details,.col-1,.col-2) input::placeholder,
body.woocommerce-checkout .woocommerce form.checkout input[id^="billing_"]::placeholder,
body.woocommerce-checkout .woocommerce form.checkout input[name^="billing_"]::placeholder{
 color:#adcadb!important;-webkit-text-fill-color:#adcadb!important;opacity:1!important;
}
body.woocommerce-checkout .woocommerce form.checkout :is(input,textarea,select):focus{
 color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#56eadd!important;
}
body.woocommerce-checkout input:-webkit-autofill,
body.woocommerce-checkout input:-webkit-autofill:hover,
body.woocommerce-checkout input:-webkit-autofill:focus{
 -webkit-text-fill-color:#f4fbff!important;
 -webkit-box-shadow:0 0 0 1000px #071b2c inset!important;
 box-shadow:0 0 0 1000px #071b2c inset!important;
 caret-color:#f4fbff!important;
}
body.woocommerce-checkout .woocommerce select option,
body.woocommerce-checkout .woocommerce .select2-results__option{
 background:#071b2c!important;color:#f4fbff!important;
}
body.woocommerce-checkout .woocommerce :is(input,textarea,select):focus-visible,
body.woocommerce-checkout .wc-block-checkout :is(input,textarea,select):focus-visible{
 outline:3px solid #5de9dc!important;outline-offset:1px!important;
}
body.woocommerce-checkout .woocommerce :is(.select2-results__option,.select2-dropdown){
 background:#fff;color:#102539;
}
body.woocommerce-checkout .woocommerce :is(a:not(.button),.woocommerce-privacy-policy-link){
 color:#7cefe3!important;text-decoration:underline;text-underline-offset:3px;
}
body.woocommerce-checkout .woocommerce :is(.woocommerce-info,.woocommerce-message){
 background:#17384b!important;color:#edfaff!important;border-color:#468a94!important;
}
body.woocommerce-checkout .woocommerce .woocommerce-error{
 color:#802424!important;background:#fff2f2!important;
}
body.woocommerce-checkout .woocommerce #place_order,
body.woocommerce-checkout .woocommerce .button.alt{
 background:#5de8d8!important;color:#062d37!important;border-color:#5de8d8!important;
 -webkit-text-fill-color:#062d37!important;
}
/* React/Woo Blocks checkout fields and totals */
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-text-input label,.wc-block-components-checkbox__label,.wc-block-components-radio-control__label,.wc-block-components-formatted-money-amount,.wc-block-components-order-summary-item__description,.wc-block-components-totals-item__label,.wc-block-components-totals-item__value,.wc-block-components-panel__button,.wc-block-components-title,.wc-block-components-address-form__address_2-toggle){
 color:#eaf5fc!important;
}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-text-input,.wc-block-components-combobox,.wc-block-components-order-summary,.wc-block-components-totals-wrapper,.wc-block-components-radio-control-accordion-option){
 border-color:#45677b!important;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active label,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox label{
 color:#142e43!important;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button{
 background:#5de8d8!important;color:#062d37!important;
}
@media(max-width:700px){
 body.woocommerce-checkout .woocommerce :is(#order_review,.woocommerce-checkout-review-order,#payment){padding:16px!important}
 body.woocommerce-checkout .woocommerce table.shop_table th,
 body.woocommerce-checkout .woocommerce table.shop_table td{font-size:.9rem;overflow-wrap:anywhere}
}
