/* =============================================================================
   Touchy Idea – Accueil et jeux
   Auvent, bocaux du Hero, rayons. D'après la maquette « Page Accueil v6 ».

   Tout est préfixé .tia et doublé d'une classe racine : Divi stylise les
   titres, paragraphes et images avec des sélecteurs simples (h3, p, img) que
   deux classes suffisent à battre, sans !important.
   ============================================================================= */

.tia {
	--tia-ink: #2D1B47;
	--tia-plum-800: #2D1B47;
	--tia-plum-700: #4A2F70;
	--tia-plum-600: #66448F;
	--tia-plum-100: #EEDDF8;
	--tia-cherry: #FF6FA5;
	--tia-cherry-700: #C84372;
	--tia-prix: #C84372;
	--tia-mauve: #6B5B82;
	--tia-mauve-400: #A99CB7;
	--tia-creme: #F8F7F1;
	--tia-blanc: #FFFFFF;
	--tia-bord: #EFECE3;
	--tia-font-display: "Caveat Brush", "Comic Sans MS", cursive;
	--tia-sh-1: 0 1px 2px rgba(45, 27, 71, 0.05);
	--tia-sh-2: 0 2px 8px rgba(45, 27, 71, 0.06), 0 1px 2px rgba(45, 27, 71, 0.04);
	--tia-sh-3: 0 8px 24px rgba(45, 27, 71, 0.08), 0 2px 4px rgba(45, 27, 71, 0.04);
	--tia-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--tia-out: cubic-bezier(0.16, 1, 0.3, 1);
	--tia-focus: 0 0 0 4px rgba(255, 111, 165, 0.32);
	box-sizing: border-box;
	color: var(--tia-ink);
}

.tia *,
.tia *::before,
.tia *::after {
	box-sizing: border-box;
}

.tia .tia-icone {
	display: block;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
}

.tia .tia-lucide {
	display: block;
	font-family: ETmodules !important;
	font-style: normal;
	font-weight: 400 !important;
	font-size: 1em;
	line-height: 1;
	text-transform: none;
	speak: never;
	-webkit-font-smoothing: antialiased;
}

.tia .tia-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes tia-sway {
	0%, 100% { transform: rotate(-2.5deg); }
	50% { transform: rotate(2.5deg); }
}

@keyframes tia-swing {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(8deg); }
	60% { transform: rotate(-5deg); }
	85% { transform: rotate(2deg); }
}

/* Propriété translate (et pas transform) : elle se cumule avec la rotation de
   l'étiquette et le survol du pot au lieu de les écraser. */
@keyframes tia-bocal-in {
	from { opacity: 0; translate: 0 24px; }
	to { opacity: 1; translate: 0 0; }
}

/* =============================================================================
   Auvent — toile rayée + festons à ombre plate
   --h : hauteur des rayures, --s : largeur d'une rayure (= d'un feston)
   --tia-toile / --tia-toile2 : les deux couleurs des rayures
   --tuck : longueur des tiges cachée derrière la toile
   ============================================================================= */

.tia-auvent {
	--h: 60px;
	--s: 44px;
	--half: calc(var(--s) / 2);
	--tuck: calc(var(--s) + 8px);
	--tia-toile2: var(--tia-creme);
	position: relative;
	z-index: 3;
	display: flow-root;
	line-height: 0;
}

.tia-auvent.tia-auvent--petit {
	--h: 44px;
	--s: 26px;
}

@media (max-width: 639px) {
	.tia-auvent.tia-auvent--grand {
		--h: 40px;
		--s: 30px;
	}
}

