/* MHA checkout-only white background
   Scope: only /finalizar-compra/ via body.woocommerce-checkout
   Only color and background rules.
*/

html body.woocommerce-checkout {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color-scheme: light !important;
}

/* Main checkout page wrappers only */
html body.woocommerce-checkout #page,
html body.woocommerce-checkout .site,
html body.woocommerce-checkout main,
html body.woocommerce-checkout main.site-main,
html body.woocommerce-checkout #content,
html body.woocommerce-checkout #primary,
html body.woocommerce-checkout .site-main,
html body.woocommerce-checkout .site-main .page-content,
html body.woocommerce-checkout .site-main .entry-content,
html body.woocommerce-checkout .site-main .elementor,
html body.woocommerce-checkout .site-main .elementor-section,
html body.woocommerce-checkout .site-main .elementor-container,
html body.woocommerce-checkout .site-main .elementor-widget-wrap,
html body.woocommerce-checkout .site-main .elementor-widget-container,
html body.woocommerce-checkout .site-main .e-con,
html body.woocommerce-checkout .site-main .e-con-inner,
html body.woocommerce-checkout .site-main .woocommerce,
html body.woocommerce-checkout .site-main .woocommerce-checkout,
html body.woocommerce-checkout .site-main form.checkout {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
}

/* WooCommerce checkout blocks */
html body.woocommerce-checkout .site-main #customer_details,
html body.woocommerce-checkout .site-main .col2-set,
html body.woocommerce-checkout .site-main .woocommerce-billing-fields,
html body.woocommerce-checkout .site-main .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout .site-main .woocommerce-additional-fields,
html body.woocommerce-checkout .site-main .woocommerce-additional-fields__field-wrapper,
html body.woocommerce-checkout .site-main #order_review,
html body.woocommerce-checkout .site-main .woocommerce-checkout-review-order,
html body.woocommerce-checkout .site-main #payment,
html body.woocommerce-checkout .site-main #payment ul.payment_methods,
html body.woocommerce-checkout .site-main #payment .payment_methods,
html body.woocommerce-checkout .site-main #payment .payment_box,
html body.woocommerce-checkout .site-main #payment div.payment_box,
html body.woocommerce-checkout .site-main #payment .place-order {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
}

/* Order table */
html body.woocommerce-checkout .site-main #order_review table,
html body.woocommerce-checkout .site-main #order_review table.shop_table,
html body.woocommerce-checkout .site-main #order_review table.shop_table thead,
html body.woocommerce-checkout .site-main #order_review table.shop_table tbody,
html body.woocommerce-checkout .site-main #order_review table.shop_table tfoot,
html body.woocommerce-checkout .site-main #order_review table.shop_table tr,
html body.woocommerce-checkout .site-main #order_review table.shop_table th,
html body.woocommerce-checkout .site-main #order_review table.shop_table td {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111827 !important;
}

/* Text inside checkout */
html body.woocommerce-checkout .site-main form.checkout,
html body.woocommerce-checkout .site-main form.checkout label,
html body.woocommerce-checkout .site-main form.checkout p,
html body.woocommerce-checkout .site-main form.checkout h1,
html body.woocommerce-checkout .site-main form.checkout h2,
html body.woocommerce-checkout .site-main form.checkout h3,
html body.woocommerce-checkout .site-main form.checkout h4,
html body.woocommerce-checkout .site-main #order_review,
html body.woocommerce-checkout .site-main #order_review table,
html body.woocommerce-checkout .site-main #order_review th,
html body.woocommerce-checkout .site-main #order_review td,
html body.woocommerce-checkout .site-main #payment,
html body.woocommerce-checkout .site-main #payment label,
html body.woocommerce-checkout .site-main #payment p,
html body.woocommerce-checkout .site-main #payment li,
html body.woocommerce-checkout .site-main .woocommerce-terms-and-conditions-wrapper {
	color: #111827 !important;
}

