/* Catalog phone art: keep the whole device visible and keep its labels above it. */
.product-photo{position:relative!important;display:grid!important;place-items:center!important;isolation:isolate;background:linear-gradient(145deg,#f8f9fb,#eef0f4)!important}
.product-photo img{position:relative!important;z-index:1!important;width:80%!important;height:80%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:drop-shadow(0 12px 12px rgba(29,29,31,.14))!important}
.product-photo .product-family{position:absolute!important;z-index:3!important;top:13px!important;left:13px!important;max-width:calc(100% - 112px);padding:5px 8px!important;border:1px solid rgba(210,210,215,.7)!important;border-radius:999px!important;background:rgba(255,255,255,.82)!important;color:#6e6e73!important;font-size:9px!important;line-height:1!important;letter-spacing:.1em!important;white-space:nowrap;backdrop-filter:blur(8px)}
.product-photo .demo-chip{position:absolute!important;z-index:3!important;top:11px!important;right:11px!important;max-width:96px;padding:6px 9px!important;border:1px solid rgba(210,210,215,.65)!important;background:rgba(255,255,255,.9)!important;color:#315b84!important;font-size:10px!important;line-height:1.2!important;white-space:nowrap;backdrop-filter:blur(8px)}
@media(max-width:760px){.product-photo img{width:78%!important;height:78%!important}.product-photo .product-family{top:9px!important;left:9px!important;font-size:8px!important}.product-photo .demo-chip{top:8px!important;right:8px!important;font-size:9px!important}}

/* Fill the A17 asset's large built-in side margins and normalize used-phone scale. */
.product-photo[data-device-id='galaxyA17'] img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;transform:none!important;}
.product-photo[data-condition='used'] img{width:94%!important;height:92%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;}
@media(max-width:760px){.product-photo[data-device-id='galaxyA17'] img{width:100%!important;height:100%!important}.product-photo[data-condition='used'] img{width:96%!important;height:94%!important}}
