
.boc-wrap{--accent:#32105f;--accent2:#5917a6;--ink:#24113e;font-family:Inter,Arial,sans-serif;background:#f0e8fb;border-radius:24px;box-shadow:0 18px 60px #0002;overflow:hidden;margin:20px 0;color:#1d1230;position:relative}.boc-tabs{display:flex;gap:8px;padding:14px;background:linear-gradient(90deg,var(--accent),var(--accent2));overflow:auto}.boc-garment-tabs{display:flex;gap:7px}.boc-tab-wrap{display:flex;background:#ffffff55;border-radius:999px;padding-right:4px}.boc-tab,.boc-add-garment,.boc-delete-garment{border:0;border-radius:999px;padding:10px 16px;background:#ffffffdc;color:#24113e;font-weight:800;cursor:pointer}.boc-tab.active{background:#fff;box-shadow:0 8px 18px #0003}.boc-delete-garment{padding:6px 9px;color:#b91c1c;background:#fff;margin:3px}.boc-leftbar{position:absolute;z-index:6;left:8px;top:70px;display:flex;flex-direction:column;gap:6px}.boc-leftbar button{width:76px;min-height:58px;border:0;border-radius:16px;background:#fff;color:var(--accent);box-shadow:0 8px 22px #0002;font-weight:900;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.boc-leftbar button span{font-size:19px}.boc-leftbar button b{font-size:11px}.boc-leftbar button.active{background:var(--accent);color:#fff}.boc-leftbar .danger{color:#b91c1c}.boc-main{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:8px;padding:10px 8px 10px 92px;align-items:start}.boc-stage{background:#fff;border-radius:20px;height:700px;min-height:620px;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:inset 0 0 0 2px #ded0f2;overflow:hidden}.boc-view-tabs{position:absolute;top:10px;left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:7}.boc-view-tabs button{border:1px solid #d8c8ef;border-radius:12px;background:#fff;color:var(--accent);font-weight:800;padding:8px 12px}.boc-view-tabs button.active{background:var(--accent);color:#fff}.boc-garment{width:min(78vh,82%);aspect-ratio:1/1;position:relative;transition:transform .15s}.boc-garment-art{position:absolute;inset:0}.boc-neutral-render{position:relative;width:100%;height:100%;background:#fff;overflow:hidden}.boc-textile-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;background:#fff}.boc-print-zone{position:absolute;border:1.7px dashed #5b2a90;box-sizing:border-box;z-index:5;background:#fff0}.boc-zone-label{position:absolute;top:-26px;left:0;background:#fff;color:#5b2a90;border:1px solid #dac9e9;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:800;white-space:nowrap}.boc-canvas{position:absolute;inset:0}.boc-object{position:absolute;cursor:move;user-select:none;border:1px solid transparent}.boc-object.selected{border:1px dashed #5b2a90;box-shadow:0 0 0 2px #fff}.boc-object img{display:block;max-width:150px;max-height:150px}.boc-object.text{font-size:28px;font-weight:700;white-space:pre}.boc-stage-note{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#ffffffeb;border-radius:999px;padding:8px 14px;color:#57476a;font-size:12px;white-space:nowrap}.boc-info-link{border:0;background:none;color:#5b2a90;text-decoration:underline;font-weight:800;cursor:pointer}.boc-panel{background:#fff;border-radius:20px;padding:10px;box-shadow:0 8px 30px #0001;height:700px;overflow:auto;box-sizing:border-box}.boc-panel details{border:1px solid #e4d8f8;border-radius:14px;margin:0 0 8px;background:#fbf9ff;overflow:hidden}.boc-panel summary{padding:12px;background:#efe7fb;color:var(--accent);font-size:15px;font-weight:900;cursor:pointer}.boc-panel details>div{padding:10px}.boc-panel label{display:block;font-weight:700;margin:8px 0}.boc-panel input,.boc-panel select,.boc-panel textarea{width:100%;box-sizing:border-box;border:1px solid #d6c5ef;border-radius:10px;padding:9px;background:#fff}.boc-panel button,.boc-primary,.boc-preview-all,.boc-add-cart-main,.boc-add-cart{border:0;border-radius:12px;background:var(--accent);color:#fff;padding:10px 12px;font-weight:900;cursor:pointer}.boc-preview-all,.boc-add-cart-main{width:100%;margin-top:8px}.boc-add-cart-main{background:#4b168f}.boc-pricebox{background:var(--accent);color:#fff;border-radius:14px;padding:12px;margin-top:8px;display:flex;justify-content:space-between}.boc-product-thumb{height:160px;background:#f5f2f7;border-radius:12px;overflow:hidden}.boc-choose-product,.boc-info-btn{width:100%;margin-top:8px}.boc-info-btn{background:#f0e8fb!important;color:#32105f!important;border:1px solid #d6c5ef!important}.boc-product-title{margin:10px 0}.boc-product-title small{display:block;color:#777}.boc-grammages{display:flex;gap:6px;flex-wrap:wrap}.boc-grammages button{background:#fff;color:#32105f;border:1px solid #d6c5ef}.boc-grammages button.active{background:#32105f;color:#fff}.boc-colors{display:flex;gap:8px;flex-wrap:wrap}.boc-colors button{width:31px;height:31px;border-radius:50%;background:var(--c);padding:0;border:3px solid #fff;outline:1px solid #bbb}.boc-colors button.active{outline:3px solid #5b2a90}.boc-upload{display:block;border:1px dashed #b99cd0;border-radius:12px;padding:16px;text-align:center}.boc-upload span{display:block;font-size:11px;color:#777}.boc-upload input{display:none}.boc-bank{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.boc-bank button{padding:5px;background:#fff;color:#32105f;border:1px solid #e4d8f8}.boc-bank img{width:100%;aspect-ratio:1/1;object-fit:contain}.boc-bank small{display:block;overflow:hidden;text-overflow:ellipsis}.boc-tech{border:1px solid #e4d8f8;border-radius:12px;padding:11px;margin-bottom:8px;cursor:pointer;display:flex;flex-direction:column;gap:3px}.boc-tech.active{border-color:#5b2a90;box-shadow:0 0 0 2px #e6d8f2}.boc-tech span{font-size:11px;color:#766}.boc-size-line{display:grid!important;grid-template-columns:1fr 90px;gap:8px;align-items:center}.boc-discount{background:#f0e8fb;border-radius:10px;padding:10px;margin-top:10px}.boc-modal[hidden],.boc-help-modal[hidden]{display:none!important}.boc-modal,.boc-help-modal{display:flex;position:fixed;inset:0;background:#0008;z-index:2147483000;padding:24px;overflow:auto;align-items:center;justify-content:center}.boc-modal>div,.boc-help-modal>div{background:#fff;border-radius:22px;max-width:1050px;width:min(1050px,96vw);max-height:92vh;overflow:auto;padding:22px;position:relative}.boc-close{position:absolute;right:14px;top:10px;border:0!important;background:#eee!important;color:#32105f!important;border-radius:50%!important;width:38px;height:38px;font-size:22px;padding:0!important}.boc-product-search{width:100%;box-sizing:border-box;padding:11px;border:1px solid #d6c5ef;border-radius:12px}.boc-picker-filters{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.boc-picker-filters button{background:#f0e8fb;color:#32105f}.boc-picker-filters button.active{background:#32105f;color:#fff}.boc-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.boc-product-card{background:#fff!important;color:#24113e!important;text-align:left;border:1px solid #e4d8f8!important;padding:8px!important}.boc-product-card>div{height:170px;background:#f5f2f7}.boc-product-card strong,.boc-product-card small{display:block;margin-top:4px}.boc-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.boc-info-photo{height:360px;background:#f5f2f7}.boc-preview-card{display:grid;grid-template-columns:120px 1fr auto;gap:12px;align-items:center;border:1px solid #e4d8f8;border-radius:14px;padding:10px;margin:8px 0}.boc-preview-card>div{height:120px}.boc-preview-card section p{margin:3px 0}.boc-preview-total{display:flex;justify-content:space-between;background:#f0e8fb;padding:14px;border-radius:12px;margin:12px 0}.boc-creation-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;border-bottom:1px solid #eee;padding:10px}.boc-creation-row div{display:flex;flex-direction:column}.boc-guide-intro{display:none;position:fixed;inset:0;z-index:2147483001;background:rgba(30,18,45,.68);align-items:center;justify-content:center}.boc-guide-intro>div{width:min(580px,calc(100vw - 30px));background:#fff;border-radius:24px;padding:28px;text-align:center;position:relative;box-shadow:0 25px 80px #0005}.boc-guide-icon{font-size:42px}.boc-guide-intro h2{color:#32105f;font-size:30px}.boc-guide-start{display:block;width:100%;border:0;background:#32105f;color:#fff;border-radius:14px;padding:14px;font-weight:900}.boc-guide-skip{border:0;background:none;color:#6d587e;text-decoration:underline;margin-top:12px}.boc-guide-x{position:absolute;right:16px;top:12px;border:0;background:#f0e8fb;border-radius:50%;width:40px;height:40px;font-size:20px}.boc-mobile-launch{display:none}.boc-mobile-close{display:none}.boc-fatal{display:flex;flex-direction:column;gap:6px;text-align:center;color:#7b1e1e}.boc-no-photo{height:100%;display:flex;align-items:center;justify-content:center;color:#777}.boc-neutral-preview{height:100%}
@media(max-width:1100px){.boc-product-grid{grid-template-columns:repeat(3,1fr)}.boc-main{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:900px){body.boc-app-open{overflow:hidden!important}.boc-wrap{position:fixed;inset:0;z-index:2147482000;margin:0;border-radius:0;width:100vw;height:100dvh}.boc-wrap:not(.boc-mobile-started)>.boc-tabs,.boc-wrap:not(.boc-mobile-started)>.boc-leftbar,.boc-wrap:not(.boc-mobile-started)>.boc-main{visibility:hidden}.boc-mobile-launch{position:absolute;inset:0;z-index:50;background:linear-gradient(135deg,#24113e,#5917a6);align-items:center;justify-content:center;padding:16px}.boc-mobile-launch-card{background:#fff;border-radius:22px;padding:22px;width:min(460px,94vw);display:grid;gap:10px;text-align:center}.boc-mobile-launch-card>span{font-size:44px}.boc-mobile-launch-card strong{display:block;font-size:22px;color:#32105f}.boc-mobile-launch-card small{display:block;margin-top:6px;color:#665}.boc-mobile-launch-card button{border:0;background:#32105f;color:#fff;border-radius:12px;padding:13px;font-weight:900}.boc-mobile-resume{background:#fff!important;color:#32105f!important;border:1px solid #32105f!important}.boc-wrap:not(.boc-has-draft) .boc-mobile-resume{display:none}.boc-mobile-close{display:block;position:absolute;right:7px;top:7px;z-index:60;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#32105f}.boc-tabs{padding:8px 52px 8px 8px}.boc-main{height:calc(100dvh - 68px);padding:6px 6px 6px 64px;grid-template-columns:minmax(0,1fr) 280px;gap:5px}.boc-leftbar{top:68px;left:4px;gap:4px;max-height:calc(100dvh - 74px);overflow:auto}.boc-leftbar button{width:56px;min-height:48px;border-radius:12px}.boc-leftbar button span{font-size:16px}.boc-leftbar button b{font-size:8px}.boc-stage{height:calc(100dvh - 80px);min-height:0}.boc-panel{height:calc(100dvh - 80px);border-radius:14px}.boc-garment{width:min(80vh,78vw)}.boc-stage-note{font-size:10px;bottom:6px}.boc-product-grid{grid-template-columns:repeat(2,1fr)}}

/* V2.3.0 — ergonomie DTF / élément sélectionné */
@media(min-width:901px){
 .boc-leftbar{left:12px;width:154px}
 .boc-leftbar button{width:148px;min-height:50px;flex-direction:row;justify-content:flex-start;padding:0 15px;gap:9px;border-radius:16px;white-space:nowrap}
 .boc-leftbar button span{font-size:17px;min-width:22px;text-align:center}
 .boc-leftbar button b{font-size:12px;line-height:1;white-space:nowrap}
 .boc-main{padding-left:174px}
}
.boc-stage[data-tool="move"],.boc-wrap:has(.boc-leftbar [data-tool="move"].active) .boc-stage{cursor:grab}
.boc-wrap:has(.boc-leftbar [data-tool="move"].active) .boc-stage:active{cursor:grabbing}
.boc-object{touch-action:none;z-index:3}
.boc-object-content{position:relative;display:block;pointer-events:none;min-width:34px;min-height:24px}
.boc-object-content img{display:block;max-width:190px;max-height:190px;pointer-events:none}
.boc-object.text .boc-object-content{min-width:110px;text-align:center}
.boc-text-inner{display:block;padding:3px 6px;white-space:pre}
.boc-curved-text{display:block;width:260px;height:105px;overflow:visible}
.boc-curved-text text{font-size:38px}
.boc-object.selected{border:2px dashed #5b2a90;box-shadow:0 0 0 2px #fff;z-index:8}
.boc-handle{position:absolute!important;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#32105f!important;border:2px solid #5b2a90!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;line-height:1!important;box-shadow:0 3px 8px #0003!important;z-index:12;touch-action:none}
.boc-h-delete{left:-16px;top:-16px;color:#c21b1b!important}.boc-h-duplicate{left:-16px;bottom:-16px}.boc-h-rotate{right:-16px;top:-16px}.boc-h-resize{right:-16px;bottom:-16px;cursor:nwse-resize}
.boc-selected-panel{border-color:#5b2a90!important;box-shadow:0 0 0 2px #eadff5}
.boc-selected-panel summary{background:#5b2a90!important;color:#fff!important}
.boc-selected-type{display:flex;flex-direction:column;margin-bottom:8px}.boc-selected-type small{color:#777}
.boc-selected-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.boc-selected-grid label{margin:0!important;font-size:11px}
.boc-measure{font-size:11px;color:#6e6178;background:#f4eef9;padding:7px;border-radius:8px}
.boc-selected-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.boc-selected-actions .danger{background:#b42318!important}
.boc-reset-curve{width:100%;background:#f1e9f8!important;color:#32105f!important;border:1px solid #d4c1e6!important;margin-top:5px}
.boc-upload-status{font-size:11px;color:#5b2a90;margin:5px 0 10px}
.boc-preview-card-full{grid-template-columns:minmax(200px,1fr) 1.2fr auto}.boc-preview-card-full>div{height:auto}
.boc-preview-views{display:flex;gap:6px;overflow-x:auto}.boc-preview-view{min-width:105px!important;height:auto!important;text-align:center}.boc-preview-view img{width:105px;height:105px;object-fit:contain;background:#fff;border:1px solid #ddd;border-radius:8px}.boc-preview-view small{display:block;margin-top:3px;color:#675878}
.boc-guide-replay{border:0;background:#32105f;color:#fff;border-radius:12px;padding:12px 16px;font-weight:800}
@media(max-width:900px){
 .boc-object-content img{max-width:130px;max-height:130px}
 .boc-handle{width:26px!important;height:26px!important;min-height:26px!important}
 .boc-curved-text{width:190px;height:90px}.boc-curved-text text{font-size:34px}
 .boc-preview-card-full{grid-template-columns:1fr}.boc-preview-views{max-width:100%}
}

/* V2.4.0 */
.boc-rename-garment{border:0;background:#fff;color:#5b2a90;border-radius:50%;width:27px;height:27px;margin-left:4px;cursor:pointer;font-weight:800}
.boc-selected-grid-compact{display:grid;grid-template-columns:1fr 1fr;gap:7px}.boc-selected-grid-compact input{width:100%}
.boc-color-categories{display:flex;flex-direction:column;gap:7px;max-height:260px;overflow:auto;border:1px solid #e4d9ed;border-radius:10px;padding:8px;background:#fbf9fd}.boc-color-category>b{font-size:11px;display:block;margin-bottom:4px;color:#47255e}.boc-color-category>div{display:flex;flex-wrap:wrap;gap:5px}.boc-color-category button{width:25px;height:25px;border-radius:50%;background:var(--pc);border:2px solid #fff;outline:1px solid #c3b7cc;cursor:pointer}.boc-color-category button.active{outline:3px solid #5b2a90}
.boc-text-align{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.boc-text-align>div{display:flex;gap:5px}.boc-text-align button{min-width:42px;padding:7px;border-radius:8px;border:1px solid #d9cae7;background:#fff;color:#4a245f}.boc-text-align button.active{background:#5b2a90;color:#fff}
.boc-curve-3{border:1px solid #e2d6ec;border-radius:10px;padding:8px;margin-top:8px;background:#fbf9fd}.boc-curve-3 small{display:block;color:#777;margin-bottom:5px}.boc-curve-3 label{display:grid!important;grid-template-columns:62px 1fr;gap:7px;align-items:center;margin:4px 0!important}.boc-text-hint{font-size:11px;color:#6e6178;background:#f4eef9;border-radius:8px;padding:8px}.boc-text-inner{display:block;min-width:170px;white-space:pre-wrap}
.boc-preview-view{min-width:180px!important}.boc-preview-view img{width:180px!important;height:180px!important}.boc-preview-card-full{grid-template-columns:minmax(390px,1.3fr) 1fr auto}
.boc-creation-row{display:grid!important;grid-template-columns:90px 1fr auto auto!important;gap:10px;align-items:center}.boc-creation-thumb{width:84px;height:84px;border:1px solid #ded4e7;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.boc-creation-thumb img{width:100%;height:100%;object-fit:contain}.boc-creation-thumb span{font-size:10px;color:#777;text-align:center}
@media(min-width:901px){.boc-selected-floating{position:fixed!important;right:325px!important;top:170px!important;width:315px!important;max-height:540px!important;z-index:999990!important;overflow:auto!important;border:2px solid #8b5eb0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 12px 30px rgba(61,30,85,.2)!important;margin:0!important}.boc-selected-floating summary{position:sticky;top:0;z-index:2;background:#5b2a90!important;color:#fff!important}}
@media(max-width:900px){.boc-selected-floating{position:static!important;width:auto!important;max-height:none!important;box-shadow:none!important}.boc-preview-view{min-width:130px!important}.boc-preview-view img{width:130px!important;height:130px!important}.boc-preview-card-full{grid-template-columns:1fr}}

/* V2.5.0 */
.boc-help-home{width:min(820px,94vw)!important}
.boc-help-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.boc-help-choice-grid section{border:1px solid #ddcfeb;background:#fbf8fe;border-radius:18px;padding:20px;text-align:left}
.boc-help-choice-icon{font-size:34px}.boc-help-choice-grid h3{font-size:23px;margin:8px 0;color:#32105f}.boc-help-choice-grid p{color:#6c6470;line-height:1.5}
.boc-help-phone,.boc-help-choice-grid button{display:block;width:100%;box-sizing:border-box;background:#3b0d68;color:#fff!important;text-align:center;text-decoration:none;border:0;border-radius:12px;padding:13px 15px;font-weight:800}
.boc-guide-tour[hidden]{display:none}.boc-guide-tour{position:fixed;inset:0;background:rgba(28,18,36,.52);z-index:1000002;pointer-events:none}
.boc-tour-card{position:fixed;width:min(390px,88vw);background:#fff;border-radius:18px;padding:20px;box-shadow:0 18px 60px #0005;pointer-events:auto}
.boc-tour-progress{height:6px;background:#eee6f6;border-radius:10px;overflow:hidden}.boc-tour-progress i{display:block;height:100%;background:#6f2dbd;width:0}.boc-tour-count{display:block;margin-top:10px;color:#5b2a90;font-weight:800}.boc-tour-card h3{font-size:24px;margin:8px 0}.boc-tour-card p{font-size:16px;line-height:1.45}.boc-tour-actions{display:flex;justify-content:space-between;gap:10px}.boc-tour-actions button{border:0;border-radius:10px;padding:11px 14px;font-weight:800}.boc-tour-next{background:#421174;color:#fff}.boc-tour-prev{background:#f0e8f7;color:#421174}.boc-tour-skip{display:block;margin:12px auto 0;border:0;background:none;text-decoration:underline;color:#6b6171}
.boc-tour-highlight{position:relative;z-index:1000003!important;box-shadow:0 0 0 4px #8d54c7,0 0 0 9999px rgba(20,12,26,.18)!important;border-radius:12px!important}
.boc-curve-help{font-size:11px;color:#5d4b68;background:#f3edf8;border-radius:9px;padding:8px}
.boc-live-curve{position:absolute;left:50%;top:100%;transform:translateX(-50%);width:340px;height:82px;z-index:18;pointer-events:auto}
.boc-live-curve svg{width:100%;height:100%;overflow:visible}.boc-live-curve path{fill:none;stroke:#4ea5ff;stroke-width:3}.boc-live-curve circle{fill:#19a957;stroke:#fff;stroke-width:2;cursor:ns-resize;pointer-events:all}
.boc-selected-floating{position:absolute!important;right:16px!important;top:16px!important;width:315px!important;max-height:520px!important;z-index:40!important}
.boc-selected-floating[hidden]{display:none!important}
.boc-upload-modal[hidden]{display:none}.boc-upload-modal{position:fixed;inset:0;z-index:1000005;background:rgba(22,12,30,.72);display:flex;align-items:center;justify-content:center;padding:18px}
.boc-upload-card{position:relative;width:min(760px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:22px}.boc-upload-close{position:absolute;right:12px;top:10px;border:0;background:#f0e9f6;width:38px;height:38px;border-radius:50%;font-size:25px}
.boc-upload-anim{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}.boc-upload-ring{width:36px;height:36px;border:4px solid #e8dcf2;border-top-color:#5b2a90;border-radius:50%;animation:bocspin .8s linear infinite}.boc-upload-percent{font-size:22px;font-weight:900;color:#5b2a90}@keyframes bocspin{to{transform:rotate(360deg)}}
.boc-upload-bar{height:9px;background:#eee6f5;border-radius:10px;overflow:hidden}.boc-upload-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#5b2a90,#a55eea);transition:width .15s}
.boc-upload-analysis{margin:12px 0}.boc-analysis-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.boc-analysis-grid div{background:#f8f4fb;border:1px solid #e3d8ed;border-radius:10px;padding:9px}.boc-analysis-grid b,.boc-analysis-grid span{display:block}.boc-analysis-grid span{font-size:12px;margin-top:3px}.boc-analysis-warning{background:#fff5db;border:1px solid #f1d486;padding:8px;border-radius:9px}
.boc-upload-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}.boc-upload-compare div{border:1px solid #ddd3e7;border-radius:12px;padding:8px;text-align:center}.boc-upload-compare img{width:100%;height:230px;object-fit:contain;background:#f5f5f5}.boc-upload-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.boc-upload-actions button{border:0;border-radius:10px;padding:11px 14px;font-weight:800}.boc-upload-cancel{background:#eee;color:#333}.boc-upload-use{background:#5b2a90;color:#fff}.boc-upload-ai{background:#241331;color:#fff}
.boc-preview-view{min-width:240px!important}.boc-preview-view img{width:240px!important;height:240px!important}.boc-preview-card-full{grid-template-columns:minmax(520px,1.5fr) 1fr auto}
@media(max-width:900px){
 .boc-help-choice-grid{grid-template-columns:1fr}.boc-analysis-grid{grid-template-columns:1fr 1fr}.boc-upload-compare{grid-template-columns:1fr}.boc-selected-floating{position:static!important;width:auto!important;max-height:none!important}.boc-live-curve{width:260px}
 .boc-preview-view{min-width:150px!important}.boc-preview-view img{width:150px!important;height:150px!important}.boc-preview-card-full{grid-template-columns:1fr}
}

.boc-panel summary{user-select:none}
/* V2.6.1 */
.boc-print-zone{border:0!important;background:
 repeating-linear-gradient(90deg,#5b2a90 0 9px,transparent 9px 13px,#7cff54 13px 22px,transparent 22px 26px) top left/100% 4px no-repeat,
 repeating-linear-gradient(90deg,#5b2a90 0 9px,transparent 9px 13px,#7cff54 13px 22px,transparent 22px 26px) bottom left/100% 4px no-repeat,
 repeating-linear-gradient(0deg,#5b2a90 0 9px,transparent 9px 13px,#7cff54 13px 22px,transparent 22px 26px) top left/4px 100% no-repeat,
 repeating-linear-gradient(0deg,#5b2a90 0 9px,transparent 9px 13px,#7cff54 13px 22px,transparent 22px 26px) top right/4px 100% no-repeat!important}
.boc-selected-floating{border:1px solid #d7c3eb!important;border-radius:16px!important;box-shadow:0 14px 40px rgba(46,18,70,.18)!important;background:#fff!important;overflow:auto!important}.boc-selected-floating summary{display:none!important}.boc-panel-selected{padding:12px!important}.boc-selected-card{display:grid;gap:13px}.boc-selected-head{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;border-bottom:1px solid #eee4f7;padding-bottom:10px}.boc-selected-head strong{display:block;color:#30104f;font-size:15px}.boc-selected-head small{display:block;color:#786887;font-size:11px;word-break:break-word;margin-top:2px}.boc-selected-trash{width:40px;height:40px;border-radius:12px!important;background:#fff0f1!important;color:#b42318!important;border:1px solid #ffc9cc!important;padding:0!important;font-size:18px!important}.boc-control-row{background:#f8f4fc;border:1px solid #e7daf3;border-radius:12px;padding:10px}.boc-control-row>label{display:flex!important;justify-content:space-between;align-items:center;margin:0 0 7px!important}.boc-control-row b{color:#5b2a90}.boc-range-line{display:grid;grid-template-columns:48px 1fr 48px;gap:7px;align-items:center}.boc-range-line button{padding:8px 5px!important;border-radius:9px!important}.boc-range-line input[type=range]{padding:0!important;border:0!important}.boc-selected-textarea{min-height:130px!important;resize:vertical!important;line-height:1.45!important}.boc-selected-actions{display:block!important;margin-top:2px!important}.boc-selected-duplicate{width:100%;background:#5b2a90!important;color:#fff!important;border-radius:11px!important}.boc-h-delete{font-size:0!important;background:#fff!important}.boc-h-delete:after{content:'🗑';font-size:16px}.boc-live-curve{width:420px!important;height:92px!important;touch-action:none}.boc-live-curve svg{touch-action:none}.boc-live-curve path{stroke:#39a8ff!important;stroke-width:3.5!important}.boc-live-curve circle{fill:#20ae55!important;stroke:#fff!important;stroke-width:3!important;cursor:ns-resize!important}.boc-panel-text .boc-text-list{display:grid;gap:6px;margin:10px 0}.boc-panel-text .boc-text-list button{background:#fff!important;color:#32105f!important;border:1px solid #deccef!important;text-align:left!important;border-radius:9px!important;padding:8px!important}.boc-panel-text .boc-text-list button.active{background:#efe5fa!important;border-color:#5b2a90!important}.boc-qty-stepper{display:grid;grid-template-columns:1fr 38px;border:1px solid #d6c5ef;border-radius:11px;overflow:hidden;background:#fff}.boc-qty-stepper input{border:0!important;border-radius:0!important;height:48px!important;text-align:center;font-weight:800;font-size:15px;appearance:textfield}.boc-qty-stepper input::-webkit-inner-spin-button,.boc-qty-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.boc-qty-arrows{display:grid;grid-template-rows:1fr 1fr;border-left:1px solid #d6c5ef}.boc-qty-arrows button{border:0!important;border-radius:0!important;background:#f1e9fa!important;color:#4b168f!important;padding:0!important;font-size:13px!important;min-height:24px}.boc-qty-arrows button+button{border-top:1px solid #d6c5ef!important}.boc-upload-original{margin:12px 0;border:1px solid #ddd3e7;border-radius:12px;padding:9px;text-align:center}.boc-upload-original img{display:block;width:100%;height:280px;object-fit:contain;background:#f6f6f6;margin-top:7px}.boc-analysis-advice{background:#eef7ff;border:1px solid #c7ddf7;border-radius:10px;padding:9px;color:#244d73}.boc-preview-image-wrap{position:relative}.boc-preview-zoom{position:absolute!important;right:8px;top:8px;width:36px;height:36px;border-radius:50%!important;padding:0!important;font-size:24px!important;line-height:36px!important;background:#5b2a90!important;color:#fff!important;box-shadow:0 3px 12px #0003}.boc-preview-zoom-modal[hidden]{display:none!important}.boc-preview-zoom-modal{position:fixed;inset:0;z-index:2147483646;background:rgba(20,10,30,.78);display:flex;align-items:center;justify-content:center;padding:24px}.boc-preview-zoom-modal>div{position:relative;background:#fff;border-radius:18px;padding:18px;max-width:92vw;max-height:92vh}.boc-preview-zoom-modal img{display:block;max-width:86vw;max-height:82vh;object-fit:contain}.boc-preview-zoom-close{position:absolute;right:10px;top:10px;width:40px;height:40px;border:0;border-radius:50%;background:#f0e8fb;color:#421174;font-size:24px;font-weight:900}
@media(max-width:900px){.boc-live-curve{width:280px!important}.boc-selected-floating{border-radius:12px!important}.boc-upload-original img{height:220px}}

/* V2.6.2 */
.boc-text-inner{white-space:pre!important;width:max-content!important;min-width:max-content!important;max-width:none!important;overflow:visible!important;display:block!important}
.boc-object.text .boc-object-content{width:max-content!important;min-width:max-content!important;max-width:none!important;overflow:visible!important}
.boc-curved-text{width:420px;height:220px;overflow:visible;display:block}
.boc-live-curve{width:420px!important;height:180px!important;top:100%!important;margin-top:4px!important;overflow:visible!important}
.boc-live-curve svg{overflow:visible!important}
.boc-selected-floating{width:340px!important;max-height:610px!important;border:1px solid #d8c8e9!important;border-radius:18px!important;box-shadow:0 18px 46px rgba(40,14,61,.20)!important}
.boc-panel-selected{padding:14px!important;background:#fff!important}
.boc-selected-card{display:grid;gap:11px!important}
.boc-selected-head{display:grid!important;grid-template-columns:42px 1fr!important;gap:10px!important;align-items:center!important;padding:2px 0 11px!important;border-bottom:1px solid #eee5f5!important}
.boc-selected-kind{width:40px;height:40px;border-radius:12px;background:#f1e8fb;color:#5b2a90;display:grid;place-items:center;font-weight:900;font-size:18px;border:1px solid #dbc8ec}
.boc-selected-head strong{font-size:15px!important}.boc-selected-head small{font-size:11px!important;color:#766580!important}
.boc-selected-section{display:grid;gap:8px;background:#faf7fd;border:1px solid #e9def3;border-radius:14px;padding:11px}
.boc-selected-section-title{display:flex;justify-content:space-between;align-items:center;font-size:13px}.boc-selected-section-title b{color:#5b2a90}
.boc-range-line-wide{grid-template-columns:46px 1fr 46px!important}.boc-range-line-rotation{grid-template-columns:50px 1fr 72px 50px!important}
.boc-range-line button{background:#fff!important;color:#32105f!important;border:1px solid #d7c8e6!important;box-shadow:none!important;font-weight:800!important}
.boc-range-line button:hover{background:#efe6f8!important}
.boc-selected-textarea{min-height:120px!important;max-height:180px!important;font-size:13px!important;background:#fff!important}
.boc-partial-color-hint{display:block;color:#6e6079;font-size:10px;line-height:1.4;background:#f2ebf8;padding:7px;border-radius:8px}
.boc-selected-actions-2{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:2px!important}
.boc-selected-duplicate,.boc-selected-delete{width:100%!important;border-radius:11px!important;padding:10px 8px!important;font-weight:900!important}
.boc-selected-duplicate{background:#5b2a90!important;color:#fff!important}.boc-selected-delete{background:#fff0f1!important;color:#b42318!important;border:1px solid #ffc9cc!important}
.boc-inline-text-editor{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);z-index:60;min-width:220px;min-height:80px;padding:10px;border:2px solid #5b2a90;border-radius:10px;background:#fff;color:#111;font:inherit;line-height:1.25;text-align:center;resize:both;box-shadow:0 8px 26px #0003}
.boc-upload-compare[hidden],.boc-upload-original[hidden],.boc-upload-bg[hidden],.boc-upload-quality[hidden]{display:none!important}
.boc-upload-bg,.boc-upload-quality{background:#5b2a90!important;color:#fff!important}.boc-upload-quality{background:#32105f!important}
.boc-leftbar [data-tool="move"] span{font-size:22px!important;filter:saturate(1.25) contrast(1.15)}
@media(max-width:900px){.boc-selected-floating{width:auto!important;max-height:none!important}.boc-live-curve{width:300px!important;height:150px!important}.boc-curved-text{width:300px;height:180px}}

/* V2.6.3 */
.boc-selected-floating{width:340px!important;max-height:590px!important;border:1px solid #d8c8e8!important;border-radius:18px!important;box-shadow:0 16px 40px rgba(55,20,80,.18)!important;overflow:auto!important}
.boc-selected-card{display:grid;gap:12px;padding:14px;background:#fff}.boc-selected-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #eee4f6}.boc-selected-kind{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f2ebfa;color:#4b1476;font-weight:900}.boc-selected-title strong{display:block;color:#2a0d45;font-size:15px}.boc-selected-title small{display:block;color:#82738e;word-break:break-word}.boc-selected-lock{width:40px;height:40px;border:1px solid #dccbea;border-radius:12px;background:#faf7fd;cursor:pointer}.boc-selected-lock.active{background:#4a126f;color:#fff}.boc-selected-section{border:1px solid #eadff3;border-radius:14px;background:#fcfaff;padding:11px}.boc-selected-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.boc-range-line{display:grid;grid-template-columns:auto minmax(80px,1fr) auto auto;gap:7px;align-items:center}.boc-range-line button,.boc-mini-grid button,.boc-copy-view-btn,.boc-curve-actions button{border:1px solid #d7c3e8;background:#fff;color:#3c125e;border-radius:9px;padding:8px 9px;font-weight:700;cursor:pointer}.boc-range-line input[type=range]{width:100%}.boc-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.boc-copy-view-label{display:grid;gap:6px;margin-top:10px}.boc-copy-view{width:100%;padding:8px;border:1px solid #d7c3e8;border-radius:9px}.boc-copy-view-btn{width:100%;margin-top:7px;background:#4a126f;color:#fff}.boc-selected-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.boc-selected-duplicate{background:#4a126f!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:10px!important}.boc-selected-delete{background:#c42821!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:10px!important}.boc-outside-warning{background:#fff4d9;border:1px solid #f0d28a;color:#6b4700;border-radius:10px;padding:9px;font-size:12px}.boc-object.locked{cursor:not-allowed}.boc-inzone-overlay{position:absolute!important;inset:0!important;pointer-events:none!important;z-index:2!important}.boc-object-content{position:relative;z-index:1}.boc-object .boc-handle{z-index:6}.boc-live-curve{z-index:7}.boc-print-zone.boc-snap-x:after{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:2px solid #55e58a;pointer-events:none;z-index:30}.boc-print-zone.boc-snap-y:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:2px solid #55e58a;pointer-events:none;z-index:30}.boc-live-curve{height:240px!important;top:100%!important;margin-top:4px}.boc-live-curve svg{overflow:visible}.boc-shortcuts-help{margin-top:12px;padding:12px;border-radius:12px;background:#f4eef9;border:1px solid #e0d2ed}.boc-shortcuts-help h3{margin:0 0 6px;color:#421469}.boc-shortcuts-help p{margin:0;line-height:1.45;font-size:12px}

/* V2.7.2 — affichage tarif client */
.boc-unit-price-float{position:absolute;left:18px;bottom:18px;z-index:42;display:flex;flex-direction:column;gap:4px;min-width:210px;padding:11px 16px;border-radius:14px;background:rgba(50,16,95,.96);color:#fff;box-shadow:0 8px 24px rgba(50,16,95,.22)}
.boc-unit-price-float[hidden]{display:none!important}.boc-unit-price-float span{font-size:11px;font-weight:700;letter-spacing:.02em;opacity:.9}.boc-unit-price-float strong{font-size:27px;line-height:1.05;font-weight:900;white-space:nowrap}.boc-discount{line-height:1.45}
@media(max-width:900px){.boc-unit-price-float{left:10px;bottom:9px;min-width:150px;padding:8px 11px;border-radius:11px}.boc-unit-price-float span{font-size:9px}.boc-unit-price-float strong{font-size:21px}.boc-stage-note{padding-left:165px}}

.boc-price-table-open{margin-top:6px;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.12);color:#fff;border-radius:9px;padding:6px 9px;font-size:11px;font-weight:800;cursor:pointer;text-align:center}.boc-price-table-open:hover{background:#fff;color:#32105f}.boc-price-table-modal>div{width:min(620px,94vw)}.boc-price-table-modal h2{margin:0 0 4px;color:#32105f}.boc-price-table-sub{margin:0 0 14px;color:#6b587e;font-size:13px}.boc-price-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e2d5f4;border-radius:13px;overflow:hidden}.boc-price-table th,.boc-price-table td{padding:11px 13px;text-align:right;border-bottom:1px solid #eee7f8}.boc-price-table th:first-child,.boc-price-table td:first-child{text-align:left}.boc-price-table thead th{background:#f1e9fb;color:#32105f;font-size:12px}.boc-price-table tbody tr:last-child td{border-bottom:0}.boc-price-table tbody td strong{color:#4b168f;font-size:16px}.boc-price-table-note{display:block;margin-top:12px;color:#786b84;line-height:1.4}
@media(max-width:900px){.boc-unit-price-float{min-width:170px}.boc-price-table-open{font-size:9px;padding:5px 7px}.boc-price-table th,.boc-price-table td{padding:9px 8px}}

/* V2.7.6 — Sélecteur produit Core natif + préchargement */
.boc-product-picker{align-items:center!important;justify-content:center!important;padding:20px!important}
.boc-product-picker>div{width:min(1240px,96vw)!important;max-width:1240px!important;height:min(850px,92vh)!important;max-height:92vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:20px 22px!important;box-sizing:border-box!important}
.boc-product-picker h2{margin:0 48px 12px 0;font-size:28px;color:#25172f}
.boc-product-picker .boc-product-search{flex:0 0 auto}
.boc-picker-toolbar{flex:0 0 auto;border:1px solid #eadff2;background:#fcfaff;border-radius:14px;padding:10px 12px;margin:10px 0 14px;display:grid;gap:9px}
.boc-picker-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.boc-picker-row>strong{font-size:12px;color:#67556f;min-width:62px}.boc-picker-filters,.boc-picker-genders{display:flex;gap:7px;flex-wrap:wrap;margin:0}.boc-picker-filters button,.boc-picker-genders button,.boc-picker-reset{border:1px solid #d6c5ef!important;background:#fff!important;color:#32105f!important;border-radius:999px!important;padding:7px 11px!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important}.boc-picker-filters button.active,.boc-picker-genders button.active{background:#32105f!important;color:#fff!important;border-color:#32105f!important}.boc-picker-count{margin-left:auto;color:#71617b;font-size:12px;font-weight:800}.boc-picker-reset{border-style:dashed!important;margin-left:5px}
.boc-product-picker .boc-product-grid{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:2px 3px 12px;align-content:start;scrollbar-gutter:stable}
.boc-product-picker .boc-product-card{min-width:0;background:#fff!important;color:#24113e!important;border:1px solid #e4d8f8!important;border-radius:14px!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;box-shadow:none!important;transition:.12s ease!important}.boc-product-picker .boc-product-card:hover{border-color:#cbb7da!important;box-shadow:0 7px 20px rgba(50,16,95,.08)!important;transform:translateY(-1px)}
.boc-product-select{display:flex!important;flex-direction:column!important;flex:1!important;width:100%!important;border:0!important;background:#fff!important;color:#24113e!important;padding:0!important;text-align:left!important;cursor:pointer!important}.boc-product-card-media{height:205px!important;background:#f7f4f9!important;padding:10px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.boc-product-card-media .boc-neutral-render,.boc-product-card-media canvas{width:100%!important;height:100%!important}.boc-product-card-copy{display:block!important;padding:9px 12px 8px!important}.boc-product-card-copy strong{display:block!important;font-size:14px!important;line-height:1.25!important;color:#21142c!important;margin:0!important}.boc-product-card-copy small{display:block!important;font-size:11px!important;color:#766780!important;margin-top:3px!important;word-break:break-word}.boc-product-card-copy em{display:block!important;font-style:normal!important;font-size:11px!important;color:#8a7a91!important;margin-top:3px!important}.boc-product-more{margin:0 10px 10px!important;border:1px solid #d9cae3!important;background:#fff!important;color:#4d176f!important;border-radius:9px!important;padding:8px 10px!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important}.boc-product-more:hover{background:#faf6fd!important}.boc-picker-empty{grid-column:1/-1;padding:46px 20px;text-align:center;color:#766780;border:1px dashed #d8cbe2;border-radius:14px;background:#fff;font-weight:700}
.boc-info-copy h2{margin-top:0}.boc-info-desc{line-height:1.5}.boc-info-color-row{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin:10px 0}.boc-info-colors{display:flex;gap:7px;flex-wrap:wrap}.boc-info-swatch{width:22px;height:22px;border-radius:50%;background:var(--sw);border:2px solid #fff;box-shadow:0 0 0 1px #888;display:inline-block}.boc-product-info>div{width:min(980px,94vw)!important}.boc-product-info .boc-info-photo{min-height:320px}
@media(max-width:1024px){.boc-product-picker .boc-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.boc-product-picker{padding:7px!important}.boc-product-picker>div{width:100%!important;height:96vh!important;max-height:96vh!important;border-radius:16px!important;padding:14px!important}.boc-product-picker h2{font-size:22px}.boc-product-picker .boc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.boc-product-card-media{height:150px!important}.boc-picker-count{margin-left:0;width:100%}}

.boc-product-picker>div{position:relative!important}.boc-picker-loading{position:absolute;inset:0;z-index:20;background:rgba(255,255,255,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#32105f;border-radius:22px}.boc-picker-loading[hidden]{display:none!important}.boc-picker-loading small{color:#7c6b85}.boc-picker-spinner{width:38px;height:38px;border:4px solid #e8dff0;border-top-color:#32105f;border-radius:50%;animation:bocPickerSpin .75s linear infinite}@keyframes bocPickerSpin{to{transform:rotate(360deg)}}


/* V2.7.7 — actions produit visibles + recherche globale */
.boc-product-picker .boc-product-card{min-height:315px!important}
.boc-product-picker .boc-product-more{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-height:38px!important;margin:0 10px 10px!important;box-sizing:border-box!important;position:relative!important;z-index:3!important;text-align:center!important;user-select:none!important}
.boc-product-picker .boc-product-more:focus{outline:3px solid rgba(89,23,166,.22)!important;outline-offset:1px!important}
.boc-product-picker .boc-product-card-copy{min-height:66px!important}

/* V2.7.9 — uniquement bouton En savoir plus compact (base V2.7.7) */
.boc-product-picker .boc-product-more{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  align-self:center!important;width:auto!important;min-height:0!important;
  margin:6px auto 9px!important;padding:5px 10px!important;
  border:1px solid #d8c9e2!important;border-radius:999px!important;
  background:#fff!important;color:#4d176f!important;font-size:11px!important;
  line-height:1.15!important;font-weight:800!important;cursor:pointer!important;
}
.boc-product-picker .boc-product-more:hover{background:#faf6fd!important;border-color:#bda7cf!important}


/* V2.7.10 — bouton En savoir plus normal, toujours visible */
.boc-product-picker .boc-product-card{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;}
.boc-product-picker .boc-product-select{flex:1 1 auto!important;min-height:0!important;}
.boc-product-picker .boc-product-more{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;
  width:calc(100% - 20px)!important;max-width:none!important;align-self:stretch!important;
  margin:8px 10px 10px!important;padding:0 12px!important;box-sizing:border-box!important;
  border:1px solid #d8c9e2!important;border-radius:8px!important;
  background:#fff!important;color:#4d176f!important;font-size:12px!important;line-height:1!important;
  font-weight:800!important;cursor:pointer!important;position:relative!important;z-index:5!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.boc-product-picker .boc-product-more:hover{background:#faf6fd!important;border-color:#bda7cf!important;}

/* === V2.8.0 — Edition texte avancée / poignées rapprochées === */
.boc-object.text{white-space:normal!important;font-size:initial!important;font-weight:initial!important}
.boc-object.text .boc-object-content{display:inline-block!important;width:max-content!important;min-width:0!important;min-height:0!important;max-width:none!important;overflow:visible!important;text-align:inherit!important}
.boc-text-inner{display:inline-block!important;width:max-content!important;min-width:0!important;max-width:none!important;padding:1px 2px!important;white-space:pre!important;line-height:1.12!important;overflow:visible!important}
.boc-curved-text{display:block!important;overflow:visible!important}
.boc-object.selected{border:2px dashed #6b21a8!important;box-shadow:0 0 0 2px rgba(255,255,255,.95),0 4px 14px rgba(60,12,100,.20)!important;border-radius:4px}
.boc-handle{width:34px!important;height:34px!important;min-height:34px!important;border:3px solid #fff!important;box-shadow:0 3px 12px rgba(0,0,0,.30)!important;font-size:20px!important;font-family:Arial,sans-serif!important;font-weight:900!important;line-height:1!important;transition:transform .12s ease,box-shadow .12s ease!important}
.boc-handle:hover{transform:scale(1.12)!important;box-shadow:0 5px 15px rgba(0,0,0,.36)!important}
.boc-h-delete{left:-19px!important;top:-19px!important;background:#d92d20!important;color:#fff!important;font-size:24px!important}
.boc-h-delete:after{content:none!important}
.boc-h-duplicate{left:-19px!important;bottom:-19px!important;background:#fff!important;color:#4b1476!important;border-color:#6b21a8!important}
.boc-h-rotate{right:-19px!important;top:-19px!important;background:#5b21b6!important;color:#fff!important}
.boc-h-resize{right:-19px!important;bottom:-19px!important;background:#0f7dbd!important;color:#fff!important;cursor:nwse-resize!important}

/* Barre type Photoshop, volontairement compacte */
.boc-ps-toolbar{display:grid;grid-template-columns:minmax(125px,1.45fr) 84px 64px auto;gap:7px;align-items:end;margin-bottom:9px}
.boc-ps-toolbar label{display:grid!important;gap:4px!important;margin:0!important;font-size:10px!important;color:#786887!important;font-weight:800!important}
.boc-ps-toolbar select,.boc-ps-toolbar input[type=number]{height:36px!important;padding:6px 8px!important;border-radius:8px!important;font-size:12px!important}
.boc-size-input-wrap{display:grid;grid-template-columns:1fr 24px;align-items:center;border:1px solid #d6c5ef;border-radius:8px;background:#fff;overflow:hidden}
.boc-size-input-wrap input{border:0!important;border-radius:0!important;height:34px!important}
.boc-size-input-wrap i{font-style:normal;font-size:10px;color:#7d6b89;text-align:center}
.boc-color-picker-label input[type=color]{width:100%!important;height:36px!important;padding:3px!important;border:1px solid #d6c5ef!important;border-radius:8px!important;background:#fff!important;cursor:pointer}
.boc-text-align.compact{display:flex;gap:3px;align-items:center;height:36px}
.boc-text-align.compact button{width:34px!important;height:34px!important;padding:0!important;border:1px solid #d7c3e8!important;background:#fff!important;color:#3c125e!important;border-radius:7px!important;font-size:17px!important}
.boc-text-align.compact button.active{background:#4a126f!important;color:#fff!important}
.boc-quick-colors{display:flex;gap:7px;flex-wrap:wrap;margin:3px 0 7px}
.boc-quick-colors button{width:25px!important;height:25px!important;min-height:25px!important;border-radius:6px!important;padding:0!important;background:var(--qc)!important;border:2px solid #fff!important;outline:1px solid #cbb9da!important;box-shadow:0 1px 3px #0002!important}
.boc-partial-color-hint{display:block;color:#6f5d7b;font-size:11px;line-height:1.35;margin:-2px 0 4px}
.boc-curve-actions{display:flex!important;gap:7px!important}
.boc-curve-actions button{flex:1}

/* Edition par double-clic directement depuis l'aperçu */
.boc-inline-editor-pop{position:absolute;z-index:80;width:min(380px,calc(100% - 20px));background:#fff;border:1px solid #cab5dd;border-radius:12px;box-shadow:0 14px 38px rgba(25,5,45,.28);padding:8px}
.boc-inline-toolbar{display:grid;grid-template-columns:minmax(115px,1fr) 70px 44px auto 36px;gap:5px;align-items:center;margin-bottom:6px}
.boc-inline-toolbar select,.boc-inline-toolbar input{height:34px;border:1px solid #d6c5ef;border-radius:7px;background:#fff;color:#24113e;padding:4px 6px;box-sizing:border-box}
.boc-inline-toolbar label{display:grid;grid-template-columns:1fr 20px;align-items:center;border:1px solid #d6c5ef;border-radius:7px;overflow:hidden;background:#fff}
.boc-inline-toolbar label input{border:0;border-radius:0;width:100%;padding:4px}
.boc-inline-toolbar label span{font-size:10px;color:#7c6a87;text-align:center}
.boc-inline-color{padding:2px!important;width:44px!important}
.boc-inline-align{display:flex;gap:2px}
.boc-inline-align button,.boc-inline-done{width:31px!important;height:32px!important;min-height:32px!important;padding:0!important;border-radius:6px!important;border:1px solid #d7c3e8!important;background:#f8f3fc!important;color:#3d125e!important;font-weight:900!important}
.boc-inline-done{background:#4b1476!important;color:#fff!important;border-color:#4b1476!important}
.boc-inline-textarea{display:block;width:100%;min-height:92px;max-height:190px;resize:vertical;border:2px solid #5b2a90;border-radius:8px;padding:9px;box-sizing:border-box;font-size:15px;line-height:1.35;outline:none}
.boc-inline-editor-pop>small{display:block;color:#75627f;font-size:10px;margin-top:5px}

/* Le message de dépassement reste volontairement masqué côté client. */
.boc-outside-warning{display:none!important}

@media(max-width:900px){
 .boc-ps-toolbar{grid-template-columns:1fr 78px 58px}.boc-text-align.compact{grid-column:1/-1}
 .boc-handle{width:32px!important;height:32px!important;min-height:32px!important}
 .boc-inline-editor-pop{left:10px!important;right:10px!important;width:auto!important;top:70px!important}
 .boc-inline-toolbar{grid-template-columns:1fr 66px 42px 1fr 34px}
}

/* V2.8.1 text editor ergonomics */
.boc-object{overflow:visible!important}
.boc-handle:hover{transform:none!important}
.boc-h-delete{left:0!important;top:0!important;transform:translate(-120%,-120%)!important}
.boc-h-duplicate{left:0!important;bottom:0!important;transform:translate(-120%,120%)!important}
.boc-h-rotate{right:0!important;top:0!important;transform:translate(120%,-120%)!important}
.boc-h-resize{right:0!important;bottom:0!important;transform:translate(120%,120%)!important}
.boc-inline-editor-pop{left:14px!important;top:14px!important;width:min(360px,calc(100% - 28px));padding:10px!important;box-shadow:0 10px 26px rgba(25,5,45,.18)!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(3px)}
.boc-inline-toolbar{grid-template-columns:minmax(115px,1fr) 72px 46px auto 38px!important}
.boc-inline-align button.active{background:#4b1476!important;color:#fff!important;border-color:#4b1476!important}
.boc-selected-text-note p{margin:0 0 8px;color:#5c4a6a;line-height:1.4}
@media (max-width:900px){.boc-inline-editor-pop{left:10px!important;right:10px!important;top:62px!important;width:auto!important}}


/* === V2.9.0 — ergonomie texte type Photoshop === */
.boc-handle{transition:box-shadow .12s ease,filter .12s ease!important}
.boc-h-delete,.boc-h-delete:hover{left:0!important;top:0!important;transform:translate(-120%,-120%)!important}
.boc-h-duplicate,.boc-h-duplicate:hover{left:0!important;bottom:0!important;transform:translate(-120%,120%)!important}
.boc-h-rotate,.boc-h-rotate:hover{right:0!important;top:0!important;transform:translate(120%,-120%)!important}
.boc-h-resize,.boc-h-resize:hover{right:0!important;bottom:0!important;transform:translate(120%,120%)!important}
.boc-handle:hover{filter:brightness(1.08);box-shadow:0 5px 15px rgba(0,0,0,.36)!important}
.boc-selection-actions-float{position:absolute;left:14px;top:14px;z-index:79;width:min(410px,43%);background:rgba(255,255,255,.96);border:1px solid #d7c3e8;border-radius:13px;padding:8px;box-shadow:0 10px 24px rgba(31,8,55,.16);backdrop-filter:blur(3px)}
.boc-selection-actions-float[hidden]{display:none!important}.boc-action-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.boc-action-row+.boc-action-row{margin-top:6px;padding-top:6px;border-top:1px solid #eee4f5}.boc-action-row>button{border:1px solid #d7c3e8;background:#faf7fd;color:#421469;border-radius:8px;padding:6px 8px;font-weight:800;cursor:pointer}.boc-action-row>button:hover{background:#efe5f8}.boc-action-row>button:disabled{opacity:.4}.boc-action-row>button span{font-size:10px;margin-left:2px}.boc-action-views>span{font-size:10px;color:#796687;font-weight:800;margin-right:2px}
.boc-inline-editor-pop.boc-photoshop-text{left:auto!important;right:14px!important;top:14px!important;width:min(430px,42%)!important;padding:10px!important;background:rgba(255,255,255,.97)!important;border:1px solid #cbb8df!important;box-shadow:0 12px 32px rgba(28,7,50,.20)!important;backdrop-filter:blur(4px)}
.boc-text-toolbar-top{display:grid;grid-template-columns:minmax(120px,1fr) 122px 42px 102px 36px;gap:5px;align-items:center}.boc-font-picker{position:relative}.boc-font-current{width:100%;height:36px;border:1px solid #d5c5e5!important;background:#fff!important;color:#251038!important;border-radius:7px!important;padding:5px 8px!important;display:flex;justify-content:space-between;align-items:center;font-weight:600!important}.boc-font-menu{position:absolute;top:39px;left:0;width:240px;max-height:280px;overflow:auto;background:#fff;border:1px solid #cdb8de;border-radius:9px;box-shadow:0 12px 30px #0003;padding:5px;z-index:90}.boc-font-menu[hidden]{display:none!important}.boc-font-menu button{display:block;width:100%;border:0!important;background:#fff!important;color:#22102f!important;text-align:left;padding:8px 9px!important;border-radius:6px!important;font-size:17px!important;font-weight:500!important}.boc-font-menu button:hover{background:#f0e6fa!important;color:#421469!important}.boc-px-stepper{height:36px;display:grid;grid-template-columns:28px 1fr 18px 28px;border:1px solid #d6c5ef;border-radius:7px;overflow:hidden;background:#fff}.boc-px-stepper button{border:0!important;border-radius:0!important;background:#f3ecfa!important;color:#4b1476!important;padding:0!important;font-size:19px!important}.boc-px-stepper input{width:100%;min-width:0;border:0!important;padding:4px!important;text-align:center;font-weight:800}.boc-px-stepper span{font-size:9px;align-self:center;color:#7e7086}.boc-inline-color{width:42px!important;height:36px!important;padding:2px!important;border:1px solid #d6c5ef!important;border-radius:7px!important}.boc-inline-align{display:grid!important;grid-template-columns:repeat(3,1fr);gap:3px}.boc-inline-align button{width:32px!important;height:34px!important;padding:0!important;border:1px solid #d7c3e8!important;background:#faf7fd!important}.boc-inline-align button.active{background:#4b1476!important;color:#fff!important}.boc-align-icon{display:block;width:17px;height:14px;margin:auto;background:repeating-linear-gradient(to bottom,currentColor 0 2px,transparent 2px 4px);position:relative}.boc-align-icon.left{clip-path:polygon(0 0,100% 0,100% 14%,72% 14%,72% 30%,100% 30%,100% 44%,58% 44%,58% 60%,100% 60%,100% 74%,76% 74%,76% 88%,100% 88%,100% 100%,0 100%)}.boc-align-icon.center{clip-path:polygon(12% 0,88% 0,88% 14%,25% 14%,25% 30%,75% 30%,75% 44%,12% 44%,12% 60%,88% 60%,88% 74%,25% 74%,25% 88%,75% 88%,75% 100%,12% 100%)}.boc-align-icon.right{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 88%,24% 88%,24% 74%,0 74%,0 60%,42% 60%,42% 44%,0 44%,0 30%,28% 30%,28% 14%,0 14%)}
.boc-text-toolbar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:7px;padding-top:7px;border-top:1px solid #eee5f4}.boc-text-toolbar-grid label{display:grid;grid-template-columns:1fr 72px;gap:5px;align-items:center;font-size:10px;color:#6e5b79;font-weight:800}.boc-text-toolbar-grid label>div{display:grid;grid-template-columns:1fr 22px;align-items:center}.boc-text-toolbar-grid input{width:100%;height:30px;box-sizing:border-box;border:1px solid #d6c5ef;border-radius:6px;padding:4px 6px}.boc-text-toolbar-grid em{font-style:normal;font-size:9px;text-align:center;color:#7c6b85}.boc-style-buttons{display:flex;gap:5px;align-items:center;justify-content:flex-end}.boc-style-buttons button{width:32px;height:30px;border:1px solid #d7c3e8!important;background:#faf7fd!important;color:#4b1476!important;border-radius:6px!important;padding:0!important;font-size:15px!important}.boc-style-buttons button.active{background:#4b1476!important;color:#fff!important}.boc-inline-textarea{margin-top:8px!important;width:100%!important;min-height:92px!important;max-height:330px!important;resize:none!important;border:1.8px solid #4b1476!important;border-radius:8px!important;padding:9px!important;box-sizing:border-box!important;line-height:1.35!important;font-size:14px!important}.boc-inline-foot{display:flex;align-items:center;gap:5px;margin-top:5px}.boc-inline-foot small{flex:1;color:#75627f;font-size:9px}.boc-inline-foot button{border:1px solid #d7c3e8!important;background:#faf7fd!important;color:#4b1476!important;border-radius:7px!important;padding:5px 7px!important;font-size:10px!important}
.boc-panel-sequence{padding:9px!important}.boc-seq-help{margin:0 0 8px;font-size:10px;color:#76647f;line-height:1.4}.boc-seq-list{display:grid;gap:5px}.boc-seq-item{display:grid;grid-template-columns:28px 1fr 58px;gap:5px;align-items:center;border:1px solid #e0d3eb;border-radius:9px;background:#fff;padding:5px;cursor:grab}.boc-seq-item.active{border-color:#5b2a90;box-shadow:0 0 0 2px #eee2f8}.boc-seq-item.dragover{border-style:dashed;background:#f5eefb}.boc-seq-num{width:26px;height:26px;border-radius:7px;background:#eee6f6;color:#4b1476;display:grid;place-items:center;font-weight:900;font-size:11px}.boc-seq-select{border:0!important;background:#fff!important;color:#2a153b!important;padding:3px!important;display:grid!important;grid-template-columns:25px 1fr!important;align-items:center;text-align:left!important;min-width:0}.boc-seq-select b{width:22px;height:22px;border-radius:6px;background:#f2ebf8;color:#4b1476;display:grid;place-items:center}.boc-seq-select span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.boc-seq-arrows{display:flex;gap:3px}.boc-seq-arrows button{width:27px;height:27px;padding:0!important;border:1px solid #d7c3e8!important;background:#faf7fd!important;color:#4b1476!important;border-radius:6px!important}.boc-seq-empty{font-size:11px;color:#776785}
@media(max-width:1100px){.boc-inline-editor-pop.boc-photoshop-text{width:min(390px,46%)!important}.boc-selection-actions-float{width:min(370px,45%)}}
@media(max-width:900px){.boc-selection-actions-float{left:8px;right:8px;top:60px;width:auto}.boc-inline-editor-pop.boc-photoshop-text{left:8px!important;right:8px!important;top:118px!important;width:auto!important}.boc-text-toolbar-top{grid-template-columns:1fr 118px 42px 102px 36px}.boc-text-toolbar-grid{grid-template-columns:1fr 1fr}}


/* V2.9.1 — harmonisation blocs + texte instantané */
.boc-text-inner{line-height:var(--boc-line-height,1.2)!important}
/* Bloc actions gauche : plus compact, icônes plus lisibles */
.boc-selection-actions-float{width:270px!important;max-width:30%!important;padding:7px!important;border-radius:11px!important}
.boc-action-row{gap:4px!important}
.boc-action-row:first-child{display:grid!important;grid-template-columns:repeat(5,1fr)!important}
.boc-action-row>button{min-width:0!important;padding:6px 3px!important;font-size:18px!important;line-height:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important}
.boc-action-row>button span{display:block!important;font-size:8px!important;line-height:1.05!important;margin:0!important;font-weight:700!important}
.boc-action-views{display:grid!important;grid-template-columns:auto repeat(3,minmax(0,1fr))!important;align-items:center!important}
.boc-action-views>span{font-size:9px!important}
.boc-action-views>button{font-size:9px!important;padding:6px 4px!important;display:block!important}
/* Bloc texte droite : moins large, cohérent avec bloc gauche */
.boc-inline-editor-pop.boc-photoshop-text{width:360px!important;max-width:36%!important;padding:8px!important;border-radius:11px!important}
.boc-text-toolbar-top{grid-template-columns:minmax(95px,1fr) 112px 38px 92px 34px!important;gap:4px!important}
.boc-text-toolbar-grid{gap:5px!important}
.boc-font-menu{width:220px!important;max-height:250px!important}
/* Suppression des flèches natives du champ px ; seuls - / + restent */
.boc-inline-size{-moz-appearance:textfield!important;appearance:textfield!important}
.boc-inline-size::-webkit-inner-spin-button,.boc-inline-size::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
.boc-px-stepper{grid-template-columns:32px 1fr 18px 32px!important}
.boc-px-stepper button{font-size:21px!important;font-weight:900!important;cursor:pointer!important;pointer-events:auto!important}
.boc-px-stepper button:active{background:#4b1476!important;color:#fff!important}
/* Courbure plus évidente */
.boc-inline-foot{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
.boc-inline-foot small{margin-right:auto!important}
.boc-inline-foot [data-curve-quick]{border:1px solid #5b2a90!important;border-radius:8px!important;padding:7px 10px!important;font-weight:900!important;cursor:pointer!important}
.boc-inline-foot [data-curve-quick="curve"]{background:#5b2a90!important;color:#fff!important}
.boc-inline-foot [data-curve-quick="straight"]{background:#f4ecfb!important;color:#4b1476!important}
/* Edition directe sur le vêtement au double clic */
.boc-canvas-text-edit{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:30;min-width:90px;max-width:520px;max-height:360px;box-sizing:border-box;border:2px solid #5b2a90;border-radius:7px;background:rgba(255,255,255,.92);padding:5px 7px;resize:none;overflow:hidden;outline:none;box-shadow:0 4px 16px #0002;white-space:pre-wrap}
/* les poignées restent fixes */
.boc-handle,.boc-handle:hover{transition:box-shadow .12s ease,filter .12s ease!important;transform:var(--boc-handle-transform,none)!important}
.boc-h-delete{--boc-handle-transform:translate(-120%,-120%)}
.boc-h-duplicate{--boc-handle-transform:translate(-120%,120%)}
.boc-h-rotate{--boc-handle-transform:translate(120%,-120%)}
.boc-h-resize{--boc-handle-transform:translate(120%,120%)}
@media(max-width:1100px){.boc-selection-actions-float{width:245px!important;max-width:34%!important}.boc-inline-editor-pop.boc-photoshop-text{width:335px!important;max-width:42%!important}}
@media(max-width:900px){.boc-selection-actions-float{width:auto!important;max-width:none!important}.boc-inline-editor-pop.boc-photoshop-text{width:auto!important;max-width:none!important}}


/* V2.9.2 — zone actions + reproduction + panneau texte vertical */
.boc-selection-actions-float{width:232px!important;max-width:27%!important;padding:7px!important;top:12px!important;left:12px!important}
.boc-reproduce-zone{padding:6px 6px 8px;margin:-1px -1px 7px;background:#f6f0fb;border:1px solid #e1d2ed;border-radius:9px}
.boc-reproduce-zone strong{display:block;color:#3e155c;font-size:10px;line-height:1.25;margin-bottom:5px}
.boc-reproduce-controls{display:grid;grid-template-columns:1fr 70px;gap:4px}.boc-reproduce-controls select{min-width:0;height:30px;border:1px solid #d7c3e8;border-radius:7px;background:#fff;color:#32105f;padding:3px 5px;font-size:10px}.boc-reproduce-go{grid-column:1/-1;height:31px;border:0!important;border-radius:8px!important;background:#5b2a90!important;color:#fff!important;font-weight:900!important;font-size:10px!important;padding:4px 8px!important}
.boc-zone-actions-title{font-size:10px;font-weight:900;color:#421469;margin:2px 2px 6px;text-transform:uppercase;letter-spacing:.03em}
.boc-action-row:first-of-type{grid-template-columns:repeat(5,1fr)!important}.boc-action-row>button b{font-size:21px;line-height:1}.boc-action-row>button span{font-size:7.5px!important}
.boc-inline-editor-pop.boc-photoshop-text{width:308px!important;max-width:31%!important;top:12px!important;right:12px!important;padding:8px!important;max-height:calc(100% - 24px)!important;overflow:auto!important}
.boc-text-toolbar-top{grid-template-columns:minmax(88px,1fr) 102px 36px!important;grid-template-areas:'font size color' 'align align done'!important;gap:5px!important}.boc-font-picker{grid-area:font}.boc-px-stepper{grid-area:size}.boc-inline-color{grid-area:color}.boc-inline-align{grid-area:align;justify-content:start!important;display:flex!important}.boc-inline-done{grid-area:done;width:36px!important;height:34px!important}
.boc-text-toolbar-vertical{display:grid;gap:5px;margin-top:7px;padding-top:7px;border-top:1px solid #eee5f4}.boc-typ-row{display:grid!important;grid-template-columns:78px 1fr!important;gap:6px!important;align-items:center!important;margin:0!important;font-size:10px!important;color:#6e5b79!important;font-weight:800!important}.boc-value-stepper{height:31px;display:grid;grid-template-columns:30px minmax(0,1fr) 24px 30px;border:1px solid #d6c5ef;border-radius:7px;overflow:hidden;background:#fff}.boc-value-stepper button{border:0!important;border-radius:0!important;background:#f3ecfa!important;color:#4b1476!important;padding:0!important;font-size:19px!important;font-weight:900!important}.boc-value-stepper button:active{background:#4b1476!important;color:#fff!important}.boc-value-stepper input{min-width:0;width:100%;border:0!important;border-radius:0!important;padding:3px 4px!important;text-align:center!important;font-weight:800!important;-moz-appearance:textfield!important;appearance:textfield!important}.boc-value-stepper input::-webkit-inner-spin-button,.boc-value-stepper input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}.boc-value-stepper em{display:grid;place-items:center;font-style:normal;font-size:8px;color:#7a6a83}
.boc-style-buttons{display:grid!important;grid-template-columns:78px repeat(3,34px)!important;gap:5px!important;align-items:center!important;justify-content:start!important}.boc-style-buttons>span{font-size:10px;color:#6e5b79;font-weight:800}.boc-style-buttons button{width:34px!important;height:31px!important}
.boc-inline-textarea{min-height:76px!important;max-height:230px!important;margin-top:7px!important}.boc-inline-foot{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.boc-inline-foot small{grid-column:1/-1!important}.boc-inline-foot [data-curve-quick]{font-size:10px!important;padding:8px 5px!important}.boc-inline-foot [data-curve-quick="curve"]{background:#5b2a90!important;color:#fff!important}.boc-inline-foot [data-curve-quick="straight"]{background:#fff!important;border:2px solid #5b2a90!important;color:#5b2a90!important}
/* L’édition directe au double clic est retirée */
.boc-canvas-text-edit{display:none!important}
@media(max-width:1100px){.boc-selection-actions-float{width:214px!important;max-width:31%!important}.boc-inline-editor-pop.boc-photoshop-text{width:292px!important;max-width:38%!important}}
@media(max-width:900px){.boc-selection-actions-float{left:8px!important;right:8px!important;top:60px!important;width:auto!important;max-width:none!important}.boc-inline-editor-pop.boc-photoshop-text{left:8px!important;right:8px!important;top:210px!important;width:auto!important;max-width:none!important;max-height:55vh!important}}

/* V2.9.3 — actions de zone permanentes + centrage global */
.boc-reproduce-zone small{display:block;margin-top:5px;color:#796987;font-size:8px;line-height:1.25}
.boc-zone-center-row{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:5px}
.boc-zone-center-row button{border:1px solid #d7c3e8;background:#fff;color:#421469;border-radius:8px;padding:6px 4px;display:flex;align-items:center;justify-content:center;gap:5px;font-weight:800;cursor:pointer}
.boc-zone-center-row button:disabled{opacity:.38;cursor:not-allowed}
.boc-zone-center-row button span{font-size:8px;line-height:1.05}
.boc-center-icon{position:relative;display:block;width:28px;height:21px;border-radius:5px;background:#f3ecfa}
.boc-center-icon:before,.boc-center-icon:after,.boc-center-icon i:before,.boc-center-icon i:after{content:"";position:absolute;background:#5b21a6;border-radius:2px}
.boc-center-h:before{left:4px;right:4px;top:5px;height:2px}.boc-center-h:after{left:7px;right:7px;top:14px;height:2px}.boc-center-h i:before{width:2px;top:2px;bottom:2px;left:50%;transform:translateX(-50%)}
.boc-center-v:before{top:3px;bottom:3px;left:7px;width:2px}.boc-center-v:after{top:5px;bottom:5px;left:18px;width:2px}.boc-center-v i:before{height:2px;left:3px;right:3px;top:50%;transform:translateY(-50%)}
.boc-element-actions{margin-top:6px;padding-top:6px;border-top:1px solid #eee4f5}
.boc-zone-toast{position:absolute;left:50%;top:82px;transform:translate(-50%,-8px);z-index:150;background:#2f1454;color:#fff;border-radius:999px;padding:8px 14px;font-size:11px;font-weight:800;box-shadow:0 8px 22px #0003;opacity:0;transition:.2s ease;pointer-events:none;white-space:nowrap}
.boc-zone-toast.show{opacity:1;transform:translate(-50%,0)}


/* V2.9.4 — poignées constantes + panneau image harmonisé */
.boc-object .boc-handle{
  transform-origin:center center!important;
}
.boc-object .boc-h-delete,.boc-object .boc-h-delete:hover{
  transform:translate(-120%,-120%) scale(var(--boc-inv-scale,1))!important;
}
.boc-object .boc-h-duplicate,.boc-object .boc-h-duplicate:hover{
  transform:translate(-120%,120%) scale(var(--boc-inv-scale,1))!important;
}
.boc-object .boc-h-rotate,.boc-object .boc-h-rotate:hover{
  transform:translate(120%,-120%) scale(var(--boc-inv-scale,1))!important;
}
.boc-object .boc-h-resize,.boc-object .boc-h-resize:hover{
  transform:translate(120%,120%) scale(var(--boc-inv-scale,1))!important;
}
@media(min-width:901px){
  .boc-selected-floating{
    position:absolute!important;
    right:12px!important;
    top:12px!important;
    width:308px!important;
    max-height:calc(100% - 24px)!important;
    z-index:79!important;
    border:1px solid #cbb8df!important;
    border-radius:11px!important;
    box-shadow:0 12px 32px rgba(28,7,50,.20)!important;
    overflow:auto!important;
  }
}
.boc-panel-selected{padding:8px!important}
.boc-image-selected-card{gap:9px!important;padding:4px!important;background:#fff!important}
.boc-image-selected-head{grid-template-columns:38px minmax(0,1fr) 36px!important;padding:4px 2px 9px!important;gap:8px!important}
.boc-image-selected-head .boc-selected-kind{width:36px!important;height:36px!important;border-radius:9px!important;background:#f0e7fa!important;color:#57199a!important}
.boc-image-selected-head .boc-selected-title strong{font-size:13px!important}
.boc-image-selected-head .boc-selected-title small{font-size:10px!important;line-height:1.35!important;max-height:30px!important;overflow:hidden!important}
.boc-image-selected-head .boc-selected-lock{width:34px!important;height:34px!important;border-radius:9px!important;padding:0!important}
.boc-image-control-row{border:1px solid #e5d8f1;background:#fbf9fd;border-radius:11px;padding:9px;display:grid;gap:7px}
.boc-image-control-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#35104f}
.boc-image-control-label b{font-size:12px;color:#5b1794}
.boc-image-step-range{display:grid;grid-template-columns:34px minmax(70px,1fr) 40px 34px;gap:6px;align-items:center}
.boc-image-step-range button{height:34px!important;min-height:34px!important;padding:0 5px!important;border:1px solid #dac8ea!important;border-radius:8px!important;background:#fff!important;color:#4d1479!important;font-weight:800!important}
.boc-image-step-range input[type=range]{width:100%!important;padding:0!important;border:0!important;background:transparent!important}
.boc-image-rotation-range{grid-template-columns:46px minmax(70px,1fr) 48px 46px}
.boc-image-selected-help{margin:0!important;padding:7px 9px;border-radius:9px;background:#f5effa;color:#6b5b78;font-size:10px;line-height:1.35}
.boc-image-selected-actions{display:block!important;margin:0!important}
.boc-image-selected-actions .boc-selected-delete{width:100%!important;min-height:38px!important;border-radius:9px!important;font-size:12px!important}

/* V2.9.5 - duplication inter-vêtements */
.boc-copy-garment-personalization{border:0;background:#5b21b6;color:#fff;border-radius:50%;width:29px;height:29px;min-width:29px;margin:3px 1px 3px 4px;padding:0;display:inline-grid;place-items:center;font-size:17px;font-weight:900;cursor:pointer;box-shadow:0 3px 9px rgba(45,10,85,.22)}
.boc-copy-garment-personalization:hover{background:#391066;transform:translateY(-1px)}
.boc-copy-garment-personalization:focus-visible{outline:3px solid #d9c3f4;outline-offset:2px}


/* V3.0.0 recent images */
.boc-recent-wrap{margin:16px 0 14px}
.boc-recent-help{margin:4px 0 10px;color:#6d6078;font-size:12px;line-height:1.45}
.boc-recent-bank{margin-bottom:6px}
.boc-recent-bank p{grid-column:1/-1;margin:0;padding:12px;border:1px dashed #d7cae7;border-radius:12px;color:#6d6078;background:#fbf8ff}

/* V3.0.1 recent image thumbnails */
.boc-recent-bank{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;max-height:none;overflow:visible}
.boc-recent-bank button{display:grid!important;grid-template-columns:58px 1fr;align-items:center;gap:8px;padding:6px!important;min-height:70px;border-radius:12px;text-align:left}
.boc-recent-bank img{width:58px!important;height:58px!important;aspect-ratio:1/1;object-fit:contain;background:#faf7ff;border:1px solid #e7daf6;border-radius:10px;padding:2px}
.boc-recent-bank small{font-size:11px;line-height:1.25;max-height:2.6em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}
@media (max-width:1100px){.boc-recent-bank button{grid-template-columns:48px 1fr;min-height:60px}.boc-recent-bank img{width:48px!important;height:48px!important}}

/* V3.0.2 - préparation panier visible et progression réelle */
.boc-cart-loading[hidden]{display:none!important}
.boc-cart-loading{position:fixed;inset:0;z-index:2147483600;background:rgba(24,8,45,.72);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}
.boc-cart-loading-card{width:min(500px,calc(100vw - 34px));background:#fff;border-radius:24px;padding:30px 28px 25px;box-shadow:0 28px 90px #0007;text-align:center;color:#24113e;border:1px solid #e6daf4}
.boc-cart-loading-mark{height:66px;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px}
.boc-cart-loading-mark span{width:14px;height:14px;border-radius:50%;background:#5917a6;animation:bocCartPulse 1.05s infinite ease-in-out}
.boc-cart-loading-mark span:nth-child(2){animation-delay:.14s}.boc-cart-loading-mark span:nth-child(3){animation-delay:.28s}
@keyframes bocCartPulse{0%,80%,100%{transform:scale(.65);opacity:.35}40%{transform:scale(1.18);opacity:1}}
.boc-cart-loading-card h2{margin:0 0 9px;color:#32105f;font-size:26px;line-height:1.15}
.boc-cart-loading-message{min-height:42px;margin:0 0 18px;color:#61546e;font-size:15px;line-height:1.45}
.boc-cart-loading-progress{height:13px;background:#eee6f7;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 3px #0002}
.boc-cart-loading-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#32105f,#7d24d0,#32105f);background-size:180% 100%;transition:width .3s ease;animation:bocCartBar 1.15s linear infinite}
@keyframes bocCartBar{to{background-position:-180% 0}}
.boc-cart-loading-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:12px;color:#766985}
.boc-cart-loading-meta strong{font-size:16px;color:#32105f}.boc-cart-loading-meta span{text-align:right}
html.boc-cart-is-loading,html.boc-cart-is-loading body{overflow:hidden!important}
@media(max-width:600px){.boc-cart-loading-card{padding:25px 18px 22px;border-radius:20px}.boc-cart-loading-card h2{font-size:22px}.boc-cart-loading-meta{align-items:flex-start}.boc-cart-loading-meta span{max-width:190px}}


/* V3.0.4 — mode configurateur dédié sous le header */
html.boc-page-locked,body.boc-page-locked{overflow:hidden!important;overscroll-behavior:none!important}
.boc-focus-toggle{margin-left:auto!important;background:#fff!important;color:#32105f!important;border:1px solid #e0d3f2!important;box-shadow:0 4px 14px #0002;white-space:nowrap;position:sticky;right:8px;z-index:4}
.boc-focus-toggle:hover{background:#f6effd!important}
@media (min-width:901px){
 .boc-wrap.boc-focus-mode{position:fixed!important;top:var(--boc-focus-top,0px)!important;left:0!important;right:0!important;width:100vw!important;height:calc(100dvh - var(--boc-focus-top,0px))!important;max-height:calc(100dvh - var(--boc-focus-top,0px))!important;margin:0!important;border-radius:0!important;z-index:9990!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-shadow:0 10px 45px #17062545!important;background:#f0e8fb!important}
 .boc-wrap.boc-focus-mode .boc-tabs{flex:0 0 auto}
 .boc-wrap.boc-focus-mode .boc-main{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:hidden!important;align-items:stretch!important}
 .boc-wrap.boc-focus-mode .boc-stage,.boc-wrap.boc-focus-mode .boc-panel{height:100%!important;min-height:0!important;max-height:none!important}
 .boc-wrap.boc-focus-mode .boc-panel{overscroll-behavior:contain!important}
 .boc-wrap.boc-focus-mode .boc-leftbar{max-height:calc(100% - 92px);overflow:auto;overscroll-behavior:contain;padding-right:3px}
}
.boc-guide-badge{display:inline-flex;background:#efe3fa;color:#5b167e;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:8px}
.boc-guide-lead{max-width:760px;margin:0 auto 14px;color:#5c5068;line-height:1.55}
.boc-guide-news{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:0 auto 18px}
.boc-guide-news span{background:#f7f2fc;border:1px solid #dfd0ef;color:#4a1768;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}
.boc-guide-intro{z-index:2147483200!important}
.boc-guide-intro>div{max-width:760px!important}
.boc-guide-intro h2{margin:4px 0 8px!important}
.boc-tour-card{z-index:2147483301!important}
.boc-tour-highlight{position:relative;z-index:2147483299!important;box-shadow:0 0 0 4px #fff,0 0 0 8px #7a1aa0!important;border-radius:14px!important}


/* V3.0.5 — vrai plein écran bureau + guide toujours prioritaire */
@media (min-width:901px){
  .boc-wrap.boc-focus-mode{
    position:fixed!important;
    inset:0!important;
    top:0!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    z-index:2147482000!important;
    overflow:hidden!important;
    isolation:isolate!important;
  }
  .boc-wrap.boc-focus-mode .boc-tabs{
    position:relative!important;
    z-index:120!important;
    flex:0 0 auto!important;
    min-height:58px;
    box-sizing:border-box;
  }
  .boc-wrap.boc-focus-mode .boc-garment-tabs{min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
  .boc-wrap.boc-focus-mode .boc-main{
    flex:1 1 auto!important;
    min-height:0!important;
    height:calc(100dvh - 58px)!important;
    overflow:hidden!important;
  }
  .boc-wrap.boc-focus-mode .boc-stage,
  .boc-wrap.boc-focus-mode .boc-panel{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  .boc-wrap.boc-focus-mode .boc-leftbar{
    top:68px!important;
    max-height:calc(100dvh - 76px)!important;
  }
  .boc-wrap.boc-focus-mode .boc-focus-toggle{
    position:sticky!important;
    right:8px!important;
    top:0!important;
    z-index:150!important;
    flex:0 0 auto!important;
  }
}

/* Le guide ne doit jamais passer derrière un outil, un panneau ou le header du site. */
.boc-wrap.boc-guide-active{overflow:visible!important}
.boc-guide-intro{
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;
  overflow:auto!important;
  background:rgba(24,12,34,.70)!important;
}
.boc-guide-tour{
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;
  background:transparent!important;
  overflow:visible!important;
}
.boc-tour-card{
  z-index:2147483647!important;
  max-height:min(78dvh,650px)!important;
  overflow:auto!important;
  box-shadow:0 24px 80px rgba(0,0,0,.42)!important;
}
.boc-tour-highlight{
  position:relative!important;
  z-index:2147483645!important;
  box-shadow:0 0 0 4px #fff,0 0 0 8px #7a1aa0,0 0 0 9999px rgba(25,13,35,.62)!important;
  border-radius:14px!important;
}


/* V3.0.6 — le mode travail est monté directement dans BODY pour passer au-dessus du header */
html.boc-page-locked,body.boc-page-locked{overflow:hidden!important;overscroll-behavior:none!important}
@media (min-width:901px){
 body>.boc-wrap.boc-focus-mode{
   position:fixed!important;
   inset:0!important;
   width:100vw!important;
   height:100vh!important;
   height:100dvh!important;
   z-index:2147483600!important;
   margin:0!important;
   border-radius:0!important;
   transform:none!important;
   filter:none!important;
   opacity:1!important;
   visibility:visible!important;
 }
 body>.boc-wrap.boc-focus-mode .boc-tabs{position:relative!important;top:0!important;z-index:2147483610!important}
 body>.boc-wrap.boc-focus-mode .boc-focus-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important}
}
body>.boc-wrap.boc-focus-mode .boc-guide-intro,
body>.boc-wrap.boc-focus-mode .boc-guide-tour{z-index:2147483646!important}
body>.boc-wrap.boc-focus-mode .boc-tour-card{z-index:2147483647!important}


/* V3.0.7 — fenêtre produit lisible + commandes plein écran renforcées */
@media (min-width:901px){
 body>.boc-wrap.boc-focus-mode .boc-product-picker{
   align-items:flex-start!important;
   justify-content:center!important;
   padding:76px 20px 18px!important;
   box-sizing:border-box!important;
 }
 body>.boc-wrap.boc-focus-mode .boc-product-picker>div{
   width:min(1240px,96vw)!important;
   height:auto!important;
   max-height:calc(100dvh - 94px)!important;
   min-height:0!important;
   margin:0 auto!important;
   overflow:hidden!important;
 }
 body>.boc-wrap.boc-focus-mode .boc-product-picker h2{
   display:block!important;
   flex:0 0 auto!important;
   margin:0 52px 14px 0!important;
   padding:0!important;
   line-height:1.2!important;
   font-size:28px!important;
   color:#25172f!important;
 }
 body>.boc-wrap.boc-focus-mode .boc-product-picker .boc-picker-toolbar{flex:0 0 auto!important}
 body>.boc-wrap.boc-focus-mode .boc-product-picker .boc-product-grid{flex:1 1 auto!important;min-height:0!important}
}
.boc-focus-toggle{
 display:inline-flex!important;
 align-items:center!important;
 gap:8px!important;
 padding:10px 15px!important;
 min-height:42px!important;
 border:2px solid rgba(255,255,255,.92)!important;
 background:#fff!important;
 color:#32105f!important;
 font-weight:900!important;
 font-size:13px!important;
 letter-spacing:.01em!important;
 border-radius:12px!important;
 box-shadow:0 6px 18px rgba(24,8,45,.25)!important;
}
.boc-focus-toggle .boc-focus-icon{
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:25px!important;
 height:25px!important;
 flex:0 0 25px!important;
 border-radius:50%!important;
 background:#32105f!important;
 color:#fff!important;
 font-size:18px!important;
 font-weight:900!important;
 line-height:1!important;
}
.boc-focus-toggle .boc-focus-label{font-weight:900!important;white-space:nowrap!important}
.boc-focus-toggle:hover{background:#f8f2ff!important;transform:translateY(-1px)}
.boc-wrap:not(.boc-focus-mode) .boc-focus-toggle{
 background:#32105f!important;
 color:#fff!important;
 border-color:#32105f!important;
}
.boc-wrap:not(.boc-focus-mode) .boc-focus-toggle .boc-focus-icon{background:#fff!important;color:#32105f!important}


/* V3.1.0 — interface mobile dédiée, desktop inchangé */
.boc-mobile-zone-panel{display:none}
html.boc-mobile-page-locked,html.boc-mobile-page-locked body,body.boc-mobile-page-locked{overflow:hidden!important;overscroll-behavior:none!important}
@media (max-width:900px){
  .boc-wrap{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;z-index:2147483600!important;overflow:hidden!important;background:#f0e8fb!important}
  .boc-mobile-launch{position:fixed!important;inset:0!important;z-index:2147483646!important}
  .boc-mobile-launch-card{width:min(430px,92vw)!important;padding:18px!important;border-radius:20px!important}
  .boc-mobile-launch-card>span{font-size:38px!important}
  .boc-mobile-launch-card strong{font-size:20px!important}
  .boc-mobile-launch-card small{font-size:12px!important;line-height:1.4}
  .boc-mobile-close{display:block!important;position:fixed!important;right:6px!important;top:6px!important;z-index:2147483635!important;width:38px!important;height:38px!important;border-radius:50%!important;font-size:22px!important;font-weight:900!important;box-shadow:0 4px 15px #0003!important}
  .boc-focus-toggle{display:none!important}
  .boc-tabs{height:52px!important;min-height:52px!important;padding:6px 48px 6px 6px!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:center!important;scrollbar-width:none}
  .boc-tabs::-webkit-scrollbar{display:none}
  .boc-garment-tabs{gap:4px!important;flex:0 0 auto!important}
  .boc-tab-wrap{padding-right:2px!important}
  .boc-tab{padding:7px 10px!important;font-size:11px!important;white-space:nowrap!important}
  .boc-delete-garment{padding:4px 7px!important;margin:2px!important;font-size:12px!important}
  .boc-copy-garment-personalization{width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;font-size:13px!important}
  .boc-add-garment{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;font-size:0!important;flex:0 0 34px!important}
  .boc-add-garment:before{content:'＋';font-size:22px;font-weight:900}
  .boc-main{height:calc(100dvh - 52px)!important;padding:4px 4px 4px 48px!important;grid-template-columns:minmax(0,1fr) min(300px,39vw)!important;gap:4px!important;align-items:stretch!important;overflow:hidden!important}
  .boc-leftbar{position:fixed!important;left:3px!important;top:56px!important;bottom:4px!important;width:41px!important;max-height:none!important;gap:3px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 1px!important;z-index:2147483620!important;scrollbar-width:none}
  .boc-leftbar::-webkit-scrollbar{display:none}
  .boc-leftbar button{width:39px!important;height:39px!important;min-height:39px!important;min-width:39px!important;border-radius:10px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 3px 10px #0002!important}
  .boc-leftbar button span{font-size:17px!important;line-height:1!important;margin:0!important}
  .boc-leftbar button b{display:none!important}
  .boc-stage{height:100%!important;min-height:0!important;border-radius:12px!important}
  .boc-panel{height:100%!important;min-height:0!important;border-radius:12px!important;padding:5px!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  .boc-panel details{margin:0 0 4px!important;border-radius:10px!important}
  .boc-panel summary{padding:9px 10px!important;font-size:12px!important}
  .boc-panel details>div{padding:7px!important}
  .boc-mobile-zone-panel{display:block!important}
  .boc-selection-actions-float{position:static!important;left:auto!important;right:auto!important;top:auto!important;width:auto!important;max-width:none!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .boc-selection-actions-float .boc-reproduce-zone{padding:6px!important;border-radius:9px!important}
  .boc-selection-actions-float .boc-reproduce-zone>strong{font-size:11px!important}
  .boc-selection-actions-float .boc-reproduce-zone small{display:none!important}
  .boc-reproduce-controls{gap:4px!important}
  .boc-reproduce-controls select,.boc-reproduce-controls button{min-height:32px!important;padding:5px 6px!important;font-size:10px!important}
  .boc-zone-actions-title{font-size:10px!important;margin:7px 0 4px!important}
  .boc-zone-center-row,.boc-action-row{gap:4px!important}
  .boc-zone-center-row button,.boc-action-row button{min-height:34px!important;padding:4px 5px!important;font-size:10px!important}
  .boc-zone-center-row button span,.boc-action-row button span{font-size:9px!important}
  .boc-selected-floating{position:static!important;inset:auto!important;width:auto!important;max-width:none!important;max-height:none!important;box-shadow:none!important;border-radius:10px!important}
  .boc-panel-selected{padding:6px!important}
  .boc-selected-card{padding:7px!important;gap:7px!important}
  .boc-selected-title small{max-width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .boc-image-selected-help{display:none!important}
  .boc-image-control-row{gap:4px!important;padding:5px 0!important}
  .boc-image-step-range{gap:4px!important}
  .boc-image-step-range button{min-width:30px!important;padding:5px!important}
  .boc-inline-editor-pop.boc-photoshop-text{position:static!important;left:auto!important;right:auto!important;top:auto!important;width:auto!important;max-width:none!important;max-height:none!important;margin:6px 0 0!important;padding:7px!important;box-shadow:none!important;border:1px solid #dccbea!important;border-radius:10px!important;overflow:visible!important}
  .boc-text-toolbar-top{grid-template-columns:minmax(0,1fr) 105px 34px!important;gap:4px!important}
  .boc-inline-align{grid-column:1/3!important}
  .boc-inline-done{grid-column:3!important;grid-row:2!important}
  .boc-text-toolbar-vertical{grid-template-columns:1fr 1fr!important;gap:4px!important}
  .boc-typ-row{margin:0!important}
  .boc-value-stepper button{min-width:28px!important;padding:4px!important}
  .boc-inline-foot small{display:none!important}
  .boc-text-hint{display:none!important}
  .boc-seq-help{display:none!important}
  .boc-recent-help{display:none!important}
  .boc-tech span{display:none!important}
  .boc-tech{padding:8px!important;margin-bottom:5px!important}
  .boc-product-thumb{height:95px!important}
  .boc-product-title{margin:6px 0!important}
  .boc-info-btn,.boc-choose-product{margin-top:5px!important;padding:8px!important;font-size:11px!important}
  .boc-colors{gap:5px!important}
  .boc-colors button{width:26px!important;height:26px!important}
  .boc-grammages button{padding:6px 8px!important;font-size:10px!important}
  .boc-upload{padding:10px!important}
  .boc-upload span{display:none!important}
  .boc-bank{grid-template-columns:repeat(3,1fr)!important;gap:4px!important}
  .boc-bank button{padding:3px!important}
  .boc-bank small{font-size:9px!important}
  .boc-size-line{grid-template-columns:1fr 82px!important;margin:4px 0!important}
  .boc-qty-stepper{grid-template-columns:1fr 30px!important}
  .boc-qty-stepper input{height:38px!important}
  .boc-pricebox{padding:8px!important;font-size:11px!important;margin-top:4px!important}
  .boc-preview-all,.boc-add-cart-main{padding:9px 6px!important;font-size:11px!important;margin-top:4px!important}
  .boc-view-tabs{top:5px!important;gap:3px!important;max-width:calc(100% - 16px)!important;overflow-x:auto!important;scrollbar-width:none}
  .boc-view-tabs::-webkit-scrollbar{display:none}
  .boc-view-tabs button{padding:6px 8px!important;font-size:10px!important;white-space:nowrap!important}
  .boc-garment{width:min(78vh,72vw)!important;max-height:calc(100% - 24px)!important}
  .boc-unit-price-float{left:auto!important;right:8px!important;bottom:8px!important;min-width:145px!important;max-width:170px!important;padding:7px 9px!important;border-radius:10px!important;z-index:16!important}
  .boc-unit-price-float span{font-size:8px!important}
  .boc-unit-price-float strong{font-size:19px!important}
  .boc-price-table-open{font-size:8px!important;padding:5px 6px!important}
  .boc-stage-note{left:8px!important;right:180px!important;bottom:7px!important;transform:none!important;padding:5px 7px!important;font-size:9px!important;white-space:normal!important;text-align:left!important;z-index:15!important}
  .boc-zone-label{font-size:9px!important;top:-22px!important;padding:3px 5px!important}
  .boc-modal,.boc-help-modal{padding:8px!important}
  .boc-modal>div,.boc-help-modal>div{width:calc(100vw - 16px)!important;max-width:none!important;max-height:calc(100dvh - 16px)!important;border-radius:14px!important;padding:14px!important}
  .boc-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .boc-product-card>div{height:100px!important}
  .boc-picker-toolbar{font-size:11px!important}
  .boc-picker-filters{gap:4px!important;margin:6px 0!important}
  .boc-picker-filters button{padding:6px 8px!important;font-size:10px!important}
  .boc-guide-intro>div{width:min(620px,94vw)!important;max-height:90dvh!important;overflow:auto!important;padding:16px!important}
  .boc-guide-intro h2{font-size:22px!important}
  .boc-guide-lead{font-size:12px!important;margin-bottom:8px!important}
  .boc-guide-news{margin-bottom:10px!important;gap:4px!important}
  .boc-guide-news span{font-size:9px!important;padding:4px 6px!important}
  .boc-help-choice-grid{gap:8px!important}
  .boc-help-choice-grid section{padding:10px!important}
  .boc-help-choice-grid section p{font-size:11px!important}
  .boc-tour-card{max-width:min(360px,46vw)!important;max-height:76dvh!important;padding:14px!important}
  .boc-tour-card h3{font-size:18px!important}
  .boc-tour-card p{font-size:12px!important}
}
@media (max-width:650px) and (orientation:portrait){
  .boc-mobile-launch-card:after{content:'Pour plus de confort, tournez votre téléphone en mode paysage.';display:block;margin-top:4px;padding:8px;border-radius:10px;background:#f3ebfb;color:#4e2569;font-size:11px;font-weight:800}
}

/* V3.1.1 — mobile refinements only */
@media (max-width:900px){
  /* Tool rail must stay below every modal / preview / picker */
  .boc-leftbar{z-index:40!important}
  .boc-modal,.boc-help-modal,.boc-product-picker,.boc-upload-modal,.boc-preview-zoom-modal,.boc-cart-loading{z-index:2147483640!important}
  .boc-guide-intro,.boc-guide-tour{z-index:2147483645!important}

  /* Larger garment color swatches */
  .boc-colors{gap:7px!important}
  .boc-colors button{width:34px!important;height:34px!important;border-width:3px!important}

  /* Product picker: compact but complete, exactly 3 cards per row */
  .boc-product-picker{padding:5px!important}
  .boc-product-picker>div{width:calc(100vw - 10px)!important;height:calc(100dvh - 10px)!important;max-height:calc(100dvh - 10px)!important;padding:10px!important;border-radius:14px!important}
  .boc-product-picker h2{font-size:18px!important;line-height:1.1!important;margin:0 34px 6px 0!important}
  .boc-product-picker .boc-picker-toolbar{gap:4px!important;margin-bottom:5px!important}
  .boc-product-picker .boc-picker-filters,.boc-product-picker .boc-picker-genders{gap:4px!important;margin:4px 0!important}
  .boc-product-picker .boc-picker-filters button,.boc-product-picker .boc-picker-genders button{padding:6px 8px!important;font-size:10px!important}
  .boc-product-picker .boc-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:8px!important}
  .boc-product-picker .boc-product-card{min-height:0!important;border-radius:10px!important}
  .boc-product-picker .boc-product-card-media{height:88px!important;min-height:88px!important}
  .boc-product-picker .boc-product-card-copy{min-height:0!important;padding:5px 6px!important}
  .boc-product-picker .boc-product-card-copy strong{font-size:10px!important;line-height:1.15!important;margin:0!important}
  .boc-product-picker .boc-product-card-copy small,.boc-product-picker .boc-product-card-copy em{font-size:8px!important;line-height:1.1!important}
  .boc-product-picker .boc-product-more{min-height:28px!important;margin:0 5px 5px!important;font-size:9px!important;padding:4px!important;border-radius:7px!important}

  /* Mobile color picker should not look like a text field */
  .boc-inline-color{min-width:38px!important;width:38px!important;height:34px!important;padding:2px!important;border-radius:9px!important}
}

/* V3.1.2 mobile text edit gate + product info first-open fix */
.boc-product-info .boc-info-copy{display:block!important;visibility:visible!important;opacity:1!important;min-width:0}
@media (max-width:900px){
  .boc-mobile-edit-text{display:block!important;width:100%;margin:0 0 7px!important;padding:9px 10px!important;border-radius:10px!important;background:#32105f!important;color:#fff!important;font-weight:900!important;font-size:12px!important;box-shadow:0 4px 12px #32105f26}
  .boc-mobile-edit-text.active{background:#e9ddf8!important;color:#32105f!important}
  .boc-inline-textarea[readonly]{caret-color:transparent;cursor:text;background:#fff!important}
  .boc-product-info .boc-info-grid{grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr)!important;gap:12px!important}
  .boc-product-info .boc-info-photo{min-height:180px!important;height:clamp(180px,36vh,300px)!important}
  .boc-product-info .boc-info-copy{font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere}
  .boc-product-info .boc-info-copy h2{font-size:18px!important;margin:0 0 7px!important}
}


/* V3.1.4 — mobile text selection without keyboard + visible product cards */
@media (max-width:900px){
  .boc-mobile-edit-content{display:block!important;width:100%!important;margin:0 0 6px!important;padding:9px 10px!important;border:0!important;border-radius:10px!important;background:#32105f!important;color:#fff!important;font-weight:900!important;font-size:12px!important;box-shadow:0 4px 12px #32105f22!important}
  .boc-mobile-edit-content.active{background:#e9ddf8!important;color:#32105f!important}
  .boc-mobile-text-select{display:block!important;white-space:pre-wrap!important;word-break:break-word!important;user-select:text!important;-webkit-user-select:text!important;-webkit-touch-callout:default!important;background:#fff!important;border:1px solid #d8c7e8!important;border-radius:10px!important;padding:10px!important;min-height:54px!important;line-height:1.4!important;font-size:14px!important;color:#22152e!important;cursor:text!important;touch-action:auto!important}
  .boc-mobile-text-select::selection{background:#cbb4e8!important;color:#1d1230!important}
  .boc-inline-textarea[hidden]{display:none!important}

  .boc-product-picker .boc-product-card{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:hidden!important}
  .boc-product-picker .boc-product-select{display:flex!important;flex:0 0 auto!important;min-height:124px!important;height:auto!important;overflow:visible!important}
  .boc-product-picker .boc-product-card-media{display:flex!important;visibility:visible!important;opacity:1!important;height:88px!important;min-height:88px!important;overflow:hidden!important;background:#f7f4f9!important;padding:5px!important}
  .boc-product-picker .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-product-card-media canvas,
  .boc-product-picker .boc-product-card-media svg,
  .boc-product-picker .boc-product-card-media img{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
  .boc-product-picker .boc-product-card-copy{display:block!important;visibility:visible!important;opacity:1!important;padding:5px 6px!important}
  .boc-product-picker .boc-product-card>div.boc-product-more{height:auto!important;min-height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 5px 5px!important;padding:4px!important}
}

/* V3.1.5 mobile landscape workflow */
@media (max-width:900px){
  .boc-product-picker .boc-product-grid{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;gap:8px!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;padding:3px 4px 10px!important;align-items:stretch!important}
  .boc-product-picker .boc-product-card{flex:0 0 calc((100% - 16px)/3)!important;width:calc((100% - 16px)/3)!important;min-width:0!important;scroll-snap-align:start!important;display:flex!important;flex-direction:column!important;height:100%!important;min-height:235px!important}
  .boc-product-picker .boc-product-select{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}
  .boc-product-picker .boc-product-card-media{height:112px!important;min-height:112px!important;padding:5px!important;flex:0 0 112px!important}
  .boc-product-picker .boc-product-card-copy{padding:5px 6px!important;min-height:54px!important;flex:1 1 auto!important}
  .boc-product-picker .boc-product-card-copy strong{font-size:10px!important;line-height:1.15!important}
  .boc-product-picker .boc-product-card-copy small,.boc-product-picker .boc-product-card-copy em{font-size:8px!important;line-height:1.15!important}
  .boc-product-picker .boc-product-more{display:flex!important;align-items:center!important;justify-content:center!important;min-height:31px!important;height:31px!important;flex:0 0 31px!important;margin:0 5px 5px!important;padding:4px!important;font-size:9px!important}
  .boc-mobile-text-panel{display:grid;gap:8px}
  .boc-mobile-text-summary{display:grid;gap:6px;background:#fff;border:1px solid #ded0ec;border-radius:10px;padding:8px}
  .boc-mobile-text-summary span{font-size:9px;color:#786987;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
  .boc-mobile-text-summary strong{font-size:12px;line-height:1.25;word-break:break-word}
  .boc-mobile-edit-text-content{width:100%;background:#32105f!important;color:#fff!important;font-weight:900!important}
  .boc-mobile-no-text{margin:0;padding:8px;background:#f5effb;border-radius:9px;color:#6f5c7b;font-size:11px}
  .boc-mobile-text-content-modal[hidden]{display:none!important}
  .boc-mobile-text-content-modal{position:fixed!important;inset:0!important;z-index:2147483647!important;background:rgba(20,10,30,.72)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px!important}
  .boc-mobile-text-content-card{width:min(520px,94vw)!important;max-height:88vh!important;background:#fff!important;border-radius:16px!important;padding:14px!important;position:relative!important;box-shadow:0 18px 55px #0007!important}
  .boc-mobile-text-content-card h3{margin:0 36px 4px 0!important;color:#32105f!important;font-size:18px!important}
  .boc-mobile-text-content-card p{margin:0 0 8px!important;font-size:10px!important;color:#6e6076!important}
  .boc-mobile-text-content-input{width:100%!important;min-height:86px!important;max-height:30vh!important;box-sizing:border-box!important;border:1px solid #cdb9e3!important;border-radius:10px!important;padding:10px!important;font-size:16px!important;resize:vertical!important}
  .boc-mobile-text-content-close{position:absolute!important;right:9px!important;top:8px!important;width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:#eee5f7!important;color:#32105f!important;font-size:22px!important}
  .boc-mobile-text-content-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:9px!important}
  .boc-mobile-text-content-actions button{border:0!important;border-radius:10px!important;padding:9px 12px!important;font-weight:900!important}
  .boc-mobile-text-content-cancel{background:#eee8f3!important;color:#32105f!important}.boc-mobile-text-content-save{background:#32105f!important;color:#fff!important}
  .boc-inline-editor-pop .boc-inline-textarea{display:none!important}
}
@media (max-width:900px) and (orientation:portrait){
  .boc-wrap.boc-mobile-started>.boc-tabs,.boc-wrap.boc-mobile-started>.boc-leftbar,.boc-wrap.boc-mobile-started>.boc-main{visibility:hidden!important;pointer-events:none!important}
  .boc-mobile-launch{display:flex!important}
}

/* V3.1.6 mobile custom text selection + orientation launch */
@media (max-width:900px){
  .boc-mobile-text-select{user-select:none!important;-webkit-user-select:none!important;-webkit-touch-callout:none!important;touch-action:pan-y!important;cursor:pointer!important;caret-color:transparent!important}
  .boc-mobile-text-select [data-char-idx]{white-space:pre-wrap;display:inline}
  .boc-mobile-text-select [data-char-idx].is-selected{background:#cbb4e8!important;color:#1d1230!important;border-radius:2px}
  .boc-mobile-text-select::selection,.boc-mobile-text-select *::selection{background:transparent!important}
}


/* V3.1.7 — mobile carousel compact + whole active text styling fallback */
@media (max-width:900px){
  .boc-product-picker .boc-product-grid{
    min-height:188px!important;
    max-height:188px!important;
    flex:0 0 188px!important;
    align-items:stretch!important;
    padding:2px 4px 6px!important;
  }
  .boc-product-picker .boc-product-card{
    height:180px!important;
    min-height:180px!important;
    max-height:180px!important;
    flex:0 0 calc((100% - 16px)/3)!important;
    width:calc((100% - 16px)/3)!important;
  }
  .boc-product-picker .boc-product-select{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .boc-product-picker .boc-product-card-media{
    height:84px!important;
    min-height:84px!important;
    flex:0 0 84px!important;
    padding:3px!important;
  }
  .boc-product-picker .boc-product-card-copy{
    min-height:38px!important;
    max-height:44px!important;
    padding:4px 5px 2px!important;
    overflow:hidden!important;
  }
  .boc-product-picker .boc-product-card-copy strong{
    font-size:9.5px!important;
    line-height:1.1!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .boc-product-picker .boc-product-card-copy small,
  .boc-product-picker .boc-product-card-copy em{
    font-size:7.5px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .boc-product-picker .boc-product-more,
  .boc-product-picker .boc-product-card>div.boc-product-more{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    min-height:27px!important;
    height:27px!important;
    flex:0 0 27px!important;
    margin:0 4px 4px!important;
    padding:3px 4px!important;
    font-size:8.5px!important;
    line-height:1!important;
    border-radius:7px!important;
    position:relative!important;
    z-index:5!important;
  }
}

/* V3.1.8 — desktop picker thumbnail harmonization + mobile text panel positioning */
@media (min-width:901px){
  .boc-product-picker .boc-product-card-media{height:205px!important;min-height:205px!important;}
  .boc-product-picker .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-product-card-media canvas{transform-origin:center center!important;transition:transform .12s ease!important;}
  .boc-product-picker .boc-family-sweat .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-sweat .boc-product-card-media canvas{transform:scale(1.38)!important;}
  .boc-product-picker .boc-family-hoodie .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media canvas{transform:scale(1.30)!important;}
  .boc-product-picker .boc-family-polaire .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-polaire .boc-product-card-media canvas,
  .boc-product-picker .boc-family-softshell .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-softshell .boc-product-card-media canvas{transform:scale(1.24)!important;}
}


/* V3.1.9 — desktop product picker: always show complete product artwork */
@media (min-width:901px){
  .boc-product-picker .boc-product-card-media{
    height:205px!important;
    min-height:205px!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:10px!important;
  }
  .boc-product-picker .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-product-card-media canvas,
  .boc-product-picker .boc-product-card-media img,
  .boc-product-picker .boc-product-card-media svg{
    transform:none!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
}


/* V3.1.10 — desktop picker full artwork for Sweat / Hoodie / Polaire */
@media (min-width:901px){
  .boc-product-picker .boc-family-sweat .boc-product-card-media,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media,
  .boc-product-picker .boc-family-polaire .boc-product-card-media{
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .boc-product-picker .boc-family-sweat .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-polaire .boc-product-card-media .boc-neutral-render{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    transform:none!important;
  }
  .boc-product-picker .boc-family-sweat .boc-product-card-media canvas,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media canvas,
  .boc-product-picker .boc-family-polaire .boc-product-card-media canvas{
    position:static!important;
    inset:auto!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    transform:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    display:block!important;
  }
}


/* V3.1.11 — desktop product picker: same complete presentation as Polos for every family */
@media (min-width:901px){
  body>.boc-wrap.boc-focus-mode .boc-product-picker>div{
    display:flex!important;
    flex-direction:column!important;
  }
  body>.boc-wrap.boc-focus-mode .boc-product-picker .boc-product-grid,
  .boc-product-picker .boc-product-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    align-content:start!important;
    min-height:0!important;
    padding:2px 4px 14px 2px!important;
  }
  .boc-product-picker .boc-product-card{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:345px!important;
    max-height:none!important;
    overflow:visible!important;
    padding:8px!important;
    box-sizing:border-box!important;
  }
  .boc-product-picker .boc-product-select{
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 auto!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .boc-product-picker .boc-product-card-media,
  .boc-product-picker .boc-family-sweat .boc-product-card-media,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media,
  .boc-product-picker .boc-family-polaire .boc-product-card-media,
  .boc-product-picker .boc-family-softshell .boc-product-card-media{
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
    flex:0 0 205px!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:10px!important;
    box-sizing:border-box!important;
    background:#f7f4f9!important;
  }
  .boc-product-picker .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-product-card-media canvas,
  .boc-product-picker .boc-product-card-media img,
  .boc-product-picker .boc-product-card-media svg,
  .boc-product-picker .boc-family-sweat .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-polaire .boc-product-card-media .boc-neutral-render,
  .boc-product-picker .boc-family-sweat .boc-product-card-media canvas,
  .boc-product-picker .boc-family-hoodie .boc-product-card-media canvas,
  .boc-product-picker .boc-family-polaire .boc-product-card-media canvas{
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    overflow:hidden!important;
  }
  .boc-product-picker .boc-product-card-copy{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    min-height:72px!important;
    max-height:none!important;
    overflow:visible!important;
    padding:10px 12px 8px!important;
    box-sizing:border-box!important;
  }
  .boc-product-picker .boc-product-card-copy strong{
    display:block!important;
    font-size:14px!important;
    line-height:1.25!important;
    margin:0!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
  }
  .boc-product-picker .boc-product-card-copy small,
  .boc-product-picker .boc-product-card-copy em{
    display:block!important;
    font-size:11px!important;
    line-height:1.2!important;
    margin-top:3px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .boc-product-picker .boc-product-more,
  .boc-product-picker .boc-product-card>div.boc-product-more{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    visibility:visible!important;
    opacity:1!important;
    height:38px!important;
    min-height:38px!important;
    flex:0 0 38px!important;
    margin:0 10px 10px!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
  }
}

/* V3.1.18 — Mes créations : interface cartes + chargement 3 par 3 */
.boc-creations>div{width:min(1120px,96vw)!important;max-width:1120px!important;padding:26px!important;background:#fff!important}
.boc-creations-head{padding:0 54px 4px 0}
.boc-creations-head h2{margin:0 0 6px;font-size:30px;color:#24113e}
.boc-creations-head p{margin:0;color:#6f617a;font-size:14px}
.boc-creations-summary{margin:18px 0 14px;padding:12px 16px;border-radius:12px;background:#f6f0fb;color:#5b4269;display:flex;gap:8px;align-items:center;font-size:13px}
.boc-creations-summary strong{color:#5b1684;font-size:15px}
.boc-creations-summary span{margin-left:auto;color:#806f89}
.boc-creations-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.boc-creation-card{min-width:0;border:1px solid #eadff0;border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(64,17,91,.06);display:flex;flex-direction:column}
.boc-creation-preview{height:210px;background:
 linear-gradient(45deg,#f4f2f5 25%,transparent 25%),
 linear-gradient(-45deg,#f4f2f5 25%,transparent 25%),
 linear-gradient(45deg,transparent 75%,#f4f2f5 75%),
 linear-gradient(-45deg,transparent 75%,#f4f2f5 75%),#fff;
 background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0;
 display:flex;align-items:center;justify-content:center;padding:10px}
.boc-creation-preview img{width:100%;height:100%;object-fit:contain}
.boc-creation-preview span{font-size:12px;color:#8e8197;background:#ffffffdc;padding:7px 10px;border-radius:999px}
.boc-creation-card-body{padding:14px;display:flex;flex-direction:column;flex:1}
.boc-creation-badge{align-self:flex-start;background:#f0e3f8;color:#68178f;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;letter-spacing:.02em}
.boc-creation-card h3{font-size:16px;line-height:1.3;margin:10px 0 4px;color:#2c2131;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.boc-creation-card p{margin:0 0 14px;color:#74677b;font-size:12px}
.boc-creation-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.boc-creation-actions button{min-height:42px;border-radius:11px;font-weight:900;cursor:pointer}
.boc-creation-open{border:0;background:#5b1684;color:#fff}
.boc-creation-delete{border:1px solid #efb8bd;background:#fff;color:#c31525}
.boc-creations-more-wrap{text-align:center;padding-top:18px}
.boc-creations-more{min-width:220px;border:0;border-radius:12px;background:#5b1684;color:#fff;padding:12px 22px;font-weight:900;cursor:pointer;box-shadow:0 8px 20px rgba(91,22,132,.18)}
.boc-creations-loading,.boc-creations-empty{grid-column:1/-1;min-height:130px;border:1px dashed #dac9e4;border-radius:15px;background:#fbf9fc;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#6f617a;gap:4px}
@media(max-width:900px){.boc-creations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.boc-creations>div{padding:18px!important}.boc-creations-grid{grid-template-columns:1fr}.boc-creation-preview{height:190px}.boc-creations-summary span{display:none}}

/* V3.1.19 — bibliothèque Mes créations rapide façon Brand-ON DTF */
.boc-creations>div{width:min(1080px,96vw)!important;max-width:1080px!important;max-height:88vh!important;overflow:auto!important;padding:24px!important}.boc-creations-head h2{font-size:32px;margin:0 0 6px}.boc-creations-head p{font-size:14px;margin:0;color:#6f617a}.boc-creations-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 16px}.boc-creations-tabs button{border:1px solid #d8c4e5;background:#fff;color:#5b1684;border-radius:999px;padding:10px 16px;font-weight:900;cursor:pointer}.boc-creations-tabs button.active{background:#5b1684;color:#fff;border-color:#5b1684}.boc-creations-summary{margin:0 0 14px;background:#f7f0fb;border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:8px}.boc-creations-summary span{margin-left:auto}.boc-creations-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.boc-creation-card{border:1px solid #eadff0!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important;display:flex!important;flex-direction:column!important;box-shadow:none!important}.boc-creation-preview{height:205px!important;padding:10px!important;background-color:#fff!important}.boc-creation-preview img{width:100%!important;height:100%!important;object-fit:contain!important}.boc-creation-card-body{padding:12px!important;display:flex!important;flex-direction:column!important;flex:1!important}.boc-creation-card-body h3{font-size:16px!important;margin:9px 0 5px!important}.boc-creation-card-body p{font-size:12px!important;margin:0 0 9px!important}.boc-creation-card-body small{display:block;color:#77697d;font-size:12px;line-height:1.35;margin-bottom:10px}.boc-creation-badge{align-self:flex-start;background:#efe2f7!important;color:#64128e!important;border-radius:999px!important;padding:6px 9px!important;font-size:10px!important;font-weight:900!important}.boc-creation-actions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:auto}.boc-creation-actions-grid button,.boc-creation-actions-grid a{min-height:40px;border-radius:10px;border:1px solid #5b1684;background:#fff;color:#5b1684;font-weight:900;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;padding:8px;cursor:pointer}.boc-creation-actions-grid .primary{background:#5b1684;color:#fff}.boc-creation-actions-grid .danger{border-color:#efb8bd;color:#c61625}.boc-creation-actions-grid .full{grid-column:1/-1}.boc-creations-more-wrap{padding:18px 0 2px;text-align:center}.boc-creations-more{min-width:210px;border:0;border-radius:11px;background:#5b1684;color:#fff;padding:11px 20px;font-weight:900;cursor:pointer}.boc-creations-loading,.boc-creations-empty{grid-column:1/-1;min-height:120px;border:1px dashed #d9cae2;border-radius:14px;background:#fbf9fc;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6f617a;gap:3px}@media(max-width:900px){.boc-creations-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:620px){.boc-creations-grid{grid-template-columns:1fr!important}.boc-creations-tabs{overflow:auto;flex-wrap:nowrap}.boc-creations-summary span{display:none}}

/* V3.1.20 — Bibliothèques image : 4 visuels puis Voir plus */
.boc-panel-image .boc-bank{display:block!important}
.boc-panel-image .boc-bank-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.boc-panel-image .boc-bank-grid>button{min-width:0;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:flex-start;border:1px solid #e5d7ed;background:#fff;border-radius:11px;padding:6px;cursor:pointer;overflow:hidden}
.boc-panel-image .boc-bank-grid>button:hover{border-color:#8e35ad;box-shadow:0 4px 12px rgba(91,22,132,.10)}
.boc-panel-image .boc-bank-grid img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:7px;background:#faf8fb}
.boc-panel-image .boc-bank-grid small{width:100%;font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5b4b61}
.boc-bank-more-wrap{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px}
.boc-bank-more{border:1px solid #7a2597;background:#fff;color:#651883;border-radius:10px;padding:8px 16px;font-weight:800;cursor:pointer}
.boc-bank-more:hover{background:#f5ebf8}
.boc-bank-more-wrap small{color:#83748a;font-size:11px}
.boc-bank-empty{margin:0;padding:10px;border:1px dashed #ddcde5;border-radius:10px;color:#7c6b83;text-align:center;font-size:12px}
@media(max-width:520px){.boc-panel-image .boc-bank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V3.1.21 — choix impression/broderie à l'import + comparaison avant/après broderie */
.boc-upload-intent{padding:12px 0 4px}
.boc-upload-intent>strong{display:block;margin-bottom:12px;color:#331442;font-size:16px}
.boc-upload-intent-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.boc-upload-intent-grid button{border:1px solid #dfcce8;background:#fff;border-radius:15px;padding:16px;text-align:left;cursor:pointer;min-height:92px}
.boc-upload-intent-grid button:hover{border-color:#7b2396;box-shadow:0 8px 20px rgba(91,22,132,.10)}
.boc-upload-intent-grid b,.boc-upload-intent-grid span{display:block}.boc-upload-intent-grid b{font-size:17px;color:#5b1684;margin-bottom:6px}.boc-upload-intent-grid span{font-size:12px;color:#74657a;line-height:1.35}
.boc-analysis-embro{padding:12px 14px;border-radius:12px;background:#fff4df;border:1px solid #efcf91;color:#744e12;line-height:1.45}
.boc-upload-back-print{border:1px solid #7a2597!important;background:#fff!important;color:#651883!important}
.boc-embroidery-review-modal{position:fixed;z-index:100000;inset:0;background:rgba(22,7,31,.72);display:flex;align-items:center;justify-content:center;padding:18px}
.boc-embroidery-review-modal[hidden]{display:none!important}
.boc-embroidery-review-card{position:relative;width:min(960px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;padding:26px;box-shadow:0 25px 80px rgba(0,0,0,.25)}
.boc-embroidery-review-card h2{margin:0 44px 5px 0;color:#341343;font-size:28px}.boc-embroidery-review-lead{margin:0 0 16px;color:#6f6175}
.boc-embroidery-review-close{position:absolute;right:18px;top:16px;border:0;background:#f2edf4;border-radius:50%;width:40px;height:40px;font-size:25px;cursor:pointer}
.boc-embroidery-review-status{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8f2fa;border-radius:12px;color:#5b1684;margin-bottom:15px}
.boc-review-spinner{width:18px;height:18px;border:3px solid #ddcae5;border-top-color:#68178f;border-radius:50%;animation:bocSpin .8s linear infinite}
.boc-zone-compare{display:grid!important;grid-template-columns:1fr 1fr;gap:14px}
.boc-zone-compare>div{border:1px solid #e3d5e9;border-radius:14px;padding:10px;background:#fbf9fc}
.boc-zone-compare img{width:100%;height:330px;object-fit:contain;background:#fff;border-radius:10px}
.boc-zone-compare small{display:block;font-weight:900;color:#5b1684;margin:0 0 8px}
.boc-embroidery-review-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;flex-wrap:wrap}
.boc-embroidery-review-actions button{min-height:44px;border-radius:11px;padding:10px 18px;font-weight:900;cursor:pointer}
.boc-review-print{border:1px solid #7a2597;background:#fff;color:#651883}.boc-review-use{border:0;background:#5b1684;color:#fff}.boc-review-use:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.boc-upload-intent-grid,.boc-zone-compare{grid-template-columns:1fr}.boc-zone-compare img{height:240px}.boc-embroidery-review-card{padding:18px}}

.boc-upload-modal,.boc-embroidery-review-modal{align-items:flex-start;padding-top:28px;padding-bottom:18px}
.boc-zone-original img{display:block;width:100%;max-height:320px;object-fit:contain;background:#fff;border:1px solid #eadff0;border-radius:14px;padding:10px}
.boc-review-start{background:#6e25a5;color:#fff;border:1px solid #6e25a5}
.boc-review-start[disabled]{opacity:.55;cursor:not-allowed}

/* V3.1.24 — modales visibles sous le bandeau plein écran + progression IA fluide */
.boc-upload-modal,
.boc-embroidery-review-modal{
  top:92px!important;
  bottom:0!important;
  left:0!important;
  right:0!important;
  height:auto!important;
  padding:14px 18px 18px!important;
  align-items:flex-start!important;
  overflow:auto!important;
}
.boc-upload-card,
.boc-embroidery-review-card{
  margin:0 auto 18px!important;
  max-height:calc(100vh - 124px)!important;
  overflow:auto!important;
}
.boc-review-percent{
  margin-left:auto;
  font-size:22px;
  font-weight:900;
  color:#651883;
  min-width:54px;
  text-align:right;
}
.boc-review-progress{
  width:100%;
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#eadff0;
  margin:-5px 0 15px;
}
.boc-review-progress i{
  display:block;
  width:1%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6e25a5,#a653c2);
  transition:width .28s linear;
}
@media(max-width:700px){
  .boc-upload-modal,.boc-embroidery-review-modal{top:70px!important;padding:10px!important}
  .boc-upload-card,.boc-embroidery-review-card{max-height:calc(100vh - 92px)!important}
}
