.product-images-dialog [hidden],.product-images-controls [hidden],.product-images-toolbar[hidden]{display:none!important}
.product-images-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;margin-bottom:12px;border-bottom:1px solid var(--line,#273344)}
.product-images-controls>strong{margin-right:8px;font-size:13px}.product-images-notice{font-size:12px;color:var(--muted,#9caec4)}
.product-images-dialog{width:min(1180px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#304159);border-radius:16px;background:var(--panel,#111923);color:var(--text,#e5edf8);box-shadow:0 24px 80px #0008}
.product-images-dialog::backdrop{background:#03070bbd;backdrop-filter:blur(3px)}.product-images-card{padding:22px}.product-images-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.product-images-heading h3{margin:0 0 8px}.product-images-heading p{margin:0 0 18px;color:var(--muted,#9caec4);font-size:13px;line-height:1.6}.product-images-heading .icon-btn{flex-shrink:0}
dialog.product-images-dialog[open]{width:min(1180px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px)}
.product-images-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:112px;padding:18px;border:1px dashed #536d92;border-radius:12px;background:#18293f66;cursor:pointer;text-align:center;transition:border-color .15s,background .15s}.product-images-drop span{font-size:12px;color:var(--muted,#9caec4)}.product-images-drop:hover,.product-images-drop.is-dragover{background:#24497866;border-color:#68a3ff}.product-images-drop:focus-visible,.product-images-target:focus-visible,.product-images-picker-item:focus-visible{outline:2px solid #68a3ff;outline-offset:3px}
.product-images-status{min-height:20px;margin:14px 0;font-size:13px;line-height:1.5}.product-images-replace{display:flex;align-items:center;gap:9px;margin:10px 0 16px;font-size:13px}.product-images-replace input,.product-images-table input[type=checkbox]{width:17px;height:17px;accent-color:#417ff1;flex-shrink:0}
.product-images-table-wrap{max-height:48dvh;overflow:auto;border:1px solid var(--line,#273344);border-radius:10px}.product-images-table{width:100%;min-width:780px;border-collapse:collapse;text-align:left;font-size:12px}.product-images-table th{position:sticky;top:0;z-index:1;padding:10px 12px;background:#172231;color:var(--muted,#9caec4);font-size:11px;font-weight:600}.product-images-table td{padding:10px 12px;vertical-align:middle;border-top:1px solid var(--line,#273344)}.product-images-table th:first-child{width:60px}.product-images-table th:nth-child(2){width:86px}.product-images-preview{display:block;width:64px;height:74px;object-fit:contain;border-radius:5px;background:#fff}.product-images-file{max-width:240px;overflow-wrap:anywhere}.product-images-file small{display:block;margin-top:5px;color:var(--muted,#9caec4)}
.product-images-target{display:block;max-width:300px;padding:7px 0;border:0;background:none;color:#a9ceff;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}.product-images-target:disabled{color:inherit;cursor:default}.product-images-existing{display:block;color:#edbf6e;font-size:10px;margin-top:4px}.product-images-row-status{display:block;max-width:250px;line-height:1.5;color:var(--muted,#9caec4)}.product-images-row-status.is-success{color:#75d9ac}.product-images-row-status.is-warning{color:#edbf6e}.product-images-row-status.is-error,.product-images-status.is-error,.product-images-notice.is-error{color:#ff9d9d}
.product-images-table th,.product-images-table td{text-align:left;white-space:normal}
.product-images-picker{margin:12px 0;padding:15px;border:1px solid #4775a6;border-radius:10px;background:#142338}.product-images-picker>strong{display:block;margin-bottom:10px;font-size:13px;overflow-wrap:anywhere}.product-images-picker>input{width:100%;margin-bottom:10px}.product-images-picker-list{display:grid;gap:5px;max-height:230px;overflow:auto;margin-bottom:12px}.product-images-picker-item{display:block;width:100%;padding:9px 10px;border:1px solid transparent;border-radius:6px;background:#1b304a;color:#e4efff;font:inherit;font-size:12px;text-align:left;cursor:pointer}.product-images-picker-item:hover{border-color:#5b8ac5}.product-images-picker>.btn{margin-right:8px}
.product-images-progress{min-height:20px;margin-top:12px;font-size:12px;color:#b7d3ff}.product-images-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px}.product-images-footer>span{max-width:420px;font-size:12px;line-height:1.5;color:var(--muted,#9caec4)}.product-images-footer>div{display:flex;flex-wrap:wrap;gap:8px}.product-images-dialog[aria-busy=true]{cursor:progress}
@media(max-width:650px){.product-images-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.product-images-card{padding:15px}.product-images-heading h3{font-size:17px}.product-images-drop{min-height:100px;padding:15px}.product-images-footer{align-items:stretch;flex-direction:column;gap:10px}.product-images-footer>div{justify-content:flex-end}.product-images-table-wrap{max-height:44dvh}.product-images-controls{align-items:flex-start}.product-images-notice{flex-basis:100%}}
@media(max-width:600px){dialog.product-images-dialog[open]{width:calc(100vw - 8px);height:auto;max-height:calc(100dvh - 8px)}}
@media(prefers-reduced-motion:reduce){.product-images-drop{transition:none}}
