/* ***************** PÁGINAS DE LAS CARTAS *************** */

/* ******************************************************* */
/* NUEVO CSS */
/* ******************************************************* */
/* ESTILOS DE LA PÁGINA */
.carta {
	display: flex;
	flex-direction: column;
}
.carta__icons {
	width: 2rem;
	cursor: pointer;
	animation: rotation 3s;
}

/*BARRAS HEADER CON BANDERAS Y ASIDE */
.main__header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: fit-content;
	background-color: var(--blanco);
	display: flex;
	justify-content: end;
	align-items: center;
	gap: 1rem;
	padding: 0.5rem 2rem;
	z-index: 1;
}
.aside {
	position: fixed;
	top: 0;
	left: 0;
	width: fit-content;
	height: 100dvh;
	background: var(--color-degradado);
	box-shadow: var(--sombra);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 3rem 0.4rem;
}

/* MAIN */
.wrapper {
	width: 88dvw;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.5rem;
	z-index: -1;
}
.main {
	width: 100%;
	max-width: 50rem;
	margin: 3rem auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* Logo superior */
.main__logo {
	width: 100%;
	max-width: 13rem;
	margin-bottom: 1rem;
}
/* FAMILIA */
.platos {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
.platos__familia {
	width: 100%;
	margin-bottom: 0.8rem;
	cursor: pointer;
	border-radius: var(--border-radius);
	background: var(--color-degradado2);
	box-shadow: var(--sombra);
}
.platos__familia-h2 {
	margin: 0.2rem;
	padding: 0.3rem;
	color: var(--color-secundario);
}

/* *********************************************** */
/* BRUNCH */
.brunch h1 {
	text-align: center;
	margin: 0.2rem;
	color: var(--color-secundario);
	font-size: 1.8rem;
	font-weight: bold;
}
.brunch p {
	text-align: center;
	margin: 0.2rem;
	font-size: 1.3rem;
}

.brunch-textos {
	margin-top: 2rem;
	padding: 1rem;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
}
.brunch-textos p {
	font-family: "Roboto", sans-serif;
	color: var(--color-secundario);
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
	padding: 1rem;
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

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

.bi-hand-index {
	font-size: 1.3rem;
	padding: 0.1rem;
}

.hide {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-in;
}
/* Clase .active para abrir y cerrar el Acordeon */
.active {
	max-height: 135rem;
	overflow: visible;
}

/* Imagen de la familia */
.platos__familia-img {
	width: 100%;
	height: 8rem;
	margin-bottom: 1rem;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
	object-fit: cover;
}
.platos__familia-img-brunch {
	width: 100%;
	height: 12rem;
	margin-bottom: 0.8rem;
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
	object-fit: cover;
}
.textos__header-footer-familia {
	color: var(--color-secundario);
	padding: 0.5rem 0;
}

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

.container {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	line-height: 1rem;
	margin-bottom: 0.2rem;
	border-bottom: 1px solid lightgray;
}
.product__description {
	color: var(--color-secundario);
}
.product__img {
	width: 3rem;
	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);
	padding-left: 1rem;
}
.cont__prices span {
	width: 2.8rem;
	text-align: right;
}
.cont__prices span:nth-child(2) {
	color: rgb(84, 84, 84);
}
.cont__prices span:nth-child(4) {
	color: rgb(84, 84, 84);
}

.drinks-footer-icons {
	display: flex;
	align-items: center;
	margin: 1rem 0;

	& img {
		width: 1.2rem;
	}
	& span {
		font-size: 0.7rem;
		padding-right: 0.2rem;
	}
}

/* **************************************************** */
/* 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: 1.8rem;
	font-weight: bold;
}
.desayunos-h2 {
	text-align: center;
	margin-bottom: 1rem;
	font-size: 1.4rem;
}
.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;
	padding: 0.3rem;
	color: var(--color-secundario);
	font-size: 1.4rem;
	text-align: center;
	border-radius: var(--border-radius);
	background: var(--color-degradado2);
	box-shadow: var(--sombra);
}
.desayuno {
	border-radius: var(--border-radius);
	box-shadow: var(--sombra);
}
.desayunos img {
	width: 100%;
	object-fit: cover;
	padding: 0.5rem 1rem;
}
.desayuno p {
	text-align: center;
	color: var(--color-secundario);
	padding: 0.1rem;
}
/* ******************************************************* */
/* 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);
}
.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);
}
/* 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);
}

.footer {
	width: 100%;
	max-width: 50rem;
	margin: 3rem auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.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: 90%;
	}
}
