/**
 * Степпер количества на карточке витрины вендора (контекст .figma-product-card).
 */

.figma-product-card__cart-slot .figma-product-card__qty {
	box-sizing: border-box;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-height: 48px;
	width: 100%;
	margin: 0;
	padding: 0 8px;
	background: #3b3b3b;
	border-radius: 100px;
	border: none;
}

.figma-product-card__cart-slot .figma-product-card__qty--busy {
	pointer-events: none;
	opacity: 0.65;
}

.figma-product-card__cart-slot .figma-product-card__qty .minus,
.figma-product-card__cart-slot .figma-product-card__qty .plus {
	flex-shrink: 0;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #ffda18;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.figma-product-card__cart-slot .figma-product-card__qty .minus:hover,
.figma-product-card__cart-slot .figma-product-card__qty .plus:hover {
	opacity: 0.88;
}

.figma-product-card__cart-slot .figma-product-card__qty .minus:focus-visible,
.figma-product-card__cart-slot .figma-product-card__qty .plus:focus-visible {
	outline: 2px solid #ffda18;
	outline-offset: 2px;
}

.figma-product-card__cart-slot .figma-product-card__qty .minus:disabled,
.figma-product-card__cart-slot .figma-product-card__qty .plus:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.figma-product-card__cart-slot .figma-product-card__qty .qty-value {
	box-sizing: border-box;
	min-width: 1.5ch;
	text-align: center;
	color: #ffffff;
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.figma-product-card__cart-slot .add_to_cart_button.loading {
	opacity: 0.7;
	pointer-events: none;
}