.tia-auvent.tia-auvent--debord {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* Toile et festons passent devant la pancarte : ses tiges filent dessous. */
.tia-auvent .tia-auvent__toile,
.tia-auvent .tia-auvent__festons {
	position: relative;
	z-index: 2;
	display: block;
}

.tia-auvent .tia-auvent__toile {
	height: var(--h);
	background: repeating-linear-gradient(90deg, var(--tia-toile) 0 var(--s), var(--tia-toile2) var(--s) calc(var(--s) * 2));
}

/* Quatre calques : festons des deux couleurs, puis leurs ombres décalées de 4 px. */
.tia-auvent .tia-auvent__festons {
	height: calc(var(--s) + 5px);
	margin-top: calc(-1 * var(--half) - 1px);
	background:
		radial-gradient(circle at var(--half) var(--half), var(--tia-toile) 0 calc(var(--half) - 0.5px), transparent calc(var(--half) + 0.5px)) 0 1px / calc(var(--s) * 2) var(--s) repeat-x,
		radial-gradient(circle at var(--half) var(--half), var(--tia-toile2) 0 calc(var(--half) - 0.5px), transparent calc(var(--half) + 0.5px)) var(--s) 1px / calc(var(--s) * 2) var(--s) repeat-x,
		radial-gradient(circle at var(--half) var(--half), rgba(45, 27, 71, 0.14) 0 calc(var(--half) - 0.5px), transparent calc(var(--half) + 0.5px)) 0 5px / calc(var(--s) * 2) var(--s) repeat-x,
		radial-gradient(circle at var(--half) var(--half), rgba(45, 27, 71, 0.14) 0 calc(var(--half) - 0.5px), transparent calc(var(--half) + 0.5px)) var(--s) 5px / calc(var(--s) * 2) var(--s) repeat-x;
}

/* Pancarte — dans le flux par défaut : le module qui la contient la compte
   dans sa hauteur. Elle remonte sous la toile de la longueur cachée des tiges. */
.tia-auvent .tia-pancarte {
	position: relative;
	backface-visibility: hidden;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	margin: calc(-1 * var(--tuck)) clamp(18px, 8vw, 120px) 4px auto;
	transform-origin: 50% 0;
	line-height: 1;
}

.tia-auvent .tia-pancarte--gauche {
	margin-right: auto;
	margin-left: clamp(18px, 8vw, 120px);
}

.tia-auvent .tia-pancarte--centre {
	margin-right: auto;
	margin-left: auto;
}

/* superposer="oui" (et les rayons) : hors du flux, par-dessus ce qui suit. */
.tia-auvent .tia-pancarte--flottante {
	position: absolute;
	top: calc(100% - var(--tuck));
	right: clamp(18px, 8vw, 120px);
	margin: 0;
}

.tia-auvent .tia-pancarte--flottante.tia-pancarte--gauche {
	right: auto;
	left: clamp(18px, 8vw, 120px);
}

.tia-auvent .tia-pancarte--flottante.tia-pancarte--centre {
	right: 0;
	left: 0;
	margin: 0 auto;
}

.tia-auvent .tia-pancarte--continu {
	animation: tia-sway 5s ease-in-out infinite;
}

.tia-auvent:hover .tia-pancarte--survol,
.tia-rayon:hover .tia-pancarte--survol {
	animation: tia-swing 900ms var(--tia-out);
}

.tia-pancarte .tia-pancarte__ficelles {
	display: flex;
	justify-content: space-between;
	width: 84px;
}

.tia-pancarte .tia-pancarte__ficelles > span {
	display: none;
}

/* Les deux tiges dessinées par un seul élément : même position sub-pixel,
   donc même épaisseur à l'écran (deux traits séparés pouvaient différer). */
.tia-pancarte .tia-pancarte__ficelles {
	--tige: var(--tia-plum-800);
	height: calc(26px + var(--tuck));
	background: linear-gradient(90deg, var(--tige) 0 2px, transparent 2px calc(100% - 2px), var(--tige) calc(100% - 2px));
}

.tia-pancarte .tia-pancarte__texte {
	display: block;
	padding: 9px 18px 8px;
	border-radius: 14px;
	background: var(--tia-pancarte);
	box-shadow: 0 4px 0 var(--tia-plum-800);
	font-family: var(--tia-font-display);
	font-weight: 400;
	font-size: clamp(20px, 2.4vw, 27px);
	line-height: 1;
	color: var(--tia-ink);
	white-space: nowrap;
}

.tia-auvent--petit .tia-pancarte.tia-pancarte--flottante {
	right: 20px;
}

.tia-auvent--petit .tia-pancarte__ficelles {
	width: 40px;
}

.tia-auvent--petit .tia-pancarte__ficelles {
	--tige: var(--tia-mauve);
	height: calc(12px + var(--tuck));
}

.tia-auvent--petit .tia-pancarte__texte {
	padding: 4px 10px;
	border-radius: 9px;
	box-shadow: 0 3px 0 var(--tia-mauve);
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--tia-plum-700);
}

/* =============================================================================
   Bocaux du Hero
   Une seule grille : ligne 1 les pots, ligne 2 l'étagère (collée dessous),
   ligne 3 les étiquettes. Chaque bocal couvre les trois lignes et les
   partage avec ses voisins (subgrid) : pots alignés sur l'étagère, étiquettes
   alignées entre elles.
   ============================================================================= */

