/* Foldable stubby holder designer - supplied designer.css (28 Sep 2026), every rule scoped to
   .foldable-studio so it cannot restyle the site shell. Site overrides at the end. */
.foldable-studio{--ink:#282b28;--green:#303e31;--muted:#666b63;--line:#dfe3dc;--paper:#fff;--stage:#edf0e9;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);background:#f7f6f3}
.foldable-studio *{box-sizing:border-box}
.foldable-studio{margin:0}
.foldable-studio button,.foldable-studio input{font:inherit}
.foldable-studio button{cursor:pointer;border:1px solid #8b9585;background:#fff;color:var(--green);border-radius:4px;min-height:44px;padding:10px 14px}
.foldable-studio button:hover{background:#f2f4ef}
.foldable-studio button[aria-pressed=true],.foldable-studio #download-flat,.foldable-studio #download-assembled,.foldable-studio .tool-actions button{background:var(--green);color:white;border-color:var(--green)}
.foldable-studio button:disabled{opacity:.45;cursor:not-allowed}
.foldable-studio button:focus-visible,.foldable-studio input:focus-visible,.foldable-studio canvas:focus-visible,.foldable-studio #product-view:focus-visible{outline:3px solid #647b60;outline-offset:2px}
.foldable-studio .notice{margin:0;padding:16px 4%;font-size:12px;line-height:1.5;color:#697064}
.foldable-studio .product-studio{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr);margin:0 4% 28px;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:clip}
.foldable-studio .studio-stage{background:var(--stage);position:sticky;top:0;align-self:start;display:flex;flex-direction:column;min-width:0}
.foldable-studio .expand-preview{align-self:flex-end;margin:12px 16px 0}
.foldable-studio .stage-label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px;font-size:13px}
.foldable-studio .stage-label span{font-size:12px;color:#5c665d}
.foldable-studio .preview-surface{position:relative;display:grid;place-items:center;min-height:250px;height:clamp(320px,44vw,580px);background:#f5e5e8;overflow:hidden}
.foldable-studio .studio-stage.flat-mode .preview-surface{height:clamp(250px,28vw,400px)}
.foldable-studio #flat-view{display:block;width:100%;height:100%;object-fit:contain;cursor:move;touch-action:none}
.foldable-studio #product-view{width:100%;height:100%;cursor:grab;touch-action:none;position:relative}
.foldable-studio #product-view[hidden],.foldable-studio #flat-view[hidden]{display:none}
.foldable-studio #product-view canvas{display:block;width:100%;height:100%;touch-action:none}
.foldable-studio #render-status{position:absolute;left:0;right:0;top:45%;text-align:center}
.foldable-studio .view-controls{display:flex;justify-content:center;gap:6px;padding:12px 16px 0;flex-wrap:wrap}
.foldable-studio .view-controls button{font-size:12px}
.foldable-studio .preview-zoom-control{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 16px;width:min(430px,100%);margin:auto}
.foldable-studio .preview-zoom-control label{display:flex;gap:8px;white-space:nowrap;font-size:12px;font-weight:600}
.foldable-studio .preview-zoom-control output{font-weight:400}
.foldable-studio .preview-zoom-control input{flex:1;min-width:80px;accent-color:var(--green)}
.foldable-studio .preview-help{font-size:12px;line-height:1.5;text-align:center;padding:0 22px;color:var(--muted)}
.foldable-studio .stage-actions{display:flex;justify-content:center;gap:10px;padding:10px 16px 20px;flex-wrap:wrap}
.foldable-studio .stage-actions button{font-size:12px}
.foldable-studio .studio-tools{padding:28px 32px;min-width:0}
.foldable-studio .tools-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.foldable-studio .tools-heading h1{font:400 31px Georgia,serif;margin:0}
.foldable-studio .studio-tools p{font-size:13px;line-height:1.6;color:var(--muted)}
.foldable-studio .side-select,.foldable-studio .fit-controls{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.foldable-studio .side-select button,.foldable-studio .fit-controls button{font-size:13px}
.foldable-studio .editing-side{font-weight:700!important;color:var(--ink)!important}
.foldable-studio .field-label{display:block;font-weight:700;font-size:14px;margin:18px 0 8px}
.foldable-studio #artwork-file{display:block;max-width:100%;width:100%;padding:10px;border:1px solid var(--line);border-radius:4px}
.foldable-studio #artwork-file::file-selector-button{background:var(--green);color:#fff;border:0;border-radius:4px;padding:9px;margin-right:10px;cursor:pointer}
.foldable-studio .studio-tools p.help{font-size:12px}
.foldable-studio .colour-row{display:flex;align-items:center;gap:12px}
.foldable-studio .colour-row input{width:58px;height:46px;padding:2px;border:1px solid #8b9585;background:#fff}
.foldable-studio .sliders{display:grid;gap:8px;margin-top:20px}
.foldable-studio .sliders label{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:700}
.foldable-studio .sliders output{font-weight:400}
.foldable-studio .sliders input{width:100%;accent-color:var(--green);margin:0 0 13px}
.foldable-studio .tool-actions{display:flex;gap:10px;flex-wrap:wrap}
.foldable-studio .tool-actions button{font-size:13px}
body.preview-expanded{overflow:hidden}
body.preview-expanded .foldable-studio .notice,body.preview-expanded .foldable-studio .studio-tools{display:none}
body.preview-expanded .foldable-studio .product-studio{display:block;margin:0;border:0;border-radius:0}
body.preview-expanded .foldable-studio .studio-stage{position:fixed;inset:0;display:flex;flex-direction:column;width:100vw;height:100dvh;padding:8px;z-index:20;overflow:hidden}
body.preview-expanded .foldable-studio .preview-header{display:flex;align-items:center;gap:12px}
body.preview-expanded .foldable-studio .stage-label{flex:1;padding:4px 8px}
body.preview-expanded .foldable-studio .expand-preview{margin:0}
body.preview-expanded .foldable-studio .preview-surface,body.preview-expanded .foldable-studio .studio-stage.flat-mode .preview-surface{flex:1 1 0;height:auto;min-height:160px}
body.preview-expanded .foldable-studio .preview-toolbar{display:flex;justify-content:center;align-items:center;gap:8px 16px;flex-wrap:wrap;flex:none}
body.preview-expanded .foldable-studio .view-controls{padding:0}
body.preview-expanded .foldable-studio .preview-zoom-control{margin:0;padding:0;width:min(300px,100%)}
body.preview-expanded .foldable-studio .preview-help,body.preview-expanded .foldable-studio .stage-actions{display:none}
@media(max-width:800px){.foldable-studio .product-studio{grid-template-columns:1fr;margin:0 12px 20px}
.foldable-studio .studio-stage{position:relative}
.foldable-studio .preview-surface{height:340px;min-height:250px}
.foldable-studio .studio-tools{padding:22px 18px}
body.preview-expanded .foldable-studio .studio-stage{position:fixed}
body.preview-expanded .foldable-studio .preview-surface{height:auto}
body.preview-expanded .foldable-studio .stage-label span{display:none}}
@media(max-width:500px){body.preview-expanded .foldable-studio .studio-stage{padding:5px}
body.preview-expanded .foldable-studio .view-controls button{padding:7px 9px;font-size:11px}
body.preview-expanded .foldable-studio .preview-zoom-control{width:240px}
.foldable-studio .tools-heading h1{font-size:26px}}
/* Keep the intrinsic canvas dimensions out of the grid's track sizing. */
.foldable-studio #foldable-size{font:inherit;width:100%;min-height:44px;padding:9px 12px;border:1px solid #8b9585;border-radius:4px;background:white;color:var(--ink)}
.foldable-studio #flat-view{position:absolute;inset:0;min-width:0;min-height:0;transform-origin:center}
.foldable-studio .assembly-choices{display:inline-flex;gap:6px;padding-left:8px;border-left:1px solid #9ca69a}
.foldable-studio .assembly-choices[hidden]{display:none}
@media(max-width:500px){.foldable-studio .assembly-choices{padding-left:0;border-left:0}}
body.preview-expanded .foldable-studio .preview-surface > #product-view{height:100%;min-height:0;max-height:100%;align-self:stretch;overflow:hidden}
@media (min-width:801px){body:not(.preview-expanded) .foldable-studio .studio-stage{height:min(calc(100dvh - 120px),760px);max-height:100%;overflow:hidden}
body:not(.preview-expanded) .foldable-studio .preview-header{display:flex;align-items:center;gap:10px;padding:6px 10px;flex:none}
body:not(.preview-expanded) .foldable-studio .preview-header .stage-label{flex:1;min-width:0;padding:0}
body:not(.preview-expanded) .foldable-studio .preview-header .expand-preview{align-self:auto;margin:0;padding:7px 12px;white-space:nowrap;font-size:12px}
body:not(.preview-expanded) .foldable-studio .preview-toolbar{order:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;padding:4px 8px;flex:none}
body:not(.preview-expanded) .foldable-studio .view-controls{padding:0;gap:4px}
body:not(.preview-expanded) .foldable-studio .view-controls button{min-height:36px;padding:6px 9px}
body:not(.preview-expanded) .foldable-studio .assembly-choices{gap:4px;padding-left:6px}
body:not(.preview-expanded) .foldable-studio .preview-zoom-control{width:220px;max-width:100%;padding:0;margin:0}
body:not(.preview-expanded) .foldable-studio .preview-zoom-control label{font-size:11px}
body:not(.preview-expanded) .foldable-studio .preview-surface{order:2;flex:1 1 0;height:auto;min-height:160px}
body:not(.preview-expanded) .foldable-studio .studio-stage.flat-mode .preview-surface{height:auto}
body:not(.preview-expanded) .foldable-studio .preview-surface > #product-view{height:100%;min-height:0;max-height:100%;align-self:stretch;overflow:hidden}
body:not(.preview-expanded) .foldable-studio .preview-help{order:3;margin:0;padding:4px 12px;font-size:11px;flex:none}
body:not(.preview-expanded) .foldable-studio .stage-actions{order:4;padding:6px 10px;flex:none}}
/* Site integration overrides */
.foldable-studio{font-family:inherit;background:transparent}
.foldable-studio .tools-heading h2{font-family:'Lilita One',sans-serif;font-weight:400;font-size:31px;margin:0;color:var(--bark,#301800)}
.foldable-studio .product-studio{max-width:1400px;margin:0 auto 28px}
.foldable-studio .product-studio{padding:0}
@media (min-width:801px){body:not(.preview-expanded) .foldable-studio .studio-stage{top:72px}}
body.preview-expanded .foldable-studio .studio-stage{z-index:1000}
body.preview-expanded .sticky-cta{display:none}
.foldable-studio .stage-quote{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.foldable-studio .stage-quote .quote-primary{width:100%;min-height:52px;background:var(--sunset,#E8601C);border-color:transparent;color:#fff;font-weight:800}
.foldable-studio .quote-status{font-weight:700;color:var(--ink)!important}

/* Main quote button under the design window, matching the cooler and bar mat designers (28 Sep) */
.foldable-studio .stage-quote-main{padding:4px 16px 18px;text-align:center}
.foldable-studio .stage-quote-main .quote-primary{width:100%;min-height:56px;font-size:clamp(16px,1.6vw,20px);font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:var(--sunset-deep,#C03000);border-color:transparent;color:#fff;border-radius:16px;box-shadow:0 8px 22px rgba(192,48,0,.35)}
.foldable-studio .stage-quote-main .quote-primary:hover{background:var(--sunset,#E85A00)}
.foldable-studio .stage-quote-main .quote-preview-help{margin:8px 0 0;font-size:13px;color:var(--ink)}
body.preview-expanded .foldable-studio .stage-quote-main{display:none}
@media (min-width:801px){body:not(.preview-expanded) .foldable-studio .stage-quote-main{order:5;flex:none;padding:6px 16px 12px}}
