/* Retail editor: photo capture, compact previews and SKU/status in one row. */
html body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-media-field{
 display:block!important;grid-column:1/-1!important;min-width:0!important;margin:0!important;
 padding:12px!important;border:1px solid #d7e3f2!important;border-radius:12px!important;background:#f8fbff!important;
}
#catalogEditor .product-media-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#233c5a;font-size:14px;font-weight:700}
#catalogEditor .product-media-count{flex:0 0 auto;padding:3px 9px;border:1px solid #d4e2f4;border-radius:20px;background:#fff;color:#536d8c;font-size:12px;line-height:18px;font-weight:600}
#catalogEditor .product-media-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:7px}
html body #catalogEditor #catalogEditorForm .product-media-actions button{display:flex!important;align-items:center;justify-content:center;gap:7px;min-width:0!important;min-height:44px!important;height:auto!important;margin:0!important;padding:10px!important;border:1px solid #bcd0eb!important;border-radius:9px!important;background:#fff!important;color:#1858a1!important;font-size:14px!important;line-height:20px!important;font-weight:600!important;cursor:pointer}
html body #catalogEditor #catalogEditorForm #productTakePhoto{background:#eaf3ff!important;border-color:#accaf3!important}
#catalogEditor .product-media-actions svg{flex:none;display:block}
#catalogEditor .product-media-actions button:disabled{opacity:.45;cursor:default}
html body #catalogEditor #catalogEditorForm .catalog-media-field input[type=file][hidden]{display:none!important}
#catalogEditor .catalog-media-field>.catalog-field-hint{display:block;margin:0;color:#64748b;font-size:12px;line-height:18px}
#catalogEditor .product-media-empty{display:grid;place-items:center;min-height:56px;margin-top:10px;padding:10px;border:1px dashed #c5d6ec;border-radius:9px;background:#fff;color:#738299;font-size:12px;line-height:18px;text-align:center}
#catalogEditor .product-media-empty[hidden],#catalogEditor .product-media-list[hidden]{display:none!important}
html body #catalogEditor #productMediaList{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;margin:10px 0 0;padding:0;min-width:0}
html body #catalogEditor #productMediaList .product-media-thumb{position:relative;display:flex;flex-direction:column;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden;border:1px solid #d4e1f1;border-radius:9px;background:#fff}
html body #catalogEditor #productMediaList .product-media-thumb img{display:block;position:static;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1;object-fit:cover;background:#edf2f8;margin:0!important;border-radius:0!important}
#catalogEditor #productMediaList .product-media-primary{position:absolute;left:4px;top:4px;max-width:calc(100% - 8px);padding:2px 5px;border-radius:5px;background:#eaf3fff0;color:#1c5ca3;font-size:10px;line-height:15px;font-weight:700}
html body #catalogEditor #productMediaList .product-media-thumb small{display:block;margin:0!important;padding:4px 5px 0!important;color:#718096;font-size:10px;line-height:15px;text-align:center;white-space:normal}
html body #catalogEditor #productMediaList .product-media-thumb button{position:static!important;width:100%!important;min-width:0!important;min-height:34px!important;height:auto!important;margin:0!important;padding:6px 3px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b54545!important;font-size:11px!important;line-height:16px!important;text-align:center}
html body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-auto-media-option{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;grid-column:1/-1!important;min-width:0!important;margin:0!important;padding:11px 12px!important;border:1px solid #dce7f5!important;border-radius:10px!important;background:#f3f8ff!important;text-align:left!important}
html body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-auto-media-option input[type=checkbox]{appearance:auto!important;display:block!important;flex:0 0 20px!important;position:static!important;transform:none!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;margin:0!important;padding:0!important;border-radius:4px!important;accent-color:#1661dc;box-shadow:none!important}
html body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-auto-media-option>span{display:block!important;margin:0!important;font-size:13px!important;line-height:20px!important;font-weight:500!important;color:#3e526b!important}
html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:10px!important;grid-column:1/-1!important;min-width:0!important;margin:0!important;padding:0!important}
html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row.hidden{display:none!important}
html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row>label{display:flex!important;flex-direction:column;gap:6px;align-self:stretch!important;min-width:0!important;margin:0!important;padding:0!important;line-height:18px;font-size:13px!important}
html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row>label.hidden{display:none!important}
html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row .catalog-field-label{display:block;min-height:18px;margin:0;font-size:13px;line-height:18px}
html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row input,html body #catalogEditor #catalogEditorForm .ltn-retail-meta-row select{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:46px!important;height:46px!important;margin:0!important;padding:10px!important;font-size:16px!important;line-height:24px!important}
html body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-field-hint{white-space:normal!important;max-width:100%!important;overflow-wrap:anywhere;font-size:12px;line-height:18px}
#catalogEditor .product-media-actions button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
html[data-theme=dark] #catalogEditor .catalog-media-field{background:#1c2b40!important;border-color:#3c506c!important}
html[data-theme=dark] #catalogEditor .product-media-heading{color:#e0eaff}
html[data-theme=dark] #catalogEditor .product-media-count,html[data-theme=dark] #catalogEditor .product-media-empty,html[data-theme=dark] #catalogEditor #productMediaList .product-media-thumb{background:#172438;color:#b8c8df;border-color:#3c506c}
html[data-theme=dark] body #catalogEditor #catalogEditorForm .product-media-actions button{background:#20344f!important;color:#d2e5ff!important;border-color:#466589!important}
html[data-theme=dark] body #catalogEditor #catalogEditorForm #productTakePhoto{background:#23446d!important}
html[data-theme=dark] body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-auto-media-option{background:#1d314c!important;border-color:#3c506c!important}
html[data-theme=dark] body #catalogEditor.ltn-retail-editor-open #catalogEditorForm .catalog-auto-media-option>span{color:#d2def0!important}
@media(min-width:769px){#catalogEditor .product-media-list{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}
@media(max-width:480px){html body #catalogEditor #catalogEditorForm .catalog-media-field{padding:10px!important}#catalogEditor .product-media-heading{font-size:13px}#catalogEditor .catalog-media-field>.catalog-field-hint{font-size:11px;line-height:17px}}