.tia.tia-bocaux {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

.tia-bocaux .tia-bocaux__rangee {
	display: grid;
	grid-template-columns: repeat(var(--tia-n, 3), minmax(0, 1fr));
	grid-template-rows: auto auto auto;
	column-gap: clamp(20px, 3vw, 40px);
	row-gap: 0;
	padding-top: 44px;
}

.tia-bocaux .tia-bocaux__etagere {
	position: relative;
	z-index: 1;
	grid-row: 2;
	grid-column: 1 / -1;
	display: block;
	height: 10px;
	margin: 0 -10px;
	border-radius: 6px;
	background: var(--tia-plum-600);
	box-shadow: 0 4px 0 var(--tia-plum-800);
}

.tia .tia-bocal {
	--jr: clamp(40px, 4.4vw, 52px);
	position: relative;
	display: grid;
	grid-row: 1 / span 3;
	grid-column: var(--tia-col, auto);
	grid-template-rows: subgrid;
	justify-items: center;
	min-width: 0;
	color: var(--tia-ink);
	text-decoration: none;
	scroll-snap-align: start;
	-webkit-tap-highlight-color: transparent;
}

/* Entrée animée, pot puis étiquette. backwards, pas both : un état final
   figé écraserait le survol. */
.tia-bocal .tia-bocal__pot,
.tia-bocal .tia-bocal__etiquette {
	animation: tia-bocal-in 560ms var(--tia-spring) calc(var(--tia-i, 0) * 90ms) backwards;
}

.tia-bocal .tia-bocal__etiquette {
	animation-delay: calc(var(--tia-i, 0) * 90ms + 140ms);
}

.tia .tia-bocal:focus-visible {
	outline: none;
}

.tia .tia-bocal:focus-visible .tia-bocal__pot {
	border-radius: 20px;
	box-shadow: var(--tia-focus);
}

/* Le pot : c'est lui qui monte au survol, l'étiquette reste collée.
   isolation : les bords et reflets du verre (z-index 3) restent dans le pot
   et ne passent plus devant l'étiquette. */
.tia-bocal .tia-bocal__pot {
	position: relative;
	z-index: 1;
	isolation: isolate;
	grid-row: 1;
	align-self: end;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 360px;
	transition: transform 280ms var(--tia-spring);
}

.tia-bocal:hover .tia-bocal__pot,
.tia-bocal:focus-visible .tia-bocal__pot {
	transform: translateY(-10px);
}

.tia-bocal:active .tia-bocal__pot {
	transform: translateY(-4px) scale(0.98);
}

.tia-bocal .tia-bocal__bulle {
	position: absolute;
	top: -36px;
	left: 50%;
	z-index: 5;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--tia-cherry);
	color: var(--tia-blanc);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.4;
	white-space: nowrap;
	box-shadow: var(--tia-sh-1);
	opacity: 0;
	transform: translate(-50%, 8px);
	pointer-events: none;
	transition: transform 300ms var(--tia-spring), opacity 200ms var(--tia-out);
}

.tia-bocal:hover .tia-bocal__bulle,
.tia-bocal:focus-visible .tia-bocal__bulle {
	opacity: 1;
	transform: translate(-50%, 0);
}

.tia-bocal .tia-bocal__couvercle {
	position: relative;
	z-index: 3;
	display: block;
	width: 64%;
	height: 30px;
	border-radius: 999px 999px 10px 10px;
	background: var(--tia-couvercle);
	box-shadow: inset 0 -5px 0 rgba(45, 27, 71, 0.14), var(--tia-sh-1);
	transform-origin: 10% 100%;
	transition: transform 340ms var(--tia-spring);
}

.tia-bocal:hover .tia-bocal__couvercle,
.tia-bocal:focus-visible .tia-bocal__couvercle {
	transform: translate(-10px, -26px) rotate(-24deg);
}

.tia-bocal .tia-bocal__bouton {
	position: absolute;
	top: -13px;
	left: 50%;
	display: block;
	width: 24%;
	height: 16px;
	transform: translateX(-50%);
	border-radius: 999px 999px 6px 6px;
	background: var(--tia-couvercle);
	box-shadow: inset 0 -4px 0 rgba(45, 27, 71, 0.16), inset 3px 3px 0 rgba(255, 255, 255, 0.35);
}

.tia-bocal .tia-bocal__col {
	display: block;
	width: 54%;
	height: 10px;
	background: rgba(255, 255, 255, 0.9);
	border-left: 2px solid var(--tia-plum-100);
	border-right: 2px solid var(--tia-plum-100);
}

.tia-bocal .tia-bocal__verre {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.2;
}

/* L'intérieur du bocal : teinte, photo et tas de bonbons, rognés à la forme. */
.tia-bocal .tia-bocal__fond {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	border-radius: var(--jr) var(--jr) calc(var(--jr) + 10px) calc(var(--jr) + 10px);
	background: var(--tia-verre);
	overflow: hidden;
}

/* Le contour blanc, opaque, posé par-dessus et plus large d'un pixel que
   l'intérieur : aucun liseré ne peut passer entre les deux. */
.tia-bocal .tia-bocal__bord {
	position: absolute;
	inset: -1px;
	z-index: 3;
	display: block;
	border-radius: calc(var(--jr) + 1px) calc(var(--jr) + 1px) calc(var(--jr) + 11px) calc(var(--jr) + 11px);
	box-shadow: inset 0 0 0 11px #FFFFFF, var(--tia-sh-2);
	pointer-events: none;
}

.tia-bocal .tia-bocal__tas {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	height: 26%;
	pointer-events: none;
	transition: transform 340ms var(--tia-spring);
}

.tia-bocal:hover .tia-bocal__tas,
.tia-bocal:focus-visible .tia-bocal__tas {
	transform: translateY(-4px);
}

.tia-bocal .tia-bonbon {
	position: absolute;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 999px;
	box-shadow: inset -3px -4px 0 rgba(45, 27, 71, 0.12), inset 3px 3px 0 rgba(255, 255, 255, 0.5);
}

.tia .tia-bocal__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	/* Le blanc des photos produit prend la teinte du verre. */
	mix-blend-mode: multiply;
}

