/* Editor-only presentation. Product data and checkout actions stay in Nova. */
body.nova-step-2 :is(#doxyPlayOffer,.doxy-gift-widget){display:none!important}
.editor-ui .editor-workbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.editor-ui .editor-history{display:flex;gap:6px}
.editor-ui .editor-ui-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 12px;border:1px solid #dae8e2;border-radius:11px;background:#fff;color:#355557;font:600 12px/1.2 Arial,sans-serif;cursor:pointer;box-shadow:none}
.editor-ui .editor-ui-button:disabled{opacity:.4;cursor:default}
.editor-ui .editor-ui-button[hidden]{display:none!important}
.editor-ui .editor-ui-button:focus-visible,.editor-ui summary:focus-visible,.editor-ui .layer-title:focus-visible{outline:2px solid #087b80;outline-offset:3px}
.editor-ui .editor-hint{margin:0 0 12px;color:#627575;font:400 12px/1.5 Arial,sans-serif}
.editor-ui .canvas-card{background:#f9fbfa!important;border-color:#e0eae4!important;box-shadow:none!important}
.editor-ui .canvas-toolbar{gap:5px;align-items:center;margin-bottom:9px}
.editor-ui .canvas-toolbar .btnb{min-height:44px!important;border-radius:11px;padding:9px 10px;background:#eef5f2!important;box-shadow:none!important;color:#355557;font-size:12px}
.editor-ui .canvas-toolbar .zoom-icon{width:40px;min-width:40px}
.editor-ui .editor-zoom-label{font-size:12px;background:transparent!important;min-width:42px;padding:8px 3px}
.editor-ui .editor-workbar .editor-view-label{margin-left:auto;color:#7b8d87;font-size:11px}
.editor-ui .design-action{background:#f2f7f4!important;border-color:#dae8e2!important;color:#355557!important;border-radius:12px;box-shadow:none!important;font-weight:600}
.editor-ui .design-action.primary{background:#087b80!important;border-color:#087b80!important;color:#fff!important}
.editor-ui .tools-card{border-color:#e0eae4!important;background:#fff;box-shadow:none!important}
.editor-ui .layers h3{font:600 14px/1.4 Arial,sans-serif;color:#355557;margin:0 0 10px}
.editor-ui .layer-item{grid-template-columns:44px minmax(0,1fr)!important;gap:7px 10px;border-color:#e1ece5;background:#fafcfb;border-radius:13px;padding:10px}
.editor-ui .layer-title{font:600 12px/1.45 Arial,sans-serif;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;cursor:pointer;color:#355557}
.editor-ui .layer-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px}
.editor-ui .layer-actions button{width:44px!important;height:44px!important;min-width:44px;border-radius:10px;font-size:16px;cursor:pointer}
.editor-ui .layer-item.is-selected{border-color:#9ccfc2;background:#f1faf6}
.editor-ui .editor-layer-details{margin:0}
.editor-ui .editor-layer-details>summary{cursor:pointer;font:600 13px/1.4 Arial,sans-serif;color:#355557;padding:11px 3px;min-height:44px}
.editor-ui .editor-layer-details .layers{margin-top:4px}
.editor-ui .editor-layer-details .layers h3{display:none}
.editor-selected-tools[hidden]{display:none!important}
.editor-selected-tools{margin:12px 0 0;padding:12px;border:1px solid #d9e9e0;border-radius:14px;background:#fff;flex:0 0 auto}
.editor-selected-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.editor-selected-label{font:600 12px/1.35 Arial,sans-serif;color:#355557}
.editor-selected-actions{display:flex;gap:5px}
.editor-ui .editor-selected-actions .editor-ui-button{min-height:40px;padding:7px 9px;font-size:11px}
.editor-ui .editor-selected-actions .editor-delete{color:#ab5050}
.editor-scale-row{display:grid;grid-template-columns:auto minmax(0,1fr) 43px;gap:10px;align-items:center;margin-top:8px}
.editor-scale-row label,.editor-scale-row output{font:400 12px/1.3 Arial,sans-serif;color:#627575;white-space:nowrap}
.editor-scale-row input{min-width:0;width:100%;height:32px;accent-color:#087b80;cursor:pointer;touch-action:pan-y}
.editor-ui .editor-transform-more>summary{min-height:32px;padding:8px 0 0;font:400 11px/1.4 Arial,sans-serif;color:#627575;cursor:pointer}
.editor-placement-note{margin:9px 0 0;font:400 11px/1.5 Arial,sans-serif;color:#778b82}
.editor-placement-note.is-outside{color:#94652d}
.editor-ui .editor-history-notice{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
#textEditorModal .editor-text-advanced{border:1px solid #e0eae4;border-radius:13px;margin-top:14px;padding:0 12px}
#textEditorModal .editor-text-advanced>summary{padding:13px 0;min-height:44px;font:600 13px/1.4 Arial,sans-serif;color:#627575;cursor:pointer}
#textEditorModal .editor-text-advanced .curved-text-panel,#textEditorModal .editor-text-advanced .text-outline-panel{margin:0 0 12px}
body.editor-fullscreen-open :is(.gallery-modal,.text-modal,.ai-designer-panel.open,.svg-color-modal,.doxy-alert-modal,.back-side-modal){z-index:245!important}
@media(min-width:861px){
 .editor-ui:not(.editor-fullscreen) .designer-shell{grid-template-columns:minmax(0,1.3fr) minmax(330px,1fr)!important;align-items:start!important;gap:18px}
 .editor-ui:not(.editor-fullscreen) .tools-card{position:sticky;top:calc(var(--doxy-shop-header-height,83px) + 12px)}
 .editor-ui .canvas-card>.hint{font-size:11px;text-align:center}
 .editor-ui .editor-layer-details>summary{display:list-item}
}
@media(max-width:860px){
 .editor-ui.beta-card[data-step="2"]{padding:14px 10px!important;border-radius:18px;background:#fff}
 .editor-ui>h2{font-size:18px!important;line-height:1.35!important;margin-bottom:10px!important}
 .editor-ui>h2{display:flex;align-items:center;gap:6px;font-size:16px!important}
 .editor-ui #designStepTitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 .editor-ui>.editor-primary-tools{margin:0 0 10px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px}
 .editor-ui .design-action{min-height:56px!important;padding:7px 3px!important}
 .editor-ui .design-action span{font-size:11px;line-height:1.2;font-weight:600}
 .editor-ui .design-action i{font-size:17px}
 .editor-ui .side-tabs{margin-bottom:10px}
 .editor-ui .side-tabs button{min-height:40px;font-size:12px!important;font-weight:600}
 .editor-ui .editor-workbar{margin-bottom:7px}
 .editor-ui .editor-ui-button{font-size:11px;min-height:42px;padding:8px 10px}
 .editor-ui .editor-hint{font-size:11px;line-height:1.4;margin-bottom:10px}
 .editor-ui .canvas-card{padding:8px!important}
 .editor-ui .canvas-toolbar{justify-content:center;flex-wrap:nowrap!important;gap:5px}
 .editor-ui .canvas-toolbar .btnb{padding:8px 9px!important;min-height:42px!important;font-size:11px}
 .editor-ui .canvas-toolbar .zoom-icon{min-width:35px;width:35px}
 .editor-ui .canvas-card .drop-hint{display:none}
 .editor-ui .canvas-card>.hint{margin-top:8px;font-size:10px!important;font-weight:400;line-height:1.5}
 .editor-ui .tools-card:has(.editor-layer-details:not([open])){padding-top:0;padding-bottom:0}
 .editor-ui .editor-selected-tools{padding:10px}
 .editor-ui .editor-selected-label{font-size:11px}
 .editor-ui .editor-selected-actions .editor-ui-button{padding:7px 8px;min-height:40px}
 .editor-ui.editor-fullscreen{padding:8px 6px calc(7px + env(safe-area-inset-bottom,0px))!important;gap:0}
 .editor-ui.editor-fullscreen #sideTabs{position:static!important;flex:0 0 auto;width:calc(100% - 88px);min-height:42px;margin:0 0 6px!important;left:auto!important;top:auto!important}
 .editor-ui.editor-fullscreen #sideTabs button{min-width:0;padding:8px 9px!important;font-size:11px!important}
 .editor-ui.editor-fullscreen .editor-exit{top:9px;right:8px;min-height:40px!important;padding:9px 12px!important}
 .editor-ui.editor-fullscreen .canvas-toolbar{display:flex!important;min-height:44px!important;padding:0!important;margin:0 85px 4px 0!important;justify-content:flex-start}
 .editor-ui.editor-fullscreen .canvas-toolbar>button:first-child{display:none!important}
 .editor-ui.editor-fullscreen .editor-workbar,.editor-ui.editor-fullscreen>.editor-hint,.editor-ui.editor-fullscreen .editor-view-label{display:none}
 .editor-ui.editor-fullscreen .canvas-card{padding:0!important;flex:1;min-height:0}
 .editor-ui.editor-fullscreen .canvas-holder{flex:1;min-height:0;overflow:hidden}
 .editor-ui.editor-fullscreen .editor-selected-tools{padding:8px;margin-top:6px}
 .editor-ui.editor-fullscreen .editor-placement-note{display:none}
 .editor-ui.editor-fullscreen .tools-card{max-height:160px!important;overflow:auto!important;flex:0 0 auto;padding:7px!important}
 .editor-ui.editor-fullscreen .editor-primary-tools{margin:0!important}
 .editor-ui.editor-fullscreen .editor-layer-details{display:none}
 .editor-ui.editor-fullscreen .design-action{min-height:47px!important;padding:5px 3px!important}
 .editor-ui.editor-fullscreen .designer-shell{gap:6px}
}
@media(max-width:360px){.editor-ui .editor-selected-head{flex-wrap:wrap}.editor-ui .editor-selected-actions{margin-left:auto}.editor-ui .editor-view-label{display:none}.editor-ui .layer-actions{justify-content:space-between;gap:4px}.editor-ui .layer-item{padding:8px}.editor-ui .canvas-toolbar .zoom-icon{width:32px;min-width:32px}}
@media(prefers-reduced-motion:reduce){.editor-ui *,#textEditorModal .editor-text-advanced{scroll-behavior:auto!important;transition:none!important}}
