/*
 * Quantity boxes (inc/cart.php, assets/cart/quantity.js). Site-wide: the mini cart is on every page.
 * Docs: docs/custom-code/child-theme.md
 */

/* The - or + that can't go further (the stock limit, or 1 on a product page). */
.woocommerce .quantity .glozin-qty-button.is-disabled {
	opacity: 0.3;
	cursor: not-allowed;
}
.woocommerce .quantity .glozin-qty-button.is-disabled:hover::before {
	background-color: transparent;
}

/* Mini cart: the edit and remove icons stay at the right of the row even when an item has no quantity box
   (WooCommerce hides it for products sold one per order). Before the quantity fix they fell under the price. */
.woocommerce-mini-cart-item__qty > .woocommerce-mini-cart-item__actions {
	margin-inline-start: auto;
}

/* "Only 1 in stock", after a press on a grey + (mini cart, cart page). */
.wb-qty-hint {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #2b2b2b;
}
.wb-qty-hint::before {
	content: "";
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background-color: var(--wb-info, #111);
	-webkit-mask: var(--wb-icon-info) center / contain no-repeat;
	mask: var(--wb-icon-info) center / contain no-repeat;
}
