.mg-external-product-image{max-width:100%;height:auto;object-fit:contain}
.mg-external-gallery__main{display:block;aspect-ratio:1/1;text-align:center}
.mg-external-gallery__main .mg-external-product-image{display:block;width:100%;height:100%;object-fit:contain}
.mg-external-gallery__thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mg-external-gallery__thumb{display:block;box-sizing:border-box;flex:0 0 72px;max-width:22%;aspect-ratio:1/1;border:2px solid transparent;border-radius:4px;overflow:hidden}
.mg-external-gallery__thumb .mg-external-product-image{display:block;width:100%;height:100%;object-fit:contain}
.mg-external-gallery__thumb[aria-current="true"]{border-color:currentColor}
.mg-external-gallery a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.mg-external-gallery__thumbs[hidden]{display:none}
