/* ==========================================================================
   Produits avec palier d’achat
   ========================================================================== */

.asmon-tier {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
	margin: 0.45rem 0 0;
	font-size: 0.8rem;
	line-height: 1.35;
	color: rgba(232, 222, 200, 0.78);
}

.asmon-tier__lock {
	flex: 0 0 auto;
	color: var(--asmon-accent, #c9a84c);
	overflow: visible;
}

.asmon-tier__shackle {
	transform-origin: 15.8px 10.5px;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.asmon-tier__text {
	flex: 1 1 auto;
	min-width: 0;
}

.asmon-tier.is-unlocked {
	color: var(--asmon-accent, #c9a84c);
}

.asmon-tier.is-unlocked .asmon-tier__shackle {
	transform: translateY(-2.2px) rotate(-28deg);
}

.asmon-tier.is-free {
	display: none;
}

/* Fiche produit et aperçu : encart plus visible. */
.asmon-tier--product,
.asmon-tier--quickview {
	margin: 0.9rem 0 1rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(201, 168, 76, 0.28);
	background: rgba(201, 168, 76, 0.06);
	font-size: 0.88rem;
}

.asmon-tier--product.is-unlocked,
.asmon-tier--quickview.is-unlocked {
	border-color: rgba(201, 168, 76, 0.55);
	box-shadow: 0 0 18px rgba(201, 168, 76, 0.15);
}

/* Bouton d’achat verrouillé (le serveur refuse de toute façon l’ajout). */
.is-tier-locked,
.is-tier-locked:hover,
.is-tier-locked:focus-visible {
	opacity: 0.45;
	filter: grayscale(0.6);
	cursor: not-allowed !important;
	transform: none !important;
	box-shadow: none !important;
}

.asmon-tier.is-shaking {
	animation: asmon-tier-shake 0.45s ease;
}

@keyframes asmon-tier-shake {
	20%,
	60% {
		transform: translateX(-4px);
	}
	40%,
	80% {
		transform: translateX(4px);
	}
}

/*
 * Déblocage en direct (~1,7 s, décalé d’une carte à l’autre par --asmon-tier-delay) : le cadenas
 * s’ouvre, la lumière jaillit des bords du bouton « Mettre au panier » qui se rallume, puis un
 * halo doré s’installe autour de la carte.
 */
.is-tier-unlocking .asmon-tier__shackle {
	transition-delay: calc(var(--asmon-tier-delay, 0ms) + 200ms);
}

/* Le bouton lui-même a « animation: none » imposé par la boutique : on rallume son conteneur. */
.is-tier-unlocking :has(> :is(.asmon-shop-sigil__cta--buy, .asmon-shop-quickview__buy, .single_add_to_cart_button)) {
	animation: asmon-tier-awaken 0.6s ease-out calc(var(--asmon-tier-delay, 0ms) + 300ms) both;
}

@keyframes asmon-tier-awaken {
	from {
		opacity: 0.45;
		filter: grayscale(0.6);
	}
	to {
		opacity: 1;
		filter: grayscale(0);
	}
}

/* Calé sur le bouton d’achat par asmon-tier.js (transform recalculé à chaque image). */
.asmon-tier-burst {
	position: fixed !important;
	left: 0;
	top: 0;
	z-index: 9000 !important;
	pointer-events: none;
	mix-blend-mode: screen;
}

.asmon-tier-burst__explosion,
.asmon-tier-burst__core {
	position: absolute;
	left: 50%;
	top: 50%;
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%);
	will-change: transform, opacity, filter;
}

.asmon-tier-burst__explosion {
	width: calc(110% + 140px);
	height: calc(120% + 120px);
	background: radial-gradient(
		ellipse at center,
		rgba(255, 252, 238, 0.95) 0%,
		rgba(255, 236, 195, 0.78) 14%,
		rgba(255, 220, 160, 0.5) 32%,
		rgba(201, 168, 76, 0.26) 52%,
		transparent 74%
	);
	filter: blur(18px);
	animation: asmon-tier-glow 1.3s ease-out forwards;
}

.asmon-tier-burst__core {
	width: calc(80% + 80px);
	height: calc(90% + 60px);
	background: radial-gradient(
		ellipse at center,
		rgba(255, 240, 210, 0.6) 0%,
		rgba(201, 168, 76, 0.26) 40%,
		transparent 75%
	);
	filter: blur(16px);
	animation: asmon-tier-glow 1.1s ease-out 0.1s forwards;
}

/* Jaillit vite (pic au premier quart), puis s’éteint sans à-coup. */
@keyframes asmon-tier-glow {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.6);
	}
	25% {
		opacity: 0.9;
		transform: translate(-50%, -50%) scale(1.15);
	}
	55% {
		opacity: 0.5;
		transform: translate(-50%, -50%) scale(1.3);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(1.4);
	}
}

.asmon-tier-burst__wave {
	position: absolute;
	inset: 0;
	border: 2px solid rgba(255, 238, 190, 1);
	border-radius: 4px;
	box-shadow:
		0 0 22px rgba(255, 220, 140, 0.9),
		inset 0 0 16px rgba(255, 220, 140, 0.55);
	opacity: 0;
	animation: asmon-tier-wave 1.5s ease-out 0.15s forwards;
}

/*
 * Onde partant des bords du bouton : s’élance vite (~0,6 s), puis ralentit et reste
 * presque suspendue (~0,7 s) avant de s’éteindre.
 */
@keyframes asmon-tier-wave {
	0% {
		opacity: 0;
		inset: 0;
		border-width: 2px;
	}
	8% {
		opacity: 0.85;
	}
	40% {
		opacity: 0.75;
		inset: -30px -52px;
	}
	88% {
		opacity: 0.5;
		inset: -38px -66px;
	}
	100% {
		opacity: 0;
		inset: -40px -70px;
		border-width: 1px;
	}
}

/* La carte elle-même : le texte s’illumine et le cadenas gonfle doucement en s’ouvrant. */
.is-tier-unlocking .asmon-tier {
	animation: asmon-tier-text-glow 1.2s ease-out var(--asmon-tier-delay, 0ms);
}

.is-tier-unlocking .asmon-tier__lock {
	animation: asmon-tier-pop 0.8s ease-in-out calc(var(--asmon-tier-delay, 0ms) + 150ms);
}

@keyframes asmon-tier-text-glow {
	0%,
	100% {
		text-shadow: none;
	}
	30% {
		color: #fff8e6;
		text-shadow:
			0 0 16px rgba(255, 245, 220, 0.8),
			0 0 32px rgba(255, 228, 180, 0.5),
			0 0 48px rgba(201, 168, 76, 0.35);
	}
}

@keyframes asmon-tier-pop {
	0%,
	100% {
		transform: scale(1);
		filter: none;
	}
	40% {
		transform: scale(1.3);
		filter: drop-shadow(0 0 8px rgba(233, 207, 131, 0.85));
	}
}

