/* Checkout sin distracciones.
 *
 * En el paso de pago la cabecera mantenia el menu completo y la barra de
 * envio gratis reaparecia despues de haber cobrado ya el envio. Ambas cosas
 * son vias de escape justo antes de pagar. Dejamos solo el logo.
 */
body.woocommerce-checkout:not(.woocommerce-order-received) .elementor-location-header nav.elementor-nav-menu--main,
body.woocommerce-checkout:not(.woocommerce-order-received) .elementor-location-header .elementor-widget-nav-menu,
body.woocommerce-checkout .wpcfb-wrap {
	display: none !important;
}

/* Cupon siempre visible.
 *
 * CheckoutWC esconde el campo de descuento detras de un enlace que despliega un
 * contenedor con height:0. Lo dejamos abierto de serie, como en la referencia:
 * campo y boton Aplicar a la vista sin tener que buscarlos.
 */
.cfw-coupon-wrap .cfw-show-coupons-module {
	display: none !important;
}

.cfw-coupon-wrap .slide-toggle > div:not(.row) {
	height: auto !important;
}

/* CheckoutWC mete cada campo en su propia fila, asi que las mitades y los
 * tercios nunca se emparejan. Neutralizamos esas filas para que todos los
 * campos compartan una sola cuadricula.
 */
[class*="cfw-"][class*="address-container"] {
	display: flex !important;
	flex-wrap: wrap !important;
}

[class*="cfw-"][class*="address-container"] > .cfw-input-wrap-row {
	display: contents !important;
}

/* Cuadricula de la direccion, replicando la referencia:
 * pais a todo el ancho, nombre y apellidos a mitades, y codigo postal, ciudad
 * y provincia en tres columnas. Se fija por campo en lugar de por las clases
 * de CheckoutWC, que empaqueta las filas por su cuenta.
 */
#shipping_country_field, #billing_country_field,
#shipping_company_field, #billing_company_field,
#shipping_address_1_field, #billing_address_1_field,
#shipping_address_2_field, #billing_address_2_field,
#shipping_phone_field, #billing_phone_field {
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

#shipping_first_name_field, #billing_first_name_field,
#shipping_last_name_field, #billing_last_name_field {
	flex: 0 0 50% !important;
	max-width: 50% !important;
}

#shipping_postcode_field, #billing_postcode_field,
#shipping_city_field, #billing_city_field,
#shipping_state_field, #billing_state_field {
	flex: 0 0 33.333% !important;
	max-width: 33.333% !important;
}

