/**
 * Editable quantity stepper on the block checkout order summary.
 * Matches the pink-accent field styling.
 */
.bjgc-qty {
	display: inline-flex;
	align-items: center;
	height: 34px;
	border: 1px solid #d5d7db;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	vertical-align: middle;
}

.bjgc-qty__btn {
	width: 32px;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	background: #f6f7f7;
	color: #2c3338;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.bjgc-qty__btn:hover {
	background: #e9ebee;
}

.bjgc-qty__input {
	width: 42px;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 14px;
	background: transparent;
	color: #23282d;
	-moz-appearance: textfield;
	appearance: textfield;
}

.bjgc-qty__input::-webkit-outer-spin-button,
.bjgc-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.bjgc-qty:focus-within {
	border-color: #e58f7c;
	box-shadow: 0 0 0 3px rgba(255, 150, 130, 0.28);
}

/* Full-width quantity row inside the summary item. */
.wc-block-components-order-summary-item {
	flex-wrap: wrap;
}

.bjgc-qty-row {
	flex: 0 0 100%;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.bjgc-qty-row__label {
	font-size: 13px;
	color: #50575e;
}

/* Hide the little quantity badge on the product image when our editable row is shown. */
.wc-block-components-order-summary-item:has(.bjgc-qty-row) .wc-block-components-order-summary-item__quantity {
	display: none;
}
