.psd-editor{background:#020617;flex-direction:column;flex:1;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.psd-editor-body{flex:1;display:flex;overflow:hidden}.editor-menubar{z-index:100;background:#0f172afa;border-bottom:1px solid #ffffff14;flex-shrink:0;align-items:center;gap:2px;height:48px;padding:0 8px;display:flex}.editor-title{color:#ffffffe6;border-right:1px solid #ffffff1a;margin-right:8px;padding:0 12px;font-size:13px;font-weight:600}.exit-editor-btn{color:#fff;cursor:pointer;background:#312e81;border:1px solid #ffffff1a;border-radius:6px;align-items:center;gap:6px;margin-right:12px;padding:4px 12px 4px 8px;font-size:12px;font-weight:600;transition:all .2s;display:flex}.exit-editor-btn:hover{background:#4338ca;transform:translate(-2px)}.exit-editor-btn svg{transition:transform .2s}.exit-editor-btn:hover svg{transform:translate(-2px)}.menubar-btn{color:#ffffffb3;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;margin-left:4px;transition:all .15s;display:flex}.menubar-btn:hover{color:#fff;background:#ffffff1a}.menu-item{align-items:center;height:100%;display:flex;position:relative}.menu-trigger{color:#fffc;cursor:pointer;white-space:nowrap;border-radius:4px;padding:6px 12px;font-size:13px;font-weight:500;transition:all .15s;display:inline-block}.menu-item:hover .menu-trigger,.menu-item.active .menu-trigger{color:#fff;background:#ffffff1a}.menu-dropdown{z-index:1000;background:#0f172afa;border:1px solid #ffffff1a;border-radius:8px;min-width:200px;padding:6px;animation:.15s menuSlideIn;position:absolute;top:100%;left:0;transform:translateY(4px);box-shadow:0 10px 25px #00000080}.menu-dropdown:before{content:"";background:0 0;height:50px;position:absolute;top:-40px;left:0;right:0}@keyframes menuSlideIn{0%{opacity:0}to{opacity:1}}.menu-dropdown button{color:#ffffffd9;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:space-between;align-items:center;width:100%;padding:8px 12px;font-size:13px;transition:all .15s;display:flex}.menu-dropdown button:hover{color:#fff;background:#6366f14d}.menu-dropdown button .shortcut{color:#fff6;margin-left:16px;font-size:11px}.menu-dropdown .menu-divider{background:#ffffff14;height:1px;margin:4px 0}.menu-item-with-submenu{position:relative}.menu-btn-trigger{color:#ffffffd9;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:space-between;align-items:center;width:100%;padding:8px 12px;font-size:13px;transition:all .15s;display:flex}.menu-item-with-submenu:hover>.menu-btn-trigger{color:#fff;background:#6366f14d}.menu-submenu-panel{z-index:1001;background:#0f172a;border:1px solid #ffffff1a;border-radius:12px;flex-direction:column;gap:12px;width:320px;padding:12px;animation:.2s submenuFadeIn;display:flex;position:absolute;top:-6px;left:100%;transform:translate(8px);box-shadow:0 10px 40px #0009}.menu-submenu-panel:after{content:"";z-index:-1;background:0 0;position:absolute;inset:-5px}.menu-submenu-panel:before{content:"";background:0 0;width:30px;position:absolute;top:-20px;bottom:-20px;left:-30px}@keyframes submenuFadeIn{0%{opacity:0;transform:translate(0)}to{opacity:1;transform:translate(8px)}}.submenu-action-btn{color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:12px;font-size:.85rem;font-weight:600;transition:all .2s;display:flex}.submenu-action-btn.step-repeat{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 12px #10b98133}.submenu-action-btn.upload{background:linear-gradient(135deg,#6366f1 0%,#a855f7 100%);box-shadow:0 4px 12px #6366f133}.submenu-action-btn.scratch{backdrop-filter:blur(4px);background:#1e293b80;border:1px solid #ffffff1a}.submenu-action-btn:hover{filter:brightness(1.1);transform:translateY(-2px)}.submenu-action-btn.step-repeat:hover{box-shadow:0 8px 20px #10b98166}.submenu-action-btn.upload:hover{box-shadow:0 8px 20px #6366f166}.submenu-action-btn.scratch:hover{background:#1e293bcc;border-color:#fff3}.submenu-row{gap:8px;display:flex}.submenu-row .submenu-action-btn{text-align:center;flex-direction:column;flex:1;padding:16px 8px;font-size:.75rem}.submenu-row .submenu-action-btn span{margin-top:4px}.psd-toolbar{z-index:10;background:#0f172af2;border-right:1px solid #ffffff14;flex-direction:column;gap:8px;width:60px;padding:12px 0;display:flex;overflow:hidden auto}.psd-toolbar::-webkit-scrollbar{background:0 0;width:0;display:none}.toolbar-section{flex-direction:column;gap:4px;padding:0 8px;display:flex}.toolbar-divider{background:#ffffff14;height:1px;margin:4px 8px}.tool-btn{color:#fff9;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;transition:all .2s;display:flex}.tool-btn:hover{color:#ffffffe6;background:#ffffff0d;border-color:#ffffff1a}.tool-btn.active{color:#0ea5e9;background:#0ea5e926;border-color:#0ea5e94d}.tool-btn.active:hover{background:#0ea5e933}.tool-properties{border-top:1px solid #ffffff14;margin-top:auto;padding:12px 8px}.property-group{margin-bottom:12px}.property-group:last-child{margin-bottom:0}.property-group label{color:#ffffffb3;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-size:.75rem;display:block}.color-picker{cursor:pointer;background:0 0;border:1px solid #ffffff1a;border-radius:6px;width:100%;height:36px}.color-picker::-webkit-color-swatch-wrapper{padding:2px}.color-picker::-webkit-color-swatch{border:none;border-radius:4px}.size-slider{width:100%;margin-bottom:4px}.size-value{color:#ffffffe6;text-align:center;font-size:.75rem;display:block}.psd-editor-main{touch-action:none;background:#020617;flex:1;padding:0;transition:all .4s cubic-bezier(.4,0,.2,1);display:block;position:relative;overflow:hidden}.psd-editor-main.submenu-visible{padding-left:280px}.psd-editor-main.drag-over{box-shadow:inset 0 0 0 2px var(--accent-primary);background:#0f172a}.canvas-wrapper{background-color:#0f172a;background-image:linear-gradient(45deg,#1e293b 25%,#0000 25%),linear-gradient(-45deg,#1e293b 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#1e293b 75%),linear-gradient(-45deg,#0000 75%,#1e293b 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;position:absolute;top:0;left:0;box-shadow:0 0 50px #00000080}.canvas-dimension-indicator{color:#fff;cursor:auto;z-index:100;text-shadow:0 2px 4px #000c,0 0 10px #00000080;justify-content:center;align-items:center;font-family:monospace;font-size:24px;font-weight:700;transition:color .2s,text-shadow .2s;display:flex;position:absolute}.canvas-dimension-indicator:hover{color:#0ea5e9;cursor:pointer;text-shadow:0 2px 8px #0ea5e999,0 0 10px #000c}.width-indicator{width:100%;height:32px;top:-40px;left:0}.height-indicator{writing-mode:vertical-rl;text-orientation:mixed;width:32px;height:100%;top:0;left:-40px;transform:rotate(180deg)}.resize-modal-overlay{backdrop-filter:blur(4px);z-index:9999;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.resize-modal-content{box-sizing:border-box;color:#fff;background:#0f172a;border:1px solid #ffffff1a;border-radius:12px;width:320px;min-width:340px;max-width:90vw;padding:24px;box-shadow:0 20px 50px #00000080}.resize-modal-content h3{margin:0 0 20px;font-size:1.2rem;font-weight:600}.resize-input-group{align-items:stretch;gap:12px;margin-bottom:24px;display:flex}.resize-input-group input{color:#fff;box-sizing:border-box;background:#ffffff0d;border:1px solid #fff3;border-radius:6px;outline:none;flex:1;min-width:0;height:44px;padding:12px 14px;font-size:1rem;line-height:normal}.resize-input-group input:focus{background:#3b82f60d;border-color:#3b82f6}.resize-input-group select{color:#fff;cursor:pointer;box-sizing:border-box;background:#ffffff0d;border:1px solid #fff3;border-radius:6px;outline:none;height:44px;padding:0 14px;font-size:1rem}.resize-input-group select option{color:#fff;background:#0f172a}.resize-modal-actions{justify-content:flex-end;gap:12px;display:flex}.resize-modal-actions button{cursor:pointer;border-radius:6px;padding:8px 16px;font-size:.9rem;font-weight:600;transition:all .2s}.resize-modal-actions button.secondary{color:#fffc;background:0 0;border:1px solid #fff3}.resize-modal-actions button.secondary:hover{color:#fff;background:#ffffff0d}.resize-modal-actions button.primary{color:#fff;background:#3b82f6;border:1px solid #3b82f6}.resize-modal-actions button.primary:hover{background:#2563eb;border-color:#2563eb}.zoom-controls{backdrop-filter:blur(8px);z-index:50;background:#0f172ae6;border:1px solid #ffffff1a;border-radius:100px;align-items:center;gap:12px;padding:8px 16px;display:flex;position:absolute;bottom:20px;left:auto;right:20px;transform:none;box-shadow:0 4px 12px #0000004d}.zoom-controls span{color:#fff;text-align:center;min-width:45px;font-size:.9rem;font-weight:600}.zoom-controls button{color:#fff;cursor:pointer;background:#ffffff1a;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:1.1rem;font-weight:600;transition:all .2s;display:flex}.zoom-controls button:hover{background:#fff3;transform:scale(1.1)}.zoom-controls button:last-child{border-radius:14px;width:auto;padding:0 12px;font-size:.8rem}.psd-editor-sidebar{backdrop-filter:blur(12px);background:#1e293bcc;border-left:1px solid #ffffff1a;flex-direction:column;width:320px;transition:width .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.psd-editor-sidebar.collapsed{width:60px}.sidebar-header{border-bottom:1px solid #ffffff1a;flex-shrink:0;justify-content:space-between;align-items:center;height:50px;padding:0 16px;display:flex}.sidebar-header h3{color:#fff;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;margin:0;font-size:1rem;font-weight:600}.sidebar-toggle-btn{color:#ffffff80;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;padding:0;transition:all .2s;display:flex}.sidebar-toggle-btn:hover{color:#fff;background:#ffffff1a}.psd-editor-sidebar.collapsed .sidebar-toggle-btn{margin:0 auto}.layers-list{flex-direction:column;flex:1;gap:8px;padding:12px;display:flex;overflow-y:auto}.layers-list::-webkit-scrollbar{width:6px}.layers-list::-webkit-scrollbar-track{background:0 0}.layers-list::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:10px}.psd-editor-sidebar.collapsed .layers-list{padding:8px 4px}.layer-item{cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff05;border:1px solid #ffffff1a;border-radius:8px;align-items:center;gap:12px;padding:12px;transition:all .2s;display:flex}.psd-editor-sidebar.collapsed .layer-item{background:0 0;border-color:#0000;padding:4px}.layer-thumbnail{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.layer-item:hover{background:#ffffff08}.layer-item.drag-over{background:#0ea5e926;border-style:dashed;border-color:#0ea5e9;transform:scale(1.02)}.layer-item.drag-over-top{border:2px solid #0000;border-top-color:#0ea5e9;box-shadow:0 -4px 4px -2px #0ea5e94d}.layer-item.drag-over-bottom{border:2px solid #0000;border-bottom-color:#0ea5e9;box-shadow:0 4px 4px -2px #0ea5e94d}.layer-item.drag-over-inside{background:#0ea5e933;border:2px dashed #0ea5e9;transform:scale(.98)}.layer-item.selected{background:#3b82f626;border-color:#3b82f64d}.layer-content-wrapper{flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;display:flex}.layer-header-row{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.layer-controls{flex-direction:row;align-items:center;gap:4px;display:flex}.layer-opacity-row{align-items:center;gap:8px;margin-top:2px;display:flex}.layer-btn{color:#fff6;cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:all .2s;display:flex;box-shadow:none!important;background:0 0!important;border:none!important}.layer-btn:hover{color:var(--accent-primary);transform:scale(1.1)}.delete-btn:hover{color:#ef4444}.layer-info{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex;overflow:hidden}.layer-name{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:500;overflow:hidden}.layer-opacity{align-items:center;gap:8px;display:flex}.layer-opacity label{color:#ffffff80;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}.layer-opacity input[type=range]{appearance:none;cursor:pointer;background:#ffffff1a;border-radius:2px;flex:1;height:4px}.layer-opacity input[type=range]::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border-radius:50%;width:12px;height:12px}.opacity-value{color:#ffffff80;text-align:right;min-width:30px;font-size:.7rem}.psd-editor-loading,.psd-editor-error{color:#fff;background:#0f172a;flex-direction:column;justify-content:center;align-items:center;gap:20px;width:100%;height:100%;display:flex}.loading-spinner{border:3px solid #ffffff1a;border-top-color:#3b82f6;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.psd-editor-error button{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:8px;padding:10px 20px;font-weight:600;transition:all .2s}.psd-editor-error button:hover{background:#2563eb;transform:translateY(-2px)}.psd-editor-empty{-webkit-backdrop-filter:blur(20px);z-index:1000;background:#020617cc;justify-content:center;align-items:center;width:100%;height:100%;padding:40px;display:flex;position:absolute;inset:0}.empty-content{text-align:center;max-width:600px}.empty-icon{color:#fff3;justify-content:center;margin-bottom:24px;display:flex}.empty-content h2{color:#fff;margin:0 0 12px;font-size:2rem;font-weight:700}.empty-content p{color:#fff9;margin:0 0 32px;font-size:1.1rem;line-height:1.6}.empty-actions{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.empty-btn{cursor:pointer;border:none;border-radius:12px;align-items:center;gap:10px;padding:14px 28px;font-size:1rem;font-weight:600;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 4px 12px #0000004d}.empty-btn.primary{color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%)}.empty-btn.primary:hover{transform:translateY(-4px);box-shadow:0 8px 20px #3b82f666}.empty-btn.secondary{color:#fff;background:#ffffff14;border:1px solid #ffffff1a}.empty-btn.secondary:hover{background:#ffffff1f;border-color:#fff3;transform:translateY(-4px);box-shadow:0 8px 20px #0006}.context-menu{-webkit-backdrop-filter:blur(16px);z-index:1000;background:#0f172afa;border:1px solid #ffffff1a;border-radius:12px;min-width:200px;padding:6px;animation:.15s ease-out contextMenuFade;position:fixed;box-shadow:0 10px 40px #00000080}@keyframes contextMenuFade{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.context-menu button{color:#ffffffe6;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:10px 14px;font-size:.9rem;transition:all .15s;display:flex}.context-menu button:hover{background:#ffffff14}.context-menu button.danger{color:#ef4444}.context-menu button.danger:hover{background:#ef444426}.context-menu .shortcut{color:#fff6;margin-left:20px;font-size:.8rem}.context-divider{background:#ffffff14;height:1px;margin:4px 8px}.tool-wrapper{display:flex;position:relative}.tool-submenu{z-index:90;backdrop-filter:blur(8px);background:#0f172af2;border:1px solid #ffffff1a;border-left:none;border-radius:0 8px 8px 0;flex-direction:column;gap:10px;width:300px;max-height:calc(100vh - 48px);margin-left:0;padding:10px;display:flex;position:fixed;top:48px;left:60px;overflow-y:auto;box-shadow:4px 4px 12px #00000080}.tool-submenu:before{display:none}.stash-submenu{scrollbar-width:none;-ms-overflow-style:none}.stash-submenu::-webkit-scrollbar{display:none}.submenu-item{flex-direction:column;gap:4px;display:flex}.submenu-item label{color:#ffffff80;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:600}.compact-row{align-items:flex-end;gap:8px;display:flex}.compact-row .submenu-item{flex:1}.compact-row .submenu-item:last-child{flex:none}.typography-row{gap:8px;margin-top:4px;display:flex}.typography-row .submenu-item{flex:1}.typography-row label{opacity:.7;text-transform:uppercase;font-size:10px}.submenu-item select,.submenu-item input,.submenu-item textarea{color:#fff;background:#0000004d;border:1px solid #ffffff1a;border-radius:4px;outline:none;padding:6px 8px;font-size:12px}.submenu-item select:focus,.submenu-item input:focus,.submenu-item textarea:focus{border-color:#3b82f6}.submenu-item textarea{resize:vertical;min-height:40px;padding:4px 8px;font-family:inherit}.font-options{background:#0003;border:1px solid #ffffff0d;border-radius:4px;gap:4px;padding:2px;display:flex}.font-options .layer-btn{border-radius:4px;padding:4px}.transform-options{background:#0003;border:1px solid #ffffff0d;border-radius:4px;gap:4px;padding:2px;display:flex}.transform-btn{color:#fff9;cursor:pointer;background:0 0;border:none;border-radius:3px;padding:4px 8px;font-weight:600;transition:all .2s}.transform-btn:hover{color:#fff;background:#ffffff1a}.transform-btn.active{color:#fff;background:#3b82f6}.font-list-custom{scrollbar-width:thin;scrollbar-color:#fff3 transparent;background:#0000004d;border:1px solid #ffffff1a;border-radius:6px;max-height:140px;margin-top:2px;overflow-y:auto}.font-list-custom::-webkit-scrollbar{width:4px}.font-list-custom::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.font-option-custom{cursor:pointer;color:#fffffff2;border-bottom:1px solid #ffffff08;padding:6px 12px;font-size:13px;transition:all .15s}.font-option-custom:last-child{border-bottom:none}.font-option-custom:hover{color:#fff;background:#3b82f640}.font-option-custom.active{color:#fff;background:#3b82f666;font-weight:600}.font-option-content{align-items:center;gap:8px;display:flex}.font-check-icon{color:#3b82f6;opacity:0;flex-shrink:0;transition:opacity .15s}.font-check-icon.visible{opacity:1}.font-option-custom.active .font-check-icon{color:#fff}.color-swatch-container{background:#0003;border-radius:6px;flex-wrap:wrap;gap:6px;margin-top:2px;padding:8px;display:flex}.color-swatch{cursor:pointer;border:1px solid #fff3;border-radius:4px;width:24px;height:24px;padding:0;transition:transform .15s,border-color .15s}.color-swatch:hover{border-color:#ffffff80;transform:scale(1.15)}.color-swatch.active{border:2px solid #3b82f6;transform:scale(1.1);box-shadow:0 0 8px #3b82f666}.custom-color-trigger{cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:4px;flex:1;align-items:center;gap:8px;min-width:80px;padding:2px 6px;transition:all .2s;display:flex}.custom-color-trigger:hover{background:#ffffff1a;border-color:#fff3}.custom-color-input{cursor:pointer;background:0 0;border:none;width:20px;height:20px;padding:0}.custom-color-label{color:#fffc;text-transform:uppercase;letter-spacing:.02em;font-size:11px;font-weight:500}.editor-notification{backdrop-filter:blur(4px);color:#fff;z-index:2000;background:#3b82f6e6;border:1px solid #ffffff1a;border-radius:8px;padding:12px 24px;font-weight:500;animation:3s ease-in-out forwards notificationSlide;position:absolute;top:80px;left:50%;transform:translate(-50%);box-shadow:0 10px 15px -3px #00000080}@keyframes notificationSlide{0%{opacity:0;transform:translate(-50%,-20px)}10%{opacity:1;transform:translate(-50%)}80%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-20px)}}.editor-actions-right{align-items:center;gap:12px;margin-right:16px;display:flex}.quantity-wrapper,.material-wrapper{color:#ffffffb3;align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.material-selector{color:#fff;cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;outline:none;padding:6px 12px;font-family:inherit;font-size:13px;transition:all .2s}.material-selector:hover{background:#ffffff1a;border-color:#fff3}.material-selector option,.qty-selector option,.size-price-selector option{color:#fff;background-color:#0f172a}.qty-selector{color:#fff;cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;outline:none;padding:6px 8px;font-family:inherit;font-size:13px;transition:all .2s}.qty-selector:hover{background:#ffffff1a;border-color:#fff3}.size-price-selector{color:#fff;cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;outline:none;min-width:200px;padding:6px 12px;font-family:inherit;font-size:13px;transition:all .2s}.size-price-selector:hover{background:#ffffff1a;border-color:#fff3}.add-to-cart-btn{color:#000;cursor:pointer;background:#f90;border:none;border-radius:8px;padding:8px 20px;font-size:13px;font-weight:600;transition:all .3s cubic-bezier(.16,1,.3,1);box-shadow:0 4px 12px #ff99004d}.add-to-cart-btn:hover{background:#fa8900;transform:translateY(-2px);box-shadow:0 8px 20px #f906}.add-to-cart-btn:active{background-color:#f0c14b}.btn-cancel-edit{color:#94a3b8;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;height:42px;padding:0 20px;font-weight:600;transition:all .2s}.btn-cancel-edit:hover{color:#ef4444;background:#ef44441a;border-color:#ef44444d}.modal-overlay{backdrop-filter:blur(4px);z-index:20000;background:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background:var(--bg-modal);-webkit-backdrop-filter:blur(24px);border:1px solid #fff3;border-radius:12px;width:100%;max-width:500px;padding:24px;animation:.3s cubic-bezier(.16,1,.3,1) modalSlideUp;box-shadow:0 20px 25px -5px #00000080,0 10px 10px -5px #0006}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(20px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.modal-header h3{color:#fff;margin:0;font-size:1.25rem;font-weight:600}.close-btn{color:#ffffff80;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;font-size:1.5rem;line-height:1;transition:all .2s}.close-btn:hover{color:#fff;background:#ffffff1a}.modal-body{flex-direction:column;gap:20px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-row-inner{gap:16px;width:100%;display:flex}.form-row-inner .form-group{flex:1}.form-group label{color:#ffffffe6;text-transform:uppercase;letter-spacing:.05em;font-size:.875rem;font-weight:500}.modal-input,.modal-select{color:#fff;box-sizing:border-box;background:#0f172a;border:1px solid #fff3;border-radius:6px;outline:none;width:100%;padding:10px 12px;font-size:.95rem;transition:all .2s}.modal-input:focus,.modal-select:focus{background:#0f172a;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.modal-select option{color:#fff;background:#0f172a}.modal-footer{border-top:1px solid #ffffff1a;justify-content:flex-end;gap:12px;margin-top:32px;padding-top:20px;display:flex}.btn-secondary{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:6px;padding:8px 16px;font-weight:500;transition:all .2s}.btn-secondary:hover{background:#ffffff0d;border-color:#ffffff4d}.btn-primary{color:#fff;cursor:pointer;background:#3b82f6;border:none;border-radius:6px;padding:8px 20px;font-weight:600;transition:all .2s}.btn-primary:hover{background:#2563eb;transform:translateY(-1px)}[data-theme=light] .modal-overlay{background:#00000080}[data-theme=light] .modal-content{border-color:#cbd5e1;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}[data-theme=light] .modal-header h3{color:#0f172a}[data-theme=light] .close-btn{color:#64748b}[data-theme=light] .close-btn:hover{color:#0f172a;background:#f1f5f9}[data-theme=light] .form-group label{color:#475569}[data-theme=light] .modal-input,[data-theme=light] .modal-select{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}[data-theme=light] .modal-input:focus,[data-theme=light] .modal-select:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}[data-theme=light] .modal-select option{color:#0f172a;background:#fff}[data-theme=light] .modal-footer{border-top-color:#e2e8f0}[data-theme=light] .btn-secondary{color:#475569;border-color:#cbd5e1}[data-theme=light] .btn-secondary:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.effects-grid{scrollbar-width:thin;scrollbar-color:#fff3 transparent;background:#0003;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:6px;max-height:180px;margin-top:4px;padding:10px;display:grid;overflow-y:auto}.effects-grid::-webkit-scrollbar{width:4px}.effects-grid::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.effect-btn{color:#ffffffb3;cursor:pointer;text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;padding:10px 4px;font-size:10px;font-weight:500;transition:all .2s;overflow:hidden}.effect-btn:hover{color:#fff;background:#ffffff1a;border-color:#fff3}.effect-btn.active{color:#fff;background:#3b82f6;border-color:#3b82f6;box-shadow:0 0 12px #3b82f64d}.property-row{align-items:center;gap:8px;margin-top:4px;display:flex}.property-group{background:#0003;border:1px solid #ffffff0d;border-radius:8px;flex-direction:column;gap:8px;padding:10px;display:flex}.property-title{color:#ffffffe6;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;font-size:11px;font-weight:600}.slider-with-value{flex:1;align-items:center;gap:8px;display:flex}.slider-with-value input{appearance:none;background:#ffffff1a;border-radius:2px;flex:1;height:4px}.slider-with-value input::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#3b82f6;border-radius:50%;width:12px;height:12px}.slider-value{color:#ffffffb3;text-align:right;min-width:35px;font-size:11px}.gradient-preview{border:1px solid #ffffff1a;border-radius:7px;height:14px;margin:4px 0}.mini-toggle-group{background:#0003;border-radius:4px;padding:2px;display:flex}.mini-toggle{color:#ffffff80;cursor:pointer;background:0 0;border:none;border-radius:3px;padding:4px 8px;font-size:10px;font-weight:700;transition:all .2s}.mini-toggle.active{color:#fff;background:#3b82f6}.layer-properties-panel{background:#ffffff08;border-bottom:1px solid #ffffff1a;flex-direction:column;gap:16px;padding:16px;display:flex}.property-group{flex-direction:column;gap:8px;display:flex}.property-group label{color:#ffffff80;text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.property-select{color:#fff;cursor:pointer;background:#0f172a99;border:1px solid #ffffff1a;border-radius:6px;outline:none;width:100%;padding:8px 12px;font-size:13px;transition:all .2s}.property-select:hover{background:#0f172acc;border-color:#fff3}.property-select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.property-label-row{justify-content:space-between;align-items:center;display:flex}.property-value{color:#3b82f6;font-size:12px;font-weight:600}.property-slider{appearance:none;background:#ffffff1a;border-radius:2px;outline:none;width:100%;height:4px}.property-slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border-radius:50%;width:14px;height:14px;transition:all .15s;box-shadow:0 0 0 2px #0f172a}.property-slider::-webkit-slider-thumb:hover{transform:scale(1.2);box-shadow:0 0 10px #3b82f680}.properties-divider{background:#ffffff0d;height:1px;margin:4px -16px -16px}.image-area-quick-panel{backdrop-filter:blur(12px);z-index:9;background:#0f172ae6;border-left:1px solid #ffffff14;flex-direction:column;align-items:center;gap:12px;width:100px;padding:12px 0;transition:width .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden auto}.image-area-quick-panel.collapsed{border-left:none;width:0;padding:12px 0;overflow:hidden}.quick-panel-header{flex-direction:column;align-items:center;gap:8px;width:100%;margin-bottom:8px;padding:0 8px;display:flex}.quick-panel-title{color:#fff6;text-transform:uppercase;letter-spacing:.5px;text-align:center;white-space:nowrap;font-size:11px;font-weight:700}.quick-upload-button{cursor:pointer;background:#ffffff08;border:1px solid #ffffff1a;border-radius:12px;flex-shrink:0;width:64px;height:64px;padding:3px;transition:all .2s;position:relative}.quick-upload-button:hover{background:#3b82f61a;border-color:#3b82f680;transform:translateY(-2px)}.quick-upload-button.active{background:#3b82f633;border-color:#3b82f6;box-shadow:0 0 10px #3b82f64d}.quick-upload-thumb{background:#1e293b;border-radius:8px;justify-content:center;align-items:center;width:100%;height:100%;display:flex;overflow:hidden}.quick-upload-icon-overlay{color:#fff;opacity:0;background:#0f172a99;border-radius:10px;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;inset:0}.quick-upload-button:hover .quick-upload-icon-overlay{opacity:1}.quick-upload-wrapper{flex-direction:column;align-items:center;gap:12px;width:100%;padding:8px 0;display:flex;position:relative}.quick-upload-label{color:#ffffffb3;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:84px;font-size:11px;font-weight:500;overflow:hidden}.mini-bg-removal-btn{color:#fff;cursor:pointer;z-index:10;background:#3b82f6;border:2px solid #0f172a;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;transition:all .2s;display:flex;position:absolute;top:2px;right:2px;transform:scale(1);box-shadow:0 2px 4px #0000004d}.mini-bg-removal-btn:hover{background:#2563eb;transform:scale(1.1)!important}.mini-bg-removal-btn.loading{background:#4b5563;animation:1.5s infinite pulse}.layer-item-delete-btn-mini{color:#fff;cursor:pointer;z-index:10;background:#ef4444;border:2px solid #0f172a;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;transition:all .2s;display:flex;position:absolute;top:2px;left:2px;box-shadow:0 2px 4px #0000004d}.layer-item-delete-btn-mini:hover{background:#dc2626;transform:scale(1.1)}.image-area-quick-panel::-webkit-scrollbar{width:2px}.image-area-quick-panel::-webkit-scrollbar-track{background:0 0}.image-area-quick-panel::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:10px}.mobile-layers-fab{display:none}@media (width<=1024px){.editor-menubar{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;height:50px;padding:0 8px;overflow:auto hidden}.editor-menubar::-webkit-scrollbar{display:none}.editor-actions-right{flex-shrink:0;margin-left:auto}.editor-title{white-space:nowrap;text-overflow:ellipsis;border-right:none;max-width:80px;margin-right:4px;padding:0 4px 0 0;font-size:11px;overflow:hidden}.exit-editor-btn{gap:4px;margin-right:4px;padding:4px 6px;font-size:11px}.menubar-btn{width:24px;height:24px}.psd-toolbar{z-index:1000;background:#0f172afa;border-top:1px solid #ffffff14;border-right:none;flex-direction:row;justify-content:space-around;width:100%;height:60px;padding:8px;position:fixed;bottom:0;left:0;right:0;overflow-x:auto}.toolbar-section{flex-direction:row;align-items:center;gap:8px;padding:0 4px}.toolbar-divider{width:1px;height:24px;margin:0 8px}.tool-btn{width:40px;height:40px}.tool-submenu{width:auto;min-width:0;max-width:none;max-height:50vh;inset:auto 10px 130px;overflow-y:auto}.tool-submenu.transform-submenu{display:none!important}.psd-editor-sidebar{z-index:2000;background:#0f172afa;border-left:1px solid #ffffff1a;width:280px;height:100%;transition:transform .3s cubic-bezier(.4,0,.2,1);position:absolute;top:0;bottom:0;right:0;overflow:visible;transform:translate(100%);box-shadow:-4px 0 16px #00000080}.psd-editor-sidebar:not(.collapsed){transform:translate(0)}.psd-editor-sidebar.collapsed{width:280px;transform:translate(100%)}.psd-editor-sidebar.collapsed .sidebar-toggle-btn{z-index:900;background:#0f172acc;border:1px solid #fff3;border-radius:50%;width:36px;height:36px;position:absolute;top:auto;bottom:195px;left:-48px;box-shadow:0 4px 12px #00000080}.psd-editor-sidebar:not(.collapsed) .sidebar-toggle-btn{width:28px;height:28px;box-shadow:none;background:0 0;border:none;margin-left:auto;position:static}.psd-editor-main{padding-bottom:60px;padding-left:0!important}.psd-editor-main.submenu-visible{padding-left:0!important}.image-area-quick-panel{width:70px;padding:8px 0}.quick-upload-button{border-radius:8px;width:48px;height:48px}.step-repeat-modal,.admin-modal-content,.design-intro-modal-content,.modal-content{max-height:90vh;padding:16px;overflow-y:auto;width:95vw!important;max-width:95vw!important}.modal-actions{flex-direction:column;gap:8px}.modal-actions button{justify-content:center;width:100%}.resize-modal-content{width:90vw;min-width:0}.resize-input-group{flex-direction:row}.menu-dropdown{max-width:100vw;z-index:2000!important;width:auto!important;position:fixed!important;top:50px!important;left:8px!important;right:8px!important}.zoom-controls{border-radius:20px;padding:6px 12px;bottom:140px;left:50%;right:auto;transform:translate(-50%)}.zoom-controls button{width:24px;height:24px;font-size:1rem}.mobile-layers-fab{color:#fff;z-index:2500;cursor:pointer;backdrop-filter:blur(4px);background:#6366f1f2;border:1px solid #fff3;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:transform .2s,background .2s;display:flex;position:fixed;bottom:145px;right:16px;box-shadow:0 4px 12px #00000080}.mobile-layers-fab:active{background:#6366f1;transform:scale(.95)}.mobile-layers-fab span{margin-top:2px;font-size:10px;font-weight:600}.mobile-hidden-btn{display:none!important}.mobile-close-btn{display:flex!important}.psd-editor-top-bar .transform-actions{z-index:2000;backdrop-filter:blur(8px);background:#1e293bf2;border:1px solid #ffffff26;border-radius:12px;gap:8px;padding:8px;display:flex;position:fixed;bottom:190px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0009}.psd-editor-top-bar .toolbar-divider:has(+.transform-actions){display:none}}.mobile-close-btn{display:none!important}.mobile-sticky-cart-btn-container,.mobile-cart-modal-overlay{display:none}@media (width<=1024px){.editor-menubar .editor-actions-right{display:none!important}.psd-toolbar{bottom:60px!important}.mobile-sticky-cart-btn-container{z-index:2000;box-sizing:border-box;background:#0f172a;justify-content:center;align-items:center;width:100vw;height:60px;padding:8px 16px;display:flex;position:fixed;bottom:0;left:0;box-shadow:0 -4px 12px #00000080}.mobile-sticky-cart-btn{color:#fff;text-transform:uppercase;letter-spacing:.5px;background-color:#f97316;border:none;border-radius:8px;width:100%;height:100%;font-size:16px;font-weight:700;box-shadow:0 4px 6px -1px #f9731666}.mobile-sticky-cart-btn:active{background-color:#ea580c;transform:scale(.98)}.mobile-cart-modal-overlay{z-index:3000;background:#000000b3;flex-direction:column;justify-content:flex-end;display:flex;position:fixed;inset:0}.mobile-cart-modal{box-sizing:border-box;background:#1e293b;border-top-left-radius:20px;border-top-right-radius:20px;width:100%;padding:20px 24px 30px;position:relative;box-shadow:0 -10px 25px #00000080}.mobile-cart-modal-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:12px;display:flex}.mobile-cart-modal-header h3{color:#fff;margin:0;font-size:18px;font-weight:600}.mobile-cart-modal-header .close-btn{color:#94a3b8;background:0 0;border:none;min-width:44px;margin-right:-8px;padding:0 8px;font-size:28px;line-height:1}.mobile-cart-modal-header .close-btn:active{color:#fff}.mobile-cart-modal-content .editor-actions-right{flex-direction:column;gap:16px;width:100%;height:auto;margin:0;display:flex}.mobile-cart-modal-content .material-wrapper,.mobile-cart-modal-content .quantity-wrapper{flex-direction:column;align-items:flex-start;gap:6px;width:100%;display:flex}.mobile-cart-modal-content .material-wrapper label,.mobile-cart-modal-content .quantity-wrapper label{color:#cbd5e1;margin:0;font-size:13px;font-weight:500;display:block}.mobile-cart-modal-content select{box-sizing:border-box;appearance:none;color:#fff;background-color:#0f172acc;background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23cbd5e1%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");background-position:right 16px top 50%;background-repeat:no-repeat;background-size:12px;border:1px solid #ffffff1a;border-radius:8px;width:100%;height:48px;margin:0;padding:12px 36px 12px 16px;font-size:16px}.mobile-cart-modal-content .add-to-cart-btn{border-radius:8px;width:100%;height:52px;margin-top:8px;font-size:16px;font-weight:700}.mobile-cart-modal-content .btn-cancel-edit{color:#ef4444;background:0 0;border:1px solid #ef4444;border-radius:8px;width:100%;margin-top:8px;padding:12px}.canvas-dimension-indicator{backdrop-filter:blur(4px)!important;z-index:100!important;background:#0f172a99!important;border:1px solid #ffffff1a!important;border-radius:16px!important;justify-content:center!important;align-items:center!important;width:auto!important;height:auto!important;padding:4px 12px!important;font-size:16px!important;line-height:1!important;display:flex!important;position:fixed!important;top:120px!important}.width-indicator{color:#fff!important;left:50%!important;transform:translate(-105%)!important}.width-indicator:before{content:"W: ";color:#94a3b8;margin-right:4px;font-size:12px}.height-indicator{writing-mode:horizontal-tb!important;text-orientation:mixed!important;color:#fff!important;left:50%!important;transform:translate(5%)!important}.height-indicator:before{content:"H: ";color:#94a3b8;margin-right:4px;font-size:12px}}