:root {
  --anchoMax: 800px;
}

@media (min-width: 576px) {
  header p{
   font-size: 2em; 
  }
  header img {
    width: 150px;
  }
  .agregarCard {
    overflow: auto;
    margin-top: 1em;
  }
  #cardEliminar {
    margin-top: 1em;
  }
  .selectLocalBotones {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 400px;
    gap: 0.5em;
    width: auto;
  }
  .selectLocalMap{
    height: 500px;
  }
  .chatMensajes {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 500px;
    background-color: darkred;
    gap: 1em;
    padding: 1em;
  }
  .chatInfo {
    flex-direction: row;
  }
  .chatEstado img {
    width: 60px;
  }
  .pedidoNombreUsuario {
    flex-grow: 1;
  }
  .chatEstado {
    flex-direction: row;
  }
  .pedidoInfo{
    flex-direction: row;
  }
  .pedidoMap > iframe{
    height: 100%;
    width: 100%;
  }
  .pedidoMap{
    flex-grow: 1;
  }
  header #cart {
    position: relative;
  }
  header #pedidoActivo span{
    display: block;
  }
  ._404brujula{
    max-width: 550px;
    margin: 0 auto;
  }
}
/* ------------------------------------------ */
@media (min-width: 800px) {
  .slideH {
    flex-wrap: wrap;
    margin: 0 auto;
  }
  .card {
    display: flex;
    flex-direction: column;
    width: 30%;
    border-radius: var(--boxLayoutL);
    overflow: hidden;
    background-color: white;
    position: relative;
  }
  .categoria {
    background-image: none;
    background-color: white;
    color: red;
    text-shadow: none;
    font-size: 1.2em;
    border-radius: var(--boxLayoutL);
    width: auto;
    height: auto;
  }
  .categoria:hover {
    background-color: red;
    color: white;
  }
  .categoria img {
    display: none;
  }
  .categoria p {
    position: relative;
    padding: 0.5em;
  }
  #carritoProds {
    flex-direction: row;
  }
  #cardRender {
    flex-direction: row;
    align-items: normal;
    flex-wrap: wrap;
    justify-content: center;
  }
  .selectLocalSeleccion {
    flex-direction: row;
    max-width: var(--anchoMax);
  }
  .pedidoNombreUsuario {
    flex-direction: row;
  }
}
/* ------------------------------------------ */

@media (min-width: 1000px) {
  .factCont #backRender{
    flex-direction: column-reverse;
  }
}