/**
 * Quantity stepper (mobile single product).
 *
 * Adds `-` / `+` buttons around the WooCommerce qty input on screens <=768px.
 * Visual language mirrors the mini-cart stepper (brand green).
 */


@media (min-width: 769px) {

	button.qty-stepper__btn.qty-stepper__btn--plus,
	button.qty-stepper__btn.qty-stepper__btn--minus {
		display: none;
	}
}

@media (max-width: 768px) {
	body.single-product form.cart .quantity.qty-stepper {
		display: inline-flex;
		align-items: stretch;
		gap: 0;
		vertical-align: middle;
		margin-bottom: 10px !important;
	}

	body.single-product form.cart .quantity.qty-stepper>.qty-stepper__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		min-height: 48px;
		padding: 0;
		margin: 0;
		border: none;
		background-color: #29d687;
		color: #fff;
		font-size: 22px;
		font-weight: 700;
		line-height: 1;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
		transition: background-color 0.15s ease;
	}

	body.single-product form.cart .quantity.qty-stepper>.qty-stepper__btn:hover {
		background-color: #1eb872;
	}

	body.single-product form.cart .quantity.qty-stepper>.qty-stepper__btn:focus-visible {
		background-color: #1eb872;
		outline: 2px solid #1a9960;
		outline-offset: 2px;
	}

	body.single-product form.cart .quantity.qty-stepper>.qty-stepper__btn:disabled {
		background-color: #bfece0;
		cursor: not-allowed;
	}

	body.single-product form.cart .quantity.qty-stepper>.qty-stepper__btn--minus {
		border-top-left-radius: 8px;
		border-bottom-left-radius: 8px;
	}

	body.single-product form.cart .quantity.qty-stepper>.qty-stepper__btn--plus {
		border-top-right-radius: 8px;
		border-bottom-right-radius: 8px;
	}

	body.single-product form.cart .quantity.qty-stepper>input.qty {
		width: 56px;
		min-height: 48px;
		margin: 0;
		padding: 0 4px;
		border: 1px solid #29d687;
		border-left: none;
		border-right: none;
		border-radius: 0;
		background: #fff;
		text-align: center;
		font-size: 16px;
		font-weight: 600;
		-moz-appearance: textfield;
		appearance: textfield;
	}

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