body.editor-active{padding-bottom:68px}
.editor-toolbar{position:fixed;left:0;right:0;bottom:0;z-index:1100;min-height:58px;background:#167a43;color:#fff;display:flex;align-items:center;gap:10px;padding:10px max(16px,calc((100vw - 1140px)/2));box-shadow:0 -4px 18px rgba(0,0,0,.22)}
.modal-open .editor-toolbar{display:none}
.editor-toolbar-title{font-weight:700}.editor-toolbar-help{font-size:.88rem;margin-right:auto;opacity:.9}
.editable-image-shell{width:var(--image-width);max-width:100%;margin:28px auto;will-change:transform}.editable-image-frame{position:relative;overflow:hidden;border-radius:6px;text-align:center}.editable-image-frame>a{display:block;height:100%}.editable-image-frame img{display:block;width:auto;max-width:100%;height:auto;margin-inline:auto;border-radius:6px}.editable-image-frame.is-cropped img{width:100%;max-width:none;height:100%;object-fit:cover;object-position:center}
.editor-active .editable-image-frame{outline:2px dashed rgba(22,122,67,.45);outline-offset:4px}.editor-active .editable-image-shell{cursor:grab}.editor-active .editable-image-shell:active{cursor:grabbing}.editable-image-shell.is-dragging{opacity:.32}.editable-image-shell.drag-target .editable-image-frame{outline:5px solid #20a95b;outline-offset:5px}
.image-edit-overlay{position:absolute;z-index:5;top:10px;right:10px;display:flex;gap:6px;opacity:0;transition:opacity .15s}.editable-image-frame:hover .image-edit-overlay,.image-edit-overlay:focus-within{opacity:1}.image-drag-handle{cursor:grab;user-select:none;touch-action:none}.image-reordering{user-select:none}.is-saving-order .editable-image-shell{pointer-events:none}.js-move-image{min-width:34px}
.editor-hidden-item{opacity:.38}.editor-hidden-item::before{content:'숨김';position:absolute;z-index:6;background:#333;color:#fff;padding:2px 8px;border-radius:4px}
.editor-add-image{display:block;width:min(100%,1100px);margin:20px auto;padding:15px;border:2px dashed #21a45a;border-radius:10px;background:#effaf3;color:#167a43;font-weight:700}
.editable-hero-carousel .editable-hero-slide{background-repeat:no-repeat;background-position:center;background-size:contain}.editable-hero-carousel .hero-slide-link{position:absolute;inset:0;z-index:3;display:block}.hero-carousel-desktop{display:none}.hero-carousel-mobile{display:block}.editable-hero-manager{padding-top:120px}.hero-editor-lists{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px;align-items:start}.hero-editor-list{padding:18px;border:1px solid #d9dfdc;border-radius:14px;background:#f8faf9}.hero-editor-list>h3{font-size:1.1rem;color:#176d40;margin-bottom:5px}.hero-editor-list>p{font-size:.9rem;color:#68736d}.hero-editor-item{position:relative;border:1px solid #d9dfdc;border-radius:14px;padding:14px;background:#fff}.hero-desktop-preview{width:100%;aspect-ratio:16/5;background:#e8ecea;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-desktop-preview img{width:100%;height:100%;object-fit:contain}.hero-mobile-preview{width:min(100%,210px);aspect-ratio:3/4;margin:0 auto;background:#e8ecea;border:8px solid #252b28;border-radius:22px;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-mobile-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.hero-editor-item:hover .image-edit-overlay,.hero-editor-item .image-edit-overlay:focus-within{opacity:1}.hero-item-actions{top:22px;right:22px}.hero-editor-list .editor-add-image{margin-bottom:0}.editor-active .editable-landing-content{padding-top:50px}.editable-landing-content{padding-top:20px}.editable-stack{display:flex;flex-direction:column;align-items:center}.editable-contact-grid{display:flex;justify-content:center;align-items:flex-start;gap:0;width:calc(100% + 24px);margin-inline:-12px}.editable-contact-grid .editable-image-shell{flex:0 0 var(--image-width);width:var(--image-width);margin:0;padding-inline:12px}.editable-footer-images{padding:0}.editable-footer-images .editable-image-shell{width:calc(100% - 24px)!important;max-width:calc(100% - 24px);margin:48px auto 0}.editable-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.editable-gallery-grid .editable-image-shell{width:100%;margin:0}@media(min-width:769px){.hero-carousel-desktop{display:block}.hero-carousel-mobile{display:none}}
.page-main-width-option{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0 8px;padding:14px 18px;border:1px solid #b9ddc8;border-radius:10px;background:#effaf3;color:#185f38}.page-main-width-option .form-check-label{font-weight:700;cursor:pointer}.page-main-width-option small{color:#557064;text-align:right}.main-images-full-width .editable-image-shell.editable-section-main{width:calc(100% - 24px)!important;max-width:1100px;margin-left:auto;margin-right:auto}.main-images-full-width .editable-section-main .editable-image-frame,.main-images-full-width .editable-section-main .editable-image-frame>a{width:100%}.main-images-full-width .editable-section-main .editable-image-frame img{width:100%;max-width:100%;height:auto}
#imageEditorModal .modal-dialog,#menuEditorModal .modal-dialog{height:calc(100% - 2rem);margin-top:1rem;margin-bottom:1rem}#imageEditorModal .modal-content,#menuEditorModal .modal-content{height:100%;max-height:100%;overflow:hidden}.editor-modal-form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.editor-modal-form .modal-body{min-height:0;overflow-y:auto}.editor-modal-form .modal-footer{flex-shrink:0;background:#fff;position:relative;z-index:2}
.editor-preview-wrap{background:#eef1ef;border-radius:10px;width:min(100%,520px);height:260px;margin-inline:auto;display:flex;align-items:center;justify-content:center;overflow:hidden}.editor-preview-wrap img{display:block;max-width:100%;max-height:100%;object-fit:cover}
.hero-editor-modal-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:20px}.hero-editor-modal-card{border:1px solid #dce3df;border-radius:12px;padding:16px;background:#f8faf9}.hero-modal-desktop-preview{aspect-ratio:16/5;background:#e8ecea;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-modal-desktop-preview img{width:100%;height:100%;object-fit:contain}.hero-modal-mobile-preview{width:min(100%,210px);aspect-ratio:3/4;margin:0 auto;background:#fff;border:8px solid #252b28;border-radius:22px;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-modal-mobile-preview img{width:100%;height:100%;object-fit:contain}
#imageEditorPreviewWrap.hero-modal-desktop-preview{width:100%;max-width:680px;height:auto}#imageEditorPreviewWrap.hero-modal-mobile-preview{width:210px;height:auto}#imageEditorPreviewWrap.hero-modal-desktop-preview img,#imageEditorPreviewWrap.hero-modal-mobile-preview img{width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:contain}
.editor-size-control{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.editor-size-control .form-range{margin:0}.menu-create-page-switch{padding:12px 12px 12px 3.2rem;background:#effaf3;border-radius:9px}
.menu-editor-list{display:flex;flex-direction:column;gap:8px}.menu-editor-row{display:grid;grid-template-columns:1fr minmax(180px,2fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #ddd;border-radius:9px}.menu-editor-row.is-child{margin-left:34px;background:#f7f9f8}.menu-editor-row.is-hidden{opacity:.48}.menu-page-badge,.menu-auto-badge{font-size:.75rem;border-radius:99px;padding:3px 8px;margin-left:6px}.menu-page-badge{color:#167a43;background:#e7f7ed}.menu-auto-badge{color:#7a5500;background:#fff1bf}
.editor-toast{position:fixed;left:50%;bottom:82px;z-index:1200;transform:translate(-50%,20px);background:#222;color:#fff;border-radius:8px;padding:10px 18px;opacity:0;pointer-events:none;transition:.2s}.editor-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:991px){.editable-contact-grid .editable-image-shell{flex-basis:33.333333%;width:33.333333%}}
@media(max-width:767px){.editor-toolbar{overflow-x:auto}.editor-toolbar-title,.editor-toolbar-help{display:none}.editor-toolbar .btn{white-space:nowrap}.editable-image-shell.editable-section-main,.editable-image-shell.editable-section-footer{width:100%!important}.editable-gallery-grid,.hero-editor-lists{grid-template-columns:1fr}.page-main-width-option{align-items:flex-start;flex-direction:column;gap:4px}.page-main-width-option small{text-align:left}.image-edit-overlay{opacity:1}.image-drag-handle{font-size:0}.image-drag-handle i{font-size:1rem}.hero-mobile-preview,.hero-modal-mobile-preview,#imageEditorPreviewWrap.hero-modal-mobile-preview{width:180px}.hero-item-actions{position:static;margin-top:14px;justify-content:center}.menu-editor-row{grid-template-columns:1fr}.menu-editor-row.is-child{margin-left:16px}.editor-preview-wrap{height:180px}.editor-size-control{grid-template-columns:auto 1fr auto}.editor-size-control .btn{font-size:.8rem;padding:.45rem}}
