.dzw-studio{max-width:1100px;margin:20px auto;background:#f5f3ee;border:1px solid #e0ddd6;border-radius:15px;padding:22px;color:#202020;font-family:inherit;line-height:1.5}.dzw-studio *{box-sizing:border-box}.dzw-studio h2{font-size:clamp(25px,3vw,36px);margin:8px 0}.dzw-studio h3{font-size:20px;margin:0 0 14px}.dzw-studio h4{font-size:16px;margin:0 0 6px}.dzw-studio p{margin:7px 0 15px}.dzw-chip{display:inline-block;font-size:11px;letter-spacing:.05em;font-weight:700;background:#e8ede3;border-radius:20px;padding:4px 10px;color:#35512b}.dzw-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:18px}.dzw-panel{background:white;border:1px solid #ddd;border-radius:12px;padding:22px;min-width:0}.dzw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 20px}.dzw-studio label{display:block;font-size:13px;font-weight:650}.dzw-studio input,.dzw-studio select{display:block;width:100%;height:42px;border:1px solid #bcbcbc;background:#fff;color:#222;border-radius:5px;padding:8px;margin-top:5px}.dzw-studio small{font-weight:400;color:#666}.dzw-subpanel{padding:15px;background:#f6f7f8;border:1px solid #ddd;border-radius:9px;margin-bottom:20px}.dzw-help{font-size:12px;color:#555}.dzw-file-info{font-size:13px;white-space:pre-wrap;background:#fff;border:1px solid #ddd;padding:10px;border-radius:5px}.dzw-studio .dzw-error{color:#8d1d16;background:#fff1ed;border:1px solid #efb7a9;border-radius:6px;padding:12px;margin:10px 0}.dzw-studio [hidden]{display:none!important}.dzw-studio table{border-collapse:collapse;width:100%;font-size:13px;margin:0}.dzw-studio td{padding:9px 7px;border-bottom:1px solid #e5e5e5}.dzw-studio td:last-child{text-align:right;font-variant-numeric:tabular-nums}.dzw-studio tr.dzw-total{background:#e9f0e7;font-size:17px;font-weight:750}.dzw-studio tr.dzw-total td{padding:13px 8px}.dzw-studio .dzw-aside dl{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:13px}.dzw-studio .dzw-aside dt{color:#555}.dzw-studio .dzw-aside dd{text-align:right;margin:0;font-weight:650}.dzw-notice{margin-top:20px;padding:12px;background:#fff7e6;border:1px solid #e6d1a6;border-radius:7px;font-size:12px}.dzw-studio .dzw-foot{font-size:12px;color:#666;margin-top:13px}.dzw-studio .dzw-upload input{height:auto}.dzw-studio .dzw-price-highlight{font-size:14px;color:#2e6032;font-weight:700}@media(max-width:760px){.dzw-layout{grid-template-columns:1fr}.dzw-panel{padding:15px}.dzw-fields{grid-template-columns:1fr}.dzw-studio{padding:10px}}

/* Public shop integration: all rules scoped to the original tested studio */
.dzw-studio{width:100%!important;max-width:1240px!important;margin:22px auto!important;padding:24px!important;clear:both!important;float:none!important;display:block!important}
.dzw-studio .dzw-layout{display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(300px,.9fr)!important;align-items:start!important;gap:22px!important}
.dzw-studio .dzw-panel{width:auto!important;min-width:0!important;max-width:none!important;display:block!important;float:none!important}
.dzw-studio .dzw-aside dl{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(125px,1fr)!important;gap:12px 14px!important;margin:0!important;padding:0!important;align-items:start!important}
.dzw-studio .dzw-aside dt,.dzw-studio .dzw-aside dd{margin:0!important;padding:0!important;width:auto!important;float:none!important;line-height:1.4!important;font-size:13px!important;overflow-wrap:break-word!important}
.dzw-studio .dzw-aside dd{text-align:right!important;font-weight:700!important}
.dzw-studio table{display:table!important;width:100%!important;table-layout:auto!important;border-collapse:collapse!important;margin:0!important}
.dzw-studio table tbody{display:table-row-group!important}
.dzw-studio table tr{display:table-row!important;height:auto!important}
.dzw-studio table td{display:table-cell!important;width:auto!important;float:none!important;padding:9px 8px!important;line-height:1.5!important;vertical-align:middle!important;font-size:13px!important}
.dzw-studio table td:last-child{text-align:right!important;white-space:nowrap!important}
.dzw-studio .dzw-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.dzw-studio .dzw-buy{width:100%;border:0;background:#00664a;color:white;font-size:16px;font-weight:700;padding:14px;border-radius:7px;cursor:pointer;margin-top:14px}
.dzw-studio .dzw-buy:disabled{opacity:.5;cursor:not-allowed}
.dzw-studio .dzw-loading{padding:16px;background:#f1f5f1;border-radius:6px}
.dzw-studio [hidden]{display:none!important}
@media(max-width:820px){.dzw-studio .dzw-layout{grid-template-columns:1fr!important}.dzw-studio .dzw-aside dl{grid-template-columns:minmax(0,1fr) minmax(125px,1fr)!important}}
@media(max-width:560px){.dzw-studio .dzw-fields{grid-template-columns:1fr!important}.dzw-studio{padding:12px!important}.dzw-studio .dzw-panel{padding:15px!important}}

.dzw-print-choose{border:1px solid #c7dce4;border-radius:12px;padding:16px;margin:22px 0;background:#f6fafb}.dzw-print-toggle{display:flex;align-items:center;gap:12px;font-size:17px;cursor:pointer}.dzw-print-toggle input{width:22px;height:22px}.dzw-print-choose p{color:#4b6570;font-size:14px}.dzw-print-choose iframe{width:100%;height:820px;border:1px solid #c8d8df;border-radius:10px;background:#f2f5f7}@media(max-width:750px){.dzw-print-choose iframe{height:1100px}}

/* V3.2: Gestaltungseditor rechts dauerhaft sichtbar (Desktop) */
@media (min-width: 981px){
 .dzw-studio{max-width:1540px!important}
 .dzw-studio .dzw-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.06fr)!important;align-items:start!important}
 .dzw-studio .dzw-sticky-editor{position:sticky!important;top:16px!important;align-self:start!important;max-height:calc(100vh - 32px)!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
 .admin-bar .dzw-studio .dzw-sticky-editor{top:48px!important;max-height:calc(100vh - 64px)!important}
 .dzw-studio .dzw-sticky-editor .dzw-print-choose{margin:0 0 18px!important}
 .dzw-studio .dzw-sticky-editor .dzw-print-choose iframe{height:650px;max-height:calc(100vh - 205px);min-height:340px}
}
@media (min-width: 821px) and (max-width:980px){
 .dzw-studio .dzw-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 .dzw-studio .dzw-sticky-editor{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow-y:auto}
 .dzw-studio .dzw-sticky-editor iframe{height:550px!important}
}
@media (max-width:820px){.dzw-studio .dzw-sticky-editor{position:static!important;max-height:none!important;overflow:visible!important}}

/* V3.3: Keine abgeschnittene Editoransicht: rechter Arbeitsbereich fest im Blick. */
@media(min-width:821px){
 .dzw-studio{max-width:1500px!important;width:100%!important}
 .dzw-studio .dzw-layout{grid-template-columns:minmax(390px,1fr) minmax(520px,1.18fr)!important;align-items:start!important}
 .dzw-studio .dzw-sticky-editor{position:sticky!important;top:12px!important;height:calc(100dvh - 24px)!important;max-height:none!important;overflow:visible!important;padding:12px!important}
 .admin-bar .dzw-studio .dzw-sticky-editor{top:44px!important;height:calc(100dvh - 56px)!important;max-height:none!important}
 .dzw-studio .dzw-sticky-editor .dzw-print-choose{height:100%!important;display:flex!important;flex-direction:column!important;min-height:0!important;padding:10px!important;overflow:hidden!important}
 .dzw-studio .dzw-sticky-editor [data-print-editor]:not([hidden]){display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important}
 .dzw-studio .dzw-sticky-editor [data-print-editor] iframe{display:block!important;flex:1!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:1px solid #bfd0d8!important}
 .dzw-studio .dzw-sticky-editor [data-print-editor] p{font-size:11px!important;margin:5px 0!important}
 .dzw-studio .dzw-sticky-editor .dzw-price-rules{display:none!important}
 .dzw-studio .dzw-sticky-editor .dzw-print-choose>p{font-size:12px!important;margin:5px 0!important}
}
@media(max-width:1100px) and (min-width:821px){.dzw-studio .dzw-layout{grid-template-columns:minmax(300px,1fr) minmax(400px,1.15fr)!important}}
@media(max-width:820px){.dzw-studio .dzw-sticky-editor{height:auto!important;overflow:visible!important}.dzw-studio .dzw-sticky-editor iframe{height:850px!important;max-height:none!important}}

/* Mobile-only correction; do not alter desktop layout. */
@media(max-width:820px){
 .dzw-studio,.dzw-studio .dzw-layout,.dzw-studio .dzw-panel,.dzw-studio .dzw-sticky-editor,.dzw-studio .dzw-print-choose{min-width:0!important;max-width:100%!important}
 .dzw-studio .dzw-layout{grid-template-columns:minmax(0,1fr)!important}
 .dzw-studio .dzw-sticky-editor{position:static!important;max-height:none!important;overflow:visible!important;height:auto!important}
 .dzw-studio .dzw-sticky-editor [data-print-editor] iframe{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:1900px;max-height:none!important;border:1px solid #bfd0d8!important}
 .dzw-studio input,.dzw-studio select{min-width:0!important;max-width:100%!important}
}

.dzw-presets,.dzw-example{margin:18px 0;padding:16px;border:1px solid #ddd;border-radius:12px}.dzw-presets button,.dzw-example button{padding:9px 13px;margin:4px;border:1px solid #84643d;border-radius:7px;background:#f6eee2;color:#49341e;cursor:pointer}.dzw-presets [hidden]{display:none!important}.dzw-example img{width:100%;height:auto;border-radius:8px}.dzw-example figure{margin:0}.kork-fotogalerie{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kork-topfbeispiel{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}@media(max-width:640px){.kork-topfbeispiel,.kork-fotogalerie{grid-template-columns:1fr}}
