
/* ONJ Primeur V75 clean - correctifs de non-régression.
   Chargé après les CSS historiques, sans les remplacer. */

.onj-navbar {
  background: #198754;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 60px;
  max-width: 110px;
  object-fit: contain;
}

.product-photo-wrapper {
  position: relative;
  overflow: hidden;
}

.product-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-origin-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: rgba(255,255,255,.96);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.product-origin-flag {
  display: block;
  width: 30px !important;
  height: 20px !important;
  object-fit: cover;
  border-radius: 2px;
}

.thumb {
  width: 90px !important;
  height: 70px !important;
  object-fit: cover;
  border-radius: 8px;
}

.product-selected-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: .5rem .5rem 0 0;
}

.family-choice-image,
.catalog-choice-image {
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.catalog-choice-image-large {
  height: 190px;
}

.family-choice-image img,
.catalog-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.reference-product-preview {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
  background: #fff;
}

.country-flag-img {
  width: 28px;
  height: 20px;
  object-fit: cover;
}

.country-flag-img-table {
  width: 24px;
  height: 18px;
}

@media (max-width: 767.98px) {
  .site-brand-logo {
    max-height: 52px;
    max-width: 90px;
  }

  .product-selected-image {
    height: 220px;
  }
}
