.allergens {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem;
}
/* HEADER */
.allergens__header {
	background-color: var(--negro);
	position: fixed;
	top: 0;
	width: 100%;
	max-width: 50rem;
	padding: 0.5rem 1rem;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 0.5rem;
	z-index: 1;
	/* Animaciones */
	animation: rotation 2s;
}
.allergens__header-logo-img {
	width: 6rem;
	max-width: 15rem;
}
.allergens__header-iconos {
	width: 100%;
	display: flex;
	justify-content: end;
	align-items: center;
	gap: 1rem;
	z-index: 3;
}
.allergens__icons {
	height: 2rem;
	width: auto;
	min-width: 1.3rem;
	cursor: pointer;
	animation: rotation 3s;
}
.bi-house-fill {
	color: var(--blanco);
}
.logo_cabecera {
	width: 100%;
	max-width: 15rem;
	margin-top: 5rem;
}
/* Aviso de alérgenos */
.allergens__aviso {
	max-width: 50rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 6rem auto 3rem;
	padding: 1rem;
	border-radius: var(--border-radius);
	background: var(--color-degradado2);
	box-shadow: var(--sombra);
}
.allergens__aviso-bandera {
	width: 2.2rem;
	border-radius: 50%;
	margin: 0 auto;
}

/* Alérgenos INFO */
.allergens__info {
	width: 100%;
	max-width: 50rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 2rem auto;
	padding: 0.5rem;
}
.allergens__info h1 {
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
}
.allergens__lista {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
/*Clases de cada alérgeno */
.allergen__allergen {
	width: 100%;
	max-width: 50rem;
	padding: 0.5rem;
	display: grid;
	grid-template-columns: 1fr 6fr;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
.allergen__allergen-img {
	max-width: 5.5rem;
}

/* BANER FLOTANTE CON Nomenclaturas */
.nomenclaturas {
	position: sticky;
	top: 5rem;
	width: 100%;
	max-width: 50rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding: 1rem;
	text-align: center;
	border-radius: var(--border-radius);
	background: var(--color-degradado);
	box-shadow: var(--sombra);
	z-index: 1;
}
.nomenclaturas img {
	width: 2.5rem;
}
.nomenclaturas p {
	font-size: 0.5rem;
}

/* Clases para los iconos de alérgenos de cada plato */
.lista_alergenos {
	width: 100%;
	max-width: 50rem;
	& h2 {
		margin-top: 1.2rem;
	}
}
.lista_alergenos-plato {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	border-bottom: 1px solid lightgray;
	padding: 0.2rem;
}
.contenedor-icons {
	display: flex;
	justify-content: center;
	gap: 0.2rem;
	& .allergens__icons {
		height: 1.3rem;
		width: 1.1rem;
	}
}

/* ! ESTILOS PARA IMPRESIÓN */
@media print {
	.allergens__header {
		display: none;
	}
	.logo_cabecera {
		margin-top: 0rem;
	}
	p {
		color: black;
	}
	.allergen__allergen {
		grid-template-columns: 1fr 10fr;
		& img {
			width: 3rem;
		}
	}
	.footer__creditos {
		display: none;
	}
	.restaurant123 {
		display: none;
	}
	.logo__fondo-img {
		display: none;
	}
}
