/* Framed product photographs; applies only to the catalog grid. */
#products .product-img{padding:12px;box-sizing:border-box}
#products .product-img>.product-photo{display:block;width:100%;height:100%;object-fit:contain;border-radius:12px;padding:10px;box-sizing:border-box}
#products .product-img>.product-photo{padding:0!important;clip-path:inset(0 round 12px);border-radius:12px!important;width:calc(100% - 24px)!important;height:calc(100% - 24px)!important;position:absolute;inset:12px;object-fit:contain}
#products .product-img>.product-photo{background:#fff;overflow:hidden}
@media(pointer:coarse){html body .drawer .qty-controls button{min-width:44px;min-height:44px;width:44px;height:44px}html body .menu,html body .drawer-head button,html body .modal-close{min-width:44px;min-height:44px}html body #products .product-info .add{min-height:44px}html body .drawer .cart-line>button{min-width:32px;min-height:44px}}
#products .product-img>.photo-case-preview{inset:12px;border-radius:12px;overflow:hidden}
#products .photo-case-preview>img{border-radius:12px;padding:8px;box-sizing:border-box}
#products .product-info .sku-label{display:block;flex:0 0 100%;width:100%;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:0;line-height:1.5}
@media(max-width:480px){#products .product-img{padding:8px}#products .product-img>.photo-case-preview{inset:8px}#products .product-img>.product-photo{padding:0!important;inset:8px;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important}}