.tia .tia-bocal__photo--contenir {
	padding: 12% 10% 20%;
	object-fit: contain;
}

.tia-bocal .tia-bocal__lueur,
.tia-bocal .tia-bocal__eclat {
	position: absolute;
	inset: 3px;
	display: block;
	border-radius: calc(var(--jr) - 3px) calc(var(--jr) - 3px) calc(var(--jr) + 7px) calc(var(--jr) + 7px);
	pointer-events: none;
}

/* Lueur : lumière à gauche, ombre prune à droite et en bas. Elle couvre
   toute l'épaisseur du contour blanc, jusqu'au bord extérieur (même boîte
   que .tia-bocal__bord) : aucune bande ne reste d'un blanc uniforme. */
.tia-bocal .tia-bocal__lueur {
	inset: -1px;
	z-index: 4;
	border-radius: calc(var(--jr) + 1px) calc(var(--jr) + 1px) calc(var(--jr) + 11px) calc(var(--jr) + 11px);
	box-shadow:
		inset 0 0 14px 4px rgba(255, 255, 255, 0.5),
		inset 14px 0 18px -10px rgba(255, 255, 255, 0.7),
		inset -12px 0 16px -10px rgba(102, 68, 143, 0.28),
		inset 0 -10px 14px -8px rgba(102, 68, 143, 0.22);
}

/* Reflets en coin, fondus vers la droite et vers le bas. */
.tia-bocal .tia-bocal__reflet {
	position: absolute;
	z-index: 5;
	top: 17px;
	left: 17px;
	display: block;
	width: 42%;
	height: 58%;
	border-top: 7px solid rgba(255, 255, 255, 0.92);
	border-left: 7px solid rgba(255, 255, 255, 0.92);
	border-top-left-radius: calc(var(--jr) - 16px);
	filter: blur(0.4px) drop-shadow(0 0 1px rgba(45, 27, 71, 0.16));
	-webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 100%), linear-gradient(180deg, #000 30%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, #000 35%, transparent 100%), linear-gradient(180deg, #000 30%, transparent 100%);
	mask-composite: intersect;
	pointer-events: none;
}

.tia-bocal .tia-bocal__reflet--petit {
	top: 33px;
	left: 33px;
	width: 22%;
	height: 26%;
	border-top-width: 3px;
	border-left-width: 3px;
	border-color: rgba(255, 255, 255, 0.6);
	border-top-left-radius: calc(var(--jr) - 26px);
	filter: none;
	-webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 100%), linear-gradient(180deg, #000 20%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 20%, transparent 100%), linear-gradient(180deg, #000 20%, transparent 100%);
}

/* Filets de lumière : à droite, et au fond. */
.tia-bocal .tia-bocal__filet {
	position: absolute;
	z-index: 5;
	display: block;
	border-radius: 999px;
	pointer-events: none;
}

.tia-bocal .tia-bocal__filet--droite {
	top: 22%;
	right: 19px;
	width: 5px;
	height: 38%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0));
}

.tia-bocal .tia-bocal__filet--bas {
	right: 18%;
	bottom: 15px;
	left: 18%;
	height: 5px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75) 25%, rgba(255, 255, 255, 0.75) 75%, rgba(255, 255, 255, 0));
}

/* Éclat : une bande de lumière traverse le verre au survol, d'un seul
   passage. Au repos elle attend hors du bocal et y revient sans transition. */
.tia-bocal .tia-bocal__eclat {
	z-index: 6;
	overflow: hidden;
}

.tia-bocal .tia-bocal__eclat > span {
	position: absolute;
	top: -10%;
	bottom: -10%;
	left: 0;
	display: block;
	width: 34%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0));
	transform: translateX(-120%) skewX(-16deg);
	transition: transform 0ms;
}

.tia-bocal:hover .tia-bocal__eclat > span,
.tia-bocal:focus-visible .tia-bocal__eclat > span {
	transform: translateX(360%) skewX(-16deg);
	transition: transform 900ms var(--tia-out);
}


/* L'étiquette collée sous l'étagère, un peu de travers : papier blanc (le
   fond du site est crème),
   coins légèrement décollés (ombre en dessous), ruban adhésif aux bords
   déchirés, à la couleur du couvercle. Le ruban est un enfant de
   l'étiquette : il tourne avec elle. */
.tia-bocal .tia-bocal__etiquette {
	position: relative;
	z-index: 3;
	grid-row: 3;
	align-self: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 92%;
	margin-top: -14px;
	padding: 14px 18px 12px;
	border-radius: 3px;
	background: #FFFFFF;
	/* Contour à peine marqué + ombre qui ne déborde que vers le bas : le
	   papier semble décollé du fond par le bas. */
	box-shadow: 0 0 0 1px rgba(45, 27, 71, 0.05), 0 1px 1px rgba(45, 27, 71, 0.08), 0 8px 10px -7px rgba(45, 27, 71, 0.35);
	text-align: center;
	transform: rotate(var(--tia-rot, -1.5deg));
	transition: transform 300ms var(--tia-spring);
}