/* Form fields */
html body.woocommerce-checkout .site-main form.checkout input.input-text,
html body.woocommerce-checkout .site-main form.checkout textarea,
html body.woocommerce-checkout .site-main form.checkout select,
html body.woocommerce-checkout .site-main form.checkout .select2-selection {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
	border-color: #d8deea !important;
	color-scheme: light !important;
}

html body.woocommerce-checkout .site-main form.checkout input.input-text::placeholder,
html body.woocommerce-checkout .site-main form.checkout textarea::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #94a3b8 !important;
}

/* Select2 dropdown may render outside form.checkout */
html body.woocommerce-checkout .select2-container--open .select2-dropdown,
html body.woocommerce-checkout .select2-container--open .select2-results,
html body.woocommerce-checkout .select2-container--open .select2-results__options,
html body.woocommerce-checkout .select2-container--open .select2-results__option {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111827 !important;
	border-color: #d8deea !important;
}

/* Keep payment button readable */
html body.woocommerce-checkout .site-main #payment #place_order {
	color: #ffffff !important;
}

/* Do not allow decorative pseudo overlays inside checkout main area */
html body.woocommerce-checkout .site-main::before,
html body.woocommerce-checkout .site-main::after,
html body.woocommerce-checkout .site-main .entry-content::before,
html body.woocommerce-checkout .site-main .entry-content::after,
html body.woocommerce-checkout .site-main .woocommerce::before,
html body.woocommerce-checkout .site-main .woocommerce::after {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
}

/* MHA checkout select dropdown final fix */

html body.woocommerce-checkout form.checkout select,
html body.woocommerce-checkout form.checkout select#billing_country,
html body.woocommerce-checkout form.checkout select#billing_state,
html body.woocommerce-checkout form.checkout select#shipping_country,
html body.woocommerce-checkout form.checkout select#shipping_state {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
	border-color: #d8deea !important;
	color-scheme: light !important;
}

html body.woocommerce-checkout form.checkout select option,
html body.woocommerce-checkout form.checkout select optgroup,
html body.woocommerce-checkout form.checkout select#billing_country option,
html body.woocommerce-checkout form.checkout select#billing_state option,
html body.woocommerce-checkout form.checkout select#shipping_country option,
html body.woocommerce-checkout form.checkout select#shipping_state option {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
	color-scheme: light !important;
}

html body.woocommerce-checkout form.checkout select option:checked,
html body.woocommerce-checkout form.checkout select option:hover,
html body.woocommerce-checkout form.checkout select option:focus {
	background: #eaf2ff !important;
	background-color: #eaf2ff !important;
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
}

/* Select2 fallback, if WooCommerce renders country/state with Select2 */
html body.woocommerce-checkout .select2-container--default .select2-selection--single,
html body.woocommerce-checkout .select2-container--default .select2-selection--multiple {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111827 !important;
	border-color: #d8deea !important;
	color-scheme: light !important;
}

html body.woocommerce-checkout .select2-container--default .select2-selection__rendered,
html body.woocommerce-checkout .select2-container--default .select2-selection__placeholder {
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
}

html body.woocommerce-checkout .select2-container--open .select2-dropdown,
html body.woocommerce-checkout .select2-container--open .select2-results,
html body.woocommerce-checkout .select2-container--open .select2-results__options,
html body.woocommerce-checkout .select2-container--open .select2-results__option,
html body.woocommerce-checkout #select2-billing_country-results,
html body.woocommerce-checkout #select2-billing_state-results,
html body.woocommerce-checkout #select2-shipping_country-results,
html body.woocommerce-checkout #select2-shipping_state-results {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111827 !important;
	border-color: #d8deea !important;
	color-scheme: light !important;
}

html body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
html body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected],
html body.woocommerce-checkout .select2-results__option--highlighted {
	background: #eaf2ff !important;
	background-color: #eaf2ff !important;
	color: #111827 !important;
}

html body.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected="true"],
html body.woocommerce-checkout .select2-container--default .select2-results__option[data-selected="true"] {
	background: #f1f5f9 !important;
	background-color: #f1f5f9 !important;
	color: #111827 !important;
}
