*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}html,body,#root{height:100%}body{font-family:var(--font);background:#f1f5f9;color:#1e293b;-webkit-font-smoothing:antialiased}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0f172a}.login-card{background:#fff;border-radius:14px;padding:36px 40px;width:100%;max-width:400px;box-shadow:0 24px 64px #0006}.login-logo{text-align:center;margin-bottom:28px}.login-logo-name{font-size:16px;font-weight:800;letter-spacing:.12em;color:#0f172a}.login-logo-sub{font-size:12px;color:#94a3b8;letter-spacing:.08em;margin-top:3px;text-transform:uppercase}.login-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:9px 12px;border-radius:6px;font-size:13.5px;margin-bottom:16px}.login-field{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}.login-label{font-size:12.5px;font-weight:600;color:#374151}.login-input{padding:9px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#1e293b;background:#fff;outline:none;transition:border-color .15s;font-family:var(--font)}.login-input:focus{border-color:#3b82f6}.login-btn{width:100%;margin-top:8px;padding:10px;background:#3b82f6;color:#fff;font-size:14px;font-weight:600;border:none;border-radius:7px;cursor:pointer;transition:background .15s;font-family:var(--font)}.login-btn:hover:not(:disabled){background:#2563eb}.login-btn:disabled{opacity:.5;cursor:not-allowed}.dash{display:flex;min-height:100vh}.dash-sidebar{width:220px;min-height:100vh;background:#0f172a;display:flex;flex-direction:column;position:sticky;top:0;align-self:flex-start;height:100vh;overflow-y:auto}.dash-logo{padding:24px 20px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.dash-logo-name{color:#f1f5f9;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.dash-logo-sub{color:#64748b;font-size:11px;letter-spacing:.05em;text-transform:uppercase;margin-top:2px}.dash-nav{padding:12px 0;flex:1}.dash-nav-section{padding:8px 20px 4px;color:#475569;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.dash-nav-link{display:flex;align-items:center;gap:10px;padding:9px 20px;color:#94a3b8;font-size:13.5px;text-decoration:none;border-left:2px solid transparent;border-right:none;border-top:none;border-bottom:none;transition:color .15s,background .15s;cursor:pointer;background:none;width:100%;text-align:left;font-family:var(--font)}.dash-nav-link:hover{color:#f1f5f9;background:#ffffff0a}.dash-nav-link.active{color:#f8fafc;background:#3b82f626;border-left-color:#3b82f6}.dash-nav-icon{width:16px;text-align:center;font-size:14px}.dash-back-link{padding:12px 0;border-top:1px solid rgba(255,255,255,.08);margin-top:auto}.dash-main{flex:1;min-height:100vh;overflow-x:hidden}.dash-page{padding:32px 40px;max-width:1100px}.dash-page-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px}.dash-page-title{font-size:22px;font-weight:700;color:#0f172a}.dash-page-sub{color:#64748b;font-size:13.5px;margin-top:3px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px 22px}.stat-card-icon{font-size:18px;margin-bottom:10px}.stat-card-num{font-size:32px;font-weight:700;color:#0f172a;line-height:1}.stat-card-label{font-size:13px;color:#64748b;margin-top:6px}.dash-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.dash-table{width:100%;border-collapse:collapse}.dash-table th{background:#f8fafc;padding:10px 16px;text-align:left;font-size:11.5px;font-weight:600;color:#475569;letter-spacing:.05em;text-transform:uppercase;border-bottom:1px solid #e2e8f0}.dash-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;font-size:13.5px;color:#334155;vertical-align:middle}.dash-table tr:last-child td{border-bottom:none}.dash-table tr:hover td{background:#f8fafc}.dash-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:6px;font-size:13.5px;font-weight:600;cursor:pointer;border:none;transition:background .15s,color .15s;font-family:var(--font);white-space:nowrap}.dash-btn:disabled{opacity:.5;cursor:not-allowed}.dash-btn-primary{background:#3b82f6;color:#fff}.dash-btn-primary:hover:not(:disabled){background:#2563eb}.dash-btn-sm{padding:5px 10px;font-size:12px}.dash-btn-ghost{background:transparent;color:#475569;border:1px solid #e2e8f0}.dash-btn-ghost:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.dash-btn-danger{background:#fef2f2;color:#ef4444;border:1px solid #fee2e2}.dash-btn-danger:hover:not(:disabled){background:#ef4444;color:#fff}.dash-btn-success{background:#f0fdf4;color:#22c55e;border:1px solid #dcfce7}.dash-btn-success:hover:not(:disabled){background:#22c55e;color:#fff}.dash-btn-actions{display:flex;gap:6px}.dash-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:600}.dash-badge-green{background:#dcfce7;color:#15803d}.dash-badge-red{background:#fee2e2;color:#dc2626}.dash-badge-blue{background:#dbeafe;color:#1d4ed8}.dash-badge-gray{background:#f1f5f9;color:#64748b}.dash-modal-veil{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:200}.dash-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:12px;width:90%;max-width:520px;max-height:88vh;overflow-y:auto;z-index:201;box-shadow:0 20px 60px #00000040}.dash-modal-lg{max-width:680px}.dash-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid #e2e8f0;position:sticky;top:0;background:#fff;z-index:1}.dash-modal-title{font-size:16px;font-weight:700;color:#0f172a}.dash-modal-x{background:none;border:none;cursor:pointer;font-size:20px;color:#94a3b8;line-height:1;padding:2px 6px;font-family:var(--font)}.dash-modal-x:hover{color:#0f172a}.dash-modal-body{padding:20px 24px}.dash-modal-footer{padding:16px 24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:#fff}.dash-form{display:flex;flex-direction:column;gap:16px}.dash-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dash-field{display:flex;flex-direction:column;gap:5px}.dash-field-label{font-size:12.5px;font-weight:600;color:#374151}.dash-field-input,.dash-field-select,.dash-field-textarea{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:13.5px;color:#1e293b;background:#fff;outline:none;transition:border-color .15s;font-family:var(--font)}.dash-field-input:focus,.dash-field-select:focus,.dash-field-textarea:focus{border-color:#3b82f6}.dash-field-input:disabled{background:#f8fafc;color:#94a3b8}.dash-field-textarea{resize:vertical;min-height:80px}.dash-field-check{display:flex;align-items:center;gap:8px;cursor:pointer}.dash-field-section{font-size:11px;font-weight:700;color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;padding:4px 0;border-bottom:1px solid #f1f5f9}.dash-loading{display:flex;align-items:center;justify-content:center;height:100vh;font-size:15px;color:#64748b;background:#0f172a}.dash-empty{padding:40px;text-align:center;color:#94a3b8;font-size:14px}.dash-error-banner{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:10px 14px;border-radius:6px;font-size:13.5px;margin-bottom:16px}.dash-confirm-text{font-size:14.5px;color:#334155;line-height:1.6;text-align:center;padding:8px 0}.drawer-veil{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:200}.drawer{position:fixed;top:0;right:0;bottom:0;width:560px;max-width:95vw;background:#fff;z-index:201;display:flex;flex-direction:column;box-shadow:-8px 0 40px #0000002e;animation:slideIn .2s ease}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.drawer-title{font-size:17px;font-weight:700;color:#0f172a}.drawer-body{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:0}.drawer-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:24px;margin-top:8px;border-top:1px solid #f1f5f9}.pf-section{font-size:11px;font-weight:700;color:#94a3b8;letter-spacing:.1em;text-transform:uppercase;padding:20px 0 8px;border-bottom:1px solid #f1f5f9;margin-bottom:14px}.pf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.pf-field{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}.pf-label{font-size:12.5px;font-weight:600;color:#374151}.pf-textarea-lg{min-height:120px}.pf-field--err .pf-label{color:#dc2626}.pf-field-err-msg{font-size:11.5px;color:#dc2626;margin-top:-2px}.dash-field-input--err,.dash-field-select.dash-field-input--err{border-color:#dc2626!important;background:#fff5f5}.img-uploader{display:flex;gap:16px;align-items:flex-start;margin-bottom:14px}.img-preview{width:120px;height:120px;border-radius:10px;border:2px dashed #e2e8f0;background-size:cover;background-position:center;background-color:#f8fafc;cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;flex-shrink:0;transition:border-color .15s}.img-preview:hover{border-color:#3b82f6}.img-placeholder{font-size:11.5px;color:#94a3b8;text-align:center;padding:8px;line-height:1.4}.img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000073;color:#fff;font-size:12.5px;font-weight:600;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s}.img-preview:hover .img-overlay{opacity:1}.img-actions{display:flex;flex-direction:column;gap:8px;justify-content:center}.specs-editor{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.specs-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center}.specs-key{font-weight:500}.specs-rm{width:28px;height:28px;border:none;background:#fef2f2;color:#ef4444;border-radius:6px;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:var(--font)}.specs-rm:hover{background:#ef4444;color:#fff}.specs-add{background:none;border:1px dashed #d1d5db;border-radius:6px;padding:7px 12px;font-size:13px;color:#64748b;cursor:pointer;text-align:left;font-family:var(--font);transition:all .15s}.specs-add:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.variant-editor{display:flex;flex-direction:column;gap:8px}.variant-row{display:grid;grid-template-columns:36px 1fr 56px auto;gap:8px;align-items:center}.variant-color-picker{width:36px;height:36px;border:none;border-radius:6px;padding:2px;cursor:pointer;background:none}.variant-name{min-width:0}.variant-img-btn{width:56px;height:36px;border:1.5px dashed #d1d5db;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:border-color .15s}.variant-img-btn:hover{border-color:#3b82f6}.variant-img-thumb{width:100%;height:100%;object-fit:cover}.variant-img-empty{font-size:11px;color:#94a3b8;text-align:center;line-height:1.2}.hero-img-upload{display:flex;align-items:center;gap:12px}.hero-img-preview{width:160px;height:90px;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0;flex-shrink:0}.hero-img-empty{width:160px;height:90px;border:1.5px dashed #d1d5db;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:13px;color:#94a3b8;cursor:pointer;flex-shrink:0;transition:border-color .15s}.hero-img-empty:hover{border-color:#3b82f6;color:#3b82f6}.hero-img-actions{display:flex;flex-direction:column;gap:6px}.order-filters{display:flex;gap:6px;margin-bottom:20px;flex-wrap:wrap}.order-filter-btn{padding:6px 16px;border-radius:20px;border:1.5px solid #e2e8f0;background:#fff;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s}.order-filter-btn:hover{border-color:#c9a84c;color:#c9a84c}.order-filter-btn--active{background:#c9a84c;border-color:#c9a84c;color:#fff;font-weight:600}.orders-list{display:flex;flex-direction:column}.orders-list-rows{display:flex;flex-direction:column;gap:6px}.orders-list-header{display:grid;grid-template-columns:60px 1fr 80px 90px 100px 180px 30px;gap:12px;padding:0 18px 10px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8}.order-row{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;overflow:hidden;transition:border-color .15s}.order-row--open,.order-row:hover{border-color:#c9a84c}.order-row-summary{display:grid;grid-template-columns:60px 1fr 80px 90px 100px 180px 30px;gap:12px;align-items:center;padding:14px 16px;width:100%;background:none;border:none;cursor:pointer;text-align:left}.order-row-id{font-size:13px;font-weight:700;color:#1e293b}.order-row-customer{display:flex;flex-direction:column;gap:2px}.order-row-name{font-size:13px;font-weight:600;color:#1e293b}.order-row-email{font-size:12px;color:#94a3b8}.order-row-items{font-size:13px;color:#64748b}.order-row-total{font-size:14px;font-weight:700;color:#1e293b}.order-row-date{font-size:12px;color:#94a3b8}.order-row-chevron{font-size:10px;color:#94a3b8;text-align:center}.order-badge{display:inline-block;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap}.order-badge--pending{background:#fef9c3;color:#854d0e}.order-badge--paid{background:#dcfce7;color:#166534}.order-badge--shipped{background:#dbeafe;color:#1e40af}.order-badge--cancelled{background:#fee2e2;color:#991b1b}.order-detail{border-top:1.5px solid #f1f5f9;padding:20px 16px;background:#fafafa}.order-detail-cols{display:grid;grid-template-columns:1fr 1fr 220px;gap:24px}.order-detail-section{display:flex;flex-direction:column;gap:0}.order-detail-label{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#94a3b8;margin-bottom:10px}.order-item-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f1f5f9}.order-item-img{width:42px;height:42px;border-radius:8px;object-fit:cover;flex-shrink:0;background:#e2e8f0}.order-item-img--ph{background:#e2e8f0}.order-item-info{flex:1}.order-item-name{font-size:13px;font-weight:600;color:#1e293b}.order-item-meta{font-size:12px;color:#94a3b8;margin-top:2px}.order-item-line{font-size:13px;font-weight:700;color:#1e293b;white-space:nowrap}.order-total-row{display:flex;justify-content:space-between;padding:10px 0 0;font-size:14px;font-weight:700;color:#1e293b}.order-info-block{background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;overflow:hidden}.order-info-row{display:flex;justify-content:space-between;padding:8px 12px;font-size:13px;border-bottom:1px solid #f1f5f9;gap:12px}.order-info-row:last-child{border-bottom:none}.order-info-row span:first-child{color:#94a3b8;font-weight:500;flex-shrink:0}.order-info-row span:last-child{color:#1e293b;font-weight:600;text-align:right;word-break:break-all}.order-status-big{font-size:14px;padding:8px 16px}.order-action-btn{display:block;width:100%;padding:10px 16px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .15s;margin-top:8px}.order-action-btn:disabled{opacity:.6;cursor:not-allowed}.order-action-btn--paid{background:#dcfce7;color:#166534}.order-action-btn--shipped{background:#dbeafe;color:#1e40af}.order-action-btn--cancelled{background:#fee2e2;color:#991b1b}.order-action-btn:hover:not(:disabled){opacity:.8}.order-save-error{font-size:12px;color:#dc2626;margin-top:8px;font-weight:500}.order-confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:100;display:flex;align-items:center;justify-content:center}.order-confirm-modal{background:#fff;border-radius:14px;padding:28px 28px 24px;width:340px;box-shadow:0 8px 40px #0000002e}.order-confirm-title{font-size:17px;font-weight:700;color:#1e293b;margin-bottom:10px}.order-confirm-sub{font-size:14px;color:#64748b;line-height:1.6;margin-bottom:22px;display:flex;flex-wrap:wrap;gap:5px;align-items:center}.order-confirm-sub .order-badge{font-size:11px;padding:2px 8px}.order-confirm-btns{display:flex;gap:10px}.order-confirm-cancel{flex:1;padding:10px;border-radius:8px;border:1.5px solid #e2e8f0;background:#fff;font-size:14px;font-weight:600;color:#64748b;cursor:pointer;transition:border-color .15s}.order-confirm-cancel:hover{border-color:#94a3b8}.order-confirm-ok{flex:1;padding:10px;border-radius:8px;border:none;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .15s}.order-confirm-ok:hover:not(:disabled){opacity:.8}.order-confirm-ok:disabled{opacity:.6;cursor:not-allowed}
