/* ÉpicoMenu v17 — enquadramento manual do banner, logo e fotos de produtos. */
#ep17-crop-root{position:fixed;inset:0;z-index:99999;font-family:inherit}
#ep17-crop-root .ep17-overlay{position:absolute;inset:0;background:rgba(14,24,41,.70);display:flex;justify-content:center;align-items:center;padding:16px;overflow:auto}
#ep17-crop-root .ep17-dialog{width:min(720px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#fff;color:#243347;border-radius:18px;box-shadow:0 22px 80px #0005;overflow:hidden}
#ep17-crop-root .ep17-top{display:flex;align-items:start;justify-content:space-between;gap:10px;padding:21px 24px;border-bottom:1px solid #e5eaf0}
#ep17-crop-root h2{font-size:22px;font-weight:850;line-height:1.2;margin:0 0 6px;color:#192b45}
#ep17-crop-root .ep17-top p{font-size:13px;color:#6d7c91;margin:0}
#ep17-crop-root .ep17-close{flex:none;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:100%;background:#f0f2f5;color:#566478;font-size:25px;cursor:pointer}
#ep17-crop-root .ep17-main{padding:20px 24px 10px;overflow:auto;min-height:0}
#ep17-crop-root .ep17-canvas-wrap{position:relative;margin:0 auto;max-width:540px;width:100%;border-radius:12px;overflow:hidden;background:repeating-conic-gradient(#e8ebef 0 25%,#f8f9fa 0 50%) 50% / 20px 20px;border:2px solid #dfe5ed;line-height:0}
#ep17-crop-root .ep17-canvas-wrap.ep17-cover{max-width:100%}
#ep17-crop-root canvas{display:block;width:100%;height:auto;cursor:grab;touch-action:none}
#ep17-crop-root canvas:active{cursor:grabbing}
#ep17-crop-root .ep17-safe-mark{position:absolute;inset:0 26%;border-left:1px dashed rgba(255,255,255,.85);border-right:1px dashed rgba(255,255,255,.85);pointer-events:none;box-shadow:inset 0 0 0 1px #0003}
#ep17-crop-root .ep17-tip{margin:10px 0 15px;font-size:12px;color:#4e6075;background:#f4f6fa;border-radius:8px;padding:10px 12px;line-height:1.5}
#ep17-crop-root .ep17-crop-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#ep17-crop-root .ep17-crop-controls label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#324158;min-width:0}
#ep17-crop-root input[type="range"]{width:100%;cursor:pointer;accent-color:#c41822}
#ep17-crop-root .ep17-hint{font-size:11px;color:#78869a;line-height:1.5}
#ep17-crop-root .ep17-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 24px 18px;border-top:1px solid #e8edf3;flex-wrap:wrap}
#ep17-crop-root .ep17-neutral,#ep17-crop-root .ep17-save{border-radius:10px;min-height:40px;padding:9px 15px;font-family:inherit;font-size:13px;font-weight:750;cursor:pointer}
#ep17-crop-root .ep17-neutral{border:1px solid #d8dfe8;background:#fff;color:#334357}
#ep17-crop-root .ep17-save{border:1px solid #a4141c;background:#b52525;color:#fff}
#ep17-crop-root .ep17-save:disabled{opacity:.5;cursor:wait}
:root[data-theme="dark"] #ep17-crop-root .ep17-dialog{background:#1e2837;color:#edf1f7}
:root[data-theme="dark"] #ep17-crop-root h2{color:#f2f5fa}
:root[data-theme="dark"] #ep17-crop-root .ep17-top,:root[data-theme="dark"] #ep17-crop-root .ep17-actions{border-color:#354457}
:root[data-theme="dark"] #ep17-crop-root .ep17-crop-controls label{color:#f2f5fa}
:root[data-theme="dark"] #ep17-crop-root .ep17-tip{background:#273448;color:#dae4f0}
:root[data-theme="dark"] #ep17-crop-root .ep17-neutral{background:#273448;color:#eff3f8;border-color:#485c74}
@media(max-width:560px){#ep17-crop-root .ep17-dialog{max-height:calc(100dvh - 16px)}#ep17-crop-root .ep17-overlay{padding:8px}#ep17-crop-root .ep17-top,#ep17-crop-root .ep17-main{padding:16px}#ep17-crop-root .ep17-crop-controls{grid-template-columns:1fr;gap:13px}#ep17-crop-root .ep17-actions{padding:12px 16px}#ep17-crop-root .ep17-neutral,#ep17-crop-root .ep17-save{flex:1 1 auto}#ep17-crop-root h2{font-size:18px}}
.ep17-load-fallback{max-width:500px;margin:12vh auto;padding:32px 24px;font-family:inherit;color:#26384e;text-align:center}
.ep17-load-fallback h1{font-size:24px}
.ep17-load-fallback p{line-height:1.6;color:#62728b}
.ep17-load-fallback button{font-family:inherit;font-size:14px;font-weight:750;color:#fff;background:#b52525;border:0;border-radius:10px;padding:13px 18px;cursor:pointer}