/* Ruban adhésif : opaque, bords courts déchirés en dents irrégulières. */
.tia-bocal .tia-bocal__etiquette::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: -10px;
	left: 50%;
	width: 64px;
	height: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%),
		var(--tia-couvercle);
	transform: translateX(-50%);
	-webkit-clip-path: polygon(4% 0, 96% 0, 100% 12%, 95% 24%, 99% 38%, 94% 52%, 100% 66%, 95% 80%, 98% 92%, 94% 100%, 6% 100%, 1% 88%, 5% 76%, 0 62%, 6% 48%, 1% 34%, 5% 20%, 0 8%);
	clip-path: polygon(4% 0, 96% 0, 100% 12%, 95% 24%, 99% 38%, 94% 52%, 100% 66%, 95% 80%, 98% 92%, 94% 100%, 6% 100%, 1% 88%, 5% 76%, 0 62%, 6% 48%, 1% 34%, 5% 20%, 0 8%);
}

.tia-bocal:hover .tia-bocal__etiquette,
.tia-bocal:focus-visible .tia-bocal__etiquette {
	transform: rotate(0);
}

.tia-bocal .tia-bocal__mention {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tia-plum-600);
}

.tia-bocal .tia-bocal__nom {
	font-family: var(--tia-font-display);
	font-weight: 400;
	font-size: clamp(26px, 2.8vw, 32px);
	line-height: 1;
	color: var(--tia-ink);
}

.tia-bocal .tia-bocal__prix {
	margin-top: 8px;
	font-weight: 800;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--tia-prix);
}

.tia-bocal .tia-bocal__prix del {
	margin-right: 6px;
	font-weight: 600;
	font-size: 13px;
	color: var(--tia-mauve-400);
	opacity: 1;
}

.tia-bocal .tia-bocal__prix ins {
	text-decoration: none;
	background: none;
}

@media (max-width: 639px) {
	.tia-bocaux .tia-bocaux__rangee {
		grid-template-columns: repeat(var(--tia-n, 3), min(290px, 74vw));
		column-gap: 18px;
		margin: 0 -16px;
		/* Un carrousel rogne aussi en hauteur : on lui donne 100 px de marge
		   au-dessus (couvercle ouvert + bulle), compensés par une marge
		   négative pour ne rien décaler. */
		margin-top: -56px;
		padding: 100px 16px 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
	}

	.tia-bocaux .tia-bocaux__rangee::-webkit-scrollbar {
		display: none;
	}

	.tia-bocaux .tia-bocaux__etagere {
		margin: 0;
	}
}

/* =============================================================================
   Rayons
   ============================================================================= */

.tia-rayons .tia-rayons__grille {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 26px);
	padding-top: 6px;
}

@media (max-width: 1039px) {
	.tia-rayons .tia-rayons__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tia .tia-rayon {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	background: var(--tia-blanc);
	border: 1px solid var(--tia-bord);
	border-radius: 28px;
	box-shadow: var(--tia-sh-1);
	overflow: hidden;
	/* La pancarte vit sur son propre calque (animation) : sans calque pour
	   la carte elle-même, Safari et parfois Chrome oublient d'appliquer
	   l'arrondi au rognage jusqu'au prochain survol. isolation + translateZ
	   donnent un calque à la carte, et l'arrondi est toujours appliqué. */
	isolation: isolate;
	transform: translateZ(0);
	scroll-snap-align: start;
	transition: transform 260ms var(--tia-spring), box-shadow 260ms var(--tia-out);
}

.tia .tia-rayon:hover {
	transform: translateY(-6px) translateZ(0);
	box-shadow: var(--tia-sh-3);
}

.tia-rayon .tia-rayon__corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	/* 50 px en haut : le titre commence sous la pancarte du nombre de
	   produits, qui pend de l'auvent. */
	padding: 50px clamp(18px, 2.2vw, 24px) 22px;
}

.tia-rayon .tia-rayon__entete {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tia-rayon .tia-rayon__pastille {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 999px;
	background: var(--tia-teinte);
	color: var(--tia-plum-700);
	font-size: 25px;
}

.tia-rayon h3.tia-rayon__titre {
	margin: 0;
	padding: 0;
	font-family: var(--tia-font-display);
	font-weight: 400;
	font-size: clamp(32px, 3.4vw, 38px);
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tia-ink);
}

.tia-rayon p.tia-rayon__pour {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tia-mauve);
	text-wrap: pretty;
}

.tia-rayon .tia-rayon__pepite {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 2px dotted var(--tia-plum-100);
}

.tia-rayon .tia-rayon__vignette {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 88px;
	height: 88px;
	border-radius: 20px;
	background: var(--tia-teinte);
	overflow: hidden;
}

.tia .tia-rayon__photo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	mix-blend-mode: multiply;
}

.tia-rayon .tia-rayon__pepite-texte {
	flex: 1;
	min-width: 0;
}

.tia-rayon .tia-rayon__etiquette {
	display: block;
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #C2BBA8; /* mist-300 */
}