@media (max-width: 767px) {
	#shipping_first_name_field, #billing_first_name_field,
	#shipping_last_name_field, #billing_last_name_field,
	#shipping_postcode_field, #billing_postcode_field,
	#shipping_city_field, #billing_city_field,
	#shipping_state_field, #billing_state_field {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

/* El campo de cupon no debe desbordar su columna */
.cfw-coupon-wrap .cfw-promo-row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Formulario mas compacto.
 *
 * Los campos venian con 47px de alto y casi 13px de separacion entre filas, lo
 * que hacia el formulario muy largo. Bajamos a 42px y 6px sin tocar el espacio
 * que necesita la etiqueta flotante.
 */
[class*="cfw-"][class*="address-container"] .form-row {
	margin-bottom: 6px;
}

[class*="cfw-"][class*="address-container"] input.input-text,
[class*="cfw-"][class*="address-container"] select {
	padding-top: 11px;
	padding-bottom: 11px;
}

.cfw-customer-info-address-container ~ h2,
.cfw-module-heading,
.cfw-checkout h2 {
	font-size: 20px;
}

/* Colores de marca en el checkout.
 *
 * Azul #1f458c (cabecera, titulos y boton de comprar de la tienda), botones en
 * pildora como en el resto del sitio, y la tipografia brother-1816, que ya se
 * carga en esta pagina.
 */
body.woocommerce-checkout {
	--mc-azul: #1f458c;
}

body.woocommerce-checkout,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout label,
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout button {
	font-family: brother-1816, Helvetica, Arial, sans-serif;
}

body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout a {
	color: var(--mc-azul);
}

body.woocommerce-checkout button[type="submit"],
body.woocommerce-checkout #place_order,
body.woocommerce-checkout .cfw-next-tab {
	background-color: var(--mc-azul) !important;
	border-color: var(--mc-azul) !important;
	color: #fff !important;
	border-radius: 20px !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout select:focus {
	border-color: var(--mc-azul) !important;
	box-shadow: 0 0 0 1px var(--mc-azul) !important;
}

/* Burbuja de cantidad de cada producto, en azul de marca. */
body.woocommerce-checkout .cfw-cart-item-quantity-bubble {
	background-color: var(--mc-azul) !important;
	color: #fff !important;
}

/* === Carrito: franja de envio arriba y boton de finalizar grande === */
.mc-envio-gratis { margin: 0 0 24px; }
.mc-envio-gratis .wpcfb-wrap { margin: 0 !important; }
body.woocommerce-cart .wc-proceed-to-checkout { padding: 0 !important; }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: block !important;
	width: 100% !important;
	padding: 20px 24px !important;
	margin: 6px 0 0 !important;
	background: #1f458c !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 14px !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	letter-spacing: .3px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(31,69,140,.28) !important;
	transition: background .15s ease;
}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: #17356c !important; }
@media (max-width: 767px) {
	body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { padding: 17px 20px !important; font-size: 17px !important; }
}

/* === Recomendados del carrito === */
.mc-recomendados { margin: 44px 0 8px; }
.mc-recomendados-titulo {
	position: relative;
	padding-left: 16px;
	margin: 0 0 22px;
	font-size: 24px;
	font-weight: 700;
	color: #1f458c;
}
.mc-recomendados-titulo::before {
	content: "";
	position: absolute; left: 0; top: 50%;
	transform: translateY(-50%);
	width: 6px; height: 1.1em;
	background: #1f458c; border-radius: 3px;
}
.mc-recomendados-rejilla {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px;
}
.mc-reco {
	display: flex; flex-direction: column; gap: 9px;
	background: #ffffff;
	border: 1px solid #dde4f2;
	border-radius: 14px;
	padding: 14px;
	text-align: center;
}
.mc-reco-foto { display: block; }
.mc-reco-foto img { width: 100%; height: 150px; object-fit: contain; display: block; }
.mc-reco-nombre {
	font-size: 14px; font-weight: 600; line-height: 1.35;
	color: #1f458c !important; text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mc-reco-precio { font-size: 15px; font-weight: 700; color: #111a2e; }
.mc-reco-precio del { opacity: .55; font-weight: 400; margin-right: 5px; }
.mc-reco-precio .screen-reader-text { display: none !important; }
.mc-reco-boton {
	margin-top: auto;
	display: block;
	padding: 10px 12px;
	background: #1f458c;
	color: #ffffff !important;
	border-radius: 10px;
	font-size: 14px; font-weight: 600;
	text-decoration: none;
}
.mc-reco-boton:hover { background: #17356c; }
@media (max-width: 600px) {
	.mc-recomendados-rejilla { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.mc-reco-foto img { height: 110px; }
}

/* === Carrito lateral: envio gratis arriba y comprar como accion principal === */
.woofc-area-bot { display: flex; flex-direction: column; }
.woofc-area-bot > .woofc-free-shipping-bar { order: 1; margin-bottom: 6px; }
.woofc-area-bot > .woofc-link { order: 2; }
.woofc-area-bot > .woofc-subtotal { order: 3; }
.woofc-area-bot > .woofc-action { order: 4; }
.woofc-area-bot > .woofc-suggested { order: 5; }
.woofc-area-bot > .woofc-continue { order: 6; }

body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action, body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 9px !important; }
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-checkout, body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-checkout {
	order: 1;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	padding: 17px 20px !important;
	background: #1f458c !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: .3px;
	text-align: center;
	box-shadow: 0 5px 16px rgba(31,69,140,.28) !important;
}
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-checkout, body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-checkout:hover { background: #17356c !important; }
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-cart, body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-cart {
	order: 2;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	padding: 11px 16px !important;
	background: transparent !important;
	color: #1f458c !important;
	border: 1px solid #c9d4ea !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-align: center;
}
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-cart, body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-bot .woofc-action a.woofc-action-cart:hover { background: #f3f6fc !important; }

/* Los botones del carrito lateral van en dos envoltorios intermedios */
body .woofc-area .woofc-area-bot .woofc-action .woofc-action-inner {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 9px !important;
	width: 100% !important;
}
body .woofc-area .woofc-area-bot .woofc-action .woofc-action-right {
	order: 1 !important;
	width: 100% !important;
	margin: 0 !important;
}
body .woofc-area .woofc-area-bot .woofc-action .woofc-action-left {
	order: 2 !important;
	width: 100% !important;
	margin: 0 !important;
}

/* === mc-lateral-v2: carrito lateral al estilo Cardzone === */
/* 2 y 5: fuera 'seguir viendo' y 'vaciar carrito' */
body .woofc-area .woofc-continue,
body .woofc-area .woofc-area-bot .woofc-link { display: none !important; }

/* 4: envio gratis en mayuscula y negrita */
body .woofc-area .wpcfb-title {
	text-transform: uppercase !important;
	font-weight: 800 !important;
	letter-spacing: .4px;
	font-size: 13px !important;
	color: #1f458c !important;
}
body .woofc-area .wpcfb-message { font-size: 13px !important; }

/* 3: botones de cantidad redondeados */
body .woofc-area .woofc-item-qty-inner {
	display: flex !important;
	align-items: center;
	gap: 4px;
	background: transparent !important;
}
body .woofc-area .woofc-item-qty-minus,
body .woofc-area .woofc-item-qty-plus {
	width: 30px !important;
	height: 30px !important;
	border-radius: 50% !important;
	background: #eef2f9 !important;
	color: #1f458c !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	transition: background .15s ease;
}
body .woofc-area .woofc-item-qty-minus:hover,
body .woofc-area .woofc-item-qty-plus:hover { background: #dde5f4 !important; }
body .woofc-area .woofc-item-qty-inner .quantity { border-radius: 8px !important; }

/* 6: la ficha del producto, al estilo Cardzone */
body .woofc-area .woofc-area-mid { padding-top: 6px !important; }
body .woofc-area .woofc-item { padding: 0 !important; border: 0 !important; }
body .woofc-area .woofc-item + .woofc-item { margin-top: 22px !important; }
body .woofc-area .woofc-item-inner {
	display: flex !important;
	align-items: center !important;
	column-gap: 18px !important;
}
body .woofc-area .woofc-item-thumb {
	width: 74px !important;
	height: 74px !important;
	flex: 0 0 74px !important;
	border-radius: 16px !important;
	background: #f2f5fb !important;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
body .woofc-area .woofc-item-thumb img {
	width: 100% !important; height: 100% !important;
	object-fit: contain !important; padding: 7px;
}
body .woofc-area .woofc-item-info { flex: 1 1 auto; min-width: 0; }
body .woofc-area .woofc-item-title {
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.32 !important;
	margin-bottom: 4px !important;
}
body .woofc-area .woofc-item-price { font-size: 14px !important; color: #4a5673 !important; }

/* === mc-envio-banda: la franja de envio, integrada de verdad === */
body .woofc-area .woofc-inner > .woofc-free-shipping-bar {
	background: #f4f7fc !important;
	border-bottom: 1px solid #e3e9f4 !important;
	padding: 15px 22px 16px !important;
	margin: 0 !important;
}
body .woofc-area .woofc-free-shipping-bar .wpcfb-wrap {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}
body .woofc-area .woofc-free-shipping-bar .wpcfb-title {
	margin: 0 0 9px !important;
	line-height: 1.35 !important;
}
body .woofc-area .woofc-free-shipping-bar .wpcfb-progress-bar {
	height: 8px !important;
	margin: 0 !important;
	border-radius: 999px !important;
	background: #dde4f2 !important;
	overflow: hidden !important;
}
body .woofc-area .woofc-free-shipping-bar .wpcfb-progress-bar > * {
	border-radius: 999px !important;
	background-color: #1f458c !important;
}
body .woofc-area .woofc-free-shipping-bar .wpcfb-message {
	margin: 9px 0 0 !important;
	font-size: 15.5px !important;
	line-height: 1.4 !important;
	color: #4a5673 !important;
}
body .woofc-area .woofc-area-mid { padding-top: 16px !important; }

/* === mc-lateral-v3 === */
/* 1: la barra de envio, con movimiento */
body .woofc-area .wpcfb-progress-bar .wpcfb-progress-amount {
	background-color: #1f458c !important;
	background-image: none !important;
	background-size: 22.7px 22.7px !important;
	animation: mc-avanza 0.9s linear infinite;
	transition: width .7s cubic-bezier(.4,0,.2,1) !important;
}
@keyframes mc-avanza { from { background-position: 0 0; } to { background-position: 22.7px 0; } }
@media (prefers-reduced-motion: reduce) { body .woofc-area .wpcfb-progress-amount { animation: none !important; } }

/* 2: la fila del producto no se mueve al pasar el raton */
body .woofc-area .woofc-area-mid .woofc-item.woofc-item-has-remove:hover .woofc-item-inner { transform: none !important; }
body .woofc-area .woofc-item-inner { position: relative; padding-right: 28px !important; }
body .woofc-area .woofc-item .woofc-item-inner .woofc-item-remove {
	right: 0 !important;
	transform: translate3d(0, -50%, 0) !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease;
}
body .woofc-area .woofc-item:hover .woofc-item-inner .woofc-item-remove {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translate3d(0, -50%, 0) !important;
}
body .woofc-area .woofc-item-thumb {
	width: 86px !important; height: 86px !important; flex: 0 0 86px !important;
}
body .woofc-area .woofc-item-title {
	font-size: 14px !important;
	line-height: 1.3 !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin-bottom: 6px !important;
}
body .woofc-area .woofc-item-price {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #111a2e !important;
}

/* 3: cantidad en una sola pastilla */
body .woofc-area .woofc-item-qty-inner {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0 !important;
	border: 1px solid #dde4f2 !important;
	border-radius: 999px !important;
	overflow: hidden !important;
	background: #ffffff !important;
}
body .woofc-area .woofc-item-qty-minus,
body .woofc-area .woofc-item-qty-plus {
	width: 30px !important; height: 32px !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #1f458c !important;
}
body .woofc-area .woofc-item-qty-minus:hover,
body .woofc-area .woofc-item-qty-plus:hover { background: #eef2f9 !important; }
body .woofc-area .woofc-item-qty-inner .quantity {
	width: 28px !important; height: 32px !important;
	background: transparent !important; border-radius: 0 !important;
}

/* 4: el precio dentro del boton, y fuera la linea de total */
body .woofc-area .woofc-area-bot .woofc-subtotal { display: none !important; }
body .woofc-area .mc-precio-boton { display: inline-flex; align-items: center; }
body .woofc-area .mc-precio-boton::before {
	content: "";
	display: inline-block;
	width: 4px; height: 4px; border-radius: 50%;
	background: currentColor; opacity: .7;
	margin: 0 14px;
}

/* === mc-lateral-v4 === */
/* 1: sin recuadro en la imagen, con margen a la izquierda, y precio mas grande */
body .woofc-area .woofc-item-thumb {
	background: transparent !important;
	border-radius: 0 !important;
	margin-left: 8px !important;
}
body .woofc-area .woofc-item-thumb img { padding: 0 !important; }
body .woofc-area .woofc-item-inner { column-gap: 16px !important; }
body .woofc-area .woofc-item-price {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #111a2e !important;
}
body .woofc-area .woofc-item-price del { font-weight: 400 !important; opacity: .5; font-size: 15px !important; }

/* 2: el numero de cantidad, sin fondo gris */
body .woofc-area .woofc-item-qty-inner .quantity,
body .woofc-area .woofc-item-qty-inner .quantity input,
body .woofc-area .woofc-item-qty-inner input.qty {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #111a2e !important;
	font-weight: 700 !important;
}

/* 3: 'COMPRAR' y el precio, exactamente el mismo tratamiento */
body .woofc-area .mc-precio-boton {
	font-size: inherit !important;
	font-weight: inherit !important;
	font-family: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}
body .woofc-area .woofc-action-checkout {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* === mc-lateral-v5 === */
/* 1: sin la capa de 'cargando' que tapa el panel entero */
body .woofc-area .woofc-inner.woofc-inner-loading::before,
body .woofc-area .woofc-inner.woofc-inner-loading::after,
body .woofc-area.woofc-style-02 .woofc-inner.woofc-inner-loading::before,
body .woofc-area.woofc-style-02 .woofc-inner.woofc-inner-loading::after {
	display: none !important;
	content: none !important;
	opacity: 0 !important;
}
/* senal discreta: solo la pastilla de cantidad se atenua mientras actualiza */
body .woofc-area .woofc-inner.woofc-inner-loading .woofc-item-qty-inner {
	opacity: .45 !important;
	transition: opacity .12s ease;
}

/* 2: mas margen a la izquierda */
body .woofc-area .woofc-area-mid { padding-left: 12px !important; }
body .woofc-area .woofc-item-thumb { margin-left: 10px !important; }

/* 3: el precio, mas grande todavia */
body .woofc-area .woofc-item-info .woofc-item-price,
body .woofc-area .woofc-item .woofc-item-price {
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #111a2e !important;
}
body .woofc-area .woofc-item-price del { font-size: 16px !important; }

/* === mc-precio-real: el importe vive dentro de .woocommerce-Price-amount === */
body .woofc-area .woofc-item-price,
body .woofc-area .woofc-item-price bdi,
body .woofc-area .woofc-item-price .woocommerce-Price-amount,
body .woofc-area .woofc-item-price .woocommerce-Price-currencySymbol,
body .woofc-area .woofc-item-price span,
body .woofc-area .woofc-item-price ins {
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #111a2e !important;
	text-decoration: none !important;
}
body .woofc-area .woofc-item-price del,
body .woofc-area .woofc-item-price del bdi,
body .woofc-area .woofc-item-price del span {
	font-size: 15px !important;
	font-weight: 400 !important;
	color: #7b869e !important;
	text-decoration: line-through !important;
}

/* === mc-precio-gana: supera la regla de 12px !important del plugin === */
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price bdi,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price bdi,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price ins,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price ins,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price span,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price span,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-amount,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-amount,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-currencySymbol,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-currencySymbol {
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #111a2e !important;
}
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del bdi,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del span,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del bdi,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price del span {
	font-size: 15px !important;
	font-weight: 400 !important;
	color: #7b869e !important;
}

/* === mc-lateral-v6: ajuste fino === */
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price bdi,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price bdi,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price ins,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price ins,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price span,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price span,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-amount,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-amount,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-currencySymbol,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-price .woocommerce-Price-currencySymbol {
	font-size: 18px !important;
	font-weight: 800 !important;
}
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-title,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-title,
body .woofc-area.woofc-style-02.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-title a,
body .woofc-area.woofc-style-01.woofc-slide-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-info .woofc-item-title a {
	font-size: 14.2px !important;
	font-weight: 700 !important;
	line-height: 1.32 !important;
}

/* mas margen a la izquierda */
body .woofc-area .woofc-area-mid { padding-left: 20px !important; }
body .woofc-area .woofc-item-thumb { margin-left: 0 !important; }

/* pequena animacion al pasar el cursor por el articulo */
body .woofc-area .woofc-item {
	border-radius: 14px;
	transition: background-color .18s ease;
}
body .woofc-area .woofc-item:hover { background-color: #f5f8fd !important; }
body .woofc-area .woofc-item .woofc-item-thumb img {
	transition: transform .25s cubic-bezier(.34,1.3,.64,1);
}
body .woofc-area .woofc-item:hover .woofc-item-thumb img { transform: scale(1.07); }
body .woofc-area .woofc-item:hover .woofc-item-title { color: #1f458c !important; }
@media (prefers-reduced-motion: reduce) {
	body .woofc-area .woofc-item .woofc-item-thumb img { transition: none !important; }
	body .woofc-area .woofc-item:hover .woofc-item-thumb img { transform: none !important; }
}

/* === Barra de desplazamiento del carrito lateral, invisible === */
body .woofc-area .woofc-area-mid {
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}
body .woofc-area .woofc-area-mid::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }

/* === Aviso de producto anadido, arriba a la derecha === */
.mc-avisos {
	position: fixed;
	top: 108px;
	right: 22px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	pointer-events: none;
}
.mc-aviso {
	pointer-events: auto;
	width: 330px;
	max-width: calc(100vw - 32px);
	background: #ffffff;
	border: 1px solid #e3e9f4;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(17,26,46,.16);
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	opacity: 0;
	transform: translateX(18px);
	transition: opacity .22s ease, transform .22s cubic-bezier(.34,1.2,.64,1);
}
.mc-aviso.mc-visible { opacity: 1; transform: translateX(0); }
.mc-aviso-cab {
	display: flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 800; letter-spacing: .3px;
	text-transform: uppercase; color: #1a7a4c;
}
.mc-aviso-tic {
	width: 18px; height: 18px; border-radius: 50%;
	background: #1a7a4c; color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 700;
}
.mc-aviso-cuerpo { display: flex; align-items: center; gap: 12px; }
.mc-aviso-cuerpo img { width: 46px; height: 46px; object-fit: contain; flex: 0 0 46px; }
.mc-aviso-nombre {
	font-size: 13.5px; font-weight: 600; line-height: 1.32; color: #111a2e;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mc-aviso-ver {
	display: block; width: 100%;
	padding: 10px 14px;
	border: 0; border-radius: 10px;
	background: #1f458c; color: #fff;
	font-size: 14px; font-weight: 700; cursor: pointer;
}
.mc-aviso-ver:hover { background: #17356c; }
@media (max-width: 767px) { .mc-avisos { top: 96px; right: 12px; left: 12px; align-items: stretch; } .mc-aviso { width: auto; } }
@media (prefers-reduced-motion: reduce) { .mc-aviso { transition: opacity .2s ease; transform: none; } }

/* Acciones del aviso, como en la referencia */
.mc-aviso-acciones { display: flex; gap: 8px; }
.mc-aviso-acciones button { flex: 1 1 0; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.mc-aviso-ver { background: #1f458c; color: #fff; border: 0; }
.mc-aviso-ver:hover { background: #17356c; }
.mc-aviso-seguir { background: #fff; color: #1f458c; border: 1px solid #c9d4ea; }
.mc-aviso-seguir:hover { background: #f3f6fc; }

/* Especificidad frente al kit de Elementor */
body .mc-aviso .mc-aviso-acciones button.mc-aviso-ver { background-color: #1f458c; background-image: none; color: #fff; border: 0; font-family: inherit; }
body .mc-aviso .mc-aviso-acciones button.mc-aviso-ver:hover { background-color: #17356c; color: #fff; }
body .mc-aviso .mc-aviso-acciones button.mc-aviso-seguir { background-color: #fff; background-image: none; color: #1f458c; border: 1px solid #c9d4ea; font-family: inherit; }
body .mc-aviso .mc-aviso-acciones button.mc-aviso-seguir:hover { background-color: #f3f6fc; color: #1f458c; }

/* Aviso: aparicion mas rapida, frase y selector de cantidad */
.mc-aviso { transition: opacity .16s ease, transform .16s ease; }
.mc-aviso-cab.mc-aviso-frase { text-transform: none; letter-spacing: 0; font-size: 14.5px; color: #111a2e; }
.mc-aviso-cant { display: none; align-items: center; justify-content: space-between; gap: 10px; }
.mc-aviso-cant.mc-visible { display: flex; }
.mc-cant-eti { font-size: 12.5px; font-weight: 600; color: #5b6780; }
.mc-cant-caja { display: inline-flex; align-items: center; border: 1px solid #dfe5f0; border-radius: 999px; overflow: hidden; background: #fff; }
body .mc-aviso .mc-cant-caja button { width: 30px; height: 30px; padding: 0; border: 0; background-color: transparent; background-image: none; color: #1f458c; font-size: 15px; font-weight: 800; line-height: 1; cursor: pointer; border-radius: 0; font-family: inherit; }
body .mc-aviso .mc-cant-caja button:hover { background-color: #eef2fa; color: #1f458c; }
.mc-cant-num { min-width: 26px; text-align: center; font-size: 13.5px; font-weight: 800; color: #111a2e; }
/* Aspa de eliminar, junto al - 1 + */
body .woofc-area .woofc-item .woofc-item-remove { position: static !important; transform: none !important; display: flex !important; align-items: center; margin-left: 12px; opacity: 1 !important; visibility: visible !important; }
body .woofc-area .woofc-item .woofc-item-remove i { color: #c2c9d6; font-size: 15px; transition: color .15s ease, transform .15s ease; }
body .woofc-area .woofc-item .woofc-item-remove:hover i { color: #c0392b; transform: scale(1.18); }
body .woofc-area .woofc-item [class*=hint--]:before, body .woofc-area .woofc-item [class*=hint--]:after { display: none !important; content: none !important; }

/* Nombre y precio dentro del aviso */
.mc-aviso-texto { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-aviso-precio { font-size: 14px; font-weight: 800; color: #1f458c; line-height: 1.1; }

/* mc-cant-caja, estilo todohits: recuadro con celdas */
.mc-aviso-cant { justify-content: space-between; }
.mc-cant-eti { font-size: 13px; font-weight: 600; color: #4a5468; }
.mc-cant-caja { align-items: stretch; border: 1px solid #dfe5f0; border-radius: 10px; overflow: hidden; }
body .mc-aviso .mc-cant-caja button { width: 34px; height: 36px; font-size: 17px; font-weight: 600; color: #35405a; }
body .mc-aviso .mc-cant-caja button:hover { background-color: #f2f5fb; color: #1f458c; }
.mc-cant-num { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 36px; border-left: 1px solid #dfe5f0; border-right: 1px solid #dfe5f0; font-size: 14px; font-weight: 700; color: #111a2e; }

/* imagen mas grande en el aviso */
body .mc-aviso .mc-aviso-cuerpo img { width: 62px; height: 62px; flex: 0 0 62px; object-fit: contain; }
body .mc-aviso .mc-aviso-cuerpo { gap: 14px; align-items: center; }

/* aviso por encima del panel del carrito y del desplegable del buscador
   (que se coloca a 999999999), y a su izquierda cuando el carrito esta abierto */
.mc-avisos { z-index: 1000000001 !important; }
body.woofc-show .mc-avisos { right: 496px; }
@media (max-width: 900px) { body.woofc-show .mc-avisos { right: 16px; } }

/* barra de scroll propia del plugin (perfect-scrollbar) oculta */
body .woofc-area .ps-scrollbar-y-rail, body .woofc-area .ps-scrollbar-y, body .woofc-area .ps-scrollbar-x-rail, body .woofc-area .ps-scrollbar-x { display: none !important; width: 0 !important; opacity: 0 !important; }

/* aspa alineada con el - 1 + */
body .woofc-area .woofc-item .woofc-item-remove { align-self: center !important; height: 34px !important; margin: 0 0 0 12px !important; justify-content: center; }

/* aspa: sin desplazamiento vertical heredado de la regla antigua */
body .woofc-area .woofc-item .woofc-item-inner .woofc-item-remove { transform: none !important; align-self: center !important; position: static !important; height: 34px !important; margin: 0 0 0 12px !important; display: flex !important; align-items: center; justify-content: center; opacity: 1 !important; visibility: visible !important; right: auto !important; top: auto !important; }

/* aspa quieta al pasar el raton: solo cambia de color */
body .woofc-area .woofc-item .woofc-item-inner .woofc-item-remove i { color: #c2c9d6 !important; transition: color .2s ease; }
body .woofc-area .woofc-item:hover .woofc-item-inner .woofc-item-remove i { color: #c2c9d6 !important; }
body .woofc-area .woofc-item .woofc-item-inner .woofc-item-remove:hover i { color: #0d1220 !important; transform: none !important; }
body .woofc-area .woofc-item:hover .woofc-item-inner .woofc-item-remove { transform: none !important; transition: transform .5s; }

/* barra de envio gratis: rayas en movimiento y mensaje unico */
body .woofc-area .wpcfb-title { display: none !important; }
body .woofc-area .wpcfb-progress-amount { background-image: linear-gradient(45deg, rgba(255,255,255,.24) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.24) 50%, rgba(255,255,255,.24) 75%, transparent 75%, transparent) !important; background-size: 26px 26px !important; animation: mc-rayas .9s linear infinite !important; }
@keyframes mc-rayas { from { background-position: 0 0; } to { background-position: 26px 0; } }
body .woofc-area .wpcfb-message { font-size: 13.5px; font-weight: 600; color: #24304a; }
body .woofc-area .wpcfb-message b { color: #1f458c; font-weight: 800; }

/* aspa fija ganando al plugin en especificidad */
body .woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-remove { transform: none !important; transition: transform .5s ease, color .2s ease !important; }
body .woofc-area.woofc-style-02 .woofc-area-mid .woofc-item:hover .woofc-item-inner .woofc-item-remove { transform: none !important; }
body .woofc-area.woofc-style-02 .woofc-area-mid .woofc-item:hover .woofc-item-inner .woofc-item-remove i { color: #c2c9d6 !important; }
body .woofc-area.woofc-style-02 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-remove:hover i { color: #0d1220 !important; }

/* barra de envio: mensaje arriba, barra debajo */
body .woofc-area .wpcfb-wrap { display: flex; flex-direction: column; gap: 7px; }
body .woofc-area .wpcfb-message { order: 1; font-size: 14px; }
body .woofc-area .wpcfb-progress-bar { order: 2; }

/* envio conseguido en verde */
body .woofc-area .wpcfb-message[data-mc="ok"] { color: #1a7a4c; font-weight: 800; }
body .woofc-area .wpcfb-message[data-mc="ok"]:before { content: '\2713'; display: inline-block; margin-right: 6px; font-weight: 900; }

/* seccion de cantidad separada dentro del aviso */
.mc-aviso-texto { gap: 5px; }
.mc-aviso-precio { font-size: 15.5px; }
.mc-aviso-cant { background: #f4f6fb; border: 1px solid #e7ecf5; border-radius: 12px; padding: 9px 11px; margin-top: 2px; }
.mc-cant-eti { font-size: 13px; }

/* cantidad editable dentro del aviso */
body .mc-aviso .mc-cant-caja input.mc-cant-num { width: 46px; min-width: 46px; height: 36px; padding: 0; margin: 0; border: 0; border-left: 1px solid #dfe5f0; border-right: 1px solid #dfe5f0; border-radius: 0; background: #fff; color: #111a2e; font-size: 14px; font-weight: 700; font-family: inherit; text-align: center; box-shadow: none; -moz-appearance: textfield; }
body .mc-aviso .mc-cant-caja input.mc-cant-num:focus { outline: 0; background: #eef3fc; }
body .mc-aviso .mc-cant-caja input.mc-cant-num::-webkit-outer-spin-button, body .mc-aviso .mc-cant-caja input.mc-cant-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* rayas fluidas (transform en vez de background-position) */
body .woofc-area .wpcfb-progress-bar { position: relative; overflow: hidden; }
body .woofc-area .wpcfb-progress-amount { position: absolute !important; left: 0 !important; top: 0 !important; height: 100% !important; display: block !important; overflow: hidden !important; background-image: none !important; animation: none !important; }
body .woofc-area .wpcfb-progress-amount:after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 42%; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%); transform: translate3d(-130%, 0, 0); animation: mc-brillo-barra 3.1s ease-in-out infinite; will-change: transform; pointer-events: none; }
@keyframes mc-brillo-barra { 0% { transform: translate3d(-130%, 0, 0); } 65%, 100% { transform: translate3d(280%, 0, 0); } }

/* destello en el boton de comprar */
body .woofc-area .woofc-action-checkout { position: relative !important; overflow: hidden !important; }
body .woofc-area .woofc-action-checkout { animation: mc-latido 2.4s ease-in-out infinite; will-change: transform; }
@keyframes mc-latido { 0%, 66%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(31,69,140,.16); } 33% { transform: scale(1.032); box-shadow: 0 10px 26px rgba(31,69,140,.42); } }
body .woofc-area .woofc-action-checkout { transition: transform .18s ease, box-shadow .18s ease; }
body .woofc-area .woofc-action-checkout:hover { animation: none !important; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(31,69,140,.32); }
@media (prefers-reduced-motion: reduce) { body .woofc-area .wpcfb-progress-amount:after, body .woofc-area .woofc-action-checkout { animation: none !important; } }

/* separacion del boton comprar y carril mas visible */
body .woofc-area .woofc-action-right { margin-bottom: 10px; }
body .woofc-area .wpcfb-progress-bar { height: 10px !important; background-color: #e3e9f5 !important; }
body .woofc-area .wpcfb-progress-amount { background-image: none !important; background-color: #1f458c !important; transition: width .45s ease; }

/* ajustes finales barra y botones */
body .woofc-area .woofc-action-inner { gap: 18px !important; }
body .woofc-area .woofc-free-shipping-bar .wpcfb-progress-bar { height: 10px !important; }

/* separacion definitiva comprar / mi carrito */
body .woofc-area.woofc-style-02 .woofc-action .woofc-action-inner { gap: 20px !important; }
body .woofc-area.woofc-style-02 .woofc-action .woofc-action-inner .woofc-action-right { margin-bottom: 4px !important; }

/* titulo del carrito mas legible */
body .woofc-area .woofc-area-top .woofc-area-heading { font-family: inherit !important; font-size: 18px !important; font-weight: 800 !important; letter-spacing: .5px !important; line-height: 1.15 !important; }
body .woofc-area .woofc-area-top .woofc-area-count { font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0 !important; opacity: .82; margin-left: 4px; }

/* ajustes tactiles movil: objetivos mas comodos con el dedo */
@media (max-width: 767px) {
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-remove { min-width: 34px !important; justify-content: flex-end !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-remove i { font-size: 18px !important; }
	body .mc-aviso .mc-cant-caja button { width: 40px; height: 40px; }
	body .mc-aviso .mc-cant-caja input.mc-cant-num { height: 40px; width: 52px; min-width: 52px; font-size: 15px; }
	body .mc-aviso .mc-aviso-acciones button { padding: 12px; font-size: 14px; }
}

/* titulo del articulo en movil: mas ancho y mas aire */
@media (max-width: 767px) {
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-thumb { width: 66px !important; min-width: 66px !important; flex: 0 0 66px !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-info { flex: 1 1 auto !important; min-width: 0 !important; padding-right: 8px !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-title { font-size: 13.5px !important; line-height: 1.42 !important; margin: 0 0 8px !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-price { font-size: 16px !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-qty { margin-left: 2px !important; }
	body .woofc-area .woofc-item .woofc-item-qty-inner { transform: scale(.92); transform-origin: right center; }
}

/* cantidad debajo del titulo en movil, estilo todohits */
@media (max-width: 767px) {
	body .woofc-area .woofc-item .woofc-item-inner { align-items: flex-start !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-thumb { width: 76px !important; min-width: 76px !important; flex: 0 0 76px !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-info { flex: 1 1 0 !important; min-width: 0 !important; padding-right: 0 !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-title { font-size: 14px !important; line-height: 1.4 !important; }
}

/* fila de precio en movil: precio, cantidad y aspa juntos */
@media (max-width: 767px) {
	body .woofc-area .woofc-item .mc-fila-precio .woofc-item-qty-inner { transform: none !important; }
	body .woofc-area .woofc-item .mc-fila-precio .woofc-item-remove i { font-size: 17px !important; }
	body .woofc-area .woofc-item .woofc-item-inner .woofc-item-title { -webkit-line-clamp: 3; }
}

/* ---- MC: minicarrito solo con el boton de comprar ---- */
/* Fuera el enlace 'Mi carrito': el unico camino es Comprar. */
.woofc-area .woofc-action-left{ display: none !important; }
.woofc-area .woofc-action-right{ width: 100% !important; }



/* Marca en el checkout.
 * CheckoutWC reserva una franja arriba para el logo, pero la version
 * gratuita no deja ponerlo: la pagina de pago salia en blanco y sin marca
 * justo cuando el cliente va a meter la tarjeta. La pintamos nosotros.
 * La ruta del logo es relativa a proposito, para que valga igual aqui que
 * en la tienda real cuando se replique. */
body.checkout-wc > header.container {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	background: #1f458c !important;
}
body.checkout-wc > header.container .row {
	/* Sin los margenes negativos de la rejilla no aparece barra horizontal. */
	margin-left: 0 !important;
	margin-right: 0 !important;
}
body.checkout-wc > header.container .logo {
	background-color: transparent !important;
	min-height: 86px;
	background-image: url(/wp-content/uploads/2025/10/logo-monsters-600x188.webp);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto 44px;
}
@media (max-width: 767px) {
	body.checkout-wc > header.container .logo {
		min-height: 62px;
		background-size: auto 32px;
	}
}


/* Casilla de factura: una fila discreta, no un campo mas del formulario. */
body.checkout-wc .mc-factura {
	width: 100%;
	margin: 2px 0 14px;
}
body.checkout-wc .mc-factura-fila {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.35;
	color: #1c1c1c;
}
body.checkout-wc .mc-factura-fila input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: #1f458c;
	margin: 0;
}

/* ==== CHECKOUT CON EL MISMO LENGUAJE QUE EL PANEL DE FILTROS ====
 * Mismos colores, tamanos y separaciones que la barra lateral de filtros.
 * Para deshacerlo, borrar desde esta linea hasta el final. */

/* El resumen del pedido, como el panel de filtros. */
html body.checkout-wc #cfw-cart-summary {
	background: #fafbfc !important;
	border: 1px solid #e4e7ec !important;
	border-radius: 14px !important;
	padding: 26px 20px 28px !important;
}
@media (max-width: 991px) {
	html body.checkout-wc #cfw-cart-summary {
		padding: 20px 16px 22px !important;
	}
}

/* Titulos de seccion: 15 px, peso 600, azul muy oscuro. */
html body.checkout-wc #cfw h2,
html body.checkout-wc #cfw h3,
html body.checkout-wc h3.cfw-panel-heading,
html body.checkout-wc #cfw-cart-summary h2,
html body.checkout-wc #cfw-cart-summary h3 {
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: .3px !important;
	color: #14203a !important;
}

/* Texto corriente y etiquetas: 14 px en gris azulado. */
html body.checkout-wc #cfw label,
html body.checkout-wc #cfw p,
html body.checkout-wc #cfw-cart-summary,
html body.checkout-wc #cfw-cart-summary td,
html body.checkout-wc #cfw-cart-summary th {
	font-size: 14px !important;
	color: rgba(31, 42, 68, .82) !important;
}
html body.checkout-wc #cfw-cart-summary .cfw-cart-item-variation,
html body.checkout-wc #cfw small {
	font-size: 13px !important;
	color: rgba(31, 42, 68, .5) !important;
}

/* Campos: blancos con borde #d8dde8 y esquinas de 10, como las casillas de
 * precio del filtro. Se dejan algo mas altos (46) porque aqui se escribe. */
html body.checkout-wc #cfw input.input-text,
html body.checkout-wc #cfw input[type="text"],
html body.checkout-wc #cfw input[type="email"],
html body.checkout-wc #cfw input[type="tel"],
html body.checkout-wc #cfw select,
html body.checkout-wc #cfw textarea {
	background-color: #ffffff !important;
	border: 1px solid #d8dde8 !important;
	border-radius: 10px !important;
	min-height: 46px !important;
	font-size: 15px !important;
	color: #1f2a44 !important;
}
html body.checkout-wc #cfw input.input-text:focus,
html body.checkout-wc #cfw input[type="text"]:focus,
html body.checkout-wc #cfw input[type="email"]:focus,
html body.checkout-wc #cfw input[type="tel"]:focus,
html body.checkout-wc #cfw select:focus,
html body.checkout-wc #cfw textarea:focus {
	border-color: #1f458c !important;
	box-shadow: 0 0 0 3px rgba(31, 69, 140, .12) !important;
	outline: none !important;
}

/* Botones: azul de marca, esquinas de 18, como los de filtros y orden. */
html body.checkout-wc #cfw .cfw-next-tab,
html body.checkout-wc #place_order,
html body.checkout-wc #cfw button.button {
	background: #1f458c !important;
	border: 0 !important;
	border-radius: 18px !important;
	min-height: 44px !important;
	padding: 0 26px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: .3px !important;
	color: #ffffff !important;
}
html body.checkout-wc #cfw .cfw-next-tab:hover,
html body.checkout-wc #place_order:hover {
	background: #16346c !important;
}

/* Opcion de envio o pago elegida: azul de marca muy suave. */
html body.checkout-wc li.cfw-shipping-method,
html body.checkout-wc li.wc_payment_method {
	border: 1px solid #d8dde8 !important;
	border-radius: 10px !important;
}
html body.checkout-wc li.cfw-shipping-method:has(input:checked),
html body.checkout-wc li.wc_payment_method:has(input:checked) {
	background: #eef2fa !important;
	border-color: #1f458c !important;
}

/* ==== AJUSTES POR PUNTOS DE ANTON ==== */

/* 1. El hueco blanco sobre la cabecera: el cuerpo lleva 92 px de relleno
 * arriba para compensar la cabecera fija, pero en el checkout no hay
 * cabecera fija, asi que ese hueco sobra. */
html body.checkout-wc {
	padding-top: 0 !important;
}

/* 2. El logo se veia diminuto: de 44 a 62 px de alto. */
html body.checkout-wc > header.container .logo {
	background-size: auto 62px !important;
	min-height: 104px !important;
}
@media (max-width: 767px) {
	html body.checkout-wc > header.container .logo {
		background-size: auto 44px !important;
		min-height: 76px !important;
	}
}

/* 4. Fuera la navegacion de pasos de arriba. */
html body.checkout-wc ul.etabs {
	display: none !important;
}

/* 9. Fuera el enlace de volver al carrito. */
html body.checkout-wc .cfw-back-to-cart,
html body.checkout-wc a[href*="/carrito"] {
	display: none !important;
}

/* 3 y 7. Pago expres: botones en fila, sin marco, como en todohits. */
html body.checkout-wc .cfw-express-checkout,
html body.checkout-wc #cfw-express-checkout {
	border: 0 !important;
	background: transparent !important;
	padding: 0 0 6px !important;
}
html body.checkout-wc .cfw-express-checkout-buttons,
html body.checkout-wc .cfw-express-pay-buttons {
	display: flex !important;
	gap: 10px !important;
	align-items: stretch !important;
}
html body.checkout-wc .cfw-express-checkout-buttons > * {
	flex: 1 1 0 !important;
	min-width: 0 !important;
}

/* 6. El desplegable de pais, con su flechita y el mismo borde que el resto. */
html body.checkout-wc #cfw select {
	appearance: none !important;
	-webkit-appearance: none !important;
	background-image: linear-gradient(45deg, transparent 50%, #1f458c 50%), linear-gradient(135deg, #1f458c 50%, transparent 50%) !important;
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px) !important;
	background-size: 6px 6px, 6px 6px !important;
	background-repeat: no-repeat !important;
	padding-right: 38px !important;
}

/* 8. Subtotal, envio y total como en todohits: filas espaciadas y el total
 * grande y en negrita. */
html body.checkout-wc #cfw-cart-summary-totals tr td,
html body.checkout-wc #cfw-cart-summary-totals tr th {
	padding: 9px 0 !important;
	font-size: 14px !important;
	border: 0 !important;
}
html body.checkout-wc #cfw-cart-summary-totals tr.order-total th,
html body.checkout-wc #cfw-cart-summary-totals tr.order-total td {
	padding-top: 16px !important;
	border-top: 1px solid #e4e7ec !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #14203a !important;
}

/* El boton Aplicar del cupon iba gris y con otra esquina. */
html body.checkout-wc .cfw-secondary-btn {
	border-radius: 18px !important;
	min-height: 44px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
}

/* ==== LO QUE ANTON MARCO EN ROJO ==== */

/* El bloque de pago expres tenia un marco propio y el rotulo iba dentro de
 * una pastilla blanca sobre la linea. Fuera el marco y el rotulo pasa a ser
 * texto pequeno en gris, centrado, como en todohits. */
html body.checkout-wc #cfw-payment-request-buttons {
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
html body.checkout-wc #cfw-payment-request-buttons h2 {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 0 12px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: .2px !important;
	color: rgba(31, 42, 68, .55) !important;
	text-align: center !important;
}

/* El separador de la O se veia como una caja rota: linea limpia con la letra
 * encima sobre fondo blanco. */
html body.checkout-wc .pay-button-separator {
	position: relative !important;
	text-align: center !important;
	border: 0 !important;
	margin: 20px 0 !important;
	overflow: visible !important;
}
html body.checkout-wc .pay-button-separator::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	border-top: 1px solid #e4e7ec;
}
html body.checkout-wc .pay-button-separator span {
	position: relative;
	background: #ffffff !important;
	padding: 0 14px !important;
	font-size: 13px !important;
	color: rgba(31, 42, 68, .5) !important;
	text-transform: lowercase !important;
}

/* El saludo de Bienvenido de nuevo no aporta nada: fuera. */
html body.checkout-wc #cfw-account-details {
	display: none !important;
}

/* El boton de continuar tenia el texto sin centrar en vertical. */
html body.checkout-wc .cfw-next-tab,
html body.checkout-wc #place_order {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	min-height: 46px !important;
	padding: 0 30px !important;
}

/* La flecha del desplegable salia doble: el plugin ya dibuja su flecha en
 * .cfw-select-input::after, y yo habia anadido otra. Quito la mia. */
html body.checkout-wc #cfw select {
	background-image: none !important;
	padding-right: 40px !important;
}

/* Mas aire entre casillas: iban a 6 px y se veian apelotonadas. */
html body.checkout-wc #cfw .form-row {
	margin-bottom: 14px !important;
}

/* El lateral del resumen, con el aire y las lineas del panel de filtros. */
html body.checkout-wc #cfw-cart-summary .cart-item-row {
	padding: 14px 0 !important;
	border-bottom: 1px solid #e8ebf0 !important;
}
html body.checkout-wc #cfw-cart-summary .cart-item-row:last-of-type {
	border-bottom: 0 !important;
}
html body.checkout-wc #cfw-cart-summary .cart-item-row img {
	border: 1px solid #e4e7ec !important;
	border-radius: 10px !important;
	background: #ffffff !important;
}
html body.checkout-wc #cfw-cart-summary .cfw-cart-item-name,
html body.checkout-wc #cfw-cart-summary .cart-item-row .product-name {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #14203a !important;
	line-height: 1.35 !important;
}
html body.checkout-wc #cfw-cart-summary .cart-item-row .product-total,
html body.checkout-wc #cfw-cart-summary .cart-item-row .amount {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #14203a !important;
}
html body.checkout-wc #cfw-cart-summary .cfw-quantity-badge,
html body.checkout-wc #cfw-cart-summary .cart-item-quantity {
	background: #1f458c !important;
	color: #ffffff !important;
}

/* El resumen, mas redondeado y mejor marcado, y sin la linea de encima del
 * total, que Anton prefiere limpio. */
html body.checkout-wc #cfw-cart-summary {
	border-radius: 18px !important;
	border: 1px solid #dbe1ea !important;
	box-shadow: 0 1px 3px rgba(31, 42, 68, .05) !important;
}
html body.checkout-wc #cfw-cart-summary-totals tr.order-total th,
html body.checkout-wc #cfw-cart-summary-totals tr.order-total td {
	border-top: 0 !important;
	padding-top: 10px !important;
}

/* El resumen arrancaba pegado a la franja azul: un poco de aire antes de que
 * empiece el redondeo de arriba. */
html body.checkout-wc #cfw-cart-summary {
	margin-top: 28px !important;
}
@media (max-width: 991px) {
	html body.checkout-wc #cfw-cart-summary {
		margin-top: 18px !important;
	}
}

/* Fuera las dos lineas que sobraban: la del separador con la o debajo del
 * pago expres, y la de encima del Total, que la pinta la fila entera y no
 * las celdas (por eso no bastaba con quitarsela a th y td). */
html body.checkout-wc #payment-info-separator-wrap,
html body.checkout-wc .pay-button-separator {
	display: none !important;
}
html body.checkout-wc #cfw-cart-summary-totals tr.order-total {
	border-top: 0 !important;
	border: 0 !important;
}

/* El rotulo de Pago expres iba en posicion absoluta porque flotaba sobre la
 * linea del marco que quitamos, y sin marco se subia a la cabecera. Vuelve
 * al flujo normal, dentro de su bloque. */
html body.checkout-wc #cfw-payment-request-buttons h2 {
	position: static !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
	display: block !important;
	width: auto !important;
	margin: 0 0 12px !important;
}
html body.checkout-wc #cfw-payment-request-buttons {
	position: relative !important;
	padding-top: 4px !important;
}

/* El resumen se estiraba hasta la altura de la columna del formulario y
 * dejaba un vacio enorme bajo el Total. Que acabe donde acaba su contenido. */
html body.checkout-wc #cfw-cart-summary {
	align-self: flex-start !important;
	padding-bottom: 22px !important;
}

/* Pago expres se lee como un titulo de seccion mas: mismo tamano, peso,
 * color y alineacion que Informacion y Direccion de envio. */
html body.checkout-wc #cfw-payment-request-buttons h2 {
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: .3px !important;
	color: #14203a !important;
	text-align: left !important;
	margin: 0 0 10px !important;
}

/* Pago expres arrancaba desplazado a la derecha porque el bloque era flex y
 * centraba sus elementos. Como bloque normal, el titulo y el boton empiezan
 * donde empieza Informacion. */
html body.checkout-wc #cfw-payment-request-buttons {
	display: block !important;
}
html body.checkout-wc #cfw-payment-request-buttons .wc-stripe-express-checkout-element {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Mas aire en la zona de arriba: sobre Pago expres, entre el titulo y el
 * boton, entre el boton e Informacion, y entre los dos titulos. */
html body.checkout-wc #cfw-payment-request-buttons {
	padding-top: 30px !important;
}
html body.checkout-wc #cfw-payment-request-buttons h2 {
	margin: 0 0 16px !important;
}
html body.checkout-wc #cfw-payment-request-buttons .wc-stripe-express-checkout-element {
	margin-top: 0 !important;
	margin-bottom: 30px !important;
}
html body.checkout-wc h3.cfw-panel-heading {
	margin: 0 0 14px !important;
}
html body.checkout-wc #cfw-customer-info h3 {
	margin-top: 24px !important;
	margin-bottom: 14px !important;
}
html body.checkout-wc #cfw-customer-info h3.cfw-panel-heading {
	margin-top: 0 !important;
}

/* El resumen, sin lineas entre productos: se separan solo con el aire. */
html body.checkout-wc #cfw-cart-summary .cart-item-row {
	border-bottom: 0 !important;
	border-top: 0 !important;
}

/* ==== PAGO EN UNA SOLA PAGINA (hecho a mano) ====
 * CheckoutWC parte el pago en tres paneles y solo ensena uno cada vez. Aqui
 * no movemos nada de sitio: simplemente mostramos los tres a la vez y
 * escondemos los botones de "continuar". Cada bloque se queda en su
 * contenedor, asi que el plugin conserva sus conexiones internas.
 * Para deshacerlo, borrar desde esta linea hasta el final del bloque. */
html body.checkout-wc .cfw-panel {
	display: block !important;
	height: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: static !important;
}
/* Sin lineas entre bloques: se separan solo con el aire. */
html body.checkout-wc .cfw-panel + .cfw-panel {
	margin-top: 26px !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}
html body.checkout-wc .cfw-bottom-controls .cfw-next-tab {
	display: none !important;
}
html body.checkout-wc #cfw-customer-info .cfw-bottom-controls,
html body.checkout-wc #cfw-shipping-method .cfw-bottom-controls {
	display: none !important;
}

/* ==== BLOQUE DE PAGO AL ESTILO DE TODOHITS ====
 * Alli los metodos no son cajitas sueltas: es una sola caja con esquinas
 * redondeadas y las filas separadas por una linea fina, y el metodo elegido
 * se marca con un aro azul y fondo azulado muy claro. Medido de la captura:
 * caja #dedede, fila elegida #f5f6ff, zona de campos #f4f4f4. */
html body.checkout-wc ul.wc_payment_methods {
	border: 1px solid #dedede !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 0 24px !important;
}
html body.checkout-wc li.wc_payment_method {
	border: 0 !important;
	border-radius: 0 !important;
	border-bottom: 1px solid #ececec !important;
	background: transparent !important;
	box-shadow: none !important;
	margin: 0 !important;
}
html body.checkout-wc li.wc_payment_method:last-child {
	border-bottom: 0 !important;
}
html body.checkout-wc li.wc_payment_method:has(input:checked) {
	background: #eef2fa !important;
	box-shadow: inset 0 0 0 2px #1f458c !important;
	border-bottom-color: #1f458c !important;
}
html body.checkout-wc li.wc_payment_method .payment_box {
	background: #f4f4f4 !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 18px 16px !important;
}
html body.checkout-wc li.wc_payment_method .payment_box input,
html body.checkout-wc li.wc_payment_method .payment_box .wc-stripe-elements-field,
html body.checkout-wc li.wc_payment_method .payment_box .StripeElement {
	background: #ffffff !important;
	border: 1px solid #dedede !important;
	border-radius: 8px !important;
}

/* ==== PAGO: ACABADO VISUAL AL ESTILO TODOHITS (solo apariencia) ====
 * Filas mas altas y aireadas, tipografia del metodo mas grande, circulo de
 * seleccion azul y mas respiro dentro de la zona de campos. Lo unico que no
 * se puede tocar es el interior de los campos de tarjeta: los dibuja Stripe
 * dentro de su propio marco y el CSS de la web no llega ahi. */
html body.checkout-wc li.wc_payment_method > label,
html body.checkout-wc li.wc_payment_method .cfw-radio-reveal-label {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	min-height: 58px !important;
	padding: 0 16px !important;
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #1a1a1a !important;
	cursor: pointer !important;
}
html body.checkout-wc li.wc_payment_method input[type="radio"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	border: 1px solid #c9cfda !important;
	background: #ffffff !important;
	box-shadow: none !important;
}
html body.checkout-wc li.wc_payment_method input[type="radio"]:checked {
	border: 5px solid #1f458c !important;
	background: #ffffff !important;
}
html body.checkout-wc li.wc_payment_method .payment_box {
	padding: 4px 16px 20px !important;
}
html body.checkout-wc li.wc_payment_method img {
	max-height: 24px !important;
	width: auto !important;
	margin: 0 0 0 6px !important;
}

/* Correccion: la caja de Stripe iba en blanco con borde y tapaba el gris del
 * bloque. En todohits el gris se ve y los campos blancos van encima, que los
 * dibuja Stripe. Se deja transparente. */
html body.checkout-wc li.wc_payment_method .payment_box .wc-stripe-upe-element,
html body.checkout-wc li.wc_payment_method .payment_box .StripeElement {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

/* Titulos de seccion del checkout un poco mas grandes, como en todohits,
 * donde Entrega, Metodo de envio y Pago se leen a 20 px. */
html body.checkout-wc #cfw h2,
html body.checkout-wc #cfw h3,
html body.checkout-wc h3.cfw-panel-heading,
html body.checkout-wc #cfw-customer-info h3 {
	font-size: 20px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	color: #1a1a1a !important;
}
html body.checkout-wc #cfw-payment-request-buttons h2 {
	font-size: 20px !important;
}

/* ==== DESPLEGABLES DEL CHECKOUT CON LISTA MAQUETABLE ====
 * Hasta hace poco la lista que se abre en un desplegable la dibujaba el
 * navegador y no habia forma de tocarla. Chrome ya permite maquetarla con
 * appearance: base-select y ::picker(select). Los navegadores que no lo
 * soporten (Safari, Firefox) ignoran esto y siguen viendo la lista de
 * siempre: no se rompe nada, simplemente no cambia.
 * Para deshacerlo, borrar este bloque. */
html body.checkout-wc #cfw select {
	appearance: base-select !important;
	-webkit-appearance: base-select !important;
	background-image: none !important;
}
/* El plugin dibuja su propia flecha; con el modo nuevo saldrian dos. */
html body.checkout-wc .form-row.cfw-select-input::after {
	display: none !important;
}
html body.checkout-wc #cfw select::picker-icon {
	color: #1f458c !important;
}
html body.checkout-wc #cfw select::picker(select) {
	appearance: base-select !important;
	border: 1px solid #d8dde8 !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 28px rgba(31, 42, 68, .14) !important;
	background: #ffffff !important;
	padding: 6px !important;
	max-height: 60vh !important;
}
html body.checkout-wc #cfw select option {
	padding: 10px 12px !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	color: #1f2a44 !important;
}
html body.checkout-wc #cfw select option:hover {
	background: #eef2fa !important;
}
html body.checkout-wc #cfw select option:checked {
	background: #1f458c !important;
	color: #ffffff !important;
}

/* La lista del desplegable, igual que la de "Ordenar por" de los filtros:
 * panel blanco con borde #ebeced, opcion destacada en #eef3ff con el texto
 * en azul de marca y el resto en #3e4864. Valores sacados de la captura. */
html body.checkout-wc #cfw select::picker(select) {
	border: 1px solid #ebeced !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 28px rgba(31, 42, 68, .12) !important;
	padding: 6px !important;
}
html body.checkout-wc #cfw select option {
	padding: 11px 14px !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	color: #3e4864 !important;
	background: #ffffff !important;
}
html body.checkout-wc #cfw select option:hover {
	background: #eef3ff !important;
	color: #1f458c !important;
}
html body.checkout-wc #cfw select option:checked {
	background: #eef3ff !important;
	color: #1f458c !important;
	font-weight: 600 !important;
}

