/* Quantity stepper — round +/- buttons around WooCommerce's qty input.
   Colors match the provided SVG design. */

.qty-stepper {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.qty-stepper .qty-btn {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: #f5f6f6;
	color: #292d32;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.qty-stepper .qty-btn:hover {
	background: #ebeded;
}

.qty-stepper .qty-btn:focus-visible {
	outline: 2px solid #292d32;
	outline-offset: 2px;
}

.qty-stepper .qty-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.qty-stepper .qty-btn svg {
	display: block;
}

/* The number field */
.qty-stepper input.qty {
	width: 97px;
	height: 54px;
	margin: 0;
	text-align: center;
	border: 1px solid #cbd1d4;
	border-radius: 8px; /* set to 0 for the exact sharp-cornered SVG look */
	background: #fff;
	color: #292d32;
	font-size: 16px;
	line-height: normal;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

/* Hide the native number spinners */
.qty-stepper input.qty::-webkit-outer-spin-button,
.qty-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* When min === max WooCommerce renders a hidden quantity — never style it */
.qty-stepper.hidden,
.quantity.hidden {
	display: none;
}