.has-uploaded-photo { background-size:contain !important; background-position:center !important; background-repeat:no-repeat !important; background-color:#f1f2f2 !important; }
.product-table-media { display:flex; gap:12px; align-items:center; min-width:200px; }
.product-table-photo { display:block; width:64px; height:64px; flex:0 0 64px; border-radius:10px; background-color:#f1f2f2; }
.product-photo-action { display:block; margin-top:6px; font-size:12px; }
.product-photo-field { display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin:18px 0; padding:14px; border:1px solid #dce3e9; border-radius:12px; }
.product-photo-form-preview { display:block; width:110px; height:110px; flex:0 0 110px; border-radius:10px; background-color:#f1f2f2; }
.product-photo-field p { max-width:460px; font-size:12px; color:#64748b; }
.product-photo-dialog { box-sizing:border-box; width:min(520px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; border:0; border-radius:18px; padding:24px; color:#12304d; }
.product-photo-dialog::backdrop { background:rgba(3,25,48,.55); }
.product-photo-dialog h2 { margin:0 36px 8px 0; }
.product-photo-dialog p { font-size:13px; line-height:1.6; }
.product-photo-dialog .photo-editor-preview { width:min(100%,260px); aspect-ratio:1; margin:14px auto; display:grid; place-items:center; border-radius:14px; background:#f1f2f2; overflow:hidden; }
.photo-editor-preview img { width:100%; height:100%; object-fit:contain; }
.photo-editor-actions { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.photo-editor-actions button { flex:1 1 130px; min-height:42px; }
.photo-editor-status { min-height:40px; overflow-wrap:anywhere; }
.photo-editor-status[data-error="true"] { color:#a32626; }
@media(max-width:400px) { .product-photo-dialog { padding:16px; } .product-photo-form-preview { width:84px; height:84px; flex-basis:84px; } }