/* La flecha, siempre en el mismo sitio y en gris suave. */
html body.checkout-wc #cfw select {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	text-align: left !important;
}
html body.checkout-wc #cfw select::picker-icon {
	color: #9aa3b6 !important;
	margin-left: auto !important;
	transition: transform .15s !important;
}
html body.checkout-wc #cfw select:open::picker-icon {
	transform: rotate(180deg) !important;
}

/* Campos sin rellenar en gris flojo; al escribir, en negro azulado. */
html body.checkout-wc #cfw input::placeholder,
html body.checkout-wc #cfw textarea::placeholder {
	color: #9aa3b6 !important;
	opacity: 1 !important;
}
html body.checkout-wc #cfw input.input-text,
html body.checkout-wc #cfw input[type="text"],
html body.checkout-wc #cfw input[type="email"],
html body.checkout-wc #cfw input[type="tel"],
html body.checkout-wc #cfw textarea,
html body.checkout-wc #cfw select {
	color: #14203a !important;
}

/* Logo de PayPal a la derecha de su fila, como en todohits. Se usa la imagen
 * que ya trae el propio plugin de PayPal (ppcp), asi no dependemos de
 * ninguna web de fuera ni hay problema de marca. */
html body.checkout-wc label[for="payment_method_ppcp"]::after {
	content: "";
	margin-left: auto !important;
	flex: 0 0 auto !important;
	width: 76px;
	height: 20px;
	background-image: url(/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/assets/images/paypal.png);
	background-size: contain;
	background-position: right center;
	background-repeat: no-repeat;
}

