/* Présentoir optique : cadres bronze, images entières, mouvement continu. */
.gl-gallery, .gl-gallery * { box-sizing: border-box; }
.gl-gallery {
  width: 100%; max-width: 1050px; margin: 40px auto; padding: 25px;
  border-radius: 10px; background: #6f4e37; position: relative; isolation: isolate; overflow: hidden;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
}
.gl-gallery-main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.gl-gallery .gl-gallery-photo {
  position: relative; min-width: 0; margin: 0; padding: 3px; aspect-ratio: 3 / 4;
  border: 1px solid #bd9266; border-radius: 15px;
  background: linear-gradient(125deg,#f2d8ac 0%,#b78d5f 18%,#60432e 48%,#d6b286 78%,#755033);
  box-shadow: 0 16px 28px -12px rgb(22 12 5 / 42%), inset 0 0 0 1px rgb(255 242 218 / 24%);
}
.gl-gallery .gl-gallery-photo::after {
  content: ''; pointer-events: none; position: absolute; inset: 1px; border-radius: 13px;
  border-top: 1px solid rgb(255 246 226 / 65%); border-left: 1px solid rgb(255 246 226 / 30%);
  border-bottom: 1px solid rgb(44 22 7 / 32%);
}
.gl-gallery .gl-gallery-photo picture {
  display: block; width: 100%; height: 100%; border-radius: 11px; background: #3b2b20;
  box-shadow: 0 0 0 1px rgb(22 11 4 / 40%);
}
.gl-gallery .gl-gallery-photo img {
  display: block; width: 100%; height: 100%; max-width: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 11px;
  object-fit: contain; object-position: center; transform: none; filter: none;
  animation: none; cursor: default; user-select: none; -webkit-user-drag: none;
}
.gl-gallery.gl-orbit .gl-gallery-main {
  display: block; position: relative; height: var(--orbit-height,620px); min-width: 0;
  overflow: visible; isolation: isolate;
}
.gl-gallery.gl-orbit .gl-gallery-main::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 2px; height: 30px;
  border-bottom: 1px solid rgb(224 190 143 / 26%); border-radius: 50%; pointer-events: none;
}
.gl-gallery.gl-orbit .gl-gallery-photo {
  position: absolute; top: 16px; left: calc(50% - var(--orbit-width,440px) / 2);
  width: var(--orbit-width,440px); height: var(--orbit-photo-height,587px);
  opacity: 0; transform-origin: center center; will-change: transform,opacity;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none;
}
.gl-gallery.gl-orbit .gl-gallery-photo:first-child { opacity: 1; }
.gl-gallery .gl-gallery-photo[hidden] { display: none; }
@media (max-width: 768px) {
  .gl-gallery { width: auto; margin: 20px 10px; padding: 15px; }
  .gl-gallery-main { gap: 15px; }
  .gl-gallery.gl-orbit .gl-gallery-main { max-width: 470px; margin: 0 auto; }
  .gl-gallery.gl-orbit .gl-gallery-main::after { left: 20%; right: 20%; bottom: 0; height: 18px; }
}
@media (max-width: 480px) { .gl-gallery-main { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .gl-gallery .gl-gallery-photo { will-change: auto; } }

/* Un seul fond opaque pour le titre et le lien d’avis : pas de joint entre deux calques au zoom. */
#main-content {
  padding-bottom: 0 !important; background: #6f4e37 !important;
  transform: none !important; will-change: auto !important; display: flow-root;
}
#main-content .header-text { min-width: 0; max-width: 100%; }
#main-content .header-text h1, #main-content .header-text p { overflow-wrap: break-word; }
#main-content #micro-avis {
  position: relative; margin: 40px -20px 0; padding: 8px 10px;
  background: none; border: 0; box-shadow: none; transform: none;
  color: #f3e6d3; text-align: center; font-size: .95em; font-family: 'Segoe UI',sans-serif;
}
#main-content #micro-avis a { color: #f3e6d3; -webkit-text-fill-color: currentColor; background: none; }
@media (max-width:768px) { #main-content #micro-avis { padding:12px 10px; font-size:1.05em; } }
