:root{--primary: #6d28d9;--primary-dark: #5b21b6;--primary-light: #ede9fe;--accent: #f59e0b;--success: #16a34a;--danger: #dc2626;--ink: #1f2937;--muted: #6b7280;--border: #e5e7eb;--bg: #f9fafb;--white: #ffffff;--radius: 16px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);--shadow: 0 4px 16px rgba(0, 0, 0, .08);--shadow-lg: 0 12px 32px rgba(0, 0, 0, .12)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Plus Jakarta Sans,Mukta,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}html[lang=ne] body,html[lang=ne] button,html[lang=ne] input,html[lang=ne] select,html[lang=ne] textarea{font-family:Mukta,Plus Jakarta Sans,system-ui,sans-serif;letter-spacing:0}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer;border:none;background:none}input,select,textarea{font-family:inherit;font-size:15px;width:100%;padding:11px 14px;border:1px solid var(--border);border-radius:10px;background:var(--white);color:var(--ink);transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #6d28d91f}label{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:6px;display:block}img{max-width:100%;display:block}.container{max-width:1200px;margin:0 auto;padding:0 24px}.container-wide{max-width:none}.page{min-height:calc(100vh - 150px);padding:40px 0 60px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:12px;font-weight:600;font-size:15px;transition:all .15s;white-space:nowrap}.btn-primary{background:var(--primary);color:var(--white)}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}.btn-secondary{background:var(--primary-light);color:var(--primary-dark)}.btn-secondary:hover{background:#ddd6fe}.btn-outline{background:transparent;border:1.5px solid var(--border);color:var(--ink)}.btn-outline:hover{border-color:var(--primary);color:var(--primary)}.btn-danger{background:#fee2e2;color:var(--danger)}.btn-danger:hover{background:#fecaca}.btn-success{background:var(--success);color:var(--white)}.btn-accent{background:var(--accent);color:var(--white)}.btn-lg{padding:14px 30px;font-size:16px}.btn-block{width:100%}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-sm{padding:7px 14px;font-size:13px;border-radius:9px}.header{position:sticky;top:0;z-index:100;background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;gap:24px;height:68px}.logo{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;color:var(--primary);letter-spacing:-.5px}.logo span{color:var(--accent)}.brand-logo{display:inline-flex;align-items:center;gap:8px;font-weight:800;letter-spacing:-.5px}.brand-logo-img{height:34px;width:auto;max-width:160px;object-fit:contain}.brand-logo-icon{font-size:24px;line-height:1}.brand-logo-name{color:var(--primary)}.brand-logo-inverted .brand-logo-name{color:var(--white)}.brand-logo-inverted .brand-logo-icon{filter:none}.nav{display:flex;align-items:center;gap:6px;flex:1}.nav a{padding:8px 14px;border-radius:10px;font-size:15px;font-weight:500;color:var(--muted);transition:all .15s}.nav a:hover,.nav a.active{color:var(--primary);background:var(--primary-light)}.header-actions{display:flex;align-items:center;gap:12px}.lang-switch{display:flex;align-items:center;border:1px solid var(--border);border-radius:100px;overflow:hidden;background:var(--bg)}.lang-switch button{border:none;background:none;padding:8px 12px;font-size:12px;font-weight:700;color:var(--muted);cursor:pointer;transition:all .15s}.lang-switch button.active{background:var(--primary);color:var(--white)}.lang-switch button:hover:not(.active){color:var(--primary-dark)}.icon-btn{position:relative;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--bg);border:1px solid var(--border);transition:all .15s}.icon-btn:hover{background:var(--primary-light);border-color:var(--primary)}.icon-btn .badge{position:absolute;top:-6px;right:-6px;background:var(--accent);color:var(--white);font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 5px}.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#a855f7);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}.hero{background:linear-gradient(120deg,#5b21b6,#7c3aed 45%,#a855f7);color:var(--white);border-radius:24px;padding:60px 48px;margin:28px 0 48px;position:relative;overflow:hidden}.hero h1{font-size:42px;font-weight:800;letter-spacing:-1px;max-width:560px;line-height:1.15;margin-bottom:14px}.hero p{font-size:17px;opacity:.92;max-width:520px;margin-bottom:26px}.hero .floating-icon{position:absolute;right:40px;top:40px;font-size:150px;opacity:.2;transform:rotate(-12deg)}.hero-badge{display:inline-flex;gap:8px;align-items:center;background:#ffffff2e;padding:7px 16px;border-radius:100px;font-size:13px;font-weight:600;margin-bottom:20px}.slide-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:#ffffff38;color:#fff;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s;z-index:5}.slide-arrow:hover{background:#fff6}.slide-arrow.left{left:14px}.slide-arrow.right{right:14px}.slide-dots{position:absolute;bottom:16px;left:50%;transform:translate(-50%);display:flex;gap:8px;z-index:5}.slide-dots .dot{width:10px;height:10px;border-radius:50%;background:#ffffff73;transition:all .2s}.slide-dots .dot.active{width:26px;border-radius:6px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-title h2{font-size:24px;font-weight:800;letter-spacing:-.5px}.cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.cat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:18px 12px;text-align:center;transition:all .2s}.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--primary)}.cat-card .cat-icon{font-size:32px;margin-bottom:8px}.cat-card h3{font-size:14px;font-weight:700;margin-bottom:2px}.cat-card p{font-size:12px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .2s;display:flex;flex-direction:column}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:transparent}.product-card .p-image{height:170px;display:flex;align-items:center;justify-content:center;font-size:60px;position:relative}.p-image .discount-tag{position:absolute;top:12px;left:12px;background:var(--danger);color:var(--white);font-size:12px;font-weight:700;padding:4px 10px;border-radius:100px}.p-body{padding:16px;flex:1;display:flex;flex-direction:column;gap:6px}.p-body h3{font-size:15px;font-weight:700;line-height:1.35}.p-body .p-cat{font-size:12px;color:var(--muted)}.p-rating{font-size:13px;color:var(--accent);font-weight:600}.reviews-summary{display:flex;gap:28px;align-items:center;flex-wrap:wrap;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:20px;max-width:560px}.price-row{display:flex;align-items:center;gap:8px;margin-top:auto}.price{font-size:18px;font-weight:800;color:var(--primary)}.old-price{font-size:13px;color:var(--muted);text-decoration:line-through}.add-cart{margin-top:12px}.stock-msg{font-size:12px;color:var(--danger)}.toolbar{display:flex;align-items:center;gap:16px;margin-bottom:28px;flex-wrap:wrap}.search-box{flex:1;min-width:240px;position:relative}.search-box svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted)}.search-box input{padding-left:42px}.chip{padding:9px 18px;border-radius:100px;border:1.5px solid var(--border);background:var(--white);font-size:14px;font-weight:600;color:var(--muted);transition:all .15s}.chip:hover{border-color:var(--primary);color:var(--primary)}.chip.active{background:var(--primary);border-color:var(--primary);color:var(--white)}.detail-wrap{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}.detail-image{border-radius:20px;min-height:380px;display:flex;align-items:center;justify-content:center;font-size:160px}.detail-info h1{font-size:30px;font-weight:800;letter-spacing:-.5px;margin-bottom:8px}.detail-info .cat-tag{display:inline-block;background:var(--primary-light);color:var(--primary-dark);font-size:13px;font-weight:700;padding:5px 14px;border-radius:100px;margin-bottom:14px}.detail-price{display:flex;align-items:center;gap:12px;margin:14px 0}.detail-price .price{font-size:34px}.detail-price .old-price{font-size:19px}.detail-desc{color:var(--muted);font-size:15px;margin-bottom:20px}.qty-selector{display:inline-flex;align-items:center;border:1.5px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:20px}.qty-selector button{width:44px;height:44px;font-size:20px;font-weight:700;color:var(--primary)}.qty-selector button:hover{background:var(--primary-light)}.qty-selector span{min-width:44px;text-align:center;font-weight:700;font-size:16px}.detail-actions{display:flex;gap:12px;flex-wrap:wrap}.cart-layout{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start}.cart-item{display:flex;align-items:center;gap:18px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:14px}.cart-item .ci-image{width:80px;height:80px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:36px;flex-shrink:0}.cart-item .ci-info{flex:1}.cart-item .ci-info h4{font-size:15px;font-weight:700}.cart-item .ci-info p{font-size:13px;color:var(--muted)}.summary-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:24px;position:sticky;top:90px}.summary-card h3{font-size:18px;font-weight:800;margin-bottom:18px}.sum-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;color:var(--muted)}.sum-row.total{border-top:1px solid var(--border);margin-top:8px;padding-top:14px;font-size:18px;font-weight:800;color:var(--ink)}.free-ship-note{background:#f0fdf4;color:var(--success);font-size:13px;font-weight:600;border-radius:10px;padding:10px 14px;margin:8px 0 14px}.free-ship-note .progress{height:6px;background:#dcfce7;border-radius:4px;margin-top:8px;overflow:hidden}.free-ship-note .progress span{display:block;height:100%;background:var(--success);border-radius:4px}.auth-wrap{max-width:440px;margin:0 auto}.auth-card{background:var(--white);border:1px solid var(--border);border-radius:20px;padding:36px;box-shadow:var(--shadow)}.auth-card h1{font-size:24px;font-weight:800;margin-bottom:6px}.auth-card .sub{color:var(--muted);font-size:14px;margin-bottom:26px}.form-group{margin-bottom:16px}.error-banner{background:#fef2f2;color:var(--danger);border:1px solid #fecaca;border-radius:10px;padding:12px 16px;font-size:14px;margin-bottom:16px}.success-banner{background:#f0fdf4;color:var(--success);border:1px solid #bbf7d0;border-radius:10px;padding:12px 16px;font-size:14px;margin-bottom:16px}.auth-switch{text-align:center;margin-top:18px;font-size:14px;color:var(--muted)}.auth-switch a{color:var(--primary);font-weight:700}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:20px}.stat-card .stat-label{font-size:13px;color:var(--muted);font-weight:600;margin-bottom:6px}.stat-card .stat-value{font-size:26px;font-weight:800}.stat-card .stat-icon{float:right;font-size:26px;opacity:.7}.admin-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:20px}.table-wrap{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);overflow-x:auto}.table-wrap h3{padding:18px 20px;font-size:16px;font-weight:800;border-bottom:1px solid var(--border)}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;padding:12px 20px;font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);border-bottom:1px solid var(--border);background:var(--bg);white-space:nowrap}td{padding:13px 20px;border-bottom:1px solid var(--border);vertical-align:middle}tr:last-child td{border-bottom:none}tr:hover td{background:#faf9ff}.admin-layout table{font-size:13px}.admin-layout th,.admin-layout td{padding:10px 14px}.badge{display:inline-block;padding:4px 12px;border-radius:100px;font-size:12px;font-weight:700}.badge-pending{background:#fef3c7;color:#b45309}.badge-confirmed{background:#dbeafe;color:#1d4ed8}.badge-shipped{background:#ede9fe;color:#6d28d9}.badge-delivered{background:#dcfce7;color:#15803d}.badge-cancelled{background:#fee2e2;color:#b91c1c}.badge-pay-pending{background:#fef3c7;color:#b45309}.badge-pay-paid{background:#dcfce7;color:#15803d}.badge-pay-refunded{background:#ede9fe;color:#6d28d9}.badge-pay-failed{background:#fee2e2;color:#b91c1c}.badge-low{background:#ffedd5;color:#c2410c}.badge-due-soon{background:#fef3c7;color:#b45309}.badge-overdue{background:#fee2e2;color:#b91c1c}.invoice-sheet{background:var(--white);border:1px solid var(--border);border-radius:20px;padding:40px;max-width:860px;margin:0 auto;box-shadow:var(--shadow)}.invoice-brand{font-size:22px;font-weight:800;color:var(--primary);letter-spacing:-.5px}.invoice-billto{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;background:var(--bg);border-radius:14px;padding:18px 20px;margin:24px 0 18px}.invoice-table{border:1px solid var(--border);border-radius:12px;overflow:hidden}.invoice-table th{background:var(--primary-light);color:var(--primary-dark)}.invoice-table .inv-num{text-align:right}.invoice-total{display:flex;justify-content:space-between;padding:12px 0;border-top:2px solid var(--primary);margin-top:10px;font-size:18px;font-weight:800;color:var(--primary)}.invoice-footer{text-align:center;color:var(--muted);font-size:13px;margin-top:32px;padding-top:18px;border-top:1px dashed var(--border)}@media print{@page{margin:14mm;size:A4}body{background:#fff!important}.no-print{display:none!important}.header,.footer,.page{padding:0!important}.page{min-height:0!important}.invoice-sheet{border:none!important;border-radius:0!important;box-shadow:none!important;padding:0!important;max-width:100%!important}tr:hover td{background:transparent!important}}.admin-layout{display:grid;grid-template-columns:230px 1fr;gap:28px;align-items:start}.admin-layout>div:last-child{min-width:0;max-width:100%}.admin-sidebar{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:14px;position:sticky;top:90px}.admin-sidebar a{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:10px;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:4px;transition:all .15s}.admin-sidebar a:hover,.admin-sidebar a.active{background:var(--primary-light);color:var(--primary-dark)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:200;padding:20px}.modal{background:var(--white);border-radius:20px;padding:28px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto}.modal h2{font-size:20px;font-weight:800;margin-bottom:20px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.switch{position:relative;display:inline-block;width:42px;height:24px}.switch input{opacity:0;width:0;height:0}.switch .slider{position:absolute;cursor:pointer;top:0;right:0;bottom:0;left:0;background:var(--border);border-radius:24px;transition:.2s}.switch .slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px #0003}.switch input:checked+.slider{background:var(--success)}.switch input:checked+.slider:before{transform:translate(18px)}.banner-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:16px;overflow:hidden}.banner-thumb{height:150px;border-bottom:1px solid var(--border)}.banner-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;flex-wrap:wrap}.modal-wide{max-width:960px}.product-picker{position:relative;min-width:170px}.product-picker-input{cursor:text}.product-picker-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--white);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);max-height:260px;overflow-y:auto;z-index:400;padding:4px}.product-picker-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;border-radius:8px;cursor:pointer}.product-picker-item:hover,.product-picker-item.active{background:var(--bg)}.product-picker-item.active{outline:1px solid var(--primary)}.pp-name{font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px;min-width:0}.pp-sku{font-size:11px;color:var(--muted);background:var(--bg);padding:2px 8px;border-radius:100px;white-space:nowrap}.pp-meta{display:flex;gap:12px;align-items:center;flex-shrink:0}.pp-price{font-weight:700;color:var(--primary);font-size:14px;white-space:nowrap}.pp-stock{font-size:12px;color:var(--muted);white-space:nowrap}.product-picker-empty{padding:12px;text-align:center;color:var(--muted);font-size:14px}.pp-create{border-top:1px solid var(--border);margin-top:4px;color:var(--primary);font-weight:700}.pp-create-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--primary);color:var(--white);font-size:13px;flex-shrink:0}.num-wide{min-width:72px;text-align:right;font-variant-numeric:tabular-nums}.num-wide.qty{min-width:64px}.unit-cost-wide{min-width:90px;text-align:right;font-variant-numeric:tabular-nums}.toast-wrap{position:fixed;top:84px;right:24px;z-index:300;display:flex;flex-direction:column;gap:10px}.toast{background:var(--ink);color:var(--white);padding:13px 20px;border-radius:12px;font-size:14px;font-weight:600;box-shadow:var(--shadow-lg);animation:slideIn .25s ease}.toast.success{background:var(--success)}.toast.error{background:var(--danger)}@keyframes slideIn{0%{transform:translate(120%);opacity:0}to{transform:translate(0);opacity:1}}.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.empty-state .big-icon{font-size:64px;margin-bottom:16px}.empty-state h3{font-size:20px;font-weight:800;color:var(--ink);margin-bottom:8px}.footer{background:var(--ink);color:#9ca3af;padding:40px 0;margin-top:40px}.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}.footer h4{color:var(--white);font-size:15px;font-weight:700;margin-bottom:12px}.footer a{display:block;padding:4px 0;font-size:14px}.footer a:hover{color:var(--white)}.footer .footer-logo{font-size:20px;font-weight:800;color:var(--white);margin-bottom:10px}.footer-social{display:flex;gap:10px}.footer-social a{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#ffffff14;border:1px solid rgba(255,255,255,.12);transition:transform .15s ease,background .15s ease}.footer-social a:hover{transform:translateY(-2px);background:#ffffff29}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:32px;padding-top:20px}.footer-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer-bottom p{font-size:13px;color:#9ca3af}.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:1000;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 6px 20px #25d36673;transition:transform .15s ease,box-shadow .15s ease}.whatsapp-float:hover{transform:scale(1.08);box-shadow:0 8px 26px #25d36699}.loading{text-align:center;padding:60px;color:var(--muted)}.spinner{width:36px;height:36px;border:3px solid var(--primary-light);border-top-color:var(--primary);border-radius:50%;margin:0 auto 14px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1024px){.product-grid,.cat-grid{grid-template-columns:repeat(3,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}.cart-layout,.admin-grid{grid-template-columns:1fr}}@media (max-width: 768px){.nav{display:none}.product-grid{grid-template-columns:repeat(2,1fr)}.hero{padding:36px 24px}.hero h1{font-size:30px}.detail-wrap,.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;display:flex;overflow-x:auto}.cart-layout{grid-template-columns:1fr}.summary-card{position:static}.footer-inner{grid-template-columns:1fr 1fr}}