/* ==== TEXTO DE PAYPAL CENTRADO EN LA BANDA GRIS (como todohits) ==== */
html body.checkout-wc li.wc_payment_method.payment_method_ppcp .payment_box {
	text-align: center !important;
	padding: 18px 22px 22px !important;
}
html body.checkout-wc li.wc_payment_method.payment_method_ppcp .payment_box p {
	margin: 0 auto !important;
	max-width: 30em !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: #3e4864 !important;
	text-align: center !important;
}

/* ==== METODO ELEGIDO EN AZUL (tonos de todohits) ==== */
/* El azul va solo en la fila del metodo. La banda gris de abajo se queda
 * fuera del recuadro, igual que en todohits. */
html body.checkout-wc ul.wc_payment_methods li.wc_payment_method:has(input:checked) {
	background: transparent !important;
	box-shadow: none !important;
	/* Sin la raya azul oscura debajo: el separador es gris como los demas. */
	border-bottom: 1px solid #ececec !important;
}
html body.checkout-wc ul.wc_payment_methods li.wc_payment_method:has(input:checked) > .payment_method_title_wrap {
	background: #f5f6ff !important;
	box-shadow: inset 0 0 0 1px #005bd1 !important;
}

/* ==== AIRE BAJO EL PAGO EXPRES ==== */
/* El boton se comia el titulo Informacion: el bloque no debe llevar
 * alto fijo ni recortar, y separa lo que viene despues. */
