/**
 * MR Stiff Product Manual Tab — mini cart quantity controls.
 *
 * A compact − / input / + stepper for each mini cart line, sitting where
 * WooCommerce's "N × price" text normally is.
 */

.mspmt-mcq {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.mspmt-mcq__stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba( 0, 0, 0, .15 );
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.mspmt-mcq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	margin: 0;
	font-size: 15px;
	line-height: 1;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: background-color .15s ease;
}

.mspmt-mcq__btn:hover {
	background: rgba( 0, 0, 0, .06 );
}

.mspmt-mcq__btn:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.mspmt-mcq__input {
	width: 34px;
	height: 26px;
	padding: 0 2px;
	margin: 0;
	text-align: center;
	font-size: 13px;
	line-height: 26px;
	color: inherit;
	background: transparent;
	border: 0;
	border-left: 1px solid rgba( 0, 0, 0, .12 );
	border-right: 1px solid rgba( 0, 0, 0, .12 );
	border-radius: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.mspmt-mcq__input:focus {
	outline: none;
}

.mspmt-mcq__price {
	white-space: nowrap;
}

/* Dim the stepper while its AJAX update is in flight. */
.mspmt-mcq.is-loading {
	opacity: .55;
	pointer-events: none;
}