.tia-rayon a.tia-rayon__pepite-nom {
	display: block;
	margin: 0 0 3px;
	font-family: var(--tia-font-display);
	font-weight: 400;
	font-size: 25px;
	line-height: 1;
	color: var(--tia-ink);
	text-decoration: none;
}

.tia-rayon a.tia-rayon__pepite-nom:hover {
	text-decoration: underline;
	text-decoration-color: var(--tia-cherry);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.tia-rayon .tia-rayon__pourquoi {
	display: block;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--tia-mauve);
	text-wrap: pretty;
}

.tia-rayon a.tia-rayon__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	margin-top: auto;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--tia-plum-600);
	color: var(--tia-blanc);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 140ms var(--tia-spring);
}

.tia-rayon .tia-rayon__pepite + a.tia-rayon__bouton {
	margin-top: 0;
}

.tia-rayon a.tia-rayon__bouton:hover {
	color: var(--tia-blanc);
	transform: translateY(-2px);
}

.tia-rayon a.tia-rayon__bouton:active {
	transform: scale(0.97);
}

.tia-rayon a.tia-rayon__bouton .tia-icone {
	font-size: 16px;
	stroke-width: 2.25;
}

.tia-rayon a:focus-visible {
	outline: none;
	box-shadow: var(--tia-focus);
}

@media (max-width: 639px) {
	.tia-rayons .tia-rayons__grille {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: min(300px, 84vw);
		gap: 14px;
		margin: 0 -16px;
		padding: 6px 16px 18px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
	}

	.tia-rayons .tia-rayons__grille::-webkit-scrollbar {
		display: none;
	}

}

/* =============================================================================
   Comptoir — étagères à boutons, cartes produit
   Les boutons sont des boutons radio : le choix d'étagère est du pur CSS,
   il marche avant même que le JavaScript soit chargé. Jusqu'à 6 étagères.
   ============================================================================= */

.tia-comptoir .tia-comptoir__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.tia-comptoir .tia-comptoir__onglets {
	display: flex;
	gap: 8px;
	padding: 2px 0 18px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tia-comptoir .tia-comptoir__onglets::-webkit-scrollbar {
	display: none;
}

.tia-comptoir .tia-comptoir__onglet {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--tia-blanc);
	box-shadow: inset 0 0 0 1px var(--tia-plum-100);
	color: var(--tia-plum-700);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	transition: background 160ms var(--tia-out), color 160ms var(--tia-out), box-shadow 160ms var(--tia-out);
}

.tia-comptoir .tia-comptoir__onglet .tia-icone,
.tia-comptoir .tia-comptoir__onglet .tia-lucide {
	font-size: 16px;
}

.tia-comptoir .tia-comptoir__onglet:hover {
	background: #F7EEFC;
}

.tia-comptoir .tia-comptoir__radio:nth-of-type(1):checked ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(1),
.tia-comptoir .tia-comptoir__radio:nth-of-type(2):checked ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(2),
.tia-comptoir .tia-comptoir__radio:nth-of-type(3):checked ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(3),
.tia-comptoir .tia-comptoir__radio:nth-of-type(4):checked ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(4),
.tia-comptoir .tia-comptoir__radio:nth-of-type(5):checked ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(5),
.tia-comptoir .tia-comptoir__radio:nth-of-type(6):checked ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(6) {
	background: var(--tia-plum-600);
	box-shadow: var(--tia-sh-1);
	color: var(--tia-blanc);
}

.tia-comptoir .tia-comptoir__radio:nth-of-type(1):focus-visible ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(1),
.tia-comptoir .tia-comptoir__radio:nth-of-type(2):focus-visible ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(2),
.tia-comptoir .tia-comptoir__radio:nth-of-type(3):focus-visible ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(3),
.tia-comptoir .tia-comptoir__radio:nth-of-type(4):focus-visible ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(4),
.tia-comptoir .tia-comptoir__radio:nth-of-type(5):focus-visible ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(5),
.tia-comptoir .tia-comptoir__radio:nth-of-type(6):focus-visible ~ .tia-comptoir__onglets > .tia-comptoir__onglet:nth-child(6) {
	box-shadow: var(--tia-focus);
}

.tia-comptoir .tia-comptoir__etagere {
	display: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding-top: 6px;
}

.tia-comptoir .tia-comptoir__radio:nth-of-type(1):checked ~ .tia-comptoir__etageres > .tia-comptoir__etagere[data-i="1"],
.tia-comptoir .tia-comptoir__radio:nth-of-type(2):checked ~ .tia-comptoir__etageres > .tia-comptoir__etagere[data-i="2"],
.tia-comptoir .tia-comptoir__radio:nth-of-type(3):checked ~ .tia-comptoir__etageres > .tia-comptoir__etagere[data-i="3"],
.tia-comptoir .tia-comptoir__radio:nth-of-type(4):checked ~ .tia-comptoir__etageres > .tia-comptoir__etagere[data-i="4"],
.tia-comptoir .tia-comptoir__radio:nth-of-type(5):checked ~ .tia-comptoir__etageres > .tia-comptoir__etagere[data-i="5"],
.tia-comptoir .tia-comptoir__radio:nth-of-type(6):checked ~ .tia-comptoir__etageres > .tia-comptoir__etagere[data-i="6"] {
	display: grid;
}

