@import url("machine-v2.css?v=3");

/* Conservation stricte des proportions : aucune image ne peut dépasser son cadre. */
.main-photo img {
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 48px) !important;
  max-height: calc(100% - 48px) !important;
  padding: 0 !important;
  display: block !important;
}

.thumb img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto !important;
  display: block !important;
}

/* Logo complet : conservation des proportions sans découpe. */
.brand-crop {
  width: 230px !important;
  height: 64px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}

.brand-crop img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important;
  transform: none !important;
}

@media (max-width: 560px) {
  .brand-crop { width: 170px !important; height: 54px !important; }
  .brand-crop img { max-height: 48px !important; }
}
