/* Device photography and transparent source images always sit on pure white. */
.product-image,.detail-gallery,.gallery-stage{background:#fff}
.product-image img,.gallery-stage img{object-fit:contain;mix-blend-mode:normal}
.product-image,.gallery-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.gallery-stage{position:relative;overflow:hidden}
.gallery-devices{display:grid;grid-template-columns:repeat(var(--device-count,1),minmax(0,1fr));gap:14px;width:100%;height:100%;align-items:center;background:#fff}
.gallery-devices[data-count="2"]{--device-count:2}.gallery-devices[data-count="3"]{--device-count:3}
.gallery-devices[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.gallery-devices figure{margin:0;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px}
.gallery-devices img{display:block;max-width:100%;max-height:calc(100% - 34px);width:100%;height:auto;object-fit:contain;background:#fff;mix-blend-mode:normal;transform:none!important;filter:none!important}
.gallery-devices figcaption{font-size:11px;color:#747474;text-align:center;line-height:1.3}
.gallery-stage>img{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;background:#fff;mix-blend-mode:normal;filter:none}
.gallery-credit{font-size:10px;color:#888;margin:9px 0 0;min-height:15px;line-height:1.5}
.gallery-credit a{text-decoration:underline;text-underline-offset:2px}
.gallery-fallback-brand{font-size:11px;font-weight:800;letter-spacing:2px;color:#ed6525}
.gallery-missing p{font-size:15px;line-height:1.5}
.product-image img{filter:none!important;max-height:86%;transition:transform .25s ease}
@media(max-width:540px){.gallery-devices{gap:8px}.gallery-devices figcaption{font-size:9px}}
