.lpos-frontend-body{margin:0!important;padding:0!important;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.lpos-frontend-body .lpos-admin-app{min-height:100vh;margin:0!important;width:100%;}.lpos-frontend-body .lpos-main{min-height:100vh}.lpos-frontend-body .lpos-content{box-sizing:border-box}.lpos-frontend-body .lpos-sidebar{position:relative}.lpos-frontend-body button,.lpos-frontend-body input,.lpos-frontend-body select,.lpos-frontend-body textarea{font-family:inherit}
:root{--blue:#2563eb;--blue2:#1d4ed8;--navy:#111827;--text:#1f2937;--muted:#6b7280;--line:#e5e7eb;--bg:#f4f7fb;--card:#fff;--green:#16a34a;--red:#dc2626;--orange:#f59e0b;--shadow:0 8px 30px rgba(15,23,42,.07)}
#wpbody-content{padding-bottom:0}.lpos-admin-app{display:flex;min-height:calc(100vh - 32px);margin:-10px -20px -20px;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.lpos-admin-app *{box-sizing:border-box}.lpos-sidebar{width:220px;background:#101828;color:#cbd5e1;padding:18px 12px;display:flex;flex-direction:column;flex-shrink:0}.lpos-brand{height:52px;display:flex;align-items:center;gap:9px;color:#fff;font-size:21px;font-weight:800;padding:0 10px}.lpos-brand small{display:block;font-size:9px;color:#94a3b8;font-weight:500;margin-left:-5px;margin-top:20px}.brand-mark{display:inline-flex;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#60a5fa,#2563eb);color:#fff;align-items:center;justify-content:center;font-weight:900;font-size:21px;box-shadow:0 5px 14px rgba(37,99,235,.35)}.lpos-store-mini{margin:12px 4px 18px;padding:10px 9px;border-radius:9px;background:rgba(255,255,255,.06);font-size:11px;display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden}.status-dot{width:7px;height:7px;background:#22c55e;border-radius:50%;display:inline-block;box-shadow:0 0 0 3px rgba(34,197,94,.12)}.lpos-sidebar nav{display:flex;flex-direction:column;gap:4px}.lpos-sidebar nav a{height:43px;padding:0 12px;border-radius:9px;color:#9ca3af;text-decoration:none;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600}.lpos-sidebar nav a:hover{background:rgba(255,255,255,.06);color:#fff}.lpos-sidebar nav a.active{background:#2563eb;color:#fff;box-shadow:0 5px 15px rgba(37,99,235,.25)}.lpos-sidebar nav i{font-style:normal;width:19px;text-align:center;font-size:17px}.lpos-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:14px 7px 4px;display:flex;gap:9px;align-items:center}.avatar{width:31px;height:31px;border-radius:50%;background:#334155;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px}.lpos-sidebar-foot b,.lpos-sidebar-foot small{display:block}.lpos-sidebar-foot b{font-size:11px;color:#fff}.lpos-sidebar-foot small{font-size:9px;color:#64748b;margin-top:2px}.lpos-main{min-width:0;flex:1;display:flex;flex-direction:column}.lpos-topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px}.lpos-topbar h1{font-size:21px;margin:0;font-weight:800;color:#111827}.lpos-topbar p{font-size:11px;color:var(--muted);margin:4px 0 0}.top-actions{display:flex;gap:10px;align-items:center}.online{font-size:11px;color:#64748b;display:flex;align-items:center;gap:7px}.icon-btn{width:37px;height:37px;border:1px solid var(--line);background:#fff;border-radius:9px;cursor:pointer;color:#334155}.lpos-content{padding:18px;flex:1;min-height:0}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:16px;height:calc(100vh - 145px)}.pos-left,.pos-right{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-height:0}.pos-left{display:flex;flex-direction:column;overflow:hidden}.pos-toolbar{padding:13px;border-bottom:1px solid var(--line);display:flex;gap:9px}.pos-search{height:42px;flex:1;border:1px solid #dbe2ea!important;border-radius:9px!important;padding:0 14px!important;box-shadow:none!important;font-size:13px}
.pos-search-wrap{position:relative;flex:1;min-width:0}.pos-search-wrap .pos-search{width:100%;padding-right:42px!important}.pos-search-clear{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:0;background:transparent;color:#64748b;font-size:20px;line-height:26px;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center}.pos-search-clear:hover{background:#f1f5f9;color:#1f2937}
.scan-btn{height:42px;border:1px solid #dbe2ea;background:#f8fafc;border-radius:9px;padding:0 13px;cursor:pointer;color:#334155}.cat-bar{display:flex;gap:7px;padding:10px 13px;overflow:auto;border-bottom:1px solid var(--line);white-space:nowrap}.cat-chip{border:0;background:#f1f5f9;color:#64748b;padding:8px 12px;border-radius:8px;cursor:pointer;font-size:11px;font-weight:700}.cat-chip.active{background:#2563eb;color:#fff}.products-scroll{overflow:auto;padding:13px;flex:1}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:11px}.product-card{border:1px solid #e7ebf0;border-radius:10px;background:#fff;padding:0;overflow:hidden;cursor:pointer;text-align:left;position:relative;transition:.15s;min-width:0}.product-card:hover{border-color:#93c5fd;box-shadow:0 8px 20px rgba(37,99,235,.10);transform:translateY(-1px)}.product-card .p-img{height:112px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-card img{width:100%;height:100%;object-fit:cover}.product-info{padding:9px}.product-name{font-size:12px;font-weight:700;line-height:1.35;height:32px;overflow:hidden;color:#1f2937}.product-price{font-size:13px;font-weight:800;color:#2563eb;margin-top:7px}.product-meta{font-size:9px;color:#94a3b8;margin-top:4px;display:flex;justify-content:space-between}.stock-badge{position:absolute;right:7px;top:7px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:4px 6px;font-size:8px;color:#475569;box-shadow:0 2px 7px rgba(0,0,0,.05)}.stock-badge.low{color:#b45309;border-color:#fde68a;background:#fffbeb}.stock-badge.out{color:#b91c1c;border-color:#fecaca;background:#fff1f2}.pos-right{display:flex;flex-direction:column;overflow:hidden}.cart-head{padding:13px 15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.cart-head h2{margin:0;font-size:14px}.cart-head small{color:#94a3b8;font-size:10px}.cart-actions{display:flex;gap:5px}.mini-btn{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 8px;font-size:10px;cursor:pointer}.cart-items{flex:1;overflow:auto;padding:8px 12px}.empty-cart{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;color:#94a3b8;font-size:12px}.cart-row{display:grid;grid-template-columns:42px 1fr auto;gap:9px;padding:10px 2px;border-bottom:1px solid #f0f2f5}.cart-thumb{width:42px;height:42px;border-radius:7px;object-fit:cover;background:#f8fafc}.cart-name{font-size:11px;font-weight:700;line-height:1.35}.cart-sub{font-size:10px;color:#94a3b8;margin-top:4px}.qty-control{display:flex;align-items:center;gap:4px;margin-top:6px}.qty-control button{width:21px;height:21px;border:1px solid #e2e8f0;background:#fff;border-radius:5px;cursor:pointer}.qty-control input{width:35px;height:21px;text-align:center;border:1px solid #e2e8f0;border-radius:5px;font-size:10px}.cart-price{font-size:11px;font-weight:800;text-align:right}.remove-line{border:0;background:none;color:#94a3b8;cursor:pointer;font-size:16px}.checkout-box{border-top:1px solid var(--line);padding:12px 14px;background:#fbfcfe}.customer-select{height:38px;border:1px solid #dbe2ea;border-radius:8px;padding:0 10px;background:#fff;width:100%;font-size:11px;cursor:pointer}.sum-line{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#64748b;margin:7px 0}.sum-line strong{color:#1f2937}.edit-row{display:flex;gap:7px}.edit-row input,.edit-row textarea{height:34px;border:1px solid #dbe2ea;border-radius:7px;padding:0 9px;font-size:11px;width:100%;box-shadow:none}.edit-row textarea{height:46px;padding-top:8px;resize:none}.total-line{display:flex;justify-content:space-between;align-items:end;margin-top:9px}.total-line span{font-size:11px;color:#64748b}.total-line b{font-size:22px;color:#2563eb}.payment-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:9px}.pay-tab{border:1px solid #dbe2ea;background:#fff;border-radius:7px;padding:8px 3px;font-size:9px;cursor:pointer}.pay-tab.active{border-color:#2563eb;background:#eff6ff;color:#2563eb;font-weight:800}.pay-btn{height:43px;width:100%;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:12px;font-weight:800;cursor:pointer;margin-top:9px}.pay-btn:hover{background:#1d4ed8}.hold-btn{height:36px;width:100%;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;color:#475569;font-size:10px;cursor:pointer;margin-top:7px}.page-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:15px}.page-toolbar{display:flex;gap:9px;align-items:center;margin-bottom:13px}.page-toolbar input{height:39px;border:1px solid #dbe2ea;border-radius:8px;padding:0 10px;min-width:250px}.primary{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}.lpos-table{width:100%;border-collapse:collapse;font-size:11px}.lpos-table th{background:#f8fafc;text-transform:uppercase;font-size:9px;color:#64748b;text-align:left;padding:10px;border-bottom:1px solid var(--line)}.lpos-table td{padding:10px;border-bottom:1px solid #eef1f5;vertical-align:middle}.lpos-table tr:hover td{background:#fafcff}.status-pill{padding:4px 7px;border-radius:20px;background:#ecfdf5;color:#15803d;font-size:9px;font-weight:700}.stock-img{width:34px;height:34px;border-radius:6px;object-fit:cover;vertical-align:middle;margin-right:7px}.stock-number{font-weight:800}.low-stock{color:#b45309}.out-stock{color:#b91c1c}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:13px}.kpi{background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px;box-shadow:var(--shadow)}.kpi small{color:#64748b;font-size:10px}.kpi b{display:block;font-size:23px;margin-top:7px}.modal-bg{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:12px;box-shadow:0 25px 70px rgba(0,0,0,.2);padding:18px}.modal h3{margin:0 0 12px;font-size:16px}.modal-close{float:right;border:0;background:none;font-size:22px;color:#94a3b8;cursor:pointer}.customer-list{max-height:330px;overflow:auto}.customer-item{padding:10px;border-bottom:1px solid #eef1f5;cursor:pointer}.customer-item:hover{background:#f8fafc}.customer-item b{display:block;font-size:11px}.customer-item small{font-size:9px;color:#94a3b8}.form-field{margin:10px 0}.form-field label{display:block;font-size:10px;color:#64748b;margin-bottom:5px}.form-field input,.form-field select{height:38px;width:100%;border:1px solid #dbe2ea;border-radius:8px;padding:0 10px}.split-grid{display:grid;grid-template-columns:1fr 120px;gap:7px;margin:7px 0}.notice-lite{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;padding:9px;border-radius:8px;font-size:10px}.settings-grid{max-width:600px}.customer-body,.lpos-customer-body{margin:0;background:#eef3fa;font-family:Inter,system-ui,sans-serif}.lpos-customer-body #wpadminbar{display:none}.lpos-customer-body #lpos-customer-display{min-height:100vh}.lpos-customer-body *{box-sizing:border-box}#lpos-customer-display{color:#172033}#lpos-customer-display header{height:78px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.cd-brand{display:flex;gap:10px;align-items:center}.cd-brand b,.cd-brand small{display:block}.cd-brand b{font-size:20px}.cd-brand small{font-size:11px;color:#94a3b8;margin-top:3px}.cd-live{font-size:11px;color:#64748b;display:flex;align-items:center;gap:7px}#lpos-customer-display main{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;max-width:1250px;margin:28px auto;padding:0 24px;min-height:calc(100vh - 150px)}.cd-items{background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 10px 35px rgba(15,23,42,.06);padding:10px}.cd-item{display:grid;grid-template-columns:60px 1fr auto;gap:13px;padding:14px;border-bottom:1px solid #edf1f5;align-items:center}.cd-item img{width:60px;height:60px;border-radius:10px;object-fit:cover}.cd-item b{font-size:18px}.cd-item-name{font-size:14px;font-weight:700}.cd-item-meta{font-size:11px;color:#94a3b8;margin-top:4px}.cd-empty{height:100%;min-height:400px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:18px}.lpos-customer-body aside{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 10px 35px rgba(15,23,42,.06);padding:22px;height:max-content}.cd-summary-row{display:flex;justify-content:space-between;padding:10px 0;font-size:13px;color:#64748b}.cd-total{border-top:1px solid #e2e8f0;margin-top:8px;padding-top:16px;display:flex;justify-content:space-between;align-items:end}.cd-total span{font-size:13px;color:#64748b}.cd-total b{font-size:28px;color:#2563eb}.lpos-customer-body footer{max-width:1250px;margin:0 auto;padding:0 24px 20px;display:flex;justify-content:space-between;color:#94a3b8;font-size:10px}@media(max-width:1100px){.lpos-sidebar{width:68px}.lpos-brand span:not(.brand-mark),.lpos-brand small,.lpos-store-mini span:last-child,.lpos-sidebar nav a span,.lpos-sidebar-foot div{display:none}.lpos-sidebar nav a{justify-content:center}.pos-layout{grid-template-columns:minmax(0,1fr) 350px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}.kpi-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.lpos-admin-app{margin:0;min-height:100vh}.lpos-sidebar{display:none}.lpos-topbar{height:60px;padding:0 12px}.lpos-content{padding:9px}.pos-layout{display:flex;height:auto;flex-direction:column}.pos-left{height:55vh}.pos-right{min-height:500px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card .p-img{height:90px}.lpos-customer-body{background:#f6f8fb}.lpos-customer-body #lpos-customer-display{min-height:100dvh;display:flex;flex-direction:column}.lpos-customer-body #lpos-customer-display header{height:58px;min-height:58px;padding:0 12px;box-shadow:0 1px 5px rgba(15,23,42,.06);position:sticky;top:0;z-index:5}.lpos-customer-body .cd-brand{gap:8px}.lpos-customer-body .cd-brand b{font-size:15px}.lpos-customer-body .cd-brand small{font-size:9px;margin-top:1px}.lpos-customer-body .cd-live{font-size:9px;gap:5px}.lpos-customer-body main{display:flex;flex-direction:column;gap:10px;width:100%;max-width:none;margin:0;padding:10px 10px 0;min-height:0;flex:1}.lpos-customer-body .cd-items{order:1;border-radius:11px;padding:4px;box-shadow:0 3px 12px rgba(15,23,42,.05);min-height:0}.lpos-customer-body .cd-item{grid-template-columns:48px minmax(0,1fr) auto;gap:9px;padding:9px 7px}.lpos-customer-body .cd-item img{width:48px;height:48px;border-radius:8px}.lpos-customer-body .cd-item-name{font-size:12px;line-height:1.3}.lpos-customer-body .cd-item-meta{font-size:9px;margin-top:3px}.lpos-customer-body .cd-item>b{font-size:11px;white-space:nowrap}.lpos-customer-body .cd-empty{min-height:260px;font-size:14px}.lpos-customer-body aside{order:2;border-radius:11px;padding:11px 12px;box-shadow:0 3px 12px rgba(15,23,42,.05);margin-bottom:10px}.lpos-customer-body .cd-summary-row{padding:5px 0;font-size:10px}.lpos-customer-body .cd-total{margin-top:4px;padding-top:9px}.lpos-customer-body .cd-total span{font-size:10px}.lpos-customer-body .cd-total b{font-size:20px}.lpos-customer-body footer{display:none}}@media(max-width:500px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-toolbar{flex-wrap:wrap}.pos-search{min-width:0}.kpi-grid{grid-template-columns:1fr 1fr}.lpos-topbar h1{font-size:17px}.lpos-customer-body main{padding:8px 8px 0;gap:8px}.lpos-customer-body .cd-item{grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:8px 6px}.lpos-customer-body .cd-item img{width:44px;height:44px}.lpos-customer-body .cd-item-name{font-size:11px}.lpos-customer-body .cd-item-meta{font-size:8.5px}.lpos-customer-body .cd-item>b{font-size:10px}.lpos-customer-body aside{padding:10px}.lpos-customer-body .cd-summary-row{font-size:9.5px}.lpos-customer-body .cd-total b{font-size:18px}}


/* Inventory page: keep the toolbar visible and make the product list independently scrollable. */
.lpos-frontend-body #lpos-stock{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.lpos-frontend-body #lpos-stock .stock-page-card{height:100%;min-height:0;display:flex;flex-direction:column;padding:15px}
.lpos-frontend-body #lpos-stock .stock-toolbar{flex:0 0 auto;position:sticky;top:0;z-index:3;background:#fff;padding-bottom:10px;margin-bottom:0}
.lpos-frontend-body #lpos-stock .stock-toolbar input{flex:1;min-width:0}
.lpos-frontend-body #lpos-stock .stock-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid #eef1f5;border-radius:9px}
.lpos-frontend-body #lpos-stock .stock-table-wrap .lpos-table{min-width:760px}
.lpos-frontend-body #lpos-stock .lpos-table th{position:sticky;top:0;z-index:2;background:#f8fafc}
@media(max-width:800px){
  .lpos-frontend-body #lpos-stock{height:auto;overflow:visible}
  .lpos-frontend-body #lpos-stock .stock-page-card{height:calc(100vh - 90px);min-height:520px}
  .lpos-frontend-body #lpos-stock .stock-table-wrap{overflow:auto}
}

/* Frontend employee authentication */
.lpos-login-body{margin:0;min-height:100vh;background:linear-gradient(135deg,#eef4ff 0%,#f8fafc 55%,#eaf1ff 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
.lpos-login-body *{box-sizing:border-box}
.lpos-login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.lpos-login-card{width:min(420px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:30px;box-shadow:0 24px 70px rgba(15,23,42,.12)}
.lpos-login-brand{display:flex;align-items:center;gap:11px;margin-bottom:28px}
.lpos-login-brand img{width:42px;height:42px;object-fit:contain;border-radius:10px}
.lpos-login-mark{width:42px;height:42px;border-radius:11px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900}
.lpos-login-brand b{display:block;font-size:22px;line-height:1}
.lpos-login-brand small{display:block;color:#94a3b8;font-size:10px;margin-top:5px}
.lpos-login-card h1{font-size:21px;margin:0 0 6px}
.lpos-login-sub{margin:0 0 20px;color:#64748b;font-size:12px}
.lpos-login-error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;padding:10px 12px;border-radius:8px;font-size:11px;margin-bottom:14px}
.lpos-login-card .form-field{margin:12px 0}
.lpos-login-card .form-field label{font-size:11px;font-weight:600;color:#475569}
.lpos-login-card .form-field input{height:43px;font-size:13px}
.lpos-remember{display:flex;align-items:center;gap:7px;font-size:11px;color:#64748b;margin:12px 0 16px;cursor:pointer}
.lpos-remember input{margin:0}
.lpos-login-card .pay-btn{height:45px;font-size:13px;margin-top:0}
.lpos-login-foot{text-align:center;color:#94a3b8;font-size:10px;margin-top:17px;padding-top:15px;border-top:1px solid #eef1f5}
.lpos-logout{margin-left:auto;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:7px;color:#64748b;text-decoration:none;font-size:16px;background:#fff}
.lpos-logout:hover{color:#dc2626;border-color:#fecaca;background:#fff1f2}
@media(max-width:1100px){.lpos-sidebar-foot{justify-content:center}.lpos-logout{display:none}}

/* POS performance + order visibility improvements v2.2 */
.lpos-frontend-body{overflow:hidden}
.lpos-frontend-body .lpos-main{height:100vh;min-height:0;overflow:hidden}
.lpos-frontend-body .lpos-content{height:calc(100vh - 72px);padding:14px;overflow:hidden;min-height:0}
.lpos-frontend-body .pos-layout{height:100%;min-height:0}
.lpos-frontend-body .pos-left,.lpos-frontend-body .pos-right{height:100%;min-height:0}
.lpos-frontend-body .pos-right{display:flex;flex-direction:column}
.lpos-frontend-body .cart-head{flex:0 0 auto;position:relative;z-index:2;background:#fff}
.lpos-frontend-body .cart-items{flex:1 1 auto;min-height:80px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:6px 10px}
.lpos-frontend-body .cart-row{min-height:70px}
.lpos-frontend-body .checkout-box{flex:0 0 auto;max-height:310px;overflow-y:auto;overscroll-behavior:contain;padding:9px 12px}
.lpos-frontend-body .checkout-compact{box-shadow:0 -5px 16px rgba(15,23,42,.04)}
.checkout-top-row{display:flex;gap:6px;align-items:center;margin-bottom:7px}
.checkout-top-row .customer-select{flex:1;min-width:0}
.note-toggle{height:38px;white-space:nowrap;border:1px solid #dbe2ea;background:#fff;border-radius:8px;padding:0 10px;font-size:10px;color:#475569;cursor:pointer}
.note-toggle.active{background:#eff6ff;border-color:#93c5fd;color:#2563eb;font-weight:700}
.note-row{display:none!important;margin-bottom:7px}
.note-row.open{display:flex!important}
.totals-compact{padding-top:1px}
.checkout-compact .sum-line{margin:4px 0}
.checkout-compact .total-line{margin-top:6px}
.checkout-compact .total-line b{font-size:20px}
.checkout-compact .payment-tabs{display:none}
.checkout-compact .pay-btn{height:40px;margin-top:7px}
.checkout-compact .hold-btn{height:31px;margin-top:5px}
.product-card{will-change:transform}
.product-card img{content-visibility:auto}
@media(max-width:800px){
  .lpos-frontend-body{overflow:auto}
  .lpos-frontend-body .lpos-main{height:auto;min-height:100vh;overflow:visible}
  .lpos-frontend-body .lpos-content{height:auto;overflow:visible}
  .lpos-frontend-body .pos-layout{height:auto}
  .lpos-frontend-body .pos-left{height:55vh}
  .lpos-frontend-body .pos-right{height:calc(100vh - 80px);min-height:520px}
  .lpos-frontend-body .checkout-box{max-height:300px}
}

/* Held orders */
.hold-list-btn{position:relative}.hold-list-btn span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:10px;font-weight:800}.held-orders-modal{max-width:760px;width:calc(100% - 28px)}.held-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.held-head h3{margin:0}.held-head small,.held-info small{display:block;color:#64748b;font-size:11px;margin-top:3px}.held-list{max-height:62vh;overflow:auto;padding-right:3px}.held-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin-bottom:8px;background:#fff}.held-info{min-width:0}.held-info>b{font-size:12px}.held-info>div{margin-top:5px;color:#334155;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.held-total{font-weight:800;white-space:nowrap}.held-actions{display:flex;gap:6px}.held-actions .mini-btn{white-space:nowrap}@media(max-width:700px){.held-row{grid-template-columns:1fr auto}.held-total{grid-column:2;grid-row:1}.held-actions{grid-column:1 / -1}.held-list{max-height:70vh}}

/* Inventory visibility on POS v2.2.5 */
.product-card{position:relative}
.stock-badge{z-index:3;display:inline-flex;align-items:center;gap:3px;font-weight:800;line-height:1;max-width:92px;white-space:nowrap}
.product-stock-line{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:10px;color:#64748b;min-height:16px}
.product-stock-line strong{font-size:11px;color:#1f2937}
.product-stock-line.low strong,.product-stock-line.low em{color:#b45309}
.product-stock-line.out strong,.product-stock-line.out em{color:#b91c1c}
.product-stock-line em{font-style:normal;font-size:9px;font-weight:700;margin-left:auto}

.customer-picker{display:flex;gap:6px;min-width:0;flex:1}.customer-picker .customer-select{flex:1;min-width:0}.customer-add-btn{width:36px;min-width:36px;border:1px solid #dbe2ea;background:#fff;border-radius:8px;font-size:20px;line-height:1;cursor:pointer}.customer-add-btn:hover{background:#f5f7fa}.modal-sub{font-size:11px;color:#64748b;margin:-8px 0 14px}.modal .form-field label span{color:#dc2626}
/* Checkout 3-step wizard */
.checkout-wizard{width:min(560px,100%)}.wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 18px}.wizard-steps span{padding:8px 6px;text-align:center;border-radius:8px;background:#f1f5f9;color:#94a3b8;font-size:10px;font-weight:700}.wizard-steps span.active{background:#eff6ff;color:#2563eb}.checkout-summary-list{max-height:300px;overflow:auto;border:1px solid #eef1f5;border-radius:9px;padding:8px 12px}.wizard-total{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:14px;border-radius:10px;background:#f8fafc}.wizard-total span{font-size:11px;color:#64748b}.wizard-total b{font-size:24px;color:#2563eb}.wizard-total.compact{margin-bottom:14px}.payment-method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.wizard-pay-method{height:48px;border:1px solid #dbe2ea;background:#fff;border-radius:8px;font-size:11px;font-weight:700;cursor:pointer}.wizard-pay-method.active{border-color:#2563eb;background:#eff6ff;color:#2563eb}.cash-fields{border:1px solid #e2e8f0;border-radius:10px;padding:12px}.cash-fields label{display:block;font-size:10px;color:#64748b;margin-bottom:5px}.cash-fields input{width:100%;height:44px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;font-size:16px;font-weight:700}.change-line{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;border-top:1px dashed #cbd5e1;font-size:11px;color:#64748b}.change-line b{font-size:20px;color:#16a34a}.wizard-actions{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin-top:15px}.wizard-actions.single{grid-template-columns:1fr 2fr}.wizard-actions .pay-btn{margin-top:0}.wizard-actions .mini-btn{height:43px}.pay-btn:disabled{opacity:.45;cursor:not-allowed}.receipt-customer-preview{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;font-size:10px;color:#64748b}.receipt-customer-preview b{color:#1f2937;font-size:11px}@media(max-width:500px){.wizard-steps span{font-size:9px}.payment-method-grid{grid-template-columns:1fr}.wizard-actions{grid-template-columns:1fr 1.5fr}}

/* Mobile navigation v2.5.2: logo + quick tabs below logo */
.lpos-mobile-brand,.lpos-mobile-nav{display:none}
@media(max-width:800px){
  .lpos-mobile-brand{height:58px;background:#101828;color:#fff;display:flex;align-items:center;gap:9px;padding:8px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
  .lpos-mobile-brand img,.mobile-brand-mark{width:38px;height:38px;border-radius:9px;object-fit:contain;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 38px}
  .mobile-brand-mark{background:linear-gradient(135deg,#60a5fa,#2563eb);color:#fff;font-weight:900;font-size:21px}
  .lpos-mobile-brand b{display:block;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:68vw}
  .lpos-mobile-brand small{display:block;color:#94a3b8;font-size:9px;margin-top:2px}
  .lpos-mobile-nav{display:flex;gap:5px;background:#fff;border-bottom:1px solid var(--line);padding:7px 8px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .lpos-mobile-nav::-webkit-scrollbar{display:none}
  .lpos-mobile-nav a{flex:0 0 auto;min-width:72px;height:42px;padding:5px 8px;border-radius:8px;text-decoration:none;color:#64748b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:9px;font-weight:700}
  .lpos-mobile-nav a i{font-style:normal;font-size:15px;line-height:1}
  .lpos-mobile-nav a.active{background:#eff6ff;color:#2563eb}
  .lpos-topbar{height:52px;padding:0 10px}
  .lpos-topbar h1{font-size:15px}
  .lpos-topbar p{display:none}
}

/* v2.5.3 mobile sidebar */
@media (max-width: 768px){
  .lpos-mobile-menu-btn{display:flex!important;align-items:center;justify-content:center;width:42px;height:42px;border:0;border-radius:10px;background:#fff;color:#222;font-size:22px;box-shadow:0 1px 5px rgba(0,0,0,.12);cursor:pointer}
  .lpos-mobile-drawer{position:fixed;top:0;left:0;bottom:0;width:280px;max-width:82vw;background:#fff;z-index:99999;transform:translateX(-105%);transition:transform .22s ease;box-shadow:4px 0 18px rgba(0,0,0,.18);overflow-y:auto;padding:16px}
  .lpos-mobile-drawer.open{transform:translateX(0)}
  .lpos-mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:99998;display:none}
  .lpos-mobile-overlay.open{display:block}
  .lpos-mobile-drawer .lpos-nav-item{display:flex!important;width:100%;margin:4px 0;padding:12px 14px;border-radius:10px}
}
@media (min-width:769px){.lpos-mobile-menu-btn,.lpos-mobile-drawer,.lpos-mobile-overlay{display:none!important}}

@media (max-width:768px){
.lpos-mobile-brand{display:flex;align-items:center;gap:10px}.lpos-mobile-brand .lpos-mobile-menu-btn{display:flex!important;flex:0 0 42px}.lpos-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 14px;border-bottom:1px solid #eee;margin-bottom:10px}.lpos-drawer-close{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;padding:4px 8px}.lpos-mobile-drawer nav{display:block}.lpos-mobile-drawer .lpos-nav-item{color:#333;text-decoration:none;align-items:center;gap:12px;font-weight:600}.lpos-mobile-drawer .lpos-nav-item.active{background:#f0f7ff;color:#1677ff}.lpos-mobile-nav{display:none!important}
}

/* v2.5.4 drawer interaction fix */
@media (max-width:768px){body.lpos-drawer-open{overflow:hidden}.lpos-mobile-drawer{pointer-events:none}.lpos-mobile-drawer.open{pointer-events:auto}.lpos-mobile-overlay{pointer-events:none}.lpos-mobile-overlay.open{pointer-events:auto}.lpos-mobile-brand{position:relative;z-index:100000}}
/* v2.5.5 reports + mobile usability */
.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:13px}.report-toolbar>b,.report-toolbar small{display:block}.report-toolbar>div:first-child b{font-size:15px}.report-toolbar>div:first-child small{font-size:10px;color:#94a3b8;margin-top:3px}.report-dates{display:flex;align-items:center;gap:7px}.report-dates input{min-width:145px!important}.report-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px}.report-panel{min-width:0}.report-panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.report-panel-head h3{margin:0;font-size:13px}.report-panel-head small{display:block;color:#94a3b8;font-size:10px;margin-top:4px}.report-bars{display:flex;flex-direction:column;gap:13px}.report-bar-label{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin-bottom:6px}.report-bar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-track,.rank-track{height:8px;background:#eef2f7;border-radius:99px;overflow:hidden}.report-track i,.rank-track i{display:block;height:100%;background:#2563eb;border-radius:99px}.report-ranking{display:flex;flex-direction:column;gap:11px}.rank-row{display:flex;gap:9px;align-items:flex-start}.rank-no{width:23px;height:23px;border-radius:7px;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;flex:0 0 23px}.rank-main{min-width:0;flex:1}.rank-main>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:5px}.rank-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-main strong{white-space:nowrap}.report-loading,.report-error,.report-empty{padding:24px;text-align:center;color:#64748b;font-size:11px;background:#fff;border:1px dashed #dbe2ea;border-radius:10px}.report-error{color:#b91c1c;background:#fff7f7;border-color:#fecaca}.kpi span{display:block;color:#94a3b8;font-size:9px;margin-top:5px}.kpi-sales{border-color:#bfdbfe;background:#f8fbff}.stock-table-wrap{overflow:auto;max-width:100%}
@media(max-width:800px){.lpos-content{padding:8px}.lpos-topbar{height:54px}.lpos-topbar h1{font-size:16px}.lpos-content>.page-card,.lpos-content>.report-page{min-width:0}.page-card{padding:11px}.page-toolbar{flex-wrap:wrap}.page-toolbar input{min-width:0!important;flex:1}.lpos-table{min-width:650px}.stock-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.report-toolbar{align-items:stretch;flex-direction:column}.report-dates{display:grid;grid-template-columns:1fr auto 1fr;gap:6px}.report-dates input{width:100%;min-width:0!important}.report-dates .mini-btn{grid-column:1/-1;width:100%;height:40px}.report-grid{grid-template-columns:1fr}.report-kpis{grid-template-columns:1fr 1fr}.kpi{padding:11px}.kpi b{font-size:18px}.report-panel{padding:12px}.lpos-main{min-width:0}.customer-picker{min-width:0}.pos-left{height:52vh}.pos-right{min-height:460px}.modal{width:calc(100% - 20px);max-height:88vh}.lpos-mobile-drawer{width:290px}.lpos-mobile-brand{height:56px}.lpos-mobile-brand b{max-width:58vw}}
.lpos-public-order .public-cart-customer{padding-left:16px;padding-right:16px}.lpos-public-order .public-cart-customer-grid{gap:8px}.lpos-public-order .public-cart-customer input,.lpos-public-order .public-cart-customer textarea,.lpos-public-order .public-cart-customer select{font-size:13px}.lpos-public-order .public-cart-customer input,.lpos-public-order .public-cart-customer select{height:40px}.lpos-public-order .public-cart-customer label{font-size:10px}
@media(max-width:430px){.report-kpis{grid-template-columns:1fr 1fr}.report-dates{grid-template-columns:1fr 1fr}.report-dates span{display:none}.report-dates .mini-btn{grid-column:1/-1}.page-toolbar .mini-btn{width:auto}.lpos-topbar .online{display:none}}

/* v2.6.6 customer mobile UI */
.customer-toolbar{display:flex;align-items:center;gap:9px;margin-bottom:9px}.customer-search-wrap{position:relative;display:flex;align-items:center;flex:1;min-width:0}.customer-search-wrap>span{position:absolute;left:11px;color:#94a3b8;font-size:18px;pointer-events:none}.customer-search-wrap input{height:42px!important;width:100%!important;min-width:0!important;padding:0 34px!important;border:1px solid #dbe2ea;border-radius:9px;font-size:12px}.customer-search-wrap button{position:absolute;right:6px;width:28px;height:28px;border:0;background:transparent;color:#94a3b8;font-size:20px;cursor:pointer;border-radius:6px}.customer-search-wrap button:hover{background:#f1f5f9;color:#334155}.customer-count{font-size:10px;color:#94a3b8;margin:2px 0 10px}.customer-cards-mobile{display:none}.customer-empty{padding:34px 15px;text-align:center;border:1px dashed #dbe2ea;border-radius:10px;color:#64748b;display:flex;flex-direction:column;gap:6px;font-size:11px}.customer-empty b{color:#334155;font-size:13px}.customer-card{background:#fff;border:1px solid #e5eaf0;border-radius:11px;padding:12px;margin-bottom:8px}.customer-card-head{display:flex;align-items:center;gap:10px}.customer-avatar{width:38px;height:38px;border-radius:50%;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;flex:0 0 38px}.customer-card-name{min-width:0}.customer-card-name b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-card-name small{display:block;color:#94a3b8;font-size:9px;margin-top:3px}.customer-card-info{border-top:1px solid #eef1f5;margin-top:10px;padding-top:8px;display:flex;flex-direction:column;gap:7px}.customer-card-info div,.customer-card-info a{display:flex;align-items:flex-start;gap:8px;color:#475569;font-size:10px;line-height:1.4;text-decoration:none}.customer-card-info span{width:18px;text-align:center;color:#94a3b8;flex:0 0 18px}.customer-card-info a{color:#2563eb;font-weight:600}
@media(max-width:600px){.customer-toolbar{align-items:stretch;flex-direction:column}.customer-add-page{width:100%;height:42px}.customer-search-wrap input{font-size:16px!important}.customer-table-desktop{display:none}.customer-cards-mobile{display:block}.customers-page-card{padding:10px}.customer-count{margin-bottom:8px}}
@media(min-width:601px){.customer-table-desktop{display:block}}

/* v2.7.0 GrabFood-style product list + public quick order */
.product-list{display:flex;flex-direction:column;gap:0}.product-list-card{display:flex;gap:12px;padding:11px 2px;border-bottom:1px solid #edf1f5;background:#fff;cursor:pointer;min-height:112px}.product-list-card:hover{background:#fafcff}.product-list-image{width:104px;height:104px;flex:0 0 104px;border-radius:10px;overflow:hidden;background:#f4f6f8}.product-list-image img{width:100%;height:100%;object-fit:cover}.product-list-main{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:2px 2px}.product-list-name{font-size:14px;font-weight:750;color:#172033;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-list-sku{font-size:9px;color:#94a3b8;margin-top:5px}.product-list-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.product-list-bottom strong{font-size:14px;color:#2563eb}.product-add-btn{width:34px;height:34px;border:0;border-radius:50%;background:#2563eb;color:#fff;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 10px rgba(37,99,235,.22)}.product-qty{display:flex;align-items:center;gap:8px}.product-qty button{width:32px;height:32px;border:1px solid #dbe2ea;border-radius:50%;background:#fff;color:#2563eb;font-size:19px;line-height:1;cursor:pointer}.product-qty b{min-width:18px;text-align:center;font-size:13px}.product-out{font-size:10px;color:#b91c1c;background:#fff1f2;border-radius:6px;padding:6px 8px}.product-list-card.is-out{cursor:not-allowed;opacity:.62}.lpos-frontend-body .product-list{padding:0 2px}.lpos-frontend-body .products-scroll{padding:5px 13px}.lpos-frontend-body .pos-left{background:#fff}.public-order-app{min-height:100vh;background:#f6f8fb;color:#172033;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.public-order-head{height:68px;background:#fff;border-bottom:1px solid #e5eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 max(14px,calc((100vw - 900px)/2));position:sticky;top:0;z-index:20}.public-store{display:flex;align-items:center;gap:10px}.public-store-logo{width:42px;height:42px;border-radius:10px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}.public-store b,.public-store small{display:block}.public-store b{font-size:15px}.public-store small{font-size:10px;color:#94a3b8;margin-top:2px}.public-online{font-size:10px;color:#16a34a;font-weight:700}.public-order-body{max-width:900px;margin:auto;padding:12px 14px 90px}.public-toolbar{margin-bottom:8px}.public-toolbar input{height:44px;width:100%;border:1px solid #dbe2ea;border-radius:10px;padding:0 13px;font-size:15px;background:#fff}.public-order-body .cat-bar{border:0;background:transparent;padding:8px 0;position:sticky;top:68px;z-index:10}.public-order-body .product-list{background:#fff;border-radius:12px;padding:0 12px;box-shadow:0 2px 10px rgba(15,23,42,.04)}.public-cart-bar{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);width:min(872px,calc(100% - 24px));background:#111827;color:#fff;border-radius:12px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;z-index:30;box-shadow:0 10px 30px rgba(0,0,0,.25)}.public-cart-bar small,.public-cart-bar b{display:block}.public-cart-bar small{font-size:9px;color:#cbd5e1}.public-cart-bar b{font-size:16px;margin-top:2px}.public-cart-bar button{height:42px;border:0;border-radius:8px;background:#2563eb;color:#fff;padding:0 18px;font-weight:800;font-size:11px;cursor:pointer}.public-modal-bg{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:99999;display:flex;align-items:flex-end;justify-content:center;padding:12px}.public-modal{width:min(560px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;padding:18px}.public-modal h2{margin:0 0 14px;font-size:18px}.public-order-summary{border:1px solid #e5eaf0;border-radius:10px;padding:10px;margin-bottom:12px}.public-order-summary div,.public-order-summary strong{display:flex;justify-content:space-between;gap:10px;padding:7px 0;font-size:11px}.public-order-summary strong{border-top:1px solid #edf1f5;margin-top:4px;padding-top:10px;font-size:14px}.public-success{text-align:center;padding:28px 20px}.success-icon{width:58px;height:58px;border-radius:50%;background:#dcfce7;color:#16a34a;font-size:32px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px}.public-success p{font-size:12px;color:#64748b}.lpos-public-order .form-field input,.lpos-public-order .form-field textarea,.lpos-public-order .form-field select{font-size:16px}.lpos-public-order .modal-close{float:right}
@media(max-width:800px){.product-list-card{min-height:96px;padding:10px 2px}.product-list-image{width:92px;height:92px;flex-basis:92px}.product-list-name{font-size:13px}.product-list-bottom strong{font-size:13px}.lpos-frontend-body .products-scroll{padding:3px 10px}.public-order-body{padding:8px 10px 88px}.public-order-body .cat-bar{top:68px}.public-order-body .product-list{padding:0 10px}.public-cart-bar{bottom:8px}.public-modal{border-radius:16px 16px 0 0}}

/* v2.7.1 public quick-order mobile fixes */
.product-list-stock{font-size:10px;color:#64748b;margin-top:4px;font-weight:650;line-height:1.2}.product-list-stock.out{color:#b91c1c}.lpos-public-order{overflow-x:clip}.lpos-public-order .public-order-app,.lpos-public-order .public-order-body,.lpos-public-order #lpos-public{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:clip}.lpos-public-order .public-order-body{padding-left:10px;padding-right:10px}.lpos-public-order .public-order-head{padding-left:10px;padding-right:10px;max-width:100%;box-sizing:border-box}.lpos-public-order .public-order-head>*{min-width:0}.lpos-public-order .public-store{min-width:0}.lpos-public-order .public-store b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58vw}.lpos-public-order .public-order-body .product-list{width:100%;box-sizing:border-box;margin:0;border-radius:10px;padding:0 8px}.lpos-public-order .product-list-card{width:100%;box-sizing:border-box;min-width:0;overflow:hidden}.lpos-public-order .product-list-main{min-width:0}.lpos-public-order .product-list-name,.lpos-public-order .product-list-sku,.lpos-public-order .product-list-stock{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lpos-public-order .product-list-bottom{min-width:0}.lpos-public-order .public-cart-bar{box-sizing:border-box;max-width:calc(100% - 20px);width:calc(100% - 20px);left:10px;right:10px;transform:none}.lpos-public-order .public-cart-bar>div{min-width:0}.lpos-public-order .public-cart-bar button{flex:0 0 auto;white-space:nowrap}.lpos-public-order .public-modal-bg{box-sizing:border-box;padding:0;overflow:hidden}.lpos-public-order .public-modal{box-sizing:border-box;width:100%;max-width:560px;max-height:92dvh;overflow-y:auto;overflow-x:hidden;padding:16px}.lpos-public-order .public-order-summary{max-width:100%;box-sizing:border-box}.lpos-public-order .public-order-summary div{min-width:0}.lpos-public-order .public-order-summary div span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lpos-public-order .form-field{min-width:0}.lpos-public-order .form-field input,.lpos-public-order .form-field textarea,.lpos-public-order .form-field select{width:100%;max-width:100%;box-sizing:border-box}.lpos-public-order .pay-btn{max-width:100%;box-sizing:border-box}
@media(max-width:600px){.lpos-public-order .product-list-image{width:82px;height:82px;flex-basis:82px}.lpos-public-order .product-list-card{gap:10px;padding:9px 2px;min-height:90px}.lpos-public-order .product-list-main{padding:1px}.lpos-public-order .product-list-name{font-size:13px}.lpos-public-order .product-list-stock{font-size:9px}.lpos-public-order .product-list-sku{font-size:9px}.lpos-public-order .product-list-bottom{margin-top:5px}.lpos-public-order .product-add-btn{width:36px;height:36px}.lpos-public-order .product-qty{gap:6px}.lpos-public-order .product-qty button{width:34px;height:34px}.lpos-public-order .public-order-body{padding-bottom:84px}.lpos-public-order .public-order-body .cat-bar{top:68px;overflow-x:auto;max-width:100%;box-sizing:border-box}.lpos-public-order .public-order-body .cat-bar>*{flex:0 0 auto}}

/* v2.7.5 - public quick order search only: full-width mobile search */
@media (max-width:600px){
  .lpos-public-order .public-toolbar{width:100%;margin:0 0 10px;padding:0;box-sizing:border-box;}
  .lpos-public-order .public-toolbar input{
    display:block;
    width:100%;
    max-width:none;
    min-width:0;
    height:50px;
    margin:0;
    padding:0 14px;
    box-sizing:border-box;
    border-radius:10px;
    font-size:16px;
  }
  .lpos-public-order .public-order-body{padding-left:6px;padding-right:6px;}
  .lpos-public-order .public-order-body .cat-bar{padding-left:0;padding-right:0;}
}

/* Orders: responsive cards + contact copy controls */
.orders-mobile{display:none}.order-address{max-width:220px;white-space:normal;word-break:break-word}.order-status-select{height:34px;max-width:180px;border:1px solid #dbe2ea;border-radius:7px;padding:0 8px;background:#fff;font-size:10px}.order-card{border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin-bottom:10px;background:#fff;box-shadow:0 4px 15px rgba(15,23,42,.04)}.order-card-head,.order-card-total,.order-card-actions,.order-copy-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-card-head{padding-bottom:9px;border-bottom:1px solid #eef1f5}.order-card-head b{font-size:13px}.order-card-head span{font-size:9px;color:#94a3b8}.order-card-customer{padding:10px 0}.order-card-customer>strong{display:block;font-size:12px;margin-bottom:6px}.order-copy-row{justify-content:space-between;align-items:flex-start;margin:6px 0;font-size:10px;color:#475569;word-break:break-word}.order-copy-row span{min-width:0;flex:1}.order-copy-row .mini-btn{flex:0 0 auto;padding:5px 8px;font-size:9px}.order-card-total{padding:8px 0;font-size:10px;color:#64748b}.order-card-total b{font-size:16px;color:#2563eb}.order-card-actions{margin-top:7px}.order-card-actions .order-status-select{flex:1;max-width:none}.order-detail-contact{background:#f8fafc;border:1px solid #eef1f5;border-radius:9px;padding:9px;margin:10px 0}.order-detail-contact>b{display:block;font-size:11px;margin-bottom:6px}.order-detail-contact>div{display:flex;gap:8px;align-items:flex-start;justify-content:space-between;margin:6px 0;font-size:10px}.order-detail-contact>div span{flex:1;min-width:0;word-break:break-word}.order-detail-modal{max-width:520px;width:min(520px,100%)}
@media(max-width:800px){.orders-desktop{display:none}.orders-mobile{display:block}.page-card{padding:10px}.page-toolbar{display:flex;gap:7px}.page-toolbar input{min-width:0;flex:1;width:100%}.order-status-select{font-size:11px;height:38px}.order-card-actions .mini-btn{height:38px}.order-detail-contact>div{align-items:center}.order-detail-modal{padding:14px}}


/* v2.7.7.0 - Orders mobile layout based on the supplied design */
.orders-page-card{padding:18px}
.order-filter-grid{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(190px,1.2fr) auto;gap:10px;align-items:end;margin-bottom:14px}
.order-filter-field{display:block;min-width:0}
.order-filter-field>span{display:block;font-size:11px;font-weight:700;color:#172033;margin:0 0 6px 2px}
.order-filter-field input,.order-filter-field select{width:100%;height:42px;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:10px;background:#fff;padding:0 12px;font-size:12px;color:#172033;outline:none}
.order-filter-field input:focus,.order-filter-field select:focus,.order-search-wrap input:focus{border-color:#93bdf8;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.order-export-btn{height:42px;padding:0 18px;font-size:12px;font-weight:700;white-space:nowrap;border-color:#dbe2ea;background:#fff}
.order-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.order-refresh-btn{height:42px;padding:0 18px;font-size:12px}
.order-search-wrap{position:relative;display:block;width:min(430px,100%);min-width:0}
.order-search-wrap input{width:100%;height:42px;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:10px;background:#fff;padding:0 42px 0 38px;font-size:12px;outline:none}
.order-search-clear{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:27px;height:27px;border:0;background:transparent;color:#64748b;font-size:20px;line-height:27px;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center}.order-search-clear:hover{background:#f1f5f9;color:#1f2937}
.order-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-51%);font-size:22px;line-height:1;color:#64748b;pointer-events:none}
.order-export-notice{display:none!important}

@media(max-width:800px){
  .orders-page-card{padding:10px;border-radius:12px}
  .order-filter-grid{grid-template-columns:1fr 1fr;gap:12px 10px;margin-bottom:14px}
  .order-filter-field>span{font-size:12px;margin-bottom:6px}
  .order-filter-field input,.order-filter-field select{height:48px;border-radius:10px;font-size:14px;padding:0 12px}
  .order-status-field{grid-column:1 / -1}
  .order-export-btn{grid-column:1 / -1;width:100%;height:48px;border:1px solid #8db9ff;background:#fff;color:#1260dc;border-radius:10px;font-size:15px;font-weight:700}
  .order-list-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin-bottom:12px;align-items:center}
  .order-refresh-btn{height:48px;min-width:116px;border-radius:10px;font-size:14px}
  .order-search-wrap{width:100%}
  .order-search-wrap input{height:48px;border-radius:10px;font-size:14px;padding-left:39px}
  .order-search-icon{font-size:23px;left:12px}
  .orders-page-card #orders-table{margin:0 -1px}
  .orders-page-card .orders-mobile .order-card{border-radius:12px;padding:13px;margin-bottom:9px;box-shadow:0 2px 10px rgba(15,23,42,.04)}
}
@media(max-width:430px){
  .lpos-content{padding:6px}
  .orders-page-card{padding:9px}
  .order-filter-grid{gap:10px 8px}
  .order-filter-field input,.order-filter-field select{height:46px;font-size:13px}
  .order-export-btn{height:47px;font-size:14px}
  .order-list-toolbar{grid-template-columns:112px minmax(0,1fr);gap:8px}
  .order-refresh-btn{min-width:112px;padding:0 10px;font-size:13px}
  .order-search-wrap input{height:46px;font-size:13px;padding-left:36px}
}

/* v2.7.8.0 - Public quick-order page redesigned from supplied mobile mockup */
.lpos-public-order{background:#fff!important}
.lpos-public-order .public-order-app{background:#fff;color:#111827;min-height:100vh}
.lpos-public-order .public-order-head{height:74px;position:relative;top:auto;border:0;padding:10px 18px;background:#fff;max-width:100%;box-shadow:none}
.lpos-public-order .public-store-logo{width:52px;height:52px;border-radius:13px;font-size:24px;box-shadow:0 7px 18px rgba(37,99,235,.18)}
.lpos-public-order .public-store{gap:11px;text-decoration:none;color:#111827}
.lpos-public-order .public-store b{font-size:18px;line-height:1.15;color:#111827}
.lpos-public-order .public-store small{font-size:12px;color:#64748b;margin-top:4px}
.lpos-public-order .public-online{font-size:12px;color:#16a34a;white-space:nowrap}
.lpos-public-order .public-order-body{max-width:980px;padding:10px 18px 105px;margin:0 auto}
.lpos-public-order .public-toolbar{position:relative;margin:0 0 14px}
.lpos-public-order .public-toolbar input{height:52px;border:1px solid #dbe2ea;border-radius:14px;padding:0 54px 0 45px;font-size:16px;box-shadow:0 2px 8px rgba(15,23,42,.03)}
.lpos-public-order .public-search-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);font-size:28px;color:#64748b;z-index:2;line-height:1}
.lpos-public-order .public-scan-btn{position:absolute;right:7px;top:7px;width:38px;height:38px;border:1px solid #dbe2ea;border-radius:10px;background:#fff;color:#2563eb;font-size:22px;line-height:1}
.lpos-public-order .public-hero{position:relative;min-height:300px;border-radius:20px;overflow:hidden;background:linear-gradient(105deg,#0c377e 0%,#0b4aa5 50%,#2d74d5 100%);color:#fff;margin-bottom:16px;box-shadow:0 8px 24px rgba(37,99,235,.14)}
.lpos-public-order .public-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 45%,rgba(255,255,255,.18),transparent 35%),linear-gradient(90deg,rgba(8,37,87,.12),transparent 60%);pointer-events:none}
.lpos-public-order .public-hero-copy{position:relative;z-index:3;width:57%;padding:30px 28px 28px}
.lpos-public-order .public-hero-kicker{font-size:25px;font-weight:900;letter-spacing:.4px}
.lpos-public-order .public-hero h1{font-size:27px;line-height:1.05;margin:4px 0 8px;color:#ffd83d;font-weight:900}
.lpos-public-order .public-hero p{margin:0 0 16px;font-size:14px;font-weight:600}
.lpos-public-order .public-hero-pills{display:flex;gap:6px;flex-wrap:wrap}
.lpos-public-order .public-hero-pills span{padding:7px 9px;border:1px solid rgba(255,255,255,.5);border-radius:10px;background:rgba(255,255,255,.08);font-size:9px;line-height:1.25}
.lpos-public-order .public-hero-pills b{font-size:10px}
.lpos-public-order .public-hero-cta{margin-top:18px;border:0;border-radius:999px;background:#ffd52f;color:#122a57;padding:11px 22px;font-size:13px;font-weight:900;box-shadow:0 8px 18px rgba(0,0,0,.14)}
.lpos-public-order .public-hero-products{position:absolute;right:0;top:0;width:53%;height:100%;z-index:2;overflow:hidden}
.lpos-public-order .public-hero-products:before{content:"";position:absolute;right:-10%;bottom:-30%;width:85%;height:100%;background:radial-gradient(ellipse at center,rgba(255,220,120,.65),transparent 62%);filter:blur(3px)}
.lpos-public-order .hero-product{position:absolute;object-fit:contain;border-radius:14px;filter:drop-shadow(0 12px 15px rgba(0,0,0,.24));max-width:46%;max-height:62%}
.lpos-public-order .hero-product-1{right:35%;bottom:12%;transform:rotate(-3deg);z-index:3}.lpos-public-order .hero-product-2{right:5%;bottom:19%;transform:rotate(3deg);z-index:4}.lpos-public-order .hero-product-3{right:23%;bottom:0;max-height:52%;transform:rotate(-1deg);z-index:5}
.lpos-public-order .hero-orb{position:absolute;border-radius:50%;filter:blur(1px);opacity:.65}.lpos-public-order .hero-orb-1{width:170px;height:170px;right:8%;bottom:-80px;background:#f9d77d}.lpos-public-order .hero-orb-2{width:110px;height:110px;right:47%;bottom:-50px;background:#fff0b0}
.lpos-public-order .public-hero-dots{position:absolute;z-index:6;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:7px}.lpos-public-order .public-hero-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5)}.lpos-public-order .public-hero-dots i.active{background:#fff}
.lpos-public-order .public-category-card{background:#fff;border-radius:18px;padding:11px 8px;margin-bottom:14px;box-shadow:0 4px 16px rgba(15,23,42,.06);border:1px solid #f0f2f5}
.lpos-public-order .public-category-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.lpos-public-order .public-category-row::-webkit-scrollbar{display:none}
.lpos-public-order .public-category-item{flex:0 0 82px;border:0;background:transparent;padding:4px 2px 2px;color:#334155;text-align:center;font:inherit}.lpos-public-order .public-category-item b{display:block;font-size:11px;line-height:1.25;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lpos-public-order .public-category-icon{width:49px;height:49px;margin:auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1f5f9;font-size:23px}.lpos-public-order .public-category-item.active .public-category-icon{background:#1267e8;color:#fff;box-shadow:0 6px 14px rgba(37,99,235,.2)}.lpos-public-order .public-category-item.active b{color:#1267e8}.lpos-public-order .public-more-category .public-category-icon{color:#64748b}
.lpos-public-order .public-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#f2f7ff;border-radius:16px;margin-bottom:18px;overflow:hidden}.lpos-public-order .public-benefits>div{padding:13px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid #dbeafe}.lpos-public-order .public-benefits>div:last-child{border-right:0}.lpos-public-order .public-benefits b{font-size:12px}.lpos-public-order .public-benefits small{font-size:10px;color:#64748b;margin-top:3px}
.lpos-public-order .public-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 2px 9px}.lpos-public-order .public-section-head h2{margin:0;font-size:18px;color:#111827}.lpos-public-order .public-section-head button{border:0;background:transparent;color:#1267e8;font-weight:800;font-size:11px;padding:5px}
.lpos-public-order .public-featured{margin-bottom:18px}.lpos-public-order .public-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.lpos-public-order .public-featured-card{position:relative;overflow:hidden;border:1px solid #eef1f4;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.05)}.lpos-public-order .featured-image{height:130px;background:#f7f4ee;display:flex;align-items:center;justify-content:center;overflow:hidden}.lpos-public-order .featured-image img{width:100%;height:100%;object-fit:cover}.lpos-public-order .featured-info{padding:9px 9px 10px}.lpos-public-order .featured-info>b{display:block;font-size:11px;line-height:1.25;min-height:29px}.lpos-public-order .featured-info>div{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:6px}.lpos-public-order .featured-info strong{color:#1267e8;font-size:12px}.lpos-public-order .featured-info .product-add-btn{width:30px;height:30px;font-size:18px;box-shadow:none}.lpos-public-order .featured-heart{position:absolute;z-index:3;right:7px;top:7px;width:27px;height:27px;border:0;border-radius:50%;background:#fff;color:#172033;font-size:17px;box-shadow:0 2px 8px rgba(15,23,42,.1)}.lpos-public-order .featured-badge{position:absolute;z-index:3;left:7px;top:7px;padding:4px 7px;border-radius:999px;background:#16a34a;color:#fff;font-size:9px;font-weight:800}.lpos-public-order .featured-badge.hot{background:#f04438}.lpos-public-order .featured-badge.sale{background:#ef4444}
.lpos-public-order .public-product-filter{background:#fff;border:1px solid #edf0f3;border-radius:15px;padding:10px 10px 4px;margin:0 0 10px;box-shadow:0 4px 14px rgba(15,23,42,.04)}.lpos-public-order .public-product-filter .public-toolbar{margin:0 0 2px}.lpos-public-order .public-product-filter .public-cat-list{padding-bottom:5px}.lpos-public-order .public-products-section .public-section-head{margin-top:2px}
.lpos-public-order .public-products-section{margin-top:2px}.lpos-public-order .public-cat-list{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:0 0 8px;position:relative;top:auto!important}.lpos-public-order .public-cat-list::-webkit-scrollbar{display:none}.lpos-public-order .public-cat-list .cat-chip{flex:0 0 auto;border:0;background:#f1f4f8;color:#526075;border-radius:999px;padding:8px 14px;font-size:11px;font-weight:750}.lpos-public-order .public-cat-list .cat-chip.active{background:#1267e8;color:#fff}
.lpos-public-order .public-products-section .product-list{background:#fff;border-radius:15px;border:1px solid #edf0f3;padding:0 9px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.lpos-public-order .public-products-section .product-list-card{min-height:105px;padding:10px 2px;gap:12px}.lpos-public-order .public-products-section .product-list-image{width:112px;height:92px;flex-basis:112px;border-radius:10px}.lpos-public-order .public-products-section .product-list-name{font-size:14px}.lpos-public-order .public-products-section .product-list-stock{font-size:10px}.lpos-public-order .public-products-section .product-list-sku{font-size:10px}.lpos-public-order .public-products-section .product-list-bottom strong{font-size:14px}.lpos-public-order .public-cart-bar{left:50%;right:auto;bottom:12px;width:min(940px,calc(100% - 28px));max-width:none;transform:translateX(-50%);border-radius:17px;padding:11px 14px;background:#0f172a;box-shadow:0 14px 35px rgba(15,23,42,.28)}.lpos-public-order .public-cart-bar small{font-size:10px}.lpos-public-order .public-cart-bar b{font-size:18px}.lpos-public-order .public-cart-bar button{height:46px;border-radius:11px;font-size:13px;padding:0 24px}
/* v2.7.8.2 - Keep quick-order search + category filters visible while scrolling */
@media(max-width:700px){
.lpos-public-order .public-product-filter{
  position:sticky;
  top:0;
  z-index:80;
  margin-top:0;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  box-shadow:0 6px 18px rgba(15,23,42,.10);
}
.lpos-public-order .public-product-filter .public-toolbar{
  margin-bottom:4px;
}
.lpos-public-order .public-product-filter .public-cat-list{
  background:transparent;
}
.lpos-public-order .public-product-filter.is-stuck{
  border-color:#dbe7f8;
}
@media(max-width:700px){
.lpos-public-order .public-product-filter{padding:8px 8px 3px;border-radius:13px}.lpos-public-order .public-product-filter .public-toolbar input{height:48px}.lpos-public-order .public-product-filter .public-cat-list{padding-bottom:4px}
 .lpos-public-order .public-order-head{height:72px;padding:9px 14px}.lpos-public-order .public-store-logo{width:48px;height:48px}.lpos-public-order .public-store b{font-size:16px}.lpos-public-order .public-order-body{padding:8px 12px 104px}.lpos-public-order .public-toolbar input{height:50px;font-size:15px}.lpos-public-order .public-hero{min-height:270px;border-radius:17px}.lpos-public-order .public-hero-copy{width:62%;padding:23px 18px}.lpos-public-order .public-hero-kicker{font-size:20px}.lpos-public-order .public-hero h1{font-size:22px}.lpos-public-order .public-hero p{font-size:11px}.lpos-public-order .public-hero-pills{gap:4px}.lpos-public-order .public-hero-pills span{font-size:8px;padding:6px 7px}.lpos-public-order .public-hero-cta{font-size:11px;padding:9px 16px}.lpos-public-order .public-hero-products{width:51%}.lpos-public-order .hero-product{max-width:55%;max-height:52%}.lpos-public-order .hero-product-1{right:30%;bottom:15%}.lpos-public-order .hero-product-2{right:-3%;bottom:23%}.lpos-public-order .hero-product-3{right:17%;bottom:0}.lpos-public-category-card{padding:9px 4px}.lpos-public-order .public-category-item{flex-basis:72px}.lpos-public-order .public-category-icon{width:43px;height:43px;font-size:20px}.lpos-public-order .public-category-item b{font-size:10px}.lpos-public-order .public-benefits>div{padding:11px 5px}.lpos-public-order .public-benefits b{font-size:10px}.lpos-public-order .public-benefits small{font-size:8px}.lpos-public-order .public-section-head h2{font-size:16px}.lpos-public-order .public-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lpos-public-order .featured-image{height:125px}.lpos-public-order .featured-info>b{font-size:11px}.lpos-public-order .public-products-section .product-list-image{width:92px;height:82px;flex-basis:92px}.lpos-public-order .public-products-section .product-list-card{min-height:94px}.lpos-public-order .public-products-section .product-list-name{font-size:13px}.lpos-public-order .public-products-section .product-list-bottom strong{font-size:13px}.lpos-public-order .public-cart-bar{bottom:8px;width:calc(100% - 20px);border-radius:14px;padding:9px 10px}.lpos-public-order .public-cart-bar button{height:44px;font-size:12px;padding:0 17px}
}
@media(max-width:430px){.lpos-public-order .public-order-head{padding-left:10px;padding-right:10px}.lpos-public-order .public-store b{max-width:60vw}.lpos-public-order .public-order-body{padding-left:8px;padding-right:8px}.lpos-public-order .public-hero{min-height:250px}.lpos-public-order .public-hero-copy{width:65%;padding:20px 14px}.lpos-public-order .public-hero-kicker{font-size:18px}.lpos-public-order .public-hero h1{font-size:20px}.lpos-public-order .public-hero p{font-size:10px}.lpos-public-order .public-hero-pills span{font-size:7px}.lpos-public-order .public-hero-cta{margin-top:12px}.lpos-public-order .public-category-card{border-radius:14px}.lpos-public-order .public-category-row{gap:5px}.lpos-public-order .public-category-item{flex-basis:67px}.lpos-public-order .public-benefits{border-radius:13px}.lpos-public-order .public-featured-grid{gap:7px}.lpos-public-order .featured-image{height:112px}.lpos-public-order .public-featured-card{border-radius:11px}.lpos-public-order .public-products-section .product-list{padding:0 7px}.lpos-public-order .public-products-section .product-list-image{width:84px;height:78px;flex-basis:84px}.lpos-public-order .public-products-section .product-list-card{gap:9px}.lpos-public-order .public-products-section .product-list-name{font-size:12px}.lpos-public-order .public-products-section .product-list-stock,.lpos-public-order .public-products-section .product-list-sku{font-size:9px}.lpos-public-order .public-cart-bar{max-width:calc(100% - 16px);width:calc(100% - 16px)}}

/* v2.7.8.3 - quick order sticky search + categories at viewport top */
.lpos-public-order .public-order-head{position:relative;top:auto;z-index:20;}
.lpos-public-order .public-product-filter{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);padding:8px 0 7px;border-bottom:1px solid #e7edf4;box-shadow:0 6px 16px rgba(15,23,42,.08);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.lpos-public-order .public-product-filter .public-toolbar{margin-bottom:8px;}
.lpos-public-order .public-product-filter .cat-bar{position:static!important;top:auto!important;background:transparent;}
.lpos-public-order .public-product-filter .public-cat-list{overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;}
.lpos-public-order .public-product-filter .public-cat-list::-webkit-scrollbar{display:none;}
@media(max-width:600px){
  .lpos-public-order .public-product-filter{padding:7px 0 6px;margin:0 -6px;width:calc(100% + 12px);}
  .lpos-public-order .public-product-filter .public-toolbar{padding:0 6px;margin-bottom:7px;}
  .lpos-public-order .public-product-filter .public-cat-list{padding:0 6px;}
}

/* v2.7.8.4 - protect fixed cart bar from scrolling content */
@media(max-width:700px){
  .lpos-public-order .public-order-body{padding-bottom:170px!important;}
  .lpos-public-order .public-product-filter{z-index:80;}
  .lpos-public-order .public-cart-bar{z-index:200;bottom:max(8px,env(safe-area-inset-bottom));}
}
@media(max-width:430px){
  .lpos-public-order .public-order-body{padding-bottom:178px!important;}
  .lpos-public-order .public-cart-bar{bottom:max(8px,env(safe-area-inset-bottom));}
}

/* v2.7.8.7 - public cart/list quantity synchronization + customer info in cart */
.lpos-public-order .public-order-summary{display:flex;flex-direction:column;gap:0;overflow:hidden}
.lpos-public-order .public-cart-line{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf1f5;min-width:0}
.lpos-public-order .public-cart-line>img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#f4f6f8}
.lpos-public-order .public-cart-line-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.lpos-public-order .public-cart-line-main>b{font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpos-public-order .public-cart-line-main>small{font-size:10px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpos-public-order .public-cart-qty{display:flex;align-items:center;gap:5px;margin-top:3px}
.lpos-public-order .public-cart-qty button{width:28px;height:28px;border:1px solid #dbe2ea;border-radius:7px;background:#fff;color:#2563eb;font-size:17px;line-height:1;padding:0}
.lpos-public-order .public-cart-qty input{width:38px;height:28px;border:1px solid #dbe2ea;border-radius:7px;text-align:center;font-size:12px;padding:0;box-sizing:border-box}
.lpos-public-order .public-cart-line-right{display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:58px}
.lpos-public-order .public-cart-line-right>b{font-size:11px;white-space:nowrap}
.lpos-public-order .public-remove-line{width:24px;height:24px;border:0;border-radius:6px;background:#fff1f2;color:#dc2626;font-size:16px;line-height:1;padding:0}
.lpos-public-order .public-cart-total-row{display:flex!important;justify-content:space-between;align-items:center;padding:11px 0 7px;font-size:14px;font-weight:800}
.lpos-public-order .public-clear-cart{width:100%;height:36px;border:1px solid #fecaca;border-radius:8px;background:#fff;color:#dc2626;font-size:11px;font-weight:750;margin-top:3px}
.lpos-public-order .public-cart-empty{text-align:center;padding:18px 8px;color:#64748b;font-size:12px}
@media(max-width:600px){
 .lpos-public-order .public-modal{padding:14px 12px 18px;max-height:calc(100dvh - 8px)}
 .lpos-public-order .public-cart-line{grid-template-columns:42px minmax(0,1fr) auto;gap:7px;padding:8px 0}
 .lpos-public-order .public-cart-line>img{width:42px;height:42px}
 .lpos-public-order .public-cart-line-main>b{font-size:11px}
 .lpos-public-order .public-cart-qty button{width:27px;height:27px}
 .lpos-public-order .public-cart-qty input{width:36px;height:27px}
 .lpos-public-order .public-cart-line-right{min-width:54px}
}


/* v2.7.8.7 - quick-order cart product list only; preserve bottom-sheet behavior */
.lpos-public-order .public-cart-modal{position:relative;width:min(560px,100%);max-width:560px;max-height:92vh;padding:0;overflow:hidden;box-sizing:border-box;border-radius:16px 16px 0 0;background:#fff;display:flex;flex-direction:column}
.lpos-public-order .public-cart-header{height:58px;flex:0 0 58px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid #e5eaf0;background:#fff}
.lpos-public-order .public-cart-header h2{margin:0;font-size:17px;line-height:1.1;color:#111827}
.lpos-public-order .public-cart-header small{display:block;margin-top:3px;font-size:10px;color:#94a3b8}
.lpos-public-order .public-cart-back{width:34px;height:34px;border:0;background:transparent;border-radius:50%;font-size:22px;line-height:1;color:#64748b;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lpos-public-order .public-cart-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;background:#fff;padding-bottom:0;-webkit-overflow-scrolling:touch}
.lpos-public-order .public-cart-summary{height:auto;overflow:visible;border:0;border-radius:0;margin:0;padding:2px 14px 6px;background:#fff}

/* Product list in the cart: compact, dense, and uses Lite POS blue only. */
.lpos-public-order .public-cart-line{display:grid;grid-template-columns:64px minmax(0,1fr) 96px;gap:9px;padding:9px 0;align-items:center;border-bottom:1px solid #eef1f5;background:#fff}
.lpos-public-order .public-cart-line>img{width:64px;height:64px;border-radius:9px;background:#f4f6f8;object-fit:cover}
.lpos-public-order .public-cart-line-main{min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:1px}
.lpos-public-order .public-cart-line-main>b{font-size:13px;line-height:1.28;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#172033}
.lpos-public-order .public-cart-line-main>small{font-size:9px;color:#94a3b8;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpos-public-order .public-cart-line-right{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.lpos-public-order .public-cart-line-right>b{font-size:12px;color:#374151;line-height:1.1;white-space:nowrap}
.lpos-public-order .public-cart-qty{height:32px;display:flex;align-items:center;justify-content:center;gap:0;border:1.5px solid #2563eb;border-radius:17px;background:#fff;padding:0 3px;box-sizing:border-box}
.lpos-public-order .public-cart-qty button{width:25px;height:28px;border:0;background:transparent;color:#64748b;font-size:19px;line-height:1;padding:0;cursor:pointer}
.lpos-public-order .public-cart-qty button:last-child{color:#2563eb}
.lpos-public-order .public-cart-qty input{width:26px;height:28px;border:0;background:transparent;text-align:center;font-size:13px;font-weight:700;color:#374151;padding:0;outline:none}

/* Keep the customer section and order footer compact; do not redesign them. */
.lpos-public-order .public-cart-customer{display:block;padding:4px 14px 14px;background:#fff;border-top:1px solid #f0f2f5}
.lpos-public-order .public-cart-footer{position:relative;left:auto;right:auto;bottom:auto;z-index:5;background:#fff;border-top:1px solid #eef0f2;box-shadow:0 -5px 14px rgba(15,23,42,.06);padding:9px 14px calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1.55fr;gap:10px;align-items:center;flex:0 0 auto}
.lpos-public-order .public-place-order{height:44px;border:0;border-radius:24px;background:#2563eb;color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:none}
.lpos-public-order .public-place-order:hover{background:#1d4ed8}

@media(max-width:800px){
  .lpos-public-order .public-modal-bg{padding:0;align-items:flex-end;justify-content:center}
  .lpos-public-order .public-cart-modal{width:100%;max-width:560px;max-height:92dvh;height:auto;border-radius:16px 16px 0 0}
}
@media(max-width:600px){
  .lpos-public-order .public-cart-header{height:56px;flex-basis:56px;padding:0 12px}
  .lpos-public-order .public-cart-header h2{font-size:16px}
  .lpos-public-order .public-cart-summary{padding:1px 12px 5px}
  .lpos-public-order .public-cart-line{grid-template-columns:68px minmax(0,1fr) 92px;gap:9px;padding:8px 0}
  .lpos-public-order .public-cart-line>img{width:68px;height:68px;border-radius:9px}
  .lpos-public-order .public-cart-line-main>b{font-size:13px}
  .lpos-public-order .public-cart-line-right>b{font-size:12px}
  .lpos-public-order .public-cart-qty{height:32px}
  .lpos-public-order .public-cart-qty button{width:24px;height:28px;font-size:19px}
  .lpos-public-order .public-cart-qty input{width:25px;height:28px;font-size:13px}
  .lpos-public-order .public-cart-customer{padding-left:12px;padding-right:12px}
  .lpos-public-order .public-cart-footer{padding-left:12px;padding-right:12px}
  .lpos-public-order .public-place-order{height:44px;font-size:13px}
}
@media(max-width:430px){
  .lpos-public-order .public-cart-line{grid-template-columns:62px minmax(0,1fr) 88px;gap:8px;padding:7px 0}
  .lpos-public-order .public-cart-line>img{width:62px;height:62px}
  .lpos-public-order .public-cart-line-main>b{font-size:12px}
  .lpos-public-order .public-cart-line-right>b{font-size:11px}
  .lpos-public-order .public-cart-qty{height:30px}
  .lpos-public-order .public-cart-qty button{width:22px;height:26px;font-size:18px}
  .lpos-public-order .public-cart-qty input{width:24px;height:26px;font-size:12px}
}

/* v2.7.8.7 - clearer customer information block in quick-order cart */
.lpos-public-order .public-cart-customer{
  padding:12px 14px 14px;
  background:#fff;
  border-top:1px solid #e8edf3;
  border-bottom:1px solid #e8edf3;
}
.lpos-public-order .public-cart-customer-head{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:11px;
  padding-bottom:9px;
  border-bottom:1px solid #eef2f6;
}
.lpos-public-order .public-cart-customer-head:before{
  content:'👤';
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#eff6ff;
  font-size:16px;
}
.lpos-public-order .public-cart-customer-title{
  font-size:14px;
  line-height:1.2;
  font-weight:800;
  color:#172033;
}
.lpos-public-order .public-cart-customer-head small{
  display:block;
  margin-top:3px;
  font-size:10px;
  line-height:1.3;
  color:#64748b;
}
.lpos-public-order .public-cart-customer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.lpos-public-order .public-cart-customer .form-field{
  margin:0;
  min-width:0;
}
.lpos-public-order .public-cart-customer .form-field label{
  display:block;
  margin:0 0 5px;
  font-size:10px;
  line-height:1.2;
  font-weight:750;
  color:#475569;
}
.lpos-public-order .public-cart-customer .form-field label:after{
  content:'';
}
.lpos-public-order .public-cart-customer .form-field input,
.lpos-public-order .public-cart-customer .form-field select,
.lpos-public-order .public-cart-customer .form-field textarea{
  width:100%;
  min-height:38px;
  box-sizing:border-box;
  border:1px solid #d8e0e9;
  border-radius:8px;
  background:#fff;
  color:#172033;
  font-size:12px;
  padding:8px 10px;
  outline:none;
  transition:border-color .15s,box-shadow .15s;
}
.lpos-public-order .public-cart-customer .form-field textarea{
  min-height:58px;
  resize:vertical;
  line-height:1.35;
}
.lpos-public-order .public-cart-customer .form-field input::placeholder,
.lpos-public-order .public-cart-customer .form-field textarea::placeholder{
  color:#a3acb9;
}
.lpos-public-order .public-cart-customer .form-field input:focus,
.lpos-public-order .public-cart-customer .form-field select:focus,
.lpos-public-order .public-cart-customer .form-field textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 2px rgba(37,99,235,.08);
}
.lpos-public-order .public-cart-customer .public-cart-field-full{
  grid-column:1 / -1;
}
@media(max-width:430px){
  .lpos-public-order .public-cart-customer{padding:11px 12px 13px}
  .lpos-public-order .public-cart-customer-grid{gap:8px}
  .lpos-public-order .public-cart-customer-title{font-size:13px}
  .lpos-public-order .public-cart-customer .form-field label{font-size:9px}
  .lpos-public-order .public-cart-customer .form-field input,
  .lpos-public-order .public-cart-customer .form-field select,
  .lpos-public-order .public-cart-customer .form-field textarea{font-size:11px;min-height:36px;padding:7px 9px}
  .lpos-public-order .public-cart-customer .form-field textarea{min-height:52px}
}
@media(max-width:350px){
  .lpos-public-order .public-cart-customer-grid{grid-template-columns:1fr}
  .lpos-public-order .public-cart-customer .public-cart-field-full{grid-column:auto}
}


/* v2.7.8.8 - clearer customer note/payment + delivery time + compact total */
.lpos-public-order .public-cart-customer-grid .public-cart-field-full{grid-column:1 / -1}
.lpos-public-order .public-cart-footer-total{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.lpos-public-order .public-cart-footer-total span{font-size:10px;font-weight:600;color:#64748b;white-space:nowrap}
.lpos-public-order .public-cart-footer-total b{font-size:17px;font-weight:800;color:#2563eb;white-space:nowrap}
@media(max-width:600px){
  .lpos-public-order .public-cart-customer-grid{grid-template-columns:1fr 1fr;gap:8px}
  .lpos-public-order .public-cart-customer-grid .public-cart-field-full{grid-column:1 / -1}
  .lpos-public-order .public-cart-customer-grid .public-cart-field-full textarea{min-height:58px}
  .lpos-public-order .public-cart-footer-total{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px}
  .lpos-public-order .public-cart-footer-total span{font-size:9px;line-height:1.1}
  .lpos-public-order .public-cart-footer-total b{font-size:16px;line-height:1.2}
}
@media(max-width:380px){
  .lpos-public-order .public-cart-customer-grid{grid-template-columns:1fr}
  .lpos-public-order .public-cart-customer-grid .public-cart-field-full{grid-column:auto}
}


/* v2.7.8.9 - urgent delivery success notice */
.lpos-public-order .public-urgent-success{
  margin:12px 0;
  padding:11px 12px;
  border:1px solid #d8e0e9;
  border-radius:10px;
  background:#f8fafc;
  display:flex;
  flex-direction:column;
  gap:4px;
  text-align:left;
}
.lpos-public-order .public-urgent-success b{font-size:13px;color:#2563eb}
.lpos-public-order .public-urgent-success span{font-size:12px;font-weight:700;color:#172033}
.lpos-public-order .public-urgent-success small{font-size:11px;color:#64748b}
.lpos-public-order .public-urgent-call{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  margin-top:4px;
  border-radius:8px;
  background:#2563eb;
  color:#fff !important;
  text-decoration:none !important;
  font-size:12px;
  font-weight:800;
}

/* v2.7.8.10 - compact cart list refinements */
.lpos-public-order .public-cart-header h2{display:flex;align-items:center;gap:6px}
.lpos-public-order .public-cart-title-icon{font-size:16px;line-height:1;display:inline-flex;align-items:center}
.lpos-public-order .public-cart-qty{justify-content:flex-start}
.lpos-public-order .public-cart-qty .public-cart-plus{margin-left:auto;color:#2563eb}
.lpos-public-order .public-cart-line>img{width:48px;height:48px}
.lpos-public-order .public-cart-line{grid-template-columns:48px minmax(0,1fr) 96px}
@media(max-width:430px){
  .lpos-public-order .public-cart-line{grid-template-columns:51px minmax(0,1fr) 92px;gap:7px;padding:7px 0}
  .lpos-public-order .public-cart-line>img{width:51px;height:51px}
}

/* v2.7.8.11 - cart-only refinements: close button right, smaller product thumbnails */
.lpos-public-order .public-cart-header .public-cart-back{order:2;margin-left:auto;flex:0 0 34px}
.lpos-public-order .public-cart-header>div{order:1}
.lpos-public-order .public-cart-line{grid-template-columns:52px minmax(0,1fr) 96px}
.lpos-public-order .public-cart-line>img{width:52px;height:52px}
@media(max-width:600px){
  .lpos-public-order .public-cart-line{grid-template-columns:51px minmax(0,1fr) 92px}
  .lpos-public-order .public-cart-line>img{width:51px;height:51px}
}
@media(max-width:430px){
  .lpos-public-order .public-cart-line{grid-template-columns:47px minmax(0,1fr) 88px}
  .lpos-public-order .public-cart-line>img{width:47px;height:47px}
}

/* v2.7.8.15 - quick-order product description */
.lpos-public-order .product-list-image{position:relative;overflow:hidden}
.lpos-public-order .product-description-btn{position:absolute;left:5px;right:5px;bottom:5px;height:24px;border:0;border-radius:7px;background:rgba(37,99,235,.94);color:#fff;font-size:9px;font-weight:800;line-height:24px;padding:0 7px;cursor:pointer;box-shadow:0 2px 6px rgba(15,23,42,.18);z-index:2}
.lpos-public-order .product-description-btn:active{transform:translateY(1px)}
.lpos-public-order .public-product-description-modal{padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:92dvh}
.lpos-public-order .public-product-description-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 10px;border-bottom:1px solid #edf1f5;flex:0 0 auto}
.lpos-public-order .public-product-description-head small{display:block;color:#64748b;font-size:9px;margin-bottom:3px}
.lpos-public-order .public-product-description-head h2{margin:0;font-size:16px;line-height:1.3;color:#172033}
.lpos-public-order .public-description-close{width:34px;height:34px;flex:0 0 34px;border:0;border-radius:50%;background:#f1f5f9;color:#334155;font-size:23px;line-height:1;cursor:pointer}
.lpos-public-order .public-product-description-image{margin:12px 16px 0;height:150px;border-radius:10px;background:#f6f8fb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.lpos-public-order .public-product-description-image img{width:100%;height:100%;object-fit:contain}
.lpos-public-order .public-product-description-price{padding:10px 16px 0;font-size:17px;font-weight:800;color:#2563eb}
.lpos-public-order .public-product-description-body{padding:10px 16px 18px;overflow:auto;font-size:12px;line-height:1.6;color:#475569}
.lpos-public-order .public-product-description-body p{margin:0 0 9px}
.lpos-public-order .public-product-description-body img{max-width:100%;height:auto;border-radius:8px}
.lpos-public-order .public-product-description-body ul,.lpos-public-order .public-product-description-body ol{padding-left:20px}
.lpos-public-order .public-description-add{margin:0 16px 16px;height:42px;border:0;border-radius:22px;background:#2563eb;color:#fff;font-size:12px;font-weight:800;cursor:pointer;flex:0 0 auto}
@media(max-width:430px){
 .lpos-public-order .product-description-btn{left:4px;right:4px;bottom:4px;height:22px;line-height:22px;font-size:8px}
 .lpos-public-order .public-product-description-image{height:130px;margin-left:12px;margin-right:12px}
 .lpos-public-order .public-product-description-head{padding-left:12px;padding-right:12px}
 .lpos-public-order .public-product-description-price,.lpos-public-order .public-product-description-body{padding-left:12px;padding-right:12px}
 .lpos-public-order .public-description-add{margin-left:12px;margin-right:12px}
}

/* v2.7.8.15 - description image and title in one row */
.lpos-public-order .public-product-description-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lpos-public-order .public-product-description-title-row{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.lpos-public-order .public-product-description-image{margin:0;width:68px;height:68px;min-width:68px;border-radius:10px;background:#f6f8fb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.lpos-public-order .public-product-description-image img{width:100%;height:100%;object-fit:contain}
.lpos-public-order .public-product-description-title{min-width:0}
.lpos-public-order .public-product-description-title h2{margin:2px 0 4px;font-size:15px;line-height:1.3;color:#172033;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lpos-public-order .public-product-description-title .public-product-description-price{padding:0;font-size:15px;font-weight:800;color:#2563eb}
@media(max-width:520px){
 .lpos-public-order .public-product-description-head{padding:10px 12px}
 .lpos-public-order .public-product-description-title-row{gap:9px}
 .lpos-public-order .public-product-description-image{width:56px;height:56px;min-width:56px;border-radius:8px}
 .lpos-public-order .public-product-description-title h2{font-size:14px}
 .lpos-public-order .public-product-description-title .public-product-description-price{font-size:14px}
}
/* v2.7.8.15 - search clear button alignment */
.lpos-public-order .public-toolbar{position:relative}
.lpos-public-order .public-scan-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;padding:0;line-height:1;font-size:21px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;appearance:none;-webkit-appearance:none}

/* v2.7.8.16 - customer notes in POS orders */
.order-note-cell{max-width:260px;white-space:normal;word-break:break-word;font-size:10px;color:#475569;line-height:1.4}.order-note-urgent{color:#dc2626!important;font-weight:800}.order-note-mobile{margin:7px 0 0;padding:8px 9px;border-radius:8px;background:#f8fafc;color:#475569;font-size:10px;line-height:1.4;word-break:break-word}.order-note-mobile.order-note-urgent{background:#fef2f2;border:1px solid #fecaca;color:#dc2626!important}.order-detail-note{margin:10px 0;padding:10px;border:1px solid #e5e7eb;border-radius:9px;background:#f8fafc;color:#475569;font-size:11px;line-height:1.5;word-break:break-word}.order-detail-note b{display:block;margin-bottom:5px;color:#334155}.order-detail-note.order-note-urgent{background:#fef2f2;border-color:#fecaca}.order-detail-note.order-note-urgent b{color:#dc2626}
@media(max-width:800px){.order-note-mobile{font-size:11px}.order-detail-note{font-size:12px}}
.cd-qr{margin-top:18px;padding:18px;border:1px solid #dbe4ee;border-radius:16px;background:#fff;text-align:center}.cd-qr[hidden]{display:none}.cd-qr-title{font-weight:700;font-size:18px;margin-bottom:10px}.cd-qr img{display:block;width:min(260px,80%);height:auto;margin:0 auto;border-radius:10px}.cd-qr-bank{margin-top:9px;font-size:13px;color:#64748b}

/* v2.7.8.22 - customer display mobile refinement */
.lpos-customer-body{overflow-x:hidden;}
.lpos-customer-body #lpos-customer-display{width:100%;overflow-x:hidden;}
.cd-qr{margin-top:14px;padding-top:14px;border-top:1px solid #e2e8f0;text-align:center;}
.cd-qr-title{font-size:13px;font-weight:800;color:#172033;margin-bottom:8px;}
.cd-qr img{display:block;width:min(220px,100%);max-width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 auto;border-radius:10px;}
.cd-qr-bank{font-size:10px;color:#94a3b8;margin-top:7px;line-height:1.4;}
@media(max-width:800px){
  .lpos-customer-body{width:100%;min-width:0;overflow-x:hidden;}
  .lpos-customer-body #lpos-customer-display{width:100%;max-width:100%;min-height:100svh;min-height:100dvh;height:100svh;height:100dvh;overflow:hidden;}
  .lpos-customer-body #lpos-customer-display header{flex:0 0 56px;width:100%;padding:0 10px;}
  .lpos-customer-body main{width:100%;max-width:100%;box-sizing:border-box;display:flex;flex:1;min-height:0;height:auto;margin:0;padding:8px;gap:8px;overflow:hidden;}
  .lpos-customer-body .cd-items{width:100%;min-width:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;}
  .lpos-customer-body .cd-item{width:100%;min-width:0;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:8px 6px;}
  .lpos-customer-body .cd-item img{width:42px;height:42px;border-radius:7px;}
  .lpos-customer-body .cd-item-name{font-size:11px;line-height:1.25;overflow-wrap:anywhere;}
  .lpos-customer-body .cd-item-meta{font-size:8.5px;line-height:1.3;}
  .lpos-customer-body .cd-item>b{font-size:10px;max-width:92px;text-align:right;white-space:normal;}
  .lpos-customer-body aside{width:100%;min-width:0;flex:0 0 auto;overflow:hidden;padding:9px 10px;margin:0 0 8px;}
  .lpos-customer-body .cd-summary-row{min-height:24px;padding:3px 0;font-size:9.5px;}
  .lpos-customer-body .cd-total{margin-top:3px;padding-top:7px;}
  .lpos-customer-body .cd-total span{font-size:9.5px;}
  .lpos-customer-body .cd-total b{font-size:19px;line-height:1.1;}
  .lpos-customer-body .cd-qr{margin-top:8px;padding-top:8px;}
  .lpos-customer-body .cd-qr-title{font-size:11px;margin-bottom:5px;}
  .lpos-customer-body .cd-qr img{width:min(150px,42vw);height:auto;max-height:150px;}
  .lpos-customer-body .cd-qr-bank{font-size:8.5px;margin-top:5px;}
}
@media(max-width:500px){
  .lpos-customer-body #lpos-customer-display header{height:52px;min-height:52px;flex-basis:52px;padding:0 9px;}
  .lpos-customer-body .cd-brand{min-width:0;}
  .lpos-customer-body .cd-brand b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw;}
  .lpos-customer-body .cd-live{font-size:8px;white-space:nowrap;}
  .lpos-customer-body main{padding:6px;gap:6px;}
  .lpos-customer-body .cd-items{border-radius:9px;padding:2px;}
  .lpos-customer-body .cd-item{grid-template-columns:38px minmax(0,1fr) auto;gap:7px;padding:7px 5px;}
  .lpos-customer-body .cd-item img{width:38px;height:38px;}
  .lpos-customer-body .cd-item-name{font-size:10.5px;}
  .lpos-customer-body .cd-item-meta{font-size:8px;}
  .lpos-customer-body .cd-item>b{font-size:9px;max-width:82px;}
  .lpos-customer-body aside{border-radius:9px;padding:8px 9px;margin-bottom:6px;}
  .lpos-customer-body .cd-summary-row{font-size:9px;min-height:22px;}
  .lpos-customer-body .cd-total b{font-size:18px;}
  .lpos-customer-body .cd-qr img{width:min(135px,40vw);max-height:135px;}
}
/* v2.7.8.22 - customer display mobile: stack order and summary into separate rows */
@media (max-width:800px){
  .lpos-customer-body #lpos-customer-display main{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    height:auto;
    min-height:0;
    overflow:hidden;
    gap:8px;
  }
  .lpos-customer-body .cd-items{
    width:100%;
    min-width:0;
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-y:auto;
  }
  .lpos-customer-body #lpos-customer-display main > aside{
    width:100%;
    min-width:0;
    flex:0 0 auto;
    box-sizing:border-box;
    overflow:visible;
  }
}

/* v2.7.8.25 - synchronize quick-order cart typography with the public quick-order product list */
.lpos-public-order,.lpos-public-order .public-order-app,.lpos-public-order .public-order-app *,.lpos-public-order .public-cart-modal,.lpos-public-order .public-cart-modal *{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}


/* v2.7.8.26 - increase customer information form typography by 30% */
.lpos-public-order .public-cart-customer .public-cart-customer-title{font-size:18.2px}
.lpos-public-order .public-cart-customer .public-cart-customer-head small{font-size:13px}
.lpos-public-order .public-cart-customer .form-field label{font-size:13px}
.lpos-public-order .public-cart-customer .form-field input,
.lpos-public-order .public-cart-customer .form-field select,
.lpos-public-order .public-cart-customer .form-field textarea{font-size:15.6px}
@media(max-width:430px){
  .lpos-public-order .public-cart-customer .public-cart-customer-title{font-size:16.9px}
  .lpos-public-order .public-cart-customer .form-field label{font-size:11.7px}
  .lpos-public-order .public-cart-customer .form-field input,
  .lpos-public-order .public-cart-customer .form-field select,
  .lpos-public-order .public-cart-customer .form-field textarea{font-size:14.3px}
}
