/* Enhance product forms only; the cart and mini-cart retain Woo's controls. */
html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 0;
	width: auto;
	min-width: 128px;
	height: 48px;
	padding: 0;
	box-sizing: border-box;
	border: 2px solid #cdff09a8 !important;
	border-radius: 999px;
	background: transparent;
}

html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper input.qty[type="number"] {
	flex: 0 0 40px;
	width: 40px;
	min-width: 40px;
	max-width: 40px;
	height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	color: #fff !important;
	font-family: var(--wp--preset--font-family--golos-text, 'Golos Text', sans-serif) !important;
	font-size: 16px;
	line-height: 1;
	text-align: center !important;
	-webkit-appearance: textfield;
	appearance: textfield !important;
	box-shadow: none !important;
}

html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper input.qty::-webkit-inner-spin-button,
html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper button.wmw-quantity-button {
	display: inline-grid;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	min-width: 42px;
	height: 44px;
	min-height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #cdff09 !important;
	font-family: Arial, sans-serif !important;
	font-size: 24px !important;
	font-weight: 400;
	line-height: 1;
	box-shadow: none !important;
	opacity: 1 !important;
	cursor: pointer;
	transition: color 240ms ease;
}

html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper button.wmw-quantity-button:not(:disabled):hover {
	background: transparent !important;
	color: #fff !important;
}

html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper button.wmw-quantity-button:disabled {
	/* Dim only the glyph, avoiding another opacity layer on the dark page. */
	color: #cdff0959 !important;
	cursor: default;
}

html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper :is(input.qty, button.wmw-quantity-button):focus-visible {
	outline: 2px solid #cdff09 !important;
	outline-offset: -4px;
}

html body.single-product.woocommerce form.cart .quantity button.wmw-quantity-button[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html body.single-product.woocommerce form.cart .quantity.wmw-quantity-stepper button.wmw-quantity-button {
		transition: none;
	}
}