html body.checkout-wc #cfw-payment-request-buttons {
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
	margin: 0 0 38px !important;
	padding-bottom: 0 !important;
}

/* ==== MISMA MARCA AZUL EN TODO EL PAGO ==== */
/* Lo que ya hacia PayPal, ahora tambien en el metodo de envio y en la
 * direccion de facturacion: el color va en la fila del titulo. */
/* En el envio el relleno lo lleva el propio li, asi que el color va ahi.
 * En facturacion lo lleva la fila del titulo, como en el pago. */
html body.checkout-wc ul.cfw-radio-reveal-group > li:has(input:checked) {
	background: transparent !important;
	box-shadow: none !important;
}
html body.checkout-wc ul.cfw-shipping-methods-list > li:has(input:checked),
html body.checkout-wc ul.cfw-radio-reveal-group > li:has(input:checked) > .cfw-radio-reveal-title-wrap {
	background: #f5f6ff !important;
	box-shadow: inset 0 0 0 1px #005bd1 !important;
}

/* ==== DESPLEGABLE DE FACTURACION ==== */
/* El titulo y la explicacion sobran: ahora lo dice el propio boton. */
html body.checkout-wc h3.cfw-billing-address-heading,
html body.checkout-wc h4.cfw-billing-address-description {
	display: none !important;
}
html body.checkout-wc #mc-caja-facturacion {
	margin: 2px 0 20px !important;
}
html body.checkout-wc .mc-boton-facturacion {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 15px 16px !important;
	background: #ffffff !important;
	border: 1px solid #dfe3ec !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: #14203a !important;
	text-align: left !important;
	cursor: pointer !important;
	box-shadow: none !important;
}
/* La flecha: mira abajo cerrado, arriba abierto. */
html body.checkout-wc .mc-boton-facturacion::after {
	content: "" !important;
	flex: 0 0 auto !important;
	width: 9px !important;
	height: 9px !important;
	margin-left: 12px !important;
	border-right: 2px solid #6b7590 !important;
	border-bottom: 2px solid #6b7590 !important;
	transform: translateY(-3px) rotate(45deg) !important;
	transition: transform .18s ease !important;
}
html body.checkout-wc .mc-boton-facturacion[aria-expanded="true"] {
	background: #f5f6ff !important;
	border-color: #005bd1 !important;
	box-shadow: inset 0 0 0 1px #005bd1 !important;
}
html body.checkout-wc .mc-boton-facturacion[aria-expanded="true"]::after {
	transform: translateY(2px) rotate(-135deg) !important;
	border-color: #005bd1 !important;
}
/* Del bloque original solo queremos los campos, no sus dos opciones. */
html body.checkout-wc #cfw-shipping-same-billing .cfw-radio-reveal-title-wrap {
	display: none !important;
}
html body.checkout-wc #cfw-shipping-same-billing ul.cfw-radio-reveal-group,
html body.checkout-wc #cfw-shipping-same-billing li.cfw-radio-reveal-li {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* La columna de datos es flex: sin esto, el desplegable y el bloque de
 * facturacion se encogen al ancho de su contenido. */