/*
 * Carte débloquée : liseré doré et lueur légère qui respirent doucement, portés par l’ombre
 * de la carte (que son « overflow: hidden » ne rogne pas). asmon-tier.js cale toutes ces
 * respirations sur la même horloge : les cartes respirent en même temps.
 */
body.asmon-shop .asmon-shop-sigil:has(.asmon-tier.is-unlocked:not(.is-free)) {
	box-shadow:
		0 0 0 1px rgba(201, 168, 76, 0.26),
		0 0 10px 1px rgba(201, 168, 76, 0.09);
	animation: asmon-tier-hero 4s ease-in-out infinite;
}

@keyframes asmon-tier-hero {
	0%,
	100% {
		box-shadow:
			0 0 0 1px rgba(201, 168, 76, 0.26),
			0 0 10px 1px rgba(201, 168, 76, 0.09);
	}
	50% {
		box-shadow:
			0 0 0 1px rgba(214, 186, 100, 0.36),
			0 0 14px 1px rgba(201, 168, 76, 0.14);
	}
}

/*
 * Braises « héros » : calque posé par asmon-tier.js sur chaque carte débloquée (hors carte,
 * non rogné). Version légère des braises du site : plus petites et plus pâles.
 */
.asmon-tier-aura {
	position: absolute;
	z-index: 5;
	opacity: 0.6;
	pointer-events: none;
}

.asmon-tier-aura .asmon-shop-tab__ember {
	width: 3px;
	height: 3px;
	box-shadow: 0 0 6px rgba(201, 168, 76, 0.5);
}

.asmon-tier-aura .asmon-shop-tab__ember.is-sm {
	width: 2px;
	height: 2px;
	box-shadow: 0 0 4px rgba(201, 168, 76, 0.4);
}

.asmon-tier-aura .asmon-shop-tab__ember.is-lg {
	width: 4px;
	height: 4px;
	box-shadow: 0 0 9px rgba(201, 168, 76, 0.55);
}

/*
 * Voile et cadenas sur l’image d’un produit verrouillé (option Theme Config › Boutique, classe posée
 * sur body) : carte de la boutique, couverture de la fiche produit (plate ou face du livre 3D) et
 * image de l’aperçu. Suivent l’état en direct ; au déblocage, asmon-tier.js dissipe le cadenas.
 */
.asmon-tier-face {
	position: absolute;
	inset: 0;
	pointer-events: none;
	transform: translateZ(1px);
}

body.asmon-tier-veil :is(.asmon-shop-sigil__media, .asmon-shop-cover__flat, .asmon-tier-face, .asmon-lightbox-root__viewport)::before,
body.asmon-tier-veil :is(.asmon-shop-sigil__media, .asmon-shop-cover__flat, .asmon-tier-face, .asmon-lightbox-root__viewport)::after {
	content: "";
	position: absolute;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}

body.asmon-tier-veil :is(.asmon-shop-sigil__media, .asmon-shop-cover__flat, .asmon-tier-face, .asmon-lightbox-root__viewport)::before {
	inset: 0;
	z-index: 1;
	background: rgba(8, 6, 4, var(--asmon-tier-veil, 0.4));
}

