/* Product photographs are display-only; engraving coordinates remain in the API layout. */
.product-photo-preview{position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:10px;background:#f6f2eb}
.f2-preview .product-photo-base{display:block;width:100%;height:100%;max-height:none;object-fit:fill}
.f2-preview .product-photo-art{position:absolute;display:block;max-height:none;object-fit:fill}
.f2-preview figure:has(.product-photo-preview){padding:.7rem}
@media(max-width:760px){#previews:has(.product-photo-preview){display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem}#previews figure:has(.product-photo-preview){margin:.3rem 0}.f2-preview{padding:1rem}}

.product-photo-board{isolation:isolate}
.preview-wrap .product-photo-board .product-photo-base,.free-preview .product-photo-board .product-photo-base{display:block;width:100%;height:100%;max-height:none;object-fit:fill;background:none;box-shadow:none}
.preview-wrap .product-photo-board .product-photo-art,.free-preview .product-photo-board .product-photo-art{position:absolute;max-height:none;object-fit:fill;mix-blend-mode:multiply;background:none;box-shadow:none}
.product-photo-board:has(>.product-photo-art[hidden]){display:none}
