/**
 * Page « Réductions » : mise en avant des remises.
 *
 * Cette page sert à écouler du stock : le pourcentage doit se voir, alors que
 * sur le reste du catalogue il reste volontairement discret. Les pastilles
 * éditoriales (Top 10, Promo, Best-seller) sont retirées côté PHP ; la règle
 * ci-dessous ne sert que de filet si le plugin change de structure.
 *
 * Charte : noir #000, doré #a2907b, taupe #846f57, beige #f0ede8,
 * titres en ivypresto-display italique, textes en neue-haas-unica.
 */

.glow-promo .genius-product-indicators {
	display: none;
}

/* ---------------------------------------------------------------
   Badge de remise sur l'image
   --------------------------------------------------------------- */

/* Le sélecteur reprend celui du thème préfixé de .glow-promo : un cran
   au-dessus, sans !important. */
.glow-promo ul.products li.product .sale-item.glow-promo-badge {
	top: 0;
	left: 0;
	right: auto;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 64px;
	padding: 9px 10px 8px;
	background-color: #000;
	color: #fff;
	border-radius: 0 0 3px 0;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

.glow-promo .glow-promo-badge__value {
	display: block;
	font-family: ivypresto-display, serif;
	font-style: italic;
	font-size: 27px;
	font-weight: 400;
	line-height: 0.9;
	white-space: nowrap;
}

.glow-promo .glow-promo-badge__unit {
	font-size: 0.6em;
	font-style: italic;
	vertical-align: baseline;
}

.glow-promo .glow-promo-badge__label {
	display: block;
	font-family: neue-haas-unica, sans-serif;
	font-size: 8.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0.78;
}

/* ---------------------------------------------------------------
   Étiquette d'économie, à côté du prix
   --------------------------------------------------------------- */

.glow-promo .glow-promo-saving {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 3px 8px;
	border-radius: 3px;
	background-color: #f0ede8;
	color: #846f57;
	font-family: neue-haas-unica, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Le prix et son étiquette restent sur la même ligne, et passent à la ligne
   ensemble plutôt que de déborder sur les cartes étroites. */
.glow-promo ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 4px;
}

/* ---------------------------------------------------------------
   Écrans étroits
   --------------------------------------------------------------- */

@media (max-width: 767px) {

	/* Cartes à deux colonnes : le badge reste lisible sans manger l'image. */
	.glow-promo ul.products li.product .sale-item.glow-promo-badge {
		min-width: 48px;
		padding: 6px 7px 5px;
	}

	.glow-promo .glow-promo-badge__value {
		font-size: 20px;
	}

	.glow-promo .glow-promo-badge__label {
		font-size: 7px;
		letter-spacing: 0.08em;
	}

	.glow-promo .glow-promo-saving {
		margin-left: 6px;
		padding: 2px 6px;
		font-size: 9px;
	}
}