body.asmon-tier-veil :is(.asmon-shop-sigil__media, .asmon-shop-cover__flat, .asmon-tier-face, .asmon-lightbox-root__viewport)::after {
	left: 50%;
	top: 50%;
	z-index: 2;
	width: var(--asmon-tier-lock, 1.6rem);
	height: var(--asmon-tier-lock, 1.6rem);
	transform: translate(-50%, -50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='1.6'/%3E%3Cpath d='M8.2 10.5V7.8a3.8 3.8 0 0 1 7.6 0v2.7M12 14.2v2.4'/%3E%3C/svg%3E") center / contain no-repeat;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

/* Couverture plate de la fiche produit : son image (position: relative, z-index: 1) passait devant le voile. */
body.asmon-tier-veil .asmon-shop-cover__flat::before {
	z-index: 2;
}

body.asmon-tier-veil .asmon-shop-cover__flat::after {
	z-index: 3;
}

/*
 * Grandes images (fiche produit, aperçu) : cadenas plus grand, voile un peu plus dense (les images
 * des cartes de la boutique sont déjà assombries) pour le même rendu.
 */
:is(.asmon-shop-cover__flat, .asmon-tier-face, .asmon-lightbox-root__viewport) {
	--asmon-tier-lock: 2.6rem;
	--asmon-tier-veil: 0.46;
}

/* Lightbox : image affichée en grand, cadenas plus grand. */
.asmon-lightbox-root__viewport {
	--asmon-tier-lock: 3.4rem;
}

body.asmon-tier-veil .asmon-shop-sigil:has(.asmon-tier.is-locked) .asmon-shop-sigil__media::before,
body.asmon-tier-veil .asmon-shop-sigil:has(.asmon-tier.is-locked) .asmon-shop-sigil__media::after,
body.asmon-tier-veil .product:has(.asmon-tier--product.is-locked) :is(.asmon-shop-cover__flat, .asmon-tier-face)::before,
body.asmon-tier-veil .product:has(.asmon-tier--product.is-locked) :is(.asmon-shop-cover__flat, .asmon-tier-face)::after,
body.asmon-tier-veil .asmon-lightbox-root:has(.asmon-tier--quickview.is-locked) .asmon-lightbox-root__viewport::before,
body.asmon-tier-veil .asmon-lightbox-root:has(.asmon-tier--quickview.is-locked) .asmon-lightbox-root__viewport::after,
body.asmon-tier-veil .asmon-lightbox-root.has-tier-veil .asmon-lightbox-root__viewport::before,
body.asmon-tier-veil .asmon-lightbox-root.has-tier-veil .asmon-lightbox-root__viewport::after {
	opacity: 1;
}

/* Déblocage (classe posée par asmon-tier.js) : le cadenas s’efface vite pendant que ses étincelles prennent sa place, le voile suit. */
body.asmon-tier-veil .is-tier-dissolving::after {
	transition: opacity 0.35s ease calc(var(--asmon-tier-delay, 0ms) + 200ms);
}

body.asmon-tier-veil .is-tier-dissolving::before {
	transition: opacity 0.9s ease calc(var(--asmon-tier-delay, 0ms) + 250ms);
}

/* Étincelles du cadenas (canevas posé sur la page et recalé sur l’image par asmon-tier.js). */
.asmon-tier-dust {
	position: fixed !important;
	left: 0;
	top: 0;
	z-index: 9000 !important;
	pointer-events: none;
}

/* Déblocage dans l’aperçu ouvert (10100) : lumière et étincelles passent devant, sous les toasts. */
:is(.asmon-tier-burst, .asmon-tier-dust).is-over-lightbox {
	z-index: 10150 !important;
}

/* « Masquer les produits à débloquer » (case ajoutée par asmon-tier.js dans la barre du catalogue). */
body.asmon-shop.asmon-tier-hide-locked ul.products li.asmon-shop-sigil:has(.asmon-tier.is-locked) {
	display: none;
}

/* Simple case à cocher : sans la barre, le fond ni le décalage des filtres latéraux. */
.asmon-shop-catalog-toolbar .asmon-tier-filter,
.asmon-shop-catalog-toolbar .asmon-tier-filter:is(:hover, :has(:checked)) {
	align-items: center;
	padding: 0;
	border-left: 0;
	background: none;
	transform: none;
	font-size: 0.82rem;
}

.asmon-shop-catalog-toolbar .asmon-tier-filter .asmon-cf7__check {
	margin-top: 0;
}

/*
 * ----- Barre commune des paliers (tiroir, encart du panier, fiche produit, cartes de la boutique) -----
 * Un élément à part, du même monde : une rainure brun sombre gravée, un remplissage cuivre-ambre
 * lumineux (thème de couleur au choix, sans le jaune des boutons), des jalons en losange.
 *
 * En cours : de fines stries gravées défilent dans le remplissage, sa tête palpite, le prochain jalon
 * s’échauffe à l’approche (--heat, posé par asmon-tier.js) et chaque jalon atteint émet une onde.
 * Tout débloqué : récompense (la barre flashe, les sceaux s’illuminent en cascade, une gerbe d’étincelles
 * jaillit, asmon-tier.js › celebrate()), puis halo de victoire et sceaux en chenillard.
 * Survol : le montant actuel du panier au bout du remplissage, et l’infobulle de chaque jalon.
 * --i : rang du jalon, pour décaler ondes, cascade et chenillard.
 */

/*
 * Couleurs : un thème par classe .asmon-tp-theme--{clé} (posée sur <body> selon Theme Config › Boutique,
 * ou sur un conteneur pour l’aperçu de l’admin). Les teintes « -rgb » sont des triplets « R G B » pour
 * rgb(var(...) / alpha). Barre : deep → mid → light (remplissage), hot (tête), glow (halo), shine (reflets
 * et stries), shade (ombre du relief), line (liseré de la rainure, infobulle du montant).
 * Jalons : gem (bordure), gem-mid (cœur allumé), gem-hot (éclat), gem-glow (halo). Les étincelles de la
 * récompense (asmon-tier.js) lisent shine, gem-hot, glow et gem-glow.
 */
.asmon-tier-progress {
	--asmon-tp-deep: #7a3f1c;
	--asmon-tp-mid: #c0743f;
	--asmon-tp-light: #eaa96e;
	--asmon-tp-hot: #ffe2bd;
	--asmon-tp-text-hi: #e6a46c;
	--asmon-tp-glow-rgb: 222 130 66;
	--asmon-tp-shine-rgb: 255 234 206;
	--asmon-tp-shade-rgb: 60 24 6;
	--asmon-tp-line-rgb: 196 132 84;
	--asmon-tp-gem-rgb: 196 132 84;
	--asmon-tp-gem-mid-rgb: 192 116 63;
	--asmon-tp-gem-hot-rgb: 255 208 155;
	--asmon-tp-gem-glow-rgb: 234 140 70;
	--asmon-tp-ink: #140c07;
	--asmon-tp-panel: rgba(16, 10, 6, 0.97);
	--asmon-tp-text: rgba(232, 222, 200, 0.85);
	--asmon-tp-gem: 12px;
	margin: 0.5rem 0 0.9rem;
}

/* Ivoire / parchemin, jalons or. */
.asmon-tp-theme--ivory .asmon-tier-progress {
	--asmon-tp-deep: #6f5d43;
	--asmon-tp-mid: #c9b892;
	--asmon-tp-light: #f6eedc;
	--asmon-tp-hot: #fffaf0;
	--asmon-tp-text-hi: #efe4cc;
	--asmon-tp-glow-rgb: 236 224 196;
	--asmon-tp-shine-rgb: 255 252 244;
	--asmon-tp-shade-rgb: 40 30 18;
	--asmon-tp-line-rgb: 170 156 128;
	--asmon-tp-gem-rgb: 201 168 76;
	--asmon-tp-gem-mid-rgb: 201 168 76;
	--asmon-tp-gem-hot-rgb: 255 236 180;
	--asmon-tp-gem-glow-rgb: 220 192 106;
}

/* Étain chaud, jalons or. */
.asmon-tp-theme--pewter .asmon-tier-progress {
	--asmon-tp-deep: #4a4640;
	--asmon-tp-mid: #9a958b;
	--asmon-tp-light: #e2ded4;
	--asmon-tp-hot: #fbf8f2;
	--asmon-tp-text-hi: #e2ddd2;
	--asmon-tp-glow-rgb: 214 208 196;
	--asmon-tp-shine-rgb: 255 253 248;
	--asmon-tp-shade-rgb: 24 22 20;
	--asmon-tp-line-rgb: 140 134 124;
	--asmon-tp-gem-rgb: 201 168 76;
	--asmon-tp-gem-mid-rgb: 201 168 76;
	--asmon-tp-gem-hot-rgb: 255 236 180;
	--asmon-tp-gem-glow-rgb: 220 192 106;
}

/* Vieil or désaturé, jalons ivoire. */
.asmon-tp-theme--oldgold .asmon-tier-progress {
	--asmon-tp-deep: #5e4c2a;
	--asmon-tp-mid: #a88c55;
	--asmon-tp-light: #d8c79a;
	--asmon-tp-hot: #fff4d8;
	--asmon-tp-text-hi: #dccb9c;
	--asmon-tp-glow-rgb: 200 176 116;
	--asmon-tp-shine-rgb: 255 246 222;
	--asmon-tp-shade-rgb: 40 30 12;
	--asmon-tp-line-rgb: 168 140 90;
	--asmon-tp-gem-rgb: 220 210 186;
	--asmon-tp-gem-mid-rgb: 214 204 180;
	--asmon-tp-gem-hot-rgb: 255 250 238;
	--asmon-tp-gem-glow-rgb: 243 234 214;
}

/* Vert-de-gris, jalons or. */
.asmon-tp-theme--verdigris .asmon-tier-progress {
	--asmon-tp-deep: #2c463f;
	--asmon-tp-mid: #5f8a7c;
	--asmon-tp-light: #a9cbbd;
	--asmon-tp-hot: #e8f6ef;
	--asmon-tp-text-hi: #b4d4c6;
	--asmon-tp-glow-rgb: 120 176 156;
	--asmon-tp-shine-rgb: 230 248 240;
	--asmon-tp-shade-rgb: 10 26 22;
	--asmon-tp-line-rgb: 96 140 124;
	--asmon-tp-gem-rgb: 201 168 76;
	--asmon-tp-gem-mid-rgb: 201 168 76;
	--asmon-tp-gem-hot-rgb: 255 236 180;
	--asmon-tp-gem-glow-rgb: 220 192 106;
}

/* Sépia (brun du site), jalons or. */
.asmon-tp-theme--sepia .asmon-tier-progress {
	--asmon-tp-deep: #2e1f12;
	--asmon-tp-mid: #6e4c2d;
	--asmon-tp-light: #b48a5c;
	--asmon-tp-hot: #f3dfc4;
	--asmon-tp-text-hi: #cfae86;
	--asmon-tp-glow-rgb: 168 124 82;
	--asmon-tp-shine-rgb: 255 236 212;
	--asmon-tp-shade-rgb: 24 14 6;
	--asmon-tp-line-rgb: 132 98 66;
	--asmon-tp-gem-rgb: 201 168 76;
	--asmon-tp-gem-mid-rgb: 201 168 76;
	--asmon-tp-gem-hot-rgb: 255 236 180;
	--asmon-tp-gem-glow-rgb: 220 192 106;
}

/* Albâtre (blanc du site), jalons or. */
.asmon-tp-theme--alabaster .asmon-tier-progress {
	--asmon-tp-deep: #8f897c;
	--asmon-tp-mid: #e4e0d6;
	--asmon-tp-light: #ffffff;
	--asmon-tp-hot: #ffffff;
	--asmon-tp-text-hi: #f4f1ea;
	--asmon-tp-glow-rgb: 245 242 235;
	--asmon-tp-shine-rgb: 255 255 255;
	--asmon-tp-shade-rgb: 60 56 50;
	--asmon-tp-line-rgb: 190 184 172;
	--asmon-tp-gem-rgb: 201 168 76;
	--asmon-tp-gem-mid-rgb: 201 168 76;
	--asmon-tp-gem-hot-rgb: 255 236 180;
	--asmon-tp-gem-glow-rgb: 220 192 106;
}

/* Ébène (noir du site, éclairé d’argent), jalons ivoire. */
.asmon-tp-theme--ebony .asmon-tier-progress {
	--asmon-tp-deep: #141210;
	--asmon-tp-mid: #45403a;
	--asmon-tp-light: #aea89e;
	--asmon-tp-hot: #f2efe9;
	--asmon-tp-text-hi: #d2ccc2;
	--asmon-tp-glow-rgb: 190 184 176;
	--asmon-tp-shine-rgb: 245 242 236;
	--asmon-tp-shade-rgb: 0 0 0;
	--asmon-tp-line-rgb: 110 104 96;
	--asmon-tp-gem-rgb: 220 210 186;
	--asmon-tp-gem-mid-rgb: 214 204 180;
	--asmon-tp-gem-hot-rgb: 255 250 238;
	--asmon-tp-gem-glow-rgb: 243 234 214;
}

.asmon-tier-progress__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.asmon-tier-progress__text {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.4;
	color: var(--asmon-tp-text);
	transition: color 0.4s ease;
}

.asmon-tier-progress__text .asmon-tier__lock {
	color: var(--asmon-tp-light);
}

.asmon-tier-progress__amount {
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--asmon-tp-text-hi);
	text-shadow: 0 0 10px rgb(var(--asmon-tp-glow-rgb) / 0.35);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.asmon-tier-progress__count {
	flex: 0 0 auto;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(232, 222, 200, 0.55);
	font-variant-numeric: tabular-nums;
}

.asmon-tier-progress__count .asmon-tier-progress__amount {
	font-size: 0.8rem;
}

.asmon-tier-progress.is-complete .asmon-tier-progress__text {
	color: var(--asmon-tp-text-hi);
	text-shadow: 0 0 12px rgb(var(--asmon-tp-glow-rgb) / 0.4);
}

.asmon-tier-progress.is-complete .asmon-tier__lock {
	filter: drop-shadow(0 0 4px rgb(var(--asmon-tp-glow-rgb) / 0.8));
}

.asmon-tier-progress.is-complete .asmon-tier__shackle {
	transform: translateY(-2.2px) rotate(-28deg);
}

/* Piste : hauteur des losanges, puis la place des montants dessous. Marges : le dernier losange est au bord. */
.asmon-tier-progress__track {
	position: relative;
	display: block;
	height: var(--asmon-tp-gem);
	margin: 0 calc(var(--asmon-tp-gem) / 2 + 2px) 1.4rem;
}

/* Rainure gravée, brun sombre. */
.asmon-tier-progress__rail {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(180deg, #0c0704, #22150c);
	box-shadow:
		inset 0 1px 3px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgb(var(--asmon-tp-line-rgb) / 0.26),
		0 1px 0 rgb(var(--asmon-tp-shine-rgb) / 0.04);
	transform: translateY(-50%);
	transition: box-shadow 0.35s ease;
}

/*
 * Remplissage lumineux : relief (reflet en haut, ombre en bas), stries gravées en diagonale qui
 * défilent (la barre « avance »), et une teinte plus vive vers l’avant.
 */
.asmon-tier-progress__fill {
	position: relative;
	display: block;
	height: 100%;
	max-width: 100%;
	border-radius: inherit;
	background-image:
		linear-gradient(180deg, rgb(var(--asmon-tp-shine-rgb) / 0.45), rgb(var(--asmon-tp-shine-rgb) / 0) 42%, rgb(var(--asmon-tp-shade-rgb) / 0.35)),
		linear-gradient(135deg, rgb(var(--asmon-tp-shine-rgb) / 0.2) 25%, transparent 25%, transparent 50%, rgb(var(--asmon-tp-shine-rgb) / 0.2) 50%, rgb(var(--asmon-tp-shine-rgb) / 0.2) 75%, transparent 75%, transparent),
		linear-gradient(90deg, var(--asmon-tp-deep), var(--asmon-tp-mid) 55%, var(--asmon-tp-light));
	background-size: 100% 100%, 12px 12px, 100% 100%;
	background-repeat: no-repeat, repeat, no-repeat;
	box-shadow:
		0 0 10px rgb(var(--asmon-tp-glow-rgb) / 0.5),
		0 0 2px rgb(var(--asmon-tp-shine-rgb) / 0.5);
	animation: asmon-tp-stripes 1.1s linear infinite;
	transition: filter 0.35s ease, box-shadow 0.35s ease;
}

@keyframes asmon-tp-stripes {
	from {
		background-position: 0 0, 0 0, 0 0;
	}
	to {
		background-position: 0 0, 12px 0, 0 0;
	}
}

/* Tête du remplissage : un point de lumière qui palpite, avec son halo. */
.asmon-tier-progress__fill::after {
	content: "";
	position: absolute;
	right: -7px;
	top: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0 12%, var(--asmon-tp-hot) 26%, rgb(var(--asmon-tp-glow-rgb) / 0.7) 48%, transparent 72%);
	pointer-events: none;
	transform: translateY(-50%);
	animation: asmon-tp-beat 1.6s ease-in-out infinite;
	transition: opacity 0.3s ease;
}

@keyframes asmon-tp-beat {
	0%,
	100% {
		opacity: 0.8;
		transform: translateY(-50%) scale(0.85);
	}
	40% {
		opacity: 1;
		transform: translateY(-50%) scale(1.2);
	}
}

/* Barre vide, ou complète : pas de tête. */
.asmon-tier-progress__fill[style*="width: 0%"]::after,
.asmon-tier-progress__fill[style*="width:0%"]::after,
.asmon-tier-progress.is-complete .asmon-tier-progress__fill::after {
	opacity: 0;
	animation: none;
}

/* Pendant qu’elle avance : la tête grossit et brille, les stries accélèrent. */
.asmon-tier-progress.is-moving .asmon-tier-progress__fill {
	animation-duration: 0.45s;
}

.asmon-tier-progress.is-moving .asmon-tier-progress__fill::after {
	opacity: 1;
	animation: none;
	transform: translateY(-50%) scale(1.4);
}

.asmon-tier-progress.is-falling .asmon-tier-progress__fill {
	animation-direction: reverse;
}

.asmon-tier-progress.is-falling .asmon-tier-progress__fill::after {
	opacity: 0.5;
	transform: translateY(-50%) scale(0.8);
}

/* Complète : plus de stries qui défilent, une lumière pleine et un halo de victoire. */
.asmon-tier-progress.is-complete .asmon-tier-progress__fill {
	background-image:
		linear-gradient(180deg, rgb(var(--asmon-tp-shine-rgb) / 0.55), rgb(var(--asmon-tp-shine-rgb) / 0) 45%, rgb(var(--asmon-tp-shade-rgb) / 0.3)),
		linear-gradient(90deg, var(--asmon-tp-mid), var(--asmon-tp-light) 50%, var(--asmon-tp-mid));
	background-size: 100% 100%, 100% 100%;
	background-repeat: no-repeat;
	animation: asmon-tp-victory 3.2s ease-in-out infinite;
}

@keyframes asmon-tp-victory {
	0%,
	100% {
		box-shadow: 0 0 10px rgb(var(--asmon-tp-glow-rgb) / 0.5), 0 0 2px rgb(var(--asmon-tp-shine-rgb) / 0.5);
		filter: brightness(1);
	}
	50% {
		box-shadow: 0 0 18px rgb(var(--asmon-tp-glow-rgb) / 0.65), 0 0 34px rgb(var(--asmon-tp-glow-rgb) / 0.25), 0 0 2px rgb(var(--asmon-tp-shine-rgb) / 0.7);
		filter: brightness(1.15);
	}
}

/* Récompense (asmon-tier.js pose .is-completing au remplissage) : la barre flashe. */
.asmon-tier-progress.is-completing .asmon-tier-progress__rail::after {
	content: "";
	position: absolute;
	inset: -10px -14px;
	border-radius: 10px;
	background: radial-gradient(ellipse at center, rgb(var(--asmon-tp-shine-rgb) / 0.75), rgb(var(--asmon-tp-glow-rgb) / 0.3) 50%, transparent 74%);
	pointer-events: none;
	animation: asmon-tp-complete 1.6s ease-out forwards;
}

@keyframes asmon-tp-complete {
	0% {
		opacity: 0;
		transform: scaleX(0.5);
	}
	25% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: scaleX(1.08);
	}
}

/* Survol de la barre : elle s’avive. */
.asmon-tier-progress__track:hover .asmon-tier-progress__fill {
	filter: brightness(1.2);
}

.asmon-tier-progress__track:hover .asmon-tier-progress__rail {
	box-shadow:
		inset 0 1px 3px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgb(var(--asmon-tp-line-rgb) / 0.45),
		0 1px 0 rgb(var(--asmon-tp-shine-rgb) / 0.04);
}

/* Montant actuel du panier, au bout du remplissage (au survol). --p : position, posée par asmon-tier.js. */
.asmon-tier-progress__now {
	position: absolute;
	bottom: calc(100% + 7px);
	left: var(--p, 0%);
	z-index: 3;
	padding: 0.15rem 0.45rem;
	border: 1px solid rgb(var(--asmon-tp-line-rgb) / 0.4);
	border-radius: 2px;
	background: var(--asmon-tp-panel);
	font-size: 0.66rem;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--asmon-tp-text-hi);
	font-variant-numeric: tabular-nums;
	pointer-events: none;
	opacity: 0;
	transform: translate(calc(var(--p, 0%) * -1), 3px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.asmon-tier-progress__track:hover .asmon-tier-progress__now {
	opacity: 1;
	transform: translate(calc(var(--p, 0%) * -1), 0);
}

.asmon-tier-progress__track:has(.asmon-tier-progress__mark:hover) .asmon-tier-progress__now {
	opacity: 0;
}

/* Jalons : des sceaux en losange. */
.asmon-tier-progress__mark {
	--heat: 0;
	--i: 0;
	position: absolute;
	top: 50%;
	z-index: 1;
	width: 0;
	height: 0;
}

.asmon-tier-progress__mark:hover {
	z-index: 4;
}

/* Sceau pas encore atteint ; il rougeoie de plus en plus (--heat) à l’approche du remplissage. */
.asmon-tier-progress__gem {
	position: absolute;
	left: calc(var(--asmon-tp-gem) / -2);
	top: calc(var(--asmon-tp-gem) / -2);
	width: var(--asmon-tp-gem);
	height: var(--asmon-tp-gem);
	box-sizing: border-box;
	border: 1px solid rgb(var(--asmon-tp-gem-rgb) / calc(0.45 + var(--heat) * 0.5));
	background: var(--asmon-tp-ink);
	box-shadow: 0 0 calc(var(--heat) * 10px) rgb(var(--asmon-tp-gem-glow-rgb) / calc(var(--heat) * 0.6));
	transform: rotate(45deg);
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

/* Cœur du sceau qui chauffe. */
.asmon-tier-progress__gem::after {
	content: "";
	position: absolute;
	inset: 2px;
	background: radial-gradient(circle, rgb(var(--asmon-tp-gem-hot-rgb) / 0.95), rgb(var(--asmon-tp-gem-mid-rgb) / 0.6) 70%);
	opacity: calc(var(--heat) * var(--heat) * 0.6);
	transition: opacity 0.35s ease;
}

/* Zone de survol plus large que le losange. */
.asmon-tier-progress__gem::before {
	content: "";
	position: absolute;
	inset: -7px;
}

/* Sceau atteint : allumé, il palpite doucement… */
.asmon-tier-progress__mark.is-reached .asmon-tier-progress__gem {
	border-color: rgb(var(--asmon-tp-gem-hot-rgb));
	background: radial-gradient(circle, #fff 0 12%, rgb(var(--asmon-tp-gem-hot-rgb)) 30%, rgb(var(--asmon-tp-gem-mid-rgb)) 80%);
	box-shadow: 0 0 9px rgb(var(--asmon-tp-gem-glow-rgb) / 0.5), 0 0 2px rgb(var(--asmon-tp-gem-hot-rgb) / 0.8);
	animation: asmon-tp-gem-pulse 2.6s ease-in-out calc(var(--i) * -0.4s) infinite;
}

.asmon-tier-progress__mark.is-reached .asmon-tier-progress__gem::after {
	opacity: 0;
}

@keyframes asmon-tp-gem-pulse {
	0%,
	100% {
		box-shadow: 0 0 7px rgb(var(--asmon-tp-gem-glow-rgb) / 0.5), 0 0 2px rgb(var(--asmon-tp-gem-hot-rgb) / 0.7);
		transform: rotate(45deg) scale(1);
	}
	50% {
		box-shadow: 0 0 15px rgb(var(--asmon-tp-gem-glow-rgb) / 0.75), 0 0 3px rgb(var(--asmon-tp-gem-hot-rgb) / 0.9);
		transform: rotate(45deg) scale(1.12);
	}
}

/* … et une onde en losange s’en échappe régulièrement. */
.asmon-tier-progress__mark.is-reached::after {
	content: "";
	position: absolute;
	left: calc(var(--asmon-tp-gem) / -2);
	top: calc(var(--asmon-tp-gem) / -2);
	width: var(--asmon-tp-gem);
	height: var(--asmon-tp-gem);
	box-sizing: border-box;
	border: 1px solid rgb(var(--asmon-tp-gem-hot-rgb) / 0.8);
	pointer-events: none;
	opacity: 0;
	transform: rotate(45deg) scale(1);
	animation: asmon-tp-wave 2.6s ease-out calc(var(--i) * 0.45s + 0.3s) infinite;
}

@keyframes asmon-tp-wave {
	0% {
		opacity: 0.85;
		transform: rotate(45deg) scale(1);
	}
	70%,
	100% {
		opacity: 0;
		transform: rotate(45deg) scale(2.6);
	}
}

.asmon-tier-progress__mark:hover .asmon-tier-progress__gem {
	animation-play-state: paused;
	transform: rotate(45deg) scale(1.3);
}

/* Tout débloqué : les sceaux s’allument à tour de rôle (chenillard), en boucle. */
.asmon-tier-progress.is-complete .asmon-tier-progress__mark.is-reached .asmon-tier-progress__gem {
	animation: asmon-tp-chase 2.4s ease-in-out calc(var(--i) * 0.22s) infinite;
}

.asmon-tier-progress.is-complete .asmon-tier-progress__mark.is-reached::after {
	animation-duration: 2.4s;
	animation-delay: calc(var(--i) * 0.22s);
}

@keyframes asmon-tp-chase {
	0%,
	30%,
	100% {
		box-shadow: 0 0 8px rgb(var(--asmon-tp-gem-glow-rgb) / 0.5), 0 0 2px rgb(var(--asmon-tp-gem-hot-rgb) / 0.7);
		transform: rotate(45deg) scale(1);
		filter: brightness(1);
	}
	12% {
		box-shadow: 0 0 18px rgb(var(--asmon-tp-gem-glow-rgb) / 0.9), 0 0 4px #fff;
		transform: rotate(45deg) scale(1.3);
		filter: brightness(1.35);
	}
}

/* Récompense : les sceaux s’illuminent en cascade, de gauche à droite. */
.asmon-tier-progress.is-completing .asmon-tier-progress__mark.is-reached .asmon-tier-progress__gem {
	animation: asmon-tp-cascade 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.3) calc(var(--i) * 0.14s + 0.15s) both;
}

@keyframes asmon-tp-cascade {
	0% {
		transform: rotate(45deg) scale(1);
	}
	35% {
		background: rgb(var(--asmon-tp-gem-hot-rgb));
		box-shadow: 0 0 22px 5px rgb(var(--asmon-tp-gem-hot-rgb) / 0.9), 0 0 40px 10px rgb(var(--asmon-tp-gem-glow-rgb) / 0.4);
		transform: rotate(45deg) scale(1.9);
	}
	100% {
		transform: rotate(45deg) scale(1);
	}
}

.asmon-tier-progress__label {
	position: absolute;
	left: 0;
	top: calc(var(--asmon-tp-gem) / 2 + 0.4rem);
	font-size: 0.68rem;
	line-height: 1;
	letter-spacing: 0.03em;
	white-space: nowrap;
	color: rgba(232, 222, 200, 0.48);
	font-variant-numeric: tabular-nums;
	transform: translateX(-50%);
	transition: color 0.35s ease;
}

/* Dernier jalon au bord droit : son montant s’aligne à droite pour ne pas déborder. */
.asmon-tier-progress__mark:last-of-type .asmon-tier-progress__label {
	left: auto;
	right: calc(var(--asmon-tp-gem) / -2 - 2px);
	transform: none;
}

.asmon-tier-progress__mark.is-crowded .asmon-tier-progress__label {
	display: none;
}

.asmon-tier-progress__mark.is-next .asmon-tier-progress__label {
	color: var(--asmon-tp-text);
}

.asmon-tier-progress__mark.is-reached .asmon-tier-progress__label {
	color: var(--asmon-tp-text-hi);
}

/* Infobulle du jalon : montant, produits débloqués et ce qu’il manque. */
.asmon-tier-progress__tip {
	position: absolute;
	left: 0;
	bottom: calc(var(--asmon-tp-gem) / 2 + 10px);
	display: grid;
	gap: 0.18rem;
	width: max-content;
	min-width: 7.5rem;
	max-width: 14rem;
	padding: 0.45rem 0.65rem 0.5rem;
	border: 1px solid rgb(var(--asmon-tp-gem-rgb) / 0.4);
	border-radius: 2px;
	background: var(--asmon-tp-panel);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6), 0 0 14px rgb(var(--asmon-tp-gem-glow-rgb) / 0.16);
	font-size: 0.72rem;
	line-height: 1.35;
	text-align: left;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, 4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.asmon-tier-progress__mark:last-of-type .asmon-tier-progress__tip {
	left: auto;
	right: -12px;
	transform: translateY(4px);
}

.asmon-tier-progress__mark:hover .asmon-tier-progress__tip {
	opacity: 1;
	transform: translate(-50%, 0);
}

.asmon-tier-progress__mark:last-of-type:hover .asmon-tier-progress__tip {
	transform: none;
}

.asmon-tier-progress__tip-amount {
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--asmon-tp-text-hi);
}

.asmon-tier-progress__tip-names {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	color: var(--asmon-tp-text);
}

.asmon-tier-progress__tip-state {
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(232, 222, 200, 0.55);
}

.asmon-tier-progress__mark.is-reached .asmon-tier-progress__tip-state {
	color: var(--asmon-tp-text-hi);
}

/* Jalon atteint en direct : le sceau s’embrase un instant. */
.asmon-tier-progress__mark.is-flare .asmon-tier-progress__gem {
	animation: asmon-tp-flare 1s ease-out;
}

@keyframes asmon-tp-flare {
	0% {
		transform: rotate(45deg) scale(1);
	}
	30% {
		background: rgb(var(--asmon-tp-gem-hot-rgb));
		box-shadow: 0 0 16px 4px rgb(var(--asmon-tp-gem-hot-rgb) / 0.85), 0 0 30px 8px rgb(var(--asmon-tp-gem-glow-rgb) / 0.4);
		transform: rotate(45deg) scale(1.7);
	}
	100% {
		transform: rotate(45deg) scale(1);
	}
}

/* Fiche produit : barre sous le message de l’encart, jusqu’au palier de ce produit seulement. */
.asmon-tier .asmon-tier-progress {
	flex: 1 0 100%;
	margin: 0.6rem 0 0;
}

.asmon-tier .asmon-tier-progress__track {
	margin-bottom: 1.2rem;
}

.asmon-tier-progress--compact .asmon-tier-progress__mark {
	--asmon-tp-gem: 14px;
}

/*
 * Cartes de la boutique : barre fine sous « Se débloque dès… » (au-dessus de « Mettre au panier »),
 * sans montant dessous (il est dans le message). Au déblocage en direct, elle se remplit puis s’efface.
 */
.asmon-tier--card .asmon-tier-progress--card {
	--asmon-tp-gem: 9px;
	max-height: 1.6rem;
	margin: 0.45rem 0 0.4rem;
	overflow: visible;
	transition: opacity 0.45s ease 1.6s, max-height 0.45s ease 1.8s, margin 0.45s ease 1.8s;
}

.asmon-tier-progress--card .asmon-tier-progress__track {
	margin-bottom: 0;
}

.asmon-tier-progress--card .asmon-tier-progress__mark {
	--asmon-tp-gem: 10px;
}

.asmon-tier-progress--card .asmon-tier-progress__rail {
	height: 6px;
	border-radius: 3px;
}

.asmon-tier-progress--card .asmon-tier-progress__label {
	display: none;
}

.asmon-tier-progress--card .asmon-tier-progress__fill::after {
	width: 11px;
	height: 11px;
	right: -5px;
}

.asmon-tier--card.is-unlocked .asmon-tier-progress--card {
	max-height: 0;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

/* Barre masquée d’une carte débloquée : aucune animation en arrière-plan. */
.asmon-tier--card.is-unlocked .asmon-tier-progress--card *,
.asmon-tier--card.is-unlocked .asmon-tier-progress--card *::before,
.asmon-tier--card.is-unlocked .asmon-tier-progress--card *::after {
	animation: none !important;
}

/* Barre hors écran ou masquée (asmon-tier.js › .is-idle) : animations en pause, rien à redessiner. */
.asmon-tier-progress.is-idle,
.asmon-tier-progress.is-idle *,
.asmon-tier-progress.is-idle *::before,
.asmon-tier-progress.is-idle *::after {
	animation-play-state: paused !important;
}

/*
 * Écrans tactiles (pas de vrai survol) : l’infobulle et le montant du panier resteraient affichés après
 * un toucher et masqueraient le texte ; le message de la barre et l’encart donnent déjà ces montants.
 */
@media (hover: none) {
	.asmon-tier-progress__tip,
	.asmon-tier-progress__now {
		display: none;
	}
}

/* ----- Encart de la page panier ----- */

/* Même fond que le total du panier (asmon-shop.css › .cart_totals). */
.asmon-tier-panel {
	margin: 1.4rem 0 0.5rem;
	padding: 1rem 1.1rem 1.1rem;
	border: 1px solid rgba(201, 168, 76, 0.34);
	background: rgba(10, 8, 6, 0.55);
}

/*
 * Même gabarit que le titre de « Vous aimerez aussi » (asmon-share.css) : les deux encarts sont alignés.
 * Deux classes pour passer devant « .asmon-prose h2 » (asmon-pages.css), qui ajoute une grande marge haute.
 */
.asmon-tier-panel .asmon-tier-panel__title {
	margin: 0 0 0.35rem;
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--asmon-text-bright, #e8dec8);
}

.asmon-tier-panel__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Repère des cartes qui quittent la liste (asmon-shop.js les sort du flux à leur place). */
.asmon-tier-panel__list {
	position: relative;
}

/*
 * Carte qui (ré)apparaît (produit retiré du panier) : elle monte du bas de son emplacement, révélée de
 * bas en haut, et se pose en douceur. Carte qui part (produit ajouté au panier) : elle redescend en
 * s’effaçant. Même entrée pour une nouvelle carte de « Vous aimerez aussi ».
 */
.asmon-tier-card.is-arriving,
.asmon-shop-invoice .cross-sells--compact li.product.is-arriving {
	animation: asmon-tier-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.asmon-tier-card.is-leaving {
	z-index: 0;
	pointer-events: none;
	animation: asmon-tier-card-out 0.3s cubic-bezier(0.55, 0, 0.75, 0.3) forwards;
}

@keyframes asmon-tier-card-in {
	0% {
		opacity: 0;
		clip-path: inset(100% 0 0 0);
		transform: translateY(36px);
	}
	45% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		clip-path: inset(0 0 0 0);
		transform: none;
	}
}

@keyframes asmon-tier-card-out {
	to {
		opacity: 0;
		clip-path: inset(0 0 100% 0);
		transform: translateY(28px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.asmon-tier-card.is-arriving,
	.asmon-tier-card.is-leaving,
	.asmon-shop-invoice .cross-sells--compact li.product.is-arriving {
		animation: none;
	}
}

/* Téléphone : deux cartes par ligne (une seule ferait des images immenses et un long défilement). */
@media (max-width: 480px) {
	.asmon-tier-panel__list {
		grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
		gap: 0.65rem;
	}
}

.asmon-tier-card {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 0;
	font-size: 0.82rem;
}

.asmon-tier-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid rgba(201, 168, 76, 0.22);
}

/* Miniature : ouvre l’aperçu, avec la même loupe que les cartes de la boutique et de « Vous aimerez aussi ». */
.asmon-tier-card__media {
	cursor: zoom-in;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmon-tier-card__media:is(:hover, :focus-visible) {
	border-color: rgba(201, 168, 76, 0.5);
	box-shadow: 0 0 12px rgba(201, 168, 76, 0.18);
}

.asmon-tier-card__media:focus-visible {
	outline: 1px solid var(--asmon-accent, #c9a84c);
	outline-offset: 2px;
}

.asmon-tier-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.4s ease;
}

.asmon-tier-card.is-locked .asmon-tier-card__media img {
	filter: grayscale(0.7) brightness(0.55);
}

.asmon-tier-card__lock {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--asmon-accent, #c9a84c);
}

.asmon-tier-card__lock .asmon-tier__lock {
	width: 1.6rem;
	height: 1.6rem;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.asmon-tier-card__lock {
	transition: opacity 0.35s ease;
}

.asmon-tier-card.is-unlocked .asmon-tier-card__lock {
	opacity: 0;
}

/*
 * Carte débloquée en direct (asmon-tier.js) : même séquence que les cartes de la boutique. Le cadenas
 * s’efface pendant que ses étincelles prennent sa place, l’image s’éclaire, le bouton « Ajouter »
 * se rallume et la lumière jaillit de ses bords.
 */
.asmon-tier-card.is-tier-unlocking .asmon-tier-card__lock {
	transition-delay: calc(var(--asmon-tier-delay, 0ms) + 200ms);
}

.asmon-tier-card.is-tier-unlocking .asmon-tier-card__media img {
	transition: filter 0.9s ease calc(var(--asmon-tier-delay, 0ms) + 250ms);
}

.asmon-tier-card.is-tier-unlocking .asmon-tier-card__add {
	animation: asmon-tier-awaken 0.6s ease-out calc(var(--asmon-tier-delay, 0ms) + 300ms) both;
}

.asmon-tier-card.is-tier-unlocking .asmon-tier-card__name {
	animation: asmon-tier-text-glow 1.2s ease-out var(--asmon-tier-delay, 0ms);
}

/*
 * Cartes alignées : le nom tient toujours sur deux lignes (coupé au-delà), les prix sont donc à la même
 * hauteur, et le bouton « Ajouter » (ou « Dès … ») est poussé en bas de la carte.
 */
.asmon-tier-card__name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: calc(2 * 1.45em);
	line-height: 1.45;
	color: var(--asmon-text-bright, #e8dec8);
	text-decoration: none;
	transition: color 0.2s ease;
}

.asmon-tier-card > :is(.asmon-tier-card__add, .asmon-tier-card__state) {
	margin-top: auto;
}

.asmon-tier-card__name:hover {
	color: var(--asmon-accent, #c9a84c);
}

.asmon-tier-card__price {
	color: rgba(232, 222, 200, 0.75);
}

.asmon-tier-card__state {
	font-size: 0.75rem;
	color: rgba(232, 222, 200, 0.6);
}

/* Même bouton que « Ajouter » du carrousel « Vous aimerez aussi » du panier (asmon-share.css) : pleine largeur, centré. */
.asmon-tier-card__add {
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 2.375rem;
	margin-top: 0.15rem;
	padding: 0.35rem 0.3rem;
	border: 1px solid rgba(201, 168, 76, 0.55);
	border-radius: 2px;
	color: var(--asmon-accent, #c9a84c);
	font-family: var(--asmon-font-display, "Cinzel", Georgia, serif);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.asmon-tier-card__add:hover,
.asmon-tier-card__add:focus-visible {
	background: rgba(201, 168, 76, 0.18);
	color: var(--asmon-text-bright, #fff8e6);
	box-shadow: 0 0 14px rgba(201, 168, 76, 0.3);
}

/*
 * Même halo respirant que « Ajouter » de « Vous aimerez aussi » (asmon-shop.css ›
 * .asmon-shop-sigil__add::before) : un pseudo-élément en opacité, figé au survol.
 */
.asmon-tier-card__add {
	position: relative;
	isolation: isolate;
}

.asmon-tier-card__add::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: 3px;
	pointer-events: none;
	box-shadow:
		0 0 22px rgba(201, 168, 76, 0.52),
		0 0 34px rgba(201, 168, 76, 0.22);
	opacity: 0;
	animation: asmon-shop-glow-breathe 7.5s ease-in-out infinite;
}

.asmon-tier-card__add:is(:hover, :focus-visible)::before {
	animation-play-state: paused;
}

/* ----- Message « nouveaux produits débloqués » ----- */

.asmon-tier-toast {
	margin: 0.4rem 0 0;
	font-size: 0.82rem;
	color: var(--asmon-accent, #c9a84c);
}

.asmon-tier-toast a {
	color: var(--asmon-text-bright, #fff8e6);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.asmon-tier-toast-box {
	position: fixed !important;
	left: 50%;
	bottom: 1.4rem;
	z-index: 10260 !important;
	max-width: calc(100vw - 32px);
	padding: 0.8rem 1.1rem;
	border: 1px solid rgba(201, 168, 76, 0.5);
	background: rgba(9, 7, 5, 0.97);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 22px rgba(201, 168, 76, 0.2);
	transform: translateX(-50%);
	animation: asmon-tier-toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	transition: opacity 0.4s ease;
}

.asmon-tier-toast-box .asmon-tier-toast {
	margin: 0;
}

.asmon-tier-toast-box.is-leaving {
	opacity: 0;
}

@keyframes asmon-tier-toast-in {
	from {
		opacity: 0;
		transform: translate(-50%, 12px);
	}
}

/* Lumière du bouton et braises : jamais créées par asmon-tier.js dans ce mode. */
@media (prefers-reduced-motion: reduce) {
	.is-tier-unlocking .asmon-tier,
	.is-tier-unlocking .asmon-tier__lock,
	.is-tier-unlocking :has(> :is(.asmon-shop-sigil__cta--buy, .asmon-shop-quickview__buy, .single_add_to_cart_button)),
	.asmon-tier.is-shaking,
	.asmon-tier-toast-box,
	.asmon-tier-card.is-tier-unlocking :is(.asmon-tier-card__add, .asmon-tier-card__name),
	.asmon-tier-card__add::before,
	.asmon-tier-progress__fill,
	.asmon-tier-progress.is-complete .asmon-tier-progress__fill,
	.asmon-tier-progress__fill::after,
	.asmon-tier-progress__rail::after,
	.asmon-tier-progress .asmon-tier-progress__mark .asmon-tier-progress__gem,
	.asmon-tier-progress.is-complete .asmon-tier-progress__mark.is-reached .asmon-tier-progress__gem,
	.asmon-tier-progress.is-completing .asmon-tier-progress__mark.is-reached .asmon-tier-progress__gem,
	.asmon-tier-progress__mark.is-reached::after {
		animation: none;
	}

	.asmon-tier--card .asmon-tier-progress--card {
		transition: none;
	}

	.asmon-tier__shackle {
		transition: none;
	}

	body.asmon-shop .asmon-shop-sigil:has(.asmon-tier.is-unlocked:not(.is-free)) {
		animation: none;
	}
}
