/* ***************** 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;
}
.bandera {
  border-radius: 50%;
  box-shadow: var(--sombra);
}

/*BARRAS HEADER CON BANDERAS Y ASIDE */
.main__header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  background-color: #e7e1df;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 2rem;
  z-index: 1;
}
/* * Header de Bebidas */
.main__header2 {
  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: 8rem;
  margin-bottom: 1rem;
}
/* FAMILIA */
.platos {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.platos__familia {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.4rem;
  cursor: pointer;
  border-radius: var(--border-radius);
  background: var(--color-degradado);
  box-shadow: var(--sombra);
}
.platos__familia-h2 {
  margin: 0.2rem;
  color: var(--color-secundario);
  font-size: 1.1rem;
  font-weight: 600;
}

/* *************************************************** */
/*? Acordeon: Clase .hide para cerrar el Acordeon */
/* *************************************************** */

/* .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-brunch {
  width: 100%;
  height: auto;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--sombra);
  object-fit: cover;
}
.platos__familia-img {
  width: 100%;
  height: 8rem;
  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-top: 0.5rem;
}
/* Separar la última linea de la cabecera siguiente */
.nuevo__producto:last-of-type {
  margin-bottom: 1rem;
}
.new__header {
  color: var(--color-secundario);
  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: center;
  line-height: 1rem;
  gap: 1rem;
  margin-bottom: 0.2rem;
}
.product__description {
  color: var(--color-secundario);
}
.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);
}

/* 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-degradado);
  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-degradado);
}
.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%;
  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: 90%;
  }
}
