/* Futbolochnaya temporary 3D garment preview — light/orange editor palette */
.fd3d-switch-bar{position:absolute;z-index:12;top:10px;right:8px;width:132px;min-height:36px;display:flex;justify-content:stretch;align-items:stretch;box-sizing:border-box}
.workspace.fd3d-active .fd3d-switch-bar{display:none}
.fd3d-toggle{border:1px solid #ff9d78;border-radius:10px;background:#fff4ed;color:#ed5000;font-weight:850;font-size:12px;padding:10px 14px;white-space:nowrap;transition:background .15s}
.fd3d-switch-bar .fd3d-toggle{display:block;width:100%;min-height:36px;padding:8px 5px;flex:1 1 auto;white-space:normal;text-align:center;line-height:1.2}
.fd3d-toggle:hover,.fd3d-toggle[aria-pressed="true"]{background:#ff653b;color:#fff}
.fd3d-view{display:none;position:relative;width:min(100%,1180px);height:min(80vh,860px);min-height:620px;background:#f7f5f2;border:1px solid #eae6e1;border-radius:16px;overflow:hidden;margin:14px auto 6px;box-shadow:0 12px 30px #0000000b}
.workspace.fd3d-active #stage{display:none!important}
.workspace.fd3d-active .fd3d-view{display:block}
.workspace.fd3d-active .stage-footer{display:none}
.fd3d-header{height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;background:#ffffffed;border-bottom:1px solid #ece8e4;position:relative;z-index:2}
.fd3d-header strong{display:block;font-size:15px;color:#292b32;font-weight:900}
.fd3d-header small{font-size:10px;color:#888;display:block;margin-top:4px}
.fd3d-return{background:#fff3ed;border:1px solid #ffd3c3;color:#e54e00;border-radius:9px;font-size:11px;font-weight:800;padding:9px 11px;white-space:nowrap}
.fd3d-canvas{position:absolute;left:0;top:60px;width:100%;height:calc(100% - 172px);display:block;touch-action:none;cursor:grab;outline:0}
.fd3d-canvas:active{cursor:grabbing}
.fd3d-notice{position:absolute;top:83px;left:50%;transform:translateX(-50%);z-index:3;font-size:12px;font-weight:750;text-align:center;color:#7c6d5e;background:#ffffffeb;border:1px solid #efdfd0;border-radius:10px;padding:10px 14px;max-width:calc(100% - 32px)}
.fd3d-notice[hidden]{display:none}
.fd3d-footer{position:absolute;left:0;bottom:30px;width:100%;padding:8px 13px;background:#fff;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #ece9e4;z-index:2}
.fd3d-footer button{border:1px solid #e5e3df;background:#fff;color:#484848;border-radius:9px;padding:9px 11px;font-size:11px;font-weight:800}
.fd3d-footer button:hover{border-color:#ff653b;color:#f24f00}
.fd3d-angles{display:flex;flex-wrap:wrap;gap:4px}
.fd3d-shot{background:#ff653b!important;color:#fff!important;border-color:#ff653b!important}
.fd3d-instruction{position:absolute;bottom:0;width:100%;height:30px;background:#fff;margin:0;padding:8px 10px;text-align:center;color:#a09b98;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px){.fd3d-view{width:min(100%,1000px);height:min(78vh,760px);min-height:560px}}
@media(max-width:880px){.fd3d-view{min-height:470px;height:62vh}.fd3d-header{height:68px}.fd3d-canvas{top:68px;height:calc(100% - 190px)}.fd3d-toggle{padding:9px 12px}}
@media(max-width:480px){.fd3d-view{min-height:450px;height:450px}.fd3d-header{padding:9px}.fd3d-header strong{font-size:12px}.fd3d-header small{font-size:9px}.fd3d-footer button{padding:7px;font-size:10px}.fd3d-instruction{font-size:9px}}

/* 0.4.163: unbound products must not show a 3D switch. */
.fd3d-switch-bar[hidden],.fd3d-toggle[hidden]{display:none!important}

/* 0.4.164: 3D switch and miniature preview rail share one right-aligned width. */
.stage.fd3d-has-switch .fd-prev-side{top:53px;max-height:calc(100% - 63px)}
@media(max-width:880px){
 .fd3d-switch-bar{top:6px;right:4px;width:92px;min-height:34px}
 .fd3d-switch-bar .fd3d-toggle{min-height:34px;font-size:10px;padding:5px 3px}
 .stage.fd3d-has-switch .fd-prev-side{top:45px;max-height:calc(100% - 51px)}
}
