/*
 * Vitos Depot Toolkit — quantity "+ / −" stepper (single product page).
 *
 * WooCommerce's bare <input type="number"> is now flanked by two
 * buttons (class-vdt-quantity-stepper.php) inside the same .quantity
 * wrapper — this file turns that wrapper into the visible box (border,
 * radius, height), NOT the input itself, so the border/radius/overflow
 * clip the buttons and the input into one continuous-looking control
 * instead of three separately-boxed pieces.
 *
 * Loaded together with buy-now.css (both only on is_product()) — that
 * file no longer puts its own border-radius on .qty (only height/
 * box-sizing), this file owns the wrapper's shape instead.
 */

.woocommerce div.product form.cart .quantity {
	display: flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	overflow: hidden;
	box-sizing: border-box;
}

.woocommerce div.product form.cart .quantity .qty {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	border: 0;
	border-left: 1px solid #d1d5db;
	border-right: 1px solid #d1d5db;
	border-radius: 0;
	text-align: center;
	-moz-appearance: textfield;
}

/* Native number-input spinner, replaced by the +/− buttons below. */
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vdt-qty-btn {
	flex: 0 0 44px;
	border: 0;
	background: #fff;
	color: var( --global-palette3, #1d2327 );
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.vdt-qty-btn:hover,
.vdt-qty-btn:focus {
	background: #f5f6f7;
}
