.image-upload-card{margin:18px 0 24px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}
.image-upload-card label{margin:12px 0 0}.image-upload-card .text-button{margin-top:8px}
.image-upload-preview{display:flex;align-items:center;justify-content:center;background:#f1f2eb;border-radius:8px;min-height:120px;overflow:hidden;text-align:center}
.image-upload-preview span{padding:18px;font-size:12px;line-height:1.6;color:var(--muted)}
.image-upload-preview img{display:block;width:100%;height:170px;object-fit:contain}
.image-upload-preview-folder img{height:auto;max-height:220px;object-fit:contain}
.image-upload-preview-product img{object-fit:contain}
.menu-live-preview{margin:24px 0 30px;border:1px solid #c9d4bc;border-radius:14px;overflow:hidden;scroll-margin-top:20px}
.live-preview-label{padding:15px 18px;background:#eaf0e1;display:flex;flex-direction:column;gap:5px}
.live-preview-label b{font-size:13px}.live-preview-label small{font-size:10px;color:var(--muted)}
.live-preview-screen{background:#fafaf6;max-height:540px;overflow:auto}
.live-preview-cover{display:block;width:100%;aspect-ratio:3/1;object-fit:cover}
.live-preview-header{display:flex;gap:14px;align-items:center;padding:20px}
.live-preview-header>img{width:72px;height:72px;flex-shrink:0;object-fit:contain;background:#fff;border-radius:12px;border:1px solid var(--line)}
.live-preview-header>div{min-width:0}.live-preview-header h3{font-family:inherit;font-size:22px;line-height:1.25;margin:0 0 8px;overflow-wrap:anywhere}
.live-preview-header p{font-size:12px;line-height:1.6;margin:0 0 6px;color:var(--muted);overflow-wrap:anywhere}.live-preview-header small{font-size:10px;color:var(--muted)}
.menu-live-preview .catalog-category{padding:0 18px 10px}.menu-live-preview .catalog-category h2{font-family:inherit;font-size:18px;letter-spacing:0;margin:14px 0}
.menu-live-preview .catalog-product{display:flex;justify-content:space-between;gap:14px;padding:14px;margin-bottom:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.menu-live-preview .catalog-product>div{min-width:0}.menu-live-preview .catalog-product h3{font-size:14px;margin:0 0 7px;overflow-wrap:anywhere}
.menu-live-preview .catalog-product p{font-size:12px;color:var(--muted);margin:0 0 12px;line-height:1.6;overflow-wrap:anywhere}
.menu-live-preview .catalog-product strong{font-size:13px}.menu-live-preview .catalog-product img{width:80px;height:80px;object-fit:cover;flex-shrink:0;border-radius:8px}
.menu-live-preview .panel-intro{padding:0 18px 18px;margin:0}
@media(max-width:420px){.live-preview-header{padding:15px;gap:10px}.live-preview-header h3{font-size:19px}.live-preview-header>img{width:60px;height:60px}.menu-live-preview .catalog-category{padding:0 12px 8px}.menu-live-preview .catalog-product{gap:10px;padding:11px}.menu-live-preview .catalog-product img{width:68px;height:68px}}
.visual-image-edit{display:none}.live-preview-cover-slot{position:relative}.live-preview-logo-slot{position:relative;width:72px;height:72px;flex-shrink:0}.live-preview-logo-slot>img{width:100%;height:100%;object-fit:contain;background:white;border-radius:12px;border:1px solid var(--line)}.live-preview-logo-slot:has(>img[hidden]){display:none}
[data-editor-section=store] .live-preview-cover-slot{aspect-ratio:3/1;min-height:150px;background:#edf2e7;border-bottom:1px solid var(--line)}
[data-editor-section=store] .live-preview-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
[data-editor-section=store] .live-preview-logo-slot{display:block;width:88px;height:88px;background:#edf2e7;border-radius:12px}
[data-editor-section=store] .visual-image-edit{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px dashed #a0b299;border-radius:inherit;background:transparent;color:var(--ink);padding:12px;font:inherit;cursor:pointer;line-height:1.5}
[data-editor-section=store] .visual-image-edit span{font-size:15px;font-weight:500}[data-editor-section=store] .visual-image-edit small{font-size:11px}
[data-editor-section=store] .live-preview-logo-slot .visual-image-edit{padding:8px}[data-editor-section=store] .live-preview-logo-slot .visual-image-edit span{font-size:11px}
[data-editor-section=store] .visual-image-edit.has-image{border:0;justify-content:flex-end;align-items:flex-end}
[data-editor-section=store] .visual-image-edit.has-image span{background:#183d32e8;color:white;padding:6px 10px;border-radius:6px;font-size:11px}[data-editor-section=store] .visual-image-edit.has-image small{display:none}
.visual-image-edit:focus-visible{outline:3px solid #cfb76c;outline-offset:-3px}
