/* NAROY — Pastilles couleur cliquables sur la fiche produit (remplace le
   menu déroulant natif de l'attribut Couleur quand une image ou un code
   couleur a été renseigné dans le panel). */

.nbm-color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 14px;
}

.nbm-swatch {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid rgba(0, 0, 0, .15);
	background-size: cover;
	background-position: center;
	background-color: #eee;
	padding: 0;
	cursor: pointer;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.nbm-swatch:hover { transform: scale(1.08); }
.nbm-swatch.is-selected {
	border-color: #113622;
	box-shadow: 0 0 0 2px rgba(17, 54, 34, .25);
}

.nbm-swatch-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	background: #999;
	text-transform: uppercase;
}

/* Petites pastilles dans les grilles de produits (aperçu des couleurs
   disponibles, sans avoir à ouvrir la fiche produit). */
.nbm-loop-color-dots {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0;
}

.nbm-loop-color-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .15);
	background-size: cover;
	background-position: center;
	background-color: #eee;
	display: inline-block;
}
