/* Onset — contrôle quantité + ajout panier sur les cartes de l'aperçu */
.onset-atco {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	margin-top: 10px;
}

.onset-atco__qty {
	display: inline-flex;
	align-items: stretch;
	flex: 0 0 auto;
	border: 2px solid rgba(0, 0, 0, .1);
	border-radius: 3px;
	overflow: hidden;
	background: #fff;
}

.onset-atco__step {
	width: 34px;
	border: 0;
	background: transparent;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	color: #223046;
	transition: background-color .15s ease-in-out;
}

.onset-atco__step:hover {
	background: rgba(0, 0, 0, .06);
}

.onset-atco__input {
	width: 46px;
	border: 0;
	text-align: center;
	font-size: 14px;
	line-height: 1;
	color: #223046;
	-moz-appearance: textfield;
	appearance: textfield;
}

.onset-atco__input:focus {
	outline: none;
}

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

.onset-atco__btn {
	flex: 1 1 110px;
	min-width: 110px;
	margin: 0 !important;
}

.onset-atco__btn.loading {
	opacity: .75;
}

.onset-atco__btn.added {
	background-color: #f8951d !important;
	color: #fff !important;
	border-color: transparent !important;
}

.onset-atco .added_to_cart {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	text-decoration: underline;
}

/* Résultats de la recherche YITH */
.search-result-item .onset-atco {
	margin-top: 6px;
}

.search-result-item .onset-atco__btn {
	flex-basis: 96px;
	min-width: 96px;
}
