/* ***************** PÁGINAS DE LAS CARTAS *************** */
.carta {
	display: grid;
	grid-template-columns: auto 1fr;
}
/* ASIDE */
.aside {
	position: sticky;
	top: 0;
	left: 0;
	height: 100dvh;
	background: var(--color-degradado2);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 4rem 0.3rem;
}

/* ******************************************************* */

/* MAIN */
.main {
	width: 100%;
	max-width: 50rem;
	padding: 1rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
.main__header {
	position: fixed;
	top: 0;
	left: 0;
	background: var(--color-degradado);
	width: 100%;
	display: flex;
	justify-content: end;
	align-items: center;
	gap: 1rem;
	padding: 0.5rem 1rem;
	z-index: 1;
}
.carta__icons {
	width: 2rem;
	cursor: pointer;
	animation: rotation 3s;
}
.bandera {
	border-radius: 50%;
	box-shadow: var(--sombra);
}

/* Logo superior */
.main__logo {
	width: 100%;
	max-width: 50rem;
	margin: 4rem 0 1rem;
	padding: 0.5rem;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
}
/* *********************************************************** */

/* PLATOS */
/* Container */
.platos {
	width: 100%;
	max-width: 50rem;
	margin: 0 auto;
	padding: 0.2rem;
	display: flex;
	flex-direction: column;
}
/* Familia */
.platos__familia {
	position: relative;
	width: 100%;
	margin: 0.4rem 0;
	display: flex;
	align-items: end;
	background: var(--color-degradado2);
	border-radius: var(--border-radius);
	border: var(--border);
	box-shadow: var(--sombra);
	cursor: pointer;
}
.platos__familia-h2 {
	margin: 0.5rem;
	padding: 0.2rem 0;
	font-size: 1.2rem;
}
.platos__familia-img {
	height: 8rem;
	object-fit: cover;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
}
/* .hide {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-in;
} */
/* Clase .active para abrir y cerrar el Acordeon */
.active {
	padding: 0.5rem 0;
	max-height: 50rem;
	overflow: visible;
}

/* Impuestos */
.tax {
	margin: 2rem auto;
	font-weight: bold;
}

/* PRODUCTOS */
.nuevo__producto {
	display: flex;
	flex-direction: column;
	margin-top: 0.5rem;
}
/* Separar la última linea de la cabecera siguiente */
.nuevo__producto:last-of-type {
	margin-bottom: 1rem;
}
.new__header {
	color: var(--blanco);
	font-size: 1.1rem;
	font-weight: bold;
	text-align: center;
}
.cabeceras__columnas {
	display: flex;
	justify-content: end;
	align-items: baseline;
}
.cabecera__columnas-imagen {
	height: 1rem;
	width: auto;
	margin: 1rem 1.4rem;
	object-fit: cover;
}
.cabecera__columnas-imagen:nth-child(1) {
	height: 1.5rem;
}
.cabecera__columnas-imagen:nth-child(2) {
	height: 1.8rem;
}
.cabecera__columnas-imagen:nth-child(3) {
	height: 2.1rem;
}
.cabecera__columnas-imagen:nth-child(4) {
	height: 2.4rem;
}
.cabecera__columnas-imagen:nth-child(5) {
	height: 2.7rem;
}
.cabecera__columna-texto {
	width: 3.5rem;
	text-align: center;
}

.container {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: start;
	line-height: 1rem;
	padding: 0rem 0.5rem;
}
.product__description {
	color: var(--color-secundario);
	padding-left: 1.6rem;
	font-size: 1rem;
}
.product__img {
	width: 4rem;
	padding-right: 0.2rem;
}
.footer-producto {
	font-size: 0.9rem;
	color: rgb(89, 89, 89);
}
.cont__prices {
	display: flex;
	justify-content: end;
	gap: 0.5rem;
	color: var(--color-secundario);
	& span {
		width: 3rem;
		text-align: right;
		font-size: 1.1rem;
	}
}

.textos__header-footer-familia {
	color: var(--color-secundario);
	padding: 0.5rem 1rem;
}

/* Iconos Hot level en la página CARTA */
.h3__hot {
	text-align: center;
	margin-top: 1rem;
}
.hot {
	display: flex;
	flex-wrap: wrap;
	padding: 0 1rem;
	align-items: center;
	justify-content: center;
}
.hot__level {
	display: flex;
}
.hot__level img {
	height: 1rem;
	width: auto;
	margin: 0 0.5rem;
}
/* Icono individual de los platos */
.pepper {
	height: 1rem;
	width: auto;
	margin: 0 0.5rem;
	display: inline-block;
}

/* **************************************************** */
/* DESAYUNOS - Estilos de la opción 1 de pintar carta
                imágenes */
/* **************************************************** */
/*  */
.desayunos-h1 {
	text-align: center;
	margin: 0.2rem;
	color: var(--color-secundario);
	font-size: 2.5rem;
	font-weight: bold;
}
.desayunos-h2 {
	text-align: center;
	margin-bottom: 2rem;
	font-size: 2.2rem;
	font-weight: 500;
}
.desayunos {
	width: 100%;
	max-width: 50rem;
	margin: 3rem auto;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
	margin-bottom: 2rem;
}
.desayunos-titulos {
	width: 100%;
	max-width: 50rem;
	margin: 0 auto;
	color: var(--color-secundario);
	font-size: 2.3rem;
	font-weight: 500;
	text-align: center;
	border-radius: var(--border-radius);
	background: var(--color-degradado2);
	box-shadow: var(--sombra);
	margin-bottom: 1rem;
}
.desayuno {
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
}
.desayunos img {
	width: 100%;
	object-fit: cover;
	padding: 0.5rem;
}
.desayuno p {
	text-align: center;
	color: var(--color-secundario);
}
/* ******************************************************* */
/* Estilos de la opción 2 de pintar carta con imágenes */
.articulo {
	width: 100%;
	max-width: 50rem;
	margin: 0rem auto 0.5rem;
	padding: 0.5rem;
	display: grid;
	grid-template-columns: 1fr 15%;
	align-items: center;
	gap: 1rem;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
	background: var(--color-degradado2);
}
.articulo__img-precio {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.articulo__img-precio img {
	width: 100%;
}
.articulo__textos h2,
.articulo__img-precio {
	color: var(--color-secundario);
}
/* IMPUESTO */
.impuesto {
	width: 100%;
	text-align: right;
	color: var(--color-secundario);
	margin-top: 2rem;
}
/* FOOTER */
.baner__alergenos {
	width: 100%;
	max-width: 50rem;
	margin: 3rem auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
}

.special__offer {
	text-align: center;
	font-size: 1.4rem;
	font-weight: bold;
}
.special__offer h1,
.special__offer h2 {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--blanco);
}

.footer {
	width: 100%;
	margin-bottom: 3rem;
	display: flex;
	flex-direction: column;
}
.footer__texto-alergenos {
	font-size: 0.8rem;
	color: var(--color-secundario);
}
.email {
	font-size: 0.9rem;
	color: var(--color-secundario);
	margin: 1rem 0;
}
.restaurant123 {
	display: flex;
	justify-content: center;
	font-size: 0.8rem;
}
.restaurant123 a {
	padding: 0 0.2rem;
}
@media screen and (min-width: 768px) {
	.wrapper {
		width: 100%;
	}
}

/** ESTILOS SNACKS  */
.snacks {
	width: 100%;
	max-width: 50rem;
	margin: 0 auto;
	padding: 0.2rem;
	margin-bottom: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
	background: var(--color-degradado2);
	& img {
		width: 100%;
		height: 8rem;
		object-fit: cover;
		border-radius: var(--border-radius);
	}
	& h2 {
		color: var(--color-secundario);
		font-size: 1.2rem;
		font-weight: bold;
		padding: 0.5rem;
	}
	& p {
		font-size: 1.2rem;
		font-weight: 500;
	}
}
