/* Sushiedit — mention « Allergènes ⓘ » : discrète, lisible, sans encombrer la fiche. */
.serm-al {
	position: relative;
	display: block;
	width: -moz-fit-content;
	width: fit-content;
	margin: .45rem 0 .7rem;
	font-size: .82rem;
	line-height: 1.35;
	text-align: left;
}
.serm-al-slot { margin: 0; }
.serm-al__btn {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	margin: 0;
	padding: .15rem 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: .01em;
	opacity: .72;
	cursor: pointer;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
	-webkit-tap-highlight-color: transparent;
}
.serm-al__btn:hover,
.serm-al.is-open .serm-al__btn { opacity: 1; }
.serm-al__btn:focus { outline: none; }
.serm-al__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.serm-al__i { font-size: 1.05em; line-height: 1; text-decoration: none; }
.serm-al__tip {
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	z-index: 60;
	width: max-content;
	max-width: min(300px, 82vw);
	padding: .7rem .85rem;
	border-radius: 8px;
	background: #262626;
	color: #f4efe8;
	font-size: .8rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.serm-al__tip[hidden] { display: none; }
.serm-al__tip::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 14px;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: rotate(45deg);
}
.serm-al__tip strong { font-weight: 600; color: #fff; }
.serm-al__tip a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Carte rapide : toujours dans le flux, la fiche peut défiler et ne doit rien couper. */
.serm-al-slot .serm-al__tip {
	position: static;
	width: auto;
	max-width: 34rem;
	margin-top: .45rem;
	box-shadow: none;
}
.serm-al-slot .serm-al__tip::before { display: none; }

/* Petits écrans et fiche rapide : l'information s'ouvre dans le flux, sous la mention,
 * pour ne jamais être coupée par le bord de l'écran ou de la fiche. */
@media (max-width: 640px), (hover: none) {
	.serm-al { display: block; }
	.serm-al__tip {
		position: static;
		width: auto;
		max-width: none;
		margin-top: .45rem;
		box-shadow: none;
	}
	.serm-al__tip::before { display: none; }
}
