.product-photo { display:inline-flex; align-items:center; justify-content:center; width:54px; height:62px; flex:0 0 54px; padding:0; border:1px solid var(--line); border-radius:8px; background:#fff; overflow:hidden; }
.product-photo>img { display:block; width:100%; height:100%; object-fit:contain; padding:2px; }
button.product-photo { cursor:zoom-in; }
.product-photo>.icon { width:23px; height:23px; color:var(--muted); }
.catalog-image-preview { display:flex; align-items:center; justify-content:center; padding:12px; margin-bottom:18px; border:1px solid var(--line); border-radius:12px; background:var(--surface-alt); }
.product-photo-large { width:100%; max-width:320px; height:230px; flex-basis:auto; border:0; border-radius:8px; }
.product-photo-large>img { padding:4px; }
.product-photo-large>.icon { width:60px; height:60px; }
.image-scope { display:flex; align-items:flex-start; gap:9px; font-size:13px; line-height:1.5; margin:14px 0; }
.image-scope input { flex:0 0 17px; width:17px; height:17px; margin:2px 0 0; accent-color:var(--accent); }
.product-image-manager [data-image-status]:empty { display:none; }
.customer-results .picker-image-row { display:grid; grid-template-columns:58px minmax(0,1fr); column-gap:8px; align-items:center; padding:5px; border-radius:6px; }
.customer-results .picker-image-row>.product-photo { width:58px; height:70px; }
.customer-results .picker-image-row>[role=option] { min-width:0; min-height:70px; padding:6px; }
.market-visual .product-photo { width:100%; height:100%; min-height:160px; border:0; border-radius:0; }
.market-visual .product-photo>img { padding:6px; }
.market-visual .product-photo>.icon { width:60px; height:60px; }
@media (max-width:760px) {
  .product-photo { width:48px; height:58px; flex-basis:48px; }
  .product-photo-large { width:100%; max-width:300px; height:210px; flex-basis:auto; }
  .product-image-manager .dialog-header { padding:16px; }
  .product-image-manager .dialog-body { padding:16px; }
}
.product-photo-viewer .dialog-body { padding:16px; }
.product-photo-viewer .product-photo-large { max-width:none; height:min(58dvh,480px); }
