/*
 * Boutique : ce qui sert à plusieurs endroits. Le sélecteur de quantité (fiches produits et panier) et le
 * compteur du panier à côté du lien « Panier » des menus. Couleurs : variables de kit-styles (--kit-…, réglées dans le theme.json du site), avec une valeur de secours neutre.
 */
.kit-boutique-sr,
.kit-panier-compteur .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Compteur du panier : une pastille de la couleur d'accent après « Panier » */
.kit-panier-compteur {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--kit-accent, var(--wp--preset--color--accent, #1e1e1e)); /* Toutes les pages : kit-styles peut manquer. */
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	vertical-align: 1px;
}
.kit-panier-compteur[hidden] {
	display: none;
}

/* Sélecteur de quantité : − / nombre / +, trois zones de 44 px */
.kit-qte {
	display: inline-flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid var(--kit-trait-champ, rgba(0, 0, 0, 0.35));
	border-radius: 999px;
	background: #fff;
	color: var(--kit-texte, #1e1e1e);
	overflow: hidden;
}
.kit-qte button {
	flex: none;
	width: 44px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}
.kit-qte button:hover:not(:disabled) {
	background: var(--kit-fond-doux, #f0f0f0);
}
.kit-qte button:disabled {
	opacity: 0.35;
	cursor: default;
}
.kit-qte input {
	width: 40px;
	min-width: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.kit-qte input::-webkit-outer-spin-button,
.kit-qte input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.kit-qte button:focus-visible,
.kit-qte input:focus-visible {
	outline: 2px solid var(--kit-accent, #1e1e1e);
	outline-offset: -2px;
	border-radius: 999px;
}
