@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap);:root{--bg:#e9edf5;--bg-alt:#e1e6f0;--surface:#f3f6fb;--surface-hover:#fff;--primary:#5b4ff5;--primary-hover:#4a3ee8;--primary-light:#5b4ff51f;--primary-soft:#5b4ff50f;--text:#161b33;--text-secondary:#525b75;--text-muted:#8891a8;--success:#16a34a;--success-light:#16a34a1f;--danger:#dc2626;--danger-light:#dc26261f;--warning:#f59e0b;--border:#e2e5ef;--radius-sm:12px;--radius-md:16px;--radius-lg:22px;--radius-xl:28px;--shadow-raised:9px 9px 20px #97a0b847,-9px -9px 20px #ffffffe6;--shadow-raised-sm:4px 4px 10px #97a0b83d,-4px -4px 10px #ffffffe0;--shadow-pressed:inset 5px 5px 11px #97a0b838,inset -5px -5px 11px #ffffffdb;--shadow-pressed-sm:inset 3px 3px 7px #97a0b833,inset -3px -3px 7px #ffffffd1;--shadow-card:7px 7px 16px #97a0b83d,-7px -7px 16px #ffffffdb;--shadow-modal:12px 12px 32px #a3aac259,-12px -12px 32px #ffffffe6;--shadow-sticky:0 -6px 20px #a3aac233;--transition:0.2s ease;--gap:20px;--header-h:68px;--cart-bar-h:68px}*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}body{background:#e9edf5;background:var(--bg);color:#161b33;color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;overflow-x:hidden}button,input,select,textarea{font-family:inherit;font-size:inherit}button{background:none;border:none;cursor:pointer}a,button{color:inherit}a{text-decoration:none}img{display:block;max-width:100%}:focus-visible{border-radius:8px;outline:2px solid #5b4ff5;outline:2px solid var(--primary);outline-offset:2px}::-webkit-scrollbar{height:6px;width:6px}::-webkit-scrollbar-track{background:#0000}::-webkit-scrollbar-thumb{background:#8891a8;background:var(--text-muted);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#525b75;background:var(--text-secondary)}.clay{background:#f3f6fb;background:var(--surface);border-radius:16px;border-radius:var(--radius-md);box-shadow:4px 4px 10px #97a0b83d,-4px -4px 10px #ffffffe0;box-shadow:var(--shadow-raised-sm)}.clay-card{border:1px solid #ffffffb8;border-radius:22px;border-radius:var(--radius-lg);box-shadow:7px 7px 16px #97a0b83d,-7px -7px 16px #ffffffdb;box-shadow:var(--shadow-card)}.clay-btn,.clay-card{background:#f3f6fb;background:var(--surface)}.clay-btn{-webkit-tap-highlight-color:transparent;align-items:center;border:1px solid #ffffffb8;border-radius:16px;border-radius:var(--radius-md);box-shadow:4px 4px 10px #97a0b83d,-4px -4px 10px #ffffffe0;box-shadow:var(--shadow-raised-sm);display:inline-flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:12px 24px;transition:all .2s ease;transition:all var(--transition);-webkit-user-select:none;user-select:none}.clay-btn:hover{box-shadow:9px 9px 20px #97a0b847,-9px -9px 20px #ffffffe6;box-shadow:var(--shadow-raised);transform:translateY(-1px)}.clay-btn:active{box-shadow:inset 3px 3px 7px #97a0b833,inset -3px -3px 7px #ffffffd1;box-shadow:var(--shadow-pressed-sm);transform:translateY(0)}.clay-btn-primary{background:#5b4ff5;background:var(--primary);box-shadow:6px 6px 14px #5b4ff54d,-4px -4px 12px #fff9;color:#fff}.clay-btn-primary:hover{background:#4a3ee8;background:var(--primary-hover);box-shadow:8px 8px 18px #5b4ff559,-4px -4px 12px #ffffffb3;transform:translateY(-1px)}.clay-btn-primary:active{box-shadow:inset 4px 4px 10px #00000026,inset -2px -2px 6px #fff3;transform:translateY(0)}.clay-btn-primary:disabled{box-shadow:6px 6px 14px #5b4ff526,-4px -4px 12px #fff6;cursor:not-allowed;opacity:.5;transform:none}.clay-btn-danger{background:#dc2626;background:var(--danger);box-shadow:6px 6px 14px #dc262640,-4px -4px 12px #ffffff80;color:#fff}.clay-btn-danger:hover{box-shadow:8px 8px 18px #dc26264d,-4px -4px 12px #fff9;transform:translateY(-1px)}.clay-btn-sm{font-size:13px;padding:8px 16px}.clay-input{background:#e9edf5;background:var(--bg);border:1px solid #ffffff94;border-radius:16px;border-radius:var(--radius-md);box-shadow:inset 3px 3px 7px #97a0b833,inset -3px -3px 7px #ffffffd1;box-shadow:var(--shadow-pressed-sm);color:#161b33;color:var(--text);font-size:14px;padding:12px 16px;transition:all .2s ease;transition:all var(--transition);width:100%}.clay-input:focus{background:#f3f6fb;background:var(--surface);box-shadow:4px 4px 10px #97a0b83d,-4px -4px 10px #ffffffe0,0 0 0 2px #5b4ff5;box-shadow:var(--shadow-raised-sm),0 0 0 2px var(--primary);outline:none}.clay-input::placeholder{color:#8891a8;color:var(--text-muted)}.clay-toggle{align-items:center;cursor:pointer;display:inline-flex;gap:10px;position:relative;-webkit-user-select:none;user-select:none}.clay-toggle input{height:0;opacity:0;position:absolute;width:0}.clay-toggle .track{background:#e9edf5;background:var(--bg);border-radius:13px;box-shadow:inset 3px 3px 7px #97a0b833,inset -3px -3px 7px #ffffffd1;box-shadow:var(--shadow-pressed-sm);flex-shrink:0;height:26px;position:relative;width:44px}.clay-toggle .thumb,.clay-toggle .track{transition:all .2s ease;transition:all var(--transition)}.clay-toggle .thumb{background:#f3f6fb;background:var(--surface);border-radius:50%;box-shadow:4px 4px 10px #97a0b83d,-4px -4px 10px #ffffffe0;box-shadow:var(--shadow-raised-sm);height:20px;left:3px;position:absolute;top:3px;width:20px}.clay-toggle input:checked+.track{background:#5b4ff5;background:var(--primary);box-shadow:4px 4px 8px #5b4ff540,-2px -2px 6px #fff6}.clay-toggle input:checked+.track .thumb{background:#fff;left:21px}.input-error{border:2px solid #dc2626!important;border:2px solid var(--danger)!important;box-shadow:inset 4px 4px 10px #dc26261a,inset -4px -4px 10px #fffc!important}.error-text{color:#dc2626;color:var(--danger);font-size:12px;font-weight:500;margin-top:4px}.empty-state{align-items:center;color:#8891a8;color:var(--text-muted);display:flex;flex-direction:column;justify-content:center;padding:48px 20px;text-align:center}.empty-state svg{margin-bottom:16px;opacity:.5}.empty-state h3{color:#525b75;color:var(--text-secondary);font-size:16px;margin-bottom:4px}.empty-state p{font-size:13px}.customer-autocomplete{min-width:0;position:relative}.customer-autocomplete>input{width:100%}.customer-suggestions{background:#fff;border:1px solid #dfe4ec;border-radius:7px;box-shadow:0 8px 20px #262e4424;left:0;max-height:238px;overflow-y:auto;padding:5px;position:absolute;top:calc(100% + 5px);width:max(100%,230px);z-index:1200}.customer-suggestion-title{align-items:center;color:#8a94a7;display:flex;font-size:9px;font-weight:800;gap:5px;padding:5px 7px 7px;text-transform:uppercase}.customer-suggestion{grid-gap:7px;align-items:center;border-radius:5px;color:#526078;display:grid;gap:7px;grid-template-columns:26px minmax(0,1fr) auto;min-height:40px;padding:6px 7px;text-align:left;width:100%}.customer-suggestion.active,.customer-suggestion:hover{background:#f0efff;color:#5548e8}.customer-suggestion>span{background:#f1f3f7;border-radius:5px;color:#6d7890;display:grid;height:26px;place-items:center;width:26px}.customer-suggestion strong{font-size:11px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-suggestion small{color:#7c879b;font-size:10px;font-weight:600}.modal-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#161b3366;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width:767px){:root{--gap:12px;--radius-lg:18px;--radius-md:14px}.modal-overlay{align-items:flex-end;padding:0}}.checkout-page{min-height:100vh;padding-bottom:90px}.checkout-header{align-items:center;box-shadow:var(--shadow-raised-sm);display:flex;gap:12px;padding:12px 16px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.checkout-back{border-radius:var(--radius-sm);padding:8px}.checkout-header-title{align-items:center;display:flex;flex:1 1;gap:8px}.checkout-header-title h2{font-size:16px;font-weight:700}.checkout-count{align-items:center;background:#ecfdf3;border:1px solid #9edbb4;border-radius:7px;color:#137a3b;display:inline-flex;gap:6px;height:30px;justify-content:center;min-width:74px;padding:0 10px;white-space:nowrap}.checkout-count strong{font-size:14px;font-weight:800;line-height:1}.checkout-count small{font-size:9px;font-weight:700;line-height:1;text-transform:uppercase}.checkout-content{display:flex;flex-direction:column;gap:16px;margin:0 auto;max-width:720px;padding:16px}.checkout-empty{padding:60px 20px}.checkout-section{border-radius:var(--radius-lg);padding:20px}.section-title{align-items:center;display:flex;font-size:15px;font-weight:700;gap:8px;margin-bottom:14px}.required{color:var(--danger)}.customer-form{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr;position:relative;z-index:20}.form-field{display:flex;flex-direction:column;gap:4px}.field-label{align-items:center;color:var(--text-secondary);display:flex;font-size:13px;font-weight:600;gap:6px}.checkout-items{display:flex;flex-direction:column;gap:10px}.checkout-item{background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-raised-sm);display:flex;gap:14px;padding:14px}.checkout-item-thumb{background:var(--bg);border-radius:var(--radius-sm);flex-shrink:0;height:64px;overflow:hidden;width:64px}.checkout-item-thumb img{height:100%;object-fit:cover;width:100%}.checkout-item-info{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.checkout-item-header{align-items:center;display:flex;gap:8px}.checkout-item-name{font-size:14px;font-weight:600}.checkout-item-code{color:var(--text-muted);font-size:12px}.checkout-item-package{color:var(--text-secondary);font-size:12px}.checkout-item-bottom{align-items:center;display:flex;gap:10px;margin-top:auto;padding-top:6px}.checkout-item-price{color:var(--text-secondary);font-size:13px;font-weight:600;min-width:50px}.checkout-qty{align-items:center;background:var(--bg);border-radius:6px;box-shadow:var(--shadow-pressed-sm);display:flex;gap:2px}.checkout-qty .qty-btn-sm{font-weight:700;height:30px;width:30px}.checkout-qty .qty-val{min-width:26px}.checkout-item-total{font-size:14px;font-weight:700;margin-left:auto;min-width:70px;text-align:right}.checkout-item-metric{display:flex;flex-direction:column;gap:2px;min-width:82px}.checkout-item-metric small{color:var(--text-muted);font-size:9px;font-weight:700;text-transform:uppercase}.checkout-item-metric strong{color:var(--text-secondary);font-size:13px;font-weight:700}.checkout-item-quantity{align-items:center;background:var(--bg);border:1px solid #ffffff94;border-radius:8px;box-shadow:var(--shadow-pressed-sm);min-width:80px;padding:4px 8px}.checkout-quantity-ctrls{align-items:center;display:flex;gap:6px;margin-top:2px}.checkout-quantity-ctrls button{align-items:center;background:#fff;border:1px solid #6366f133;border-radius:6px;color:#4f46e5;cursor:pointer;display:inline-flex;height:24px;justify-content:center;padding:0;transition:all .15s ease;width:24px}.checkout-quantity-ctrls button:hover:not(:disabled){background:#6366f1;color:#fff}.checkout-quantity-ctrls button:disabled{cursor:not-allowed;opacity:.4}.checkout-quantity-ctrls strong{font-size:14px;font-weight:700;min-width:18px;text-align:center}.checkout-item-total{display:flex;min-width:100px}.checkout-item-total strong{color:var(--primary);font-size:14px;font-weight:800}.checkout-adjustments{display:block}.checkout-page-popup .checkout-item{padding-right:54px;position:relative}.checkout-page-popup .checkout-mobile-remove{background:#fff5f5;border:1px solid #f2c8cc;border-radius:7px;box-shadow:none;color:#dc3545;display:grid;height:32px;place-items:center;position:absolute;right:12px;top:50%;transform:translateY(-50%);width:32px;z-index:2}.checkout-page-popup .checkout-mobile-remove:hover:not(:disabled){background:#feecee;border-color:#eaa7ae}.checkout-page-popup .checkout-mobile-remove:disabled{cursor:not-allowed;opacity:.55}.checkout-page-popup .checkout-item.is-removing{animation:checkout-item-remove-left .28s ease-in forwards;pointer-events:none}.checkout-remove-toast{align-items:center;animation:checkout-toast-in .2s ease-out;background:var(--surface);border:1px solid #ffffffd1;border-left:3px solid #159447;border-radius:8px;bottom:auto;box-shadow:5px 5px 12px #97a0b838,-4px -4px 10px #ffffffe0;color:#137a3b;display:flex;font-size:11px;font-weight:700;gap:8px;left:50%;max-width:min(420px,calc(100vw - 32px));min-height:42px;padding:9px 14px;position:fixed;top:20px;transform:translateX(-50%);z-index:1400}.checkout-remove-toast>svg{background:#dcfce7;border-radius:50%;color:#159447;flex:0 0 auto;padding:2px}.checkout-remove-toast>span{min-width:0}.checkout-remove-toast>button{background:#eeecff;border:1px solid #c9c4ff;border-radius:6px;color:#5145df;flex:0 0 auto;font-size:10px;font-weight:800;margin-left:4px;min-height:28px;padding:4px 9px}@keyframes checkout-item-remove-left{to{opacity:0;transform:translateX(-110%)}}@keyframes checkout-toast-in{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.checkout-remove{border-radius:6px;color:var(--text-muted);display:flex;padding:6px;transition:all var(--transition)}.checkout-remove:hover{background:var(--danger-light);color:var(--danger)}.option-row{align-items:center;display:flex}.gst-select-group{display:flex;flex-wrap:wrap;gap:8px}.gst-opt{justify-content:center;min-width:60px}.discount-fields-row{align-items:flex-start;display:flex;flex-wrap:wrap;gap:10px}.discount-fields-row select{width:160px}.discount-fields-row input{flex:1 1;min-width:120px}.checkout-payment-grid{gap:8px;grid-template-columns:repeat(3,1fr)}.payment-type-block{grid-gap:7px;display:grid;gap:7px;margin-top:14px}.payment-type-selector{grid-gap:8px;background:var(--bg);border:1px solid #ffffffb8;border-radius:9px;box-shadow:var(--shadow-pressed-sm);display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}.payment-type-option{align-items:center;background:#0000;border:1px solid #0000;border-radius:7px;color:var(--text-secondary);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:700;gap:7px;justify-content:center;min-height:38px}.payment-type-block.is-disabled .field-label{color:var(--text-muted)}.payment-type-block.is-disabled .payment-type-selector{box-shadow:none;opacity:.62}.payment-type-option:disabled{color:var(--text-muted);cursor:not-allowed}.payment-type-option.active{background:#eeecff;border-color:#5b4ff547;box-shadow:var(--shadow-raised-sm);color:var(--primary)}.payment-type-option.credit-active{background:#fff8e8;border-color:#f59e0b57;color:#b45309}.credit-payment-detail{grid-gap:20px;align-items:center;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #6366f12e;border-radius:16px;box-shadow:0 10px 25px -5px #6366f114,0 4px 6px -2px #00000008;display:grid;gap:20px;grid-template-columns:minmax(260px,1fr) minmax(300px,1.2fr);margin-top:14px;overflow:hidden;padding:20px;position:relative}.credit-payment-detail:before{background:linear-gradient(180deg,#6366f1,#a855f7);content:"";height:100%;left:0;position:absolute;top:0;width:4px}.credit-entry-panel{grid-gap:12px;align-content:start;display:grid;gap:12px}.credit-panel-title{align-items:center;display:flex;gap:12px}.credit-panel-title>span{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);border-radius:10px;box-shadow:0 4px 10px #4f46e526;color:#4f46e5;display:grid;flex:0 0 auto;height:38px;place-items:center;width:38px}.credit-panel-title div{grid-gap:2px;display:grid;gap:2px}.credit-panel-title strong{color:#1e293b;font-size:15px;font-weight:800;letter-spacing:-.01em}.credit-panel-title small{color:#64748b;font-size:11px;font-weight:500}.credit-input-wrap{position:relative}.credit-input-wrap>span{color:#4f46e5;font-size:18px;font-weight:800;left:14px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:1}.credit-amount-input{background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;box-shadow:0 2px 4px #00000005;color:#0f172a;font-size:18px;font-weight:800;min-height:48px;padding-left:36px;transition:all .2s ease}.credit-amount-input:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f126}.credit-input-wrap.has-error .credit-amount-input{border-color:#ef4444;box-shadow:0 0 0 4px #ef444426}.credit-presets{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(3,1fr)}.credit-presets button{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px #0000000a;color:#475569;cursor:pointer;font-size:12px;font-weight:700;min-height:34px;transition:all .2s ease}.credit-presets button:hover{background:#e0e7ff;border-color:#6366f1;color:#4338ca;transform:translateY(-1px)}.credit-calculation{grid-gap:14px;align-content:center;border-left:1px solid #e2e8f0;display:grid;gap:14px;padding-left:20px}.credit-progress-heading{align-items:center;color:#475569;display:flex;font-size:12px;font-weight:700;justify-content:space-between}.credit-progress-heading strong{color:#4f46e5;font-size:13px;font-weight:800}.credit-progress-track{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.credit-progress-track span{background:linear-gradient(90deg,#10b981,#059669);border-radius:inherit;display:block;height:100%;transition:width .25s ease}.credit-summary-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.credit-summary-grid>div{background:#fff;border:1px solid #f1f5f9;border-radius:10px;box-shadow:0 1px 3px #00000008;display:flex;flex-direction:column;gap:3px;justify-content:center;min-width:0;padding:10px 12px}.credit-summary-grid span{color:#64748b;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.credit-summary-grid strong{color:#1e293b;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-summary-grid .credit-paid-row{background:#f0fdf4;border-color:#bbf7d0}.credit-summary-grid .credit-paid-row strong{color:#166534}.credit-summary-grid .credit-balance-row{background:#fef2f2;border-color:#fecaca}.credit-summary-grid .credit-balance-row strong{color:#dc2626;font-size:15px}.payment-detail{background:var(--bg);border-radius:var(--radius-md);box-shadow:var(--shadow-pressed-sm);padding:16px}.payment-info-text{color:var(--text-secondary);font-size:13px}.upi-detail{gap:12px;text-align:center}.qr-placeholder,.upi-detail{align-items:center;display:flex;flex-direction:column}.qr-placeholder{background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-raised-sm);color:var(--text-muted);gap:8px;height:140px;justify-content:center;width:140px}.qr-label{font-size:12px;font-weight:600}.upi-id{color:var(--text-secondary);font-size:14px}.upi-amount{font-size:16px;font-weight:700}.upi-confirm{margin-top:4px}.checkout-sticky-bottom{border-radius:var(--radius-lg) var(--radius-lg) 0 0;bottom:0;box-shadow:var(--shadow-sticky);left:0;padding:12px 16px;position:fixed;right:0;z-index:100}.process-checkout-btn{font-size:16px;font-weight:700;gap:10px;padding:16px;width:100%}.success-modal{animation:slideUp .3s ease;max-height:90vh;max-width:480px;overflow-y:auto;padding:32px 24px 24px;position:relative;text-align:center;width:100%}.success-mobile-close{background:#fff;border:1px solid #dce2eb;border-radius:8px;box-shadow:none;color:#4f5a70;display:grid;height:36px;place-items:center;position:absolute;right:12px;top:12px;width:36px;z-index:3}.success-mobile-close:hover{background:#eef1f6;border-color:#cbd2de}.success-icon{color:var(--success);margin-bottom:12px}.success-title{font-size:20px;font-weight:700;margin-bottom:4px}.success-order-num{color:var(--primary);font-size:14px;font-weight:600;margin-bottom:2px}.success-date{color:var(--text-muted);font-size:12px;margin-bottom:20px}.success-details{background:var(--bg);border-radius:var(--radius-md);box-shadow:var(--shadow-pressed-sm);margin-bottom:16px;padding:12px 16px}.success-detail-row{color:var(--text-secondary);display:flex;font-size:13px;justify-content:space-between;padding:4px 0}.success-detail-row span:last-child{color:var(--text);font-weight:600}.success-summary{margin-bottom:20px}.success-summary-row{color:var(--text-secondary);display:flex;font-size:14px;justify-content:space-between;padding:4px 0}.success-grand{border-top:1px solid var(--border);color:var(--text);font-size:18px;font-weight:700;margin-top:4px;padding-top:8px}.success-grand span:last-child{color:var(--primary)}.success-paid{color:var(--success);font-weight:700;margin-top:5px}.success-balance{background:#fff5f5;border:1px solid #dc26262e;border-radius:7px;color:#dc2626;font-size:15px;font-weight:800;margin-top:5px;padding:9px 10px}.success-actions{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr}.success-actions .clay-btn{width:100%}.success-actions .success-new-order{grid-column:1/-1}.success-actions .whatsapp-share-btn{background:#ecfdf3;border-color:#a7dfba;box-shadow:none;color:#12843f}@media (max-width:767px){.checkout-content{gap:12px;padding:12px}.checkout-section{border-radius:var(--radius-md);padding:16px}.customer-form{grid-template-columns:1fr}.checkout-payment-grid{grid-template-columns:1fr 1fr}.discount-fields-row{flex-direction:column}.discount-fields-row select{width:100%}.checkout-item{padding:12px}.checkout-item-thumb{height:52px;width:52px}.checkout-item-name{font-size:13px}.checkout-sticky-bottom{padding:10px 12px}.process-checkout-btn{font-size:15px;padding:14px}.success-modal{border-radius:var(--radius-lg) var(--radius-lg) 0 0;max-height:100vh;padding:24px 16px 20px}.credit-payment-detail{grid-template-columns:1fr}.credit-calculation{border-left:0;border-top:1px solid #ead7ae;padding:14px 0 0}.success-actions{gap:8px;grid-template-columns:1fr 1fr}.success-title{font-size:18px}.success-mobile-close{background:#fff;border:1px solid #dce2eb;border-radius:8px;box-shadow:none;color:#4f5a70;display:grid;height:36px;place-items:center;position:absolute;right:12px;top:12px;width:36px;z-index:3}.success-mobile-close:active{background:#eef1f6}.gst-select-group{gap:6px}.gst-opt{font-size:13px;min-width:50px;padding:8px 12px}}.checkout-page-popup .checkout-item{align-items:center;min-height:76px}.checkout-page-popup .checkout-item-thumb{background:#fff;border:1px solid #dce2eb;border-radius:8px;box-shadow:none;overflow:hidden}.checkout-page-popup .checkout-item-thumb img{border-radius:7px;height:100%;object-fit:cover;padding:0;width:100%}.checkout-page-popup .checkout-item-info{grid-gap:12px;align-items:center;display:grid;gap:12px;grid-template-columns:minmax(180px,1fr) 90px 70px 110px}.checkout-page-popup .checkout-item-copy{min-width:0}.checkout-page-popup .checkout-item-name,.checkout-page-popup .checkout-item-package{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checkout-page-popup .checkout-item-package{margin-top:4px}.checkout-page-popup .checkout-item-metric{min-width:0}.checkout-page-popup .checkout-item-total{align-items:flex-end;margin-left:0;min-width:0}.checkout-page-popup .bill-summary{margin:0}.checkout-page-popup .total-discount-row{border-top:1px dashed #d6dce6;color:var(--success);margin-top:4px;padding-top:7px}.checkout-page-popup .payment-summary-row{background:var(--bg);border-radius:7px;box-shadow:var(--shadow-pressed-sm);margin-top:8px;padding:8px 10px}.checkout-page-popup .payment-summary-row strong{color:var(--primary);font-size:12px}@media (max-width:640px){.checkout-page-popup .checkout-item{align-items:flex-start;min-height:0}.checkout-page-popup .checkout-item-info{gap:8px;grid-template-columns:minmax(74px,1fr) 58px minmax(82px,1fr)}.checkout-page-popup .checkout-item-copy{grid-column:1/-1}.checkout-page-popup .checkout-item-total{align-items:flex-end}.checkout-page-popup .checkout-item-quantity-static{display:none}.checkout-page-popup .checkout-mobile-quantity{align-items:stretch;background:var(--bg);border:1px solid #d9dee8;border-radius:7px;display:grid;grid-template-columns:34px minmax(42px,1fr) 34px;height:36px;overflow:hidden}.checkout-page-popup .checkout-mobile-quantity button{background:#ffffff73;color:#47536b;display:grid;place-items:center}.checkout-page-popup .checkout-mobile-quantity button:disabled{color:#aeb6c5;cursor:not-allowed}.checkout-page-popup .checkout-mobile-quantity span{align-items:center;border-inline:1px solid #d9dee8;display:flex;flex-direction:column;justify-content:center;line-height:1}.checkout-page-popup .checkout-mobile-quantity small{color:var(--text-muted);font-size:7px;font-weight:700;text-transform:uppercase}.checkout-page-popup .checkout-mobile-quantity strong{color:#172033;font-size:12px;margin-top:3px}}@media (max-width:479px){.checkout-header{padding:10px 12px}.checkout-header-title h2{font-size:14px}.checkout-payment-grid{gap:8px}.checkout-item-bottom{flex-wrap:wrap;gap:6px}.checkout-item-total{min-width:auto}.process-checkout-btn{font-size:14px;padding:12px}}.checkout-page{background:var(--bg)}.checkout-header{border-bottom:1px solid #ffffffb8}.checkout-header,.checkout-section{background:var(--surface);box-shadow:var(--shadow-card)}.checkout-section{border:1px solid #ffffffc2}.checkout-item,.checkout-item-thumb,.checkout-qty,.payment-detail,.success-details{background:var(--bg);border:1px solid #ffffff94;box-shadow:var(--shadow-pressed-sm)}.checkout-payment-grid .payment-card{background:var(--surface);border:1px solid #ffffffb8;border-radius:8px;box-shadow:var(--shadow-raised-sm);gap:3px;min-height:52px;padding:6px 8px}.checkout-payment-grid .payment-card>svg:first-child{height:18px;width:18px}.checkout-payment-grid .payment-label-text{font-size:9px;font-weight:700;line-height:1.15}.checkout-payment-grid .payment-check{height:12px;right:4px;top:4px;width:12px}.checkout-payment-grid .payment-card.active{background:#eeecff;border-color:#5b4ff5;box-shadow:5px 5px 12px #5b4ff52e,-5px -5px 12px #ffffffd6}.checkout-sticky-bottom{background:var(--surface);border-top:1px solid #ffffffc2;box-shadow:0 -7px 18px #97a0b833}.process-checkout-btn{box-shadow:7px 7px 15px #5b4ff547,-5px -5px 12px #ffffffd1}.checkout-item-thumb img{object-fit:contain;padding:3px}.checkout-modal-overlay{align-items:center;animation:fadeIn .18s ease-out;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1b223552;display:flex;inset:0;justify-content:center;padding:18px;position:fixed;z-index:900}.checkout-page-popup{animation:slideUp .24s ease-out;background:var(--bg);border:1px solid #d8dee8;border-radius:20px;box-shadow:0 18px 46px #1b22353d;display:flex;flex-direction:column;height:min(920px,calc(100vh - 36px));min-height:0;overflow:hidden;padding-bottom:0;position:relative;width:min(960px,100%)}.success-modal.clay-card{border:1px solid #d8dee8;box-shadow:none}.bill-generation-loader{align-items:center;background:#e9edf5f2;color:#172033;display:flex;flex-direction:column;inset:0;justify-content:center;position:absolute;text-align:center;z-index:1100}.bill-generation-icon{background:var(--surface);border:1px solid #d8dee8;border-radius:14px;color:var(--primary);display:grid;height:64px;margin-bottom:14px;place-items:center;position:relative;width:64px}.bill-generation-icon .bill-spinner{background:var(--primary);border-radius:50%;bottom:-7px;color:#fff;padding:3px;position:absolute;right:-7px}.bill-generation-loader strong{font-size:16px;font-weight:800}.bill-generation-loader>span{color:#7b869a;font-size:11px;margin-top:4px}.bill-spinner,.button-spinner{animation:bill-spin .8s linear infinite}@keyframes bill-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.bill-spinner,.button-spinner{animation:none}}.checkout-page-popup .checkout-header{border-radius:20px 20px 0 0;flex:0 0 auto;position:-webkit-sticky;position:sticky;top:0}.checkout-page-popup .checkout-content{max-width:900px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 22px;width:100%}.checkout-page-popup .checkout-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.checkout-adjustments{background:var(--bg);border:1px solid #dce1ea;border-radius:12px;box-shadow:0 2px 6px #00000005;margin-bottom:16px;overflow:hidden}.checkout-adjustment-row{align-items:center;border-bottom:1px solid #dfe4ec;color:#334155;display:flex;font-size:13px;font-weight:700;gap:16px;justify-content:space-between;min-height:52px;padding:10px 16px}.checkout-adjustment-row:last-child{border-bottom:0}.checkout-gst-row>span{align-items:center;display:inline-flex;gap:8px}.checkout-gst-row input{accent-color:var(--primary);cursor:pointer;height:18px;width:18px}.checkout-gst-row strong{color:#1e293b;font-size:13px}.checkout-adjustment-input,.checkout-other-discount{align-items:center;display:flex}.checkout-adjustment-input{background:#fff;border:1.5px solid #cbd5e1;border-radius:8px;height:38px;justify-content:space-between;padding:0 10px;transition:all .2s ease;width:128px}.checkout-adjustment-input:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.checkout-adjustment-input input{background:#0000;border:0;color:#0f172a;flex:1 1;font-size:14px;font-weight:800;min-width:0;outline:0;padding:0;text-align:center;width:100%}.checkout-adjustment-input small{color:#64748b;flex:0 0 auto;font-size:13px;font-weight:700;-webkit-user-select:none;user-select:none}.checkout-other-discount{gap:8px}.checkout-other-discount select{background:#fff;border:1.5px solid #cbd5e1;border-radius:8px;color:#1e293b;cursor:pointer;font-size:13px;font-weight:700;height:38px;outline:0;padding:0 8px;transition:all .2s ease;width:72px}.checkout-other-discount select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}@media (max-width:640px){.checkout-page-popup .checkout-header{gap:6px;padding:9px 10px}.checkout-page-popup .checkout-back{flex:0 0 auto;padding:7px}.checkout-page-popup .checkout-header-title{gap:5px;min-width:0}.checkout-page-popup .checkout-header-title>svg{display:none}.checkout-page-popup .checkout-header-title h2{flex:0 1 auto;font-size:13px;white-space:nowrap}.checkout-page-popup .checkout-count{gap:4px;height:28px;min-width:68px;padding:0 7px}.checkout-page-popup .checkout-count strong{font-size:12px}.checkout-page-popup .checkout-count small{font-size:7px}.checkout-page-popup .checkout-clear{flex:0 0 auto;font-size:11px;min-height:36px;padding:7px 10px}.checkout-page-popup .checkout-section{padding:14px}.checkout-page-popup .checkout-item{display:block;min-height:130px;padding:11px;position:relative}.checkout-page-popup .checkout-item-thumb{height:48px;left:11px;position:absolute;top:11px;width:48px}.checkout-page-popup .checkout-item-info{grid-gap:10px;display:grid;gap:10px;grid-template-columns:minmax(58px,1fr) 88px minmax(62px,1fr);width:100%}.checkout-page-popup .checkout-item-copy{grid-column:1/-1;min-height:52px;padding:0 36px 0 59px}.checkout-page-popup .checkout-mobile-remove{background:#fff5f5;border:1px solid #f2c8cc;border-radius:7px;color:#dc3545;display:grid;height:30px;place-items:center;position:absolute;right:10px;top:10px;transform:none;width:30px;z-index:2}.checkout-page-popup .checkout-mobile-remove:active{background:#fee7e9}.checkout-page-popup .checkout-item-name{font-size:12px}.checkout-page-popup .checkout-item-package{font-size:10px;margin-top:3px}.checkout-page-popup .checkout-item-metric{justify-content:center;min-width:0}.checkout-page-popup .checkout-item-metric small{font-size:7px;white-space:nowrap}.checkout-page-popup .checkout-item-metric strong{font-size:11px}.checkout-page-popup .checkout-mobile-quantity{grid-template-columns:26px minmax(34px,1fr) 26px;min-width:0;width:88px}.checkout-page-popup .checkout-mobile-quantity button{padding:0;width:26px}.checkout-page-popup .checkout-item-total{align-items:flex-end;justify-self:stretch}.checkout-page-popup .checkout-item-total strong{font-size:12px;white-space:nowrap}}@media (max-width:359px){.checkout-page-popup .checkout-header-title h2{font-size:12px}.checkout-page-popup .checkout-count{min-width:30px;padding:0 6px}.checkout-page-popup .checkout-count small{display:none}.checkout-page-popup .checkout-clear{padding-inline:8px}.checkout-page-popup .checkout-item-info{gap:7px;grid-template-columns:minmax(54px,1fr) 82px minmax(58px,1fr)}.checkout-page-popup .checkout-mobile-quantity{grid-template-columns:24px minmax(32px,1fr) 24px;width:82px}.checkout-page-popup .checkout-mobile-quantity button{width:24px}}.checkout-page-popup .checkout-sticky-bottom{border-radius:12px;bottom:-1px;box-shadow:0 -5px 15px #97a0b82e,var(--shadow-raised-sm);left:auto;margin-top:4px;position:-webkit-sticky;position:sticky;right:auto}@media (max-width:767px){.checkout-modal-overlay{align-items:flex-end;padding:0}.checkout-page-popup{height:96vh;width:100%}.checkout-page-popup,.checkout-page-popup .checkout-header{border-radius:18px 18px 0 0}.checkout-page-popup .checkout-content{padding:12px 12px 18px}.checkout-page-popup .checkout-payment-grid{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}.checkout-page-popup .checkout-payment-grid .payment-card{min-height:48px;padding:5px 3px}.checkout-page-popup .checkout-payment-grid .payment-label-text{font-size:8px}.checkout-modal-overlay{align-items:stretch;animation:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg);justify-content:stretch;padding:0}.checkout-page-popup{animation:none;background:var(--bg);border:0;border-radius:0;box-shadow:none;height:100dvh;max-height:none;min-height:100dvh;width:100%}.checkout-page-popup .checkout-header{background:#f5f7fb;border:0;border-bottom:1px solid #dfe4ec;border-radius:0;box-shadow:none;gap:8px;min-height:64px;padding:max(12px,env(safe-area-inset-top)) 12px 12px;width:100%}.checkout-page-popup .checkout-header-title{gap:7px;min-width:0}.checkout-page-popup .checkout-header-title h2{flex:0 1 auto;font-size:16px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checkout-page-popup .checkout-count{border-radius:7px;gap:4px;height:24px;min-width:56px;padding:0 7px;width:auto}.checkout-page-popup .checkout-count strong{font-size:12px}.checkout-page-popup .checkout-count small{display:inline;font-size:8px}.checkout-page-popup .checkout-clear{border-radius:8px;box-shadow:none;min-height:38px;padding:0 10px}.checkout-page-popup .checkout-back{background:var(--surface);border:1px solid #dfe4ec;border-radius:8px;box-shadow:none;flex:0 0 38px;height:38px;padding:0;width:38px}.checkout-page-popup .checkout-content{background:var(--bg);flex:1 1 auto;max-width:none;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.checkout-page-popup .checkout-sticky-bottom{border-radius:8px;bottom:0;box-shadow:none}.checkout-page-popup .checkout-item-thumb{background:#fff;border:1px solid #dce2eb;border-radius:8px;box-shadow:none;overflow:hidden}.checkout-page-popup .checkout-item-thumb img{border-radius:7px;height:100%;object-fit:cover;padding:0;width:100%}.checkout-remove-toast{bottom:auto;box-shadow:4px 4px 10px #97a0b833,-3px -3px 8px #ffffffd1;justify-content:center;top:calc(64px + env(safe-area-inset-top));width:-webkit-max-content;width:max-content}}@media (prefers-reduced-motion:reduce){.checkout-page-popup .checkout-item.is-removing,.checkout-remove-toast{animation:none}}.billing-page{padding-bottom:0}.app-header{background:var(--surface);box-shadow:var(--shadow-raised-sm);height:var(--header-h);padding:0 var(--gap);position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-inner{gap:var(--gap);height:100%;margin:0 auto;max-width:1600px}.header-inner,.header-left{align-items:center;display:flex}.header-left{flex-shrink:0;gap:12px}.menu-toggle{display:none}.brand{gap:8px}.brand,.brand-icon{align-items:center;display:flex}.brand-icon{background:var(--primary-soft);border-radius:var(--radius-sm);height:36px;justify-content:center;width:36px}.brand-name{color:var(--text);font-size:18px;font-weight:800;letter-spacing:-.5px}.brand-accent{color:var(--primary)}.header-center{flex:1 1;margin:0 auto;max-width:480px}.search-box{position:relative;width:100%}.search-icon{left:14px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.search-input{background:var(--bg);border:none;border-radius:var(--radius-md);box-shadow:var(--shadow-pressed-sm);color:var(--text);font-size:14px;padding:10px 14px 10px 42px;transition:all var(--transition);width:100%}.search-input:focus{background:var(--surface);box-shadow:var(--shadow-raised-sm),0 0 0 2px var(--primary);outline:none}.search-clear,.search-input::placeholder{color:var(--text-muted)}.search-clear{border-radius:50%;display:flex;padding:4px;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.search-clear:hover{background:var(--bg);color:var(--text)}.header-right{align-items:center;display:flex;flex-shrink:0;gap:8px}.user-profile-badge{align-items:center;background:var(--bg);border-radius:var(--radius-sm);box-shadow:var(--shadow-pressed-sm);color:var(--text);display:flex;font-size:13px;gap:6px;padding:5px 10px}.user-profile-badge svg{color:var(--primary);flex-shrink:0}.user-name{font-weight:600;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-role-chip{border-radius:10px;font-size:10px;font-weight:700;letter-spacing:.5px;padding:2px 7px;text-transform:uppercase}.user-role-chip.role-admin{background:#5b4ff526;border:1px solid #5b4ff54d;color:var(--primary)}.user-role-chip.role-staff{background:#10b98126;border:1px solid #10b9814d;color:#059669}.cart-badge{position:relative}.cart-count{align-items:center;background:var(--primary);border-radius:9px;color:#fff;display:flex;font-size:11px;font-weight:700;height:18px;justify-content:center;min-width:18px;padding:0 5px;position:absolute;right:-4px;top:-4px}.header-btn{gap:6px}.billing-workspace{grid-gap:var(--gap);display:grid;gap:var(--gap);grid-template-columns:200px 1fr 370px;margin:0 auto;max-width:1600px;min-height:calc(100vh - var(--header-h));padding:var(--gap)}.category-sidebar{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);display:flex;flex-direction:column;height:-webkit-fit-content;height:fit-content;max-height:calc(100vh - var(--header-h) - var(--gap)*2);overflow:hidden;position:-webkit-sticky;position:sticky;top:calc(var(--header-h) + var(--gap))}.category-header{border-bottom:1px solid var(--border);padding:16px 16px 12px}.category-header h2{color:var(--text-muted);font-size:14px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.category-list{flex:1 1;overflow-y:auto;padding:8px}.category-item{align-items:center;border-radius:var(--radius-sm);color:var(--text-secondary);display:flex;font-size:13px;font-weight:500;gap:10px;padding:10px 12px;text-align:left;transition:all var(--transition);width:100%}.category-item:hover{background:var(--primary-soft);color:var(--primary)}.category-item.active{background:var(--primary-light);box-shadow:inset 2px 2px 6px #5b4ff514,inset -2px -2px 6px #fff9;color:var(--primary);font-weight:600}.category-icon{align-items:center;background:var(--bg);border-radius:var(--radius-sm);display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.category-item.active .category-icon{background:var(--primary);color:#fff}.category-name{flex:1 1}.category-count{background:var(--bg);border-radius:10px;color:var(--text-muted);font-size:11px;font-weight:600;padding:2px 8px}.category-item.active .category-count{background:var(--primary-soft);color:var(--primary)}.product-area{display:flex;flex-direction:column;gap:var(--gap);min-height:calc(100vh - var(--header-h) - var(--gap)*2)}.product-area-header{align-items:center;display:flex;gap:12px}.product-area-title{align-items:center;display:flex;font-size:20px;font-weight:700;gap:10px}.product-count-badge{background:var(--surface);border-radius:10px;box-shadow:var(--shadow-raised-sm);color:var(--text-muted);font-size:12px;font-weight:600;padding:2px 10px}.category-chips{-webkit-overflow-scrolling:touch;display:none;gap:8px;overflow-x:auto;padding:4px 0;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.chip{align-items:center;background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-raised-sm);color:var(--text-secondary);display:flex;flex-shrink:0;font-size:13px;font-weight:500;gap:6px;padding:10px 16px;transition:all var(--transition);white-space:nowrap}.chip:hover{box-shadow:var(--shadow-raised);transform:translateY(-1px)}.chip.active{background:var(--primary);box-shadow:4px 4px 10px #5b4ff540,-2px -2px 6px #fff6;color:#fff}.chip.active:hover{transform:none}.chip.has-cart-items:not(.active){background:#ecfdf3;border:1px solid #9edbb4;box-shadow:none;color:#137a3b}.chip-count{background:#0000001a;border-radius:8px;font-size:11px;padding:1px 6px}.chip.active .chip-count{background:#fff3}.product-grid{display:flex;flex-direction:column;gap:10px;padding-bottom:20px}.product-card{background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-card);transition:all var(--transition)}.product-card:hover{box-shadow:var(--shadow-raised)}.product-card.added{border:2px solid var(--success)}.product-card.out-of-stock{opacity:.65}.product-card-inner{align-items:stretch;display:flex;gap:0;min-height:100px}.product-image-wrap{background:var(--bg);border-radius:var(--radius-md) 0 0 var(--radius-md);flex-shrink:0;min-height:110px;overflow:hidden;position:relative;width:110px}.product-image{height:100%;inset:0;object-fit:cover;position:absolute;width:100%}.discount-badge{background:var(--danger);border-radius:6px;box-shadow:0 2px 6px #dc26264d;color:#fff;font-size:10px;font-weight:700;left:6px;padding:3px 8px;position:absolute;top:6px;z-index:2}.out-of-stock-overlay{align-items:center;background:#00000073;border-radius:var(--radius-md) 0 0 var(--radius-md);display:flex;inset:0;justify-content:center;position:absolute;z-index:3}.out-of-stock-overlay span{background:var(--surface);border-radius:var(--radius-sm);color:var(--danger);font-size:11px;font-weight:700;padding:4px 12px;transform:rotate(-15deg)}.product-info{display:flex;flex:1 1;flex-direction:column;gap:2px;justify-content:center;min-width:0;padding:12px 14px}.product-info-top{align-items:center;display:flex;gap:8px;margin-bottom:2px}.product-name{font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-code{color:var(--text-muted);flex-shrink:0;font-size:11px;font-weight:500}.product-package{align-items:center;color:var(--text-secondary);display:flex;font-size:12px;gap:4px}.product-stock{color:var(--success);font-size:11px;font-weight:500}.product-pricing{align-items:center;display:flex;gap:8px;margin-top:4px}.original-price{color:var(--text-muted);font-size:12px;text-decoration:line-through}.discounted-price{color:var(--text);font-size:15px;font-weight:700}.product-actions{flex-direction:column;flex-shrink:0;gap:8px;justify-content:center;padding:12px 14px 12px 4px}.product-actions,.qty-controls{align-items:center;display:flex}.qty-controls{background:var(--bg);border-radius:var(--radius-sm);box-shadow:var(--shadow-pressed-sm);gap:0;position:relative}.diwali-icon-burst{height:1px;pointer-events:none;position:absolute;right:19px;top:50%;width:1px;z-index:6}.diwali-icon-burst>span{--burst-x:0px;--burst-y:-28px;animation:diwali-icon-split .72s cubic-bezier(.16,.75,.25,1) forwards;color:#f59e0b;display:grid;filter:drop-shadow(0 2px 2px rgba(245,158,11,.24));height:15px;left:0;place-items:center;position:absolute;top:0;width:15px}.diwali-icon-burst svg{stroke-width:2.4;height:100%;width:100%}.diwali-icon-burst>span:first-child{--burst-x:-33px;--burst-y:-25px;color:#f59e0b}.diwali-icon-burst>span:nth-child(2){--burst-x:-16px;--burst-y:-38px;animation-delay:25ms;color:#ef4444}.diwali-icon-burst>span:nth-child(3){--burst-x:7px;--burst-y:-34px;animation-delay:45ms;color:#8b5cf6}.diwali-icon-burst>span:nth-child(4){--burst-x:27px;--burst-y:-18px;animation-delay:15ms;color:#0ea5e9}.diwali-icon-burst>span:nth-child(5){--burst-x:24px;--burst-y:12px;animation-delay:55ms;color:#eab308}.diwali-icon-burst>span:nth-child(6){--burst-x:-24px;--burst-y:14px;animation-delay:35ms;color:#ec4899}@keyframes diwali-icon-split{0%{opacity:0;transform:translate(-50%,-50%) scale(.35) rotate(0deg)}18%{opacity:1}72%{opacity:1}to{opacity:0;transform:translate(var(--burst-x),var(--burst-y)) scale(1.08) rotate(18deg)}}@media (prefers-reduced-motion:reduce){.diwali-icon-burst{display:none}}.qty-btn{align-items:center;border-radius:var(--radius-sm);color:var(--text-secondary);display:flex;height:34px;justify-content:center;transition:all var(--transition);width:34px}.qty-btn:hover:not(:disabled){background:var(--primary-soft);color:var(--primary)}.qty-btn:disabled{cursor:not-allowed;opacity:.3}.product-add-btn{align-items:center;background:#5b4ff5;border:1px solid #5b4ff5;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:12px;font-weight:800;gap:6px;height:44px;justify-content:center;max-width:118px;padding:0 10px;transition:background .16s ease,border-color .16s ease;width:100%}.product-add-btn:hover:not(:disabled){background:#483bdf;border-color:#483bdf}.product-add-btn:disabled{background:#eef1f5;border-color:#dfe4ec;color:#929db1;cursor:not-allowed}.billing-page .product-card.out-of-stock{opacity:1}.product-restock-btn{background:#159447;border-color:#159447}.product-restock-btn:hover:not(:disabled){background:#107a3a;border-color:#107a3a}.restock-modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#161b3326}@media (max-width:767px){.restock-modal-overlay{align-items:center;padding:20px}}.restock-modal{background:var(--surface);border-radius:var(--radius-lg);padding:24px;width:min(390px,100%)}.restock-modal-header{align-items:center;display:flex;gap:12px;margin-bottom:20px}.restock-modal-header>span{background:var(--primary-soft);border-radius:var(--radius-sm);color:var(--primary);display:grid;height:44px;place-items:center;width:44px}.restock-modal-header div{min-width:0}.restock-modal-header h3{color:var(--text);font-size:16px;font-weight:700}.restock-modal-header p{color:var(--text-secondary);font-size:12px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restock-field{grid-gap:6px;display:grid;gap:6px}.restock-field span{color:var(--text-secondary);font-size:12px;font-weight:600}.restock-field input{background:var(--bg);border:none;border-radius:var(--radius-md);box-shadow:var(--shadow-pressed-sm);color:var(--text);font-size:16px;font-weight:700;padding:12px 14px;transition:all var(--transition);width:100%}.restock-field input:focus{background:var(--surface);box-shadow:var(--shadow-raised-sm),0 0 0 2px var(--primary);outline:none}.restock-actions{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr;margin-top:20px}.restock-actions button{align-items:center;background:var(--surface);border:none;border-radius:var(--radius-md);box-shadow:var(--shadow-raised-sm);color:var(--text-secondary);display:inline-flex;font-size:13px;font-weight:600;gap:6px;justify-content:center;min-height:44px;transition:all var(--transition)}.restock-actions button:hover{box-shadow:var(--shadow-raised)}.restock-actions .restock-confirm{background:var(--primary);box-shadow:6px 6px 14px #5b4ff540,-4px -4px 12px #fff6;color:#fff}.restock-actions .restock-confirm:hover{background:var(--primary-hover);box-shadow:8px 8px 18px #5b4ff54d}.restock-actions .restock-confirm:disabled{background:#eef1f5;border-color:#dfe4ec;box-shadow:none;color:#929db1;cursor:not-allowed;opacity:.5}.qty-value{color:var(--text);cursor:pointer;font-size:14px;font-weight:600;min-width:28px;text-align:center;transition:transform .15s ease,color .15s ease;-webkit-user-select:none;user-select:none}.qty-value:hover{color:var(--primary);transform:scale(1.15)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}input[type=number]{-moz-appearance:textfield!important}.qty-inline-input{background:#fff;border:1.5px solid #6366f1;border-radius:6px;box-shadow:0 0 0 2px #6366f12e;color:var(--primary);font-size:13px;font-weight:700;height:26px;outline:none;padding:0 2px;text-align:center;width:38px}.product-qty-error-badge{animation:qty-err-pop .2s ease-out;background:#fee2e2;border:1px solid #fca5a5;border-radius:4px;color:#ef4444;display:inline-block;font-size:11px;font-weight:800;margin-top:4px;padding:2px 6px}@keyframes qty-err-pop{0%{opacity:0;transform:translateY(-4px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.qty-btn-sm{align-items:center;border-radius:6px;color:var(--text-secondary);display:flex;height:28px;justify-content:center;transition:all var(--transition);width:28px}.qty-btn-sm:hover:not(:disabled){background:var(--primary-soft);color:var(--primary)}.qty-btn-sm:disabled{cursor:not-allowed;opacity:.3}.qty-val{min-width:24px;text-align:center}.add-btn,.qty-val{font-size:13px;font-weight:600}.add-btn{align-items:center;background:var(--primary);border-radius:var(--radius-sm);box-shadow:4px 4px 10px #5b4ff533,-2px -2px 6px #ffffff4d;color:#fff;display:flex;flex:1 1;gap:6px;justify-content:center;padding:9px 16px;transition:all var(--transition)}.add-btn:hover{background:var(--primary-hover);transform:translateY(-1px)}.add-btn:disabled{box-shadow:none;cursor:not-allowed;opacity:.4;transform:none}.added-btn{background:var(--success);box-shadow:4px 4px 10px #16a34a33,-2px -2px 6px #ffffff4d}.added-btn:hover{background:#15803d}.order-panel{flex-shrink:0;width:370px}.order-panel-inner{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);display:flex;flex-direction:column;max-height:calc(100vh - var(--header-h) - var(--gap)*2);overflow:hidden;position:-webkit-sticky;position:sticky;top:calc(var(--header-h) + var(--gap))}.order-panel-header{align-items:center;border-bottom:1px solid var(--border);display:flex;flex-shrink:0;justify-content:space-between;padding:16px}.order-title{align-items:center;display:flex;gap:8px}.order-title h2{font-size:16px;font-weight:700}.order-count{align-items:center;background:#ecfdf3;border:1px solid #9edbb4;border-radius:7px;color:#137a3b;display:inline-flex;gap:4px;height:30px;justify-content:center;min-width:58px;padding:0 9px;white-space:nowrap}.order-count strong{font-size:14px;font-weight:800}.order-count small{font-size:9px;font-weight:700;text-transform:uppercase}.order-header-actions{align-items:center;display:flex;gap:10px;justify-content:flex-end}.customer-fields{display:flex;flex-direction:column;flex-shrink:0;gap:8px;padding:12px 16px}.field{align-items:center;display:flex;position:relative}.field-icon{color:var(--text-muted);left:14px;pointer-events:none;position:absolute}.field .clay-input{padding-left:40px}.order-items-scroll{flex:1 1;overflow-y:auto;padding:8px}.cart-item{border-bottom:1px solid var(--border);display:flex;gap:10px;padding:10px 8px}.cart-item:last-child{border-bottom:none}.cart-item-compact{padding:8px 4px}.cart-item-thumb{background:var(--bg);border-radius:var(--radius-sm);flex-shrink:0;height:48px;overflow:hidden;position:relative;width:48px}.cart-item-thumb img{height:100%;object-fit:cover;width:100%}.cart-item-view-btn{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#ffffffeb;border:1px solid #ffffffe0;border-radius:5px;bottom:2px;color:#5548e8;cursor:pointer;display:grid;height:21px;place-items:center;position:absolute;right:2px;width:21px;z-index:2}.cart-item-view-btn:hover{background:#5b4ff5;color:#fff}.cart-item-info{flex:1 1;min-width:0}.cart-item-header{margin-bottom:4px}.cart-item-name{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-item-code{color:var(--text-muted);font-size:11px}.cart-item-details{align-items:center;display:flex;gap:8px}.cart-item-unit{color:var(--text-secondary);font-size:12px;min-width:50px}.cart-qty{align-items:center;background:var(--bg);border-radius:6px;box-shadow:var(--shadow-pressed-sm);display:flex;gap:2px}.cart-item-total{font-size:13px;font-weight:700;margin-left:auto;min-width:60px;text-align:right}.cart-remove-btn{border-radius:6px;color:var(--text-muted);display:flex;padding:4px;transition:all var(--transition)}.cart-remove-btn:hover{background:var(--danger-light);color:var(--danger)}.order-options{border-top:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;gap:8px;padding:12px 16px}.gst-select{font-size:13px;padding:8px 12px}.discount-fields{display:flex;gap:8px}.discount-fields input,.discount-fields select{flex:1 1;font-size:13px;padding:8px 12px}.bill-summary{flex-shrink:0;margin:0 16px 12px;padding:14px 16px}.bill-summary-compact{border-radius:var(--radius-md);margin:0}.summary-row{align-items:center;color:var(--text-secondary);display:flex;font-size:13px;justify-content:space-between;padding:4px 0}.summary-row.discount-row{color:var(--success)}.subtotal-prices{align-items:baseline;display:inline-flex;gap:8px;justify-content:flex-end;white-space:nowrap}.subtotal-prices del{color:#3f4b60;font-size:11px;font-weight:500;-webkit-text-decoration-color:#d84248;text-decoration-color:#d84248;text-decoration-thickness:1.5px}.subtotal-prices span{color:#172033;font-size:13px;font-weight:800}.summary-divider{background:var(--border);height:1px;margin:8px 0}.grand-total{color:var(--text);font-size:16px;font-weight:700}.grand-amount{color:var(--primary)}.payment-methods{flex-shrink:0;padding:12px 16px}.payment-methods-compact{padding:0 16px 12px}.payment-label{color:var(--text-secondary);font-size:13px;font-weight:600;margin-bottom:8px}.payment-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.payment-card{align-items:center;background:var(--surface);border:2px solid #0000;border-radius:var(--radius-md);box-shadow:var(--shadow-raised-sm);color:var(--text-secondary);cursor:pointer;display:flex;flex-direction:column;font-size:12px;font-weight:500;gap:6px;padding:12px 8px;position:relative;transition:all var(--transition)}.payment-card:hover{box-shadow:var(--shadow-raised);transform:translateY(-1px)}.payment-card.active{background:var(--primary-soft);border-color:var(--primary);box-shadow:var(--shadow-raised-sm);color:var(--primary);font-weight:600}.payment-check{color:var(--primary);position:absolute;right:6px;top:6px}.payment-label-text{text-transform:capitalize}.process-btn{flex-shrink:0;font-size:15px;font-weight:700;margin:12px 16px 16px;padding:14px}.mobile-cart-bar{align-items:center;background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;bottom:0;box-shadow:var(--shadow-sticky);cursor:pointer;display:none;justify-content:space-between;left:0;padding:12px 16px;position:fixed;right:0;z-index:200}.cart-bar-left{align-items:center;display:flex;font-size:14px;font-weight:600;gap:8px}.cart-bar-sep{color:var(--text-muted)}.cart-bar-total{color:var(--primary)}.cart-bar-btn{font-size:13px;padding:8px 20px}.category-drawer-overlay{align-items:flex-start;padding-top:60px}.category-drawer{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-modal);max-height:70vh;overflow-y:auto;padding:16px;width:280px}.drawer-title{border-bottom:1px solid var(--border);font-size:16px;font-weight:700;margin-bottom:12px;padding-bottom:8px}.drawer-item{align-items:center;border-radius:var(--radius-sm);color:var(--text-secondary);display:flex;font-size:14px;font-weight:500;justify-content:space-between;padding:12px 16px;text-align:left;transition:all var(--transition);width:100%}.drawer-item:hover{background:var(--primary-soft);color:var(--primary)}.drawer-item.active{background:var(--primary);color:#fff;font-weight:600}.drawer-item.has-cart-items:not(.active){background:#ecfdf3;border:1px solid #9edbb4;color:#137a3b;font-weight:700}.drawer-count{background:var(--bg);border-radius:8px;color:var(--text-muted);font-size:12px;padding:2px 8px}.drawer-item.active .drawer-count{background:#fff3;color:#fff}.confirm-modal{animation:slideUp .3s ease;max-width:400px;padding:32px 24px 24px;text-align:center;width:100%}.confirm-modal-overlay{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#161b3347}.confirm-modal-overlay .confirm-actions .clay-btn,.confirm-modal-overlay .confirm-modal{box-shadow:none}.confirm-icon{color:var(--warning);margin-bottom:12px}.confirm-modal h3{font-size:18px;margin-bottom:8px}.confirm-modal p{color:var(--text-secondary);font-size:14px;margin-bottom:24px}.confirm-actions{display:flex;gap:12px;justify-content:center}.confirm-actions .clay-btn{min-width:120px}@media (max-width:1399px){.billing-workspace{grid-template-columns:180px 1fr 340px}.order-panel{width:340px}.order-panel-inner{max-height:calc(100vh - var(--header-h) - var(--gap)*2)}}@media (max-width:1199px){.billing-workspace{gap:16px;grid-template-columns:160px 1fr 300px;padding:16px}.order-panel{width:300px}.order-panel-inner{max-height:calc(100vh - var(--header-h) - 32px)}}@media (max-width:991px){.billing-workspace{gap:16px;grid-template-columns:1fr;padding:16px}.category-sidebar{display:none}.category-chips{display:flex}.order-panel{display:none;height:100vh;padding:16px;position:fixed;right:0;top:0;width:360px;z-index:300}.order-panel.open{display:block}.order-panel-inner{border-radius:var(--radius-lg);height:100%;max-height:calc(100vh - 32px)}.product-area{min-height:auto}.mobile-cart-bar{display:flex}.billing-page{padding-bottom:var(--cart-bar-h)}}@media (max-width:767px){.app-header{height:auto;padding:8px 12px}.header-inner{flex-wrap:wrap;gap:8px}.header-left{width:auto}.header-center{flex-basis:100%;max-width:100%;order:3}.header-right{gap:4px}.desktop-only{display:none}.menu-toggle{display:flex}.brand-name{font-size:16px}.billing-workspace{gap:12px;padding:12px}.product-grid{gap:10px}.product-card{border-radius:var(--radius-sm)}.product-card-inner{min-height:80px}.product-image-wrap{border-radius:var(--radius-sm) 0 0 var(--radius-sm);min-height:90px;width:90px}.out-of-stock-overlay span{border-radius:6px;font-size:9px;padding:3px 8px;transform:none}.out-of-stock-overlay{background:#00000059;border-radius:var(--radius-sm) 0 0 var(--radius-sm)}.product-name{font-size:13px}.discounted-price{font-size:14px}.product-info{padding:10px 12px}.product-actions{gap:6px;padding:10px 10px 10px 2px}.product-actions .add-btn{font-size:12px;padding:7px 12px}.product-actions .qty-btn{height:28px;width:28px}.mobile-cart-bar{border-radius:var(--radius-md) var(--radius-md) 0 0;padding:10px 14px}.billing-page{padding-bottom:calc(var(--cart-bar-h) + 4px)}.category-chips{padding:4px 0}.chip{font-size:12px;padding:8px 14px}}@media (max-width:479px){.brand-name{font-size:14px}.search-input{font-size:13px;padding:8px 12px 8px 36px}.search-icon{height:16px;left:10px;width:16px}.product-grid{gap:8px}.product-image-wrap{min-height:76px;width:76px}.product-info{gap:1px;padding:8px 10px}.product-actions{gap:4px;padding:8px 8px 8px 2px}.product-name{font-size:12px}.discounted-price{font-size:13px}.original-price{font-size:11px}.product-code{font-size:10px}.product-package{font-size:11px}.product-stock{font-size:10px}.add-btn{font-size:11px;padding:6px 10px}.qty-btn{height:26px;width:26px}.qty-value{font-size:12px;min-width:20px}.discount-badge{font-size:9px;left:4px;padding:2px 6px;top:4px}.out-of-stock-overlay span{font-size:8px;padding:2px 6px}.order-panel{padding:0;width:100%}.order-panel-inner{border-radius:0;max-height:100vh}}.billing-page{--header-h:88px;background:#f3f5f8;min-height:100vh}.billing-page .app-header{background:#0000;box-shadow:none;height:var(--header-h);padding:14px 16px 0}.billing-page .header-inner{background:#fff;border:1px solid #e6eaf0;border-radius:22px;box-shadow:0 8px 24px #262e440d;gap:18px;max-width:none;padding:0 18px}.billing-page .header-left{min-width:250px}.billing-page .header-center{max-width:560px}.billing-page .search-input{background:#f6f7f9;border:1px solid #e2e7ef;border-radius:7px;box-shadow:none;color:#172033;font-size:15px;height:48px;padding:0 44px}.billing-page .search-input:focus{background:#fff;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}.billing-page .search-icon{color:#808aa0}.billing-page .header-right{gap:18px;justify-content:flex-end;min-width:250px}.billing-page .brand{align-items:flex-end;display:flex;flex-direction:column;gap:2px}.billing-page .brand-name{color:#1b2538;font-size:15px;font-weight:800}.billing-page .close-shift{color:#e5484d;font-size:11px;font-weight:700;line-height:1.2;text-decoration:underline}.billing-page .header-divider{background:#e4e8ef;height:34px;width:1px}.billing-page .logout-btn{background:#fff5f4;border:1px solid #f2b9ba;border-radius:12px;color:#ef4444;display:grid;height:46px;place-items:center;transition:background .2s ease,color .2s ease;width:46px}.billing-page .logout-btn:hover{background:#ef4444;color:#fff}.billing-page .orders-btn{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--text-secondary);display:flex;font-size:13px;font-weight:600;gap:6px;height:40px;padding:0 14px;transition:all .2s ease}.billing-page .orders-btn:hover{background:var(--primary-light);border-color:var(--primary);color:var(--primary)}.billing-page .billing-workspace{gap:14px;grid-template-columns:280px minmax(580px,1fr) 400px;max-width:none;min-height:calc(100vh - var(--header-h));padding:14px 16px 16px}.billing-page .category-sidebar,.billing-page .order-panel-inner{background:#fff;border:1px solid #e5e9f0;border-radius:10px;box-shadow:0 5px 18px rgba(38,46,68,.045);height:calc(100vh - var(--header-h) - 30px);max-height:none;top:calc(var(--header-h) + 14px)}.billing-page .category-header{align-items:center;border-bottom:1px solid #e8ebf1;display:flex;height:56px;padding:0 18px}.billing-page .category-header h2{color:#172033;font-size:16px;font-weight:700;letter-spacing:0;text-transform:none}.billing-page .category-search-wrap{border-bottom:1px solid #e8ebf1;padding:10px 12px}.billing-page .category-search-box{align-items:center;background:#f7f8fa;border:1px solid #dde2ea;border-radius:7px;color:#818ca1;display:flex;gap:8px;height:38px;padding:0 9px}.billing-page .category-search-box:focus-within{background:#fff;border-color:#5b4ff5;box-shadow:0 0 0 3px #5b4ff51a}.billing-page .category-search-box input{background:#0000;border:0;color:#172033;font-size:11px;min-width:0;outline:0;width:100%}.billing-page .category-search-box input::-webkit-search-cancel-button{display:none}.billing-page .category-search-box button{border-radius:5px;color:#7d879b;display:grid;flex:0 0 auto;height:24px;place-items:center;width:24px}.billing-page .category-search-box button:hover{background:#eceef3;color:#172033}.billing-page .category-search-empty{color:#929bad;font-size:11px;padding:24px 8px;text-align:center}.billing-page .category-drawer .category-search-box{margin-bottom:10px}.billing-page .category-list{padding:8px 12px}.billing-page .category-item{border:0;border-bottom:1px solid #e6eaf0;border-radius:0;color:#526078;gap:8px;margin:0;min-height:48px;padding:11px 8px}.billing-page .category-item:last-child{border-bottom-color:#0000}.billing-page .category-item:hover{background:#f7f8fb;border-bottom-color:#d8dde7}.billing-page .category-item.active{background:#f0efff;border:1px solid #dcd9ff;border-radius:7px;box-shadow:none;color:#5548e8;margin:4px 0}.billing-page .category-name{font-size:13px;font-weight:600;line-height:1.35}.billing-page .category-count{border-radius:5px;min-width:28px;padding:3px 7px;text-align:center}.billing-page .category-item.active .category-count{background:#fff;color:#5548e8}.billing-page .category-item.has-cart-items:not(.active){background:#ecfdf3;border:1px solid #9edbb4;border-radius:7px;box-shadow:inset 3px 0 0 #159447;color:#137a3b;margin:3px 0}.billing-page .category-item.has-cart-items:not(.active) .category-count{background:#fff;border-color:#bde8cc;color:#137a3b}.billing-page .category-chips .chip{gap:8px;padding-inline:14px}.billing-page .product-area{gap:10px;min-height:0;min-width:0;position:relative}.billing-page .category-loader{animation:category-loader-in .15s ease-out;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#f8f9fcf0;border:1px solid #e1e5eee6;border-radius:10px;position:absolute;z-index:30}.billing-page .billing-entry-loader,.billing-page .category-loader{align-items:center;color:#172033;display:flex;flex-direction:column;inset:0;justify-content:center;text-align:center}.billing-page .billing-entry-loader{animation:category-loader-in .18s ease-out;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#f4f7fcdb;position:fixed;z-index:500}.billing-page .billing-entry-loader strong{font-size:20px;font-weight:800;margin-top:14px}.billing-page .billing-entry-loader>span:last-child{color:#68758d;font-size:13px;font-weight:600;margin-top:6px}.billing-page .cart-item-thumb img{object-fit:contain;padding:2px}.billing-page .category-loader strong{font-size:15px;font-weight:800;margin-top:17px}.billing-page .category-loader>span:last-child{color:#7c879c;font-size:11px;margin-top:4px}.billing-page .diwali-loader-art{height:88px;position:relative;width:104px}.billing-page .diya-glow{animation:diya-glow .72s ease-in-out infinite alternate;background:#f59e0b2e;border-radius:50%;bottom:9px;filter:blur(8px);height:24px;width:76px}.billing-page .diya-bowl,.billing-page .diya-glow{left:50%;position:absolute;transform:translateX(-50%)}.billing-page .diya-bowl{background:#f05a28;border-radius:7px 7px 34px 34px;bottom:13px;box-shadow:inset 0 -7px 0 #d9481c,0 5px 12px #d9481c33;height:28px;width:64px;z-index:2}.billing-page .diya-bowl:after{background:#ffb020;border-radius:50%;content:"";height:5px;left:8px;position:absolute;right:8px;top:7px}.billing-page .diya-flame{animation:diya-flame .46s ease-in-out infinite alternate;background:#ffb020;border-radius:70% 30% 64% 36%;bottom:38px;box-shadow:inset 0 -10px 0 #ff6b22,0 0 16px #ffb0208c;height:32px;left:50%;position:absolute;transform:translateX(-50%) rotate(7deg);transform-origin:50% 100%;width:18px;z-index:3}.billing-page .spark{animation:festive-spark .62s ease-out infinite;background:#5b4ff5;border-radius:50%;box-shadow:0 0 7px currentColor;height:5px;position:absolute;width:5px}.billing-page .spark-one{color:#5b4ff5;left:16px;top:15px}.billing-page .spark-two{animation-delay:.14s;color:#ef4444;right:19px;top:8px}.billing-page .spark-three{animation-delay:.28s;color:#16a34a;left:5px;top:39px}.billing-page .spark-four{animation-delay:.41s;color:#f59e0b;right:5px;top:37px}@keyframes category-loader-in{0%{opacity:0}to{opacity:1}}@keyframes diya-flame{0%{transform:translateX(-50%) rotate(-6deg) scale(.94)}to{transform:translateX(-50%) rotate(7deg) scale(1.06)}}@keyframes diya-glow{0%{opacity:.55;transform:translateX(-50%) scale(.88)}to{opacity:1;transform:translateX(-50%) scale(1.08)}}@keyframes festive-spark{0%{opacity:0;transform:scale(.4)}35%{opacity:1;transform:scale(1.35)}to{opacity:0;transform:scale(.3)}}@media (prefers-reduced-motion:reduce){.billing-page .category-loader,.billing-page .diya-flame,.billing-page .diya-glow,.billing-page .spark{animation:none}}.billing-page .product-card.product-focus-highlight{animation:product-focus-pulse 1.8s ease both;position:relative;z-index:4}@keyframes product-focus-pulse{0%{border-color:#f59e0b4d;box-shadow:0 0 0 0 #f59e0b00}22%,68%{background:#fffaf0;border-color:#f59e0b;box-shadow:0 0 0 4px #f59e0b33,0 8px 20px #b4530929;transform:translateY(-2px)}to{border-color:#1594476b;box-shadow:0 0 0 0 #f59e0b00;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.billing-page .product-card.product-focus-highlight{animation:none;background:#fffaf0;border-color:#f59e0b}}.billing-page .product-table{min-width:0}.billing-page .product-card-inner,.billing-page .product-table-head{align-items:stretch;display:grid;grid-template-columns:112px minmax(280px,42%) 86px 104px 120px minmax(180px,1fr)}.billing-page .product-table-head{background:#f1f3f6;border:1px solid #e4e8ef;border-radius:8px;box-shadow:0 4px 14px #262e440a;color:#3d4960;gap:0;margin:0 8px 10px 2px;min-height:72px;overflow:hidden;padding:0}.billing-page .product-table-head>span{align-items:center;background:#f1f3f6;border-radius:0;border-right:1px solid #fff;display:flex;font-size:12px;font-weight:700;gap:6px;justify-content:center;min-width:0;padding:8px;text-align:center}.billing-page .product-table-head>span:last-child{border-right:0}.billing-page .product-table-head .head-label>svg,.billing-page .product-table-head>span>svg{stroke-width:2;color:#5b4ff5;flex:0 0 auto}.billing-page .product-table-head .head-label>strong,.billing-page .product-table-head>span>strong{font-size:11px;line-height:1.25}.billing-page .product-table-head .product-head-name{flex-direction:column;gap:3px}.billing-page .product-head-name .head-label{align-items:center;display:flex;gap:6px;justify-content:center}.billing-page .product-head-name small{color:#808aa0;font-size:10px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-page .product-grid{gap:9px;max-height:calc(100vh - var(--header-h) - 110px);overflow-y:auto;padding:0 2px 18px;scrollbar-gutter:stable}.billing-page .product-card{background:#fff;border:1px solid #e5e9f0;border-radius:8px;box-shadow:0 3px 12px rgba(38,46,68,.035);flex:0 0 auto;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}.billing-page .product-card:hover{border-color:#ccc8ff;box-shadow:0 6px 18px #262e4412}.billing-page .product-card.added{border:1px solid #a9e0bb}.billing-page .product-card-inner{min-height:104px}.billing-page .product-image-wrap{background:#f2f4f7;border-radius:0;border-right:1px solid #edf0f4;min-height:104px;width:auto}.billing-page .product-image{object-fit:cover;padding:0}.billing-page .discount-badge{border-radius:4px;box-shadow:none;left:7px;padding:3px 6px;top:7px}.billing-page .product-info{border-right:1px solid #edf0f4;padding:13px 14px}.billing-page .product-info-top{display:block;margin:0}.billing-page .product-name{color:#172033;font-size:14px;font-weight:800;line-height:1.35;max-width:100%}.billing-page .product-package{background:#f7f8fa;border:1px solid #e3e7ee;border-radius:5px;color:#4e5b72;font-size:11px;font-weight:600;line-height:1.2;margin-top:9px;max-width:100%;padding:5px 7px;width:-webkit-fit-content;width:fit-content}.billing-page .product-package>svg{color:#5b4ff5;flex:0 0 auto}.billing-page .product-package>span{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-page .product-package small{color:#929bad;font-size:8px;font-weight:700;margin-bottom:2px;text-transform:uppercase}.billing-page .product-price-cell,.billing-page .product-stock-cell{align-items:center;border-right:1px solid #edf0f4;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:8px;text-align:center}.billing-page .product-stock-cell strong{color:#13984a;font-size:14px}.billing-page .product-price-cell small,.billing-page .product-stock-cell span{color:#8992a5;font-size:9px;font-weight:500;margin-top:2px;text-decoration:none}.billing-page .product-price-cell{font-size:12px;line-height:1.25}.billing-page .original-price-value{align-items:center;background:#fff5f5;border:1px solid #f3d1d4;border-radius:5px;color:#2f3a4f;display:inline-flex;font-size:12px;font-weight:700;justify-content:center;min-height:26px;padding:3px 8px;-webkit-text-decoration-color:#e32636;text-decoration-color:#e32636;-webkit-text-decoration-line:line-through;text-decoration-line:line-through;text-decoration-thickness:1.5px}.billing-page .discounted-price.product-price-cell{color:#172033;font-size:13px}.billing-page .product-actions{align-items:center;justify-content:center;padding:13px}.billing-page .product-actions .qty-controls{align-items:center;background:#f5f6f8;border:1px solid #e4e7ee;border-radius:8px;box-shadow:none;display:grid;grid-template-columns:40px minmax(32px,1fr) 40px;height:44px;max-width:136px;transition:border-color .2s ease,background .2s ease,color .2s ease;width:100%}.billing-page .product-actions .qty-btn{border-radius:7px;height:42px;width:40px}.billing-page .product-actions .qty-value{cursor:pointer;font-size:15px;font-weight:800;min-width:0}.billing-page .product-actions .qty-controls.active{border-color:#159447;color:#fff}.billing-page .product-actions .qty-controls.active .qty-btn,.billing-page .product-actions .qty-controls.active .qty-value{color:#fff}.billing-page .product-actions .qty-controls.active .qty-btn:hover:not(:disabled){background:#ffffff29;color:#fff}.billing-page .product-actions .qty-controls.active .qty-btn:disabled{opacity:.55}.billing-page .add-btn{background:#5b4ff5;border-radius:6px;box-shadow:none;font-size:12px;min-height:35px;padding:8px 10px}.billing-page .added-btn{background:#159447}.billing-page .order-panel{min-width:0;width:auto}.billing-page .order-panel-inner{overflow:hidden}.billing-page .order-panel-header{min-height:70px;padding:13px 18px}.billing-page .order-title{gap:10px}.billing-page .order-title-icon{background:#f1f0ff;border-radius:8px;color:#5b4ff5;display:grid;height:38px;place-items:center;width:38px}.billing-page .order-title h2{font-size:17px}.billing-page .clear-order-btn{color:#e23d43;font-size:12px;font-weight:700;text-decoration:underline}.billing-page .clear-order-btn:disabled{cursor:default;opacity:.45}.billing-page .customer-fields{grid-gap:10px;border-bottom:1px solid #e8ebf1;display:grid;gap:10px;grid-template-columns:1fr 1fr;padding:12px 18px}.billing-page .customer-field{display:flex;flex-direction:column;gap:5px}.billing-page .customer-field>span{color:#4f5b71;font-size:11px;font-weight:700}.billing-page .customer-fields{position:relative;z-index:25}.billing-page .customer-field:last-child .customer-suggestions{left:auto;right:0}.billing-page .customer-field input{background:#f7f8fa;border:1px solid #e0e5ed;border-radius:6px;color:#172033;font-size:11px;height:36px;min-width:0;outline:none;padding:0 10px;width:100%}.billing-page .customer-field input:focus{background:#fff;border-color:#5b4ff5}.billing-page .customer-field.field-error input{background:#fff5f5;border-color:var(--danger)}.billing-page .field-error-text{color:var(--danger);font-size:10px;font-weight:600;line-height:1.2}.billing-page .cart-item-compact,.billing-page .order-table-head{grid-gap:6px;align-items:center;display:grid;gap:6px;grid-template-columns:40px minmax(56px,.8fr) 48px 54px 92px 32px}.billing-page .order-table-head{border-bottom:1px solid #e7eaf0;color:#6f7a90;font-size:8px;font-weight:700;margin:0 10px;min-height:39px;padding:5px 6px;text-align:center}.billing-page .order-items-scroll{background:#fafbfc;min-height:120px;padding:0 10px;position:relative}.billing-page .order-empty{align-items:center;color:#a3abba;display:flex;flex-direction:column;inset:0;justify-content:center;position:absolute;text-align:center}.billing-page .order-empty svg{margin-bottom:8px;opacity:.55}.billing-page .order-empty strong{color:#69758b;font-size:12px}.billing-page .order-empty span{font-size:10px;margin-top:2px}.billing-page .cart-item-compact{border-bottom:1px solid #eaedf2;min-height:56px;padding:8px 0}.billing-page .cart-item-compact .cart-item-thumb{border-radius:7px;height:38px;overflow:hidden;width:38px}.billing-page .cart-item-compact .cart-item-thumb img{border-radius:inherit;display:block;object-fit:cover;padding:0}.billing-page .cart-item-compact .cart-item-info{overflow:hidden}.billing-page .cart-item-compact .cart-item-name{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#172033;display:-webkit-box;font-size:11px;font-weight:700;line-height:1.3;overflow:hidden;white-space:normal}.billing-page .cart-item-compact .cart-item-total,.billing-page .cart-item-compact .cart-item-unit{font-size:10px;margin:0;min-width:0;text-align:center}.billing-page .cart-item-compact .cart-item-unit{color:#788399;font-weight:600}.billing-page .cart-item-compact .cart-item-total{color:#5548e8;font-size:11px;font-weight:800}.billing-page .cart-item-compact .cart-qty{background:#fff;border:1px solid #e2e6ed;border-radius:7px;box-shadow:none;display:grid;font-size:11px;font-weight:700;grid-template-columns:32px 24px 32px;height:34px;text-align:center}.billing-page .cart-item-compact .cart-qty button{border-radius:6px;color:#536078;display:grid;height:32px;place-items:center;width:32px}.billing-page .cart-item-compact .cart-qty button:hover:not(:disabled){background:#efefff;color:#5548e8}.billing-page .cart-item-compact .cart-qty button:disabled{opacity:.35}.billing-page .cart-item-compact .cart-remove-btn{background:#fff7f7;border:1px solid #f1d4d6;border-radius:7px;display:grid;height:32px;padding:0;place-items:center;position:static;width:32px}.billing-page .cart-item-compact .cart-remove-btn:hover{background:#e5484d;border-color:#e95b60;color:#fff}.billing-page .order-summary{background:#fff;border-top:1px solid #e7eaf0;display:flex;flex-direction:column;gap:4px;padding:8px 12px 6px}.billing-page .summary-row{align-items:center;color:#5d6980;display:flex;font-size:11px;gap:6px;justify-content:space-between}.billing-page .summary-row strong{color:#526078;font-weight:600}.billing-page .summary-check{align-items:center;cursor:pointer;display:flex;gap:5px}.billing-page .summary-check input{accent-color:#5b4ff5}.billing-page .summary-check small{color:#929aac;font-size:9px}.billing-page .discount-percentage{align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:6px;display:flex;height:28px;justify-content:space-between;min-width:58px;overflow:hidden;padding:0 6px;transition:all .2s ease}.billing-page .discount-percentage:focus-within{border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.billing-page .discount-percentage input{background:#0000;border:0;color:#0f172a;flex:1 1;font-size:13px;font-weight:800;height:100%;min-width:0;outline:0;padding:0;text-align:center;width:100%}.billing-page .discount-percentage span{color:#64748b;flex:0 0 auto;font-size:12px;font-weight:700;-webkit-user-select:none;user-select:none}.billing-page .other-discount-input{min-width:64px}.billing-page .other-discount-control{align-items:center;display:flex;gap:5px}.discount-type-toggle{align-items:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;display:flex;gap:1px;padding:1.5px}.discount-toggle-btn{align-items:center;background:#0000;border:0;border-radius:4px;color:#64748b;cursor:pointer;display:inline-flex;font-size:11px;font-weight:800;height:23px;justify-content:center;min-width:23px;padding:0 6px;transition:all .2s ease}.discount-toggle-btn:hover:not(.active){background:#fff9;color:#1e293b}.discount-toggle-btn.active{background:#6366f1;box-shadow:0 1px 3px #6366f159;color:#fff}.billing-page .discount-deduction,.billing-page .discount-deduction strong{color:#159447!important}.billing-page .order-summary .summary-divider{margin:7px 0}.billing-page .order-summary .grand-total{color:#172033;font-size:16px;min-height:36px}.billing-page .order-summary .grand-total strong{color:#172033;font-size:20px}.billing-page .payment-methods-compact{padding:0 18px 12px}.billing-page .payment-methods-compact .payment-grid{gap:9px;grid-template-columns:repeat(3,1fr)}.billing-page .payment-methods-compact .payment-card{background:#fff;border:1px solid #e4e8ef;border-radius:8px;box-shadow:none;font-size:10px;font-weight:700;gap:4px;min-height:64px;padding:8px 5px}.billing-page .payment-methods-compact .payment-card.active{color:#fff}.billing-page .payment-methods-compact .payment-check{color:inherit;right:4px;top:4px;width:12px}.billing-page .process-btn{align-items:center;background:#5b4ff5;border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:13px;font-weight:800;gap:8px;justify-content:center;margin:0 18px 16px;min-height:52px;width:calc(100% - 36px)}.billing-page .process-btn:disabled{background:#eef1f5;color:#99a7ba;cursor:not-allowed}@media (max-width:1399px){.billing-page .billing-workspace{grid-template-columns:230px minmax(0,1fr) 340px}.billing-page .header-left,.billing-page .header-right{min-width:210px}.billing-page .product-card-inner,.billing-page .product-table-head{grid-template-columns:96px minmax(170px,1fr) 60px 74px 84px 132px}.billing-page .product-table-head{gap:0}.billing-page .product-actions{min-width:0;padding:10px 7px}.billing-page .product-actions .qty-controls{grid-template-columns:34px minmax(28px,1fr) 34px;max-width:118px}.billing-page .product-actions .qty-btn{width:34px}.billing-page .cart-item-compact,.billing-page .order-table-head{grid-template-columns:42px minmax(72px,1fr) 54px 88px 32px}.billing-page .cart-item-compact .cart-item-unit,.billing-page .order-table-head>span:nth-child(3){display:none}}@media (max-width:1120px){.billing-page .billing-workspace{grid-template-columns:190px minmax(430px,1fr) 320px}.billing-page .header-left,.billing-page .header-right{min-width:170px}.billing-page .category-name{font-size:11px}.billing-page .product-card-inner,.billing-page .product-table-head{grid-template-columns:80px minmax(150px,1fr) 58px 76px 84px 126px}.billing-page .product-actions{padding:10px 8px}.billing-page .product-actions .qty-controls{grid-template-columns:34px minmax(28px,1fr) 34px}.billing-page .product-actions .qty-btn{width:34px}.billing-page .cart-item-compact,.billing-page .order-table-head{gap:4px;grid-template-columns:38px minmax(56px,1fr) 50px 78px 30px}.billing-page .cart-item-compact .cart-qty{grid-template-columns:28px 22px 28px}.billing-page .cart-item-compact .cart-qty button{width:28px}.billing-page .cart-item-compact .cart-remove-btn{width:30px}}@media (max-width:991px){.billing-page .app-header{height:auto;padding:10px 12px 0}.billing-page .header-inner{min-height:64px}.billing-page .header-left{min-width:42px}.billing-page .header-right{min-width:auto}.billing-page .billing-workspace{grid-template-columns:1fr;padding:12px}.billing-page .category-sidebar,.billing-page .order-panel{display:none}.billing-page .category-chips{display:flex}.billing-page .product-grid{max-height:none;overflow:visible}}@media (max-width:767px){.billing-page .header-inner{border-radius:12px;flex-wrap:wrap;padding:10px}.billing-page .header-center{flex-basis:100%;order:3}.billing-page .header-right{margin-left:auto}.billing-page .brand{align-items:flex-end}.billing-page .brand-name{font-size:13px}.billing-page .header-divider{display:none}.billing-page .logout-btn{height:38px;width:38px}.billing-page .product-table-head{display:none}.billing-page .product-card-inner{display:grid;grid-template-columns:86px minmax(0,1fr) 116px;min-height:92px}.billing-page .product-image-wrap{min-height:92px}.billing-page .product-info{padding:10px}.billing-page .product-price-cell.original-price,.billing-page .product-stock-cell{display:none}.billing-page .discounted-price.product-price-cell{border:0;bottom:9px;display:block;left:96px;padding:0;position:absolute;text-align:left}.billing-page .discounted-price.product-price-cell small{margin-left:5px}.billing-page .product-card{position:relative}.billing-page .product-package{margin-top:3px}.billing-page .product-actions{grid-column:3;padding:10px 8px}}@media (max-width:480px){.billing-page .product-card-inner{grid-template-columns:72px minmax(0,1fr) 96px}.billing-page .product-image-wrap{min-height:86px}.billing-page .product-info{padding:8px}.billing-page .product-name{font-size:11px}.billing-page .product-package{font-size:9px}.billing-page .discounted-price.product-price-cell{bottom:7px;font-size:11px;left:80px}.billing-page .product-actions{padding:8px 6px}.billing-page .product-actions .qty-controls{grid-template-columns:28px minmax(24px,1fr) 28px;height:38px}.billing-page .product-actions .qty-btn{height:36px;width:28px}.billing-page .product-add-btn{font-size:10px;height:38px;padding-inline:6px}.billing-page .add-btn{font-size:10px;min-height:31px}}.billing-page{background:var(--bg)}.billing-page .category-sidebar,.billing-page .header-inner,.billing-page .order-panel-inner{background:var(--surface);border:1px solid #ffffffc7;box-shadow:var(--shadow-card)}.billing-page .category-search-box,.billing-page .customer-field input,.billing-page .discount-percentage,.billing-page .search-input{background:var(--bg);border-color:#ffffff9e;box-shadow:var(--shadow-pressed-sm)}.billing-page .category-search-box:focus-within,.billing-page .customer-field input:focus,.billing-page .search-input:focus{background:var(--surface);border-color:#5b4ff573;box-shadow:var(--shadow-pressed-sm),0 0 0 2px #5b4ff529}.billing-page .logout-btn,.billing-page .order-title-icon{border-color:#ffffffb3;box-shadow:var(--shadow-raised-sm)}.billing-page .category-item:hover{background:var(--surface);box-shadow:var(--shadow-raised-sm)}.billing-page .category-item.active{background:#eeecff;border-color:#5b4ff533;box-shadow:4px 4px 9px #97a0b833,-4px -4px 9px #ffffffd1}.billing-page .category-count,.billing-page .category-item.active .category-count{background:var(--bg);border:1px solid #ffffff9e;box-shadow:var(--shadow-pressed-sm)}.billing-page .product-table-head{background:var(--surface);border-color:#ffffffc7;box-shadow:var(--shadow-raised-sm)}.billing-page .product-table-head>span{background:var(--bg);border-right-color:#ffffffb8;box-shadow:var(--shadow-pressed-sm)}.billing-page .product-card{background:var(--surface);border-color:#ffffffc7;box-shadow:5px 5px 11px #97a0b833,-5px -5px 11px #ffffffd1}.billing-page .product-card:hover{border-color:#5b4ff533;box-shadow:var(--shadow-raised)}.billing-page .product-card.added{border-color:#1594476b;box-shadow:5px 5px 12px #97a0b833,-5px -5px 12px #ffffffd6,0 0 0 1px #1594471a}.billing-page .order-items-scroll,.billing-page .product-image-wrap,.billing-page .product-package{background:var(--bg);box-shadow:var(--shadow-pressed-sm)}.billing-page .product-package{border-color:#ffffff9e}.billing-page .product-actions .qty-controls{background:var(--bg);border-color:#ffffffa3;box-shadow:var(--shadow-pressed-sm)}.billing-page .product-actions .qty-btn:hover:not(:disabled){background:var(--surface);box-shadow:var(--shadow-raised-sm)}.billing-page .product-actions .qty-controls.active{background:#159447;border-color:#159447b3;box-shadow:4px 4px 10px #1594473d,-3px -3px 8px #ffffffbd}.billing-page .cart-item-compact .cart-qty,.billing-page .cart-item-compact .cart-remove-btn,.billing-page .payment-methods-compact .payment-card{background:var(--surface);border-color:#ffffffb3;box-shadow:var(--shadow-raised-sm)}.billing-page .cart-item-compact .cart-qty{box-shadow:var(--shadow-pressed-sm)}.billing-page .cart-item-compact .cart-remove-btn{background:#fff4f5;color:#d84248}.billing-page .order-summary{background:var(--surface)}.billing-page .payment-methods-compact .payment-card.active{background:#5b4ff5;border-color:#5b4ff5;box-shadow:5px 5px 11px #5b4ff542,-4px -4px 10px #ffffffc7}.billing-page .process-btn{box-shadow:6px 6px 13px #5b4ff547,-5px -5px 12px #ffffffd1}.billing-page .process-btn:disabled{background:var(--bg-alt);box-shadow:var(--shadow-pressed-sm)}.billing-page .category-loader{background:#f3f6fbf2;border-color:#ffffffc2;box-shadow:var(--shadow-card)}.billing-page .header-left{min-width:220px}.billing-page .brand,.billing-page .brand-stacked{align-items:center;display:flex;justify-content:center;padding:4px 0}.billing-page .header-brand-stacked-img{filter:drop-shadow(0 1px 2px rgba(0,0,0,.04));height:48px;max-width:220px}.billing-page .header-brand-stacked-img,.billing-page .header-logo-top{display:block;object-fit:contain;object-position:left center;width:auto}.billing-page .header-logo-top{height:25px;max-width:170px}.billing-page .brand-mark{align-items:center;background:var(--surface);border-radius:10px;box-shadow:var(--shadow-raised-sm);display:flex;flex:0 0 auto;height:42px;justify-content:center;overflow:hidden;width:42px}.billing-page .header-logo{border-radius:8px;height:100%;object-fit:contain;padding:2px;transform:scale(1);width:100%}.billing-page .brand-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.1;margin-top:1px}.billing-page .brand-name{color:#172033;font-size:19px;font-weight:850;letter-spacing:-.3px}.billing-page .brand-copy small{color:#78849b;font-size:11px;font-weight:700;letter-spacing:.6px;margin-top:1px;text-transform:uppercase}.billing-page .header-center{max-width:620px}.billing-page .header-right{gap:12px;min-width:390px}.billing-page .shift-summary{align-items:center;display:flex;gap:12px;padding-right:2px}.billing-page .shift-state{align-items:center;color:#168247;display:flex;font-size:10px;font-weight:800;gap:6px;white-space:nowrap}.billing-page .shift-state i{background:#18a957;border-radius:50%;box-shadow:0 0 0 4px #18a9571c;height:7px;width:7px}.billing-page .shift-time{display:flex;flex-direction:column;line-height:1.15}.billing-page .shift-time strong{color:#273248;font-size:12px;font-weight:800}.billing-page .shift-time small{color:#8a94a7;font-size:9px;margin-top:2px;white-space:nowrap}.billing-page .close-shift{align-items:center;background:var(--surface);border:1px solid #ffffffb8;border-radius:8px;box-shadow:var(--shadow-raised-sm);color:#d84248;display:inline-flex;font-size:10px;font-weight:800;gap:7px;justify-content:center;line-height:1;min-height:38px;padding:0 12px;text-decoration:none;white-space:nowrap}.billing-page .close-shift:hover{background:#fff2f3;box-shadow:var(--shadow-raised)}@media (max-width:1399px){.billing-page .header-left{min-width:240px}.billing-page .header-right{min-width:330px}.billing-page .shift-time small{display:none}}@media (max-width:1120px){.billing-page .header-left{min-width:190px}.billing-page .header-right{min-width:180px}.billing-page .shift-summary{display:none}}@media (max-width:991px){.billing-page .header-left,.billing-page .header-right{min-width:auto}}@media (max-width:767px){.billing-page .header-brand-stacked-img{height:38px;max-width:160px}.billing-page .brand-mark{height:38px;width:38px}.billing-page .brand-copy small{display:none}.billing-page .close-shift{min-height:38px;padding:0;width:38px}.billing-page .close-shift span,.billing-page .header-divider,.billing-page .orders-btn span{display:none}.billing-page .orders-btn{background:#0000;border:none;height:38px;padding:0 8px}.billing-page .header-inner{flex-wrap:wrap;gap:6px;padding:6px 0}.billing-page .header-center{flex-basis:100%;max-width:100%;order:3}.billing-page .header-right{gap:2px}.billing-page .header-left .brand-copy strong{font-size:14px}}@media (min-width:768px) and (max-width:1279px){.billing-page{padding-bottom:var(--cart-bar-h)}.billing-page .billing-workspace{gap:12px;grid-template-columns:minmax(0,1fr);padding:12px 14px}.billing-page .category-sidebar,.billing-page .order-panel{display:none}.billing-page .category-chips,.billing-page .menu-toggle,.billing-page .mobile-cart-bar{display:flex}.billing-page .product-grid{max-height:none;overflow:visible}.billing-page .product-card-inner,.billing-page .product-table-head{grid-template-columns:96px minmax(220px,1fr) 70px 90px 100px 140px}.billing-page .product-actions{min-width:0;padding:10px 8px}.billing-page .product-actions .qty-controls{grid-template-columns:36px minmax(30px,1fr) 36px;max-width:122px;width:100%}.billing-page .product-actions .qty-btn{width:36px}}@media (max-width:479px){.billing-page .brand-name{font-size:12px}.billing-page .brand-mark{height:34px;width:34px}.billing-page .close-shift,.billing-page .logout-btn{height:34px;min-height:34px;width:34px}}@media (max-width:1279px){.billing-page{min-height:100dvh;padding-bottom:0}.billing-page .billing-workspace{min-height:0}.billing-page .product-area,.billing-page .product-table{height:auto;min-height:0}.billing-page .product-grid{max-height:none;overflow:visible;padding-bottom:calc(var(--cart-bar-h) + 14px);scrollbar-gutter:auto}.billing-page .category-loader{border:0;border-radius:0;height:100dvh;inset:0;min-height:100dvh;padding:20px;position:fixed;width:100%;z-index:700}}@media (max-width:767px){.billing-page .category-loader strong{font-size:14px;line-height:1.35;max-width:90vw}.billing-page .category-loader>span:last-child{font-size:10px}}.billing-page .category-drawer-overlay{align-items:flex-start;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#171e2f33;padding:62px 16px 16px}.billing-page .category-drawer{background:#f5f7fb;border:1px solid #dce2ec;border-radius:12px;box-shadow:0 6px 18px #1922341a;max-height:calc(100dvh - 108px);padding:14px;width:min(296px,calc(100vw - 32px))}.billing-page .category-drawer .drawer-title{border-bottom-color:#dfe4ec;font-size:15px;margin-bottom:10px;padding-bottom:9px}.billing-page .category-drawer .category-search-box{background:#fff;border-color:#dce2eb;box-shadow:none;height:36px;margin-bottom:7px}.billing-page .category-drawer .drawer-item{border-bottom:1px solid #e2e6ed;border-radius:0;font-size:12px;line-height:1.35;min-height:43px;padding:9px 10px;transition:background-color .15s ease,color .15s ease}.billing-page .category-drawer .drawer-item:last-of-type{border-bottom-color:#0000}.billing-page .category-drawer .drawer-item.active,.billing-page .category-drawer .drawer-item.has-cart-items:not(.active){border-radius:8px;margin:3px 0}.billing-page .category-drawer .drawer-item.active{border-bottom-color:#0000;box-shadow:none}.billing-page .category-drawer .drawer-item.has-cart-items:not(.active){border-color:#9edbb4;box-shadow:none}.billing-page .category-drawer .drawer-count{border-radius:6px;font-size:10px;min-width:28px;padding:2px 6px;text-align:center}@media (max-width:767px){.billing-page .product-grid{gap:8px}.billing-page .product-card{background:#f8f9fc;border-color:#dde3ec;border-radius:9px;box-shadow:0 2px 7px #1f2a410f}.billing-page .product-card:hover{box-shadow:0 2px 7px #1f2a410f;transform:none}.billing-page .product-card.added{background:#fbfffc;border-color:#8fd5aa;box-shadow:0 2px 7px #15944714}.billing-page .product-card-inner{grid-template-columns:76px minmax(0,1fr) 92px;min-height:88px}.billing-page .product-image-wrap{background:#111827;border-radius:8px 0 0 8px;box-shadow:none;min-height:88px}.billing-page .product-image{height:100%;object-fit:cover;width:100%}.billing-page .discount-badge{border-radius:5px;box-shadow:none;font-size:8px;left:6px;padding:3px 6px;top:6px}.billing-page .product-info{min-width:0;padding:11px 8px 28px}.billing-page .product-name{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:11px;line-height:1.35;overflow:hidden;text-overflow:ellipsis}.billing-page .product-package{background:#0000;border:0;border-radius:0;box-shadow:none;color:#667188;font-size:9px;font-weight:600;margin-top:6px;max-width:100%;padding:0}.billing-page .product-package>svg{height:11px;width:11px}.billing-page .product-package small{display:none}.billing-page .discounted-price.product-price-cell{bottom:8px;font-size:11px;font-weight:800;left:84px;padding:0}.billing-page .discounted-price.product-price-cell small{display:none}.billing-page .product-actions{border-left:1px solid #e8ecf2;min-width:0;padding:8px 7px}.billing-page .product-actions .qty-controls{border-color:#dde2eb;border-radius:7px;box-shadow:none;grid-template-columns:26px minmax(28px,1fr) 26px;height:38px;width:100%}.billing-page .product-actions .qty-btn{height:36px;padding:0;width:26px}.billing-page .product-actions .qty-btn svg{height:13px;width:13px}.billing-page .product-actions .qty-value{font-size:13px}.billing-page .product-actions .qty-controls.active{border-color:#159447;box-shadow:none}}@media (max-width:359px){.billing-page .product-card-inner{grid-template-columns:70px minmax(0,1fr) 86px}.billing-page .product-image-wrap{min-height:86px}.billing-page .discounted-price.product-price-cell{left:78px}.billing-page .product-actions{padding-inline:6px}.billing-page .product-actions .qty-controls{grid-template-columns:24px minmax(26px,1fr) 24px}.billing-page .product-actions .qty-btn{width:24px}}@media (max-width:767px){.billing-page .app-header{background:#f5f7fb;border-bottom:1px solid #dfe4ec;box-shadow:none;height:auto;padding:0;width:100%}.billing-page .header-inner{background:#f5f7fb;border:0;border-radius:0;box-shadow:none;gap:8px;margin:0;min-height:0;padding:8px 12px 10px;width:100%}.billing-page .header-left{gap:8px}.billing-page .brand-mark,.billing-page .close-shift,.billing-page .logout-btn,.billing-page .menu-toggle{background:#fff;border:1px solid #dfe4ec;box-shadow:none}.billing-page .header-center{max-width:none}.billing-page .search-input{background:#fff;border:1px solid #dfe4ec;border-radius:8px;box-shadow:none;height:44px}.billing-page .search-input:focus{background:#fff;border-color:#5b4ff5;box-shadow:0 0 0 2px #5b4ff51f}.billing-page .billing-workspace{padding:8px 10px 10px}.billing-page .category-drawer-overlay{align-items:stretch;background:#171e2f3d;justify-content:flex-start;padding:0}.billing-page .category-drawer{animation:category-sidebar-in .2s ease-out;border-radius:0 12px 12px 0;border-width:0 1px 0 0;box-shadow:8px 0 20px #1922341f;height:100dvh;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 16px;width:min(304px,86vw)}.billing-page .category-drawer-header{align-items:center;background:#f5f7fb;border-bottom:1px solid #dfe4ec;display:flex;gap:12px;justify-content:space-between;margin:0 -12px;min-height:58px;padding:0 14px;position:-webkit-sticky;position:sticky;top:0;z-index:2}.billing-page .category-drawer .drawer-title{border:0;font-size:15px;margin:0;padding:0}.billing-page .category-drawer-header button{background:#fff;border:1px solid #dce2eb;border-radius:7px;color:#566177;display:grid;flex:0 0 auto;height:34px;place-items:center;width:34px}.billing-page .category-drawer .category-search-box{margin:8px 0 5px;position:-webkit-sticky;position:sticky;top:66px;z-index:1}}@keyframes category-sidebar-in{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.billing-page .category-drawer{animation:none}}@media (max-width:1279px){.billing-page .category-chips{scroll-padding-inline:12px}.billing-page .category-chips .chip.active{background:#5b4ff5;border-color:#5b4ff5;box-shadow:none;color:#fff}.billing-page .category-chips .chip.active .chip-count{background:#fff3;color:#fff}.billing-page .category-chips .chip-focus-pulse{animation:chip-focus-pulse .65s ease-out}}@keyframes chip-focus-pulse{0%{box-shadow:0 0 0 0 #5b4ff559}55%{box-shadow:0 0 0 5px #5b4ff51f}to{box-shadow:0 0 0 0 #5b4ff500}}@media (prefers-reduced-motion:reduce){.billing-page .category-chips .chip-focus-pulse{animation:none}}.billing-page .category-loader{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f1f4f96b;border-color:#0000;box-shadow:none}@media (max-width:767px){.billing-page .product-actions .qty-controls{border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));height:38px;max-width:100%;overflow:hidden;width:78px}.billing-page .product-actions .qty-controls.active{background:#159447;border-color:#12843f;box-shadow:none}.billing-page .product-actions .qty-controls.active .qty-btn{background:#ffffff12;border-radius:0;color:#fff;display:grid;height:100%;opacity:1;place-items:center;width:100%}.billing-page .product-actions .qty-controls.active .qty-btn:first-child{border-right:1px solid #ffffff38}.billing-page .product-actions .qty-controls.active .qty-btn:last-child{border-left:1px solid #ffffff38}.billing-page .product-actions .qty-controls.active .qty-btn svg{stroke-width:2.4;height:14px;width:14px}.billing-page .product-actions .qty-controls.active .qty-value{color:#fff;display:grid;font-size:13px;height:100%;line-height:1;place-items:center}}@media (max-width:359px){.billing-page .product-actions .qty-controls{width:74px}}.billing-page .product-actions .qty-controls.active .qty-btn,.billing-page .product-actions .qty-controls.active .qty-btn:active,.billing-page .product-actions .qty-controls.active .qty-btn:focus,.billing-page .product-actions .qty-controls.active .qty-btn:hover:not(:disabled){box-shadow:none!important;filter:none}.billing-page .cart-item.is-removing{animation:cart-item-remove-left .28s ease-in forwards;pointer-events:none}.billing-page .cart-item .cart-remove-btn:disabled{cursor:not-allowed;opacity:.5}.billing-page .order-remove-toast{align-items:center;animation:order-toast-in .2s ease-out;background:var(--surface);border:1px solid #ffffffd1;border-left:3px solid #159447;border-radius:8px;bottom:auto;box-shadow:5px 5px 12px #97a0b838,-4px -4px 10px #ffffffe0;color:#137a3b;display:flex;font-size:11px;font-weight:700;gap:8px;max-width:320px;min-height:40px;padding:9px 13px;position:fixed;right:22px;top:22px;z-index:800}.billing-page .order-remove-toast>svg{background:#dcfce7;border-radius:50%;color:#159447;flex:0 0 auto;padding:2px}.billing-page .order-remove-toast>span{min-width:0}.billing-page .order-remove-toast>button{background:#eeecff;border:1px solid #c9c4ff;border-radius:6px;color:#5145df;flex:0 0 auto;font-size:10px;font-weight:800;margin-left:4px;min-height:28px;padding:4px 9px}@keyframes cart-item-remove-left{to{opacity:0;transform:translateX(-110%)}}@keyframes order-toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.billing-page .cart-item.is-removing,.billing-page .order-remove-toast{animation:none}}@media (min-width:1280px){.billing-page .order-table-head{background:#f2f4f8;color:#273248;font-size:10.5px;font-weight:800;line-height:1.2;min-height:44px;padding-block:8px}.billing-page .order-table-head>span{color:inherit;white-space:normal}}.billing-page .billing-footer{color:var(--text-muted);font-size:12px;letter-spacing:.3px;padding:10px 16px 16px;position:relative;text-align:center;z-index:1}.billing-page .billing-footer strong{color:var(--primary);font-weight:700}.history-overlay{-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#171e2f38}.history-modal{animation:slideUp .3s ease;border-radius:var(--radius-xl);display:flex;flex-direction:column;max-height:85vh;max-width:560px;overflow:hidden;width:100%}.history-modal.clay-card{box-shadow:none}.history-header{border-bottom:1px solid var(--border);justify-content:space-between;padding:20px 24px 16px}.history-header,.history-title{align-items:center;display:flex}.history-title{gap:10px}.history-title h2{font-size:18px;font-weight:700}.history-close{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);display:inline-flex;flex:0 0 38px;height:38px;justify-content:center;transition:border-color .16s ease,background .16s ease,color .16s ease;width:38px}.history-close:hover{background:#fff1f1;border-color:#f4b4b4;color:#dc2626}.history-count{align-items:center;background:var(--primary-light);border-radius:12px;color:var(--primary);display:flex;font-size:12px;font-weight:700;height:24px;justify-content:center;min-width:24px;padding:0 7px}.history-body{flex:1 1;overflow-y:auto;padding:12px 16px 20px}.history-order{background:#fff;border:1px solid #e2e8f0;border:1px solid var(--border,#e2e8f0);border-radius:12px;margin-bottom:10px;overflow:hidden;transition:all .2s ease}.history-order:hover{border-color:#c7c2ff;box-shadow:0 4px 12px #6257f514}.history-order.expanded{background:#fff;border-color:#a7a1ff;box-shadow:0 4px 16px #6257f51a}.history-order.expanded .history-order-summary{background:#6257f508;border-bottom:1px solid #eef0f6}.history-viewing-badge{align-items:center;background:#5b4ff5;border-radius:6px;color:#fff;display:inline-flex;font-size:9px;font-weight:800;height:22px;justify-content:center;min-width:52px;padding:0 7px;text-transform:uppercase}.history-search-container{background:#fff;background:var(--bg-surface,#fff);border-bottom:1px solid #f1f5f9;border-bottom:1px solid var(--border-light,#f1f5f9);padding:0 16px 12px;position:-webkit-sticky;position:sticky;top:0;z-index:5}.history-search-wrapper{align-items:center;display:flex;position:relative}.history-search-icon{color:#94a3b8;color:var(--text-muted,#94a3b8);left:12px;pointer-events:none;position:absolute}.history-search-input{background:#fff;background:var(--bg-surface,#fff);border:1.5px solid #e2e8f0;border:1.5px solid var(--border,#e2e8f0);border-radius:10px;color:#1e293b;color:var(--text,#1e293b);font-size:13px;height:38px;outline:none;padding:0 34px 0 36px;transition:all .2s ease;width:100%}.history-search-input:focus{border-color:#6257f5;border-color:var(--primary,#6257f5);box-shadow:0 0 0 3px #6257f526}.history-search-clear{align-items:center;background:none;border:none;border-radius:50%;color:#94a3b8;color:var(--text-muted,#94a3b8);cursor:pointer;display:flex;justify-content:center;padding:4px;position:absolute;right:10px}.history-search-clear:hover{background:#f1f5f9;color:var(--text)}.history-order-summary{align-items:center;background:#0000;border:none;cursor:pointer;display:flex;gap:16px;justify-content:space-between;padding:14px 16px;text-align:left;width:100%}.history-order-left{display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:0}.history-order-head{align-items:center;display:flex;gap:8px}.history-order-num{color:var(--primary);font-size:14px;font-weight:700;letter-spacing:.2px}.history-order-customer-info{align-items:center;display:flex;flex-wrap:wrap;font-size:12px;gap:6px}.customer-name-tag{background:#6257f514;color:#4f46e5;color:var(--primary-dark,#4f46e5);font-size:12px;font-weight:600;gap:4px}.customer-mobile-tag,.customer-name-tag{align-items:center;border-radius:6px;display:inline-flex;padding:2px 8px}.customer-mobile-tag{background:#f1f5f9;color:#475569;color:var(--text-secondary,#475569);font-size:11.5px;font-weight:500;gap:3px}.history-order-date{align-items:center;color:var(--text-muted);display:flex;font-size:11px;gap:4px;margin-top:2px}.history-order-right{align-items:center;display:flex;flex-shrink:0;gap:12px}.history-order-total{color:var(--text);font-size:15px;font-weight:700}.history-expand-icon{align-items:center;background:#6257f514;border-radius:50%;color:var(--primary);display:inline-flex;height:28px;justify-content:center;transition:all .2s ease;width:28px}.history-order.expanded .history-expand-icon{background:var(--primary);color:#fff}.history-order-details{background:#f8fafcb3;border-top:1px solid #e2e8f0;border-top:1px solid var(--border,#e2e8f0);display:flex;flex-direction:column;gap:12px;padding:14px 16px 16px}.history-meta-card{background:#fff;border:1px solid #e2e8f0;border:1px solid var(--border,#e2e8f0);border-radius:10px;display:flex;flex-direction:column;gap:8px;padding:10px 14px}.history-info-row{align-items:center;display:flex;font-size:13px;justify-content:space-between}.history-info-row .info-label{align-items:center;color:#64748b;color:var(--text-muted,#64748b);display:inline-flex;font-weight:500;gap:6px}.history-info-row .info-val{color:#1e293b;color:var(--text,#1e293b);font-weight:600}.payment-badge{background:#6257f51a;border-radius:12px;color:#6257f5;color:var(--primary,#6257f5);display:inline-block;font-size:12px;font-weight:700;padding:2px 10px;text-transform:capitalize}.history-items-container{background:#fff;border:1px solid #e2e8f0;border:1px solid var(--border,#e2e8f0);border-radius:10px;padding:12px 14px}.history-items-header{border-bottom:1px dashed #e2e8f0;color:#64748b;color:var(--text-muted,#64748b);font-size:11px;font-weight:800;letter-spacing:.5px;margin-bottom:8px;padding-bottom:6px;text-transform:uppercase}.history-item-row{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;font-size:13px;justify-content:space-between;padding:6px 0}.history-item-row:last-child{border-bottom:none}.history-item-left{align-items:center;display:flex;flex:1 1;gap:8px;min-width:0}.item-index{align-items:center;background:#f1f5f9;border-radius:50%;color:#64748b;display:inline-flex;flex-shrink:0;font-size:11px;font-weight:700;height:20px;justify-content:center;width:20px}.item-name{color:var(--text);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item-right{align-items:center;display:flex;flex-shrink:0;gap:10px}.history-qty-badge{background:#f1f5f9;border-radius:6px;color:#64748b;color:var(--text-muted,#64748b);font-size:11.5px;font-weight:600;padding:2px 8px}.history-item-total{color:var(--text);font-weight:700;min-width:60px;text-align:right}.history-totals-card{background:#fff;border:1px solid #e2e8f0;border:1px solid var(--border,#e2e8f0);border-radius:10px;display:flex;flex-direction:column;gap:6px;padding:10px 14px}.history-totals-card .grand-total-row{border-top:1px solid #e2e8f0;font-size:15px;font-weight:700;margin-top:4px;padding-top:8px}.history-totals-card .grand-total-val{color:#6257f5;color:var(--primary,#6257f5);font-size:16px}.history-actions-bar{display:flex;gap:10px;margin-top:4px}.history-btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:inline-flex;flex:1 1;font-size:13px;font-weight:600;gap:8px;justify-content:center;min-height:40px;padding:8px 14px;transition:all .2s ease}.history-edit-bill-btn{background:#6257f51a;border:1px solid #6257f540;color:#6257f5;color:var(--primary,#6257f5)}.history-edit-bill-btn:hover{background:#6257f52e}.history-load-cart-btn{background:#6257f5;background:var(--primary,#6257f5);box-shadow:0 4px 12px #6257f540;color:#fff}.history-load-cart-btn:hover{background:#5044e4;box-shadow:0 6px 16px #6257f559;transform:translateY(-1px)}.history-save-btn{background:#10b981;background:var(--success,#10b981);color:#fff}.history-cancel-btn{background:#f1f5f9;color:#64748b}@media (max-width:767px){.history-overlay{align-items:stretch;-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg);inset:0;justify-content:stretch;padding:0}.history-modal{animation:none;background:var(--bg);border:0;border-radius:0;height:100dvh;margin:0;max-height:none;max-width:none;width:100%}.history-header{background:var(--bg);min-height:64px;padding:max(12px,env(safe-area-inset-top)) 16px 12px;position:-webkit-sticky;position:sticky;top:0;z-index:2}.history-title h2{font-size:17px}.history-body{min-height:0;overscroll-behavior:contain;padding:12px 12px calc(20px + env(safe-area-inset-bottom))}.history-order{border:1px solid var(--border);border-radius:8px}.history-order.expanded{border-color:#a7a1ff;box-shadow:none}.history-order-summary{padding:14px 12px}.history-order-customer{max-width:100px}}.history-editing-badge{background:#fef3c7;border:1px solid #fde68a;border-radius:6px;color:#d97706;font-size:10px;font-weight:800;padding:2px 7px;text-transform:uppercase}.history-edit-form{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr;margin-bottom:10px}.history-edit-field{display:flex;flex-direction:column;gap:4px}.history-edit-field label{color:#64748b;font-size:10px;font-weight:700;text-transform:uppercase}.history-edit-field input{background:#fff;border:1.5px solid #cbd5e1;border-radius:6px;color:#1e293b;font-size:12px;font-weight:700;height:32px;outline:none;padding:0 8px}.history-edit-field input:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.history-item-edit-row{grid-gap:10px;align-items:center;display:grid;gap:10px;grid-template-columns:1fr auto 70px}.history-qty-ctrls{align-items:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;display:flex;gap:6px;padding:2px 6px}.history-qty-ctrls button{background:#fff;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;display:grid;height:22px;place-items:center;width:22px}.history-qty-ctrls strong{cursor:pointer;font-size:12px;font-weight:800;min-width:18px;padding:0 2px;text-align:center}.history-inline-input{font-size:12px!important;height:22px!important;padding:0 1px!important;width:34px!important}.stock-error-toast{align-items:center;animation:stock-toast-in .25s cubic-bezier(.16,1,.3,1);background:#ef4444;border-radius:10px;bottom:24px;box-shadow:0 10px 25px -5px #ef444466,0 8px 10px -6px #0000001a;color:#fff;display:flex;font-size:13px;font-weight:700;gap:8px;left:50%;padding:10px 18px;position:fixed;transform:translateX(-50%);z-index:9999}@keyframes stock-toast-in{0%{opacity:0;transform:translate(-50%,16px) scale(.95)}to{opacity:1;transform:translate(-50%) scale(1)}}.offline-screen-overlay{align-items:center;animation:offline-fade-in .3s ease-out;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:#0f172abf;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:99999}@keyframes offline-fade-in{0%{opacity:0}to{opacity:1}}.offline-card{animation:offline-pop .35s cubic-bezier(.16,1,.3,1);background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid #fff3;border-radius:24px;box-shadow:0 25px 50px -12px #00000059;max-width:440px;overflow:hidden;padding:32px 28px;position:relative;text-align:center;width:100%}@keyframes offline-pop{0%{opacity:0;transform:scale(.9) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.offline-gif-wrap{display:flex;justify-content:center;margin:0 auto 16px;max-width:260px;width:100%}.offline-gif{border-radius:12px;height:auto;max-height:200px;object-fit:contain;width:100%}.offline-title{color:#0f172a;font-size:22px;font-weight:800;letter-spacing:-.02em;margin:0 0 10px}.offline-subtitle{color:#64748b;font-size:13px;line-height:1.5;margin:0 0 20px}.offline-status-box{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;gap:10px;margin-bottom:20px;padding:14px;text-align:left}.offline-status-item{align-items:center;color:#475569;display:flex;font-size:12px;gap:10px}.status-dot{border-radius:50%;height:10px;width:10px}.status-dot.disconnected{animation:dot-blink 1s infinite alternate;background:#ef4444;box-shadow:0 0 0 3px #ef444433}.status-dot.pending{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b33}@keyframes dot-blink{0%{opacity:.4}to{opacity:1}}.offline-actions{display:flex;justify-content:center}.offline-retry-btn{align-items:center;background:linear-gradient(135deg,#6366f1,#4f46e5);border:0;border-radius:12px;box-shadow:0 8px 20px -4px #6366f166;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:700;gap:8px;justify-content:center;min-height:44px;transition:all .2s ease;width:100%}.offline-retry-btn:hover{box-shadow:0 12px 25px -4px #6366f180;transform:translateY(-2px)}.offline-retry-btn:active{transform:translateY(0)}.offline-footer-note{color:#94a3b8;display:block;font-size:11px;margin-top:14px}.login-page{align-items:center;background:linear-gradient(145deg,var(--bg) 0,#e0e4f0 50%,#d8dcec 100%);display:flex;justify-content:center;min-height:100vh;overflow:hidden;padding:20px;position:relative}.particle-canvas{inset:0}.fw-sparkle,.particle-canvas{pointer-events:none;position:fixed;z-index:1}.fw-sparkle{animation:sparkleFloat 3s ease-in-out infinite;animation:sparkleFloat var(--duration,3s) ease-in-out infinite;animation-delay:0s;animation-delay:var(--delay,0s);border-radius:50%;height:6px;width:6px}.fw-sparkle:before{background:inherit;border-radius:50%;content:"";filter:blur(3px);inset:-4px;opacity:.5;position:absolute}.fw-sparkle:first-child{background:#5b4ff599;height:8px;width:8px}.fw-sparkle:nth-child(2){background:#a78bfa80;height:5px;width:5px}.fw-sparkle:nth-child(3){background:#8b5cf680;height:7px;width:7px}.fw-sparkle:nth-child(4){background:#5b4ff566;height:4px;width:4px}.fw-sparkle:nth-child(5){background:#c4b5fd80;height:6px;width:6px}.fw-sparkle:nth-child(6){background:#a78bfa66;height:5px;width:5px}@keyframes sparkleFloat{0%,to{opacity:0;transform:translateY(0) scale(1) rotate(0deg)}20%{opacity:1}50%{opacity:.8;transform:translateY(-40px) scale(1.5) rotate(180deg)}80%{opacity:.3}to{opacity:0;transform:translateY(-80px) scale(.5) rotate(1turn)}}.login-container{gap:32px;max-width:420px;position:relative;width:100%;z-index:2}.login-brand,.login-container{align-items:center;display:flex;flex-direction:column}.login-brand{gap:10px;text-align:center}.login-logo{align-items:center;background:var(--surface);border-radius:20px;box-shadow:8px 8px 20px #5b4ff540,-6px -6px 16px #ffffffb3;display:flex;height:76px;justify-content:center;margin-bottom:4px;overflow:hidden;width:76px}.login-logo,.login-logo-img{transition:transform .3s ease}.login-logo-img{border-radius:12px;height:100%;object-fit:contain;padding:4px;transform:scale(1);width:100%}.login-logo:hover{transform:scale(1.05) rotate(-2deg)}.login-logo:hover .login-logo-img{transform:scale(1.05)}.login-title{color:var(--text);font-size:32px;font-weight:800;letter-spacing:-.6px;line-height:1.2;text-shadow:2px 2px 4px #a3aac24d}.login-title span{color:var(--primary);font-weight:700}.login-subtitle{color:var(--text-muted);font-size:14px;font-weight:600;letter-spacing:.2px;line-height:1.3;margin-top:2px}.login-form{background:var(--surface);border-radius:28px;display:flex;flex-direction:column;gap:20px;overflow:hidden;padding:36px 30px 28px;perspective:800px;position:relative;transform-style:preserve-3d;transition:transform .4s cubic-bezier(.34,1.56,.64,1);width:100%}.login-form:hover{transform:translateY(-4px) rotateX(2deg)}.form-glow{background:radial-gradient(circle,#5b4ff50f 0,#0000 70%);height:100%;pointer-events:none;position:absolute;right:-50%;top:-50%;transition:all .6s ease;width:100%}.login-form:hover .form-glow{opacity:1;right:-30%;top:-30%}.role-switcher-container{display:flex;justify-content:center;margin-bottom:4px;width:100%}.role-switcher-track{background:#e1e5f2b3;border-radius:16px;box-shadow:inset 2px 2px 5px #a3b1c680,inset -2px -2px 5px #fffc;display:flex;gap:4px;padding:4px;width:100%}.role-tab{align-items:center;background:#0000;border:none;border-radius:12px;color:var(--text-muted);cursor:pointer;display:flex;flex:1 1;font-size:13.5px;font-weight:600;gap:8px;justify-content:center;padding:10px 14px;transition:all .25s cubic-bezier(.34,1.56,.64,1)}.role-tab svg{color:var(--text-muted);transition:color .25s ease}.role-tab.active{background:var(--surface);box-shadow:4px 4px 10px #5b4ff533,-2px -2px 8px #ffffffe6}.role-tab.active,.role-tab.active svg{color:var(--primary)}.role-tab:hover:not(.active){color:var(--text)}.login-form-title{color:var(--text);font-size:22px;font-weight:700;line-height:1.2;text-align:center}.login-form-desc{color:var(--text-muted);font-size:13px;margin-top:-14px;text-align:center}.login-field{animation:fieldSlide .5s ease both;display:flex;flex-direction:column;gap:6px}@keyframes fieldSlide{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.login-label{align-items:center;color:var(--text-secondary);display:flex;font-size:13px;font-weight:600;gap:6px}.login-label svg{color:var(--primary);flex-shrink:0}.pwd-wrap{position:relative}.pwd-wrap .clay-input{padding-right:44px}.pwd-toggle{align-items:center;border-radius:8px;color:var(--text-muted);display:flex;height:34px;justify-content:center;position:absolute;right:8px;top:50%;transform:translateY(-50%);transition:all .2s ease;width:34px}.pwd-toggle:hover{background:var(--bg);color:var(--text-secondary)}.login-field .clay-input{transform:translateZ(0);transition:all .25s ease}.login-field .clay-input:focus{box-shadow:var(--shadow-raised-sm),0 0 0 3px #5b4ff526;transform:translateZ(4px)}.login-error{animation:shake .4s ease;background:var(--danger-light);border-radius:var(--radius-sm);color:var(--danger);font-size:13px;font-weight:500;padding:10px 14px;text-align:center}@keyframes shake{0%,to{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}.login-submit{animation:fieldSlide .5s ease .4s both;font-size:16px;font-weight:700;gap:10px;overflow:hidden;padding:15px;position:relative;width:100%}.login-submit:after{background:linear-gradient(135deg,#0000,#ffffff1a 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%);transition:transform .6s ease}.login-submit:hover:after{transform:translateX(100%)}.login-submit:disabled{cursor:not-allowed;opacity:.65}.login-spinner{animation:spin .65s linear infinite;border:2.5px solid #ffffff40;border-radius:50%;border-top-color:#fff;height:18px;width:18px}@keyframes spin{to{transform:rotate(1turn)}}.login-hint{animation:fieldSlide .5s ease .5s both;color:var(--text-muted);font-size:12px;margin-top:-6px;text-align:center}.animate-in{animation:formEntrance .6s cubic-bezier(.34,1.56,.64,1) both}@keyframes formEntrance{0%{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.powered-by{color:var(--text-muted);font-size:12px;letter-spacing:.3px;margin-top:12px;position:relative;text-align:center;z-index:2}.powered-by strong{color:var(--primary);font-weight:700}.billing-footer{color:var(--text-muted);font-size:12px;letter-spacing:.3px;margin:0;padding:4px 16px 12px;text-align:center}.billing-footer strong{color:var(--primary);font-weight:700}@media (max-width:480px){.login-page{align-items:flex-start;padding:8vh 16px 16px}.login-container{gap:28px}.login-form{border-radius:22px;gap:16px;padding:26px 20px 24px}.login-form:hover{transform:none}.login-title{font-size:24px}.login-form-title{font-size:19px}.login-logo{border-radius:18px;height:68px;width:68px}.login-logo-img{padding:2px;transform:scale(1)}.login-submit{font-size:15px;padding:13px}.login-form-desc{font-size:12px;margin-top:-12px}.login-hint{font-size:11px}}@media (max-width:360px){.login-form{gap:14px;padding:20px 14px}.login-title{font-size:20px}.login-form-title{font-size:17px}.login-logo{height:56px;width:56px}}
/*# sourceMappingURL=main.bab3229b.css.map*/