/* ==== ANCHO COMPLETO EN LA COLUMNA DE DATOS ==== */
html body.checkout-wc #mc-caja-facturacion,
html body.checkout-wc #cfw-shipping-same-billing {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
}
html body.checkout-wc #cfw-shipping-same-billing .cfw-radio-reveal-content {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 18px !important;
}

/* ==== CAMPOS DE FACTURACION EN REJILLA Y SIN HUECO AL CERRAR ==== */
/* Cerrado no debe ocupar nada. */
html body.checkout-wc #cfw-shipping-same-billing,
html body.checkout-wc #cfw-shipping-same-billing ul.cfw-radio-reveal-group {
	margin: 0 !important;
}
/* Los campos ya piden la mitad de ancho, pero su caja no era flexible,
 * asi que salian apilados. Ahora se colocan como los de envio. */
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active > .cfw-radio-reveal-content {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
}

/* ==== REPARTO DE LOS CAMPOS DE FACTURACION ==== */
/* Vienen de otro plugin y sus anchos no casan. Por defecto, linea entera. */
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content .form-row {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
}
/* Nombre y apellidos comparten linea, como en el envio. */
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content #billing_first_name_field,
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content #billing_last_name_field {
	flex: 0 0 50% !important;
	max-width: 50% !important;
}
/* Codigo postal, ciudad y provincia, a tercios. */
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content #billing_postcode_field,
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content #billing_city_field,
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content #billing_state_field {
	flex: 1 1 0 !important;
	max-width: none !important;
}

