/* Dream City Print Engine V2 – Studio screen add-on 1.0.0. Uses the Studio's own colour variables (each site's skin). */

/* 1. Front / Back in their own row right above the picture (the row and the picture share the stage's place) */
.dcgd .dcgpe-stagecol{flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:column}
.dcgd .dcgpe-stagecol > .dcgd-stage{flex:1 1 0;min-height:110px}
.dcgd .dcgpe-sides{flex:none;display:flex;justify-content:center;gap:4px;padding:6px 8px;background:var(--d-bg,#fff);box-shadow:0 1px 0 var(--d-line,#e2e4e9)}
.dcgd .dcgpe-sides[hidden]{display:none}
.dcgd .dcgpe-side{flex:0 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:4px 16px;border-radius:20px;font:inherit;font-weight:700;font-size:14px;line-height:1.1;text-align:center;color:var(--d-ink,#111318);background:var(--d-soft,#eceef1);cursor:pointer}
.dcgd .dcgpe-side.on{background:var(--d-ink,#111318);color:#fff}
.dcgd .dcgpe-side:focus-visible{outline:2px solid var(--d-accent,#111318);outline-offset:2px}
.dcgd .dcgpe-side small{font-weight:600;font-size:12px;color:var(--d-muted,#6a6f7a)}
.dcgd .dcgpe-dot{width:7px;height:7px;border-radius:50%;background:#15803d;flex:none}
.dcgd .dcgpe-side.on .dcgpe-dot{background:#4ade80}
/* narrow phones: the buttons share the row and a long name wraps onto two lines instead of running off the side */
@media (max-width:479px){.dcgd .dcgpe-side{flex:1 1 0;padding:4px 6px;font-size:13px}.dcgd .dcgpe-side small{display:none}}

/* 2. Opened on one product: no product list (Change product sits under More) */
.dcgd.dcgpe-focus [data-sec="product"],
.dcgd.dcgpe-focus .dcgpe-prodtab{display:none!important}

/* 3. Banner Studio: banner controls only, size first */
.dcgd.dcgpe-banner [data-sec="product"],
.dcgd.dcgpe-banner .dcgpe-prodtab{display:none!important}
.dcgd.dcgpe-banner .dcgd-panel{display:flex;flex-direction:column}
.dcgd.dcgpe-banner[data-tab=""] .dcgd-panel{display:none}
@media (min-width:900px){.dcgd.dcgpe-banner .dcgd-panel,.dcgd.dcgpe-banner[data-tab=""] .dcgd-panel{display:flex}}
.dcgd.dcgpe-banner .dcgd-panel > [data-sec="size"]{order:-3}
.dcgd.dcgpe-banner .dcgd-panel > [data-sec="size2"]{order:-2}
.dcgd.dcgpe-banner .dcgd-panel > [data-sec="finish"]{order:-1}
