/* ***************** PÁGINAS DE LAS CARTAS *************** */
/* ******************************************************* */
/* NUEVO CSS */
/* ******************************************************* */
/* ESTILOS DE LA PÁGINA */
h1 {
  font-weight: bold;
  font-size: 2rem;
  color: var(--negro);
  text-align: center;
  margin-bottom: 1rem;
}
.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;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 2rem;
  z-index: 1;
  backdrop-filter: blur(2.2px);
}
/* * Header de Bebidas */
.main__header2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 2rem;
  z-index: 1;
  backdrop-filter: blur(2.2px);
}
.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(--negro);
  font-size: 1.5rem;
  font-weight: 600;
}

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

.bi-hand-index {
  font-size: 1.3rem;
  padding: 0.1rem;
  color: var(--blanco);
}

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

/* Imagen de cabecera de comidas */
.platos__familia-img-brunch {
  width: 100%;
  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: 0.5rem 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: 4rem;
  text-align: center;
  color: var(--color-secundario);
  font-weight: bold;
}

.container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  line-height: 1rem;
  margin-bottom: 0.3rem;
  & h4 {
    font-weight: bold;
    font-size: 1.2rem;
  }
}

.cuatro {
  display: grid;
  grid-template-columns: 1fr;
}

.product__description {
  font-size: 1.1rem;
  color: var(--color-secundario);
  padding: 0.2rem 1rem;
}
.product__img {
  width: 4rem;
  padding-right: 0.2rem;
}
.footer-producto {
  font-size: 0.9rem;
  color: rgb(89, 89, 89);
}
.cont__prices {
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 0.5rem;
  color: var(--negro);
  & span {
    width: 3.5rem;
    text-align: right;
    font-size: 1.1rem;
    font-weight: bold;
  }
}

.impuesto {
  display: inline-block;
  width: 100%;
  text-align: right;
}

/* 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;
}

/* ******************************************************* */
/** ESTILOS SNACKS  */
.smoo {
  width: 15rem;
  margin-bottom: 2rem;
}
.cont-snacks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.snacks {
  width: 100%;
  height: 100%;
  max-width: 50rem;
  margin: 0 auto;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  border-radius: var(--border-radius);
  box-shadow: var(--sombra);
  background: var(--color-degradado2);
  text-align: center;
  & img {
    width: 6rem;
    width: 90%;
    height: auto;
    object-fit: cover;
  }
  & h2 {
    color: var(--color-secundario);
    font-size: 1rem;
    font-weight: bold;
  }
  & p {
    font-size: 0.9rem;
    font-weight: 500;
  }
}
