/* ------------------------- */
/* MEDIA QUERIES */
/* ------------------------- */

@media (max-width: 768px) {
  .cuadricula-hero {
    grid-template-columns: 1fr;
  }

  .contenido-cabecera {
    /* flex-direction: column; */
    gap: 15px;
    display: flex;
  }
  .contenedor-busqueda {
    max-width: 100%;
  }

  .titulo-carrusel {
    font-size: 32px;
  }
  .fondo-carrusel{
    width: 395px;
    height: 208px;
  }

  .cuadricula-categorias {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .contenedor-busqueda {
    width: 100%;
  }
  
  .displaynoneE {
    display: none;
  }
  .navegacion{
    display: none;
  }
}
/* Media queries para responsive */
@media (max-width: 1024px) {
    .boton-categorias span {
        display: none;
    }
    
    .selector-ubicacion {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
  .contenido-cabecera {
  padding: 12px 13px;
  gap: 10px;
  }

  .logo {
    font-size: 16px;
  }

  .logo-texto {
    font-size: 15px;
  }

  .icono-logo {
    width: 24px;
    height: 24px;
    display: none;
  }

  .icono-logo img {
    width: 24px;
    height: 24px;
  }

  /* Ocultar elementos en móvil */
  .boton-categorias,
  .selector-ubicacion {
    display: none;
  }

  /* Mostrar botón menú móvil */
  .boton-menu-movil {
    display: flex;
    order: -1;
  }

  /* Ajustar búsqueda */
  .contenedor-busqueda {
    max-width: none;
  }

  .entrada-busqueda {
    font-size: 16px; /* Evita zoom en iOS */
    padding: 12px 45px 12px 15px;
  }

  .boton-busqueda {
    width: 36px;
    height: 36px;
  }

  /* Ajustar acciones */
  .acciones-cabecera {
      gap: 8px;
  }

}

@media (max-width: 480px) {
  /* header */
  .contenido-cabecera{
    margin: 8px;
    /* background: #f1f5f9; */
    background: white;
    border-radius: 10px;
  }
  .menu-header{
    padding:1.2rem;
  }
  .menu-lateral{
    width:330px;
  }
  .cabecera{
    /* background: white; */
    /* background: #1664A4; */
    /* background: transparent; */
    /* background: #f1f5f9; */
    background: #0f76d06b;
    background: #c9d5df6b;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
  }
  .contenedor{
    padding: 0 10px;
  }
  .shape{display:none;}
  .contenido-cabecera {
      /* padding: 8px 12px; */
      gap: 8px;
  }
  .icono-cabecera {
    width: 36px;
    height: 36px;
    font-size: 16px;
    color: #2d3748;
}
  .banner-superior {
      font-size: 12px;
      padding: 10px 0;
  }
  .logo-texto{color: #00447A;}

  .boton-banner {
      padding: 4px 8px;
      font-size: 11px;
  }
  /* Búsqueda más pequeña */
  .entrada-busqueda {
      padding: 7px 40px 7px 12px;
      font-size: 14px;
      border: 1px solid #e9ecef;
  }

  .boton-busqueda {
    width: 28px;
    height: 27px;
    font-size: 13px;
  }
  #mi-header {
  top: 0px;
  }
  .seccion-producto {
  padding: 0;
}
.banner-imagen img {
  width: 70px;
}
.lista-productos{
  max-height: 350px;
}
.seccion-descripcion{
  padding: 0;
}
.detalles-producto{
  margin: -12px;
}
/* busqueda movil */
.form-busqueda{
  display: none;
}
.cont-busqueda{
  width: 160px;
}
.busqueda-movil{
  display: revert;
}
.cont-busqueda-movil{
  width: 99%;
    margin: 0 auto;
}
.entrada-busqueda{
  background: white;
}
.btn-movil{
  display: revert;
}
/* productos como se ven */
/* .cuadricula-productos {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
} */
/* .tarjeta-producto{
  display: block;
  padding: 18px;
}
.imagen-producto{
  width: 100px;
  margin: 0 auto;
}
.imagen-producto img{
  width: 100%;
  margin-top: 0;
}
.opciones-producto{
  display: flex;
  justify-content: space-evenly;
} */
}
