*{margin:0%;padding:0%}.ai-buddy-button{position:fixed;bottom:30px;right:30px;width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);border:none;cursor:pointer;box-shadow:0 4px 20px #667eea66;z-index:9998;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.ai-buddy-button.disabled{background:linear-gradient(135deg,#9e9e9e,#757575);box-shadow:0 4px 20px #9e9e9e4d;cursor:not-allowed;opacity:.7}.ai-buddy-button.disabled:hover{transform:none;box-shadow:0 4px 20px #9e9e9e4d}.ai-buddy-button:hover{transform:scale(1.1);box-shadow:0 6px 30px #667eea99}.ai-buddy-button:active{transform:scale(.95)}.ai-buddy-button.hidden{transform:scale(0);opacity:0;pointer-events:none}.button-icon{width:32px;height:32px;color:#fff;position:relative;z-index:2}.button-icon svg{width:100%;height:100%}.connection-badge{position:absolute;top:-2px;right:-2px;width:20px;height:20px;background:#f44;border-radius:50%;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid white}.lock-badge{position:absolute;top:-2px;right:-2px;width:20px;height:20px;background:#ff9800;border-radius:50%;font-size:12px;display:flex;align-items:center;justify-content:center;border:2px solid white}.pulse-ring{position:absolute;width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);animation:pulse 2s infinite;z-index:1}.ai-buddy-button.disabled .pulse-ring{display:none}.auth-warning-toast{position:fixed;bottom:110px;right:30px;background:#ff9800;color:#fff;padding:16px 20px;border-radius:12px;box-shadow:0 6px 20px #ff980066;z-index:9999;display:flex;align-items:center;gap:12px;animation:slideInUp .3s ease,slideOutDown .3s ease 2.7s;max-width:300px}.auth-warning-toast svg{width:24px;height:24px;flex-shrink:0}.auth-warning-toast span{font-size:14px;font-weight:500}@keyframes slideInUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideOutDown{0%{transform:translateY(0);opacity:1}to{transform:translateY(20px);opacity:0}}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.3);opacity:.5}to{transform:scale(1.5);opacity:0}}.ai-buddy-chat{position:fixed;bottom:30px;right:30px;width:400px;height:550px;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;z-index:9999;display:flex;flex-direction:column;transform:scale(0) translateY(50px);opacity:0;transition:all .3s cubic-bezier(.68,-.55,.265,1.55);transform-origin:bottom right}.ai-buddy-chat.open{transform:scale(1) translateY(0);opacity:1}.chat-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;align-items:center}.header-content{display:flex;align-items:center;gap:12px}.ai-icon{width:40px;height:40px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center}.header-text h3{margin:0;font-size:16px;font-weight:600}.status{font-size:12px;display:flex;align-items:center;gap:6px}.status:before{content:"";width:8px;height:8px;border-radius:50%;background:#4caf50}.status.disconnected:before{background:#f44336}.close-btn{background:transparent;border:none;color:#fff;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center;transition:background .2s;border-radius:6px}.close-btn:hover{background:#fff3}.close-btn svg{width:24px;height:24px}.chat-messages{flex:1;overflow-y:auto;padding:20px;background:#f5f7fa;display:flex;flex-direction:column;gap:12px}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:transparent}.chat-messages::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.message{display:flex;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{justify-content:flex-end}.message.bot{justify-content:flex-start}.message-content{max-width:75%;padding:12px 16px;border-radius:12px;position:relative}.message.user .message-content{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom-right-radius:4px}.message.bot .message-content{background:#fff;color:#333;border-bottom-left-radius:4px;box-shadow:0 2px 4px #0000001a}.message-content p{margin:0;font-size:14px;line-height:1.5;word-wrap:break-word}.message-time{font-size:10px;opacity:.7;display:block;margin-top:4px}.typing-indicator .message-content{padding:16px}.typing-dots{display:flex;gap:4px;align-items:center}.typing-dots span{width:8px;height:8px;border-radius:50%;background:#667eea;animation:typing 1.4s infinite}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-10px);opacity:1}}.chat-input{display:flex;gap:10px;padding:16px 20px;background:#fff;border-radius:0 0 16px 16px;border-top:1px solid #e2e8f0}.chat-input input{flex:1;padding:12px 16px;border:1px solid #e2e8f0;border-radius:24px;font-size:14px;outline:none;transition:border-color .2s}.chat-input input:focus{border-color:#667eea}.chat-input input:disabled{background:#f5f7fa;cursor:not-allowed}.chat-input button{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s}.chat-input button:hover:not(:disabled){transform:scale(1.1)}.chat-input button:active:not(:disabled){transform:scale(.95)}.chat-input button:disabled{opacity:.5;cursor:not-allowed}.chat-input button svg{width:20px;height:20px}@media(max-width:480px){.ai-buddy-chat{width:calc(100vw - 40px);height:calc(100vh - 60px);bottom:20px;right:20px}.ai-buddy-button{bottom:20px;right:20px}.message-content{max-width:85%}}.chat-header{background:linear-gradient(135deg,#5f72ff,#8f5cff);color:#fff;padding:18px 20px;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #00000026;position:relative}.chat-header:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background:#ffffff26}.header-content{display:flex;align-items:center;gap:14px}.ai-icon{width:44px;height:44px;background:#ffffff40;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #ffffff40}.ai-icon svg{width:24px;height:24px}.header-text h3{margin:0;font-size:17px;font-weight:600;letter-spacing:.2px}.status{font-size:12px;font-weight:500;display:flex;align-items:center;gap:6px;opacity:.9}.status:before{content:"";width:8px;height:8px;border-radius:50%;background:#4caf50;box-shadow:0 0 6px #4caf50e6}.status.disconnected:before{background:#f44336;box-shadow:0 0 6px #f44336e6}.close-btn{background:#ffffff26;border:none;color:#fff;cursor:pointer;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-btn:hover{background:#ffffff4d;transform:rotate(90deg)}.close-btn svg{width:20px;height:20px}.header{width:100%;background:#111;padding:15px 20px;box-shadow:0 2px 5px #0003;position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:center;position:relative;padding:1rem;height:50px}.hamburger-btn{display:none;flex-direction:column;justify-content:space-around;width:30px;height:25px;background:transparent;border:none;cursor:pointer;padding:0;z-index:1002;position:absolute;left:20px;margin-top:.5rem}.hamburger-line{width:100%;height:3px;background:#fff;border-radius:2px;transition:all .3s ease;transform-origin:center}.hamburger-btn .hamburger-line:nth-child(1).open{transform:translateY(8px) rotate(45deg)}.hamburger-btn .hamburger-line:nth-child(2).open{opacity:0}.hamburger-btn .hamburger-line:nth-child(3).open{transform:translateY(-8px) rotate(-45deg)}.nav{display:flex;align-items:center;justify-content:center;gap:25px;flex-wrap:wrap;position:relative;transition:all .3s ease}.nav-link{color:#fff;text-decoration:none;font-size:16px;font-weight:500;padding:8px 12px;transition:.3s ease-in-out;border-radius:4px}.nav-link:hover{background:#444;color:#fc0}.profile-icon-link{position:absolute;right:20px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;transition:all .3s ease;box-shadow:0 2px 8px #667eea66;z-index:1001}.profile-icon-link:hover{transform:scale(1.1);box-shadow:0 4px 16px #667eea99}.profile-icon-link svg{width:24px;height:24px;color:#fff}.menu-overlay{display:none}@media(max-width:768px){.nav{gap:20px}.nav-link{font-size:15px;padding:7px 11px}}@media(max-width:600px){.header{padding:12px 20px;justify-content:flex-start}.hamburger-btn{display:flex}.nav{position:fixed;top:0;left:-100%;width:280px;height:100vh;background:#1a1a1a;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:80px 20px 20px;gap:0;box-shadow:2px 0 10px #00000080;overflow-y:auto;transition:left .3s ease;z-index:1001}.nav-open{left:0}.nav-link{width:100%;padding:15px 20px;font-size:16px;border-radius:0;border-bottom:1px solid #333;transition:all .2s ease}.nav-link:hover{background:#2a2a2a;padding-left:25px}.profile-icon-link{position:fixed;right:20px;top:12px;width:40px;height:40px}.profile-icon-link svg{width:22px;height:22px}.menu-overlay{display:block;position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;z-index:1000;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}}@media(max-width:400px){.hamburger-btn{left:15px;width:26px;height:22px}.hamburger-line{height:2.5px}.nav{width:260px;padding:70px 15px 15px}.nav-link{padding:12px 15px;font-size:15px}.profile-icon-link{right:15px;width:38px;height:38px}.profile-icon-link svg{width:20px;height:20px}}@media(max-width:600px)and (orientation:landscape){.nav{padding-top:60px}.nav-link{padding:10px 20px}}body.menu-open{overflow:hidden}:root{--primary-bg: #0f172a;--secondary-bg: #1e293b;--card-bg: #334155;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-muted: #94a3b8;--accent: #3b82f6;--accent-hover: #2563eb;--accent-light: #60a5fa;--border-color: #475569;--success-color: #10b981;--warning-color: #f59e0b;--error-color: #ef4444;--shadow: rgba(0, 0, 0, .3);--shadow-sm: 0 1px 2px 0 var(--shadow);--shadow-md: 0 10px 40px var(--shadow);--shadow-lg: 0 20px 60px var(--shadow);--border-radius-sm: 6px;--border-radius-md: 10px;--border-radius-lg: 16px;--transition-fast: all .2s ease;--transition-default: all .3s ease}.seller-dashboard{min-height:100vh;background:linear-gradient(135deg,var(--primary-bg) 0%,#1a2332 100%);margin:0;padding:2rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--text-primary)}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{font-size:2rem;font-weight:700;margin:0 0 .5rem;background:linear-gradient(135deg,var(--accent-light) 0%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.welcome-text{font-size:1rem;color:var(--text-muted);margin:0}.access-denied{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:60px 40px;text-align:center;box-shadow:var(--shadow-md);max-width:500px;margin:100px auto;border:1px solid var(--border-color)}.access-denied-icon{width:80px;height:80px;margin:0 auto 24px;color:var(--error-color)}.access-denied-icon svg{width:100%;height:100%}.access-denied h2{font-size:24px;font-weight:600;margin:0 0 12px;color:var(--text-primary)}.access-denied p{font-size:16px;color:var(--text-secondary);margin:0 0 8px}.access-denied-hint{font-size:14px;color:var(--text-muted)}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px}.loading-spinner{width:50px;height:50px;border:4px solid var(--card-bg);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.loading-container p{font-size:16px;color:var(--text-secondary)}.error-container{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:40px;text-align:center;box-shadow:var(--shadow-md);max-width:500px;margin:100px auto;border:1px solid var(--border-color)}.error-icon{font-size:48px;margin-bottom:16px}.error-container h2{font-size:24px;font-weight:600;margin:0 0 12px;color:var(--text-primary)}.error-container p{font-size:16px;color:var(--text-secondary);margin:0 0 24px}.retry-button{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-hover) 100%);color:#fff;border:none;padding:.875rem 1.5rem;border-radius:var(--border-radius-sm);font-size:1rem;font-weight:600;cursor:pointer;transition:var(--transition-fast);box-shadow:0 4px 12px #3b82f633}.retry-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.metric-card{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm);display:flex;gap:1rem;transition:var(--transition-default);border:1px solid var(--border-color)}.metric-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--accent)}.metric-icon{width:56px;height:56px;border-radius:var(--border-radius-md);display:flex;align-items:center;justify-content:center;flex-shrink:0}.metric-icon svg{width:28px;height:28px;color:#fff}.sales-icon{background:linear-gradient(135deg,#10b981,#059669)}.revenue-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)}.products-icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.orders-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.metric-content{flex:1;min-width:0}.metric-content h3{font-size:.875rem;font-weight:600;color:var(--text-secondary);margin:0 0 .5rem;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:1.75rem;font-weight:700;color:var(--text-primary);margin:0 0 .25rem;line-height:1}.metric-label{font-size:.75rem;color:var(--text-muted)}.top-products-section{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:1.5rem;margin-bottom:2rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.top-products-section h2{font-size:1.25rem;font-weight:600;margin:0 0 1.25rem;color:var(--text-primary)}.top-products-list{display:flex;flex-direction:column;gap:.75rem}.top-product-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--card-bg);border-radius:var(--border-radius-md);transition:var(--transition-fast)}.top-product-item:hover{background:#3d4a5c;transform:translate(4px)}.product-rank{font-size:1.25rem;font-weight:700;color:var(--accent-light);width:40px;flex-shrink:0}.product-info{flex:1;min-width:0}.product-info h4{font-size:1rem;font-weight:500;margin:0 0 .25rem;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-sales{font-size:.875rem;color:var(--text-secondary)}.dashboard-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid var(--border-color)}.tab-button{background:transparent;border:none;padding:.75rem 1.5rem;font-size:.95rem;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:var(--transition-fast);border-bottom:3px solid transparent;margin-bottom:-2px}.tab-button:hover{color:var(--text-primary);background:#3b82f60d}.tab-button.active{color:var(--accent-light);border-bottom-color:var(--accent)}.tab-content{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.overview-content{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:2.5rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.overview-content h2{font-size:1.25rem;font-weight:600;margin:0 0 1rem;color:var(--text-primary)}.overview-text{font-size:1rem;color:var(--text-secondary);line-height:1.6;margin:0}.orders-list{display:flex;flex-direction:column;gap:1rem}.order-card{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);transition:var(--transition-default)}.order-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:var(--accent)}.order-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.order-header h3{font-size:1rem;font-weight:600;margin:0 0 .25rem;color:var(--text-primary);color:#0f172a}.order-date{font-size:.813rem;color:var(--text-muted);margin:0}.order--status{padding:.375rem .75rem;border-radius:var(--border-radius-sm);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-confirmed{background:#3b82f61a;color:#60a5fa;border:1px solid rgba(59,130,246,.2)}.status-shipped{background:#f59e0b1a;color:#fbbf24;border:1px solid rgba(245,158,11,.2)}.status-delivered{background:#10b9811a;color:#34d399;border:1px solid rgba(16,185,129,.2)}.status-cancelled{background:#ef44441a;color:#f87171;border:1px solid rgba(239,68,68,.2)}.status-pending{background:#94a3b81a;color:#0f172a;border:1px solid rgba(148,163,184,.2)}.order-customer{font-size:.875rem;margin-bottom:.75rem;color:#0f172a}.order-items{display:flex;flex-direction:column;gap:.5rem}.order-item{display:flex;justify-content:space-between;align-items:center;padding:.625rem;background:var(--card-bg);border-radius:var(--border-radius-sm);font-size:.875rem}.order-item span:first-child{color:var(--text-secondary)}.order-item span:last-child{font-weight:600;color:var(--text-primary)}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.product-card{background:var(--secondary-bg);border-radius:var(--border-radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);transition:var(--transition-default)}.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px);border-color:var(--accent)}.product-image{width:100%;height:200px;overflow:hidden;background:var(--card-bg);display:flex;align-items:center;justify-content:center}.product-image img{width:100%;height:100%;object-fit:contain;background-color:var(--primary-bg);transition:var(--transition-default)}.product-card:hover .product-image img{transform:scale(1.05)}.product-details{padding:1.25rem}.product-details h3{font-size:1rem;font-weight:600;margin:0 0 .5rem;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-price{font-size:1.25rem;font-weight:700;color:var(--accent-light);margin:0 0 .5rem}.product-stock{font-size:.875rem;color:#0f172a;margin:0}.in-stock{color:#34d399;font-weight:500}.out-of-stock{color:var(--error-color);font-weight:500}.empty-state{background:var(--secondary-bg);border-radius:var(--border-radius-lg);padding:60px 40px;text-align:center;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.empty-state p{font-size:16px;color:var(--text-secondary);margin:0}@media(max-width:1024px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.products-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media(max-width:768px){.seller-dashboard{padding:1rem}.dashboard-header h1{font-size:1.5rem}.metrics-grid{grid-template-columns:1fr;gap:.75rem}.metric-card{padding:1rem}.metric-value{font-size:1.5rem}.top-products-section{padding:1.25rem}.dashboard-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.tab-button{white-space:nowrap;padding:.75rem 1rem}.order-header{flex-direction:column;gap:.75rem}.order-status{align-self:flex-start}.products-grid{grid-template-columns:1fr}.access-denied,.error-container{padding:40px 24px;margin:50px auto}}@media(max-width:480px){.metric-card{flex-direction:column;align-items:center;text-align:center}.top-product-item{flex-direction:column;text-align:center}.product-info h4{white-space:normal}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.tab-button:focus-visible,.retry-button:focus-visible{outline:3px solid rgba(59,130,246,.5);outline-offset:2px}*{margin:0;padding:0;box-sizing:border-box}.home-container{width:100%;min-height:100vh}.welcome{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#000;font-size:1rem;font-weight:700;text-align:center;position:relative;line-height:1.3;height:1px}.home-page-heading{padding:1.5rem 2rem;background:linear-gradient(135deg,#fffdd0,#f5f5ae);width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;box-shadow:0 2px 8px #00000014}.typewriter{font-size:1rem;font-weight:700;white-space:nowrap;overflow:hidden;color:#a8a8a8;border-right:3px solid transparent;width:0}.home-page-product-container{padding:2rem;margin:0 auto;max-width:1600px}.home-page-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;justify-items:center;width:100%}.typewriter.start{border-right:3px solid #a8a8a8;animation:typing 2s steps(30) forwards,blink .6s step-end infinite}@keyframes typing{0%{width:0}to{width:210px}}@keyframes blink{0%,to{border-color:transparent}40%{border-color:#a8a8a8}}@media(min-width:1440px){.home-page-products{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}.home-page-product-container{padding:3rem 4rem}.welcome{font-size:3rem}}@media(min-width:1024px)and (max-width:1439px){.home-page-products{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.home-page-product-container{padding:2.5rem 3rem}.welcome{font-size:2.5rem}}@media(min-width:768px)and (max-width:1023px){.home-page-heading{padding:2.5rem 1.5rem}.welcome{font-size:2rem;padding:.75rem}.home-page-product-container{padding:1.5rem;margin:0}.home-page-products{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}}@media(min-width:600px)and (max-width:767px){.home-page-heading{padding:2rem 1.25rem}.welcome{font-size:1.75rem;padding:.5rem}.home-page-product-container{padding:1.25rem}.home-page-products{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}}@media(min-width:400px)and (max-width:599px){.home-page-heading{padding:1.75rem 1rem}.welcome{font-size:1.5rem;padding:.5rem;line-height:1.4}.home-page-product-container{padding:1rem}.home-page-products{grid-template-columns:1fr;gap:16px}}@media(max-width:399px){.home-page-heading{padding:1.5rem .75rem}.welcome{font-size:1.25rem;padding:.5rem .25rem;line-height:1.4}.home-page-product-container{padding:.75rem}.home-page-products{grid-template-columns:1fr;gap:14px}}@media(max-width:767px)and (orientation:landscape){.home-page-heading{padding:1.5rem 1rem}.welcome{font-size:1.35rem}.home-page-product-container{padding:1rem}}@media(min-width:1920px){.home-page-product-container{max-width:1800px;padding:3rem 5rem}.home-page-products{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:32px}.welcome{font-size:3.5rem}.home-page-heading{padding:4rem 3rem}}.product-card{background:#fff;border-radius:16px;box-shadow:0 10px 30px #0000001f;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;cursor:pointer;max-width:320px;width:100%;height:420px;display:flex;flex-direction:column;margin:0 auto}.product-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px #0000002e}.product-image-placeholder{background:#f7f8fa;height:200px;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.product-image-placeholder img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .3s ease}.product-card:hover .product-image-placeholder img{transform:scale(1.05)}.image-icon{font-size:64px;opacity:.9;color:#cbd5e0}.product-info{padding:16px 18px;flex:1;display:flex;flex-direction:column;background:#fff}.product-title{font-size:17px;font-weight:600;color:#1a202c;margin:0 0 8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;min-height:48px}.product-description{font-size:14px;color:#4a5568;margin:0 0 8px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;height:44px;flex-shrink:0}.know-more-link{display:inline-block;font-size:13px;color:#667eea;text-decoration:none;font-weight:500;margin-bottom:12px;transition:color .2s ease;flex-shrink:0;height:20px}.know-more-link:hover{color:#5568d3;text-decoration:underline}.product-footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid #e2e8f0;margin-top:auto;flex-shrink:0;gap:12px}.price-section{display:flex;align-items:baseline;gap:4px}.currency{font-size:16px;font-weight:600;color:#2d3748}.amount{font-size:24px;font-weight:700;color:#667eea}.thumbnail-gallery{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:4px}.thumbnail{width:64px;height:64px;border-radius:8px;overflow:hidden;border:2px solid transparent;cursor:pointer;transition:all .2s ease;flex-shrink:0}.thumbnail img{width:100%;height:100%;object-fit:cover}.thumbnail:hover{border-color:#667eea}.thumbnail.active{border-color:#667eea;box-shadow:0 0 0 2px #667eea4d}.buy-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:10px 22px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.buy-button:hover{transform:translateY(-1px);box-shadow:0 6px 14px #667eea66}.buy-button:active{transform:scale(.98)}@media(min-width:1440px){.product-card{max-width:340px;height:440px}.product-image-placeholder{height:220px}.product-title{font-size:18px}.product-description{font-size:15px}.amount{font-size:26px}.buy-button{padding:11px 24px;font-size:15px}}@media(min-width:1024px)and (max-width:1439px){.product-card{max-width:320px;height:420px}.product-image-placeholder{height:200px}}@media(min-width:768px)and (max-width:1023px){.product-card{max-width:300px;height:400px}.product-image-placeholder{height:180px}.product-info{padding:14px 16px}.product-title{font-size:16px;min-height:44px}.product-description{font-size:13px;height:40px}.amount{font-size:22px}.currency{font-size:15px}.buy-button{padding:9px 20px;font-size:13px}}@media(min-width:600px)and (max-width:767px){.product-card{max-width:280px;height:380px}.product-image-placeholder{height:170px}.product-info{padding:12px 14px}.product-title{font-size:15px;min-height:42px}.product-description{font-size:13px;height:38px}.amount{font-size:20px}.currency{font-size:14px}.buy-button{padding:8px 18px;font-size:13px}.product-footer{padding-top:12px;gap:10px}}@media(min-width:400px)and (max-width:599px){.product-card{max-width:100%;height:380px}.product-image-placeholder{height:180px}.product-info{padding:14px 16px}.product-title{font-size:16px;min-height:44px}.product-description{font-size:13px;height:40px}.know-more-link{font-size:12px}.amount{font-size:22px}.currency{font-size:15px}.buy-button{padding:10px 20px;font-size:13px}.product-footer{flex-wrap:nowrap;gap:8px}}@media(max-width:399px){.product-card{max-width:100%;height:360px}.product-image-placeholder{height:160px}.product-info{padding:12px 14px}.product-title{font-size:15px;min-height:40px;-webkit-line-clamp:2}.product-description{font-size:12px;height:36px;-webkit-line-clamp:2}.know-more-link{font-size:11px;margin-bottom:8px}.amount{font-size:20px}.currency{font-size:14px}.buy-button{padding:8px 16px;font-size:12px}.product-footer{padding-top:10px;gap:6px}.thumbnail{width:56px;height:56px}}@media(max-width:767px)and (orientation:landscape){.product-card{height:auto;min-height:340px}.product-image-placeholder{height:160px}.product-info{padding:12px 14px}}@media(min-width:1920px){.product-card{max-width:360px;height:460px}.product-image-placeholder{height:240px}.product-info{padding:18px 20px}.product-title{font-size:19px;min-height:52px}.product-description{font-size:15px;height:48px}.amount{font-size:28px}.currency{font-size:17px}.buy-button{padding:12px 26px;font-size:15px}}@media(hover:none)and (pointer:coarse){.product-card:hover{transform:none}.product-card:active{transform:translateY(-2px)}.buy-button{min-height:44px;padding:12px 22px}.thumbnail{width:68px;height:68px}}@media(prefers-reduced-motion:reduce){.product-card,.product-card:hover,.buy-button,.product-image-placeholder img{transition:none;transform:none}}@media print{.product-card{box-shadow:none;border:1px solid #e2e8f0;break-inside:avoid}.buy-button{display:none}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:2rem 1rem}.login-card{background:var(--bg-secondary);padding:2.5rem;border-radius:16px;width:100%;max-width:450px;box-shadow:0 20px 60px var(--shadow);border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-title{text-align:center;font-size:2rem;font-weight:700;margin-bottom:.5rem;background:linear-gradient(135deg,var(--accent-light) 0%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-form{display:flex;flex-direction:column;gap:1.25rem;margin-top:2rem}.password-wrapper{position:relative;width:100%;display:flex;align-items:center}.eye-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:6px;transition:all .2s ease;z-index:10;height:36px;width:36px;flex-shrink:0}.forgot-password{text-align:right;color:var(--accent-light);font-size:.875rem;margin-top:-.5rem;cursor:pointer;transition:all .2s ease;font-weight:500}.forgot-password:hover{color:var(--accent);text-decoration:underline}.login-btn{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-hover) 100%);color:#fff;padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem;box-shadow:0 4px 12px #3b82f633}.login-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.login-btn:active:not(:disabled){transform:translateY(0)}.login-btn:disabled{background:var(--bg-card);color:var(--text-muted);cursor:not-allowed;transform:none;box-shadow:none;opacity:.6}.login-message{text-align:center;margin-top:1rem;padding:.75rem;border-radius:8px;font-weight:500;font-size:.9rem}.register-link{text-align:center;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border);color:var(--text-secondary);font-size:.95rem}.register-link a{color:var(--accent-light);text-decoration:none;font-weight:600;transition:color .2s ease}.register-link a:hover{color:var(--accent);text-decoration:underline}@media(max-width:374px){.login-container{padding:.75rem}.login-card{padding:1.25rem;border-radius:12px}.login-title{font-size:1.35rem}.form-group input,.password-input{padding:.75rem .875rem!important;font-size:.9rem;height:44px}.password-input{padding-right:2.75rem!important}.eye-btn{height:32px;width:32px;padding:6px}.eye-btn svg{width:18px;height:18px}.login-btn{padding:.75rem 1.25rem;font-size:.95rem}.forgot-password{font-size:.813rem}.register-link{font-size:.875rem}}@media(min-width:375px)and (max-width:639px){.login-container{padding:1rem}.login-card{padding:1.5rem}.login-title{font-size:1.5rem}.form-group input,.password-input{font-size:.925rem}}@media(min-width:640px)and (max-width:767px){.login-container{padding:1.5rem}.login-card{padding:2rem}.login-title{font-size:1.75rem}}@media(min-width:768px){.login-card{padding:3rem}.login-title{font-size:2.25rem}.form-group input,.password-input{font-size:1rem}}@media(min-width:1024px){.login-container{padding:2.5rem 1rem}}@media(min-width:1440px){.login-card{max-width:500px;padding:3.5rem}.login-title{font-size:2.5rem}}@media(max-height:600px)and (orientation:landscape){.login-container{padding:1rem;align-items:flex-start}.login-card{margin:1rem auto;padding:1.5rem}.login-title{font-size:1.35rem;margin-bottom:.25rem}.login-form{gap:.875rem;margin-top:1rem}.register-link{margin-top:1rem;padding-top:1rem}}@media(prefers-contrast:high){.form-group input,.password-input{border-width:2px}.login-btn{border:2px solid transparent}}:root{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-card: #334155;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-muted: #94a3b8;--accent: #3b82f6;--accent-hover: #2563eb;--accent-light: #60a5fa;--border: #475569;--error: #ef4444;--success: #10b981;--shadow: rgba(0, 0, 0, .3)}body{background:linear-gradient(135deg,var(--bg-primary) 0%,#1a2332 100%);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;margin:0;padding:0;min-height:100vh}.register-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:2rem 1rem}.register-card{background:var(--bg-secondary);padding:2.5rem;border-radius:16px;width:100%;max-width:600px;box-shadow:0 20px 60px var(--shadow);border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.register-title{text-align:center;font-size:2rem;font-weight:700;margin-bottom:.5rem;background:linear-gradient(135deg,var(--accent-light) 0%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.register-form{display:flex;flex-direction:column;gap:1.25rem;margin-top:2rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:var(--text-secondary);margin-bottom:.25rem}.form-group input{background-color:var(--bg-card);color:var(--text-primary);border:1px solid var(--border);outline:none;padding:.875rem 1rem;border-radius:8px;font-size:.95rem;width:100%;transition:all .2s ease}.form-group input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.form-group input::placeholder{color:var(--text-muted)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;width:100%}.password-group{position:relative}.password-wrapper{position:relative;display:flex;align-items:center;width:100%}.password-input{width:100%;padding:.875rem 3rem .875rem 1rem!important;background-color:var(--bg-card);color:var(--text-primary);border:1px solid var(--border);border-radius:8px;font-size:.95rem;transition:all .2s ease;outline:none;height:48px}.password-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.password-input::placeholder{color:var(--text-muted)}.eye-btn{position:absolute;right:8px;top:40%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:6px;transition:all .2s ease;z-index:10;height:36px;width:36px;flex-shrink:0}.eye-btn:hover{background:#3b82f626;color:var(--accent-light)}.eye-btn:focus{outline:2px solid rgba(59,130,246,.3);outline-offset:2px}.eye-btn svg{width:20px;height:20px;display:block;pointer-events:none}.role-group{margin:.5rem 0}.role-label{font-size:.9rem;font-weight:600;color:var(--text-secondary);margin-bottom:.75rem;display:block}.radio-group{display:flex;flex-direction:column;gap:.75rem}.radio-option{display:flex;align-items:flex-start;padding:1rem;background:var(--bg-card);border:2px solid var(--border);border-radius:10px;cursor:pointer;transition:all .2s ease;position:relative}.radio-option:hover{border-color:var(--accent);background:#3b82f60d}.radio-option input[type=radio]{position:absolute;opacity:0;width:0;height:0}.radio-custom{width:20px;height:20px;border:2px solid var(--border);border-radius:50%;margin-right:.875rem;position:relative;transition:all .2s ease;flex-shrink:0;margin-top:2px}.radio-custom:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:10px;height:10px;border-radius:50%;background:var(--accent);transition:transform .2s ease}.radio-option input[type=radio]:checked~.radio-custom{border-color:var(--accent);background:#3b82f61a}.radio-option input[type=radio]:checked~.radio-custom:after{transform:translate(-50%,-50%) scale(1)}.radio-option:has(input[type=radio]:checked){border-color:var(--accent);background:#3b82f614;box-shadow:0 0 0 3px #3b82f61a}.radio-text{display:flex;flex-direction:column;gap:.25rem;flex:1}.radio-title{font-size:.95rem;font-weight:600;color:var(--text-primary)}.radio-description{font-size:.813rem;color:var(--text-muted);line-height:1.4}.error{color:var(--error);font-size:.813rem;margin-top:.25rem;display:flex;align-items:center;gap:.25rem}.register-btn{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-hover) 100%);color:#fff;padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem;box-shadow:0 4px 12px #3b82f633}.register-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.register-btn:active:not(:disabled){transform:translateY(0)}.register-btn:disabled{background:var(--bg-card);color:var(--text-muted);cursor:not-allowed;transform:none;box-shadow:none;opacity:.6}.register-message{text-align:center;margin-top:1rem;padding:.75rem;border-radius:8px;font-weight:500;background:#10b9811a;color:var(--success);border:1px solid rgba(16,185,129,.2);font-size:.9rem}.register-message.error-message{background:#ef44441a;color:var(--error);border:1px solid rgba(239,68,68,.2)}.login-redirect{text-align:center;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border);color:var(--text-secondary);font-size:.95rem}.login-redirect a{color:var(--accent-light);text-decoration:none;font-weight:600;transition:color .2s ease}.login-redirect a:hover{color:var(--accent);text-decoration:underline}@media(max-width:374px){.register-container{padding:.75rem}.register-card{padding:1.25rem;border-radius:12px}.register-title{font-size:1.35rem}.register-form{gap:1rem}.form-group input,.password-input{padding:.75rem .875rem!important;font-size:.9rem;height:44px}.password-input{padding-right:2.75rem!important}.eye-btn{height:32px;width:32px;padding:6px}.eye-btn svg{width:18px;height:18px}.form-row{grid-template-columns:1fr;gap:.875rem}.radio-option{padding:.75rem}.radio-title{font-size:.875rem}.radio-description{font-size:.75rem}.register-btn{padding:.75rem 1.25rem;font-size:.95rem}.role-label{font-size:.85rem}.login-redirect{font-size:.875rem}}@media(min-width:375px)and (max-width:639px){.form-row{grid-template-columns:1fr}.register-container{padding:1rem}.register-card{padding:1.5rem}.register-title{font-size:1.5rem}.radio-option{padding:.875rem}.radio-text{gap:.15rem}.radio-title{font-size:.9rem}.radio-description{font-size:.75rem}}@media(min-width:640px)and (max-width:767px){.register-container{padding:1.5rem}.register-card{padding:2rem}.register-title{font-size:1.75rem}.form-row{gap:.875rem}}@media(min-width:768px){.register-card{padding:3rem}.register-title{font-size:2.25rem}.form-group input,.password-input{font-size:1rem}.form-row{grid-template-columns:1fr 1fr}}@media(min-width:1024px){.register-container{padding:2.5rem 1rem}}@media(min-width:1440px){.register-card{max-width:650px;padding:3.5rem}.register-title{font-size:2.5rem}}@media(max-height:700px)and (orientation:landscape){.register-container{padding:1rem;align-items:flex-start}.register-card{margin:1rem auto;padding:1.5rem}.register-title{font-size:1.35rem;margin-bottom:.25rem}.register-form{gap:.875rem;margin-top:1rem}.radio-option{padding:.75rem}.login-redirect{margin-top:1rem;padding-top:1rem}}.radio-option:focus-within{outline:2px solid rgba(59,130,246,.5);outline-offset:2px}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(prefers-contrast:high){.form-group input,.password-input,.register-btn,.radio-option{border-width:2px}}@media(prefers-color-scheme:dark){body{background:linear-gradient(135deg,var(--bg-primary) 0%,#0a0f1a 100%)}}@media(hover:none)and (pointer:coarse){.eye-btn{height:40px;width:40px}.radio-option{min-height:60px}.form-group input,.password-input{min-height:48px}}.product-detail-container{max-width:1200px;margin:0 auto;padding:24px;min-height:100vh}.back-nav-button{background:transparent;border:1px solid #e2e8f0;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;color:#4a5568;cursor:pointer;transition:all .3s ease;margin-bottom:24px}.back-nav-button:hover{background:#f7fafc;border-color:#cbd5e0}.product-detail-content{display:grid;grid-template-columns:1fr 1fr;gap:48px;background:#fff;padding:32px;border-radius:16px;box-shadow:0 4px 6px #0000000d}.image-gallery{display:flex;flex-direction:column;gap:16px}.main-image{width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden}.image-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.main-icon{font-size:120px;opacity:.9}.image-label{color:#fff;font-size:16px;font-weight:500;margin:0}.thumbnail-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.thumbnail{aspect-ratio:1;border-radius:8px;overflow:hidden;cursor:pointer;border:2px solid transparent;transition:all .3s ease;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center}.thumbnail:hover{border-color:#667eea;transform:scale(1.05)}.thumbnail.active{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}.thumb-icon{font-size:32px;opacity:.9}.product-info-section{display:flex;flex-direction:column;gap:24px}.product-header{display:flex;flex-direction:column;gap:12px}.product-detail-title{font-size:32px;font-weight:700;color:#1a202c;margin:0;line-height:1.3}.stock-badge-container{display:flex;align-items:center;gap:8px}.stock-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:14px;font-weight:600}.stock-badge.in-stock{background:#d4edda;color:#155724}.stock-badge.out-of-stock{background:#f8d7da;color:#721c24}.stock-count{font-size:14px;color:#718096}.price-container{display:flex;align-items:baseline;gap:8px}.price-currency{font-size:24px;font-weight:600;color:#2d3748}.price-amount{font-size:40px;font-weight:700;color:#667eea}.divider{height:1px;background:#e2e8f0}.section-title{font-size:18px;font-weight:600;color:#2d3748;margin:0 0 12px}.product-full-description{font-size:15px;color:#4a5568;line-height:1.8;margin:0}.quantity-section{display:flex;flex-direction:column;gap:12px}.quantity-selector{display:flex;align-items:center;gap:16px;width:fit-content;border:2px solid #e2e8f0;border-radius:8px;padding:4px}.quantity-btn{width:40px;height:40px;border:none;background:transparent;font-size:20px;color:#4a5568;cursor:pointer;transition:all .2s ease;border-radius:6px}.quantity-btn:hover:not(:disabled){background:#f7fafc;color:#667eea}.quantity-btn:disabled{color:#cbd5e0;cursor:not-allowed}.quantity-value{font-size:18px;font-weight:600;color:#2d3748;min-width:40px;text-align:center}.action-buttons{display:flex;gap:12px;margin-top:8px}.add-to-cart-btn,.buy-now-btn{flex:1;padding:16px 24px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease}.add-to-cart-btn{background:#f7fafc;color:#667eea;border:2px solid #667eea}.add-to-cart-btn:hover:not(:disabled){background:#667eea;color:#fff}.buy-now-btn{background:#667eea;color:#fff}.buy-now-btn:hover:not(:disabled){background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.add-to-cart-btn:disabled,.buy-now-btn:disabled{background:#e2e8f0;color:#a0aec0;border-color:#e2e8f0;cursor:not-allowed}.additional-info{display:flex;flex-direction:column;gap:12px;padding:20px;background:#f7fafc;border-radius:10px}.info-item{display:flex;align-items:center;gap:12px}.info-icon{font-size:20px}.info-text{font-size:14px;color:#4a5568}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}.spinner{width:50px;height:50px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite}.error-container h2{font-size:24px;color:#2d3748;margin:0}.error-container p{font-size:16px;color:#718096;margin:0}.back-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;margin-top:16px}.back-button:hover{background:#5568d3}@media(max-width:968px){.product-detail-content{grid-template-columns:1fr;gap:32px}.product-detail-title{font-size:26px}.price-amount{font-size:32px}}@media(max-width:640px){.product-detail-container{padding:16px}.product-detail-content{padding:20px}.action-buttons{flex-direction:column}.thumbnail-gallery{grid-template-columns:repeat(4,1fr)}}.quantity-display{color:#1a202c}.checkout-modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.checkout-modal-content{background:#fff;border-radius:20px;width:90%;max-width:600px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.checkout-modal-header{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;border-bottom:2px solid #f0f0f0}.checkout-modal-header h2{margin:0;font-size:1.5rem;color:#333;font-weight:700}.close-modal-btn{background:transparent;border:none;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center;transition:all .3s ease;border-radius:50%}.close-modal-btn:hover{background:#f0f0f0}.close-modal-btn svg{width:24px;height:24px;color:#666}.checkout-modal-body{padding:25px 30px;overflow-y:auto;flex:1}.checkout-modal-body::-webkit-scrollbar{width:6px}.checkout-modal-body::-webkit-scrollbar-track{background:transparent}.checkout-modal-body::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.loading-addresses{text-align:center;padding:40px 20px;color:#666;font-size:1.1rem}.no-addresses-checkout{text-align:center;padding:40px 20px}.no-addresses-checkout svg{width:80px;height:80px;color:#ddd;margin-bottom:20px}.no-addresses-checkout p{margin:10px 0;font-size:1.1rem;color:#333}.no-address-subtitle{color:#666!important;font-size:.95rem!important;margin-bottom:25px!important}.add-address-redirect-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 32px;border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:10px;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.add-address-redirect-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.add-address-redirect-btn svg{width:20px;height:20px}.addresses-list-checkout{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.address-card-checkout{display:flex;gap:15px;padding:20px;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;transition:all .3s ease;background:#fff}.address-card-checkout:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26}.address-card-checkout.selected{border-color:#667eea;background:linear-gradient(135deg,#667eea0d,#764ba20d);box-shadow:0 4px 12px #667eea33}.address-radio{display:flex;align-items:flex-start;padding-top:2px}.address-radio input[type=radio]{width:20px;height:20px;cursor:pointer;accent-color:#667eea}.address-info-checkout{flex:1}.default-tag{display:inline-block;background:#4caf50;color:#fff;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;margin-bottom:10px}.address-line{margin:6px 0;color:#333;font-size:.95rem;line-height:1.5}.add-new-address-btn{width:100%;background:#fff;border:2px dashed #667eea;color:#667eea;padding:14px 20px;border-radius:12px;font-size:.95rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:all .3s ease}.add-new-address-btn:hover{background:#667eea0d;border-color:#764ba2}.add-new-address-btn svg{width:20px;height:20px}.checkout-modal-footer{padding:25px 30px;border-top:2px solid #f0f0f0;background:#f8f9fa;border-radius:0 0 20px 20px}.order-total-checkout{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:1.1rem}.order-total-checkout span:first-child{color:#666;font-weight:600}.total-price{font-size:1.5rem;font-weight:700;color:#667eea}.place-order-btn{width:100%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:16px;border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.place-order-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.place-order-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media(max-width:768px){.checkout-modal-content{width:95%;max-height:90vh}.checkout-modal-header,.checkout-modal-body,.checkout-modal-footer{padding:20px}.checkout-modal-header h2{font-size:1.3rem}.address-card-checkout{padding:15px}.total-price{font-size:1.3rem}}.cart-container{max-width:1200px;margin:0 auto;padding:40px 20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.cart-title{font-size:2rem;margin-bottom:30px;color:#333}.loading,.error,.empty-cart{text-align:center;padding:60px 20px;font-size:1.2rem;color:#666}.error{color:#d32f2f}.empty-cart h2{margin-bottom:10px;color:#333}.cart-content{display:grid;grid-template-columns:1fr 350px;gap:30px}.cart-items{display:flex;flex-direction:column;gap:20px}.cart-item{display:flex;gap:20px;padding:20px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;transition:box-shadow .3s ease}.cart-item:hover{box-shadow:0 4px 12px #0000001a}.error-item{justify-content:center;align-items:center;color:#d32f2f}.item-image{flex-shrink:0;width:120px;height:120px;overflow:hidden;border-radius:8px;background:#f5f5f5}.item-image img{width:100%;height:100%;object-fit:cover}.item-details{flex:1;display:flex;flex-direction:column;gap:8px}.item-title{font-size:1.1rem;font-weight:600;color:#333;margin:0}.item-price,.item-quantity{font-size:.95rem;color:#666;margin:0}.item-total{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:120px}.total-label{font-size:.85rem;color:#666;margin:0 0 5px}.total-amount{font-size:1.3rem;font-weight:700;color:#1976d2;margin:0}.cart-summary{position:sticky;top:20px;padding:25px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;height:fit-content}.cart-summary h2{font-size:1.4rem;margin:0 0 20px;color:#333}.summary-row{display:flex;justify-content:space-between;padding:12px 0;font-size:1rem;color:#666;border-bottom:1px solid #f0f0f0}.summary-row.total{border-bottom:none;border-top:2px solid #333;margin-top:10px;padding-top:20px;font-size:1.2rem;font-weight:700;color:#333}.checkout-btn{width:100%;padding:15px;margin-top:20px;background:#1976d2;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s ease}.checkout-btn:hover{background:#1565c0}.checkout-btn:active{transform:translateY(1px)}@media(max-width:968px){.cart-content{grid-template-columns:1fr}.cart-summary{position:static}}@media(max-width:600px){.cart-container{padding:15px}.cart-title{font-size:1.5rem}.cart-item{flex-direction:column;gap:15px}.item-image{width:100%;height:200px}.item-total{align-items:flex-start}}.quantity-controls{display:flex;align-items:center;gap:10px}.qty-btn{width:32px;height:32px;border:1px solid #ccc;background:#fff;font-size:18px;cursor:pointer}.qty-btn:disabled{opacity:.4;cursor:not-allowed}.qty-value{font-weight:600}.stock-warning{color:red;font-size:12px}.no-addresses p{font-size:1.1rem;margin:0}.profile-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:40px 20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.profile-wrapper{max-width:1000px;margin:0 auto;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;overflow:hidden}.loading-spinner,.error-message{text-align:center;padding:60px 20px;font-size:1.2rem;color:#fff}.error-message{background:#f44336e6;border-radius:12px;max-width:500px;margin:0 auto}.profile-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:50px 30px;text-align:center;color:#fff;position:relative}.profile-avatar{width:120px;height:120px;background:#fff3;border-radius:50%;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;border:4px solid white;box-shadow:0 8px 20px #0003}.profile-avatar svg{width:60px;height:60px;color:#fff}.profile-name{font-size:2rem;font-weight:700;margin:0 0 10px;text-shadow:0 2px 4px rgba(0,0,0,.2)}.profile-username{font-size:1.1rem;opacity:.9;margin:0 0 15px}.profile-role-badge{display:inline-block;background:#ffffff4d;padding:8px 20px;border-radius:20px;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.logout-button{margin-top:20px;background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);padding:12px 30px;border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:10px;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.logout-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-2px);box-shadow:0 4px 12px #0003}.logout-button svg{width:20px;height:20px}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:20px;padding:40px;max-width:400px;width:90%;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease;text-align:center}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-icon{width:80px;height:80px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 25px}.modal-icon svg{width:40px;height:40px;color:#fff}.modal-content h3{font-size:1.8rem;margin:0 0 15px;color:#333}.modal-content p{font-size:1.1rem;color:#666;margin:0 0 30px}.modal-actions{display:flex;gap:15px;justify-content:center}.modal-btn{padding:12px 32px;border:none;border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:120px}.cancel-btn{background:#f5f5f5;color:#666}.cancel-btn:hover:not(:disabled){background:#e0e0e0}.logout-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.logout-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.modal-btn:disabled{opacity:.6;cursor:not-allowed}.profile-content{padding:40px 30px}.section-title{font-size:1.5rem;font-weight:700;color:#333;margin:0 0 25px;padding-bottom:10px;border-bottom:3px solid #667eea;display:inline-block}.info-section{margin-bottom:50px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.info-item{display:flex;flex-direction:column;gap:8px;padding:20px;background:#f8f9fa;border-radius:12px;border-left:4px solid #667eea;transition:transform .2s}.info-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.info-label{font-size:.85rem;color:#666;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:1.1rem;color:#333;font-weight:500}.addresses-section{margin-top:40px}.addresses-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;flex-wrap:wrap;gap:15px}.add-address-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .3s ease;box-shadow:0 2px 8px #667eea4d}.add-address-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.add-address-btn svg{width:20px;height:20px}.addresses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:20px}.address-card{background:#fff;border:2px solid #e0e0e0;border-radius:16px;padding:25px;position:relative;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.address-card:hover{border-color:#667eea;box-shadow:0 8px 24px #667eea33;transform:translateY(-4px)}.delete-address-btn{position:absolute;top:15px;right:15px;background:#f44336;color:#fff;border:none;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;box-shadow:0 2px 8px #f443364d}.delete-address-btn:hover{background:#d32f2f;transform:scale(1.1);box-shadow:0 4px 12px #f4433666}.delete-address-btn svg{width:20px;height:20px}.default-badge{position:absolute;top:15px;right:15px;background:#4caf50;color:#fff;padding:5px 12px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.address-icon{width:50px;height:50px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:15px}.address-icon svg{width:28px;height:28px;color:#fff}.address-details{display:flex;flex-direction:column;gap:8px}.address-street{font-size:1.1rem;font-weight:600;color:#333;margin:0}.address-city{font-size:1rem;color:#666;margin:0}.address-zip{font-size:.9rem;color:#888;margin:0}.no-addresses{text-align:center;padding:60px 20px;color:#999}.no-addresses svg{width:80px;height:80px;color:#ddd;margin-bottom:15px}.no-addresses p{font-size:1.1rem;margin:0 0 20px}.add-first-address-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 32px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #667eea4d}.add-first-address-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.address-form-container{margin-bottom:30px;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.address-form{background:#fff;border:2px solid #667eea;border-radius:16px;padding:30px;box-shadow:0 4px 12px #667eea1a}.address-form h3{margin:0 0 25px;color:#333;font-size:1.4rem}.form-group input[type=text]{padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s ease}.form-group input[type=text]:focus{outline:none;border-color:#667eea}.checkbox-group{margin:10px 0}.checkbox-group label{display:flex;align-items:center;gap:10px;font-size:.95rem;color:#555;cursor:pointer}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer}.form-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:25px}.btn-cancel,.btn-submit{padding:12px 32px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-cancel{background:#f5f5f5;color:#666}.btn-cancel:hover{background:#e0e0e0}.btn-submit{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.btn-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-submit:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.profile-container{padding:20px 10px}.profile-header{padding:40px 20px}.profile-name{font-size:1.5rem}.profile-content{padding:30px 20px}.info-grid,.addresses-grid{grid-template-columns:1fr}.section-title{font-size:1.3rem}}.orders-container{max-width:100vw;margin:0 auto;padding:40px 20px;height:91vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.orders-header{margin-bottom:30px}.orders-header h1{font-size:2.5rem;color:#333;margin:0 0 10px}.orders-count{font-size:1rem;color:#666;margin:0}.error-message{color:#f44336;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.no-orders{text-align:center;padding:80px 20px;background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000001a}.no-orders svg{width:100px;height:100px;color:#ddd;margin-bottom:20px}.no-orders h2{font-size:1.8rem;color:#333;margin:0 0 10px}.no-orders p{font-size:1.1rem;color:#666;margin:0 0 30px}.shop-now-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 40px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.shop-now-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.orders-list{display:flex;flex-direction:column;gap:20px}.order-card{background:#fff;border-radius:16px;padding:25px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease;border:2px solid transparent}.order-card:hover{border-color:#667eea;box-shadow:0 8px 24px #667eea26;transform:translateY(-2px)}.order-header-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.order-info{display:flex;flex-direction:column;gap:5px}.order-id{font-size:1.1rem;font-weight:700;color:#333}.order-date{font-size:.9rem;color:#666}.order-status{padding:8px 20px;border-radius:20px;color:#fff;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.order-items-section{margin-bottom:20px}.order-items-section h3{font-size:1rem;color:#333;margin:0 0 12px;font-weight:600}.order-items-summary{display:flex;flex-direction:column;gap:8px}.order-item-summary{display:flex;justify-content:space-between;padding:10px;background:#01080e;border-radius:8px;font-size:.9rem}.more-items{color:#667eea;font-weight:600;font-size:.9rem;margin-top:5px;display:inline-block}.order-address-section{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.order-address-section h3{font-size:.95rem;color:#333;margin:0 0 10px;font-weight:600}.order-address-section p{font-size:.9rem;color:#666;margin:3px 0;line-height:1.5}.order-footer-section{display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:2px solid #f0f0f0;flex-wrap:wrap;gap:15px}.order-total{display:flex;flex-direction:column;gap:5px}.order-total span:first-child{font-size:.9rem;color:#666}.total-amount{font-size:1.5rem;font-weight:700;color:#667eea}.order-actions{display:flex;gap:12px}.view-details-btn,.cancel-order-btn{padding:10px 24px;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.view-details-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.view-details-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.cancel-order-btn{background:#fff;color:#f44336;border:2px solid #f44336}.cancel-order-btn:hover:not(:disabled){background:#f44336;color:#fff}.cancel-order-btn:disabled{opacity:.6;cursor:not-allowed}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:40px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.pagination-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:10px 24px;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.pagination-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.page-info{font-size:1rem;color:#333;font-weight:600}@media(max-width:768px){.orders-container{padding:20px 10px}.orders-header h1{font-size:2rem}.order-card{padding:20px}.order-header-section{flex-direction:column;align-items:flex-start;gap:10px}.order-footer-section{flex-direction:column;align-items:stretch}.order-actions{flex-direction:column}.view-details-btn,.cancel-order-btn{width:100%}.pagination{flex-wrap:wrap}}.orders-container{background:linear-gradient(135deg,var(--bg-primary) 0%,#1a2332 100%)}.auth-required{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:40vh;text-align:center;padding:2rem;background:var(--bg-secondary, #1e293b);border-radius:16px;margin:2rem auto;max-width:500px;box-shadow:0 20px 60px #0000004d;border:1px solid var(--border, #475569)}.auth-required h2{font-size:1.75rem;margin-bottom:.5rem;color:var(--text-primary, #f1f5f9);font-weight:700}.auth-required p{font-size:1rem;color:var(--text-secondary, #cbd5e1);margin-bottom:2rem}.auth-buttons{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.auth-btn{padding:.875rem 2rem;border-radius:8px;font-size:1rem;font-weight:600;text-decoration:none;transition:all .2s ease;cursor:pointer;display:inline-block}.login-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 4px 12px #3b82f633}.login-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.register-btn{background:var(--bg-card, #334155);color:var(--text-primary, #f1f5f9);border:1px solid var(--border, #475569)}.register-btn:hover{background:var(--bg-primary, #0f172a);transform:translateY(-2px)}.empty-cart,.empty-orders{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;text-align:center;padding:2rem}.continue-shopping-btn{margin-top:1.5rem;padding:.875rem 2rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;text-decoration:none;cursor:pointer;transition:all .2s ease;display:inline-block;box-shadow:0 4px 12px #3b82f633}.continue-shopping-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}@media(max-width:640px){.auth-required{margin:1rem;padding:1.5rem}.auth-buttons{flex-direction:column;width:100%}.auth-btn{width:100%}}.orders-container .cart-container{max-width:1200px;margin:0 auto;padding:40px 20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.empty-orders{text-align:center;padding:60px 20px;font-size:1.2rem;color:#666}.qty-btn,.quantity-btn,.increment-btn,.decrement-btn{color:#000;font-weight:700;border-color:#000}.qty-btn:hover,.quantity-btn:hover{background:#000;color:#fff}.order-detail-container{max-width:900px;margin:0 auto;padding:40px 20px;min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.back-btn{background:#fff;border:2px solid #e0e0e0;padding:10px 20px;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;margin-bottom:20px;transition:all .3s ease;color:#333}.back-btn:hover{border-color:#667eea;color:#667eea}.loading-spinner,.error-message{text-align:center;padding:60px 20px;font-size:1.2rem;color:#666}.error-message{color:#f44336;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px}.order-detail-wrapper{background:#fff;border-radius:16px;padding:30px;box-shadow:0 2px 8px #0000001a}.detail-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;padding-bottom:20px;border-bottom:3px solid #f0f0f0}.header-info h1{font-size:2rem;margin:0 0 10px;color:#333}.order-id{font-size:.95rem;color:#666;margin:5px 0}.order-date{font-size:.9rem;color:#999;margin:5px 0}.status-badge{padding:10px 24px;border-radius:20px;color:#fff;font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.detail-section{margin-bottom:30px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.detail-section h2{font-size:1.4rem;color:#333;margin:0 0 20px;font-weight:600}.edit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:8px 20px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease}.edit-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.items-list{display:flex;flex-direction:column;gap:15px}.detail-item{background:#f8f9fa;border-radius:12px;padding:20px;border-left:4px solid #667eea}.item-info{display:flex;justify-content:space-between;padding:8px 0;font-size:.95rem}.item-label{color:#666;font-weight:600}.item-value{color:#333;font-weight:500}.address-display{background:#f8f9fa;padding:20px;border-radius:12px;border-left:4px solid #667eea}.address-display p{margin:8px 0;color:#333;font-size:.95rem;line-height:1.6}.address-form{background:#f8f9fa;padding:25px;border-radius:12px;border:2px solid #667eea}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:.9rem;font-weight:600;color:#555}.form-group input{padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s ease}.form-group input:focus{outline:none;border-color:#667eea}.form-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:20px}.cancel-btn,.submit-btn{padding:12px 28px;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.cancel-btn{background:#fff;color:#666;border:2px solid #e0e0e0}.cancel-btn:hover{border-color:#999}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.summary-section{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:25px;border-radius:12px}.summary-section h2{color:#fff;margin-bottom:20px}.summary-row{display:flex;justify-content:space-between;padding:10px 0;font-size:1rem;border-bottom:1px solid rgba(255,255,255,.2);color:#f8f9fa}.total-row{border-bottom:none;border-top:2px solid rgba(255,255,255,.4);margin-top:10px;padding-top:15px;font-size:1.3rem;font-weight:700}.detail-actions{display:flex;justify-content:center;gap:10px;margin-top:30px}.cancel-order-btn{background:#fff;color:#f44336;border:2px solid #f44336;padding:14px 40px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.cancel-order-btn:hover{background:#f44336;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #f4433666}.pay-order-btn{background:#36f45c;color:#f6fdf8;border:2px solid #36f46c;padding:14px 40px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.cancel-order-btn:hover{background:#36f45c;transform:translateY(-2px);box-shadow:0 4px 12px #36f48266}@media(max-width:768px){.order-detail-container{padding:20px 10px}.order-detail-wrapper{padding:20px}.detail-header{flex-direction:column;gap:15px}.header-info h1{font-size:1.5rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.cancel-btn,.submit-btn{width:100%}}.payment-wrapper{min-height:100vh;background:linear-gradient(135deg,#eff6ff,#e0e7ff);display:flex;align-items:center;justify-content:center}.payment-card{background:#fff;width:380px;padding:30px;border-radius:14px;box-shadow:0 10px 25px #0000001a;text-align:center}.icon-wrapper{background:#dbeafe;width:60px;height:60px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;color:#2563eb}h2{margin:0;font-size:22px;font-weight:700}.subtitle{color:#6b7280;margin-bottom:20px}input{width:100%;padding:12px;margin-bottom:14px;border-radius:8px;border:1px solid #d1d5db;outline:none}input:focus{border-color:#2563eb}button{width:100%;padding:12px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}button:disabled{background:#9ca3af;cursor:not-allowed}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.status{margin-top:20px;padding:12px;border-radius:8px;display:flex;gap:10px;align-items:flex-start}.status.success{background:#ecfdf5;color:#065f46}.status.error{background:#fef2f2;color:#991b1b}.status small{display:block;margin-top:4px;font-size:12px}:root{--sp-bg-primary: #0f172a;--sp-bg-secondary: #1e293b;--sp-bg-card: #334155;--sp-text-primary: #f1f5f9;--sp-text-secondary: #cbd5e1;--sp-text-muted: #94a3b8;--sp-accent: #3b82f6;--sp-accent-hover: #2563eb;--sp-accent-light: #60a5fa;--sp-border: #475569;--sp-error: #ef4444;--sp-success: #10b981;--sp-warning: #f59e0b;--sp-shadow: rgba(0, 0, 0, .3);--sp-shadow-lg: 0 20px 60px var(--sp-shadow);--sp-shadow-md: 0 10px 40px var(--sp-shadow);--sp-transition: all .3s ease}*{box-sizing:border-box}.sell-products-container{min-height:100vh;background:linear-gradient(135deg,var(--sp-bg-primary) 0%,#1a2332 100%);padding:2rem;color:var(--sp-text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.sell-products-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.sell-products-header .header-content h1{font-size:2rem;font-weight:700;margin:0 0 .5rem;background:linear-gradient(135deg,var(--sp-accent-light) 0%,var(--sp-accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sell-products-header .header-subtitle{font-size:1rem;color:var(--sp-text-muted);margin:0}.create-product-btn{background:linear-gradient(135deg,var(--sp-accent) 0%,var(--sp-accent-hover) 100%);color:#fff;border:none;padding:.875rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:var(--sp-transition);box-shadow:0 4px 12px #3b82f633}.create-product-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.create-product-btn:active{transform:translateY(0)}.create-product-btn svg{width:20px;height:20px}.sell-products-container .access-denied{background:var(--sp-bg-secondary);border-radius:16px;padding:60px 40px;text-align:center;box-shadow:var(--sp-shadow-md);border:1px solid var(--sp-border);max-width:500px;margin:100px auto}.sell-products-container .access-denied-icon{width:80px;height:80px;margin:0 auto 24px;color:var(--sp-error)}.sell-products-container .access-denied-icon svg{width:100%;height:100%}.sell-products-container .access-denied h2{font-size:24px;font-weight:600;margin:0 0 12px;color:var(--sp-text-primary)}.sell-products-container .access-denied p{font-size:16px;color:var(--sp-text-secondary);margin:0 0 8px}.sell-products-container .access-denied-hint{font-size:14px;color:var(--sp-text-muted)}.sell-products-container .loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px}.sell-products-container .loading-spinner{width:50px;height:50px;border:4px solid var(--sp-bg-card);border-top-color:var(--sp-accent);border-radius:50%;animation:sp-spin 1s linear infinite}@keyframes sp-spin{to{transform:rotate(360deg)}}.sell-products-container .loading-container p{font-size:16px;color:var(--sp-text-secondary)}.sell-products-container .error-banner{background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:8px;padding:1rem;margin-bottom:2rem;display:flex;align-items:center;gap:.75rem;color:var(--sp-error)}.sell-products-container .error-banner svg{width:20px;height:20px;flex-shrink:0}.sell-products-container .empty-state{background:var(--sp-bg-secondary);border-radius:16px;padding:60px 40px;text-align:center;box-shadow:var(--sp-shadow-md);border:1px solid var(--sp-border);max-width:500px;margin:0 auto}.sell-products-container .empty-state-icon{width:80px;height:80px;margin:0 auto 24px;color:var(--sp-text-muted)}.sell-products-container .empty-state-icon svg{width:100%;height:100%}.sell-products-container .empty-state h3{font-size:20px;font-weight:600;margin:0 0 12px;color:var(--sp-text-primary)}.sell-products-container .empty-state p{font-size:16px;color:var(--sp-text-secondary);margin:0 0 24px}.empty-state-btn{background:linear-gradient(135deg,var(--sp-accent) 0%,var(--sp-accent-hover) 100%);color:#fff;border:none;padding:.875rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:var(--sp-transition);box-shadow:0 4px 12px #3b82f633}.empty-state-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.empty-state-btn:active{transform:translateY(0)}.sell-products-container .products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.sell-products-container .product-card{background:var(--sp-bg-secondary);border:1px solid var(--sp-border);border-radius:12px;overflow:hidden;transition:var(--sp-transition);display:flex;flex-direction:column}.sell-products-container .product-card:hover{transform:translateY(-4px);box-shadow:var(--sp-shadow-md);border-color:var(--sp-accent)}.sell-products-container .product-image-container{width:100%;height:220px;overflow:hidden;background:var(--sp-bg-card);display:flex;align-items:center;justify-content:center}.sell-products-container .product-image-container img{width:100%;height:100%;object-fit:contain;background-color:#0f172a;transition:var(--sp-transition)}.sell-products-container .product-card:hover .product-image-container img{transform:scale(1.05)}.sell-products-container .product-image-placeholder{width:80px;height:80px;color:var(--sp-text-muted)}.sell-products-container .product-image-placeholder svg{width:100%;height:100%}.sell-products-container .product-details{padding:1.25rem;flex:1;display:flex;flex-direction:column;gap:.5rem}.sell-products-container .product-title{font-size:1.125rem;font-weight:600;margin:0;color:var(--sp-text-primary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sell-products-container .product-description{font-size:.875rem;color:var(--sp-text-secondary);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}.sell-products-container .product-price{font-size:1.5rem;font-weight:700;color:var(--sp-accent-light);margin-top:.5rem}.product-stock{margin-top:.75rem;font-size:.875rem;font-weight:500}.product-stock .in-stock{color:#16a34a;background-color:#dcfce7;padding:.25rem .75rem;border-radius:12px;display:inline-block}.product-stock .out-of-stock{color:#dc2626;background-color:#fee2e2;padding:.25rem .75rem;border-radius:12px;display:inline-block}.sell-products-container .product-actions{display:flex;gap:.5rem;padding:1rem 1.25rem;border-top:1px solid var(--sp-border);background:var(--sp-bg-card)}.sell-products-container .action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:var(--sp-transition)}.sell-products-container .action-btn svg{width:16px;height:16px}.sell-products-container .edit-btn{background:#3b82f61a;color:var(--sp-accent-light);border:1px solid rgba(59,130,246,.2)}.sell-products-container .edit-btn:hover{background:#3b82f633;transform:translateY(-2px)}.sell-products-container .delete-btn{background:#ef44441a;color:var(--sp-error);border:1px solid rgba(239,68,68,.2)}.sell-products-container .delete-btn:hover{background:#ef444433;transform:translateY(-2px)}.sell-products-container .modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:sp-fadeIn .3s ease}@keyframes sp-fadeIn{0%{opacity:0}to{opacity:1}}.sell-products-container .modal-content{background:var(--sp-bg-secondary);border:1px solid var(--sp-border);border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:var(--sp-shadow-lg);animation:sp-slideUp .3s ease}@keyframes sp-slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.sell-products-container .modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid var(--sp-border)}.sell-products-container .modal-header h2{font-size:1.5rem;font-weight:700;margin:0;color:var(--sp-text-primary)}.sell-products-container .modal-close{background:transparent;border:none;color:var(--sp-text-muted);cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:var(--sp-transition)}.sell-products-container .modal-close:hover{background:#ef44441a;color:var(--sp-error)}.sell-products-container .modal-close svg{width:24px;height:24px}.sell-products-container .product-form{padding:2rem;display:flex;flex-direction:column;gap:1.25rem}.sell-products-container .form-group{display:flex;flex-direction:column;gap:.5rem}.sell-products-container .form-group label{font-size:.875rem;font-weight:600;color:var(--sp-text-secondary)}.sell-products-container .form-group input,.sell-products-container .form-group textarea,.sell-products-container .form-group select{background:var(--sp-bg-card);border:1px solid var(--sp-border);color:var(--sp-text-primary);padding:.875rem 1rem;border-radius:8px;font-size:.95rem;font-family:inherit;transition:var(--sp-transition);outline:none}.sell-products-container .form-group input:focus,.sell-products-container .form-group textarea:focus,.sell-products-container .form-group select:focus{border-color:var(--sp-accent);box-shadow:0 0 0 3px #3b82f61a}.sell-products-container .form-group input::placeholder,.sell-products-container .form-group textarea::placeholder{color:var(--sp-text-muted)}.sell-products-container .form-group textarea{resize:vertical;min-height:100px}.sell-products-container .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.sell-products-container .file-input{display:none}.sell-products-container .file-input-label{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem;border:2px dashed var(--sp-border);border-radius:8px;cursor:pointer;transition:var(--sp-transition);color:var(--sp-text-secondary);background:var(--sp-bg-card)}.sell-products-container .file-input-label:hover{border-color:var(--sp-accent);background:#3b82f60d;color:var(--sp-accent-light)}.sell-products-container .file-input-label svg{width:24px;height:24px}.sell-products-container .image-preview-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem}.sell-products-container .image-preview{aspect-ratio:1;border-radius:8px;overflow:hidden;border:1px solid var(--sp-border)}.sell-products-container .image-preview img{width:100%;height:100%;object-fit:cover}.sell-products-container .modal-actions{display:flex;gap:.75rem;padding-top:1rem;border-top:1px solid var(--sp-border)}.sell-products-container .cancel-btn,.sell-products-container .submit-btn{flex:1;padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:var(--sp-transition)}.sell-products-container .cancel-btn{background:var(--sp-bg-card);color:var(--sp-text-secondary);border:1px solid var(--sp-border)}.sell-products-container .cancel-btn:hover:not(:disabled){background:var(--sp-border);color:var(--sp-text-primary)}.sell-products-container .submit-btn{background:linear-gradient(135deg,var(--sp-accent) 0%,var(--sp-accent-hover) 100%);color:#fff;box-shadow:0 4px 12px #3b82f633}.sell-products-container .submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #3b82f64d}.sell-products-container .submit-btn:active:not(:disabled){transform:translateY(0)}.sell-products-container .cancel-btn:disabled,.sell-products-container .submit-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}@media(min-width:1440px){.sell-products-container{padding:3rem}.sell-products-container .products-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem}.sell-products-header .header-content h1{font-size:2.5rem}.sell-products-container .product-image-container{height:240px}}@media(min-width:1024px)and (max-width:1439px){.sell-products-container{padding:2.5rem}.sell-products-container .products-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.75rem}}@media(min-width:768px)and (max-width:1023px){.sell-products-container{padding:1.5rem}.sell-products-header .header-content h1{font-size:1.75rem}.sell-products-container .products-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.sell-products-container .product-image-container{height:200px}.sell-products-container .modal-content{max-width:90%}}@media(min-width:600px)and (max-width:767px){.sell-products-container{padding:1.25rem}.sell-products-header{flex-direction:column;align-items:flex-start;gap:1.25rem}.sell-products-header .header-content h1{font-size:1.5rem}.create-product-btn{width:100%;justify-content:center}.sell-products-container .products-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}.sell-products-container .product-image-container{height:180px}.sell-products-container .modal-content{max-width:95%;max-height:92vh}.sell-products-container .modal-header,.sell-products-container .product-form{padding:1.5rem}.sell-products-container .form-row{grid-template-columns:1fr;gap:1rem}}@media(min-width:400px)and (max-width:599px){.sell-products-container{padding:1rem}.sell-products-header{flex-direction:column;align-items:flex-start;gap:1rem}.sell-products-header .header-content h1{font-size:1.35rem}.sell-products-header .header-subtitle{font-size:.9rem}.create-product-btn{width:100%;justify-content:center;padding:.75rem 1.25rem;font-size:.95rem}.create-product-btn svg{width:18px;height:18px}.sell-products-container .products-grid{grid-template-columns:1fr;gap:1rem}.sell-products-container .product-image-container{height:200px}.sell-products-container .product-details{padding:1rem}.sell-products-container .product-title{font-size:1rem}.sell-products-container .product-description{font-size:.813rem}.sell-products-container .product-price{font-size:1.35rem}.sell-products-container .product-actions{padding:.875rem 1rem;gap:.625rem}.sell-products-container .action-btn{padding:.625rem .875rem;font-size:.813rem}.sell-products-container .modal-content{max-width:100%;max-height:95vh;border-radius:12px}.sell-products-container .modal-header{padding:1.25rem}.sell-products-container .modal-header h2{font-size:1.25rem}.sell-products-container .product-form{padding:1.25rem;gap:1rem}.sell-products-container .form-row{grid-template-columns:1fr}.sell-products-container .modal-actions{flex-direction:column;gap:.625rem}.sell-products-container .cancel-btn,.sell-products-container .submit-btn{width:100%;padding:.75rem 1.25rem;font-size:.95rem}.sell-products-container .access-denied,.sell-products-container .empty-state{padding:40px 24px;margin:50px auto}.sell-products-container .access-denied-icon,.sell-products-container .empty-state-icon{width:60px;height:60px}.sell-products-container .access-denied h2,.sell-products-container .empty-state h3{font-size:18px}}@media(max-width:399px){.sell-products-container{padding:.75rem}.sell-products-header{flex-direction:column;align-items:flex-start;gap:.875rem;margin-bottom:1.5rem}.sell-products-header .header-content h1{font-size:1.25rem}.sell-products-header .header-subtitle{font-size:.85rem}.create-product-btn{width:100%;justify-content:center;padding:.7rem 1rem;font-size:.9rem}.create-product-btn svg{width:16px;height:16px}.sell-products-container .products-grid{grid-template-columns:1fr;gap:.875rem}.sell-products-container .product-card{border-radius:10px}.sell-products-container .product-image-container{height:180px}.sell-products-container .product-details{padding:.875rem}.sell-products-container .product-title{font-size:.95rem}.sell-products-container .product-description{font-size:.75rem;-webkit-line-clamp:2}.sell-products-container .product-price{font-size:1.25rem}.product-stock{margin-top:.5rem;font-size:.75rem}.product-stock .in-stock,.product-stock .out-of-stock{padding:.2rem .625rem}.sell-products-container .product-actions{flex-direction:column;padding:.75rem .875rem;gap:.5rem}.sell-products-container .action-btn{width:100%;padding:.625rem;font-size:.75rem}.sell-products-container .action-btn svg{width:14px;height:14px}.sell-products-container .modal-overlay{padding:0%}}.notfound-container{height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center}.notfound-container h1{font-size:6rem}.notfound-container a{margin-top:20px;text-decoration:none;color:#007bff}
