/*
 * Goomefy: botones que antes eran negros ahora van en naranja de la marca.
 * Celular (hasta 767px): #FB7701 (mismo naranja de precios y boton principal del celular).
 * Tableta y computador (768px en adelante): #b94a11 (naranja oscuro del escritorio).
 * Solo cambia botones; encabezado, pie de pagina, avisos y etiquetas siguen igual.
 * Para deshacer: borrar este archivo (o el bloque que lo carga en inc/goomefy-app.php).
 */

:root {
	--gx-btn: #FB7701;
	--gx-btn-h: #E06A00;
}
@media (min-width: 768px) {
	:root {
		--gx-btn: #b94a11;
		--gx-btn-h: #993810;
	}
}

/* Botones principales: Ver detalle, Comprar, Agregar al carrito, Pagar, Entrar, Registrarse, Aplicar cupon, Ver todo */
html body .gx-btn-dark,
html body .gx-btn-gold,
html body.gx-site :is(.single_add_to_cart_button,.checkout-button,#place_order,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.wp-block-button__link,.wc-backward),
html body :is(.single_add_to_cart_button,.checkout-button,#place_order),
html body .gxs-all,
html body .gxk-coupon .button,
html body .gx-coupon-apply,
html body.gx-checkout .woocommerce-form-login .button,
html body .gx-ty2-btn.is-dark {
	background: var(--gx-btn) !important;
	background-color: var(--gx-btn) !important;
	border-color: var(--gx-btn) !important;
	color: #fff !important;
}

html body .gx-btn-dark:hover,
html body .gx-btn-gold:hover,
html body.gx-site :is(.single_add_to_cart_button,.checkout-button,#place_order,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.wp-block-button__link,.wc-backward):hover,
html body :is(.single_add_to_cart_button,.checkout-button,#place_order):hover,
html body .gxs-all:hover,
html body .gxk-coupon .button:hover,
html body .gx-coupon-apply:hover,
html body.gx-checkout .woocommerce-form-login .button:hover,
html body .gx-ty2-btn.is-dark:hover {
	background: var(--gx-btn-h) !important;
	background-color: var(--gx-btn-h) !important;
	border-color: var(--gx-btn-h) !important;
	color: #fff !important;
}

/* Boton de la lupa del buscador (celular y computador) */
html body #main-header .gx-search button[type=submit],
html body .gxh-msearch button,
html body #mobile-header .gxh-msearch button,
html body .gx-search button {
	background: var(--gx-btn) !important;
	color: #fff !important;
}
html body #main-header .gx-search button[type=submit]:hover,
html body .gxh-msearch button:hover,
html body .gx-search button:hover {
	background: var(--gx-btn-h) !important;
}

/* Botones que se ponian negros al pasar el mouse */
html body .gxx-add:hover,
html body .gxx-more:hover,
html body .gxp-rev-btn:hover,
html body .gx-arrow:hover,
html body #primary .gx-arrow:hover,
html body ul.products li.product:hover .gxe-personalizar,
html body .gx-products li.product:hover .gxe-personalizar,
html body.gx-site ul.products li.product:hover .product-action-wrap .button {
	background: var(--gx-btn) !important;
	border-color: var(--gx-btn) !important;
	color: #fff !important;
}

/* Icono del boton Personalizar en blanco cuando el boton se pone naranja */
html body.gx-site ul.products li.product:hover .product-action-wrap .gxe-personalizar::before,
html body.gx-site ul.products li.product:hover .product-action-wrap .button::before {
	background: #fff !important;
}

/* Mi cuenta: pestana activa (Resumen, Mis pedidos, Direcciones...) en naranja en vez de negro.
   Tambien quita la franja naranja que Kadence pone a la izquierda y fuerza texto e icono en blanco. */
html body.gx-account .woocommerce-MyAccount-navigation li.is-active a,
html body.gx-account .woocommerce-MyAccount-navigation li.is-active a:hover {
	background: var(--gx-btn) !important;
	color: #fff !important;
	border: 0 !important;
	margin-left: 0 !important;
}
html body.gx-account .woocommerce-MyAccount-navigation li.is-active a::before {
	background: #fff !important;
}
html body.gx-account .account-navigation-wrap li a,
html body.gx-account .account-navigation-wrap li:hover a {
	border-left: 0 !important;
	margin-left: 0 !important;
}

/* Catalogo: categoria seleccionada (Placas para mascotas, Pulseras medicas...) en naranja en vez de negro */
html body .gx-ctlg-nav a.is-active,
html body .gx-ctlg-nav a.is-active:hover {
	background: var(--gx-btn) !important;
	border-color: var(--gx-btn) !important;
	color: #fff !important;
}
html body .gx-ctlg-nav a.is-active span {
	color: #fff !important;
}
html body .gx-ctlg-nav a.is-active small {
	background: rgba(255, 255, 255, .25) !important;
	color: #fff !important;
}
html body .gx-ctlg-nav a:hover {
	border-color: var(--gx-btn) !important;
}