.list-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; font-weight: 600; }

/* Filtro "Ordenar por" arriba a la derecha */
.list-head { align-items: flex-end; }
.list-sort { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.list-sort label { font-size: .9rem; color: var(--muted); white-space: nowrap; margin: 0; }
.list-sort select { width: auto; min-width: 200px; }
@media (max-width: 575.98px) {
  .list-sort { width: 100%; }
  .list-sort select { flex: 1; min-width: 0; }
}

/* "Mostrar" y "Ordenar por" juntos; en celular uno debajo del otro */
.list-sort { flex-wrap: wrap; }
@media (max-width: 575.98px) {
  .list-sort label { width: 30%; }
  .list-sort select { flex: 1 1 65%; }
}
