.inline-product-gallery{width:100%;min-width:0}
.inline-product-gallery .gallery-stage{height:440px;display:block;position:relative;background:#fff;border:1px solid #dce8ed;border-radius:12px;overflow:hidden}
.inline-product-gallery .gallery-stage>[data-gallery-slide]{position:absolute;inset:12px;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden}
.inline-product-gallery .gallery-stage>[hidden]{display:none!important}
.inline-product-gallery .gallery-stage>[data-gallery-slide]>img,.inline-product-gallery .gallery-stage>[data-gallery-slide]>svg{display:block;position:static;width:100%;height:100%;max-width:100%;max-height:100%;padding:0;object-fit:contain;object-position:center}
.inline-product-gallery .gallery-stage>[data-gallery-slide]>figure{margin:0;width:100%;height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;overflow:hidden}
.inline-product-gallery .gallery-stage>[data-gallery-slide]>figure>img{display:block;position:static;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.inline-product-gallery .gallery-stage>[data-gallery-slide]>figure>figcaption{font-size:13px;line-height:1.4;text-align:center;padding:0 4px;color:#466473;overflow-wrap:anywhere;max-height:72px;overflow:auto}
.inline-product-gallery .gallery-stage .kit-image-frames{position:static;inset:auto;width:100%;height:100%;min-height:0;padding:8px;gap:8px;align-items:stretch;justify-items:stretch}
.inline-product-gallery .gallery-stage .kit-component{margin:0;min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:6px}
.inline-product-gallery .gallery-stage .kit-component svg{display:block;width:100%;height:100%;min-height:0;max-height:100%}
.inline-product-gallery .gallery-stage .kit-component figcaption{font-size:12px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.inline-product-gallery .gallery-controls{display:flex;justify-content:center;align-items:center;gap:16px;margin:12px 0}
.inline-product-gallery .gallery-controls button,.inline-product-gallery .gallery-thumbnails button{background:#fff;border:1px solid #aac6d8;border-radius:8px;color:#075b9d;cursor:pointer;font-weight:700}
.inline-product-gallery .gallery-controls button{width:44px;height:44px;font-size:28px}
.inline-product-gallery .gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:4px}
.inline-product-gallery .gallery-thumbnails button{flex:0 0 76px;width:76px;height:76px;min-height:76px;padding:4px;overflow:hidden}
.inline-product-gallery .gallery-thumbnails button img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.inline-product-gallery .gallery-thumbnails button[aria-pressed=true],.inline-product-gallery .gallery-thumbnails button:hover,.inline-product-gallery .gallery-controls button:hover{border-color:#075b9d;background:#e5f3fb;box-shadow:0 0 0 2px #075b9d}
.inline-product-gallery .gallery-controls button:focus-visible,.inline-product-gallery .gallery-thumbnails button:focus-visible{outline:3px solid #075b9d;outline-offset:3px}
.shop-product-detail>div:first-child:has(.inline-product-gallery){height:auto;min-width:0}
@media(max-width:700px){.inline-product-gallery .gallery-stage{height:360px}}
