.product-photo-frame { aspect-ratio: 1; padding: 28px; }
.product-card[data-depth] .product-visual.product-photo-frame,
.admin-photo-thumb, .photo-upload-preview { background: #f7f4ee; }
.product-photo { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-photo-wrap { width: 100%; height: 100%; position: relative; display: grid; place-items: center; }
.product-photo-wrap .photo-unavailable { display:none; }
.product-photo-wrap.photo-failed img { display:none; }
.product-photo-wrap.photo-failed .photo-unavailable { display:block; color:var(--ink-soft); font-size:12px; text-align:center; }
.product-photo { transition: transform .25s ease; }
.sample-photo-note { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 10px; }
.product-tag { z-index: 2; }
.photo-bundle { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); width:100%; height:100%; gap:12px; }
.photo-bundle img { min-height:0; min-width:0; }
.admin-photo-thumb { width:64px; height:64px; padding:6px; border-radius:10px; }
.photo-upload-preview { width:min(100%,320px); aspect-ratio:1; padding:24px; margin:0 auto 20px; border-radius:18px; }
.photo-sample-control { margin-top:18px; }
.mini-product { display:grid; grid-template-rows:85px auto; gap:8px; }
.mini-product .product-photo-wrap { min-height:0; }
.cart-thumb .product-photo-wrap { width:100%; height:100%; }
.floating-instrument { background:#f7f4ee; padding:18px; }
.floating-instrument .product-photo-wrap { aspect-ratio:1; }
.floating-instrument span { color:var(--teal-900); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .product-card.depth-active .product-photo { transform:translateY(-4px) scale(1.03); }
}
@media (prefers-reduced-motion:reduce) { .product-photo { transition:none; } }
