/* === Styles personnalisés LAVA RUN === */

/* Ajustement des cartes d’articles (images dans les cards de la home/catégories) */
.card-img-top {
  object-fit: cover;
  height: 180px; /* hauteur fixe pour garder une grille harmonieuse */
}

/* Liens du footer */
footer a {
  text-decoration: none;
}

/* Logo dans la navbar */
.navbar-brand img {
  max-width: 160px;
  height: auto;
}

/* === Carrousel PC i3 (et réutilisable ailleurs) === */
/* Hauteur max des images = 240px, ratio respecté */
.carousel-item .lr-fit {
  height: 480;              /* cadre fixe */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;           /* évite les débordements */
}

.carousel-item .lr-fit img {
  max-height: 480;          /* pas plus de 240px de haut */
  width: auto;                /* largeur ajustée au ratio */
  max-width: 100%;            /* ne déborde pas du conteneur */
  object-fit: contain;        /* pas de déformation, toute l’image visible */
  display: block;
}

/* Améliore un peu l’affichage du formulaire */
.modal .form-label { font-weight: 600; }

/* Cartes d’articles (accueil) */
.lr-thumb-240 {
  max-height: 240px;
  width: 100%;
  object-fit: contain;   /* respecte le ratio */
  object-position: center;
  display: block;
}
.lr-card-equal .card {
  height: 100%;
}