/* Cada campo viene metido en su propia caja, y esa caja se encogia al
 * ancho del texto. Con display:contents desaparece del reparto y manda
 * el ancho del campo, igual que en los datos de envio. */
/* ==== ENVOLTORIO TRANSPARENTE EN FACTURACION ==== */
html body.checkout-wc #cfw-shipping-same-billing li.cfw-active .cfw-radio-reveal-content .row.cfw-input-wrap-row {
	display: contents !important;
}

/* ==== SIN EMPRESA EN FACTURACION ==== */
/* La empresa ya se pide arriba, en los datos de envio. Es opcional, asi
 * que quitarla de aqui no deja ningun campo obligatorio fuera. */
html body.checkout-wc #cfw-shipping-same-billing #billing_company_field {
	display: none !important;
}

/* ==== SIN RESUMEN REPETIDO ANTES DEL ENVIO ==== */
/* La direccion y el correo estan justo encima, en el formulario. */
html body.checkout-wc #cfw-shipping-method-review-pane {
	display: none !important;
}

/* ==== FICHA DEL CLIENTE QUE YA HA COMPRADO ==== */
/* Solo se pliega el formulario cuando la ficha existe. Un cliente nuevo
 * no la tiene, y ve el formulario de siempre. */
html:not(.mc-editando-datos) body.checkout-wc:has(#mc-datos-guardados) .cfw-customer-info-address-container {
	display: none !important;
}
html:not(.mc-editando-envio) body.checkout-wc:has(#mc-datos-guardados) h3.cfw-shipping-methods-heading,
html:not(.mc-editando-envio) body.checkout-wc:has(#mc-datos-guardados) ul.cfw-shipping-methods-list {
	display: none !important;
}

/* Cabecera: inicial en un circulo y el correo al lado. */
html body.checkout-wc #mc-datos-guardados { margin: 0 0 26px !important; }
html body.checkout-wc .mc-ficha-cabecera {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 0 14px !important;
}
html body.checkout-wc .mc-ficha-inicial {
	flex: 0 0 auto !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: #eef0f5 !important;
	color: #3e4864 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 32px !important;
	text-align: center !important;
}
html body.checkout-wc .mc-ficha-correo { font-size: 15px !important; color: #14203a !important; }

/* Tarjeta con una fila por dato. */
html body.checkout-wc .mc-ficha-tarjeta {
	border: 1px solid #dfdfdf !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	background: #ffffff !important;
}
html body.checkout-wc .mc-ficha-fila {
	display: flex !important;
	align-items: flex-start !important;
	gap: 16px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 15px 16px !important;
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-align: left !important;
	cursor: pointer !important;
	box-shadow: none !important;
}
html body.checkout-wc .mc-ficha-fila + .mc-ficha-fila { border-top: 1px solid #dfdfdf !important; }
html body.checkout-wc .mc-ficha-etiqueta {
	flex: 0 0 96px !important;
	font-size: 15px !important;
	color: #707070 !important;
}
html body.checkout-wc .mc-ficha-valor {
	flex: 1 1 auto !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	color: #111111 !important;
}
html body.checkout-wc .mc-ficha-valor strong { font-weight: 600 !important; }
html body.checkout-wc .mc-ficha-secundario { color: #545454 !important; }

/* La flecha de cada fila. */
html body.checkout-wc .mc-ficha-fila::after {
	content: "" !important;
	flex: 0 0 auto !important;
	align-self: center !important;
	width: 8px !important;
	height: 8px !important;
	margin-left: 8px !important;
	border-right: 2px solid #545454 !important;
	border-bottom: 2px solid #545454 !important;
	transform: translateY(-2px) rotate(45deg) !important;
	transition: transform .18s ease !important;
}
html.mc-editando-datos body.checkout-wc .mc-ficha-fila[data-mc="direccion"]::after,
html.mc-editando-envio body.checkout-wc .mc-ficha-fila[data-mc="envio"]::after {
	transform: translateY(2px) rotate(-135deg) !important;
}

/* ==== LO QUE SOBRA CON LA FICHA DELANTE ==== */
/* El titulo y el resumen repetido no pintan nada si el cliente ya ve
 * sus datos en la ficha. Para el cliente nuevo siguen estando. */
body.checkout-wc:has(#mc-datos-guardados) h3.cfw-customer-info-heading,
body.checkout-wc:has(#mc-datos-guardados) .cfw-customer-info-address-heading,
/* El resumen antes de Pago repite lo que ya esta arriba. Fuera para todos,
 * tanto para el cliente nuevo como para el que ya ha comprado. */
html body.checkout-wc #cfw-payment-method-review-pane {
	display: none !important;
}

/* ==== AJUSTES DE LA FICHA ==== */
/* La fila de la direccion no se despliega: lleva un enlace debajo. */
html body.checkout-wc .mc-ficha-fila[data-mc="direccion"] { cursor: default !important; }
html body.checkout-wc .mc-ficha-fila[data-mc="direccion"]::after { display: none !important; }
html body.checkout-wc .mc-enlace-cambiar {
	/* En su propia linea, debajo de la direccion. */
	display: block !important;
	width: fit-content !important;
	text-align: left !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	color: #005bd1 !important;
	text-decoration: underline !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

/* El formulario y la lista de envio viven dentro de la tarjeta. */
html body.checkout-wc .mc-ficha-tarjeta .cfw-customer-info-address-container,
html body.checkout-wc .mc-ficha-tarjeta ul.cfw-shipping-methods-list {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-top: 1px solid #dfdfdf !important;
	border-radius: 0 !important;
}
html body.checkout-wc .mc-ficha-tarjeta .cfw-customer-info-address-container { padding: 18px 16px 4px !important; }
html body.checkout-wc .mc-ficha-tarjeta ul.cfw-shipping-methods-list { padding: 0 !important; }
/* La fila de envio queda encima de su lista, sin doble raya. */
html body.checkout-wc .mc-ficha-tarjeta ul.cfw-shipping-methods-list + .mc-ficha-fila { border-top: 1px solid #dfdfdf !important; }

/* Ya no hace falta el titulo Metodo de envio: lo dice la propia fila. */
body.checkout-wc:has(#mc-datos-guardados) h3.cfw-shipping-methods-heading {
	display: none !important;
}

/* ==== MISMO AIRE EN TODAS LAS FILAS DE LA SECCION ==== */
/* El envio iba a 12 y el pago a 16. Los dejamos a 14, el punto medio. */
html body.checkout-wc ul.cfw-shipping-methods-list > li,
html body.checkout-wc ul.wc_payment_methods li.wc_payment_method > .payment_method_title_wrap,
html body.checkout-wc ul.cfw-radio-reveal-group > li > .cfw-radio-reveal-title-wrap {
	padding: 14px 16px !important;
}
html body.checkout-wc .mc-ficha-fila { padding: 14px 16px !important; }

/* ==== BOLITAS IGUALES EN TODA LA SECCION ==== */
/* Las de pago se pintan con un aro azul; las de envio y facturacion
 * llevaban un relleno negro. Las igualamos a las de pago. */
html body.checkout-wc ul.cfw-shipping-methods-list input[type="radio"],
html body.checkout-wc ul.cfw-radio-reveal-group input[type="radio"] {
	box-shadow: none !important;
	background: #ffffff !important;
	border: 1.2px solid #dddddd !important;
}
html body.checkout-wc ul.cfw-shipping-methods-list input[type="radio"]:checked,
html body.checkout-wc ul.cfw-radio-reveal-group input[type="radio"]:checked {
	border: 4.8px solid #1f458c !important;
	box-shadow: none !important;
}

/* Un poco mas de aire arriba y un poco menos abajo. */
html body.checkout-wc ul.cfw-shipping-methods-list > li { padding: 16px !important; }
html body.checkout-wc ul.wc_payment_methods li.wc_payment_method > .payment_method_title_wrap { padding: 12px 16px !important; }

/* ==== CASILLAS CON EL MISMO AZUL QUE LAS BOLITAS ==== */
/* Se rellenaban de negro. Ahora azul de la casa y el tic en blanco. */
html body.checkout-wc #cfw input[type="checkbox"] {
	box-shadow: none !important;
	background-color: #ffffff !important;
	border: 1.2px solid #d9d9d9 !important;
	border-radius: 5px !important;
}
html body.checkout-wc #cfw input[type="checkbox"]:checked {
	box-shadow: none !important;
	background-color: #1f458c !important;
	border-color: #1f458c !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") !important;
	background-size: 12px 12px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* ==== SIN VOLVER AL ENVIO ==== */
/* Con todo en una pagina no hay paso atras al que ir. */
html body.checkout-wc .cfw-return-to-shipping-btn,
html body.checkout-wc .previous-button {
	display: none !important;
}

/* ==== AJUSTES TRAS EL CAMBIO DE PLUGIN DE PAYPAL ==== */
/* El plugin nuevo ya pinta su propio logo: el nuestro sobra. */
html body.checkout-wc label[for="payment_method_ppcp"]::after { display: none !important; }
/* La lista del boton expres se quedaba estrecha y lo recortaba. */
html body.checkout-wc #cfw-payment-request-buttons li[class*="wc-ppcp"] {
	width: auto !important;
	display: block !important;
}

/* ==== PREFIJO DEL TELEFONO ==== */
/* La libreria envuelve el campo en un .iti. Hay que devolverle el ancho
 * y apartar la etiqueta flotante para que no se monte con la bandera. */
html body.checkout-wc #shipping_phone_field .iti {
	display: block !important;
	width: 100% !important;
}
html body.checkout-wc #shipping_phone_field .iti input#shipping_phone {
	width: 100% !important;
	padding-left: 82px !important;
}
html body.checkout-wc #shipping_phone_field label {
	left: 82px !important;
}
html body.checkout-wc #shipping_phone_field .iti__flag-container,
html body.checkout-wc #shipping_phone_field .iti__country-container {
	z-index: 3 !important;
}
/* El desplegable de paises, por encima de todo lo demas. */
html body.checkout-wc #shipping_phone_field .iti__dropdown-content {
	z-index: 20 !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 28px rgba(31,42,68,.14) !important;
}

