.lgm3d{--red:#c61920;--ink:#172027;--line:#d9dee2;--soft:#f4f6f7;font:15px/1.45 Arial,sans-serif;color:var(--ink);max-width:1500px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 16px 48px #16202718}.lgm3d *{box-sizing:border-box}.lgm3d-head{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;background:var(--ink);color:#fff}.lgm3d-head span{font-size:24px;letter-spacing:.08em;font-weight:700;color:#d4d9dc}.lgm3d h2,.lgm3d h3{margin:3px 0 0}.lgm3d h2{font-size:24px}.lgm3d h3{font-size:16px;margin-bottom:14px}.lgm3d button{font:inherit;cursor:pointer}.lgm3d-btn,.lgm3d-viewtools button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 14px}.lgm3d-btn.primary{background:var(--red);border:0;color:#fff;font-weight:700}.lgm3d-system{display:flex;gap:10px;padding:14px 20px;border-bottom:1px solid var(--line);overflow:auto}.lgm3d-system button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 17px;white-space:nowrap}.lgm3d-system button.active{background:var(--red);border-color:var(--red);color:#fff}.lgm3d-layout{display:grid;grid-template-columns:275px minmax(380px,1fr) 300px;min-height:650px}.lgm3d-panel{padding:20px;border-right:1px solid var(--line);overflow:auto}.lgm3d-summary{border-right:0;border-left:1px solid var(--line)}.lgm3d .hint{color:#69747b;font-size:13px;margin-top:-7px}.lgm3d-catalog{display:grid;gap:9px}.lgm3d-item{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px}.lgm3d-item:hover{border-color:var(--red);box-shadow:0 4px 16px #c6192015}.lgm3d-item .icon{display:grid;place-items:center;width:42px;height:42px;background:var(--soft);border-radius:7px;font-weight:bold;color:var(--red)}.lgm3d-item b,.lgm3d-item small{display:block}.lgm3d-item small{color:#68757c}.lgm3d-item .plus{font-size:22px;color:var(--red)}.lgm3d-view{position:relative;background:radial-gradient(circle at 50% 42%,#fff 0,#edf1f2 72%);min-height:600px}.lgm3d-view canvas{width:100%;height:100%;display:block;touch-action:none}.lgm3d-viewtools{position:absolute;top:14px;left:14px;display:flex;gap:7px;flex-wrap:wrap}.lgm3d-viewtools button{padding:7px 10px;font-size:13px}.lgm3d-help{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#172027d9;color:#fff;padding:7px 12px;border-radius:999px;font-size:12px;white-space:nowrap}.lgm3d label{display:block;font-size:12px;color:#59666d;margin:0 0 11px}.lgm3d input{display:block;width:100%;margin-top:4px;border:1px solid var(--line);border-radius:7px;padding:9px;font:inherit}.lgm3d-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 25px}.lgm3d-stat{background:var(--soft);padding:11px;border-radius:8px}.lgm3d-stat strong{display:block;font-size:18px}.lgm3d-stat span{font-size:11px;color:#66737a}.lgm3d-bom table{width:100%;border-collapse:collapse;font-size:12px}.lgm3d-bom th,.lgm3d-bom td{padding:8px 4px;border-bottom:1px solid var(--line);text-align:left}.lgm3d-bom th:last-child,.lgm3d-bom td:last-child{text-align:right}.lgm3d-empty{color:#778187;padding:18px 0}.lgm3d-toast{position:fixed;right:18px;bottom:18px;z-index:9999;background:var(--ink);color:#fff;border-radius:8px;padding:11px 16px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.lgm3d-toast.show{opacity:1;transform:none}@media(max-width:1050px){.lgm3d-layout{grid-template-columns:235px 1fr}.lgm3d-summary{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}.lgm3d-bom{max-width:650px}.lgm3d-stats{max-width:420px}}@media(max-width:700px){.lgm3d{border-radius:0}.lgm3d-head{align-items:flex-start;padding:16px;gap:12px}.lgm3d-head span,.lgm3d h2{font-size:18px}.lgm3d-head .primary{padding:9px;font-size:12px}.lgm3d-layout{display:flex;flex-direction:column}.lgm3d-panel{border:0;border-bottom:1px solid var(--line)}.lgm3d-catalog{grid-template-columns:1fr 1fr}.lgm3d-item{grid-template-columns:34px 1fr;padding:7px}.lgm3d-item .icon{width:34px;height:34px}.lgm3d-item .plus{display:none}.lgm3d-view{height:430px;min-height:430px;order:-1}.lgm3d-summary{border-top:1px solid var(--line)}.lgm3d-help{font-size:10px}.lgm3d-viewtools{right:10px;left:10px}}@media(max-width:420px){.lgm3d-catalog{grid-template-columns:1fr}.lgm3d-system{padding:11px}.lgm3d-head{flex-wrap:wrap}.lgm3d-head .primary{width:100%}}

body.legomont-web3d-page h1.entry-title,body.legomont-web3d-page .page-title,body.legomont-web3d-page .wp-block-post-title{display:none!important}
body.legomont-web3d-page #main-content>.container{padding-top:0!important}
body.legomont-web3d-page #left-area,body.legomont-web3d-page article.page,body.legomont-web3d-page .entry-content{padding-top:0!important;margin-top:0!important}
body.legomont-web3d-page #main-content #left-area{width:100%!important;float:none!important;padding-right:0!important}
body.legomont-web3d-page #main-content #sidebar{display:none!important}
body.legomont-web3d-page #main-content>.container:before{display:none!important}
body.legomont-web3d-page .et-l--header .et_pb_section.et_pb_section--with-menu{padding-top:0!important;padding-bottom:0!important;background:#000!important}
.lgm3d .lgm3d-head h2{color:#fff!important}

/* Korisničke upute uz odabir sustava. */
.lgm3d-systembar{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:18px;padding:14px 20px;border-bottom:1px solid var(--line);background:#f4f6f7}
.lgm3d-system-choice{display:grid;justify-items:center;gap:6px;width:460px;max-width:100%;min-width:0}
.lgm3d-systembar .lgm3d-system{justify-content:center;width:100%;padding:0;border:0;overflow:auto}
.lgm3d-system-caption{color:#59666d;font-size:13px;line-height:1.3;text-align:center}
.lgm3d-photo-links{display:grid;grid-template-columns:repeat(2,max-content);justify-content:center;gap:8px;margin-top:2px}
.lgm3d a.lgm3d-photo-link{display:grid;place-items:center;gap:1px;min-width:0;min-height:38px;padding:5px 9px;border:1px solid var(--red);border-radius:8px;background:#fff;color:#111!important;font-size:11px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none!important;transition:background .18s,box-shadow .18s}
.lgm3d a.lgm3d-photo-link:visited{color:#111!important}
.lgm3d a.lgm3d-photo-link span{display:block;color:#111!important;font-size:9px;letter-spacing:.05em}
.lgm3d a.lgm3d-photo-link:hover,.lgm3d a.lgm3d-photo-link:focus{background:#f7f8f8;color:#111!important;box-shadow:0 4px 13px #1720271c;outline:none}
.lgm3d a.lgm3d-photo-link:hover span,.lgm3d a.lgm3d-photo-link:focus span{color:#111!important}
.lgm3d-user-messages{display:grid;justify-items:start;gap:8px;min-width:0}
.lgm3d-systembar .lgm3d-help{position:static;left:auto;bottom:auto;transform:none;width:max-content;max-width:100%;padding:7px 13px;font-size:12px;white-space:normal;text-align:center}
.lgm3d-cta{width:max-content;max-width:100%;padding:10px 16px;border:1px solid #ccd3d7;border-radius:12px;background:#fff;color:var(--ink);font-size:15px;line-height:1.35;box-shadow:0 3px 12px #1620270a}
.lgm3d-cta a{color:var(--red);font-weight:700;text-decoration:none}
.lgm3d-cta a:hover,.lgm3d-cta a:focus{text-decoration:underline}
@media(max-width:1050px){.lgm3d-systembar{grid-template-columns:1fr}.lgm3d-system-choice{width:100%}.lgm3d-user-messages{grid-template-columns:max-content minmax(0,1fr);align-items:center}.lgm3d-cta{width:100%}}
@media(max-width:700px){.lgm3d-systembar{padding:11px}.lgm3d-systembar .lgm3d-system{justify-content:flex-start}.lgm3d-system-caption{text-align:center}.lgm3d-photo-links{grid-template-columns:max-content;justify-content:center}.lgm3d-user-messages{grid-template-columns:1fr;justify-items:stretch}.lgm3d-systembar .lgm3d-help,.lgm3d-cta{width:100%}}

/* Kompaktno zaglavlje konfiguratora bez ponavljanja naziva tvrtke. */
.lgm3d .lgm3d-head{min-height:52px;padding:10px 20px 10px 50px;flex-wrap:nowrap}
.lgm3d .lgm3d-head h2{margin:0!important;color:#fff!important;font-size:22px;line-height:1.2}
.lgm3d .lgm3d-head .primary{white-space:nowrap}
@media(max-width:700px){.lgm3d .lgm3d-head{align-items:center;gap:8px;padding:9px 12px}.lgm3d .lgm3d-head h2{font-size:16px}.lgm3d .lgm3d-head .primary{width:auto;padding:8px 10px;font-size:11px}}
@media(max-width:420px){.lgm3d .lgm3d-head{flex-wrap:nowrap}.lgm3d .lgm3d-head .primary{width:auto}}
