/* Galerie visible en page, sans ouverture externe du fichier Amazon. */
.bt17-gallery{width:100%;display:grid;gap:12px}
.bt17-gallery-stage{aspect-ratio:1.08;min-height:245px;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid #e4e9e7;border-radius:16px;padding:15px}
.bt17-gallery-main{width:100%;height:100%;max-height:430px;object-fit:contain}
.bt17-gallery-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.bt17-gallery-thumb{border:2px solid #d8dedb;border-radius:11px;background:#fff;cursor:pointer;aspect-ratio:1;padding:5px;display:flex;align-items:center;justify-content:center}
.bt17-gallery-thumb img{width:100%;height:100%;object-fit:contain}
.bt17-gallery-thumb:hover,.bt17-gallery-thumb:focus-visible,.bt17-gallery-thumb.is-active{border-color:#0c6d62;box-shadow:0 0 0 2px #0c6d6220}
.detail-photo:has(.bt17-gallery){height:auto;min-height:0;display:block;padding:14px;overflow:visible}
.detail-photo:has(.bt17-gallery) .photo-caption{position:static;margin:10px 2px 0;color:#71877b}
@media(max-width:720px){.bt17-gallery-stage{aspect-ratio:1.2;min-height:230px}.bt17-gallery-thumbnails{gap:5px}.bt17-gallery-thumb{padding:3px}}