/* ==== FLECHAS FINAS Y BANDERA MAS GRANDE ==== */
/* Chrome pinta un triangulo relleno en los desplegables. Lo cambiamos por
 * el mismo chevron fino que usa el desplegable de facturacion. */
html body.checkout-wc #cfw select::picker-icon {
	content: "" !important;
	width: 9px !important;
	height: 9px !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 2px solid #6b7590 !important;
	border-bottom: 2px solid #6b7590 !important;
	/* El campo lleva 20px de relleno arriba y 4 abajo, asi que el icono cae
	 * 8px por debajo del centro de la caja. Eso es lo que compensamos. */
	transform: translateY(-8px) rotate(45deg) !important;
	color: transparent !important;
	transition: transform .18s ease !important;
}
html body.checkout-wc #cfw select:open::picker-icon {
	transform: translateY(2px) rotate(-135deg) !important;
}

/* La bandera del telefono, un poco mas grande. */
html body.checkout-wc #shipping_phone_field .iti__flag {
	transform: scale(1.3) !important;
	transform-origin: center !important;
}
html body.checkout-wc #shipping_phone_field .iti__selected-country-primary {
	gap: 6px !important;
}
/* Y su flechita, del mismo estilo que las demas. */
html body.checkout-wc #shipping_phone_field .iti__arrow {
	width: 7px !important;
	height: 7px !important;
	border: 0 !important;
	border-right: 2px solid #6b7590 !important;
	border-bottom: 2px solid #6b7590 !important;
	transform: translateY(-2px) rotate(45deg) !important;
}

/* ==== AVISO DE INICIAR SESION ==== */
/* Solo texto, separado de la barra de menu. Sin aspecto de boton. */
html body.checkout-wc #mc-aviso-sesion {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	flex-wrap: wrap !important;
	width: auto !important;
	margin: 26px 0 26px !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 15px !important;
	color: #14203a !important;
}
html body.checkout-wc #mc-aviso-sesion .mc-enlace-sesion {
	font-weight: 600 !important;
	color: #005bd1 !important;
	text-decoration: underline !important;
}

/* ==== BANDERA SIN ESTILO DE BOTON ==== */
/* El tema pinta todos los <button> con fondo blanco, esquinas de 20px y
 * 30px de relleno, y eso tapaba el borde del campo. Lo desactivamos. */
html body.checkout-wc #shipping_phone_field .iti__selected-country {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 8px 0 14px !important;
	height: 100% !important;
	min-height: 0 !important;
}
html body.checkout-wc #shipping_phone_field .iti__country-container {
	width: auto !important;
}

/* ==== FLECHA CENTRADA SOBRE EL CAMPO ==== */
/* El icono propio de Chrome vive dentro del campo, que tiene 20px de
 * relleno arriba y 4 abajo, asi que siempre cae bajo. En vez de pelearse
 * con eso, lo escondemos y dibujamos la flecha sobre la fila, centrada.
 * Mismo metodo que el desplegable de facturacion, que ya estaba bien. */
html body.checkout-wc #cfw select::picker-icon {
	display: none !important;
}
html body.checkout-wc .form-row.cfw-select-input {
	position: relative !important;
}
html body.checkout-wc .form-row.cfw-select-input::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	right: 18px !important;
	top: 50% !important;
	width: 9px !important;
	height: 9px !important;
	border: 0 !important;
	border-right: 2px solid #6b7590 !important;
	border-bottom: 2px solid #6b7590 !important;
	transform: translateY(calc(-50% - 2px)) rotate(45deg) !important;
	background: none !important;
	pointer-events: none !important;
	transition: transform .18s ease !important;
}
html body.checkout-wc .form-row.cfw-select-input:has(select:open)::after {
	transform: translateY(calc(-50% + 2px)) rotate(-135deg) !important;
}


/* ==== BOTONES EXPRES: UNA SOLA REGLA ==== */
html body.checkout-wc #cfw-payment-request-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}
html body.checkout-wc #cfw-payment-request-buttons > h2,
html body.checkout-wc #cfw-payment-request-buttons > .cfw-payment-request-buttons-title {
    flex: 0 0 100% !important;
}
html body.checkout-wc #cfw-payment-request-buttons ul,
html body.checkout-wc #cfw-payment-request-buttons li,
html body.checkout-wc #cfw-payment-request-buttons fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}
html body.checkout-wc #wc-ppcp-express-button,
html body.checkout-wc .wc-stripe-checkout-banner-gateway {
    flex: 0 0 auto !important;
    width: fit-content !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body.checkout-wc #wc-ppcp-express-button *,
html body.checkout-wc .wc-stripe-checkout-banner-gateway * {
    transform: none !important;
}
@keyframes mc-brillo {
    0% { background-position: -220px 0; }
    100% { background-position: 220px 0; }
}
html:not(.mc-sin-google-pay) body.checkout-wc .banner_payment_method_stripe_googlepay:not(:has(iframe)) {
    display: block !important;
    width: 140px !important;
    min-height: 42px !important;
    border-radius: 12px !important;
    background-color: #eef0f4 !important;
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%) !important;
    background-repeat: no-repeat !important;
    background-size: 220px 100% !important;
    animation: mc-brillo 1.3s ease-in-out infinite !important;
}
html.mc-sin-google-pay body.checkout-wc .banner_payment_method_stripe_googlepay:not(:has(iframe)) {
    display: none !important;
}

html body.checkout-wc .banner_payment_method_stripe_applepay:not(:has(iframe)) {
    display: none !important;
}

/* stripe saca su iframe 4px por cada lado: lo dejo a ras para que no se recorte */
html body.checkout-wc .wc-stripe-checkout-banner-gateway .__PrivateStripeElement,
html body.checkout-wc .wc-stripe-checkout-banner-gateway iframe {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* los envoltorios de cada pasarela, centrados entre si tambien mientras cargan */
html body.checkout-wc .wc-stripe-banner-checkout,
html body.checkout-wc .wc-ppcp-checkoutwc-express__container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    height: auto !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
