/*
 * Correcciones de checkout y catálogo (noviembre 2026).
 * Reversible: quitar este archivo y su enqueue en functions.php.
 */

/* Checkout / carrito: el aviso de pack usa el ícono de fuente de WooCommerce,
   que en móvil se ve como un cuadrado vacío encima de «Arma tu pack».
   El borde lima izquierdo ya marca el aviso; el ícono no hace falta. */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
	content: none !important;
	display: none !important;
}

.woocommerce-info a::before,
.woocommerce-message a::before,
.woocommerce-error a::before,
.woocommerce-notices-wrapper a::before {
	content: none !important;
	display: none !important;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notices-wrapper > div {
	padding: 12px 16px !important;
}

/* Precios visibles para todos desde el 21-nov-2026 (aprobado por Xavier). */

/* Cantidad: que se vean hasta 4 dígitos (p. ej. 100 o 1000)
   en el carrito, el checkout, el mini-carrito y la ficha.
   No cambia colores, borde, fuente ni altura. */
.woocommerce .quantity,
.woocommerce-page .quantity,
.e-cart__container .quantity,
.e-checkout__container .quantity,
.wp-block-woocommerce-cart .quantity,
.wc-block-components-quantity-selector {
	min-width: 72px;
	width: auto;
}

.woocommerce .quantity .qty,
.woocommerce-page .quantity .qty,
.woocommerce input.qty,
.woocommerce-page input.qty,
.e-cart__container .quantity .qty,
.e-checkout__container .quantity .qty,
.wp-block-woocommerce-cart input.qty,
.wc-block-components-quantity-selector input,
.wc-block-components-quantity-selector__input,
.elementor-menu-cart__main .quantity .qty,
.elementor-menu-cart__product .quantity .qty,
.single-product .quantity .qty,
.product .quantity .qty {
	min-width: 72px !important;
	width: 72px !important;
	max-width: 100%;
	box-sizing: border-box !important;
	text-align: center !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
}

/* Ficha XLIFE (.xl-qty): el input va entre − y +, sin padding propio. */
.xl-qty input,
.xl-qty input[type="number"],
form.cart .xl-qty input,
.single-product .xl-qty input {
	min-width: 72px !important;
	width: 72px !important;
	box-sizing: border-box !important;
	text-align: center !important;
}
