[hidden]{display:none!important}.header-report-btn{display:none!important}.editor-active{padding-right:390px}.editor-panel{position:fixed;right:0;top:0;bottom:0;width:390px;z-index:11000;background:#0d1728;color:#e6edf7;box-shadow:-8px 0 32px #0006;display:flex;flex-direction:column;font:14px/1.5 system-ui,sans-serif}.editor-panel *{box-sizing:border-box}.editor-panel header{padding:20px;border-bottom:1px solid #26344b}.editor-panel h2{margin:0;font-size:21px;letter-spacing:-.5px}.editor-panel small{color:#9caec8}.editor-panel nav{padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;border-bottom:1px solid #26344b}.editor-panel button,.editor-gate button{border:1px solid #35465e;border-radius:9px;padding:9px 12px;background:#192940;color:#edf5ff;cursor:pointer;font:inherit;transition:.15s}.editor-panel button:hover{background:#284465}.editor-panel nav button[aria-selected=true],.editor-primary{background:#2167d5!important;border-color:#4287fa!important}.editor-panel button:disabled{opacity:.5;cursor:wait}.editor-body{flex:1;overflow:auto;padding:18px}.editor-panel label{display:block;margin-bottom:13px;color:#b7c7de;font-size:12px;font-weight:600}.editor-panel input,.editor-panel textarea,.editor-panel select,.editor-gate input{width:100%;display:block;border:1px solid #35465e;border-radius:8px;padding:10px;margin-top:6px;color:#f5f8ff;background:#091321;font:14px system-ui}.editor-panel input[type=color]{height:40px;padding:3px}.editor-panel input[type=checkbox]{display:inline;width:auto}.editor-panel input[type=file]{font-size:12px}.editor-panel textarea{min-height:88px;resize:vertical}.editor-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor-stack{display:grid;gap:9px;margin:14px 0}.editor-note{font-size:12px;color:#9caec8;margin:10px 0;line-height:1.7}.editor-panel footer{border-top:1px solid #26344b;padding:14px 18px;display:grid;gap:10px}.editor-status{font-size:12px;color:#8fd6af;min-height:18px}.editor-selected{outline:2px solid #5ba1ff!important;outline-offset:4px}.editor-active [data-eid]{cursor:crosshair}.editor-active [data-editor-hidden=true]:not([data-editor-deleted=true],.product-card,.catalog-tutorial-card,.tutorial-card){opacity:.35;outline:1px dashed #edbd6c}.editor-active [hidden][data-editor-hidden=true]:not([data-editor-deleted=true],.product-card,.catalog-tutorial-card,.tutorial-card){display:revert!important}.editor-active [contenteditable=true]{cursor:text;background:#235da422;outline:2px solid #5ba1ff}.editor-element-item{display:flex;gap:8px;align-items:center;margin:6px 0;background:#142138;border-radius:8px;padding:8px}.editor-element-item button:first-child{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;border:0;background:transparent;padding:4px}.editor-danger{color:#ffb3b3!important}.editor-gate{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;background:#020b18bd;padding:18px;font:14px system-ui}.editor-gate form{background:#0d1728;color:#f5f8ff;max-width:420px;width:100%;padding:26px;border:1px solid #35465e;border-radius:20px}.editor-gate h2{margin-top:0}.editor-gate label{display:block;margin:15px 0}.editor-gate .editor-row{margin-top:20px}.editor-gate p{line-height:1.6;color:#b7c7de}.editor-video{width:100%;aspect-ratio:16/9;border:0;background:#030a18;border-radius:12px;display:block;margin-top:12px}.editor-mobile-access{display:block;margin:14px auto;padding:8px 12px;background:transparent;border:1px solid #ffffff30;color:#a5b4c7;border-radius:8px;font:12px system-ui}.editor-added{padding:20px;border-radius:12px;margin:16px 0;background:#122037}.editor-heading{font-size:16px!important;margin:8px 0 14px!important}.editor-panel .pw-visibility-btn{position:absolute}.editor-panel:focus-within{outline:none}@media(max-width:1000px){.editor-active{padding-right:0;padding-bottom:48vh}.editor-panel{top:auto;left:0;width:100%;height:48vh;border-radius:20px 20px 0 0}.editor-panel header{padding:10px 16px;display:flex;justify-content:space-between;align-items:center}.editor-panel header h2{font-size:17px}.editor-panel nav{padding:7px 12px;grid-template-columns:repeat(6,1fr)}.editor-panel nav button{font-size:11px;padding:7px 3px}.editor-panel footer{padding:8px 14px;display:flex;align-items:center;justify-content:space-between}.editor-panel footer button{white-space:nowrap}.editor-body{padding:12px 16px}}@media(max-width:500px){.header-actions{gap:4px!important}.header-editor-btn{font-size:11px!important;padding:7px!important}.editor-panel header small{font-size:10px}.editor-row{gap:7px}}
.header-editor-btn{background:linear-gradient(135deg,#096bdf,#1747ae)!important;border:1px solid #438eef!important;color:#fff!important;font-weight:700!important;font-size:12px!important}.editor-active .modal-overlay,.editor-active .drawer-overlay{padding-right:390px}@media(max-width:1000px){.editor-active .modal-overlay,.editor-active .drawer-overlay{padding-right:0;padding-bottom:48vh}}
.editor-active .cart-drawer-panel{right:390px;width:calc(100% - 390px)}@media(max-width:1000px){.editor-active .cart-drawer-panel{right:0;bottom:48vh;width:100%}.editor-active .modal-dialog{max-height:calc(52vh - 24px)}}

/* Ações de saída lado a lado no rodapé do editor. */
.editor-exit-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.editor-exit-actions button{min-width:0}

/* Ferramentas fixas, campos legíveis e ações agrupadas. */
.editor-panel{background:linear-gradient(160deg,#122139,#0c1626 55%)}
.editor-panel header{padding:18px 20px;background:#172842;border-bottom-color:#334967}
.editor-panel header small{display:block;margin-top:4px}
.editor-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px 14px;background:#0b1728;border-bottom:1px solid #2c3d55}
.editor-quick-actions button{padding:8px 3px;font-size:12px;white-space:nowrap}
.editor-panel button:disabled{cursor:default;opacity:.4}
.editor-panel button:focus-visible,.editor-panel input:focus-visible,.editor-panel select:focus-visible,.editor-panel textarea:focus-visible{outline:2px solid #80bbff;outline-offset:2px}
.editor-panel nav{gap:7px;padding:12px 14px}
.editor-panel nav button{font-size:12px}
.editor-body{scrollbar-width:thin;scrollbar-color:#415b7b transparent}
.editor-body>.editor-heading{color:#fff;font-size:18px!important}
.editor-body>.editor-row,.editor-body>.editor-stack{padding:12px;background:#15253c;border:1px solid #2b3d57;border-radius:12px}
.editor-body>.editor-row label{margin:0}
.editor-panel label{line-height:1.5}
.editor-panel .editor-danger{border-color:#874752;background:#432535}
.editor-panel .editor-danger:hover{background:#60313c}
.editor-active [data-eid]{cursor:default}
.editor-active [contenteditable=true]{cursor:text;user-select:text;min-width:1ch;white-space:pre-wrap}
.editor-active [data-editor-deleted=true]{display:none!important}
.editor-panel footer{background:#0c1728}
@media(max-width:1000px){
 .editor-active{padding-bottom:56dvh}
 .editor-panel{height:56dvh;max-height:calc(100dvh - 72px)}
 .editor-panel header{padding:10px 14px}
 .editor-quick-actions{padding:7px 12px;gap:6px}
 .editor-quick-actions button{padding:6px 3px;font-size:12px}
 .editor-panel nav{padding:7px 12px;gap:5px}
 .editor-panel nav button{font-size:11px}
 .editor-panel footer{display:grid;gap:5px;padding:7px 12px}
 .editor-status{font-size:11px}
 .editor-exit-actions{gap:8px}
 .editor-exit-actions button{padding:7px 10px;font-size:12px}
 .editor-active .modal-overlay,.editor-active .drawer-overlay{padding-bottom:56dvh}
 .editor-active .cart-drawer-panel{bottom:56dvh}
 .editor-active .modal-dialog{max-height:calc(44dvh - 24px)}
}
@media(max-height:500px) and (min-width:650px){
 .editor-active{padding-right:340px;padding-bottom:0}
 .editor-panel{top:0;left:auto;right:0;bottom:0;width:340px;height:100dvh;max-height:none;border-radius:0}
 .editor-active .modal-overlay,.editor-active .drawer-overlay{padding-right:340px;padding-bottom:0}
 .editor-active .cart-drawer-panel{right:340px;bottom:0;width:calc(100% - 340px)}
 .editor-active .modal-dialog{max-height:calc(100dvh - 24px)}
}
.editor-floating-access{position:fixed;top:12px;right:12px;z-index:10990;padding:10px 16px;border-radius:999px;cursor:pointer;font:700 13px system-ui}
.editor-panel button{margin-top:0;width:auto}
.editor-panel label{margin-top:0}
@media(max-width:1000px){.editor-panel footer{justify-content:stretch;align-items:stretch;grid-template-columns:minmax(0,1fr)}.editor-exit-actions{width:100%}}

.editor-size-controls{min-width:0;margin:16px 0;padding:14px;border:1px solid #35465e;border-radius:12px}.editor-size-controls legend{padding:0 6px;font-weight:650;color:#dcecff}.editor-ratio-toggle{width:100%;margin-bottom:14px;min-height:44px}.editor-ratio-toggle[aria-checked=true]{background:#174b3c;border-color:#3e9f7b}.editor-ratio-toggle[aria-checked=false]{background:#26344b}.editor-size-controls>button:last-of-type{width:100%;min-height:44px}

.editor-icon-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.editor-icon-actions button{min-width:0;white-space:normal}
.editor-icon-controls input[type=file]{width:100%;min-width:0;font-size:12px}

/* Partes de texto mantêm o fluxo, a tipografia e as quebras originais. */
.editor-duotone-part{color:inherit;-webkit-text-fill-color:currentColor!important}
.editor-color-preview{padding:12px;border:1px solid #35465e;border-radius:8px;background:#091321;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto;font-size:16px}
.editor-text-colors input[type=range]{padding:8px 0;accent-color:#60a5fa;min-height:40px}
.editor-text-colors .editor-row{min-width:0}

/* Ajustes opcionais da imagem da Hero, aplicados somente quando ativados. */
.hero-showcase-box:has(> .hero-showcase-img[data-editor-image-fill="true"]){align-self:stretch;min-height:clamp(240px,32vw,440px);padding:0;overflow:hidden}
.hero-showcase-box > .hero-showcase-img[data-editor-image-fill="true"]{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border:0;margin:0;border-radius:inherit;transform:scale(var(--editor-image-zoom,1))!important;transform-origin:var(--editor-image-origin,50% 50%)}
.editor-image-positions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
.editor-image-positions button{min-width:0;padding:8px 4px;font-size:12px}
.editor-image-positions button[aria-pressed="true"]{background:#2167d5;border-color:#80bbff}

/* Prévias dos quatro fundos da Hero, apenas dentro do painel. */
.editor-hero-slot{min-width:0;margin:12px 0;padding:10px;border:1px solid #34465f;border-radius:10px}
.editor-hero-preview{display:block;width:100%;height:110px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.editor-hero-preview[hidden]{display:none}

/* Enquadramento incremental da Hero: controles acessíveis ao toque. */
.editor-image-adjustments{min-width:0;padding-top:12px;border-top:1px solid #35465e;margin-top:14px}
.editor-image-adjustments label{position:relative;min-width:0}
.editor-image-adjustments input[type=range]{min-height:44px;padding:8px 0;accent-color:#60a5fa;cursor:pointer;touch-action:pan-y}
.editor-image-value{float:right;color:#dcecff;font-variant-numeric:tabular-nums}
.editor-image-direction-pad{grid-template-areas:'. top .' 'left center right' '. bottom .'}
.editor-image-direction-pad [data-direction=left]{grid-area:left}
.editor-image-direction-pad [data-direction=top]{grid-area:top}
.editor-image-direction-pad [data-direction=bottom]{grid-area:bottom}
.editor-image-direction-pad [data-direction=right]{grid-area:right}
.editor-image-direction-pad [data-direction=center]{grid-area:center}
.editor-image-direction-pad button{min-height:44px}
.editor-image-adjustments>button{width:100%;min-height:44px}

/* Campos da Hero com passos de um pixel e alvos adequados para toque. */
.editor-hero-dimension{margin:12px 0;padding:10px;border:1px solid #2b3d57;border-radius:10px;background:#101e32}
.editor-hero-dimension label{margin-bottom:6px}
.editor-hero-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}
.editor-hero-stepper button{min-height:44px;font-size:20px;padding:4px}
.editor-hero-stepper input[type=range]{min-width:0;min-height:44px;margin:0;padding:0;accent-color:#80bbff;cursor:pointer}
.editor-hero-measures{padding:10px;border-left:3px solid #80bbff;background:#15253c;border-radius:6px}

/* Acesso à frase única e link pronto, com leitura confortável no celular. */
.editor-panel .editor-greeting-access{display:block;width:100%;text-align:left;white-space:normal;min-height:44px;background:#123d35;border-color:#34856f;margin-bottom:12px}
#editorWhatsAppGreeting{min-height:100px;resize:vertical}
#editorWhatsAppGreetingLink{font-size:12px}

/* Prévia da Hero em um viewport real, isolado das ações da loja. */
#editorHeroPreview{box-sizing:border-box;width:96vw;max-width:1800px;height:94dvh;max-height:94dvh;padding:18px;margin:auto;border:1px solid #415b7b;border-radius:18px;background:#0d1728;color:#f5f8ff;font:14px system-ui;overflow:auto}
#editorHeroPreview::backdrop{background:#020817d9}
#editorHeroPreview header{display:flex;justify-content:space-between;align-items:center;gap:12px}
#editorHeroPreview h2{font-size:18px;margin:0}
#editorHeroPreview button{border:1px solid #415b7b;border-radius:8px;padding:10px;background:#192c46;color:#fff;cursor:pointer;font:inherit}
#editorHeroPreview button:focus-visible,#editorHeroPreview input:focus-visible,#editorHeroPreview select:focus-visible{outline:2px solid #80bbff;outline-offset:2px}
#editorHeroPreview button[aria-pressed=true]{background:#145ec9;border-color:#8dc1ff}
#editorHeroPreview button:disabled{opacity:.4}
.hero-device-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.hero-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}
.hero-preview-stage{min-width:0;overflow:auto;background:#060d18;border-radius:12px;padding:10px;max-height:calc(94dvh - 145px)}
.hero-preview-canvas{position:relative;margin:auto;overflow:hidden;background:#fff;flex-shrink:0}
.hero-preview-canvas iframe{display:block;position:absolute;inset:0;border:0;max-width:none;transform-origin:top left}
.hero-preview-tools{min-width:0}
#editorHeroPreview label{display:block;margin:10px 0;line-height:1.5}
#editorHeroPreview select{display:block;box-sizing:border-box;width:100%;padding:9px;border:1px solid #415b7b;border-radius:8px;background:#142138;color:#fff;font:inherit}
#editorHeroPreview input[type=range]{display:block;width:100%;min-height:32px;accent-color:#5ba1ff}
#editorHeroPreview .editor-note{font-size:12px;color:#b8c9df;line-height:1.5}
#editorHeroPreview .hero-preview-tools>button{display:block;width:100%;margin-top:10px}
@media(max-width:760px){#editorHeroPreview{padding:12px}.hero-preview-layout{grid-template-columns:1fr}.hero-preview-stage{max-height:48dvh}.hero-device-tabs{display:grid;grid-template-columns:1fr 1fr}#editorHeroPreview header button{font-size:12px;padding:8px}}

@media (max-width:600px){
.hero-showcase-box:has(> .hero-showcase-img[data-image-phone]){align-self:stretch;min-height:clamp(240px,32vw,440px);padding:0;overflow:hidden}
.hero-showcase-box > .hero-showcase-img[data-image-phone]{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border:0;margin:0;border-radius:inherit;object-position:var(--image-phone-x) var(--image-phone-y)!important;transform:scale(calc(var(--image-phone-zoom) / 100))!important;transform-origin:var(--image-phone-x) var(--image-phone-y)!important}
}

@media (min-width:601px) and (max-width:1024px){
.hero-showcase-box:has(> .hero-showcase-img[data-image-tablet]){align-self:stretch;min-height:clamp(240px,32vw,440px);padding:0;overflow:hidden}
.hero-showcase-box > .hero-showcase-img[data-image-tablet]{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border:0;margin:0;border-radius:inherit;object-position:var(--image-tablet-x) var(--image-tablet-y)!important;transform:scale(calc(var(--image-tablet-zoom) / 100))!important;transform-origin:var(--image-tablet-x) var(--image-tablet-y)!important}
}

@media (min-width:1025px) and (max-width:1599px){
.hero-showcase-box:has(> .hero-showcase-img[data-image-notebook]){align-self:stretch;min-height:clamp(240px,32vw,440px);padding:0;overflow:hidden}
.hero-showcase-box > .hero-showcase-img[data-image-notebook]{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border:0;margin:0;border-radius:inherit;object-position:var(--image-notebook-x) var(--image-notebook-y)!important;transform:scale(calc(var(--image-notebook-zoom) / 100))!important;transform-origin:var(--image-notebook-x) var(--image-notebook-y)!important}
}

@media (min-width:1600px){
.hero-showcase-box:has(> .hero-showcase-img[data-image-desktop]){align-self:stretch;min-height:clamp(240px,32vw,440px);padding:0;overflow:hidden}
.hero-showcase-box > .hero-showcase-img[data-image-desktop]{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border:0;margin:0;border-radius:inherit;object-position:var(--image-desktop-x) var(--image-desktop-y)!important;transform:scale(calc(var(--image-desktop-zoom) / 100))!important;transform-origin:var(--image-desktop-x) var(--image-desktop-y)!important}
}

/* Atalhos de Páginas com a mesma proporção dos botões de navegação. */
.editor-page-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 -4px 12px}
.editor-panel .editor-page-shortcuts>button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:38px;min-height:38px;margin:0;padding:9px 4px;border-radius:9px;font-size:12px;line-height:18px;text-align:center;white-space:nowrap}

.editor-hover-sample{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:16px 0;padding:16px;border:1px solid #35465e;border-radius:12px;background:#091321}.editor-hover-sample span{font-size:14px;font-weight:600}

/* Mantém o nome completo dentro do atalho, inclusive em telas menores. */
.editor-panel .editor-page-shortcuts > button.editor-hover-colors-access{height:auto;min-height:38px;padding:7px 8px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-align:center}

/* Ortografia: controles legíveis e código com prévia isolada. */
.editor-panel .editor-orthography-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.editor-panel .editor-orthography-actions button{flex:1 1 90px;min-width:0;white-space:normal;overflow-wrap:anywhere}
.editor-panel .editor-orthography-result{display:block;width:100%;text-align:left;margin:6px 0;white-space:normal;overflow-wrap:anywhere}
.editor-orthography-code{margin:16px 0;padding:12px;border:1px solid #35465e;border-radius:10px;min-width:0}
.editor-orthography-code summary{cursor:pointer;font-weight:600;margin-bottom:12px}
#editorOrthographyText{min-height:130px;white-space:pre-wrap}
#editorOrthographyCode{min-height:160px;font:12px/1.6 ui-monospace,monospace;tab-size:2}
#editorOrthographyPreview{display:block;width:100%;height:180px;border:1px solid #35465e;border-radius:8px;margin:12px 0;background:#091321}
.editor-panel .editor-page-shortcuts>button{white-space:normal;overflow-wrap:anywhere;height:auto;min-height:38px}
.editor-panel nav{grid-template-columns:repeat(3,minmax(0,1fr))}
.editor-panel nav button{min-width:0;white-space:normal;overflow-wrap:anywhere}
@media(min-width:601px) and (max-width:1000px){.editor-panel nav{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:600px){.editor-panel nav{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-quick-actions button{min-width:0;font-size:11px;white-space:normal}}
@media(max-width:600px){.editor-panel nav{max-height:102px;overflow-y:auto;flex-shrink:0;scrollbar-width:thin}.editor-panel header,.editor-quick-actions,.editor-panel footer{flex-shrink:0}.editor-body{min-height:0}}

/* HEX: controles apenas no painel administrativo. */
.editor-panel .editor-color-control{min-width:0;margin-bottom:13px;padding:10px;border:1px solid #26344b;border-radius:10px;background:#09132155}
.editor-panel .editor-color-control label{margin:0 0 8px;font-size:12px;line-height:1.5}
.editor-panel .editor-color-control input{min-width:0}
.editor-panel .editor-color-hex-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.3px}
.editor-panel .editor-color-hex-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.editor-panel .editor-color-hex-actions button{min-width:0;padding:8px 4px;font-size:12px;line-height:1.4}
.editor-panel .editor-color-hex-error{display:block;margin-top:7px;color:#ffb3b3;overflow-wrap:anywhere;font-size:12px}
.editor-panel .editor-color-hex-input[aria-invalid=true]{border-color:#ff8c8c}
.editor-panel .editor-palette-slot .editor-row{grid-template-columns:1fr}
@media(max-width:360px){.editor-panel .editor-row:has(>.editor-color-control){grid-template-columns:1fr}}

/* Redução e ampliação da imagem, apenas nos controles administrativos. */
.editor-image-zoom-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px}
.editor-image-zoom-actions button{min-width:0;min-height:44px;white-space:normal}

/* Controles da Hero reunidos na prévia por dispositivo. */
#editorHeroPreview .hero-layout-control { margin-block:14px; padding-bottom:8px; border-bottom:1px solid #30445e; }
#editorHeroPreview input[type=number] { display:block; width:100%; min-width:0; box-sizing:border-box; padding:9px; min-height:44px; border:1px solid #415b7b; border-radius:8px; background:#142138; color:#fff; font:inherit; }
#editorHeroPreview button,#editorHeroPreview select { min-height:44px; }
#editorHeroPreview .hero-preview-history { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; padding-top:12px; border-top:1px solid #415b7b; }
#editorHeroPreview .hero-preview-history button { flex:1; }
#editorHeroPreview .hero-preview-tools>div>button { display:block; width:100%; margin-top:10px; }
#editorHeroPreview .hero-preview-layout>div { min-width:0; }
#editorHeroPreview { overscroll-behavior:contain; }
@media(min-width:761px) { #editorHeroPreview .hero-preview-tools { max-height:calc(94dvh - 225px); overflow-y:auto; padding-right:6px; overscroll-behavior:contain; } }
@media(max-width:760px) { #editorHeroPreview .hero-preview-stage { max-height:38dvh; } #editorHeroPreview input[type=number],#editorHeroPreview select { font-size:16px; } }

/* Voltar mantém o acesso; sair encerra o modo administrativo. */
.editor-navigation-actions{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:8px}
.editor-navigation-actions button{min-width:0;min-height:44px;white-space:normal;line-height:1.25;font-size:12px;padding:8px}
@media(max-width:1000px) and (min-height:501px){.editor-active{padding-bottom:72dvh}.editor-panel{height:72dvh;max-height:calc(100dvh - 32px)}.editor-active .modal-overlay,.editor-active .drawer-overlay{padding-bottom:72dvh}.editor-active .cart-drawer-panel{bottom:72dvh}.editor-active .modal-dialog{max-height:calc(28dvh - 24px)}.editor-body{min-height:0}.editor-panel header,.editor-panel nav,.editor-quick-actions,.editor-panel footer{flex-shrink:0}.editor-panel footer{gap:6px}}
.editor-panel header,.editor-panel nav,.editor-quick-actions,.editor-panel footer{flex-shrink:0}.editor-body{min-height:0}
@media(max-width:1000px){.editor-panel nav{display:flex;overflow-x:auto;overscroll-behavior-x:contain}.editor-panel nav button{flex:0 0 auto;white-space:nowrap;min-height:36px;padding:7px 12px}}

/* Identificação dos cards ocultos no modo de edição. */
.editor-active :is(.product-card,.catalog-tutorial-card,.tutorial-card)[data-editor-hidden=true]:not([data-editor-deleted=true]){
 position:relative;
 outline:2px dashed #edbd6c;
 outline-offset:-2px;
}
.editor-active :is(.product-card,.catalog-tutorial-card,.tutorial-card)[data-editor-hidden=true]:not([data-editor-deleted=true])::before{
 content:"Oculto";
 position:absolute;
 bottom:12px;
 right:12px;
 z-index:5;
 padding:5px 10px;
 border-radius:12px;
 background:#3d290d;
 color:#ffe5a9;
 font:700 12px/1.4 system-ui,sans-serif;
 pointer-events:none;
}
.editor-active .product-card iframe{pointer-events:none}
.editor-card-tools{
 display:grid;
 gap:8px;
 margin-bottom:16px;
 padding:12px;
 border:1px solid #35465e;
 border-radius:12px;
}
.editor-card-tools .editor-note{margin:0}
.editor-card-tools button,.editor-hidden-card-row button{min-height:44px}
.editor-hidden-card-row span{flex:1;overflow-wrap:anywhere}