/* Nombre de produits visibles : des lignes entières, 4 par ligne sur
   ordinateur, 3 sur tablette, sur 1 ou 2 lignes. Une dernière ligne
   incomplète est masquée, sauf si c'est la seule. Les cartes masquées ne
   chargent pas leur image. */
@media (min-width: 1080px) {
	.tia-comptoir--lignes-1 .tia-comptoir__etagere > .tia-carte:nth-child(n+5),
	.tia-comptoir--lignes-2 .tia-comptoir__etagere > .tia-carte:nth-child(n+9),
	.tia-comptoir .tia-comptoir__etagere > .tia-carte:nth-child(4n+1):nth-last-child(-n+3):not(:first-child),
	.tia-comptoir .tia-comptoir__etagere > .tia-carte:nth-child(4n+1):nth-last-child(-n+3):not(:first-child) ~ .tia-carte {
		display: none;
	}
}

@media (min-width: 760px) and (max-width: 1079px) {
	.tia-comptoir--lignes-1 .tia-comptoir__etagere > .tia-carte:nth-child(n+4),
	.tia-comptoir--lignes-2 .tia-comptoir__etagere > .tia-carte:nth-child(n+7),
	.tia-comptoir .tia-comptoir__etagere > .tia-carte:nth-child(3n+1):nth-last-child(-n+2):not(:first-child),
	.tia-comptoir .tia-comptoir__etagere > .tia-carte:nth-child(3n+1):nth-last-child(-n+2):not(:first-child) ~ .tia-carte {
		display: none;
	}
}

/* Téléphone : un carrousel, autant de cartes que sur ordinateur. */
@media (max-width: 759px) {
	.tia-comptoir--lignes-1 .tia-comptoir__etagere > .tia-carte:nth-child(n+5),
	.tia-comptoir--lignes-2 .tia-comptoir__etagere > .tia-carte:nth-child(n+9) {
		display: none;
	}
}

@media (max-width: 1079px) {
	.tia-comptoir .tia-comptoir__etagere {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 759px) {
	.tia-comptoir .tia-comptoir__etagere {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: min(232px, 64vw);
		gap: 14px;
		margin: 0 -16px;
		padding: 6px 16px 18px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
	}

	.tia-comptoir .tia-comptoir__etagere::-webkit-scrollbar {
		display: none;
	}
}

/* Liste déroulante des étagères (téléphone) : même allure que le tri de la
   page boutique. Révélée par le script ; sans lui, les boutons restent. */
.tia-comptoir select.tia-comptoir__choix {
	display: none;
	width: 100%;
	min-height: 46px;
	margin: 0 0 16px;
	padding: 0 40px 0 17px;
	border: 1px solid #DDD7C8;
	border-radius: 999px;
	background-color: var(--tia-blanc);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6580' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
	background-position: right 15px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	color: var(--tia-ink);
	font: inherit;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 180ms var(--tia-out), box-shadow 180ms var(--tia-out);
}

.tia-comptoir select.tia-comptoir__choix:hover {
	border-color: var(--tia-plum-600);
}

.tia-comptoir select.tia-comptoir__choix:focus {
	border-color: #8662B0;
	box-shadow: 0 0 0 4px rgba(255, 111, 165, 0.2);
	outline: none;
}

@media (max-width: 759px) {
	.tia-comptoir--liste .tia-comptoir__onglets {
		display: none;
	}

	.tia-comptoir--liste select.tia-comptoir__choix {
		display: block;
	}
}

/* Carte produit : contenu de la maquette, styles des cartes de /boutique/. */
.tia .tia-carte {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	background: var(--tia-blanc);
	border: 1px solid var(--tia-bord);
	border-radius: 24px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	isolation: isolate;
	scroll-snap-align: start;
	transition: transform 240ms var(--tia-spring), box-shadow 240ms var(--tia-out);
}

.tia .tia-carte:hover {
	transform: scale(1.02);
	box-shadow: var(--tia-sh-3);
}

.tia-carte a.tia-carte__image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--tia-creme);
	overflow: hidden;
}

.tia .tia-carte__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.tia-carte .tia-macaron {
	position: absolute;
	z-index: 1;
	top: 12px;
	left: 12px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--tia-cherry);
	color: var(--tia-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
	pointer-events: none;
}

.tia-carte .tia-macaron--nouveau {
	background: #FFDD81;
}

.tia-carte .tia-macaron--bestseller {
	background: var(--tia-plum-600);
	color: var(--tia-blanc);
}

.tia-carte .tia-carte__corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 14px 16px 16px;
}

