/*
 * IMMGO — Écrans des lots : statut, historique, photos ; sélecteur de la barre d'outils
 * Auteur : Jacks Ngalangala
 */

/* ─── Fiche d'un lot : statut, historique, photos (préfixes lo-, ph-) ─── */
.lo-statut {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--e-3);
}
.lo-prix {
  font-size: var(--taille-titre-3);
  font-weight: var(--graisse-titre);
  font-variant-numeric: tabular-nums;
}
.lo-historique {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.lo-evenement {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: var(--e-3);
  padding-bottom: var(--e-5);
}
.lo-evenement::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--trait);
}
.lo-evenement:last-child::before {
  display: none;
}
.lo-point {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 4px var(--or-pale);
}
.lo-transition {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--e-2);
}
.lo-transition svg {
  width: 16px;
  height: 16px;
  color: var(--texte-faible);
}
.ph-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--e-4);
}
.ph-vignette {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--trait);
  border-radius: var(--r-moyen);
  overflow: hidden;
  background: var(--surface);
}
.ph-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-douce);
}
.ph-legende {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-2);
  padding: var(--e-1) var(--e-1) var(--e-1) var(--e-3);
  font-size: var(--taille-petit);
  color: var(--texte-second);
}
.outils-choix {
  flex: 0 1 240px;
}

@media (max-width: 599px) {
  .outils-choix {
    flex-basis: 100%;
  }
}
