/* Shared product operations: readable desktop workspace with a real mobile preview. */
.integrated-editor{max-width:1040px;margin:0 auto;color:#243c35}.editor-toolbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#faf9f5ee;padding:12px 0;border-bottom:1px solid #dde5da}.editor-toolbar h2{margin:0}.editor-section{padding:24px;background:#fff;border:1px solid #e3e8df;border-radius:18px;margin:18px 0}.editor-section h3{margin-top:0}.integrated-editor input,.integrated-editor textarea,.integrated-editor select{width:100%;box-sizing:border-box}.integrated-editor .check input{width:auto}.editor-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.product-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.product-image-grid img{width:100%;height:150px;object-fit:contain;background:#faf9f5;border-radius:10px}.product-image-card{padding:10px;border:1px solid #dfe6dc;border-radius:12px;cursor:grab}.product-image-card .actions{gap:4px;flex-wrap:wrap}.product-image-card button{font-size:12px;padding:7px}.product-dropzone{border:1px dashed #aab8a6;padding:14px;border-radius:12px}.product-library-mask{position:fixed;inset:0;z-index:70;background:#15241f66;display:grid;place-items:center}.product-library{width:min(900px,90vw);max-height:80vh;overflow:auto;background:#fff;padding:20px;border-radius:18px}.product-library button span,.product-library small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}.category-chips{display:flex;flex-wrap:wrap;gap:16px}.category-edit-row{display:grid;grid-template-columns:1fr 100px 80px;gap:10px;align-items:center}.editor-with-preview{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.editor-phone-preview{position:sticky;top:110px;align-self:start;max-height:75vh;overflow:auto;padding:16px;background:#faf9f5;border:1px solid #e0e5dc;border-radius:22px}.editor-phone-preview img{width:100%;height:auto}.editor-message{color:#243c35;white-space:pre-wrap}.sku-editor{margin:16px 0;background:#fafbf8}.price-preview{padding:12px;background:#edf2e9;border-radius:10px}.integrated-editor fieldset{min-width:0}.integrated-editor .actions{flex-wrap:wrap}.integrated-editor button{background:#edf2e9;color:#243c35;border:1px solid #dce5d7}.editor-toolbar button:last-child{background:#243c35;color:#fff}@media(max-width:800px){.editor-with-preview,.editor-two-columns{grid-template-columns:1fr}.editor-toolbar{position:static;align-items:start;flex-direction:column}.editor-section{padding:16px}.editor-phone-preview{position:static}.category-edit-row{grid-template-columns:1fr 70px 64px}}

.product-dropzone>input[hidden],.product-video-editor>input[hidden]{display:none!important}.product-video-editor video{display:block;width:100%;max-height:360px;border-radius:12px;background:#f7f6f1}.product-video-editor small{color:#6d7b71}
