/* Stepper de cantidad (− 1 +) — réplica del QuantityStepper del sistema de diseño. */

.quantity {
	display: inline-flex !important;
	align-items: center;
	height: 48px;
	border: 1px solid #D5D9E0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}
.quantity .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.quantity .tpr-step {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 46px !important;
	border: 0 !important;
	background: #fff !important;
	cursor: pointer;
	font-size: 18px !important;
	line-height: 1;
	color: #00132E !important;
	font-family: "Archivo", Helvetica, Arial, sans-serif;
	transition: background-color .15s;
	padding: 0 !important;
	min-height: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.quantity .tpr-step:hover { background: #F7F7F8; }
.quantity input.qty {
	width: 40px !important;
	height: 100% !important;
	border: 0 !important;
	background: #fff !important;
	text-align: center;
	font-family: "Archivo", Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #00132E;
	-moz-appearance: textfield;
	appearance: textfield;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Etiqueta «Cantidad» sobre el stepper (solo PDP). */
.tpr-qty-label {
	display: block;
	font-family: "Archivo", Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #00132E;
	margin-bottom: 6px;
}

/* Fila de compra del PDP: stepper + botón rojo con icono de carrito. */
.single-product form.cart { display: flex !important; flex-wrap: wrap !important; align-items: flex-end; gap: 12px; justify-content: flex-start !important; }
.single-product form.cart .tpr-qty-label { flex: 0 0 100%; width: 100%; margin-bottom: 0; }
.single-product form.cart .quantity { flex: 0 0 auto; }
.single-product form.cart .single_add_to_cart_button {
	flex: 1 1 auto !important;
	width: auto !important;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.single-product form.cart .single_add_to_cart_button::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Carrito: steppers compactos en la tabla. */
.woocommerce-cart-form .quantity { height: 40px; }
.woocommerce-cart-form .quantity .tpr-step { width: 32px; }
