/* Formularios de acceso (registro, login, recuperar): columna angosta y centrada. */
.mqh-angosto {
  max-width: 520px;
}

/* Campo trampa contra bots: fuera de la vista, pero presente en el HTML. */
.mqh-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Fotos de productos: siempre cuadradas, recortando lo que sobra. */
.mqh-miniatura {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}

.mqh-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.mqh-foto-tarjeta {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mqh-foto-principal {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Panel de pedidos: la tarjeta que cambió o que acaba de llegar se ilumina un momento. */
.mqh-pedido:target, .mqh-destello {
  animation: mqh-destello 2s ease;
}
@keyframes mqh-destello {
  0%, 35% { background-color: #fff3cd; }
  100% { background-color: #fff; }
}

/* Pedidos nuevos que "envejecen" (módulo Comanda): amarillo y rojo, latiendo. */
.mqh-espera { color: #6c757d; }
.mqh-espera.amarillo { color: #8f6600; animation: mqh-latido 1.6s ease-in-out infinite; }
.mqh-espera.rojo { color: #dc3545; animation: mqh-latido 1.1s ease-in-out infinite; }
@keyframes mqh-latido {
  50% { opacity: .4; }
}
