.product-gallery{min-width:0;align-self:start}
.product-gallery__grid{align-items:start;gap:30px 24px}
.product-gallery__grid--single{grid-template-columns:1fr}
.product-gallery__grid>.product-gallery__tile:nth-child(n+5){display:none}
.product-gallery__tile{background:#f4f4f4}
.product-gallery__image-button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.product-gallery__image-button>img{display:block;width:100%;height:100%;object-fit:contain}
.product-gallery__tile>.product-gallery__poster{position:absolute;inset:0;object-fit:cover}
.product-gallery__tile>.product-gallery__video,.product-gallery__tile>iframe{position:absolute;inset:0;z-index:1;width:100%;height:100%;max-height:none;aspect-ratio:auto;border:0;grid-area:auto}
.product-gallery__play[hidden]{display:none}
.product-gallery__zoom{padding:0}
.product-gallery__view-all{border:1px solid #d0d0d0;cursor:pointer}
.product-gallery__mobile-thumbs{display:none}
.gallery-lightbox>img{width:auto;height:auto;max-height:calc(100dvh - 160px)}
.gallery-lightbox__thumbs{justify-content:flex-start;max-width:min(90vw,1100px);margin-inline:auto}
.lightbox-open{overflow:hidden}
@media(max-width:900px){
  .product-gallery__grid{display:block}
  .product-gallery__grid>.product-gallery__tile{display:none}
  .product-gallery__grid>.product-gallery__tile.is-active{display:grid}
  .product-gallery__mobile-thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:16px;padding:2px 0;scrollbar-width:thin}
  .product-gallery__mobile-thumbs>.gallery-thumb{position:relative;flex:0 0 64px;min-width:64px;width:64px;height:64px;padding:0;border:1px solid transparent;background:#f4f4f4}
  .product-gallery__mobile-thumbs>.gallery-thumb.is-active{border:2px solid #222}
  .product-gallery__mobile-thumbs>.gallery-thumb img{width:100%;height:100%;object-fit:contain}
  .product-gallery__thumb-play{position:absolute;inset:0;display:grid;place-items:center}
  .product-gallery__thumb-play svg{width:25px;height:25px;padding:5px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002}
  .product-gallery__play{width:64px;height:64px}
  .gallery-lightbox__arrow{z-index:2}
}
