.zmcd{--blue:#0967d9;--green:#08a64a;display:grid;grid-template-columns:minmax(300px,390px) minmax(420px,1fr) 300px;gap:14px;font-family:inherit;max-width:1500px;margin:auto}.zmcd aside,.zmcd-editor{background:#fff;border:1px solid #e5e8ee;border-radius:14px;padding:16px;box-shadow:0 5px 20px rgba(20,35,55,.05)}.zmcd section+section{margin-top:18px}.zmcd h3{font-size:16px;margin:0 0 12px;display:flex;align-items:center;gap:8px}.zmcd h3 b{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue);color:#fff}.zmcd-types,.zmcd-models,.zmcd-sizes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.zmcd-types button,.zmcd-models button,.zmcd-sizes button{background:#fff;border:1px solid #dfe3ea;border-radius:8px;padding:11px 8px;min-height:58px;cursor:pointer}.zmcd-types button.active,.zmcd-models button.active,.zmcd-sizes button.active{border:2px solid var(--blue);background:#f3f7ff}.zmcd-types i{display:block;font-size:22px;font-style:normal}.zmcd-types span{display:block;margin-top:4px}.zmcd-models button{text-align:left}.zmcd-models small{display:block;color:#667085;margin-top:4px}.zmcd-sizes button strong{display:block}.zmcd-drop{border:1px dashed #bdc5d1;border-radius:10px;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer}.zmcd-drop input{display:none}.zmcd-drop strong{font-size:28px}.zmcd-drop small{color:#8b93a0;margin-top:7px}.zmcd-quality{padding:10px;border-radius:8px;margin-top:10px}.zmcd-quality.good{background:#e9f8ef;color:#137a3c}.zmcd-quality.warn{background:#fff6db;color:#8a6500}.zmcd-quality.bad{background:#fdecec;color:#a72d2d}.zmcd-editor header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.zmcd-tools{display:flex;gap:6px;flex-wrap:wrap}.zmcd-tools button{background:#fff;border:1px solid #dfe3ea;border-radius:7px;padding:8px 10px}.zmcd-stage{position:relative;background:#eef1f5;overflow:hidden;min-height:520px;display:grid;place-items:center;touch-action:none}.zmcd-stage canvas{width:100%;height:100%;display:block}.zmcd-empty{position:absolute;color:#8d96a3}.zmcd-editor:not(.zmcd-editor-waiting) .zmcd-empty{display:none}.zmcd-help{font-size:12px;color:#777}.zmcd-preview-wrap canvas{width:100%;height:auto;background:#f1f3f6}.zmcd-summary h2{font-size:20px;margin:14px 0 5px}.zmcd-summary ul{list-style:none;padding:0;line-height:1.8}.zmcd-price{font-size:28px;font-weight:800;margin:4px 0 12px}.zmcd-cart,.zmcd-summary>button,#zmcd-cart{width:100%;background:var(--green);color:#fff;border:0;border-radius:10px;padding:14px;font-weight:800}.zmcd-summary button:disabled,.zmcd-mobilebar button:disabled{opacity:.45}.zmcd-mobilebar{display:none}.zmcd-status{margin-top:8px;font-size:13px}.zmcd-status.error{color:#b42318}.zmcd-status.ok{color:#067647}
@media(max-width:1000px){.zmcd{grid-template-columns:1fr}.zmcd-summary{padding-bottom:80px!important}.zmcd-stage{min-height:58vh}.zmcd-mobilebar{position:fixed;z-index:99999;display:flex;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #ddd;padding:10px 14px;justify-content:space-between;align-items:center;box-shadow:0 -4px 14px rgba(0,0,0,.08)}.zmcd-mobilebar strong{display:block;font-size:22px}.zmcd-mobilebar button{background:var(--green);color:#fff;border:0;border-radius:9px;padding:13px 16px;font-weight:800}.zmcd-summary #zmcd-cart{display:none}}
@media(max-width:560px){.zmcd{display:block}.zmcd aside,.zmcd-editor{margin-bottom:14px;padding:14px}.zmcd-types{grid-template-columns:repeat(3,1fr)}.zmcd-types button{font-size:12px}.zmcd-models{grid-template-columns:1fr}.zmcd-sizes{grid-template-columns:repeat(2,1fr)}.zmcd-editor-waiting{display:none}.zmcd-stage{min-height:60vh}.zmcd-tools button{padding:8px;font-size:12px}}

/* V0.8 – vizuelni odabir modela */
.zmcd-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.zmcd-models .zmcd-model-card{min-width:0;min-height:160px;text-align:center;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:5px;transition:border-color .15s,background .15s}
.zmcd-model-card .zmcd-model-art{display:block;width:100%;height:92px;max-width:240px}
.zmcd-model-card strong{font-size:14px;line-height:1.25}
.zmcd-model-card small{font-size:12px;color:#475467;margin:0}
.zmcd-model-detail{font-size:11px;color:#7a8494;line-height:1.3}
.zmcd-layout-preview{margin-top:12px;padding:12px;border:1px solid #dfe7f1;background:#f8fbff;border-radius:10px}
.zmcd-layout-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:13px}
.zmcd-layout-heading span,.zmcd-layout-preview>small{color:#667085;font-size:12px}
.zmcd-layout-wall{display:grid;place-items:center;margin:12px 0 8px;min-height:130px;background:linear-gradient(180deg,#f2f0ed,#e6e4e1);border-radius:8px;box-shadow:inset 0 -12px 0 #d9d5d0}
.zmcd-layout-wall svg{width:min(92%,320px);height:115px;filter:drop-shadow(2px 4px 3px #0002)}
.zmcd-editor-waiting{display:none!important}
@media(max-width:560px){.zmcd-models{grid-template-columns:repeat(2,minmax(0,1fr))}.zmcd-models .zmcd-model-card{min-height:145px;padding:8px 5px}.zmcd-model-card .zmcd-model-art{height:72px}.zmcd-model-detail{display:none}}


/* V0.9 – compact mobile flow; editor/summary only after upload */
.zmcd-summary-waiting{display:none!important}
@media(max-width:560px){
 .zmcd aside{padding:10px 12px;margin-bottom:10px}
 .zmcd section+section{margin-top:12px}
 .zmcd h3{font-size:14px;margin-bottom:8px;gap:6px}
 .zmcd h3 b{width:28px;height:28px;font-size:13px}
 .zmcd-types{gap:5px}
 .zmcd-types button{min-height:50px;padding:6px 3px;font-size:11px}
 .zmcd-types i{font-size:17px}.zmcd-types span{margin-top:2px}
 .zmcd-models{gap:6px}
 .zmcd-models .zmcd-model-card{min-height:118px;padding:6px 4px;gap:2px}
 .zmcd-model-card .zmcd-model-art{height:58px}
 .zmcd-model-card strong{font-size:12px}.zmcd-model-card small{font-size:10px}
 .zmcd-layout-preview{padding:8px;margin-top:8px}.zmcd-layout-wall{min-height:90px;margin:7px 0 5px}.zmcd-layout-wall svg{height:78px}
 .zmcd-layout-heading{font-size:11px}.zmcd-layout-heading span,.zmcd-layout-preview>small{font-size:10px}
 .zmcd-sizes{gap:5px}.zmcd-sizes button{min-height:48px;padding:6px 4px;font-size:11px}
 .zmcd-drop{min-height:105px}.zmcd-drop strong{font-size:22px}.zmcd-drop small{font-size:10px}
 .zmcd-editor{padding:10px 12px}.zmcd-stage{min-height:55vh}
}

/* V1.0.2 – safer compact mobile editor */
.zmcd-move-toggle.active{background:#0967d9!important;color:#fff!important;border-color:#0967d9!important}
.zmcd-stage{touch-action:pan-y}
.zmcd-stage.zmcd-move-mode{touch-action:none;cursor:grab}
.zmcd-stage.zmcd-move-mode:active{cursor:grabbing}
@media(max-width:560px){
 .zmcd-editor header{gap:7px}
 .zmcd-tools{width:100%;display:grid;grid-template-columns:1.45fr repeat(4,1fr);gap:4px}
 .zmcd-tools button{padding:7px 3px;font-size:10px;white-space:nowrap}
 .zmcd-stage{min-height:0;height:52vh;max-height:440px}
 .zmcd-help{margin:7px 0 0;font-size:10px;line-height:1.35}
}

/* V1.1.0 – live ambijentalni mockup */
.zmcd-room{grid-column:2/4;background:#fff;border:1px solid #e5e8ee;border-radius:14px;padding:16px;box-shadow:0 5px 20px rgba(20,35,55,.05)}
.zmcd-room-waiting{display:none!important}.zmcd-room header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.zmcd-room header h3{margin-bottom:3px}.zmcd-room header p{margin:0;color:#667085;font-size:12px}.zmcd-room header>span{font-size:12px;font-weight:700;background:#f3f6fa;border-radius:999px;padding:7px 10px;white-space:nowrap}
.zmcd-room-scene{position:relative;height:440px;margin-top:12px;border-radius:12px;overflow:hidden;background-color:#eee;background-repeat:no-repeat;background-size:cover;background-position:center;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 8px 24px rgba(20,35,55,.10)}
/* Fotorealistični ambijenti. Fotografije su Pexels free-to-use stock; canvas kupca se crta odvojeno iznad zida. */
.zmcd-room-scene.living{background-image:url('https://images.pexels.com/photos/4846459/pexels-photo-4846459.jpeg?auto=compress&cs=tinysrgb&w=1400');background-position:center 56%}
.zmcd-room-scene.bedroom{background-image:url('https://images.pexels.com/photos/7018246/pexels-photo-7018246.jpeg?auto=compress&cs=tinysrgb&w=1400');background-position:center 45%}
.zmcd-room-scene.dining{background-image:url('https://images.pexels.com/photos/8143700/pexels-photo-8143700.jpeg?auto=compress&cs=tinysrgb&w=1400');background-position:center 45%}
.zmcd-room-scene.office{background-image:url('https://images.pexels.com/photos/8490187/pexels-photo-8490187.jpeg?auto=compress&cs=tinysrgb&w=1400');background-position:center 48%}
.zmcd-room-wall{position:absolute;z-index:3;pointer-events:none}.zmcd-room-wall canvas{width:100%;height:100%;display:block;filter:drop-shadow(0 8px 8px rgba(0,0,0,.28))}
/* Pozicija canvasa je podešena prema slobodnom zidu u svakoj fotografiji. */
.zmcd-room-scene.living .zmcd-room-wall{left:23%;right:23%;top:7%;height:43%}
.zmcd-room-scene.bedroom .zmcd-room-wall{left:29%;right:29%;top:5%;height:31%}
.zmcd-room-scene.dining .zmcd-room-wall{left:33%;right:17%;top:8%;height:38%}
.zmcd-room-scene.office .zmcd-room-wall{left:30%;right:30%;top:5%;height:38%}
/* Stari CSS nacrtani namještaj više nije potreban. */
.zmcd-room-sofa,.zmcd-room-lamp,.zmcd-room-plant{display:none!important}
.zmcd-room-tabs{display:flex;gap:7px;overflow-x:auto;padding-top:10px}.zmcd-room-tabs button{border:1px solid #dfe3ea;background:#fff;border-radius:8px;padding:8px 12px;white-space:nowrap}.zmcd-room-tabs button.active{border-color:var(--blue);background:#f3f7ff;color:var(--blue);font-weight:700}
@media(max-width:1000px){.zmcd-room{grid-column:1}.zmcd-room-scene{height:390px}}
@media(max-width:560px){.zmcd-room{padding:10px 12px;margin-bottom:10px}.zmcd-room-scene{height:300px;margin-top:8px}.zmcd-room-sofa,.zmcd-room-lamp,.zmcd-room-plant{display:none!important}.zmcd-room header p{font-size:10px}.zmcd-room header>span{font-size:10px;padding:5px 7px}.zmcd-room-tabs button{font-size:10px;padding:7px 9px}}


/* V1.2.0 – premium configurator layout inspired by ZM Studio visual concept */
@media(min-width:1001px){
 body .zmcd{max-width:1680px;grid-template-columns:minmax(650px,2.15fr) minmax(390px,.88fr);grid-template-rows:auto auto;gap:16px;align-items:start;background:#f7f8fa;padding:0;border-radius:18px;overflow:visible}
 body .zmcd-left{grid-column:2;grid-row:1 / span 2;position:sticky;top:14px;max-height:calc(100vh - 28px);overflow:auto;border-radius:16px!important;box-shadow:0 8px 28px rgba(20,35,55,.08)!important}
 body .zmcd-room{grid-column:1;grid-row:1;padding:0;background:#fff;border:0;border-radius:0;box-shadow:none;overflow:hidden}
 body .zmcd-editor{grid-column:1;grid-row:2;margin-top:0}
 body .zmcd-summary{grid-column:2;grid-row:3}
 body .zmcd-room header{position:absolute;z-index:7;margin:28px 0 0 28px;background:rgba(255,255,255,.94);border-radius:12px;padding:12px 15px;box-shadow:0 8px 24px rgba(0,0,0,.10);max-width:180px}
 body .zmcd-room header h3{font-size:14px;margin:0 0 3px} body .zmcd-room header h3 b{display:none}
 body .zmcd-room header p{font-size:11px;line-height:1.35;color:#344054} body .zmcd-room header>span{display:block;background:none;padding:0;margin-top:4px;font-size:11px}
 body .zmcd-room-scene{height:min(68vh,760px);min-height:600px;margin:0;border-radius:0;box-shadow:none;background-color:#e8e1d7}
 body .zmcd-room-tabs{padding:14px 16px 8px;gap:12px;background:#fff;display:grid;grid-template-columns:repeat(5,1fr);overflow:visible}
 body .zmcd-room-tabs button{position:relative;height:112px;padding:78px 5px 5px;border-radius:9px;background-color:#eee;background-size:cover;background-position:center;border:2px solid transparent;overflow:hidden;font-size:12px;font-weight:600;color:#20252b;box-shadow:inset 0 -34px 0 rgba(255,255,255,.92)}
 body .zmcd-room-tabs button.active{border-color:var(--blue);color:#111;background-color:#eee}
 body .zmcd-room-tabs button[data-room="living"]{background-image:url('https://images.pexels.com/photos/4846459/pexels-photo-4846459.jpeg?auto=compress&cs=tinysrgb&w=500')}
 body .zmcd-room-tabs button[data-room="bedroom"]{background-image:url('https://images.pexels.com/photos/7018246/pexels-photo-7018246.jpeg?auto=compress&cs=tinysrgb&w=500')}
 body .zmcd-room-tabs button[data-room="dining"]{background-image:url('https://images.pexels.com/photos/8143700/pexels-photo-8143700.jpeg?auto=compress&cs=tinysrgb&w=500')}
 body .zmcd-room-tabs button[data-room="office"]{background-image:url('https://images.pexels.com/photos/8490187/pexels-photo-8490187.jpeg?auto=compress&cs=tinysrgb&w=500')}
 body .zmcd-room-tabs button[data-room="hallway"]{background-image:url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=500')}
 body .zmcd-left section{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #edf0f3} body .zmcd-left section:last-child{border-bottom:0;margin-bottom:0}
 body .zmcd-left h3{font-size:15px} body .zmcd-left h3 b{width:32px;height:32px}
 body .zmcd-models .zmcd-model-card{min-height:132px} body .zmcd-model-card .zmcd-model-art{height:66px}
 body .zmcd-layout-preview{display:none}
 body .zmcd-drop{min-height:92px;display:grid;grid-template-columns:54px 1fr;gap:10px;padding:10px;text-align:left} body .zmcd-drop strong{font-size:24px;text-align:center} body .zmcd-drop small{grid-column:2}
 body .zmcd-sizes button{min-height:64px}
}
.zmcd-room-scene.hallway{background-image:url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1400');background-position:center 50%}
.zmcd-room-scene.hallway .zmcd-room-wall{left:31%;right:31%;top:10%;height:38%}
@media(max-width:1000px){
 body .zmcd-room-tabs{display:flex;overflow-x:auto}.zmcd-room-tabs button{min-width:112px}
}


/* V1.2.1 – desktop one-screen configurator: no internal sidebar scroll */
@media (min-width:1001px){
 body .zmcd{grid-template-columns:minmax(620px,2.2fr) minmax(360px,.8fr);gap:12px;max-width:1680px;align-items:start}
 body .zmcd-left{position:static;top:auto;max-height:none;overflow:visible;padding:12px!important}
 body .zmcd-left section{padding:0 0 9px;margin:0 0 9px}
 body .zmcd-left h3{font-size:13px;margin-bottom:7px;gap:6px}
 body .zmcd-left h3 b{width:25px;height:25px;font-size:12px}
 body .zmcd-types,.zmcd-models,.zmcd-sizes{gap:6px}
 body .zmcd-types button{min-height:44px;padding:5px 4px;font-size:11px}
 body .zmcd-types i{font-size:16px;margin:0} body .zmcd-types span{margin-top:1px}
 body .zmcd-models .zmcd-model-card{min-height:88px;padding:5px 4px;gap:1px}
 body .zmcd-model-card .zmcd-model-art{height:42px}
 body .zmcd-model-card strong{font-size:11px} body .zmcd-model-card small{font-size:9px} body .zmcd-model-detail{display:none}
 body .zmcd-sizes button{min-height:45px;padding:5px 4px;font-size:11px}
 body .zmcd-drop{min-height:68px;grid-template-columns:40px 1fr;padding:6px;gap:6px;font-size:11px}
 body .zmcd-drop strong{font-size:19px} body .zmcd-drop small{font-size:9px;margin-top:0}
 body #zmcd-fileinfo, body #zmcd-quality{font-size:10px;margin-top:5px;padding:5px}
 body .zmcd-room-scene{height:calc(100vh - 265px);min-height:430px;max-height:650px}
 body .zmcd-room-tabs{padding:8px 10px 5px;gap:7px}
 body .zmcd-room-tabs button{height:76px;padding:50px 3px 3px;font-size:10px;box-shadow:inset 0 -25px 0 rgba(255,255,255,.94)}
 body .zmcd-room header{margin:16px 0 0 16px;padding:8px 10px;max-width:145px}
 body .zmcd-room header h3{font-size:12px} body .zmcd-room header p, body .zmcd-room header>span{font-size:9px}
}
\n\n/* V1.2.2 – calibrated photoreal mockups, physical size scaling and no forced page jump */
@media (min-width:1001px){
 body .zmcd-room-scene{height:calc(100vh - 225px);min-height:500px;max-height:720px}
 body .zmcd-room-tabs{grid-template-columns:repeat(5,1fr);display:grid;overflow:visible}
 body .zmcd-room-tabs button{min-width:0}
}
/* Each photo has its own clean wall target. Canvas stays away from furniture/frames. */
.zmcd-room-scene.living .zmcd-room-wall{left:31%;right:31%;top:8%;height:31%}
.zmcd-room-scene.bedroom .zmcd-room-wall{left:34%;right:34%;top:4%;height:27%}
.zmcd-room-scene.dining .zmcd-room-wall{left:34%;right:24%;top:7%;height:30%}
.zmcd-room-scene.office .zmcd-room-wall{left:40%;right:40%;top:4%;height:28%}
.zmcd-room-scene.hallway .zmcd-room-wall{left:35%;right:35%;top:7%;height:30%}
@media (max-width:1000px){
 body .zmcd-room-scene{height:clamp(300px,58vw,500px)}
 body .zmcd-room-tabs{display:flex;overflow-x:auto;scrollbar-width:none}
 body .zmcd-room-tabs::-webkit-scrollbar{display:none}
}
@media (max-width:560px){
 body .zmcd-room-scene{height:300px}
 .zmcd-room-scene.living .zmcd-room-wall{left:27%;right:27%;top:7%;height:32%}
 .zmcd-room-scene.bedroom .zmcd-room-wall{left:31%;right:31%;top:4%;height:28%}
 .zmcd-room-scene.dining .zmcd-room-wall{left:31%;right:21%;top:7%;height:31%}
 .zmcd-room-scene.office .zmcd-room-wall{left:38%;right:38%;top:4%;height:28%}
 .zmcd-room-scene.hallway .zmcd-room-wall{left:32%;right:32%;top:7%;height:30%}
}
\n\n/* V1.2.3 – orientation + sales mockup corrections */
@media (min-width:1001px){
 body .zmcd{grid-template-columns:minmax(640px,2.15fr) minmax(390px,.85fr);gap:14px}
 body .zmcd-left{position:static!important;max-height:none!important;overflow:visible!important;padding:11px!important}
 body .zmcd-left section{padding-bottom:8px!important;margin-bottom:8px!important}
 body .zmcd-room-scene{height:clamp(470px,58vh,650px)!important;min-height:470px!important}
 body .zmcd-room-tabs button{height:72px!important;padding-top:47px!important}
}
/* Give the product enough visual presence; JS still preserves relative size differences. */
.zmcd-room-scene.living .zmcd-room-wall{left:25%;right:25%;top:7%;height:36%}
.zmcd-room-scene.bedroom .zmcd-room-wall{left:28%;right:28%;top:4%;height:32%}
.zmcd-room-scene.dining .zmcd-room-wall{left:28%;right:18%;top:6%;height:35%}
.zmcd-room-scene.office .zmcd-room-wall{left:33%;right:33%;top:4%;height:32%}
.zmcd-room-scene.hallway .zmcd-room-wall{left:29%;right:29%;top:6%;height:34%}
@media (max-width:560px){
 .zmcd-room-scene.living .zmcd-room-wall{left:24%;right:24%;top:7%;height:35%}
 .zmcd-room-scene.bedroom .zmcd-room-wall{left:27%;right:27%;top:4%;height:31%}
 .zmcd-room-scene.dining .zmcd-room-wall{left:27%;right:17%;top:6%;height:34%}
 .zmcd-room-scene.office .zmcd-room-wall{left:32%;right:32%;top:4%;height:31%}
 .zmcd-room-scene.hallway .zmcd-room-wall{left:28%;right:28%;top:6%;height:33%}
}

/* v1.2.5 Mobile Wizard — mobile-only presentation layer */
.zmcd-mobile-progress{display:none}.zmcd-step-intro{display:none}
@media (max-width:767px){
  body .zmcd{display:block!important;max-width:100%!important;margin:0!important;padding:0 16px 92px!important;background:#fff!important;min-height:70vh}
  .zmcd-mobile-progress{display:flex;align-items:center;gap:12px;padding:4px 0 18px;position:relative}
  .zmcd-mobile-progress>div{flex:1}.zmcd-mobile-progress small{display:block;font-size:13px;color:#6b6b6b;margin-bottom:8px}
  #zmcd-back{width:38px;height:38px;border:1px solid #ddd;border-radius:12px;background:#fff;font-size:25px;line-height:1;padding:0;color:#222}
  .zmcd-progress-track{height:4px;background:#ece9e5;border-radius:10px;overflow:hidden}.zmcd-progress-track i{display:block;width:14.285%;height:100%;background:#4b3322;border-radius:10px;transition:width .25s ease}
  .zmcd-left{display:block!important;padding:0!important;border:0!important;background:transparent!important}
  .zmcd-wizard-step{display:none!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}
  .zmcd-wizard-step.zmcd-step-active{display:block!important}
  .zmcd-wizard-step>h3,.zmcd-room header h3,.zmcd-editor header h3,.zmcd-summary>h3{font-size:25px!important;line-height:1.15!important;margin:0 0 8px!important;color:#171717!important}
  .zmcd-wizard-step h3 b{display:none!important}.zmcd-step-intro{display:block;margin:0 0 22px;color:#696969;font-size:15px;line-height:1.45}
  .zmcd-types{grid-template-columns:1fr 1fr!important;gap:12px!important}.zmcd-types button{min-height:116px!important;border:1px solid #e4e1dd!important;border-radius:16px!important;background:#fff!important;padding:18px 10px!important;box-shadow:none!important}.zmcd-types button.active{border:2px solid #4b3322!important;background:#faf7f3!important}.zmcd-types button i{font-size:29px!important;margin-bottom:10px!important}.zmcd-types button span{font-weight:700!important;font-size:15px!important}
  #zmcd-model-section{display:none!important}#zmcd-model-section.zmcd-step-active{display:block!important}.zmcd-models{grid-template-columns:1fr 1fr!important;gap:12px!important}.zmcd-model-card{border-radius:16px!important;padding:12px!important;min-height:165px!important}.zmcd-model-card.active{border:2px solid #4b3322!important;background:#faf7f3!important}.zmcd-model-detail{display:none!important}.zmcd-layout-preview{margin-top:16px!important}
  .zmcd-sizes{display:flex!important;flex-direction:column!important;gap:10px!important}.zmcd-sizes button{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-height:58px!important;border-radius:14px!important;padding:0 16px!important;font-size:16px!important;background:#fff!important;border:1px solid #e5e1dc!important}.zmcd-sizes button.active{border:2px solid #4b3322!important;background:#faf7f3!important}.zmcd-sizes button strong{font-size:15px!important}
  .zmcd-drop{min-height:240px!important;border-radius:18px!important;border:1.5px dashed #cfc9c2!important;background:#faf9f7!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:24px!important;text-align:center!important}.zmcd-drop strong{font-size:42px!important}.zmcd-drop span{font-size:17px!important;font-weight:700!important}.zmcd-drop small{margin-top:8px!important;color:#777!important}
  .zmcd-room header,.zmcd-editor header{display:block!important}.zmcd-room header p{font-size:14px!important;color:#6b6b6b!important}.zmcd-room-scene{border-radius:18px!important;overflow:hidden!important}.zmcd-room-tabs{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:12px 0 2px!important}.zmcd-room-tabs button{flex:0 0 auto!important;border-radius:12px!important}
  .zmcd-editor .zmcd-stage{height:min(58vh,520px)!important;border-radius:18px!important;overflow:hidden!important}.zmcd-tools{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:14px 0!important}.zmcd-tools button{min-height:48px!important;border-radius:12px!important;font-size:13px!important}.zmcd-help{font-size:13px!important}
  .zmcd-summary .zmcd-preview-wrap{border-radius:18px!important;overflow:hidden!important}.zmcd-summary ul{font-size:14px!important}.zmcd-summary .zmcd-price{font-size:28px!important}.zmcd-summary #zmcd-cart{display:none!important}
  .zmcd-mobilebar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9999!important;background:rgba(255,255,255,.96)!important;border-top:1px solid #eee!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;display:block!important;box-shadow:0 -8px 24px rgba(0,0,0,.05)!important}
  .zmcd-mobilebar>div{display:none!important}#zmcd-next,#zmcd-mobile-cart{width:100%!important;min-height:54px!important;border:0!important;border-radius:14px!important;background:#4b3322!important;color:#fff!important;font-size:17px!important;font-weight:800!important;padding:0 18px!important}#zmcd-mobile-cart{display:none!important;background:#4b3322!important}#zmcd-mobile-cart:disabled{opacity:.45!important}
  .zmcd[data-mobile-step="7"] #zmcd-next{display:none!important}.zmcd[data-mobile-step="7"] #zmcd-mobile-cart{display:block!important}
}

/* v1.2.6 premium mobile — Step 1 */
@media (max-width:767px){
 body .zmcd{padding:0 14px 104px!important;background:#fffdfb!important}
 .zmcd-mobile-progress{padding:2px 4px 26px!important;gap:14px!important}
 .zmcd-mobile-progress small{font-size:15px!important;color:#27221f!important;font-weight:650!important;margin-bottom:10px!important}
 #zmcd-back{width:42px!important;height:42px!important;border-radius:13px!important;color:#6b625d!important;border-color:#e8e2dd!important;box-shadow:0 3px 12px rgba(50,31,18,.04)!important}
 .zmcd-progress-track{height:7px!important;background:transparent!important;display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:5px!important;overflow:visible!important}
 .zmcd-progress-track:before{content:"";grid-column:1/-1;background:repeating-linear-gradient(90deg,#dedbd8 0,#dedbd8 calc((100% - 30px)/7),transparent calc((100% - 30px)/7),transparent calc((100% - 30px)/7 + 5px));border-radius:9px}
 .zmcd-progress-track i{position:absolute!important;width:calc((100% - 30px)/7)!important;height:7px!important;background:#5a3019!important;border-radius:9px!important}
 .zmcd-premium-model-step{background:transparent!important}
 .zmcd-step-copy{margin:0 4px 24px!important}
 .zmcd-step-copy h2{font-size:31px!important;line-height:1.08!important;letter-spacing:-.8px!important;margin:0 0 8px!important;color:#0d0c0b!important;font-weight:850!important}
 .zmcd-step-copy p{font-size:16px!important;line-height:1.35!important;color:#77716d!important;margin:0!important}
 .zmcd-types{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .zmcd-types button{position:relative!important;display:flex!important;flex-direction:column!important;min-height:0!important;padding:8px 8px 13px!important;border:1px solid #eee9e5!important;border-radius:17px!important;background:#fff!important;box-shadow:0 7px 22px rgba(59,37,21,.055)!important;overflow:hidden!important;text-align:center!important;color:#171310!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important}
 .zmcd-types button.active{border:1.8px solid #5a3019!important;background:#fffaf5!important;box-shadow:0 8px 24px rgba(90,48,25,.09)!important}
 .zmcd-type-photo{position:relative!important;display:block!important;width:100%!important;aspect-ratio:1.58/1!important;border-radius:12px!important;overflow:hidden!important;background:#eee8e2!important;margin:0 0 10px!important}
 .zmcd-type-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
 .zmcd-type-photo em{position:absolute!important;right:8px!important;top:8px!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#5a3019!important;color:#fff!important;font-size:17px!important;line-height:28px!important;font-style:normal!important;font-weight:800!important;box-shadow:0 2px 8px rgba(0,0,0,.15)!important}
 .zmcd-types button>strong{font-size:16px!important;line-height:1.15!important;font-weight:800!important;margin:0 0 4px!important}
 .zmcd-types button>small{font-size:11.5px!important;line-height:1.3!important;color:#77706b!important;min-height:30px!important;padding:0 2px!important}
 .zmcd-mobilebar{padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(255,253,251,.97)!important;backdrop-filter:blur(16px)!important;border-top:1px solid #eee8e3!important}
 #zmcd-next,#zmcd-mobile-cart{min-height:58px!important;border-radius:16px!important;background:linear-gradient(135deg,#4d2816,#6a3b21)!important;font-size:18px!important;letter-spacing:.1px!important;box-shadow:0 8px 20px rgba(77,40,22,.18)!important}
}
@media (max-width:390px){
 .zmcd-step-copy h2{font-size:28px!important}.zmcd-types{gap:9px!important}.zmcd-types button{padding:7px 7px 11px!important}.zmcd-types button>strong{font-size:15px!important}.zmcd-types button>small{font-size:10.5px!important}
}

/* v1.2.11 premium intro + bottom back */
.zmcd-premium-intro{display:none}
@media (max-width:767px){
 body .zmcd{padding-bottom:174px!important}
 .zmcd-premium-intro{display:block;margin:0 4px 30px;padding:22px 20px;border:1px solid #eee6df;border-radius:20px;background:linear-gradient(145deg,#fffaf5,#fff);box-shadow:0 10px 30px rgba(73,43,24,.055)}
 .zmcd-intro-kicker{display:block;margin-bottom:9px;font-size:10px;font-weight:850;letter-spacing:1.5px;color:#744124}
 .zmcd-premium-intro h2{margin:0 0 12px!important;font-size:24px!important;line-height:1.12!important;letter-spacing:-.45px!important;color:#15110e!important}
 .zmcd-premium-intro p{margin:0 0 10px!important;font-size:13.5px!important;line-height:1.55!important;color:#6f6863!important}
 .zmcd-intro-signoff{display:block;margin-top:14px;font-size:13.5px;line-height:1.35;color:#4d2816}
 .zmcd-mobilebar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 #zmcd-bottom-back{display:block!important;width:100%!important;min-height:48px!important;border:1.5px solid #6a3b21!important;border-radius:15px!important;background:transparent!important;color:#5a3019!important;font-size:16px!important;font-weight:800!important;padding:0 18px!important}
 .zmcd[data-mobile-step="7"] #zmcd-bottom-back{display:block!important}
}
/* v1.2.15 — family portraits inside the original single-panel proportions */
@media(max-width:767px){
  .zmcd-model-photo{width:100%;height:92px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#f6f2ed}
  .zmcd-model-photo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:7px}
  .zmcd-model-photo-horizontal img{width:100%;height:auto}
  .zmcd-model-photo-vertical img{height:100%;width:auto}
  .zmcd-model-photo-square img{height:100%;width:auto;aspect-ratio:1/1;object-fit:cover}
}

/* v1.2.16: same ambient thumbnail frame; only wall canvas orientation changes */
.zmcd-model-photo{display:block;width:100%;aspect-ratio:391/244;overflow:hidden;border-radius:10px;background:#f8f2ed}
.zmcd-model-photo img{display:block;width:100%;height:100%;object-fit:contain}
.zmcd-selected-family-preview{display:block;width:min(92%,391px);height:auto;max-height:160px;object-fit:contain;border-radius:8px}
.zmcd-layout-wall:has(.zmcd-selected-family-preview){padding:8px}

/* v1.2.17 — room stays identical; only the canvas mounted on the wall changes ratio */
.zmcd-model-photo{display:block;width:100%;aspect-ratio:390/244;overflow:hidden;border-radius:10px;background:#f8f2ed}
.zmcd-model-photo img{width:100%;height:100%;display:block;object-fit:cover}
.zmcd-selected-family-preview{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:8px}
.zmcd-layout-wall:has(.zmcd-selected-family-preview){padding:0;overflow:hidden;aspect-ratio:390/244}

/* v1.2.18 — model preview frame requested at 400×300 (4:3) */
.zmcd-model-photo{
    width:100%;
    aspect-ratio:4/3;
    min-height:0;
    overflow:hidden;
    border-radius:12px;
    background:#f8f2ed;
}
.zmcd-model-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.zmcd-layout-wall:has(.zmcd-selected-family-preview){
    aspect-ratio:4/3;
    min-height:0;
    padding:0;
    overflow:hidden;
}
.zmcd-selected-family-preview{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:cover;
}

/* v1.2.19 — ACTUAL preview assets are 400×300; do not compress them */
.zmcd-model-photo{
  width:min(100%,400px)!important;
  aspect-ratio:4/3!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto!important;
  display:block!important;
  overflow:hidden!important;
  background:#f8f2ed!important;
}
.zmcd-model-photo img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
}
.zmcd-layout-wall:has(.zmcd-selected-family-preview){
  width:100%!important;
  aspect-ratio:4/3!important;
  height:auto!important;
  min-height:0!important;
}
.zmcd-selected-family-preview{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

/* v1.2.21 — one approved premium ambience only */
.zmcd-room-tabs{display:none!important}
.zmcd-room-scene,
.zmcd-room-scene.premium-room{
  background-image:url('../images/premium-room.webp')!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

/* v1.2.23 — crop/zoom first, then one clean premium room */
.zmcd-editor-intro{margin:0 0 12px;color:#6b6b6b;font-size:14px}
.zmcd-editor .zmcd-stage{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/3!important;
  min-height:0!important;
  max-height:none!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#2f2f2f!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)!important;
}
.zmcd-editor .zmcd-stage:after{
  content:"";position:absolute;inset:12px;pointer-events:none;border:2px solid rgba(255,255,255,.92);
  box-shadow:0 0 0 999px rgba(0,0,0,.12);border-radius:3px
}
.zmcd-zoom-control{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;margin:16px 0 10px}
.zmcd-zoom-control button{width:52px;height:52px;border-radius:50%;border:1px solid #ded8d3;background:#fff;font-size:28px;line-height:1;color:#2b211c}
.zmcd-zoom-control input{width:100%;accent-color:#743819}
.zmcd-tools{margin-top:10px}
.zmcd-room-tabs{display:none!important}
.zmcd-room-scene.premium-room{background-image:url('../images/premium-room.webp')!important;background-size:cover!important;background-position:center!important}
@media(max-width:767px){
  .zmcd-editor .zmcd-stage{aspect-ratio:4/3!important;height:auto!important;max-height:none!important}
  .zmcd-editor header{display:block!important}
  .zmcd-editor .zmcd-tools{grid-template-columns:repeat(3,1fr)!important}
  .zmcd-room-scene{height:auto!important;aspect-ratio:4/3!important;min-height:0!important;max-height:none!important}
}

/* v1.2.24 — compact mobile crop editor: controls + complete crop visible without scrolling */
@media(max-width:767px){
  .zmcd-editor{padding-bottom:8px!important}
  .zmcd-editor header{margin-bottom:6px!important}
  .zmcd-editor header h3{font-size:25px!important;line-height:1.08!important;margin:0 0 5px!important}
  .zmcd-editor-intro{font-size:13px!important;line-height:1.3!important;margin:0 0 8px!important}

  .zmcd-editor .zmcd-tools{
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    gap:6px!important;
    margin:0 0 8px!important;
  }
  .zmcd-editor .zmcd-tools button{
    min-width:0!important;
    height:42px!important;
    padding:5px 3px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1.1!important;
    white-space:normal!important;
  }

  .zmcd-editor .zmcd-stage{
    width:100%!important;
    height:min(43vh,330px)!important;
    aspect-ratio:auto!important;
    min-height:245px!important;
    max-height:330px!important;
    border-radius:14px!important;
  }
  .zmcd-editor .zmcd-stage:after{inset:8px!important}

  .zmcd-zoom-control{
    grid-template-columns:40px 1fr 40px!important;
    gap:8px!important;
    margin:8px 0 2px!important;
  }
  .zmcd-zoom-control button{
    width:40px!important;
    height:40px!important;
    font-size:22px!important;
  }
}
@media(max-width:420px) and (max-height:850px){
  .zmcd-editor .zmcd-stage{
    height:280px!important;
    min-height:220px!important;
  }
}

/* v1.3.1 — crop frame always follows the exact selected print ratio */
.zmcd-editor .zmcd-stage{
  aspect-ratio:var(--zmcd-crop-aspect,4/3)!important;
}
.zmcd-editor .zmcd-stage:after{
  inset:0!important;
  border:2px solid rgba(255,255,255,.94)!important;
  border-radius:12px!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
  .zmcd-editor .zmcd-stage{
    aspect-ratio:var(--zmcd-crop-aspect,4/3)!important;
    min-height:0!important;
    max-height:330px!important;
  }
}


/* v1.3.2 — clearer print crop UI */
.zmcd-crop-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 10px}
.zmcd-crop-meta span{display:inline-flex;align-items:center;background:#f4eee9;color:#6f351b;border:1px solid #e5d7cd;border-radius:999px;padding:7px 11px;font-weight:800;font-size:13px}
.zmcd-crop-meta small{color:#666;font-size:12px;text-align:right}
.zmcd-editor .zmcd-stage{outline:8px solid #dfe2e6!important;box-shadow:0 8px 24px rgba(0,0,0,.12)!important;cursor:grab!important}
.zmcd-editor .zmcd-stage:active{cursor:grabbing!important}
.zmcd-editor .zmcd-stage:after{content:"KADAR ZA ŠTAMPU"!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;color:#fff!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;padding-top:7px!important;text-shadow:0 1px 3px rgba(0,0,0,.65)!important;border:3px solid #fff!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)!important;z-index:4!important}
.zmcd-crop-grid{position:absolute;inset:0;z-index:3;pointer-events:none;background-image:linear-gradient(to right,transparent 33.15%,rgba(255,255,255,.52) 33.33%,transparent 33.5%,transparent 66.48%,rgba(255,255,255,.52) 66.66%,transparent 66.84%),linear-gradient(to bottom,transparent 33.15%,rgba(255,255,255,.52) 33.33%,transparent 33.5%,transparent 66.48%,rgba(255,255,255,.52) 66.66%,transparent 66.84%);opacity:.55}
.zmcd-crop-corners{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(#fff,#fff) left top/28px 5px no-repeat,linear-gradient(#fff,#fff) left top/5px 28px no-repeat,linear-gradient(#fff,#fff) right top/28px 5px no-repeat,linear-gradient(#fff,#fff) right top/5px 28px no-repeat,linear-gradient(#fff,#fff) left bottom/28px 5px no-repeat,linear-gradient(#fff,#fff) left bottom/5px 28px no-repeat,linear-gradient(#fff,#fff) right bottom/28px 5px no-repeat,linear-gradient(#fff,#fff) right bottom/5px 28px no-repeat}
.zmcd-crop-help{text-align:center;color:#5f5f5f;font-size:12px;font-weight:600;margin:10px 0 4px}
@media(max-width:767px){
 .zmcd-editor .zmcd-tools{grid-template-columns:repeat(4,1fr)!important;margin:0 0 10px!important}
 .zmcd-crop-meta{margin:4px 0 8px}.zmcd-crop-meta small{display:none}.zmcd-crop-meta span{font-size:12px;padding:6px 9px}
 .zmcd-editor .zmcd-stage{outline-width:6px!important}
 .zmcd-crop-help{margin:8px 0 2px;font-size:11px}
}


/* v1.3.4 — crop frame is the selected print ratio inside a stable workspace */
.zmcd-editor .zmcd-stage{
  aspect-ratio:4/3!important;
  background:#202226!important;
  overflow:hidden!important;
}
.zmcd-editor .zmcd-stage:after{
  left:var(--crop-x,5%)!important;top:var(--crop-y,5%)!important;
  width:var(--crop-w,90%)!important;height:var(--crop-h,90%)!important;
  right:auto!important;bottom:auto!important;inset:auto!important;
  box-sizing:border-box!important;border:3px solid #fff!important;border-radius:3px!important;
  box-shadow:0 0 0 9999px rgba(8,10,12,.62),0 3px 18px rgba(0,0,0,.28)!important;
  padding-top:7px!important;
}
.zmcd-crop-grid,.zmcd-crop-corners{
  left:var(--crop-x,5%)!important;top:var(--crop-y,5%)!important;
  width:var(--crop-w,90%)!important;height:var(--crop-h,90%)!important;
  right:auto!important;bottom:auto!important;inset:auto!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
 .zmcd-editor .zmcd-stage{aspect-ratio:auto!important;min-height:240px!important;max-height:330px!important}
}

/* v1.3.8 — FINAL: editor = tačan kadar za štampu */
.zmcd-editor .zmcd-stage{
 aspect-ratio:var(--zmcd-crop-aspect,3/2)!important;
 min-height:0!important;max-height:none!important;
 background:#202226!important;overflow:hidden!important;
}
.zmcd-editor .zmcd-stage:after,.zmcd-crop-grid,.zmcd-crop-corners{
 left:0!important;top:0!important;width:100%!important;height:100%!important;
 right:auto!important;bottom:auto!important;inset:auto!important;
}
.zmcd-editor .zmcd-stage:after{box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)!important}
@media(max-width:767px){
 .zmcd-editor .zmcd-stage{
  aspect-ratio:var(--zmcd-crop-aspect,3/2)!important;
  min-height:0!important;max-height:none!important;
 }
}

/* v1.3.9 — remove the legacy width:100%!important conflict.
   JS writes exact width/height with !important; canvas and overlays fill that same box. */
.zmcd-editor .zmcd-stage{
  box-sizing:border-box!important;
  flex:none!important;
  place-self:center!important;
}
.zmcd-editor .zmcd-stage > canvas,
.zmcd-editor #zmcd-canvas{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
}

/* v1.4.1 — clear print boundary + label over photograph */
.zmcd-editor .zmcd-stage:after{
  content:"KADAR ZA ŠTAMPU"!important;
  display:flex!important;align-items:flex-start!important;justify-content:center!important;
  color:#fff!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;
  padding-top:7px!important;text-shadow:0 1px 3px rgba(0,0,0,.65)!important;
  border:2px solid rgba(255,255,255,.96)!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.08)!important;
  pointer-events:none!important;
}
\n\n/* v1.4.1 room final — full-scene transparent drawing layer; no beige overlay, no stretch */
#zmcd-room-scene{position:relative!important;overflow:hidden!important}
#zmcd-room-scene .zmcd-room-wall{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important;z-index:3!important}
#zmcd-room-scene #zmcd-room-canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important}


/* v1.4.1.1 — stable mobile editor + ratio-safe room artwork */
#zmcd-room-canvas{display:none!important}
#zmcd-room-art{position:absolute!important;z-index:4!important;display:none;object-fit:fill!important;max-width:none!important;max-height:none!important;border:2px solid rgba(255,255,255,.96)!important;box-sizing:border-box!important;box-shadow:0 8px 12px rgba(0,0,0,.28)!important;pointer-events:none!important}

/* Jasne dimenzije pojedinačnih panela u koraku 3 */
#zmcd-sizes .zmcd-size-explain{display:block;flex-basis:100%;width:100%;font-size:12px;line-height:1.45;color:#59616c;text-align:left;font-weight:400;margin-top:5px;overflow-wrap:anywhere}#zmcd-sizes button{flex-wrap:wrap;height:auto;min-height:70px;row-gap:3px}#zmcd-sizes button>span:first-child{flex:1;text-align:left}#zmcd-sizes button>strong{margin-left:auto}

/* v1.4.1.23: remove theme's excess top gap only on Canvas shortcode page */
body.zmcd-canvas-page .site-content,body.zmcd-canvas-page #content{padding-top:0!important;}
body.zmcd-canvas-page .entry-header,body.zmcd-canvas-page .page-header{margin-top:20px!important;padding-top:0!important;}
body.zmcd-canvas-page .entry-title,body.zmcd-canvas-page .page-title{margin-top:0!important;}
body.zmcd-canvas-page .entry-content{margin-top:16px!important;}

/* v1.4.1.24 Desktop: same guided 7-step flow as mobile. */
@media (min-width:768px){

  body .zmcd{display:block!important;max-width:100%!important;margin:0!important;padding:0 16px 92px!important;background:#fff!important;min-height:70vh}
  .zmcd-mobile-progress{display:flex;align-items:center;gap:12px;padding:4px 0 18px;position:relative}
  .zmcd-mobile-progress>div{flex:1}.zmcd-mobile-progress small{display:block;font-size:13px;color:#6b6b6b;margin-bottom:8px}
  #zmcd-back{width:38px;height:38px;border:1px solid #ddd;border-radius:12px;background:#fff;font-size:25px;line-height:1;padding:0;color:#222}
  .zmcd-progress-track{height:4px;background:#ece9e5;border-radius:10px;overflow:hidden}.zmcd-progress-track i{display:block;width:14.285%;height:100%;background:#4b3322;border-radius:10px;transition:width .25s ease}
  .zmcd-left{display:block!important;padding:0!important;border:0!important;background:transparent!important}
  .zmcd-wizard-step{display:none!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}
  .zmcd-wizard-step.zmcd-step-active{display:block!important}
  .zmcd-wizard-step>h3,.zmcd-room header h3,.zmcd-editor header h3,.zmcd-summary>h3{font-size:25px!important;line-height:1.15!important;margin:0 0 8px!important;color:#171717!important}
  .zmcd-wizard-step h3 b{display:none!important}.zmcd-step-intro{display:block;margin:0 0 22px;color:#696969;font-size:15px;line-height:1.45}
  .zmcd-types{grid-template-columns:1fr 1fr!important;gap:12px!important}.zmcd-types button{min-height:116px!important;border:1px solid #e4e1dd!important;border-radius:16px!important;background:#fff!important;padding:18px 10px!important;box-shadow:none!important}.zmcd-types button.active{border:2px solid #4b3322!important;background:#faf7f3!important}.zmcd-types button i{font-size:29px!important;margin-bottom:10px!important}.zmcd-types button span{font-weight:700!important;font-size:15px!important}
  #zmcd-model-section{display:none!important}#zmcd-model-section.zmcd-step-active{display:block!important}.zmcd-models{grid-template-columns:1fr 1fr!important;gap:12px!important}.zmcd-model-card{border-radius:16px!important;padding:12px!important;min-height:165px!important}.zmcd-model-card.active{border:2px solid #4b3322!important;background:#faf7f3!important}.zmcd-model-detail{display:none!important}.zmcd-layout-preview{margin-top:16px!important}
  .zmcd-sizes{display:flex!important;flex-direction:column!important;gap:10px!important}.zmcd-sizes button{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-height:58px!important;border-radius:14px!important;padding:0 16px!important;font-size:16px!important;background:#fff!important;border:1px solid #e5e1dc!important}.zmcd-sizes button.active{border:2px solid #4b3322!important;background:#faf7f3!important}.zmcd-sizes button strong{font-size:15px!important}
  .zmcd-drop{min-height:240px!important;border-radius:18px!important;border:1.5px dashed #cfc9c2!important;background:#faf9f7!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:24px!important;text-align:center!important}.zmcd-drop strong{font-size:42px!important}.zmcd-drop span{font-size:17px!important;font-weight:700!important}.zmcd-drop small{margin-top:8px!important;color:#777!important}
  .zmcd-room header,.zmcd-editor header{display:block!important}.zmcd-room header p{font-size:14px!important;color:#6b6b6b!important}.zmcd-room-scene{border-radius:18px!important;overflow:hidden!important}.zmcd-room-tabs{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:12px 0 2px!important}.zmcd-room-tabs button{flex:0 0 auto!important;border-radius:12px!important}
  .zmcd-editor .zmcd-stage{height:min(58vh,520px)!important;border-radius:18px!important;overflow:hidden!important}.zmcd-tools{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:14px 0!important}.zmcd-tools button{min-height:48px!important;border-radius:12px!important;font-size:13px!important}.zmcd-help{font-size:13px!important}
  .zmcd-summary .zmcd-preview-wrap{border-radius:18px!important;overflow:hidden!important}.zmcd-summary ul{font-size:14px!important}.zmcd-summary .zmcd-price{font-size:28px!important}.zmcd-summary #zmcd-cart{display:none!important}
  .zmcd-mobilebar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9999!important;background:rgba(255,255,255,.96)!important;border-top:1px solid #eee!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;display:block!important;box-shadow:0 -8px 24px rgba(0,0,0,.05)!important}
  .zmcd-mobilebar>div{display:none!important}#zmcd-next,#zmcd-mobile-cart{width:100%!important;min-height:54px!important;border:0!important;border-radius:14px!important;background:#4b3322!important;color:#fff!important;font-size:17px!important;font-weight:800!important;padding:0 18px!important}#zmcd-mobile-cart{display:none!important;background:#4b3322!important}#zmcd-mobile-cart:disabled{opacity:.45!important}
  .zmcd[data-mobile-step="7"] #zmcd-next{display:none!important}.zmcd[data-mobile-step="7"] #zmcd-mobile-cart{display:block!important}

 body .zmcd{max-width:1120px!important;margin:20px auto!important;padding:28px 34px 34px!important;min-height:550px!important;display:block!important;background:#fff!important}
 body .zmcd-left{position:static!important;max-height:none!important;overflow:visible!important;width:100%!important;grid-column:auto!important;grid-row:auto!important;box-shadow:none!important}
 body .zmcd-types{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .zmcd-models{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .zmcd-sizes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .zmcd-mobilebar{position:static!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;justify-content:flex-end!important;margin-top:28px!important;padding:18px 0 0!important;box-shadow:none!important;border-top:1px solid #eee!important;background:#fff!important}
 body .zmcd-mobilebar #zmcd-next,body .zmcd-mobilebar #zmcd-bottom-back,body .zmcd-mobilebar #zmcd-mobile-cart{width:auto!important;min-width:170px!important;margin:0!important;flex:0 0 auto!important}
 body .zmcd-mobilebar>div{margin-right:auto!important}
 body .zmcd-editor .zmcd-stage{height:min(60vh,580px)!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
 body .zmcd-room-scene{height:min(62vh,650px)!important;min-height:400px!important;max-width:950px!important;margin:0 auto!important}
 body .zmcd-summary .zmcd-preview-wrap{max-width:720px!important;margin:0 auto 20px!important}
 body .zmcd-drop{max-width:760px!important;margin:0 auto!important}
 body .zmcd-premium-intro{max-width:none!important}
}

/* v1.4.1.27 — compact desktop first step: visible explanation, no page-length wizard */
@media (min-width:768px){
 body .zmcd{max-width:1120px!important;margin:8px auto!important;padding:10px 24px 12px!important;min-height:0!important}
 body .zmcd .zmcd-premium-intro{display:block!important;margin:0 0 12px!important;padding:12px 18px!important;border-radius:14px!important;box-shadow:none!important}
 body .zmcd .zmcd-premium-intro .zmcd-intro-kicker{font-size:10px!important;letter-spacing:.08em!important}
 body .zmcd .zmcd-premium-intro h2{font-size:19px!important;margin:3px 0 5px!important}
 body .zmcd .zmcd-premium-intro p{font-size:12px!important;line-height:1.4!important;margin:0!important}
 body .zmcd .zmcd-premium-intro p:nth-of-type(2),body .zmcd .zmcd-premium-intro .zmcd-intro-signoff{display:none!important}
 body .zmcd .zmcd-step-copy h2{font-size:21px!important;margin:0 0 3px!important}
 body .zmcd .zmcd-step-copy p{font-size:12px!important;margin:0 0 5px!important}
 body .zmcd .zmcd-mobile-progress{padding:0 0 9px!important;gap:8px!important}
 body .zmcd .zmcd-mobile-progress small{margin-bottom:4px!important;font-size:11px!important}
 body .zmcd #zmcd-back{width:29px!important;height:29px!important;font-size:20px!important}
 body .zmcd .zmcd-types{gap:9px!important}
 body .zmcd .zmcd-types button{min-height:0!important;height:auto!important;padding:7px!important;border-radius:11px!important}
 body .zmcd .zmcd-types button img{max-height:clamp(65px,12vh,115px)!important;object-fit:contain!important}
 body .zmcd .zmcd-types button span{font-size:12px!important;line-height:1.2!important}
 body .zmcd .zmcd-mobilebar{margin-top:10px!important;padding-top:8px!important}
 body .zmcd .zmcd-mobilebar #zmcd-next,body .zmcd .zmcd-mobilebar #zmcd-bottom-back{min-height:38px!important;font-size:13px!important;border-radius:9px!important}
}
@media (min-width:768px) and (max-height:800px){
 body .zmcd .zmcd-premium-intro{padding:8px 14px!important;margin-bottom:7px!important}
 body .zmcd .zmcd-premium-intro h2{font-size:17px!important}
 body .zmcd .zmcd-premium-intro p{font-size:11px!important}
 body .zmcd .zmcd-types button img{max-height:clamp(48px,10vh,80px)!important}
 body .zmcd .zmcd-types{gap:6px!important}
}
@media(min-width:768px){
 body .zmcd .zmcd-types .zmcd-type-photo{display:block!important;height:clamp(64px,12vh,112px)!important;overflow:hidden!important}
 body .zmcd .zmcd-types .zmcd-type-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;max-height:none!important}
 body .zmcd .zmcd-types button strong{display:block!important;font-size:12px!important;margin-top:3px!important;line-height:1.15!important}
 body .zmcd .zmcd-types button small{display:block!important;font-size:10px!important;line-height:1.2!important;margin-top:2px!important}
}
@media(min-width:768px) and (max-height:800px){body .zmcd .zmcd-types .zmcd-type-photo{height:clamp(45px,9vh,76px)!important}}

/* v1.4.1.28 — desktop: larger complete model previews while keeping the six choices in view */
@media (min-width:768px){
 body .zmcd{max-width:1180px!important;padding:10px 18px 12px!important}
 body .zmcd .zmcd-types{gap:12px!important}
 body .zmcd .zmcd-types button{padding:8px!important}
 body .zmcd .zmcd-types .zmcd-type-photo{height:clamp(112px,16vh,155px)!important;overflow:hidden!important;background:#f6f4f1!important}
 body .zmcd .zmcd-types .zmcd-type-photo img{width:100%!important;height:100%!important;object-fit:contain!important}
 body .zmcd .zmcd-mobilebar{margin-top:10px!important}
}
@media (min-width:768px) and (max-height:800px){
 body .zmcd .zmcd-types .zmcd-type-photo{height:clamp(95px,14vh,125px)!important}
 body .zmcd .zmcd-premium-intro{margin-bottom:7px!important}
}

/* v1.4.1.33: immediate photo preview on upload step (desktop + mobile). */
body .zmcd-drop.zmcd-has-preview{position:relative!important;display:flex!important;flex-direction:column!important;gap:8px!important;padding:12px!important;min-height:180px!important;align-items:center!important;justify-content:center!important}
body .zmcd-drop .zmcd-upload-preview:not([hidden]){display:block!important;max-width:100%!important;width:auto!important;height:auto!important;max-height:min(42vh,350px)!important;object-fit:contain!important;border-radius:9px!important}
body .zmcd-drop.zmcd-has-preview>strong{display:none!important}
body .zmcd-drop.zmcd-has-preview>span{font-size:13px!important;font-weight:600!important}
body .zmcd-drop.zmcd-has-preview>small{display:none!important}
@media(max-width:767px){body .zmcd-drop .zmcd-upload-preview:not([hidden]){max-height:32vh!important}body .zmcd-drop.zmcd-has-preview{min-height:130px!important}}

/* v1.4.1.38: larger photo-filled multi-panel model choices on desktop */
@media(min-width:768px){
 #zmcd-model-section .zmcd-models .zmcd-model-card{min-height:230px!important;padding:18px 12px!important;gap:10px!important}
 #zmcd-model-section .zmcd-model-card .zmcd-model-art{height:165px!important;width:100%!important;max-width:100%!important;object-fit:contain!important}
 #zmcd-model-section .zmcd-model-card strong{font-size:16px!important}
 #zmcd-model-section .zmcd-model-card small{font-size:12px!important}
 #zmcd-model-section .zmcd-layout-wall .zmcd-model-art{height:185px!important;width:min(96%,650px)!important}
}

/* v1.4.1.40: stable ambient inside each SVG, no extraneous panel outlines */
@media(min-width:768px){
 #zmcd-model-section .zmcd-model-card .zmcd-model-art-room{height:auto!important;aspect-ratio:12/5!important;max-height:170px!important;display:block!important}
 #zmcd-model-section .zmcd-layout-wall .zmcd-model-art-room{height:auto!important;aspect-ratio:12/5!important;max-height:230px!important}
}

.zmcd-fresh-photo{display:block;width:100%;overflow:hidden}.zmcd-fresh-photo img{display:block;width:100%;height:auto;aspect-ratio:2.7/1;object-fit:cover}

/* Canvas construction details – scoped to the wall preview */
.zmcd-detail-section{padding:24px 0 8px;max-width:1200px;margin:auto}.zmcd-detail-heading h3{font-size:clamp(20px,2vw,27px);margin:0 0 5px}.zmcd-detail-heading p{margin:0 0 20px;color:#69717b}.zmcd-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.zmcd-detail-card{background:#fff;border:1px solid #e4e5e8;border-radius:16px;overflow:hidden;padding:10px 10px 18px;box-shadow:0 6px 24px rgba(20,24,30,.05)}.zmcd-detail-card h4{font-size:17px;margin:14px 10px 4px;color:#222}.zmcd-detail-card p{font-size:13px;line-height:1.5;color:#66707b;margin:0 10px}.zmcd-detail-stage{height:215px;border-radius:11px;background:linear-gradient(135deg,#e4e0d9,#f8f5ef);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;perspective:650px}.zmcd-detail-art{position:relative;max-height:75%;filter:drop-shadow(4px 7px 5px rgba(0,0,0,.23))}.zmcd-detail-art img{position:absolute;object-fit:fill;box-shadow:2px 2px 3px rgba(0,0,0,.2)}.zmcd-detail-side-object{position:relative;width:46%;height:66%;transform:rotateY(-29deg) rotateX(4deg);transform-style:preserve-3d;filter:drop-shadow(12px 13px 8px rgba(0,0,0,.24))}.zmcd-detail-side-face{position:absolute;inset:0;background-size:cover;background-position:center;border:2px solid rgba(255,255,255,.25)}.zmcd-detail-side-edge{position:absolute;left:100%;top:0;width:21px;height:100%;transform-origin:left;transform:rotateY(90deg);background-size:auto 100%;background-position:right center;filter:brightness(.67);border-right:2px solid rgba(30,30,30,.18)}.zmcd-detail-wood{position:relative;width:65%;height:65%;border:14px solid #bd8750;background:#ede8df;box-shadow:inset 0 0 0 3px #9c6938,8px 12px 10px #0002;transform:rotateY(-12deg) rotateX(5deg)}.zmcd-detail-cross{position:absolute;left:48%;top:0;height:100%;width:12px;background:linear-gradient(90deg,#b27a40,#e0b47b,#a76e37)}.zmcd-detail-hanger{position:absolute;top:-8px;left:calc(50% - 13px);width:26px;height:13px;background:#a8a9a6;border:2px solid #686a68;border-radius:3px}.zmcd-detail-back{background:linear-gradient(135deg,#e7ded2,#f6f1e9)}@media(max-width:700px){.zmcd-detail-grid{grid-template-columns:1fr}.zmcd-detail-stage{height:240px}}

/* v1.4.1.57: remove artificial editor guide lines; retain physical panel gaps drawn by canvas. */
.zmcd-editor .zmcd-crop-grid,.zmcd-editor .zmcd-crop-corners{display:none!important;background:none!important;}

/* Premium canvas construction presentation */
.zmcd-detail-section{max-width:1280px;padding:34px 0 24px}.zmcd-detail-heading h3{font-size:clamp(24px,2.7vw,34px);font-weight:800;letter-spacing:-.035em;color:#19212c}.zmcd-detail-heading p{font-size:15px;margin-bottom:23px}.zmcd-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.zmcd-detail-card{padding:0 0 22px;border:1px solid #e8e9eb;border-radius:18px;box-shadow:0 12px 35px rgba(19,28,43,.07);transition:transform .2s,box-shadow .2s}.zmcd-detail-card:hover{transform:translateY(-3px);box-shadow:0 17px 40px rgba(19,28,43,.12)}.zmcd-detail-stage{height:225px;border-radius:16px 16px 0 0;background:radial-gradient(ellipse at 55% 35%,#faf8f4,#dcd6cd);perspective:850px}.zmcd-detail-front{background:linear-gradient(165deg,#e8e3dd,#f6f3ef 68%,#d6cec5)}.zmcd-detail-front:after{content:"";position:absolute;left:15%;right:15%;bottom:9%;height:12px;border-radius:50%;background:#0002;filter:blur(10px)}.zmcd-detail-art{max-height:82%;z-index:1;filter:drop-shadow(5px 9px 5px #0004)}.zmcd-detail-art img{box-shadow:2px 4px 4px #0004}.zmcd-detail-side-object{width:61%;height:72%;transform:rotateY(-32deg) rotateX(7deg);filter:drop-shadow(14px 14px 9px #0005)}.zmcd-detail-side-face{border:0;box-shadow:inset -8px 0 10px #0002;background-size:cover}.zmcd-detail-side-edge{width:24px;filter:brightness(.78);border-right:1px solid #0003}.zmcd-detail-wood{width:72%;height:70%;border:17px solid #c69a66;background:#eee8df;box-shadow:inset 0 0 0 4px #a47748,9px 14px 12px #0003}.zmcd-detail-wood:before{content:"";position:absolute;inset:-12px;border:1px solid #e4bf8d;pointer-events:none}.zmcd-detail-hanger{background:linear-gradient(#d5d5d5,#777);box-shadow:0 2px 3px #0004}.zmcd-detail-texture-art{height:100%;width:100%;background-position:center;background-size:cover;transform:scale(1.4);filter:contrast(1.06) saturate(1.06)}.zmcd-detail-texture:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background:repeating-linear-gradient(0deg,transparent 0px,#fff8 1px,transparent 2px,transparent 4px),repeating-linear-gradient(90deg,#0002 0px,transparent 1px,transparent 4px)}.zmcd-detail-card h4{display:flex;align-items:center;gap:10px;margin:16px 15px 6px;font-size:16px;font-weight:750}.zmcd-detail-card p{margin:0 15px;color:#5e6875;font-size:13px;line-height:1.6}.zmcd-detail-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#202833;color:white;font-size:15px}.zmcd-detail-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:18px;padding:22px 14px;background:#f7f8fa;border:1px solid #eaedf0;border-radius:17px}.zmcd-detail-benefits>div{display:flex;flex-direction:column;gap:5px;padding:0 22px;border-right:1px solid #d9dde3}.zmcd-detail-benefits>div:last-child{border:0}.zmcd-detail-benefits strong{font-size:14px;color:#222b36}.zmcd-detail-benefits span{font-size:12px;color:#67717f}@media(max-width:980px){.zmcd-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.zmcd-detail-grid{grid-template-columns:1fr}.zmcd-detail-stage{height:245px}.zmcd-detail-benefits{grid-template-columns:1fr;gap:15px}.zmcd-detail-benefits>div{border-right:0;border-bottom:1px solid #d9dde3;padding:0 8px 13px}.zmcd-detail-benefits>div:last-child{border:0;padding-bottom:0}}

/* Premium canvas material details: prevent black slabs and preserve readable texture. */
.zmcd-detail-side{background:radial-gradient(ellipse at 50% 38%,#fffdf9 0%,#e4ded5 80%)}
.zmcd-detail-side-object{width:55%;height:65%;transform:rotateY(-29deg) rotateX(3deg);box-shadow:13px 18px 24px #0002}
.zmcd-detail-side-face{background-color:#d8d1c8;background-repeat:no-repeat;border:1px solid #fff8}
.zmcd-detail-side-edge{width:18px;background-color:#c4b8a8;filter:brightness(.9);box-shadow:inset -4px 0 5px #0003}
.zmcd-detail-texture{background:#e6dfd2}
.zmcd-detail-texture-art{filter:brightness(1.65) contrast(.72) saturate(.65);opacity:.85;transform:scale(1.15)}
.zmcd-detail-texture:after{opacity:.42;background:repeating-linear-gradient(0deg,transparent 0 2px,#fff9 3px,transparent 4px),repeating-linear-gradient(90deg,#6e635527 0 1px,transparent 2px 4px)}
.zmcd-detail-wood{background:repeating-linear-gradient(90deg,#d5c2a5 0 3px,#e9d8bc 4px 7px);border-color:#b78a56}

/* 1.4.1.60: canvas detail refinement */
.zmcd-detail-side-object{max-height:78%;max-width:72%;transform:rotateY(-33deg) rotateX(4deg);box-shadow:none;filter:drop-shadow(12px 15px 10px rgba(0,0,0,.24))}
.zmcd-detail-side-face{background-repeat:no-repeat;border:0;box-shadow:inset -6px 0 9px rgba(0,0,0,.12)}
.zmcd-detail-side-edge{width:22px;background-repeat:no-repeat;filter:brightness(.83);border-right:1px solid rgba(0,0,0,.16)}
.zmcd-detail-texture-art{filter:contrast(1.12) saturate(1.05)}
.zmcd-detail-texture:after{opacity:.13}

/* 1.4.1.61: deeper side-angle and natural material detail */
.zmcd-detail-side-object{transform:rotateY(-49deg) rotateX(5deg)!important;transform-style:preserve-3d!important;filter:drop-shadow(13px 16px 10px rgba(0,0,0,.27))!important}
.zmcd-detail-side-edge{width:32px!important;filter:brightness(.78)!important;box-shadow:inset -8px 0 10px #0003!important}
.zmcd-detail-side-face{box-shadow:inset -5px 0 8px #0002!important}
.zmcd-detail-texture-art{opacity:1!important;filter:contrast(1.1) saturate(1.02)!important;transform:scale(1.75)!important}
.zmcd-detail-texture:after{opacity:.16!important;background:repeating-linear-gradient(0deg,transparent 0 2px,#fff9 3px,transparent 4px),repeating-linear-gradient(90deg,#56493840 0 1px,transparent 2px 4px)!important}
.zmcd-detail-wood{border-width:18px!important;background:linear-gradient(135deg,#d7c3a6,#f1e5d3)!important;box-shadow:inset 0 0 0 3px #9e7146,9px 14px 16px #0003!important}

/* 1.4.1.62 — more tangible canvas product presentation */
.zmcd-detail-side-object{transform:rotateY(-34deg) rotateX(3deg)!important;transform-style:preserve-3d!important;filter:drop-shadow(17px 18px 13px rgba(26,21,17,.28))!important}
.zmcd-detail-side-face{border:0!important;box-shadow:inset -11px 0 15px rgba(0,0,0,.16),inset 1px 1px 1px #fff7!important}
.zmcd-detail-side-edge{width:26px!important;filter:brightness(.86)!important;box-shadow:inset -7px 0 8px #0003,3px 2px 2px #0002!important}
.zmcd-detail-wood{background:linear-gradient(115deg,#e9dfcd,#f5efe4)!important;border:17px ridge #c59761!important;box-shadow:inset 0 0 0 2px #b18b62,10px 15px 18px #0003!important}
.zmcd-detail-texture-art{transform:scale(1.22)!important;filter:contrast(1.04) saturate(.98)!important}
.zmcd-detail-texture:after{opacity:.21!important;background:repeating-linear-gradient(0deg,transparent 0px,rgba(255,255,255,.35) 1px,transparent 2px,transparent 4px),repeating-linear-gradient(90deg,rgba(54,45,34,.18) 0px,transparent 1px,transparent 4px)!important}

/* 1.4.1.63: material-led canvas product details */
.zmcd-detail-grid{gap:16px}.zmcd-detail-card{background:#fff;border:1px solid #e8e4df;box-shadow:0 16px 34px rgba(48,37,25,.09)}
.zmcd-detail-stage{height:280px;background:linear-gradient(145deg,#e7e1d8 0%,#f4eee5 60%,#ddd4c9 100%);perspective:1000px}
.zmcd-detail-front{background:linear-gradient(155deg,#e8dfd3 0%,#f6f0e8 70%)}
.zmcd-detail-art{max-height:82%;filter:drop-shadow(7px 12px 7px rgba(40,29,18,.36))}
.zmcd-detail-art img{border-right:3px solid #3b3028;box-shadow:3px 5px 7px #0005;filter:contrast(1.05) saturate(1.04)}
.zmcd-detail-side-object{width:63%;height:74%;transform:rotateY(-37deg) rotateX(3deg);filter:drop-shadow(17px 16px 12px #0005)}
.zmcd-detail-side-face{box-shadow:inset -9px 0 12px #0002,0 0 0 1px #0002}
.zmcd-detail-side-edge{width:33px;filter:brightness(.68);border-right:2px solid #6a5746;box-shadow:inset -7px 0 10px #0005}
.zmcd-detail-back{background:linear-gradient(145deg,#e5ddd3,#f5eee6)}
.zmcd-detail-wood{width:70%;height:75%;border:18px solid #d3a773;background:#d9d0bd;transform:rotateY(-15deg) rotateX(5deg);box-shadow:inset 0 0 0 3px #b98b55,inset 0 0 22px #0002,11px 15px 16px #0004}
.zmcd-detail-wood:after{content:"";position:absolute;inset:-18px;border:7px solid #f6f1e8;box-shadow:inset 0 0 0 1px #aaa095;pointer-events:none}
.zmcd-detail-cross{background:linear-gradient(90deg,#9f7549,#e6bd85 35%,#bd905c 80%,#8d6239);box-shadow:2px 0 3px #0002}
.zmcd-detail-texture-art{transform:scale(1.18);filter:contrast(1.18) saturate(1.05)}
.zmcd-detail-texture:after{opacity:.38;background:repeating-linear-gradient(0deg,transparent 0px,#fff7 1px,#0002 2px,transparent 3px,transparent 5px),repeating-linear-gradient(90deg,#0003 0px,#fff4 1px,transparent 2px,transparent 5px);mix-blend-mode:multiply}
@media(max-width:600px){.zmcd-detail-stage{height:270px}}

/* Precizan pregled dimenzija kompleta na završnom koraku */
#zmcd-dim .zmcd-order-dimensions{padding:16px 18px;background:#f7f7f5;border:1px solid #e5e3df;border-radius:12px;margin:12px 0 18px;line-height:1.55}
#zmcd-dim .zmcd-order-dimensions p{margin:0 0 8px}
#zmcd-dim .zmcd-order-note{font-size:13px;color:#5b5b5b}
#zmcd-dim details{margin:12px 0}#zmcd-dim summary{cursor:pointer;font-weight:650}#zmcd-dim details ul{margin:10px 0;padding-left:20px}#zmcd-dim details li{margin:4px 0}

/* 1.4.1.67: readable dimension selection cards; schematic panels, no fabricated photos */
body #zmcd-sizes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
body #zmcd-sizes button.zmcd-premium-size{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;width:100%!important;height:auto!important;min-height:0!important;padding:20px!important;border:1px solid #dedbd7!important;border-radius:17px!important;background:#fff!important;color:#202124!important;text-align:left!important;box-shadow:0 3px 15px rgba(0,0,0,.035)!important;cursor:pointer!important;white-space:normal!important}
body #zmcd-sizes button.zmcd-premium-size.active{border:2px solid #b7792b!important;padding:19px!important;background:#fffcf7!important;box-shadow:0 5px 22px rgba(120,75,20,.10)!important}
#zmcd-sizes .zmcd-ps-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;width:100%!important}
#zmcd-sizes .zmcd-ps-title{font-size:24px!important;font-weight:750!important;line-height:1.2!important}
#zmcd-sizes .zmcd-ps-price{font-size:20px!important;font-weight:800!important;white-space:nowrap!important;margin:0!important}
#zmcd-sizes .zmcd-ps-subtitle{font-size:13px!important;color:#666!important;margin:7px 0 12px!important}
#zmcd-sizes .zmcd-ps-visual{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:135px!important;background:linear-gradient(140deg,#f6f3ee,#eae5dd)!important;border-radius:12px!important;padding:14px!important}
#zmcd-sizes .zmcd-ps-panels{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;height:100%!important;width:100%!important}
#zmcd-sizes .zmcd-ps-panel{display:block!important;flex:0 1 52px!important;max-width:52px!important;min-width:8px!important;background:linear-gradient(150deg,#a2b8bd,#4c6f78 58%,#273e47)!important;border:2px solid #fff!important;box-shadow:2px 4px 6px #0002!important}
#zmcd-sizes .zmcd-ps-specs-heading{font-size:13px!important;font-weight:700!important;margin:14px 0 8px!important}
#zmcd-sizes .zmcd-ps-specs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
#zmcd-sizes .zmcd-ps-spec{display:flex!important;flex-direction:column!important;gap:3px!important;padding:9px!important;border-radius:8px!important;background:#f7f7f6!important;min-width:0!important}
#zmcd-sizes .zmcd-ps-spec small,#zmcd-sizes .zmcd-ps-stats small{display:block!important;color:#697078!important;font-size:11px!important;line-height:1.35!important}
#zmcd-sizes .zmcd-ps-spec b{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
#zmcd-sizes .zmcd-ps-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:12px!important;width:100%!important}
#zmcd-sizes .zmcd-ps-stats>span{padding:11px!important;background:#f5f3f0!important;border-radius:9px!important}
#zmcd-sizes .zmcd-ps-stats b{display:block!important;font-size:18px!important;margin:3px 0!important}
#zmcd-sizes .zmcd-ps-footer{display:flex!important;justify-content:space-between!important;gap:8px!important;align-items:center!important;margin-top:auto!important;padding-top:14px!important;font-size:12px!important;color:#555!important;width:100%!important}
#zmcd-sizes .zmcd-ps-footer b{font-size:15px!important;color:#242424!important}
@media(max-width:700px){body #zmcd-sizes{grid-template-columns:1fr!important}body #zmcd-sizes button.zmcd-premium-size{padding:15px!important}body #zmcd-sizes button.zmcd-premium-size.active{padding:14px!important}}

/* v1.4.1.69: preserve actual physical aspect ratios in every size template. */
#zmcd-sizes .zmcd-ps-visual{height:190px!important;min-height:190px!important;overflow:hidden!important;padding:16px 8px!important}
#zmcd-sizes .zmcd-ps-panels{width:100%!important;height:100%!important;gap:0!important;column-gap:clamp(3px,1%,7px)!important;align-items:center!important;justify-content:center!important}
#zmcd-sizes .zmcd-ps-panel{max-width:none!important;min-width:0!important;max-height:100%!important;flex-shrink:0!important;box-sizing:border-box!important}
@media(max-width:540px){#zmcd-sizes .zmcd-ps-visual{height:190px!important}}

#zmcd-sizes .zmcd-ps-svg{width:100%!important;height:100%!important;max-width:100%!important;display:block!important;overflow:visible!important}
#zmcd-sizes .zmcd-ps-svg rect{fill:#557c88;stroke:#fff;stroke-width:.8;vector-effect:non-scaling-stroke}

/* Decorative frame selector: responsive and scoped to the configurator. */
.zmcd-decorative-frames{margin:18px 0;padding:18px;background:#fff;border:1px solid #e6e1dc;border-radius:14px}
.zmcd-decorative-frames[hidden]{display:none!important}
.zmcd-decorative-frames h3{margin:0 0 7px}.zmcd-decorative-frames p{color:#777;margin:0 0 14px}
.zmcd-decor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.zmcd-decor-grid button{background:#fff;border:1px solid #ddd;border-radius:12px;padding:12px 8px;cursor:pointer;color:#222}
.zmcd-decor-grid button.active{border:2px solid #74452c;background:#fbf6f1}
.zmcd-decor-grid strong{display:block;font-size:13px;margin-top:8px}
.zmcd-decor-swatch{display:flex;align-items:center;justify-content:center;height:85px;background:#f3f1ee;border-radius:7px}
.zmcd-decor-swatch i{width:55px;height:47px;background:#d6e0e2;border:9px ridge var(--decor-color);box-shadow:0 2px 5px #0002}
.zmcd-decor-grid button[data-decor-frame=none] i{border:1px solid #bbb}
#zmcd-decor-summary:empty{display:none}
@media(max-width:600px){.zmcd-decor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Originalne ukrasne lajsne, samo u posljednjem koraku narudžbe */
#zmcd-summary .zmcd-decorative-frames{margin:22px 0 18px;padding:18px;border:1px solid #d6b49f;border-radius:12px;background:#fff}
#zmcd-summary .zmcd-decor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#zmcd-summary .zmcd-decor-grid button{position:relative;min-width:0;border:1px solid #dedbd7;border-radius:9px;padding:7px 7px 12px;text-align:left;background:white;display:flex;flex-direction:column;align-items:stretch;gap:7px}
#zmcd-summary .zmcd-decor-grid button.active{border:2px solid #663a25;background:#fcf7f2}
#zmcd-summary .zmcd-decor-swatch{height:auto;aspect-ratio:1/1;display:block;overflow:hidden;border:1px solid #ddd;background:#faf9f7}
#zmcd-summary .zmcd-decor-swatch img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}
#zmcd-summary .zmcd-decor-grid strong{font-size:13px;line-height:1.3;margin:0 0 0 25px}
#zmcd-summary .zmcd-decor-radio{position:absolute;bottom:13px;left:9px;width:17px;height:17px;border:1.5px solid #6e4b3b;border-radius:50%;background:white}
#zmcd-summary .zmcd-decor-grid button.active .zmcd-decor-radio:after{content:'';position:absolute;inset:3px;border-radius:50%;background:#6e4b3b}
#zmcd-summary .zmcd-no-frame{font-size:12px;color:#777;display:flex;align-items:center;justify-content:center;text-align:center;height:100%;padding:10px}
#zmcd-summary #zmcd-decor-total{font-weight:700;color:#5b321d;margin:14px 0 0}
@media(max-width:767px){#zmcd-summary .zmcd-decor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#zmcd-summary .zmcd-decorative-frames{padding:12px}#zmcd-summary .zmcd-decor-grid strong{font-size:12px}}
@media(max-width:400px){#zmcd-summary .zmcd-decor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Six frame choices: three columns desktop and two on phones. */
#zmcd-summary .zmcd-decor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#zmcd-summary .zmcd-decor-grid button{padding:8px 8px 14px}
#zmcd-summary .zmcd-decor-swatch{aspect-ratio:1.16/1}
@media(max-width:767px){#zmcd-summary .zmcd-decor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.4.1.85 — desktop persistent wizard navigation.
   Reuse the existing buttons and their JS handlers; leave phone styling untouched. */
@media (min-width:768px){
 body:has(.zmcd){padding-bottom:92px!important}
 body .zmcd .zmcd-mobilebar{
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;
  z-index:99990!important;box-sizing:border-box!important;
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:center!important;gap:14px!important;
  width:100%!important;max-width:none!important;margin:0!important;
  padding:12px 24px calc(12px + env(safe-area-inset-bottom))!important;
  background:rgba(255,253,251,.98)!important;border-top:1px solid #e5ded8!important;
  box-shadow:0 -5px 24px rgba(0,0,0,.12)!important;
 }
 body .zmcd .zmcd-mobilebar>div{display:none!important}
 body .zmcd .zmcd-mobilebar #zmcd-bottom-back,
 body .zmcd .zmcd-mobilebar #zmcd-next,
 body .zmcd .zmcd-mobilebar #zmcd-mobile-cart{
  display:block!important;flex:0 1 260px!important;width:min(38vw,260px)!important;
  min-width:155px!important;min-height:52px!important;margin:0!important;
  padding:10px 18px!important;font-size:16px!important;font-weight:800!important;
  border-radius:12px!important;cursor:pointer!important;
 }
 body .zmcd .zmcd-mobilebar #zmcd-bottom-back{order:1!important;background:#fff!important;color:#5a3019!important;border:2px solid #785039!important}
 body .zmcd .zmcd-mobilebar #zmcd-next{order:2!important;background:#5a3019!important;color:#fff!important;border:2px solid #5a3019!important}
 body .zmcd .zmcd-mobilebar #zmcd-mobile-cart{order:2!important;background:#5a3019!important;color:#fff!important;border:2px solid #5a3019!important;display:none!important}
 body .zmcd[data-mobile-step="7"] .zmcd-mobilebar #zmcd-next{display:none!important}
 body .zmcd[data-mobile-step="7"] .zmcd-mobilebar #zmcd-mobile-cart{display:block!important}
 body .zmcd .zmcd-mobilebar button:disabled{opacity:.45!important;cursor:not-allowed!important}
}

/* v1.4.1.87 upload-first model previews */
.zmcd-upload-first{margin:18px 0 22px;padding:18px;border:1px solid #d8c9b8;border-radius:16px;background:#faf7f2;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.zmcd-upload-first>strong{width:100%;font-size:19px}.zmcd-upload-first p{width:100%;margin:0;color:#625a51}.zmcd-upload-first-button{border:0;border-radius:10px;background:#60371f;color:white;padding:13px 22px;font-weight:700;cursor:pointer}.zmcd-upload-first-status{font-size:13px;color:#665e57;overflow-wrap:anywhere}.zmcd-upload-first-ready{border-color:#997447}.zmcd-first-model-art{display:block;width:100%;height:100%;object-fit:cover}

/* v1.4.1.95: Ambijent je dio zavrsnog pregleda, a ne poseban korak. */
.zmcd-summary #zmcd-room{display:block!important;width:100%!important;grid-column:auto!important;grid-row:auto!important;margin:0 0 22px!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important}
.zmcd-summary #zmcd-room header{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;max-width:none!important;margin:0 0 10px!important;padding:0!important;background:transparent!important;box-shadow:none!important}
.zmcd-summary #zmcd-room header h3{display:block!important;font-size:21px!important;margin:0 0 6px!important}
.zmcd-summary #zmcd-room .zmcd-room-scene{width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1.5!important;margin:0!important;border-radius:14px!important}
@media(max-width:767px){.zmcd-summary #zmcd-room .zmcd-room-scene{aspect-ratio:4/3!important}.zmcd-summary #zmcd-room header{display:block!important}}
