/* LTDC Range-doudou : pastilles de tissu (fiche range-doudou uniquement, grille marquée par le script) */

.size-picker__grid.ltdc-rd-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.35rem;
}
.ltdc-rd-swatches .size-pill {
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.3rem;
	min-width: 68px;
	padding: 0.3rem 0.2rem 0.35rem;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--color-text);
	white-space: normal;
	line-height: 1.15;
}
.ltdc-rd-swatches .size-pill:hover { background: var(--color-bg-3); }
.ltdc-rd-sw {
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #e9e2d8 center / cover no-repeat;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.15s;
}
.ltdc-rd-sw--vide { background-image: none; }
.ltdc-rd-name { font-size: 0.74rem; font-weight: 500; text-align: center; }
/* coloris choisi : anneau autour de la pastille, nom en gras */
.ltdc-rd-swatches .size-pill.is-selected { background: transparent; color: var(--color-text); }
.ltdc-rd-swatches .size-pill.is-selected .ltdc-rd-sw { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-text); }
.ltdc-rd-swatches .size-pill.is-selected .ltdc-rd-name { font-weight: 700; }
.ltdc-rd-swatches .size-pill:focus-visible { outline: 2px solid var(--color-text); outline-offset: 2px; }
/* coloris épuisé : couleur gardée intacte (on doit la voir), simple trait en diagonale + mention « épuisé » ;
   reste cliquable pour voir la photo (le thème affiche alors « Rupture de stock » sur le bouton) */
.ltdc-rd-swatches .size-pill.is-epuise .ltdc-rd-sw { position: relative; }
.ltdc-rd-swatches .size-pill.is-epuise .ltdc-rd-sw::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 3px;
	bottom: 3px;
	width: 2px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 0 1px rgba(60, 50, 45, 0.35);
	transform: translateX(-50%) rotate(45deg);
}
.ltdc-rd-out { font-size: 0.66rem; color: var(--color-text-muted, #7a7067); margin-top: -0.15rem; }
.ltdc-rd-note { margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--color-text-muted, #7a7067); }
.ltdc-rd-note a { color: inherit; text-decoration: underline; }