.tia-carte a.tia-carte__nom {
	display: -webkit-box;
	overflow: hidden;
	color: var(--tia-plum-700);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tia-carte a.tia-carte__nom:hover {
	color: var(--tia-plum-600);
}

.tia-carte .tia-carte__pied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.tia-carte .tia-carte__prix {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	line-height: 1;
}

.tia-carte .tia-carte__ancien {
	margin-bottom: 4px;
	color: #F49680;
	font-size: 14px;
	font-weight: 500;
}

.tia-carte .tia-carte__actuel {
	color: var(--tia-cherry);
	font-size: 30px;
	font-weight: 800;
	white-space: nowrap;
}

.tia-carte .tia-carte__actuel small {
	font-size: 14px;
	font-weight: 700;
}

/* Repli si le shortcode [ti_ajout_panier] du site n'existe pas. */
.tia-carte a.tia-carte__ajout {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: var(--tia-cherry);
	box-shadow: var(--tia-sh-1);
	color: var(--tia-blanc);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform 140ms var(--tia-spring);
}

.tia-carte a.tia-carte__ajout:hover {
	transform: translateY(-2px);
}

.tia-carte a.tia-carte__ajout.loading {
	opacity: 0.5;
}

.tia-carte .added_to_cart {
	display: none !important;
}

/* =============================================================================
   Carrousels (téléphone) — bonbons, indice « Glisse », bords fondus
   Posés par assets/rails.js sous chaque [data-tia-rail] qui déborde.
   ============================================================================= */

/* Bords fondus du côté où il reste à voir. */
.tia [data-tia-rail].tia-rail-actif {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 44px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 44px), transparent 100%);
}

.tia [data-tia-rail].tia-rail-actif.is-debut {
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent 100%);
	mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent 100%);
}

.tia [data-tia-rail].tia-rail-actif.is-fin {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px);
	mask-image: linear-gradient(90deg, transparent 0, #000 22px);
}

.tia [data-tia-rail].tia-rail-actif.is-debut.is-fin {
	-webkit-mask-image: none;
	mask-image: none;
}

.tia .tia-rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

.tia .tia-rail[hidden] {
	display: none;
}

.tia .tia-rail__bonbons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 9px;
	max-width: 100%;
}

/* Un bonbon par élément ; celui en cours s'étire en pilule. */
.tia .tia-rail__bonbon {
	position: relative;
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--c, #C897EA);
	box-shadow: inset -2px -2px 0 rgba(45, 27, 71, 0.14), inset 2px 2px 0 rgba(255, 255, 255, 0.55);
	cursor: pointer;
	opacity: 0.75;
	-webkit-appearance: none;
	appearance: none;
	transition: width 300ms var(--tia-spring), opacity 200ms var(--tia-out), transform 300ms var(--tia-spring);
}

/* Zone de toucher confortable autour d'un bonbon de 12 px. */
.tia .tia-rail__bonbon::after {
	content: "";
	position: absolute;
	inset: -10px -5px;
}

.tia .tia-rail__bonbon.is-actif {
	width: 32px;
	opacity: 1;
	transform: translateY(-1px);
}

.tia .tia-rail__bonbon:focus-visible {
	outline: none;
	box-shadow: var(--tia-focus);
}

.tia p.tia-rail__indice {
	display: flex;
	align-items: center;
	gap: 7px;
	max-height: 32px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: var(--tia-plum-700);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
	transition: opacity 400ms var(--tia-out), max-height 400ms var(--tia-out);
}

/* Premier geste fait : l'indice s'efface, les bonbons restent. */
.tia .tia-rail.is-vu p.tia-rail__indice {
	max-height: 0;
	opacity: 0;
}

.tia .tia-rail__main {
	display: block;
	width: 19px;
	height: 19px;
	color: var(--tia-cherry);
	transform-origin: 60% 90%;
	animation: tia-glisse 1.5s ease-in-out 0.8s 2;
}

.tia .tia-rail__main svg {
	display: block;
	width: 100%;
	height: 100%;
}

@keyframes tia-glisse {
	0%, 100% { transform: translateX(0) rotate(0); }
	30% { transform: translateX(-7px) rotate(-14deg); }
	65% { transform: translateX(4px) rotate(6deg); }
}

/* =============================================================================
   Message aux administrateurs quand un composant n'a rien à montrer
   ============================================================================= */

p.tia.tia-vide {
	margin: 0;
	padding: 14px 18px;
	border: 2px dashed var(--tia-plum-100);
	border-radius: 14px;
	background: var(--tia-blanc);
	font-size: 14px;
	line-height: 1.5;
	color: var(--tia-mauve);
}

/* =============================================================================
   Mouvement doux (réglage) et réduction des animations (système)
   ============================================================================= */

.tia.tia-doux,
.tia.tia-doux * {
	animation: none !important;
	transition-duration: 1ms !important;
}

/* Sans animation, l'éclat n'aurait pas de sens : on le retire. */
.tia.tia-doux .tia-bocal__eclat {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.tia .tia-bocal__eclat {
		display: none;
	}

	.tia,
	.tia * {
		animation: none !important;
		transition-duration: 1ms !important;
		scroll-behavior: auto !important;
	}
}
