/**
 * Biltmore — button hover contrast fixes.
 *
 * Legacy theme CSS flips many WooCommerce buttons to a white background on hover
 * but leaves white text. Brand gradient buttons are protected here.
 */

:root {
	--biltmore-brand-grad: linear-gradient(135deg, #ff2800 0%, #ff6b35 100%);
	--biltmore-brand-grad-hover: linear-gradient(135deg, #e02400 0%, #ff5520 100%);
}

/* Legacy inverted hover — readable dark text on light background */
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit:hover,
.wpcf7-form .wpcf7-submit:hover,
.comment-respond button#submit:hover,
.autobid-shop-sort-group button.woof_reset_button_2:hover,
.button.woof_reset_search_form:hover,
.woocommerce.single-product div.product form.cart .button:hover,
.wishlist_table tr td.product-name a.button:hover,
.button:hover,
button.button:hover,
input[type="submit"]:hover,
input.button:hover,
a.button:hover {
	color: #0a0b0d !important;
	-webkit-text-fill-color: #0a0b0d !important;
}

/* Brand primary buttons — stay red gradient with white text on hover */
.bsf-clear-all:hover,
.bma-btn--primary:hover,
.bma-btn.bma-btn--primary:hover,
.bma-verification-form__submit:hover,
.bma-bid-lock-card__btn:hover,
.biltmore-my-account .button:not(.show-password-input):hover,
.biltmore-my-account button[type="submit"]:hover,
.biltmore-my-account .woocommerce-Button:hover,
.biltmore-my-account a.button:hover,
.biltmore-my-account input.button:hover,
.biltmore-my-account .woocommerce-form-login__submit:hover,
.biltmore-my-account .woocommerce-form-register__submit:hover,
.biltmore-contact .ct-form-shell .wpcf7-submit:hover,
.biltmore-home-about-poc .hau-stats-action--primary:hover,
.bsa-btn-primary:hover,
body.biltmore-auction-poc .auction_form button.bid_button:hover,
body.biltmore-auction-poc .auction_form button.bid_button.button.alt:hover {
	background: var(--biltmore-brand-grad-hover) !important;
	background-color: transparent !important;
	border-color: transparent !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

/* Bid button keeps dedicated auction-panel styling when present */
body.biltmore-auction-poc .auction_form button.bid_button:hover,
body.biltmore-auction-poc .auction_form button.bid_button.button.alt:hover {
	background: #e02400 !important;
	border-color: #e02400 !important;
}
