.bc3d{--bc-red:#b52329;--bc-navy:#14243b;--bc-line:#e0e4e9;color:var(--bc-navy);font-family:inherit;max-width:1320px;margin:32px auto 64px;padding:0 12px;line-height:1.5}.bc3d *{box-sizing:border-box}.bc3d h2,.bc3d h3{color:var(--bc-navy);line-height:1.2;margin:8px 0 14px}.bc3d h2{font-size:clamp(26px,4vw,42px)}.bc3d h3{font-size:23px}.bc3d p{margin:0 0 16px}.bc3d-intro>span,.bc3d-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--bc-red)}.bc3d-products{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.bc3d button{font:inherit;cursor:pointer;line-height:1.3;text-transform:none;letter-spacing:normal}.bc3d-products button{background:#fff;color:var(--bc-navy);border:1px solid var(--bc-line);border-radius:10px;min-height:58px;padding:14px;font-weight:700}.bc3d-products button[aria-pressed=true]{border:2px solid var(--bc-red);background:#fff6f6}.bc3d-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:26px;align-items:start}.bc3d-visual{position:sticky;top:100px;min-width:0}.bc3d-stage{position:relative;background:radial-gradient(ellipse at center,#fff,#edf0f3);border:1px solid var(--bc-line);border-radius:16px;overflow:hidden}.bc3d model-viewer{display:block;width:100%;height:clamp(330px,48vw,560px);--poster-color:transparent}.bc3d-stage:fullscreen model-viewer{height:100vh}.bc3d-load{position:absolute;left:15%;right:15%;top:40%;text-align:center;background:#fff;padding:16px;border-radius:8px;pointer-events:none}.bc3d-load[hidden]{display:none}.bc3d-tools{position:absolute;bottom:12px;right:12px;left:12px;display:flex;gap:8px;justify-content:flex-end}.bc3d-tools button{background:white;border:1px solid var(--bc-line);border-radius:8px;color:var(--bc-navy);padding:10px;min-height:44px}.bc3d-tools button[aria-pressed=true]{border-color:var(--bc-red)}.bc3d-hint,.bc3d-preview-note{font-size:12px;color:#5b6470;text-align:center;margin:10px 0!important}.bc3d-summary,.bc3d-panel{border:1px solid var(--bc-line);border-radius:14px;background:#fff;padding:22px}.bc3d-summary p{margin:8px 0 0}.bc3d-form{display:grid;gap:16px;min-width:0;margin:0}.bc3d fieldset{border:0;padding:0;margin:20px 0;min-width:0}.bc3d legend,.bc3d-form label{font-weight:650;font-size:14px;color:var(--bc-navy)}.bc3d legend{margin:0 0 9px}.bc3d-choices{display:flex;flex-wrap:wrap;gap:8px}.bc3d-choice{position:relative;cursor:pointer}.bc3d-choice input,.bc3d-colors input{position:absolute;opacity:0;width:1px;height:1px}.bc3d-choice span{display:block;padding:12px 15px;min-height:44px;border:1px solid var(--bc-line);border-radius:8px;background:#f7f8fa}.bc3d-choice input:checked+span{border-color:var(--bc-red);box-shadow:inset 0 0 0 1px var(--bc-red);background:#fff5f5}.bc3d input:focus-visible+span,.bc3d button:focus-visible{outline:3px solid #286db0;outline-offset:3px}.bc3d-colors{display:flex;flex-wrap:wrap;gap:12px}.bc3d-colors label{position:relative;display:grid;justify-items:center;gap:5px;cursor:pointer}.bc3d-colors span{width:40px;height:40px;border-radius:50%;background:var(--swatch);border:3px solid #fff;box-shadow:0 0 0 1px #c8cdd3}.bc3d-colors input:checked+span{box-shadow:0 0 0 2px var(--bc-red)}.bc3d-colors small{font-size:10px}.bc3d-extras{display:grid;gap:9px}.bc3d input[type=checkbox]{appearance:auto;width:18px;height:18px;accent-color:var(--bc-red);margin:0 6px 0 0;vertical-align:middle}.bc3d-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bc3d-form label:not(.bc3d-choice){display:block}.bc3d-form .bc3d-colors label{display:grid}.bc3d-form input:not([type=radio]):not([type=checkbox]),.bc3d textarea{display:block;width:100%;height:auto;min-height:44px;border:1px solid var(--bc-line);border-radius:7px;background:#f8f9fb;color:var(--bc-navy);padding:10px;font:inherit;margin:5px 0 14px}.bc3d textarea{resize:vertical}.bc3d-check{font-weight:400!important;margin:10px 0 18px}.bc3d-submit{display:flex;justify-content:space-between;align-items:center;width:100%;background:var(--bc-red);color:#fff;border:0;border-radius:8px;padding:16px;font-weight:700!important;min-height:52px}.bc3d-submit:disabled{opacity:.65;cursor:default}.bc3d-status{font-size:14px;margin:12px 0 0!important}.bc3d-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media(max-width:900px){.bc3d-grid{grid-template-columns:1fr}.bc3d-visual{position:static}.bc3d model-viewer{height:clamp(300px,65vw,460px)}}@media(max-width:480px){.bc3d{padding:0;margin-top:16px}.bc3d-products{gap:8px}.bc3d-products button{font-size:14px;padding:10px}.bc3d-panel,.bc3d-summary{padding:16px}.bc3d-fields{grid-template-columns:1fr}.bc3d-tools button{font-size:12px}.bc3d-choice span{padding:11px}}
/* v2: scoped UI, native form controls and canvas. */
.bc3d{--bc-red:#b52329;--bc-navy:#14243b;--bc-line:#dfe4e9;max-width:1280px;padding:0;margin:30px auto 64px;color:var(--bc-navy);font-family:inherit;overflow:visible}.bc3d .bc3d-intro h2{font-size:clamp(27px,3.8vw,44px);font-weight:750;letter-spacing:-.025em;line-height:1.13}.bc3d .bc3d-intro p,.bc3d .bc3d-panel p{color:#566272;font-size:15px;line-height:1.6}.bc3d-products button{display:flex;align-items:center;text-align:left;gap:13px;min-height:88px;padding:16px;border-radius:12px;border-width:2px}.bc3d-products button strong{display:block;font-size:16px;line-height:1.35}.bc3d-products button small{display:block;font-size:12px;font-weight:400;color:#55616f;margin-top:4px}.bc3d-product-index{font-size:12px;font-weight:800;color:var(--bc-red);align-self:flex-start}.bc3d-dot{flex:none;width:15px;height:15px;border:1px solid #a7b0bb;border-radius:50%;margin-left:auto}.bc3d-products button[aria-pressed=true] .bc3d-dot{border:4px solid var(--bc-red)}.bc3d-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px}.bc3d-visual{top:var(--bc3d-sticky-top,105px)}.bc3d-stage{background:radial-gradient(ellipse at 50% 45%,#fff 0%,#f3f5f7 48%,#e9edf1 100%);border-radius:16px}.bc3d-canvas{width:100%;height:clamp(330px,38vw,490px);outline-offset:-4px}.bc3d-canvas canvas{display:block;width:100%;height:100%;touch-action:none}.bc3d-stage-top{position:absolute;top:14px;left:15px;right:15px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;font-size:12px;font-weight:700;color:#596474}.bc3d-live{font-size:10px;letter-spacing:.12em;background:#fff;border:1px solid #dce1e5;border-radius:30px;padding:6px 10px;color:var(--bc-navy)}.bc3d-tools{justify-content:center;bottom:12px;pointer-events:none}.bc3d-tools button{pointer-events:auto;min-width:44px;height:44px;padding:6px 10px;box-shadow:0 2px 5px #14243b0c;font-size:17px}.bc3d-tools button[data-spin]{font-size:13px;font-weight:700}.bc3d-load{left:9%;right:9%;font-size:14px;box-shadow:0 4px 20px #14243b15;z-index:1}.bc3d-summary{padding:18px 20px}.bc3d-summary-head{display:grid;gap:5px;margin-bottom:10px}.bc3d-summary-head strong{font-size:17px}.bc3d dl{margin:0;padding:0}.bc3d dl div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0;border-top:1px solid #e9edf0;font-size:12px}.bc3d dt{color:#586473;font-weight:400;line-height:1.45}.bc3d dd{margin:0;text-align:right;font-weight:650;line-height:1.45}.bc3d-jump{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;margin-top:10px;border:1px solid var(--bc-red);border-radius:8px;color:var(--bc-red)!important;font-weight:700;font-size:14px;text-decoration:none!important}.bc3d-panel{padding:23px;box-shadow:0 2px 12px #14243b06}.bc3d-panel h3{font-weight:750;font-size:24px}.bc3d fieldset{margin:17px 0 21px}.bc3d legend{font-size:14px;font-weight:750;line-height:1.4;float:none;width:auto;padding:0;border:0}.bc3d legend [data-color-name]{font-weight:500;color:#687382;margin-left:8px;font-size:12px}.bc3d .bc3d-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.bc3d .bc3d-volume{grid-template-columns:repeat(3,minmax(0,1fr))}.bc3d .bc3d-choice{display:block;margin:0;line-height:1.35}.bc3d .bc3d-choice span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;height:100%;padding:9px 8px;font-size:13px;font-weight:600;color:var(--bc-navy)}.bc3d-choice input:checked+span{color:var(--bc-red);border-color:var(--bc-red);background:#fff4f4}.bc3d-colors{gap:10px}.bc3d-colors span{width:42px;height:42px}.bc3d-colors small{color:#596474;font-size:10px;line-height:1.2}.bc3d-spec{background:#f3f5f7;border-radius:9px;padding:14px;margin:15px 0 22px;display:grid;gap:7px}.bc3d-spec small{font-size:11px;color:#5d6774;line-height:1.45}.bc3d-qty{display:grid;grid-template-columns:46px 1fr 46px;gap:7px;max-width:220px;margin-top:8px}.bc3d .bc3d-qty input{margin:0!important;text-align:center;appearance:textfield;-moz-appearance:textfield}.bc3d-qty input::-webkit-inner-spin-button,.bc3d-qty input::-webkit-outer-spin-button{appearance:none}.bc3d-qty button,.bc3d-again{border:1px solid var(--bc-line);border-radius:8px;background:#f4f6f8;color:var(--bc-navy);font-size:20px;min-height:44px}.bc3d-again{font-size:14px;padding:8px 16px;margin-top:10px}.bc3d-form input:not([type=radio]):not([type=checkbox]),.bc3d textarea{font-size:16px;min-height:46px;line-height:1.4;border:1px solid #cfd6de;background:#fafbfc;box-shadow:none}.bc3d-form input:focus,.bc3d textarea:focus{border-color:#286db0;outline:2px solid #286db044}.bc3d-submit:hover{background:#981c22}.bc3d-status.bc3d-error{color:#a52025;font-weight:650}.bc3d-status.bc3d-success{color:#236442;font-weight:650}.bc3d-test{background:#fff6dd;border:1px solid #e5c574;padding:10px 13px;border-radius:8px;font-size:13px;color:#785414}.bc3d [data-contact]{scroll-margin-top:110px}.bc3d-stage.bc3d-expanded{position:fixed;inset:0;z-index:999999;border-radius:0;border:0;display:flex;align-items:center;justify-content:center}.bc3d-expanded .bc3d-canvas{width:100%;height:100%}.bc3d-body-lock{overflow:hidden!important}.bc3d [hidden]{display:none!important}.bc3d button:focus-visible,.bc3d a:focus-visible,.bc3d input:focus-visible+span{outline:3px solid #286db0;outline-offset:3px}.bc3d button{font-family:inherit}.bc3d input[type=radio]{appearance:none!important;position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important}.bc3d .bc3d-check{line-height:1.5;font-size:13px}.bc3d .bc3d-submit{font-size:16px}.bc3d .bc3d-qty-label{margin:0}.bc3d .bc3d-hint,.bc3d .bc3d-preview-note{font-size:12px;line-height:1.5}.bc3d .bc3d-kicker{line-height:1.4;font-size:11px}
@media(min-width:901px) and (max-height:900px){.bc3d-visual{position:sticky;top:var(--bc3d-sticky-top,95px)}.bc3d-summary dl{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.bc3d-summary dl div{display:block;padding:4px 0}.bc3d-summary dd{text-align:left}.bc3d-canvas{height:clamp(260px,44vh,410px)}}
@media(max-width:900px){.bc3d-grid{grid-template-columns:1fr;gap:18px}.bc3d-visual{position:static}.bc3d-canvas{height:clamp(280px,65vw,450px)}.bc3d-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.bc3d-summary dl div{display:block}.bc3d-summary dd{text-align:left}.bc3d-jump{margin-top:12px}.bc3d-panel{padding:20px}.bc3d-products button small{display:none}}
@media(max-width:480px){.bc3d{margin-top:12px}.bc3d-products{gap:7px}.bc3d-products button{padding:10px;min-height:76px;gap:6px}.bc3d-products button strong{font-size:13px}.bc3d-product-index{display:none}.bc3d-dot{width:13px;height:13px}.bc3d-panel,.bc3d-summary{padding:15px}.bc3d-canvas{height:310px}.bc3d-summary dl{gap:0 10px}.bc3d .bc3d-choice span{font-size:12px}.bc3d-fields{grid-template-columns:1fr}.bc3d-colors{gap:9px}.bc3d-colors span{width:39px;height:39px}.bc3d-tools{gap:5px}.bc3d-tools button{min-width:43px}.bc3d .bc3d-intro h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.bc3d *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Studio v3: compact, bounded desktop workspace */
.bc3d{max-width:1560px;width:100%;margin:24px auto 40px}.bc3d-intro h2{font-size:clamp(24px,2.4vw,36px)}.bc3d-intro p{font-size:14px;margin-bottom:12px}.bc3d-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.bc3d-steps button{display:flex;align-items:center;gap:9px;text-align:left;padding:12px 9px;border:0;border-bottom:3px solid #dce2e8;background:#fff;color:#536071;font-weight:650;font-size:14px}.bc3d-steps button span{font-size:11px;color:#64748b}.bc3d-steps button[aria-current=step]{border-color:var(--bc-red);color:var(--bc-red)}.bc3d-grid{gap:20px;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr)}.bc3d-visual{position:static}.bc3d-stage{border-radius:12px}.bc3d-summary,.bc3d-jump{display:none}.bc3d[data-step="3"] .bc3d-summary{display:block;margin-top:12px;padding:14px}.bc3d[data-step="3"] .bc3d-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.bc3d .bc3d-summary dl div{padding:4px 0}.bc3d .bc3d-panel{padding:24px;box-shadow:none;border:0;border-radius:0}.bc3d-form{display:block;border:1px solid var(--bc-line);border-radius:12px;background:#fff;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.bc3d .bc3d-products{display:grid;grid-template-columns:1fr;margin:16px 0}.bc3d .bc3d-products button{min-height:92px;text-align:left}.bc3d .bc3d-products button strong{font-size:16px}.bc3d .bc3d-products button small{font-size:13px}.bc3d fieldset{margin:18px 0}.bc3d .bc3d-choice span{font-size:14px;min-height:45px}.bc3d .bc3d-kicker{font-size:11px}.bc3d-nav{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--bc-line);margin-top:14px}.bc3d-nav [data-mini]{flex:1;font-size:14px;font-weight:650}.bc3d-nav button{border:1px solid var(--bc-line);background:#fff;color:var(--bc-navy);padding:12px 20px;border-radius:8px;min-height:46px;font-weight:650}.bc3d-nav [data-next]{background:var(--bc-red);color:#fff;border-color:var(--bc-red)}.bc3d-nav button:disabled{opacity:.35;cursor:default}.bc3d:not([data-step="3"]) .bc3d-qty,.bc3d:not([data-step="3"]) .bc3d-qty-label{display:none}.bc3d .bc3d-fields{gap:8px 12px}.bc3d .bc3d-form input:not([type=radio]):not([type=checkbox]){margin-bottom:8px}.bc3d .bc3d-expanded .bc3d-canvas{height:100vh!important}.bc3d-test{padding:6px 12px;font-size:12px}.bc3d-page .bc3d{width:min(1560px,calc(100vw - 64px));max-width:none;position:relative;left:50%;transform:translateX(-50%)}
@media(min-width:901px){.bc3d-grid{--studio-height:clamp(450px,calc(100dvh - 270px),740px);align-items:stretch}.bc3d-form{height:var(--studio-height)}.bc3d-canvas{height:calc(var(--studio-height) - 66px)}.bc3d[data-step="3"] .bc3d-canvas{height:calc(var(--studio-height) - 215px);min-height:240px}.bc3d-nav{position:sticky;bottom:0;z-index:5;background:#fff}.bc3d .bc3d-visual{min-width:0}.bc3d .bc3d-summary dl{font-size:12px}.bc3d .bc3d-summary-head{margin-bottom:5px}}
@media(max-width:900px){.bc3d-grid{grid-template-columns:1fr}.bc3d-form{overflow:visible}.bc3d-steps button{font-size:12px;flex-direction:column;align-items:flex-start}.bc3d-nav{flex-wrap:wrap}.bc3d-nav [data-mini]{flex-basis:100%}.bc3d-page .bc3d{width:100%;left:auto;transform:none}.bc3d .bc3d-panel{padding:16px}}
.bc3d[data-step="3"] .bc3d-summary dd{overflow-wrap:anywhere}.bc3d[data-step="3"] .bc3d-summary dl div{display:block}.bc3d[data-step="3"] .bc3d-summary dd{text-align:left}.bc3d[data-step="3"] .bc3d-summary{max-height:155px;overflow:auto}.bc3d .bc3d-panel>p{font-size:14px}.bc3d .bc3d-panel h3{font-size:25px}.bc3d-nav [data-next]:hover{background:#981c22}.bc3d .bc3d-choice span:hover{border-color:#aeb8c6}

/* Studio 3.1 – one connected workspace. PDF and sales workflow unchanged. */

.bc3d-studio-page .crystalo-wp-page> .container>h1{display:none!important}
.bc3d-studio-page .crystalo-wp-page{padding:0!important}
.bc3d-studio-page .crystalo-wp-page> .container{width:100%;max-width:none;padding:0}
.bc3d{width:min(1440px,calc(100% - 24px));max-width:none;margin:12px auto 16px;padding:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:var(--bc-space,calc(100dvh - 155px));min-height:440px;border:1px solid #dce2e8;border-radius:12px;background:#fff;overflow:visible;box-shadow:0 6px 22px #14243b08;line-height:1.4}
.bc3d .bc3d-steps{margin:0;gap:0;padding:0 12px;background:#f8f9fb;border-radius:12px 12px 0 0;border-bottom:1px solid var(--bc-line)}
.bc3d .bc3d-steps button{justify-content:center;align-items:center;flex-direction:row;gap:8px;padding:11px 5px;border-bottom:3px solid transparent;background:transparent;color:#536071;font-size:13px;font-weight:650;white-space:nowrap}
.bc3d .bc3d-steps button span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #d5dce5;border-radius:50%;background:#fff;color:#596474;font-size:11px;flex-shrink:0}
.bc3d .bc3d-steps button[aria-current=step]{border-bottom-color:var(--bc-red);color:var(--bc-red)}
.bc3d .bc3d-steps button[aria-current=step] span{background:var(--bc-red);border-color:var(--bc-red);color:#fff}
.bc3d .bc3d-steps button.is-complete span{background:var(--bc-navy);border-color:var(--bc-navy);color:#fff}
.bc3d .bc3d-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(0,1fr);gap:0;min-height:0;align-items:stretch;--studio-height:auto}
.bc3d .bc3d-visual{display:flex;flex-direction:column;min-height:0;min-width:0;position:relative;top:auto;padding:12px;border-right:1px solid var(--bc-line);gap:5px}
.bc3d .bc3d-stage{flex:1;min-height:0;display:grid;grid-template-rows:32px minmax(0,1fr) 44px;grid-template-areas:'top' 'canvas' 'tools';border-radius:9px;overflow:hidden}
.bc3d .bc3d-stage-top{grid-area:top;position:relative;inset:auto;padding:5px 10px;gap:7px;font-size:11px;pointer-events:auto}
.bc3d .bc3d-stage-top [data-model-label]{margin-left:auto}
.bc3d .bc3d-live{padding:3px 7px;font-size:10px}
.bc3d .bc3d-info{display:grid;place-items:center;width:28px;height:28px;padding:0;background:transparent;border:0;color:#526071;font-size:17px}
.bc3d .bc3d-canvas,.bc3d[data-step="3"] .bc3d-canvas{grid-area:canvas;height:100%;min-height:0;width:100%;overflow:hidden}
.bc3d .bc3d-tools{grid-area:tools;position:relative;inset:auto;align-items:center;gap:6px;padding:3px 8px 6px}
.bc3d .bc3d-tools button{min-height:34px;height:34px;min-width:36px;padding:4px 8px;font-size:15px;border-radius:6px}
.bc3d .bc3d-hint{margin:0!important;font-size:10px;line-height:1.3}
.bc3d .bc3d-preview-note{position:absolute;top:34px;right:8px;left:8px;z-index:3;background:#fff;border:1px solid var(--bc-line);border-radius:7px;padding:9px;margin:0!important;box-shadow:0 3px 12px #14243b19;font-size:12px}
.bc3d .bc3d-form{height:auto;min-height:0;overflow:auto;overscroll-behavior:contain;border:0;border-radius:0;scrollbar-gutter:stable;scroll-padding:12px}
.bc3d .bc3d-panel{padding:17px 20px 20px!important;margin:0;border:0;min-width:0}
.bc3d .bc3d-panel h3{font-size:21px;margin:4px 0 12px;line-height:1.25}
.bc3d .bc3d-kicker{font-size:10px;letter-spacing:.08em}
.bc3d .bc3d-products{gap:8px;margin:10px 0}
.bc3d .bc3d-products button{min-height:68px;padding:11px 12px;gap:10px;border-radius:8px}
.bc3d .bc3d-products button strong{font-size:14px;line-height:1.3}
.bc3d .bc3d-products button small{font-size:12px;line-height:1.3}
.bc3d fieldset{margin:10px 0 14px}
.bc3d legend{font-size:13px;margin-bottom:5px}
.bc3d .bc3d-choice span{min-height:36px;font-size:13px;padding:6px 7px;border-radius:6px;line-height:1.25}
.bc3d .bc3d-choices{gap:5px}
.bc3d .bc3d-colors{gap:8px}
.bc3d .bc3d-colors span{width:34px;height:34px}
.bc3d .bc3d-colors small{font-size:9px}
.bc3d .bc3d-spec{margin:8px 0 0;padding:9px;gap:3px}
.bc3d .bc3d-panel>p{font-size:12px;margin-bottom:9px}
.bc3d .bc3d-fields{grid-template-columns:1fr 1fr;gap:5px 10px}
.bc3d .bc3d-form label{font-size:12px;line-height:1.35}
.bc3d .bc3d-form input:not([type=radio]):not([type=checkbox]),.bc3d .bc3d-form textarea{min-height:38px;margin:4px 0 5px!important;padding:7px 9px;font-size:14px;line-height:1.3}
.bc3d .bc3d-form textarea{min-height:48px;height:48px;resize:vertical}
.bc3d .bc3d-qty{grid-template-columns:36px 70px 36px;gap:5px;margin:4px 0 10px;max-width:none}
.bc3d .bc3d-qty button{min-height:36px}
.bc3d .bc3d-qty-label{font-size:12px;font-weight:650}
.bc3d .bc3d-check{margin:7px 0;font-size:12px;line-height:1.4}
.bc3d .bc3d-review{border:1px solid var(--bc-line);border-radius:7px;margin:8px 0 10px;padding:8px 10px;font-size:12px;color:var(--bc-navy)}
.bc3d .bc3d-review summary{cursor:pointer;font-weight:650;list-style:revert}
.bc3d[data-step="3"] .bc3d-review .bc3d-summary{max-height:none;overflow:visible;margin:6px 0 0;padding:0;border:0}
.bc3d .bc3d-review .bc3d-summary-head{display:none}
.bc3d .bc3d-nav{position:relative;bottom:auto;margin:0;padding:9px 12px;gap:8px;background:#fff;border-radius:0 0 12px 12px;flex-wrap:nowrap;z-index:2}
.bc3d .bc3d-nav [data-mini]{font-size:12px;flex:1;min-width:0;line-height:1.35}
.bc3d .bc3d-nav button{min-height:40px;padding:8px 13px;font-size:13px;white-space:nowrap;border-radius:7px}
.bc3d .bc3d-nav .bc3d-submit{background:var(--bc-red);color:#fff;border-color:var(--bc-red);width:auto;gap:18px;justify-content:center}
.bc3d .bc3d-stage.bc3d-expanded{position:fixed;inset:0;display:grid;grid-template-rows:44px minmax(0,1fr) 56px;z-index:999999;border-radius:0}
.bc3d .bc3d-stage.bc3d-expanded .bc3d-canvas{height:100%!important}
.bc3d .bc3d-status{margin:8px 0;font-size:13px}
@media(min-width:901px) and (max-height:800px){.bc3d{margin-top:8px}.bc3d .bc3d-panel{padding:12px 16px!important}.bc3d .bc3d-panel h3{font-size:19px;margin-bottom:8px}.bc3d fieldset{margin:7px 0 10px}.bc3d .bc3d-choice span{min-height:33px}.bc3d .bc3d-colors span{width:30px;height:30px}.bc3d .bc3d-nav{padding:7px 10px}}
@media(max-width:900px){
 .bc3d{width:calc(100% - 16px);margin:8px auto 12px;min-height:420px;border-radius:9px;grid-template-rows:auto minmax(0,1fr) auto}
 .bc3d .bc3d-steps{padding:0 3px;border-radius:9px 9px 0 0}
 .bc3d .bc3d-steps button{flex-direction:column;gap:2px;font-size:10px;padding:5px 1px;white-space:normal;text-align:center;line-height:1.2;min-height:50px}
 .bc3d .bc3d-steps button span{width:19px;height:19px;font-size:10px}
 .bc3d .bc3d-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(150px,40%) minmax(0,1fr)}
 .bc3d .bc3d-visual{padding:6px 8px 4px;border-right:0;border-bottom:1px solid var(--bc-line)}
 .bc3d .bc3d-stage{grid-template-rows:27px minmax(0,1fr) 42px}
 .bc3d .bc3d-stage-top{padding:3px 7px}
 .bc3d .bc3d-tools button{min-height:38px;height:38px;min-width:40px}
 .bc3d .bc3d-hint{display:none}
 .bc3d .bc3d-panel{padding:11px 12px 14px!important}
 .bc3d .bc3d-panel h3{font-size:18px;margin:3px 0 8px}
 .bc3d .bc3d-products button{min-height:55px;padding:8px 10px}
 .bc3d .bc3d-products button strong{font-size:13px}
 .bc3d .bc3d-products button small{display:block;font-size:11px}
 .bc3d .bc3d-product-index{display:none}
 .bc3d .bc3d-choice span{min-height:42px;font-size:12px}
 .bc3d .bc3d-colors{gap:9px}
 .bc3d .bc3d-colors span{width:36px;height:36px}
 .bc3d .bc3d-nav{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 8px;padding:6px 8px max(7px,env(safe-area-inset-bottom));border-radius:0 0 9px 9px}
 .bc3d .bc3d-nav [data-mini]{grid-column:1/-1;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .bc3d .bc3d-nav button{min-height:43px;padding:8px 10px;font-size:13px}
 .bc3d .bc3d-nav .bc3d-submit{width:100%;gap:5px}
 .bc3d[data-step="3"] .bc3d-grid{grid-template-rows:minmax(105px,24%) minmax(0,1fr)}
 .bc3d[data-step="3"] .bc3d-stage{grid-template-rows:24px minmax(0,1fr)}
 .bc3d[data-step="3"] .bc3d-stage:not(.bc3d-expanded) .bc3d-tools{position:absolute;right:4px;left:auto;bottom:4px;padding:0}
 .bc3d[data-step="3"] .bc3d-stage:not(.bc3d-expanded) .bc3d-tools button:not([data-full]){display:none}
 .bc3d .bc3d-form input:not([type=radio]):not([type=checkbox]),.bc3d .bc3d-form textarea{font-size:16px;min-height:42px}
 .bc3d .bc3d-stage.bc3d-expanded{grid-template-rows:44px minmax(0,1fr) 56px}
}
@media(max-width:360px){.bc3d .bc3d-products button small{display:none}.bc3d .bc3d-colors{gap:6px}.bc3d .bc3d-colors span{width:31px;height:31px}.bc3d .bc3d-fields{grid-template-columns:1fr}}
@media(max-width:900px){
 .bc3d .bc3d-grid{grid-template-rows:minmax(170px,46%) minmax(0,1fr)}
 .bc3d .bc3d-stage{grid-template-rows:26px minmax(0,1fr) 38px}
 .bc3d .bc3d-tools button{height:35px;min-height:35px;min-width:40px}
 .bc3d[data-step="3"] .bc3d-grid{grid-template-rows:minmax(105px,24%) minmax(0,1fr)}
 .bc3d[data-step="3"] .bc3d-stage:not(.bc3d-expanded){grid-template-rows:24px minmax(0,1fr)}
 .bc3d.bc3d-keyboard[data-step="3"]{min-height:220px}
 .bc3d.bc3d-keyboard[data-step="3"] .bc3d-grid{grid-template-rows:minmax(0,1fr)}
 .bc3d.bc3d-keyboard[data-step="3"] .bc3d-visual{display:none}
 .bc3d .bc3d-stage.bc3d-expanded{grid-template-rows:44px minmax(0,1fr) 56px}
}

/* 3.1.1: stable mobile preview; retain theme breadcrumb. */
@media(max-width:900px){
 .bc3d .bc3d-grid{grid-template-rows:minmax(0,var(--bc-preview,220px)) minmax(0,1fr)}
 .bc3d[data-step="3"] .bc3d-grid{grid-template-rows:minmax(0,var(--bc-review-preview,120px)) minmax(0,1fr)}
 .bc3d.bc3d-keyboard[data-step="3"] .bc3d-grid{grid-template-rows:minmax(0,1fr)}
 .bc3d .bc3d-form{min-height:0;overscroll-behavior-y:contain;touch-action:pan-y;overflow-anchor:none}
 .bc3d .bc3d-visual{overflow:hidden;contain:size layout}
 .bc3d .bc3d-stage.bc3d-expanded{position:fixed;inset:0}
 .bc3d .bc3d-visual:has(.bc3d-expanded){contain:none;overflow:visible}
}

/* 3.1.5 – fit the desktop workspace below the actual page header. */
@media(min-width:901px){
 .bc3d{box-sizing:border-box;min-height:360px;height:var(--bc-space,calc(100dvh - 190px));}
 .bc3d .bc3d-grid{grid-template-rows:minmax(0,1fr)}
 .bc3d .bc3d-visual,.bc3d .bc3d-form{min-height:0}
 .bc3d .bc3d-stage:not(.bc3d-expanded){flex:1 1 0;min-height:0}
 .bc3d .bc3d-nav{flex-shrink:0;min-height:56px}
}
