.product-thumb,.sales-search-thumb{display:block;width:48px;height:48px;flex:none;border-radius:9px;object-fit:cover;border:1px solid #e2e8f0;background:#f4f6f9}
.product-thumb-empty,.sales-search-thumb-empty{display:grid;place-items:center;color:#94a2b4;font-size:11px;font-weight:600}
.product-image-link{display:block;border:0;background:transparent;padding:0;border-radius:9px}
.product-image-link:focus-visible{outline:3px solid #4e74a7;outline-offset:2px}
.sales-search-item>.sales-search-thumb{display:block}
.product-media{margin-top:22px;padding-top:20px;border-top:1px solid #e8edf3}
.product-media h3{margin:0 0 5px;font-size:16px}
.product-media .small-text{margin:0}
.product-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:14px 0}
.product-gallery>.muted{grid-column:1/-1;font-size:13px}
.product-image-card{border:1px solid #e1e7ef;border-radius:12px;padding:8px;min-width:0;background:#fbfcfe}
.product-image-card>img{display:block;width:100%;height:150px;object-fit:cover;border-radius:8px;background:#f4f6f9}
.product-image-card>div{display:grid;gap:8px;margin-top:8px}
.product-image-card .actions{flex-wrap:wrap}
.product-image-card .actions button{font-size:11px;padding:5px 8px;min-height:30px}
.image-cover-label{font-size:11px;color:#245b42;background:#e8f6ed;border-radius:30px;padding:4px 8px;width:max-content;font-weight:700}
.product-upload{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.product-upload label{flex:1;min-width:220px}
.product-upload button{white-space:nowrap}
.arrival-product-cell{display:flex;align-items:center;gap:9px}
.arrival-product-cell span{display:grid;gap:3px}
.arrival-product-cell small{font-size:11px;color:#8794a7}
@media(max-width:600px){.product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image-card>img{height:125px}}
.product-name-link{border:0;background:none;color:#244f7f;font-size:13px;font-weight:700;padding:3px 0;text-align:left;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-name-link:hover{text-decoration:underline}
.product-name-link:focus-visible,.product-image-link:focus-visible{outline:3px solid #4e74a7;outline-offset:2px}
.list-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:#718197;font-size:12px}
.list-pager>div{display:flex;gap:8px}
.list-pager button{min-height:33px;padding:5px 11px}
.product-editor-dialog{width:min(100% - 32px,1080px);max-width:1080px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce4ee;border-radius:18px;box-shadow:0 24px 80px #0b1c3d55;color:#18233b;overflow:auto}
.product-editor-dialog::backdrop{background:#101d34a8}
.product-editor-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:24px 28px;border-bottom:1px solid #e7ecf3;background:#fbfcfe}
.product-editor-kicker{color:#6b819d;font-size:11px;font-weight:800;letter-spacing:.08em}
.product-editor-head h2{font-size:22px;margin:5px 0}
.product-editor-head p{font-size:12px;color:#8290a4;margin:0}
.product-editor-close{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#64758d;font-size:22px;line-height:1}
.product-editor-close:hover{background:#f1f5fa;color:#213d60}
.product-editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:28px;padding:26px 28px}
.product-editor-body form{align-content:start}
.product-editor-warning{background:#f3f7fc;border-radius:9px;padding:10px 12px;color:#64758b;font-size:11px;line-height:1.5;margin:0}
.product-editor-actions{display:flex;justify-content:space-between;gap:10px;margin-top:4px}
.product-editor-media{border-left:1px solid #e9edf3;padding-left:26px;min-width:0}
.product-editor-media-head{display:flex;justify-content:space-between;gap:12px;align-items:start}
.product-editor-media-head h3{font-size:16px;margin:0 0 4px}
.product-editor-media-head p{font-size:11px;line-height:1.5;color:#8694a6;margin:0}
.product-editor-media-head>span{font-size:12px;color:#3d6594;background:#edf4fb;border-radius:99px;padding:4px 8px;white-space:nowrap}
.product-editor-media .product-gallery{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}
.product-editor-media .product-image-card>img{height:125px}
.product-gallery-empty{grid-column:1/-1;border:1px dashed #d4deea;border-radius:12px;padding:30px 15px;text-align:center;color:#8492a5;font-size:12px;background:#f8fafd}
.visually-hidden-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%);padding:0;border:0}
.image-add-button{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 8px;border:1.5px dashed #a9bfd7;border-radius:12px;background:#f5f9fd;color:#2c5686;padding:14px;min-height:62px;text-align:center;transition:background .15s,border-color .15s,box-shadow .15s}
.image-add-button>span{font-size:21px;line-height:1}.image-add-button strong{font-size:13px}.image-add-button small{width:100%;font-size:11px;color:#7c8fa8}
.image-add-button:hover,.image-add-button.is-dragover{background:#eaf3fd;border-color:#4373a9;box-shadow:0 0 0 3px #e4effb}
.image-upload-status{min-height:18px;color:#66819d;font-size:11px;margin:8px 0 0}
.import-style-media{border-top:1px solid #e7ecf3;margin-top:18px;padding-top:17px}
.import-style-media>div:first-child strong{font-size:13px;color:#2c3d55}
.import-style-media>div:first-child p{font-size:11px;color:#8694a6;margin:4px 0 10px}
.import-style-gallery{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:10px}
.import-style-image{position:relative;width:85px}
.import-style-image img{display:block;width:85px;height:85px;object-fit:cover;border-radius:9px;border:1px solid #dce4ed}
.import-style-image button{width:100%;margin-top:4px;font-size:10px;min-height:25px;padding:2px}
.import-style-media .image-add-button{max-width:380px}
@media(max-width:760px){.product-editor-body{grid-template-columns:1fr;padding:18px}.product-editor-media{border-left:0;border-top:1px solid #e9edf3;padding:20px 0 0}.product-editor-head{padding:20px}.product-editor-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 18px)}}
