/* One photographic treatment for catalogue, related, finder and recent cards. */
body #shop .product .product-visual{height:auto!important;aspect-ratio:1 / 1;background:#f5f7f3;overflow:hidden}
body #shop .product .product-visual .product-photo{display:block;width:100%;height:100%;padding:0!important;object-fit:cover;object-position:center;background:#f5f7f3}
body.detail-page .related-visual{aspect-ratio:1 / 1;overflow:hidden;background:#f5f7f3}
body.detail-page .card .related-visual img{display:block;width:100%;height:100%!important;padding:0;object-fit:cover;object-position:center}
body .browse-recent-card,body .finder-result{padding:0 0 20px;overflow:hidden;border-radius:22px;background:#fff;border:1px solid #e0e5dc}
body .browse-recent-card>img,body .finder-result>img{display:block;width:100%;height:auto!important;aspect-ratio:1 / 1;object-fit:cover;object-position:center;padding:0;border-radius:0;margin:0;background:#f5f7f3}
body .browse-recent-card>:is(strong,span,b),body .finder-result>:is(strong,span,b){margin-left:18px;margin-right:18px}
body.guide-page .card>img{display:block;width:100%;aspect-ratio:1 / 1;height:auto!important;padding:0;object-fit:cover;object-position:center}
@media(max-width:640px){body .browse-recent-card>:is(strong,span,b),body .finder-result>:is(strong,span,b){margin-left:12px;margin-right:12px}}
/* Samsung reference: one centred product, white surround and consistent visual scale. */
body.useful-personal-store #shop .product .product-visual{position:relative;background:#fff}
body.useful-personal-store #shop .product .product-visual .product-photo{position:absolute;object-fit:contain;width:var(--product-image-width,80%)!important;height:var(--product-image-height,80%)!important;left:var(--product-image-left,10%);top:var(--product-image-top,10%);clip-path:var(--product-image-clip,none);padding:0!important;transform:none!important;background:transparent}

/* Related products use the same measured image framing as the personal catalogue. */
body.detail-page .related-visual{position:relative;background:#fff}
body.detail-page .card .related-visual>img{position:absolute;display:block;width:var(--product-image-width,80%)!important;height:var(--product-image-height,80%)!important;left:var(--product-image-left,10%);top:var(--product-image-top,10%);max-width:none;object-fit:contain;clip-path:var(--product-image-clip,none);padding:0!important;background:transparent;transform:none!important}

/* Recently viewed devices keep the same proportions as catalogue cards. */
body .browse-recent-visual{position:relative;width:100%;aspect-ratio:1 / 1;overflow:hidden;background:#fff}
body .browse-recent-card .browse-recent-visual>img{position:absolute;display:block;width:var(--product-image-width,80%)!important;height:var(--product-image-height,80%)!important;left:var(--product-image-left,10%);top:var(--product-image-top,10%);object-fit:contain;max-width:none;padding:0!important;margin:0;clip-path:var(--product-image-clip,none);transform:none!important;background:transparent}
