body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:20px;padding:40px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:450px;animation:slideUp .4s ease-out}.auth-header{text-align:center;margin-bottom:30px}.auth-header h1{font-size:28px;font-weight:700;color:#333;margin-bottom:8px}.auth-header p{font-size:16px;color:#666}.error-message{background:#fee;border:1px solid #fcc;color:#c33;padding:12px 16px;border-radius:8px;margin-bottom:20px;display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.5}.error-message span{flex-shrink:0;margin-top:2px}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#333}.form-group input{padding:14px 16px;border:2px solid #e0e0e0;border-radius:10px;font-size:15px;transition:all .3s ease;outline:none}.form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#aaa}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{width:100%;padding-right:45px}.password-toggle{position:absolute;right:12px;background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#666;transition:color .3s ease}.password-toggle:hover{color:#667eea}.password-toggle svg{display:block}.forgot-password-link{display:inline-block;margin-top:8px;color:#667eea;text-decoration:none;font-size:14px;font-weight:500;transition:color .3s ease}.forgot-password-link:hover{color:#764ba2;text-decoration:underline}.auth-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:14px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:10px}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-footer{text-align:center;margin-top:24px;padding-top:24px;border-top:1px solid #e0e0e0}.auth-footer p{font-size:14px;color:#666}.auth-footer a{color:#667eea;text-decoration:none;font-weight:600;transition:color .3s ease}.auth-footer a:hover{color:#764ba2;text-decoration:underline}.divider{display:flex;align-items:center;text-align:center;margin:20px 0;color:#999}.divider:before,.divider:after{content:"";flex:1;border-bottom:1px solid #e0e0e0}.divider span{padding:0 12px;font-size:13px;font-weight:500}.google-button{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;color:#333;padding:14px;border:2px solid #e0e0e0;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease}.google-button:hover{border-color:#4285f4;box-shadow:0 4px 12px #4285f433;transform:translateY(-2px)}.google-icon{flex-shrink:0}.spinner{margin:30px auto;width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@media(max-width:480px){.auth-card{padding:30px 20px}.auth-header h1{font-size:24px}}.field-hint{font-size:13px;color:#666;margin-top:-4px;margin-bottom:8px}.role-checkboxes{display:flex;flex-direction:column;gap:12px}.role-checkbox-label{display:flex;align-items:flex-start;gap:12px;padding:16px;border:2px solid #e0e0e0;border-radius:10px;cursor:pointer;transition:all .3s ease;background:#fafafa}.role-checkbox-label:hover{border-color:#667eea;background:#f5f7ff;transform:translate(4px)}.role-checkbox-label input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#667eea;margin-top:2px;flex-shrink:0}.role-checkbox-label input[type=checkbox]:checked~.role-name{color:#667eea;font-weight:600}.role-checkbox-label input[type=checkbox]:checked{transform:scale(1.1)}.role-name{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:#333;min-width:100px}.role-icon{font-size:18px}.role-desc{font-size:13px;color:#666;line-height:1.4;flex:1}.message-box{padding:14px 16px;border-radius:10px;margin-bottom:20px;display:flex;align-items:center;gap:12px;font-size:14px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.error-box{background:#fee;border:1px solid #fcc;color:#c33}.success-box{background:#efe;border:1px solid #cfc;color:#3c3}.message-icon{font-size:18px;flex-shrink:0}.form-hint{font-size:13px;color:#666;margin-top:-4px;margin-bottom:8px}.link-button{width:100%;background:none;color:#667eea;padding:10px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;margin-top:10px;transition:all .3s ease}.link-button:hover:not(:disabled){background:#f5f7ff;border-color:#667eea}.link-button:disabled{opacity:.6;cursor:not-allowed}.auth-link{text-align:center;margin-top:24px;padding-top:24px;border-top:1px solid #e0e0e0;font-size:14px;color:#666}.auth-link a{color:#667eea;text-decoration:none;font-weight:600;transition:color .3s ease}.auth-link a:hover{color:#764ba2;text-decoration:underline}.role-selection-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:2rem}.role-selection-card{background:#fff;border-radius:20px;padding:3rem;box-shadow:0 20px 60px #00000026;max-width:800px;width:100%}.role-selection-header{text-align:center;margin-bottom:3rem}.role-selection-header h1{font-size:2.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem}.role-selection-header p{font-size:1.1rem;color:#6b7280}.roles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:2rem}.role-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:16px;padding:2rem;text-align:center;cursor:pointer;transition:all .3s}.role-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #00000026;border-color:#1a1a1a}.role-icon{font-size:4rem;margin-bottom:1rem}.role-card h2{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.75rem}.role-card p{font-size:.9rem;color:#6b7280;line-height:1.6;margin-bottom:1.5rem;min-height:60px}.select-role-btn{width:100%;padding:.875rem;background:#1a1a1a;color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s}.select-role-btn:hover:not(:disabled){background:#000;transform:scale(1.02)}.select-role-btn:disabled{background:#9ca3af;cursor:not-allowed}.logout-btn{width:100%;padding:.875rem;background:#fff;color:#1a1a1a;border:2px solid #e5e7eb;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s}.logout-btn:hover{background:#f9fafb;border-color:#1a1a1a}.auto-selecting{text-align:center;padding:3rem 2rem}.auto-selecting .spinner{margin:0 auto 1.5rem;width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.auto-selecting h2{font-size:1.5rem;color:#333;margin-bottom:.5rem}.auto-selecting p{color:#666;font-size:1rem}@media(max-width:768px){.role-selection-card{padding:2rem}.role-selection-header h1{font-size:2rem}.roles-grid{grid-template-columns:1fr}}.admin-layout{display:flex;min-height:100vh;background:#f5f7fa}.sidebar{width:260px;background:#1a1a1a;color:#fff;display:flex;flex-direction:column;position:fixed;left:0;top:0;height:100vh;transition:all .3s ease;z-index:1000;box-shadow:2px 0 8px #0000001a}.sidebar.collapsed{width:80px}.sidebar-header{padding:24px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08)}.logo{display:flex;align-items:center;gap:12px}.logo-icon{font-size:28px}.logo-text{font-size:20px;font-weight:700;white-space:nowrap}.collapse-btn{background:#ffffff14;border:none;color:#ffffffb3;width:32px;height:32px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;font-size:16px}.collapse-btn:hover{background:#ffffff1f;color:#fff}.sidebar-nav{flex:1;padding:20px 0;overflow-y:auto}.nav-item{width:100%;padding:12px 20px;display:flex;align-items:center;gap:12px;background:transparent;border:none;color:#fff9;cursor:pointer;transition:all .2s ease;font-size:14px;font-weight:500;text-align:left;border-left:2px solid transparent;margin:2px 0}.nav-item:hover{background:#ffffff0f;color:#ffffffe6}.nav-item.active{background:#ffffff1a;color:#fff;border-left-color:#4f46e5}.nav-icon{font-size:22px;min-width:22px;display:flex;align-items:center;justify-content:center}.nav-label{white-space:nowrap}.sidebar.collapsed .nav-item{justify-content:center;padding:14px}.sidebar-footer{padding:20px;border-top:1px solid rgba(255,255,255,.08)}.logout-btn{width:100%;padding:12px 20px;display:flex;align-items:center;gap:12px;background:#ffffff0f;border:none;color:#ffffffb3;cursor:pointer;transition:all .2s ease;font-size:14px;font-weight:500;border-radius:8px}.logout-btn:hover{background:#ffffff1a;color:#fff}.sidebar.collapsed .logout-btn{justify-content:center;padding:14px}.main-wrapper{flex:1;margin-left:260px;transition:all .3s ease;display:flex;flex-direction:column;min-height:100vh}.sidebar.collapsed+.main-wrapper{margin-left:80px}.top-header{background:#fff;padding:16px 30px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000000d;position:sticky;top:0;z-index:100;border-bottom:1px solid #f0f0f0}.page-title{font-size:20px;color:#1a1a1a;margin:0;font-weight:600}.header-right{display:flex;align-items:center;gap:20px}.user-info{display:flex;align-items:center;gap:10px;padding:6px 12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.user-avatar{width:36px;height:36px;background:#1a1a1a;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px}.user-details{display:flex;flex-direction:column;gap:2px}.user-name{font-size:13px;font-weight:600;color:#1a1a1a}.user-roles{display:flex;gap:4px}.role-badge-small{font-size:10px;background:#1a1a1a;color:#fff;padding:2px 8px;border-radius:4px;font-weight:600}.page-content{flex:1;padding:30px}@media(max-width:1024px){.sidebar{transform:translate(-100%)}.sidebar.collapsed{transform:translate(0)}.main-wrapper{margin-left:0}.sidebar.collapsed+.main-wrapper{margin-left:80px}}@media(max-width:768px){.top-header{padding:15px 20px}.page-title{font-size:20px}.user-details{display:none}.page-content{padding:20px}.sidebar{width:100%}.sidebar.collapsed{width:60px}.sidebar.collapsed+.main-wrapper{margin-left:60px}}.dashboard-content{width:100%}.welcome-section{margin-bottom:40px}.welcome-section h2{font-size:28px;color:#333;margin-bottom:8px}.subtitle{font-size:16px;color:#666;margin-bottom:30px}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:40px}.feature-card{background:#fff;border-radius:12px;padding:24px;text-align:center;box-shadow:0 1px 3px #00000014;border:1px solid #e5e7eb;transition:all .2s ease;cursor:pointer}.feature-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#d1d5db}.feature-icon{font-size:48px;margin-bottom:16px}.feature-card h3{font-size:16px;color:#1a1a1a;margin-bottom:6px;font-weight:600}.feature-card p{color:#6b7280;font-size:13px}.stats-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}.stat-card{background:#1a1a1a;color:#fff;border-radius:12px;padding:24px;text-align:center;box-shadow:0 1px 3px #0000001a}.stat-card h4{font-size:14px;font-weight:600;margin-bottom:10px;opacity:.8}.stat-number{font-size:32px;font-weight:700;margin:0}@media(max-width:768px){.welcome-section h1{font-size:28px}.features-grid,.stats-section{grid-template-columns:1fr}}.admin-dashboard-bg{min-height:100vh;background:linear-gradient(135deg,#e0eafc,#cfdef3);padding-bottom:40px}.hero-header{width:100%;margin-bottom:32px}.hero-gradient{background:linear-gradient(90deg,#667eea,#764ba2);border-radius:24px;padding:40px 32px;box-shadow:0 8px 32px #4c6ef51f;display:flex;align-items:center;gap:32px;position:relative}.hero-title{font-size:2.8rem;color:#fff;font-weight:700;margin-bottom:8px;text-shadow:0 2px 8px rgba(0,0,0,.08)}.hero-subtitle{font-size:1.25rem;color:#e0eafc;margin-bottom:0}.admin-avatar{width:72px;height:72px;background:#ffffff2e;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;box-shadow:0 2px 12px #4c6ef51f;border:2px solid #fff}.glass-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:32px;margin-bottom:48px}.glass-card{background:#ffffff8c;border-radius:18px;box-shadow:0 4px 24px #4c6ef51a;border:1px solid #e0eafc;padding:32px 24px;text-align:center;transition:transform .2s,box-shadow .2s;cursor:pointer;position:relative;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.glass-card:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 8px 32px #4c6ef52e}.animated-icon{font-size:2.5rem;margin-bottom:18px;animation:popIcon 1.2s infinite alternate}@keyframes popIcon{0%{transform:scale(1)}to{transform:scale(1.12)}}.glass-modal{background:#ffffffd9;border-radius:20px;box-shadow:0 8px 32px #4c6ef52e;border:1px solid #e0eafc;padding:36px 28px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal-title{font-size:2rem;color:#667eea;font-weight:700;margin-bottom:18px}.glass-tabs{display:flex;gap:12px;margin-bottom:24px}.glass-tabs button{background:#667eea1f;color:#667eea;border:none;border-radius:8px;padding:10px 22px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.glass-tabs .active-tab{background:linear-gradient(90deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #4c6ef51a}.close-modal-btn{background:linear-gradient(90deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;padding:12px 28px;font-size:1rem;font-weight:600;margin-top:24px;cursor:pointer;box-shadow:0 2px 8px #4c6ef51a;transition:background .2s}.close-modal-btn:hover{background:linear-gradient(90deg,#764ba2,#667eea)}.glass-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px;margin-top:32px}.stat-card{background:#667eea1f;border-radius:16px;box-shadow:0 2px 12px #4c6ef514;padding:28px 18px;text-align:center;color:#667eea;position:relative}.stat-icon{font-size:2rem;margin-bottom:10px;display:block}.stat-number{font-size:2.2rem;font-weight:700;color:#764ba2;margin:0}@media(max-width:900px){.hero-gradient{flex-direction:column;gap:18px}.glass-grid,.glass-stats{grid-template-columns:1fr;gap:18px}.admin-avatar{width:56px;height:56px;font-size:2rem}}.discount-layout{display:flex;gap:0;min-height:100vh}.glass-sidebar{width:320px;background:#ffffff8c;border-right:1px solid #e0eafc;box-shadow:2px 0 24px #4c6ef51a;padding:36px 24px 24px;display:flex;flex-direction:column;align-items:flex-start;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10}.sidebar-title{font-size:1.4rem;font-weight:700;color:#667eea;margin-bottom:18px}.sidebar-product-list{list-style:none;padding:0;margin:0 0 24px;width:100%}.sidebar-product-item{padding:12px 18px;border-radius:8px;background:#667eea14;color:#333;font-size:1rem;margin-bottom:8px;cursor:pointer;transition:background .2s,color .2s;font-weight:500}.sidebar-product-item.active{background:linear-gradient(90deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #4c6ef51a}.sidebar-product-item:hover{background:#667eea2e;color:#667eea}.sidebar-empty{color:#aaa;font-size:1rem;padding:12px 0}.open-discount-modal-btn{background:linear-gradient(90deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;padding:12px 28px;font-size:1rem;font-weight:600;margin-top:18px;cursor:pointer;box-shadow:0 2px 8px #4c6ef51a;transition:background .2s;width:100%}.open-discount-modal-btn:hover{background:linear-gradient(90deg,#764ba2,#667eea)}.discount-main-content{flex:1;padding:0 32px;min-width:0}@media(max-width:900px){.glass-sidebar{width:100px;padding:18px 8px}.discount-main-content{padding:0 8px}.sidebar-title{font-size:1rem}.open-discount-modal-btn{padding:8px 12px;font-size:.9rem}}.confirm-dialog-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-in-out}.confirm-dialog{background:#fff;border-radius:12px;min-width:400px;max-width:500px;box-shadow:0 10px 40px #0000004d;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.confirm-dialog-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0}.confirm-dialog-header.warning{background:linear-gradient(135deg,#fef3c7,#fde68a);border-bottom-color:#fbbf24}.confirm-dialog-header.danger{background:linear-gradient(135deg,#fee2e2,#fecaca);border-bottom-color:#f87171}.confirm-dialog-header.info{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-bottom-color:#60a5fa}.confirm-dialog-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.confirm-dialog-body{padding:24px}.confirm-dialog-body p{margin:0;font-size:1rem;color:#4b5563;line-height:1.6}.confirm-dialog-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px;border-radius:0 0 12px 12px;background:#f9fafb}.confirm-dialog-btn{padding:10px 24px;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:80px}.cancel-btn{background:#fff;color:#6b7280;border:1px solid #d1d5db}.cancel-btn:hover{background:#f9fafb;border-color:#9ca3af;color:#4b5563}.confirm-btn{color:#fff;box-shadow:0 2px 4px #0000001a}.confirm-btn.warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.confirm-btn.warning:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 4px 8px #d977064d}.confirm-btn.danger{background:linear-gradient(135deg,#ef4444,#dc2626)}.confirm-btn.danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 8px #dc26264d}.confirm-btn.info{background:linear-gradient(135deg,#3b82f6,#2563eb)}.confirm-btn.info:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 8px #2563eb4d}.confirm-btn:active{transform:scale(.98)}@media(max-width:640px){.confirm-dialog{min-width:90%;max-width:90%;margin:0 20px}.confirm-dialog-header h3{font-size:1.1rem}.confirm-dialog-body p{font-size:.95rem}.confirm-dialog-btn{padding:8px 20px;font-size:.9rem;min-width:70px}}.user-home-container{min-height:100vh;display:flex;flex-direction:column;background-color:#fafafa}.user-header{background:#fff;color:#111827;padding:1rem 2rem;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:2rem}.logo{display:flex;align-items:center;gap:.5rem;font-size:1.3rem;font-weight:600;color:#111827;letter-spacing:-.5px}.logo-icon{font-size:1.5rem}.search-bar{flex:1;max-width:500px;display:flex;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden;transition:border-color .2s}.search-bar:focus-within{border-color:#111827}.search-bar input{flex:1;padding:.65rem 1rem;border:none;outline:none;font-size:.9rem;color:#111827;background:transparent}.search-bar input::placeholder{color:#9ca3af}.search-btn{background:transparent;border:none;padding:0 1rem;cursor:pointer;font-size:1.1rem;color:#6b7280;transition:color .2s}.search-btn:hover{color:#111827}.header-actions{display:flex;align-items:center;gap:1.5rem}.cart-icon-btn{position:relative;background:transparent;border:none;cursor:pointer;padding:.5rem;transition:transform .2s}.cart-icon-btn:hover{transform:scale(1.1)}.cart-icon{font-size:1.5rem}.cart-badge{position:absolute;top:0;right:0;background:#ef4444;color:#fff;font-size:.7rem;font-weight:600;padding:.15rem .4rem;border-radius:10px;min-width:18px;text-align:center}.user-info{display:flex;align-items:center;gap:.75rem}.user-menu-container{position:relative}.user-menu-btn{display:flex;align-items:center;gap:.75rem;background:transparent;border:1px solid #e5e7eb;padding:.4rem 1rem .4rem .4rem;border-radius:6px;cursor:pointer;transition:all .2s}.user-menu-btn:hover{background:#f9fafb;border-color:#d1d5db}.user-avatar{width:36px;height:36px;border-radius:50%;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.user-name{font-weight:500;font-size:.95rem;color:#111827}.dropdown-arrow{font-size:.7rem;color:#6b7280;transition:transform .2s}.user-menu-btn:hover .dropdown-arrow{transform:translateY(2px)}.user-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 12px #0000001a;min-width:200px;overflow:hidden;z-index:1000}.user-dropdown button{width:100%;padding:.75rem 1rem;background:#fff;border:none;text-align:left;cursor:pointer;font-size:.9rem;color:#111827;transition:background-color .2s;display:flex;align-items:center;gap:.75rem}.user-dropdown button:hover{background-color:#f9fafb}.user-dropdown button.logout-option{color:#ef4444;border-top:1px solid #e5e7eb}.user-dropdown button.logout-option:hover{background-color:#fef2f2}.logout-button{background:transparent;color:#6b7280;border:1px solid #e5e7eb;padding:.5rem 1.25rem;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s}.logout-button:hover{background:#f9fafb;color:#111827;border-color:#d1d5db}.categories-row{background:#fff;padding:1.25rem 2rem;border-bottom:1px solid #e5e7eb;position:sticky;top:61px;z-index:90}.categories-container{max-width:1400px;margin:0 auto;display:flex;gap:2.5rem;overflow-x:auto;scrollbar-width:none;padding-bottom:.25rem}.categories-container::-webkit-scrollbar{display:none}.category-chip{display:flex;align-items:center;gap:.75rem;padding:.4rem 0;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;font-weight:500;font-size:.9rem;color:#6b7280;white-space:nowrap;transition:all .2s ease}.category-chip img{width:28px;height:28px;object-fit:cover;opacity:.6;transition:opacity .2s ease}.category-chip:hover{color:#111827}.category-chip:hover img{opacity:1}.category-chip.active{color:#111827;border-bottom-color:#111827}.category-chip.active img{opacity:1}.loading-chips{color:#9ca3af;font-size:.9rem}.main-content{flex:1;padding:2.5rem 2rem}.content-wrapper{max-width:1400px;margin:0 auto}.products-section{background:transparent}.section-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center}.section-header h2{font-size:1.75rem;color:#111827;font-weight:600;letter-spacing:-.5px}.section-header p{color:#6b7280;font-size:.95rem}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.product-card{background:#fff;border:1px solid #f3f4f6;border-radius:8px;overflow:hidden;transition:all .2s ease;cursor:pointer;display:flex;flex-direction:column}.product-card:hover{border-color:#e5e7eb;box-shadow:0 4px 12px #0000000f}.product-image-container{position:relative;width:100%;height:200px;background:#fafafa;overflow:hidden;border-bottom:1px solid #f3f4f6}.product-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.product-card:hover .product-image{transform:scale(1.03)}.product-image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3.5rem;color:#e5e7eb}.product-category-badge{position:absolute;top:10px;left:10px;background:#fffffff2;color:#111827;padding:.35rem .75rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border:1px solid rgba(0,0,0,.05)}.product-details{padding:1rem;display:flex;flex-direction:column;flex:1}.product-name{font-size:1rem;font-weight:600;color:#111827;margin:0;line-height:.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-description{color:#6b7280;font-size:.85rem;margin:0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:12px}.product-price{font-size:1.35rem;font-weight:700;color:#111827;letter-spacing:-.5px}.add-to-cart-btn{background:#111827;color:#fff;border:none;padding:11px 20px;border-radius:8px;cursor:pointer;font-weight:600;font-size:14px;white-space:nowrap;transition:all .2s}.add-to-cart-btn:hover{background:#000;transform:translateY(-1px)}.products-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5rem 2rem;gap:1.25rem}.spinner{width:42px;height:42px;border:3px solid #f3f4f6;border-top:3px solid #111827;border-radius:50%;animation:spin .8s linear infinite}.products-loading p{color:#6b7280;font-size:.95rem}.no-products{text-align:center;padding:5rem 2rem;background:#fff;border:1px solid #f3f4f6;border-radius:8px}.no-products-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.no-products h3{font-size:1.35rem;color:#111827;font-weight:600;margin-bottom:.5rem}.no-products p{color:#6b7280;font-size:.95rem}.user-footer{background:#111827;color:#fff;padding:2rem;margin-top:4rem}.footer-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.footer-content p{color:#9ca3af;font-size:.9rem}.footer-links{display:flex;gap:2rem}.footer-links a{color:#d1d5db;text-decoration:none;font-size:.9rem;transition:color .2s}.footer-links a:hover{color:#fff}@media(max-width:1200px){.products-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media(max-width:768px){.header-content{flex-direction:column;gap:1rem}.search-bar{max-width:100%}.categories-row{top:135px}.products-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:.5rem}.footer-content{flex-direction:column;gap:1rem;text-align:center}.footer-links{flex-direction:column;gap:.5rem}.product-image-container{height:240px}}@media(max-width:480px){.products-grid{grid-template-columns:1fr 1fr}.product-image-container{height:200px}.product-name{font-size:1.2rem}.product-price{font-size:1.15rem}.add-to-cart-btn{padding:.45rem .85rem;font-size:.8rem}}.product-details-container{min-height:100vh;background:#fafafa}.details-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;position:sticky;top:0;z-index:100}.details-header .header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.details-header .logo{display:flex;align-items:center;gap:.5rem;font-size:1.3rem;font-weight:600;color:#111827;cursor:pointer;letter-spacing:-.5px}.details-header .logo-icon{font-size:1.5rem}.details-header .header-actions{display:flex;align-items:center;gap:1.5rem}.details-header .user-info{display:flex;align-items:center;gap:.75rem}.details-header .user-avatar{width:36px;height:36px;border-radius:50%;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.details-header .user-name{font-weight:500;font-size:.95rem;color:#111827}.details-header .logout-button{background:transparent;color:#6b7280;border:1px solid #e5e7eb;padding:.5rem 1.25rem;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s}.details-header .logout-button:hover{background:#f9fafb;color:#111827;border-color:#d1d5db}.details-main{padding:2rem}.details-content{max-width:1400px;margin:0 auto}.back-button{background:transparent;border:none;color:#6b7280;font-size:.95rem;font-weight:500;cursor:pointer;margin-bottom:2rem;padding:.5rem 0;transition:color .2s}.product-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;background:#fff;border:1px solid #f3f4f6;border-radius:8px;padding:3rem}.image-section{display:flex;flex-direction:column;gap:1rem}.main-image{width:100%;height:600px;background:#fafafa;border:1px solid #f3f4f6;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.main-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{font-size:5rem;color:#e5e7eb}.thumbnail-gallery{display:flex;gap:.75rem;overflow-x:auto}.thumbnail{width:80px;height:80px;border:2px solid #f3f4f6;border-radius:6px;cursor:pointer;overflow:hidden;transition:border-color .2s;flex-shrink:0}.thumbnail:hover{border-color:#d1d5db}.thumbnail.active{border-color:#111827}.thumbnail img{width:100%;height:100%;object-fit:cover}.info-section{display:flex;flex-direction:column;gap:2rem}.product-header{display:flex;flex-direction:column;gap:1rem}.categories-tags{display:flex;gap:.5rem;flex-wrap:wrap}.category-tag{background:#f9fafb;color:#6b7280;padding:.35rem .85rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.product-title{font-size:2rem;font-weight:600;color:#111827;margin:0;line-height:1.3;letter-spacing:-.5px}.product-price-section{display:flex;align-items:center;gap:1rem}.price{font-size:2.25rem;font-weight:700;color:#111827;letter-spacing:-1px}.inventory-info{padding:1.5rem;background:#f9fafb;border-radius:8px;border:1px solid #f3f4f6}.inventory-info h3{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1rem}.inventory-stats{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.inventory-item{display:flex;justify-content:space-between;align-items:center}.inventory-item .label{color:#6b7280;font-size:.9rem}.inventory-item .value{font-weight:600;color:#111827;font-size:1rem}.inventory-item .value.available{color:#059669}.inventory-item .value.reserved{color:#d97706}.stock-status{padding:.75rem;border-radius:6px;font-weight:600;font-size:.9rem;text-align:center}.stock-status.in-stock{background:#d1fae5;color:#065f46}.stock-status.out-of-stock{background:#fee2e2;color:#991b1b}.product-description{padding-bottom:2rem;border-bottom:1px solid #f3f4f6}.product-description h3{font-size:1rem;font-weight:600;color:#111827;margin:0 0 .75rem}.product-description p{color:#6b7280;font-size:.95rem;line-height:1.7;margin:0}.price-container{margin:1.5rem 0}.price-main{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.final-price{font-size:28px;font-weight:500;color:#212121}.original-price{font-size:18px;color:#878787;text-decoration:line-through;font-weight:400}.discount-badge{background:#388e3c;color:#fff;font-weight:500;font-size:14px;padding:2px 8px;border-radius:3px}.save-text-two{color:#388e3c;font-weight:500;font-size:14px;margin-top:4px}.action-buttons{display:flex;gap:1rem}.add-to-cart-btn-large,.buy-now-btn{flex:1;padding:1rem 2rem;border-radius:6px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s;border:none}.add-to-cart-btn-large{background:#111827;color:#fff}.add-to-cart-btn-large:hover:not(:disabled){background:#000;transform:translateY(-1px)}.add-to-cart-btn-large:disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.buy-now-btn{background:transparent;color:#111827;border:2px solid #111827}.buy-now-btn:hover{background:#111827;color:#fff}.additional-info{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:#f9fafb;border-radius:8px}.info-item{display:flex;align-items:center;gap:1rem}.info-item .icon{font-size:1.5rem}.info-item strong{display:block;color:#111827;font-size:.95rem;margin-bottom:.25rem}.info-item p{color:#6b7280;font-size:.85rem;margin:0}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:1.5rem}.loading-container .spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top:4px solid #111827;border-radius:50%;animation:spin .8s linear infinite}.error-container h2{color:#111827;font-size:1.5rem}.error-container button{background:#111827;color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;cursor:pointer;font-weight:600;transition:background .2s}.error-container button:hover{background:#000}@media(max-width:1024px){.product-details-grid{grid-template-columns:1fr;gap:2rem;padding:2rem}.main-image{height:450px}}@media(max-width:768px){.details-main{padding:1rem}.product-details-grid{padding:1.5rem}.product-title{font-size:1.5rem}.price{font-size:1.75rem}.action-buttons{flex-direction:column}.main-image{height:350px}}.cart-container{min-height:100vh;background:#fafafa}.cart-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;position:sticky;top:0;z-index:100}.cart-header .header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:2rem}.header-nav{display:flex;gap:.5rem;flex:1;justify-content:center}.nav-tab{background:transparent;color:#6b7280;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;font-size:.95rem;transition:all .2s;white-space:nowrap}.nav-tab:hover{background:#f3f4f6;color:#111827}.nav-tab.active{background:#111827;color:#fff}.cart-header .logo{display:flex;align-items:center;gap:.5rem;font-size:1.3rem;font-weight:600;color:#111827;cursor:pointer;letter-spacing:-.5px}.cart-header .logo-icon{font-size:1.5rem}.cart-header .header-actions{display:flex;align-items:center;gap:1.5rem}.cart-header .user-info{display:flex;align-items:center;gap:.75rem}.cart-header .user-avatar{width:36px;height:36px;border-radius:50%;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.cart-header .user-name{font-weight:500;font-size:.95rem;color:#111827}.cart-header .logout-button{background:transparent;color:#6b7280;border:1px solid #e5e7eb;padding:.5rem 1.25rem;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s}.cart-header .logout-button:hover{background:#f9fafb;color:#111827;border-color:#d1d5db}.cart-main{padding:2.5rem 2rem}.cart-content{max-width:1400px;margin:0 auto}.cart-header-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.cart-actions-group{display:flex;gap:1rem;align-items:center}.selection-mode-btn{background:#f3f4f6;color:#111827;border:1px solid #e5e7eb;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;font-size:.95rem;transition:all .2s}.selection-mode-btn:hover{background:#e5e7eb}.selection-mode-btn.active{background:#111827;color:#fff;border-color:#111827}.selection-toolbar{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:1rem 1.5rem;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center}.select-all-checkbox{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-weight:500;color:#111827}.select-all-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#111827}.delete-selected-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;font-size:.95rem;transition:all .2s}.delete-selected-btn:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-1px);box-shadow:0 4px 12px #dc26264d}.delete-selected-btn:disabled{opacity:.5;cursor:not-allowed}.cart-header-section h1{font-size:2rem;font-weight:600;color:#111827;letter-spacing:-.5px}.back-button{background:transparent;border:none;color:#6b7280;font-size:.95rem;font-weight:500;cursor:pointer;padding:.5rem 0;transition:color .2s}.back-button:hover{color:#111827}.empty-cart{text-align:center;padding:5rem 2rem;background:#fff;border:1px solid #f3f4f6;border-radius:8px}.empty-cart-icon{font-size:5rem;margin-bottom:1.5rem;opacity:.5}.empty-cart h2{font-size:1.75rem;color:#111827;font-weight:600;margin-bottom:.75rem}.empty-cart p{color:#6b7280;font-size:1rem;margin-bottom:2rem}.shop-now-btn{background:#111827;color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s}.shop-now-btn:hover{background:#000;transform:translateY(-1px)}.cart-grid{display:grid;grid-template-columns:1fr 400px;gap:2rem}.cart-items{display:flex;flex-direction:column;gap:1.5rem}.cart-items-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.cart-items-header h2{font-size:1.25rem;font-weight:600;color:#111827}.clear-cart-btn{background:transparent;color:#ef4444;border:1px solid #ef4444;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s}.clear-cart-btn:hover{background:#ef4444;color:#fff}.cart-item{display:grid;grid-template-columns:auto 120px 1fr auto 120px;gap:1.5rem;align-items:center;background:#fff;padding:1.5rem;border-radius:12px;border:2px solid transparent;transition:all .2s}.cart-item:hover{box-shadow:0 2px 8px #00000014}.cart-item.selected{border-color:#111827;background:#f9fafb}.item-checkbox{display:flex;align-items:center}.item-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#111827}.item-image{width:120px;height:120px;background:#fafafa;border:1px solid #f3f4f6;border-radius:6px;overflow:hidden;cursor:pointer;transition:border-color .2s}.item-image:hover{border-color:#d1d5db}.item-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:#e5e7eb}.item-details{display:flex;flex-direction:column;gap:.5rem}.item-name{font-size:1.1rem;font-weight:600;color:#111827;margin:0;cursor:pointer;transition:color .2s}.item-name:hover{color:#6b7280}.item-description{color:#6b7280;font-size:.9rem;margin:0;line-height:1.5}.item-category{display:inline-block;background:#f9fafb;color:#6b7280;padding:.25rem .75rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;width:fit-content}.item-price{font-size:1.5rem;font-weight:700;color:#111827;letter-spacing:-.5px}.remove-btn{background:transparent;color:#ef4444;border:1px solid #f3f4f6;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s}.remove-btn:hover{background:#fef2f2;border-color:#ef4444}.order-summary{background:#fff;border:1px solid #f3f4f6;border-radius:8px;padding:2rem;height:fit-content;position:sticky;top:90px}.order-summary h2{font-size:1.25rem;font-weight:600;color:#111827;margin-bottom:1.5rem}.summary-details{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.summary-row{display:flex;justify-content:space-between;align-items:center;font-size:.95rem}.summary-row span:first-child{color:#6b7280}.summary-row span:last-child{color:#111827;font-weight:500}.summary-row.total{font-size:1.25rem;font-weight:700}.summary-row .free{color:#059669}.summary-divider{height:1px;background:#e5e7eb;margin:.5rem 0}.checkout-btn{width:100%;background:#111827;color:#fff;border:none;padding:1rem;border-radius:6px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s;margin-bottom:1.5rem}.checkout-btn:hover{background:#000;transform:translateY(-1px)}.benefits{display:flex;flex-direction:column;gap:.75rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.benefit-item{display:flex;align-items:center;gap:.75rem;color:#6b7280;font-size:.9rem}.benefit-item .icon{font-size:1.25rem}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:1.5rem}.spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top:4px solid #111827;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container p{color:#6b7280;font-size:1rem}@media(max-width:1024px){.cart-grid{grid-template-columns:1fr}.order-summary{position:static}.header-nav{display:none}}@media(max-width:768px){.cart-header{padding:1rem}.cart-main{padding:1.5rem 1rem}.cart-header-section{flex-direction:column;align-items:flex-start;gap:1rem}.cart-actions-group{width:100%;flex-direction:column}.selection-mode-btn,.back-button{width:100%}.selection-toolbar{flex-direction:column;gap:1rem;align-items:stretch}.delete-selected-btn{width:100%}.cart-item{grid-template-columns:auto 80px 1fr;grid-template-rows:auto auto;gap:1rem}.item-checkbox{grid-row:1 / 3}.item-image{width:80px;height:80px;grid-row:1 / 3}.item-details{grid-column:3}.item-price{grid-column:3;justify-self:start}.remove-btn{grid-column:3;width:100%}.nav-tab{padding:.6rem 1rem;font-size:.85rem}}.checkout-container{min-height:100vh;background-color:#f5f5f5;padding:20px}.checkout-header{max-width:1400px;margin:0 auto 30px;display:flex;align-items:center;gap:20px}.checkout-header h1{margin:0;font-size:28px;font-weight:600}.checkout-content{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 400px;gap:30px}.checkout-left,.checkout-right{background:#fff;border-radius:8px;padding:30px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{margin:0;font-size:20px;font-weight:600}.add-address-btn{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.add-address-btn:hover{background-color:#0056b3}.address-form{background-color:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:30px}.save-address-btn{width:100%;padding:12px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:500;transition:background-color .2s}.save-address-btn:hover{background-color:#218838}.addresses-list{display:flex;flex-direction:column;gap:15px}.no-addresses{text-align:center;color:#666;padding:40px;background-color:#f8f9fa;border-radius:8px}.address-card{padding:20px;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s}.address-card:hover{border-color:#007bff;background-color:#f8f9fa}.address-card.selected{border-color:#007bff;background-color:#e7f3ff}.address-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.address-type{display:inline-block;padding:4px 12px;background-color:#007bff;color:#fff;border-radius:12px;font-size:12px;font-weight:500;text-transform:uppercase}.selected-badge{color:#28a745;font-weight:600;font-size:14px}.address-card h3{margin:10px 0 5px;font-size:16px;font-weight:600}.address-card p{margin:5px 0;font-size:14px;color:#666}.order-summary{position:sticky;top:20px}.order-summary h2{margin:0 0 20px;font-size:20px;font-weight:600}.summary-items{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.summary-item{display:grid;grid-template-columns:60px 1fr auto auto;gap:15px;align-items:center;position:relative}.summary-item img{width:60px;height:60px;object-fit:cover;border-radius:4px;border:1px solid #e0e0e0}.summary-item-info h4{margin:0 0 5px;font-size:14px;font-weight:500}.summary-item-info p{margin:0;font-size:12px;color:#666}.summary-item-price{font-weight:600;font-size:16px}.remove-item-btn{width:28px;height:28px;border-radius:50%;border:1px solid #e74c3c;background:#fff;color:#e74c3c;font-size:20px;line-height:1;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.remove-item-btn:hover:not(:disabled){background:#e74c3c;color:#fff;transform:scale(1.1)}.remove-item-btn:disabled{opacity:.5;cursor:not-allowed}.direct-buy-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:12px 16px;border-radius:8px;margin-bottom:20px;text-align:center;font-weight:500;font-size:14px;box-shadow:0 2px 8px #667eea4d}.direct-buy-badge span{display:flex;align-items:center;justify-content:center;gap:8px}.summary-divider{height:1px;background-color:#e0e0e0;margin:20px 0}.summary-totals{display:flex;flex-direction:column;gap:12px}.summary-row{display:flex;justify-content:space-between;align-items:center;font-size:14px}.summary-row.total{font-size:18px;font-weight:600;color:#000}.summary-row .free{color:#28a745;font-weight:600}.place-order-btn{width:100%;padding:16px;background-color:#ff9800;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:600;margin-top:20px;transition:background-color .2s}.place-order-btn:hover:not(:disabled){background-color:#f57c00}.place-order-btn:disabled{background-color:#ccc;cursor:not-allowed}.checkout-benefits{margin-top:20px;padding-top:20px;border-top:1px solid #e0e0e0}.checkout-benefits p{margin:10px 0;font-size:14px;color:#666}@media(max-width:1024px){.checkout-content{grid-template-columns:1fr}.checkout-right{order:-1}.order-summary{position:static}}@media(max-width:768px){.checkout-container{padding:10px}.checkout-header{margin-bottom:20px}.checkout-header h1{font-size:24px}.checkout-left,.checkout-right{padding:20px}.form-row{grid-template-columns:1fr}.section-header{flex-direction:column;align-items:flex-start;gap:10px}.add-address-btn{width:100%}}.addresses-container{min-height:100vh;background-color:#f5f5f5;padding:20px}.addresses-header{max-width:1200px;margin:0 auto 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.addresses-header h1{margin:0;font-size:28px;font-weight:600;flex:1}.back-button{padding:10px 20px;background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.back-button:hover{background-color:#f8f8f8}.add-new-btn{padding:12px 24px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.add-new-btn:hover{background-color:#0056b3}.addresses-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.no-addresses{grid-column:1 / -1;text-align:center;padding:60px 20px;background:#fff;border-radius:8px}.no-addresses h3{margin:0 0 10px;font-size:24px;color:#333}.no-addresses p{margin:0 0 20px;color:#666}.add-first-btn{padding:12px 24px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:500;transition:background-color .2s}.add-first-btn:hover{background-color:#0056b3}.address-card{background:#fff;border-radius:8px;padding:20px;transition:box-shadow .2s}.address-card:hover{box-shadow:0 4px 12px #0000001a}.address-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.address-actions{display:flex;gap:8px}.address-badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.address-badge.home{background-color:#e3f2fd;color:#1976d2}.address-badge.work{background-color:#fff3e0;color:#f57c00}.address-badge.other{background-color:#f3e5f5;color:#7b1fa2}.edit-btn,.delete-btn{padding:6px 16px;border:1px solid;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.edit-btn{background-color:transparent;color:#007bff;border-color:#007bff}.edit-btn:hover{background-color:#007bff;color:#fff}.delete-btn{background-color:transparent;color:#dc3545;border-color:#dc3545}.delete-btn:hover{background-color:#dc3545;color:#fff}.address-card-body h3{margin:0 0 10px;font-size:18px;font-weight:600}.address-line{margin:5px 0;font-size:14px;color:#666;line-height:1.5}.address-line.landmark{color:#999;font-style:italic}.address-contact{margin-top:15px;padding-top:15px;border-top:1px solid #e0e0e0}.address-contact p{margin:5px 0;font-size:14px;color:#666}.address-form-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.address-form-container{background:#fff;border-radius:8px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #00000026}.form-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e0e0e0}.form-header h2{margin:0;font-size:20px;font-weight:600}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-btn:hover{background-color:#f5f5f5;color:#000}.address-form-container form{padding:20px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:15px}.form-group label{margin-bottom:5px;font-size:14px;font-weight:500;color:#333}.form-group input,.form-group select,.form-group textarea{padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#007bff}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:20px;border-top:1px solid #e0e0e0}.cancel-btn,.submit-btn{padding:10px 24px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.cancel-btn{background-color:#f5f5f5;color:#333}.cancel-btn:hover{background-color:#e0e0e0}.submit-btn{background-color:#28a745;color:#fff}.submit-btn:hover{background-color:#218838}@media(max-width:768px){.addresses-container{padding:10px}.addresses-header{flex-direction:column;align-items:stretch}.addresses-header h1{font-size:24px;text-align:center}.addresses-grid,.form-row{grid-template-columns:1fr}.address-form-overlay{padding:0}.address-form-container{max-height:100vh;border-radius:0}}.my-orders-container{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:20px}.orders-header{max-width:1200px;margin:0 auto 30px;display:flex;flex-direction:column;gap:15px}.orders-header .header-top{display:flex;align-items:center;gap:15px;justify-content:space-between}.orders-header h1{margin:0;font-size:32px;font-weight:700;color:#2c3e50;text-shadow:0 2px 4px rgba(0,0,0,.05)}.orders-header .subtitle{margin:5px 0 0;color:#666;font-size:16px}.role-badge{display:inline-block;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:600;box-shadow:0 4px 15px #667eea4d}.back-button{padding:10px 20px;background:#fff;border:2px solid #ddd;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;color:#2c3e50;transition:all .3s}.back-button:hover{background-color:#667eea;color:#fff;border-color:#667eea;box-shadow:0 4px 12px #667eea4d}.order-stats{max-width:1200px;margin:0 auto 30px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.stat-card{background:#fff;padding:24px;border-radius:8px;text-align:center;box-shadow:0 2px 4px #0000000d}.stat-number{font-size:36px;font-weight:700;color:#333;margin-bottom:8px}.stat-label{font-size:14px;color:#666;font-weight:500}.filter-tabs{max-width:1200px;margin:0 auto 30px;display:flex;gap:10px;background:#fff;padding:10px;border-radius:8px;overflow-x:auto}.filter-tab{padding:10px 20px;background:transparent;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;color:#666;transition:all .2s;white-space:nowrap}.filter-tab:hover{background-color:#f5f5f5}.filter-tab.active{background-color:#007bff;color:#fff}.orders-list{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:20px}.no-orders{background:#fff;padding:60px 20px;border-radius:8px;text-align:center}.no-orders h3{margin:0 0 10px;font-size:24px;color:#333}.no-orders p{margin:0 0 20px;color:#666}.shop-now-btn{padding:12px 32px;background-color:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:16px;font-weight:500;transition:background-color .2s}.shop-now-btn:hover{background-color:#0056b3}.order-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000000d;transition:box-shadow .2s}.order-card:hover{box-shadow:0 4px 12px #0000001a}.order-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0}.order-info{display:flex;flex-direction:column;gap:5px}.order-id{font-size:16px;font-weight:600;color:#333}.order-date{font-size:14px;color:#666}.order-status{padding:6px 16px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase}.status-processing{background-color:#fff3cd;color:#ff9800}.status-processed{background-color:#d4edda;color:#28a745}.status-canceled{background-color:#f8d7da;color:#dc3545}.order-body{padding:20px;display:grid;grid-template-columns:1fr 300px 200px;gap:30px}.product-section{display:flex;gap:20px}.product-image{width:100px;height:100px;object-fit:cover;border-radius:8px;border:1px solid #e0e0e0}.product-details h3{margin:0 0 8px;font-size:18px;font-weight:600;color:#333}.product-description{margin:0 0 10px;font-size:14px;color:#666;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden}.product-price{margin:0;font-size:20px;font-weight:700;color:#007bff}.product-loading{color:#999;font-style:italic}.delivery-section h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#333;text-transform:uppercase;letter-spacing:.5px}.address-info{font-size:14px;color:#666;line-height:1.6}.address-name{font-weight:600;color:#333;margin-bottom:4px}.address-info p{margin:4px 0}.contact-info{margin-top:8px;color:#007bff}.dates-section{display:flex;flex-direction:column;gap:15px}.date-item{display:flex;flex-direction:column;gap:5px}.date-label{font-size:12px;color:#999;text-transform:uppercase;letter-spacing:.5px}.date-value{font-size:14px;font-weight:600;color:#333}.delivery-date{color:#28a745}.order-footer{padding:15px 20px;background-color:#f8f9fa;border-top:1px solid #e0e0e0;display:flex;gap:10px;justify-content:flex-end}.view-product-btn,.reorder-btn{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.view-product-btn{background:transparent;color:#007bff;border:1px solid #007bff}.view-product-btn:hover{background-color:#007bff;color:#fff}.reorder-btn{background-color:#28a745;color:#fff}.reorder-btn:hover{background-color:#218838}.loading{text-align:center;padding:60px 20px;font-size:18px;color:#666}@media(max-width:1024px){.order-body{grid-template-columns:1fr}.delivery-section,.dates-section{border-top:1px solid #e0e0e0;padding-top:20px}}@media(max-width:768px){.my-orders-container{padding:10px}.orders-header{flex-direction:column;align-items:flex-start}.orders-header h1{font-size:24px}.order-stats{grid-template-columns:repeat(2,1fr)}.filter-tabs{overflow-x:auto}.product-section{flex-direction:column}.product-image{width:100%;height:200px}.order-footer{flex-direction:column}.view-product-btn,.reorder-btn{width:100%}}.categories-page{width:100%}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;flex-wrap:wrap;gap:20px}.page-header h1{font-size:28px;color:#333;margin-bottom:5px}.add-button{background:#1a1a1a;color:#fff;padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.add-button span{font-size:18px}.add-button:hover{background:#2a2a2a;transform:translateY(-1px)}.nav-button{background:transparent;color:#667eea;padding:10px 20px;border:2px solid #667eea;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.nav-button:hover{background:#667eea;color:#fff}.alert{padding:14px 18px;border-radius:10px;margin-bottom:20px;display:flex;align-items:center;gap:10px;font-size:14px;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#fee;border:1px solid #fcc;color:#c33}.alert-success{background:#efe;border:1px solid #cfc;color:#3c3}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px}.spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner p{margin-top:20px;color:#666;font-size:16px}.empty-state{text-align:center;padding:80px 20px;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014}.empty-icon{font-size:64px;margin-bottom:20px}.empty-state h3{font-size:24px;color:#333;margin-bottom:10px}.empty-state p{color:#666;margin-bottom:30px}.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}.category-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #00000014;border:1px solid #e5e7eb;transition:all .2s ease;display:flex;flex-direction:column}.category-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#d1d5db}.category-image{width:100%;height:200px;overflow:hidden;background:#f5f7fa}.category-image img{width:100%;height:100%;object-fit:cover}.no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:64px;background:linear-gradient(135deg,#f5f7fa,#e9ecef)}.category-content{padding:20px;flex:1}.category-content h3{font-size:18px;color:#1a1a1a;margin-bottom:6px;font-weight:600}.category-content p{color:#6b7280;font-size:14px;line-height:1.5}.category-actions{padding:15px 20px;border-top:1px solid #f0f0f0;display:flex;gap:10px}.edit-btn,.delete-btn{flex:1;padding:8px 14px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.edit-btn{background:#f3f4f6;color:#1a1a1a}.edit-btn:hover{background:#e5e7eb}.delete-btn{background:#fee2e2;color:#dc2626}.delete-btn:hover{background:#fecaca}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;padding:0;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;animation:slideUp .2s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:24px 30px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:24px;color:#333;margin:0}.close-btn{background:none;border:none;font-size:32px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:color .3s ease}.close-btn:hover{color:#333}.modal-content form{padding:30px}.modal-content .form-group{margin-bottom:20px}.modal-content .form-group label{display:block;font-size:14px;font-weight:600;color:#333;margin-bottom:8px}.modal-content .form-group input,.modal-content .form-group textarea{width:100%;padding:12px 16px;border:2px solid #e0e0e0;border-radius:10px;font-size:15px;transition:all .3s ease;font-family:inherit}.modal-content .form-group input:focus,.modal-content .form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.modal-content .form-group textarea{resize:vertical;min-height:100px}.image-preview{margin-top:12px;border-radius:10px;overflow:hidden;max-width:200px}.image-preview img{width:100%;height:auto;display:block}.modal-actions{display:flex;gap:12px;margin-top:30px}.cancel-btn,.submit-btn{flex:1;padding:14px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease}.cancel-btn{background:#f5f7fa;color:#666}.cancel-btn:hover{background:#e9ecef}.submit-btn{background:#1a1a1a;color:#fff}.submit-btn:hover:not(:disabled){background:#2a2a2a;transform:translateY(-1px)}.submit-btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.page-header{flex-direction:column;align-items:flex-start}.categories-grid{grid-template-columns:1fr}.modal-content{width:95%;margin:10px}.modal-content form{padding:20px}}.products-page{padding:2rem}.products-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.products-header h1{font-size:1.75rem;font-weight:600;color:#1a1a1a;margin:0 0 .25rem}.products-header p{color:#666;font-size:.875rem;margin:0}.btn-primary{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:#1a1a1a;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary:hover{background:#2a2a2a;transform:translateY(-1px)}.btn-primary span{font-size:1.125rem;font-weight:400}.error-alert{padding:.75rem 1rem;background:#fee;border:1px solid #fcc;border-radius:6px;color:#c33;font-size:.875rem;margin-bottom:1.5rem}.loading{text-align:center;padding:3rem;color:#666}.empty-state{text-align:center;padding:4rem 2rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.empty-state p{color:#666;font-size:.875rem}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.product-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;transition:all .2s}.product-card:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000a}.product-image{width:100%;height:200px;background:#f9fafb;display:flex;align-items:center;justify-content:center;overflow:hidden}.no-image{color:#9ca3af;font-size:.875rem}.product-info{padding:1rem}.product-info h3{font-size:1rem;font-weight:600;color:#1a1a1a;margin:0 0 .5rem}.product-description{font-size:.8125rem;color:#666;margin:0 0 .75rem;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-price{font-size:1.25rem;font-weight:700;color:#1a1a1a;margin-bottom:.75rem}.product-sizes{display:flex;gap:.375rem;flex-wrap:wrap;margin-bottom:.75rem}.size-badge{padding:.25rem .5rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;font-size:.75rem;font-weight:500;color:#374151}.product-categories{display:flex;gap:.375rem;flex-wrap:wrap}.category-badge{padding:.25rem .625rem;background:#1a1a1a;color:#fff;border-radius:4px;font-size:.6875rem;font-weight:500}.product-actions{display:flex;gap:.5rem;padding:1rem;border-top:1px solid #e5e7eb}.btn-edit,.btn-delete{flex:1;padding:.5rem;border:1px solid #e5e7eb;background:#fff;border-radius:6px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-edit{color:#1a1a1a}.btn-edit:hover{background:#f9fafb;border-color:#1a1a1a}.btn-delete{color:#dc2626}.btn-delete:hover{background:#fee;border-color:#dc2626}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:8px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin:0}.modal-close{background:none;border:none;font-size:1.75rem;color:#666;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.modal-close:hover{background:#f9fafb;color:#1a1a1a}.product-form{padding:1.5rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-size:.8125rem;font-weight:600;color:#374151;margin-bottom:.5rem}.field-hint{font-size:.75rem;color:#6b7280;margin:-.25rem 0 .5rem}.form-group input[type=text],.form-group input[type=number],.form-group input[type=url],.form-group textarea{width:100%;padding:.625rem .875rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;transition:all .2s;font-family:inherit}.form-group input.invalid-url{border-color:#dc2626;background:#fef2f2}.url-error{font-size:.75rem;color:#dc2626;margin-top:.25rem}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#1a1a1a}.form-group textarea{resize:vertical;min-height:80px}.image-input-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem;position:relative}.image-upload-wrapper{display:flex;gap:.5rem;align-items:center}.image-upload-wrapper input[type=url]{flex:1}.file-upload-btn{padding:.625rem 1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;font-size:.8125rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s;white-space:nowrap;-webkit-user-select:none;user-select:none}.file-upload-btn:hover{background:#f3f4f6;border-color:#9ca3af}.file-upload-btn:active{transform:scale(.98)}.image-input-group input{padding-right:2.5rem}.btn-remove-image{position:absolute;right:.5rem;top:.5rem;width:1.5rem;height:1.5rem;background:#fee;color:#dc2626;border:none;border-radius:4px;font-size:1.125rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-remove-image:hover{background:#fcc}.image-preview-small{width:80px;height:80px;border-radius:6px;overflow:hidden;border:1px solid #e5e7eb}.image-preview-small img{width:100%;height:100%;object-fit:cover}.btn-add-image{padding:.5rem;background:#f9fafb;border:1px dashed #d1d5db;border-radius:6px;color:#374151;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-add-image:hover{background:#f3f4f6;border-color:#9ca3af}.checkbox-group{display:flex;flex-direction:column;gap:.625rem}.checkbox-label{display:flex;align-items:center;gap:.625rem;cursor:pointer;padding:.5rem;border-radius:6px;transition:background .2s}.checkbox-label:hover{background:#f9fafb}.checkbox-label input[type=checkbox]{width:1rem;height:1rem;cursor:pointer}.checkbox-label span{font-size:.875rem;color:#374151}.size-selector{display:flex;gap:.5rem;flex-wrap:wrap}.size-option{padding:.5rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.size-option:hover{border-color:#9ca3af}.size-option.selected{background:#1a1a1a;color:#fff;border-color:#1a1a1a}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.btn-cancel,.btn-submit{flex:1;padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-cancel{background:#fff;border:1px solid #e5e7eb;color:#374151}.btn-cancel:hover{background:#f9fafb;border-color:#9ca3af}.btn-submit{background:#1a1a1a;border:1px solid #1a1a1a;color:#fff}.btn-submit:hover{background:#2a2a2a}@media(max-width:768px){.products-page{padding:1rem}.products-header{flex-direction:column;align-items:flex-start;gap:1rem}.products-grid{grid-template-columns:1fr}.modal-content{margin:0;max-height:100vh;border-radius:0}}.orders-container{padding:2rem;max-width:1400px;margin:0 auto}.orders-header{margin-bottom:2rem;display:flex;flex-direction:column;gap:12px}.orders-header .header-top{display:flex;align-items:center;gap:10px}.orders-header h1{font-size:2.2rem;font-weight:700;color:#1a1a1a;margin-bottom:.25rem}.orders-header p{color:#6b7280;font-size:1rem;margin-bottom:0}.admin-badge{display:inline-flex;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:600;box-shadow:0 4px 15px #667eea4d;width:fit-content}.success-message{background-color:#d1fae5;border:1px solid #10b981;color:#065f46;padding:1rem;border-radius:8px;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.orders-content{display:grid;grid-template-columns:350px 1fr;gap:2rem;min-height:500px}.product-selection{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.5rem;height:fit-content;max-height:calc(100vh - 200px);overflow-y:auto}.product-selection h2{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.product-grid{display:flex;flex-direction:column;gap:.75rem}.product-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:1rem}.product-card:hover{border-color:#1a1a1a;background-color:#f9fafb;box-shadow:0 2px 4px #0000000d}.product-card.selected{border-color:#1a1a1a;background-color:#1a1a1a;color:#fff}.product-card.selected .product-info h3,.product-card.selected .product-price{color:#fff}.product-card.selected .product-image{background-color:#ffffff1a}.product-image img{width:100%;height:100%;object-fit:cover}.no-image{font-size:1.75rem;color:#9ca3af}.product-card.selected .no-image{color:#fff9}.product-info{flex:1;min-width:0}.product-info h3{font-size:.9rem;font-weight:600;color:#1a1a1a;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-price{font-size:.875rem;font-weight:600;color:#6b7280}.no-data{text-align:center;padding:2rem;color:#6b7280;grid-column:1 / -1}.orders-list{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.5rem;min-height:500px}.orders-list-header{margin-bottom:1.5rem}.orders-list h2{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin-bottom:1rem}.order-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1rem}.stat-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:1rem;text-align:center;transition:all .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000000d}.stat-card.total{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.stat-card.processing{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.stat-card.processed{border-color:#10b981;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.stat-card.canceled{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.stat-value{font-size:2rem;font-weight:700;color:#1a1a1a;line-height:1;margin-bottom:.5rem}.stat-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.orders-table-wrapper{display:flex;flex-direction:column;gap:1rem}.order-card{background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:all .2s}.order-card:hover{border-color:#d1d5db;box-shadow:0 4px 8px #00000014}.order-main-info{padding:1.25rem}.order-header-section{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:1rem;margin-bottom:1rem;border-bottom:2px solid #e5e7eb}.order-id{display:flex;flex-direction:column;gap:.5rem}.order-id strong{font-size:1.25rem;color:#1a1a1a;font-weight:700}.order-status-badge{padding:.375rem .75rem;border-radius:6px;color:#fff;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.025em;width:fit-content;box-shadow:0 2px 4px #0000001a}.order-meta{display:flex;gap:1.5rem}.meta-item{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.meta-label{font-size:.75rem;color:#6b7280;font-weight:600}.meta-value{font-size:.85rem;color:#1a1a1a;font-weight:600}.order-customer-section{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.customer-info,.shipping-address{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.customer-info h4,.shipping-address h4{font-size:.875rem;font-weight:700;color:#1a1a1a;margin-bottom:.875rem;display:flex;align-items:center;gap:.5rem}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-label{font-size:.7rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.info-value{font-size:.875rem;color:#1a1a1a;font-weight:500}.address-type-badge{background:#1a1a1a;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.7rem;font-weight:700;text-transform:uppercase;width:fit-content}.address-text{display:flex;flex-direction:column;gap:.375rem}.address-text p{margin:0;font-size:.875rem;color:#374151;line-height:1.5}.address-text .pincode{font-weight:700;color:#1a1a1a;margin-top:.25rem}.status-edit-form{background:#fff;padding:1rem;border-radius:0 0 10px 10px;border-top:2px dashed #e5e7eb}.status-edit-form h4{font-size:.875rem;font-weight:700;color:#1a1a1a;margin-bottom:.875rem;text-transform:uppercase;letter-spacing:.025em}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.875rem;margin-bottom:.875rem}.form-group{display:flex;flex-direction:column}.form-group label{font-size:.8rem;font-weight:600;color:#374151;margin-bottom:.375rem}.form-group select,.form-group input{padding:.625rem;border:1px solid #d1d5db;border-radius:6px;font-size:.85rem;transition:border-color .2s}.form-group select:focus,.form-group input:focus{outline:none;border-color:#1a1a1a}.form-group select:disabled,.form-group input:disabled{background-color:#f3f4f6;cursor:not-allowed}.form-actions{display:flex;gap:.625rem;margin-top:.875rem}.save-btn,.cancel-btn{padding:.625rem 1.25rem;border-radius:6px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s;border:none}.save-btn{background-color:#1a1a1a;color:#fff;flex:1}.save-btn:hover{background-color:#000}.cancel-btn{background-color:#fff;color:#1a1a1a;border:1px solid #d1d5db;flex:1}.cancel-btn:hover{background-color:#f9fafb;border-color:#1a1a1a}.warning-text{color:#dc2626;font-size:.8rem;font-weight:600;margin-top:.375rem}.order-actions{display:flex;justify-content:flex-end;margin-top:.5rem}.edit-status-btn{padding:.625rem 1.25rem;background-color:#1a1a1a;color:#fff;border:none;border-radius:6px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s}.edit-status-btn:hover:not(:disabled){background-color:#000}.edit-status-btn:disabled{background-color:#9ca3af;cursor:not-allowed}@media(max-width:1024px){.orders-content{grid-template-columns:280px 1fr;gap:1.5rem}.product-selection{padding:1rem}.order-stats{grid-template-columns:repeat(2,1fr)}.order-customer-section{grid-template-columns:1fr}}@media(max-width:768px){.orders-container{padding:1rem}.orders-content{grid-template-columns:1fr;gap:1.5rem}.product-selection{max-height:300px}.order-stats{grid-template-columns:repeat(2,1fr)}.order-header-section{flex-direction:column;align-items:flex-start;gap:.75rem}.order-meta{flex-direction:column;align-items:flex-start;gap:.5rem}.meta-item{align-items:flex-start}.order-customer-section,.info-grid,.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.save-btn,.cancel-btn{width:100%}}.customers-container{padding:2rem;max-width:1400px;margin:0 auto}.customers-header{margin-bottom:2rem}.customers-header h1{font-size:2rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem}.customers-header p{color:#6b7280;font-size:1rem}.error-message{background-color:#fee2e2;border:1px solid #ef4444;color:#991b1b;padding:1rem;border-radius:8px;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.loading-state{text-align:center;padding:3rem;color:#6b7280;font-size:1.1rem}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px;border:2px dashed #e5e7eb}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h2{font-size:1.5rem;font-weight:600;color:#1a1a1a;margin-bottom:.5rem}.empty-state p{color:#6b7280}.customers-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2rem}.stat-box{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem;text-align:center;transition:all .2s}.stat-box:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a;border-color:#1a1a1a}.stat-number{font-size:2.5rem;font-weight:700;color:#1a1a1a;line-height:1;margin-bottom:.5rem}.stat-label{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.customers-list{display:flex;flex-direction:column;gap:1rem}.customer-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:all .2s}.customer-card:hover{box-shadow:0 4px 8px #00000014;border-color:#d1d5db}.customer-header{padding:1.25rem;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:background-color .2s}.customer-header:hover{background-color:#f9fafb}.customer-info{display:flex;align-items:center;gap:1rem}.customer-avatar{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#1a1a1a,#4b5563);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.customer-details h3{font-size:1.125rem;font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.customer-email{font-size:.875rem;color:#6b7280;margin:.25rem 0}.customer-phone{font-size:.875rem;color:#374151;font-weight:500;margin:.25rem 0}.customer-stats-inline{display:flex;align-items:center;gap:1rem}.stat-pill{display:flex;flex-direction:column;align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:.5rem 1rem}.stat-pill-value{font-size:1.5rem;font-weight:700;color:#1a1a1a;line-height:1}.stat-pill-label{font-size:.7rem;color:#6b7280;font-weight:600;text-transform:uppercase;margin-top:.25rem}.expand-btn{background:#1a1a1a;color:#fff;border:none;border-radius:6px;padding:.5rem .75rem;font-size:.875rem;cursor:pointer;transition:all .2s}.expand-btn:hover{background:#000;transform:scale(1.05)}.customer-addresses{padding:0 1.25rem 1.25rem;border-top:2px dashed #e5e7eb;background:#fafafa}.customer-addresses h4{font-size:1rem;font-weight:700;color:#1a1a1a;margin:1.25rem 0 1rem;display:flex;align-items:center;gap:.5rem}.addresses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.address-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;transition:all .2s}.address-card:hover{border-color:#1a1a1a;box-shadow:0 2px 4px #0000000d}.address-header{margin-bottom:.75rem}.address-type-tag{display:inline-block;background:#1a1a1a;color:#fff;padding:.25rem .625rem;border-radius:4px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.025em}.address-content p{margin:.375rem 0;font-size:.875rem;color:#374151;line-height:1.5}.address-name{font-weight:700;color:#1a1a1a!important;font-size:.95rem!important;margin-bottom:.5rem!important}.address-pin{font-weight:700;color:#1a1a1a!important;margin-top:.5rem!important}.address-contact{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb}.address-contact p{font-size:.8rem}.address-coords{font-size:.75rem!important;color:#6b7280!important;font-family:monospace;margin-top:.5rem!important}@media(max-width:1024px){.customers-stats{grid-template-columns:repeat(3,1fr)}.addresses-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media(max-width:768px){.customers-container{padding:1rem}.customers-stats{grid-template-columns:1fr}.customer-header{flex-direction:column;align-items:flex-start;gap:1rem}.customer-info{width:100%}.customer-stats-inline{width:100%;justify-content:space-between}.addresses-grid{grid-template-columns:1fr}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;min-height:100vh}
