/* DIGIKROM BLAT 3D — fully scoped; no artificial max-width on content. */
.dkbv,.dkbv *{box-sizing:border-box}
.dkbv{--dkbv-ink:#17232c;--dkbv-muted:#70808a;--dkbv-line:#e5e9ed;--dkbv-accent:#d16c31;--dkbv-stage-bg:#f4f5f7;display:grid;grid-template-columns:minmax(0,1.42fr) minmax(340px,.8fr);width:100%;height:auto;min-height:var(--dkbv-view-height);align-items:start;gap:14px;color:var(--dkbv-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.45}
.dkbv button,.dkbv input{font-family:inherit}
.dkbv button{cursor:pointer}
.dkbv button:focus-visible,.dkbv input:focus-visible{outline:2px solid var(--dkbv-accent);outline-offset:2px}
.dkbv h2,.dkbv h3,.dkbv h4,.dkbv p{margin:0;padding:0;line-height:1.35;color:inherit}
.dkbv h2{font-size:clamp(21px,2vw,29px);font-weight:760;letter-spacing:-.035em}
.dkbv h3{font-size:22px;font-weight:760;letter-spacing:-.025em}
.dkbv h4{font-size:16px;font-weight:730}
.dkbv .dkbv-eyebrow{display:block;color:var(--dkbv-accent);font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:8px}
.dkbv-stage-panel{position:sticky;top:var(--dkbv-sticky-top,16px);align-self:start;display:flex;flex-direction:column;min-width:0;height:var(--dkbv-view-height);max-height:calc(100dvh - var(--dkbv-sticky-top,16px) - 12px);min-height:0;border:1px solid var(--dkbv-line);background:#fff;border-radius:17px;overflow:hidden}
.dkbv-stage-top{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:25px 28px 20px}
.dkbv-stage-top p{color:var(--dkbv-muted);font-size:13px;margin-top:6px}
.dkbv-chip{font-weight:800;font-size:12px;letter-spacing:.03em;color:#354751;padding:9px 13px;background:#f0f3f5;border-radius:30px;white-space:nowrap}
.dkbv-stage{position:relative;min-height:420px;flex:1;background:#f4f5f7;overflow:hidden;touch-action:pan-y}
.dkbv-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.dkbv-loading{position:absolute;z-index:2;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;background:rgba(244,245,247,.75);backdrop-filter:blur(2px);font-size:13px;color:#61747f}
.dkbv [hidden]{display:none!important}
.dkbv-spinner{border:2px solid #cbd3d8;border-top-color:var(--dkbv-accent);border-radius:50%;width:20px;height:20px;animation:dkbv-spin .75s linear infinite}
@keyframes dkbv-spin{to{transform:rotate(360deg)}}
.dkbv-stage-error{position:absolute;z-index:3;left:7%;right:7%;top:50%;transform:translateY(-50%);border:1px solid #e8c2b0;background:#fff6f1;border-radius:10px;color:#873b20;padding:16px 18px;box-shadow:0 8px 24px #2221;font-size:14px}
.dkbv-controls{position:absolute;z-index:1;bottom:17px;right:17px;display:flex;gap:7px}
.dkbv-controls button{appearance:none;background:rgba(255,255,255,.93);color:#2d4351;border:1px solid #e2e6e9;border-radius:10px;padding:10px 13px;min-width:40px;min-height:39px;box-shadow:0 3px 9px #0001;font-size:14px;font-weight:750;line-height:1}
.dkbv-controls button:hover{background:#fff;border-color:#c9d2d7}
.dkbv-controls .dkbv-expand{font-size:21px;font-weight:400}
.dkbv-stage-footer{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:16px 26px;min-height:76px}
.dkbv-stage-footer>div{min-width:120px;display:flex;flex-direction:column;gap:4px}
.dkbv-small-label{font-size:9px;letter-spacing:.13em;color:#91a0a9;font-weight:800}
.dkbv-stage-footer strong{font-size:12px;line-height:1.35;font-weight:750}
.dkbv-stage-hint{margin-left:auto;min-width:165px;color:#92a1aa;font-size:11px;text-align:right}
.dkbv-sidebar{min-width:0;align-self:start;display:flex;flex-direction:column;overflow:visible;height:auto;min-height:var(--dkbv-view-height);background:#fff;border:1px solid var(--dkbv-line);border-radius:17px}
.dkbv-sidebar-head{padding:25px 24px 22px;border-bottom:1px solid var(--dkbv-line)}
.dkbv-sidebar-head p{font-size:12px;margin-top:8px;color:var(--dkbv-muted)}
.dkbv-section{padding:22px 24px 24px}
.dkbv-section+.dkbv-section{border-top:1px solid var(--dkbv-line)}
.dkbv-section-title{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.dkbv-section-title p{color:var(--dkbv-muted);font-size:11px;margin-top:3px}
.dkbv-section-num{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f8ede5;color:var(--dkbv-accent);font-size:12px;font-weight:820;flex:0 0 auto}
.dkbv-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.dkbv-profile{position:relative;background:#fff;border:1px solid var(--dkbv-line);border-radius:12px;padding:8px 12px 12px;text-align:left;min-width:0;transition:border-color .17s,background .17s,box-shadow .17s;color:var(--dkbv-ink)}
.dkbv-profile:hover{border-color:#d5ab90}
.dkbv-profile.is-active{background:#fffaf7;border-color:var(--dkbv-accent);box-shadow:inset 0 0 0 1px var(--dkbv-accent)}
.dkbv-profile-graphic{display:flex;align-items:center;justify-content:center;color:#697a82;height:55px}
.dkbv-profile-graphic svg{width:112px;height:62px;max-width:100%;transform:scale(.89)}
.dkbv-profile.is-active .dkbv-profile-graphic{color:var(--dkbv-accent)}
.dkbv-profile-copy{display:flex;flex-direction:column;gap:2px}
.dkbv-profile-copy strong{font-size:13px;font-weight:790}
.dkbv-profile-copy small{font-size:11px;color:var(--dkbv-muted)}
.dkbv-profile-check,.dkbv-decor-check{display:none;position:absolute;right:10px;bottom:12px;color:var(--dkbv-accent);font-weight:850;font-size:13px}
.dkbv-profile.is-active .dkbv-profile-check,.dkbv-decor.is-active .dkbv-decor-check{display:block}
.dkbv-section-decor{flex:1;min-height:auto;display:flex;flex-direction:column;padding-bottom:22px;overflow:visible}
.dkbv-search-wrap{display:flex;align-items:center;gap:8px;background:#f7f9fa;border:1px solid #e4e9ed;border-radius:9px;padding:0 12px;margin-bottom:14px}
.dkbv-search-icon{font-size:23px;color:#81909b;line-height:1}
.dkbv-search{appearance:none;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;width:100%;min-width:0;height:41px;padding:0!important;color:#293a43!important;font-size:13px!important}
.dkbv-search::placeholder{color:#96a2aa}
.dkbv-groups{display:flex;gap:6px;overflow:auto;scrollbar-width:thin;padding-bottom:12px;margin-bottom:2px}
.dkbv-group{border:1px solid #e3e7e9;background:#fff;border-radius:20px;white-space:nowrap;font-size:11px;font-weight:650;padding:6px 11px;color:#6b7b85;line-height:1.5}
.dkbv-group.is-active{background:#24343f;border-color:#24343f;color:#fff}
.dkbv-decors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:visible;align-content:start;align-items:stretch;grid-auto-rows:max-content;flex:none;min-height:0;max-height:none;padding:2px 3px 8px 1px}
.dkbv-decor{position:relative;min-width:0;display:flex;flex-direction:column;text-align:left;border:1px solid #e7e9ea;background:white;border-radius:9px;padding:5px 5px 9px;color:#24333f;transition:border-color .16s,box-shadow .16s}
.dkbv-decor:hover{border-color:#d5ab90}
.dkbv-decor.is-active{border-color:var(--dkbv-accent);box-shadow:inset 0 0 0 1px var(--dkbv-accent)}
.dkbv-decor-picture{width:100%;aspect-ratio:1.8;overflow:hidden;border-radius:5px;background:#eef0f2;margin-bottom:7px}
.dkbv-decor-picture img{width:100%;height:100%;object-fit:cover;display:block}
.dkbv-decor-name{font-size:11px;font-weight:760;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.35;width:100%;padding:0 2px}
.dkbv-decor-code{font-size:10px;color:var(--dkbv-muted);padding:4px 2px 0;letter-spacing:.02em;margin-top:auto}
.dkbv-decor-check{right:7px;bottom:7px;background:#fff;width:18px;height:18px;text-align:center;line-height:18px;border-radius:50%}
.dkbv-empty{padding:22px 0;color:#72828b;font-size:12px}
.dkbv-skeleton{font-size:12px;color:#8b969d;padding:16px 0}
.dkbv-sidebar-foot{margin-top:auto;padding:15px 24px;border-top:1px solid var(--dkbv-line);font-size:11px;color:#95a0a8}
.dkbv-stage-panel:fullscreen{position:fixed;top:0;left:0;width:100%;height:100vh;max-height:none;min-height:0;border-radius:0}
.dkbv-stage-panel:fullscreen .dkbv-stage{min-height:0}
@media(max-width:1100px){.dkbv{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)}.dkbv-stage-top{padding:20px}.dkbv-stage-footer{padding:15px 18px}.dkbv-sidebar-head,.dkbv-section{padding-left:17px;padding-right:17px}.dkbv-decors{grid-template-columns:repeat(2,minmax(0,1fr))}.dkbv-stage-hint{display:none}}
@media(max-width:760px){.dkbv{grid-template-columns:minmax(0,1fr);height:auto;min-height:0;gap:12px}.dkbv-stage-panel{position:relative;top:auto;max-height:none;height:auto;min-height:0}.dkbv-sidebar{height:auto;min-height:0}.dkbv-stage{min-height:350px;height:min(64vw,440px);flex:0 0 auto}.dkbv-stage-top{padding:20px 19px 15px}.dkbv-stage-top p{font-size:12px}.dkbv-stage-footer{padding:14px 19px;gap:16px;min-height:0}.dkbv-sidebar-head{padding:20px}.dkbv-section{padding:20px}.dkbv-decors{grid-template-columns:repeat(3,minmax(0,1fr));flex:none;max-height:none;overflow:visible}.dkbv-sidebar-foot{padding:15px 20px}}
@media(max-width:390px){.dkbv-decors{grid-template-columns:repeat(2,minmax(0,1fr))}.dkbv-chip{font-size:10px}.dkbv-stage{min-height:290px}.dkbv-stage-footer>div{min-width:0}.dkbv-profile{padding:6px 8px 10px}.dkbv-controls .dkbv-reset span{display:none}}
@media(prefers-reduced-motion:reduce){.dkbv-spinner{animation-duration:2s}.dkbv *{transition:none!important}}

/* The whole page scrolls; the decor grid must never form an inner scrollbar. */
@media(min-width:761px) and (max-height:700px){.dkbv-stage{min-height:260px}.dkbv-stage-top{padding-top:15px;padding-bottom:12px}.dkbv-stage-footer{min-height:60px;padding-top:10px;padding-bottom:10px}}


.dkbv-controls .dkbv-autorotate{color:#2d4351}
.dkbv-controls .dkbv-autorotate.is-active{background:#24343f;border-color:#24343f;color:#fff}
.dkbv-controls .dkbv-autorotate.is-active:hover{background:#1d2b34;border-color:#1d2b34}

/* Admin-only one-click camera preset */
.dkbv-controls .dkbv-save-camera{color:#a45128;border-color:#efcfbd;background:rgba(255,251,248,.96)}
.dkbv-controls .dkbv-save-camera:hover{background:#fff4ec;border-color:#dfa77f}
.dkbv-controls .dkbv-save-camera:disabled{opacity:.72;cursor:wait}
@media(max-width:560px){.dkbv-controls .dkbv-save-camera span{display:none}}

/* Keep fullscreen independent of responsive sticky rules. */
.dkbv .dkbv-stage-panel:fullscreen{position:fixed;inset:0;top:0;width:100%;height:100dvh;max-height:none;min-height:0;border-radius:0}
/* On mobile, fullscreen 3D viewer fills the display rather than keeping its inline height. */
@media(max-width:760px){
  .dkbv .dkbv-stage-panel:fullscreen .dkbv-stage{flex:1 1 auto;height:auto;min-height:0}
}

/* Dynamic model catalogue (v0.1.8). */
.dkbv-profile-description{margin-top:12px!important;color:var(--dkbv-muted)!important;font-size:12px;line-height:1.55!important;white-space:pre-line}
.dkbv-profile-copy strong,.dkbv-profile-copy small{overflow-wrap:anywhere;white-space:normal}
@media(max-width:520px){.dkbv-profiles{grid-template-columns:repeat(1,minmax(0,1fr))}.dkbv-profile{display:flex;align-items:center;gap:9px}.dkbv-profile-graphic{width:95px;flex:none}.dkbv-profile-copy{flex:1}.dkbv-profile-check{bottom:50%;transform:translateY(50%)}}

/* v0.2.1 — In-viewer glossy-reflections selector. Other finishes do not show it. */
.dkbv-reflection-switch{position:absolute;z-index:2;top:17px;left:17px;max-width:calc(100% - 34px);padding:10px 11px 9px;border:1px solid rgba(218,224,230,.92);border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(31,49,64,.09);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.dkbv-reflection-label{display:block;font-size:9px;font-weight:800;letter-spacing:.14em;color:#83919c;margin:0 0 7px 2px}
.dkbv-reflection-options{display:flex;align-items:stretch;gap:4px}
.dkbv .dkbv-reflection-options button{appearance:none;min-height:34px;padding:7px 12px;border:1px solid transparent;border-radius:8px;background:#f0f3f5;color:#3c4b57;font-size:11px;font-weight:750;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.dkbv .dkbv-reflection-options button:hover:not(:disabled){background:#e6eaee}
.dkbv .dkbv-reflection-options button.is-active{background:#24343f;border-color:#24343f;color:#fff}
.dkbv .dkbv-reflection-options button:disabled{opacity:.45;cursor:not-allowed}
.dkbv-reflection-status{display:block;max-width:240px;margin-top:7px;color:#7b6b5c;font-size:10px;line-height:1.45}
@media(max-width:420px){.dkbv-reflection-switch{top:10px;left:10px;max-width:calc(100% - 20px);padding:8px}.dkbv-reflection-options{gap:3px}.dkbv .dkbv-reflection-options button{padding:7px 8px;font-size:10px;min-height:32px}}
