/* Cashier layout: a scrollable invoice body and a separate payment footer. */
body.pos-workspace #posPage.active{background:#f0f5fb!important;padding:14px!important;gap:12px!important}
body.pos-workspace #posPage .pos-page-head{background:#fff!important;border:1px solid #dce6f2!important;border-radius:20px!important;box-shadow:0 5px 18px #233d6410!important;min-height:78px!important;padding:12px 18px!important;color:#193655!important}
#posPage .pos-page-head:before,#posPage .pos-page-head:after{display:none!important}
body.pos-workspace #posPage .pos-page-head h2{font-size:23px!important;color:#173b60!important}body.pos-workspace #posPage .pos-page-head .eyebrow{color:#4485cf!important;font-size:10px!important}
body.pos-workspace #posPage .pos-actionbar{gap:7px!important}body.pos-workspace #posPage .pos-action{display:flex!important;align-items:center;gap:7px;background:#f8faff!important;color:#36516d!important;border:1px solid #e2eaf5!important;border-radius:12px!important;min-height:44px!important;min-width:0!important;padding:6px 10px!important;transition:background .15s,box-shadow .15s!important;backdrop-filter:none!important}
body.pos-workspace #posPage .pos-action-copy strong{color:#36516d!important;font-size:11px!important}#posPage .pos-action .pos-action-icon{display:grid!important;place-items:center;width:32px!important;height:32px!important;background:#e4efff!important;color:#3675d1!important;box-shadow:none!important;border-radius:10px!important}#posPage svg{width:21px;height:21px;flex:none}
#posPage .pos-action-cancel .pos-action-icon{background:#ffebee!important;color:#de576e!important}#posPage .pos-action-hold .pos-action-icon{background:#fff0db!important;color:#c08523!important}#posPage .pos-action-new .pos-action-icon{background:#dff5ed!important;color:#159873!important}#posPage .pos-action-calc .pos-action-icon{background:#eee7fc!important;color:#8762cc!important}
body.pos-workspace #posPage .pos-action:hover{background:#eef5ff!important;box-shadow:0 4px 12px #42689a14!important}#posPage #calculatorBtn121,#posPage #calculatorBtn150,#posPage #quickCustomer150{display:none!important}
body.pos-workspace #posPage .pos-grid{grid-template-columns:minmax(0,1.55fr) minmax(390px,.85fr)!important;gap:14px!important}
body.pos-workspace #posPage .products-panel,body.pos-workspace #posPage .pos-checkout-card{border-radius:20px!important;border:1px solid #dce6f2!important;box-shadow:0 6px 20px #233d6408!important;background:#fff!important}
body.pos-workspace #posPage .pos-checkout-card{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
#posPage .pos-invoice-body{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#posPage .pos-checkout-card:before{display:none!important}body.pos-workspace #posPage .pos-cart-kicker{padding:11px 14px!important;background:#fff!important}#posPage .pos-cart-icon{background:#e9e7fb!important;color:#7d61c4!important}
body.pos-workspace #posPage .premium-invoice-meta{margin:7px 12px!important;padding:10px!important;background:#f7faff!important;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr)!important;gap:12px!important;align-items:start!important;flex:none!important}
body.pos-workspace #posPage .premium-invoice-meta>div{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:5px!important;min-width:0!important}body.pos-workspace #posPage #invoiceNo{font-size:13px!important;margin:0!important;padding:0!important;color:#3b668d!important}#posPage #fr151QuickCustomer{padding:6px 10px!important;background:#e9f5ef!important;color:#248968!important;align-self:start;min-height:28px!important;font-size:11px!important}
body.pos-workspace #posPage .cart-items{flex:1 0 85px!important;min-height:85px!important;max-height:none!important;margin:0 12px 8px!important;background:#fcfdff!important;padding:7px!important;overflow:visible!important}#posPage .cart-items .empty-state{padding:16px!important;min-height:65px!important;font-size:12px!important}#posPage .cart-row{gap:10px!important}#posPage .qty button{background:#e7f1ff;color:#2872cc;border:1px solid #d5e5fb}
body.pos-workspace #posPage #posDebtOptions{flex:none!important;max-height:150px!important;margin:0 12px 7px!important}body.pos-workspace #posPage #posDebtOptions summary{padding:7px 10px!important;font-size:11px!important}
body.pos-workspace #posPage .pos-payment-dock{flex:0 0 auto!important;padding:10px 12px 12px!important;background:#fff!important;border-top:1px solid #dde8f2;box-shadow:0 -5px 20px #25466a08!important}
body.pos-workspace #posPage .premium-cart-summary{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0 0 8px!important;padding:10px!important;border-radius:12px!important;background:#f6f9fd!important}
body.pos-workspace #posPage .premium-cart-summary>div{min-height:25px!important;gap:5px!important;width:auto!important;padding:0!important;margin:0!important}body.pos-workspace #posPage .premium-cart-summary span{font-size:11px!important}body.pos-workspace #posPage .premium-cart-summary strong{font-size:13px!important}
body.pos-workspace #posPage .premium-cart-summary .grand{grid-column:1/-1;padding-top:8px!important;border-top:1px solid #dfe8f3!important}body.pos-workspace #posPage .premium-cart-summary .grand strong{font-size:24px!important;color:#167e69!important}#posPage #salesTaxRow{grid-column:1/-1!important;margin:0!important;font-size:10px!important}
body.pos-workspace #posPage .payment-title{margin:3px 1px 6px!important}body.pos-workspace #posPage .payment-title small{display:none}body.pos-workspace #posPage .premium-payment-methods{gap:6px!important;margin:0 0 9px!important}
body.pos-workspace #posPage .premium-payment-methods button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px!important;border-radius:11px!important;padding:6px 2px!important;font-size:11px!important;background:#f3f7fd!important;border-color:#e1eaf5!important;color:#4373b4!important;transition:background .15s}
#posPage .payment-methods button[data-method=bank]{color:#6e54ae!important;background:#f4efff!important}#posPage .payment-methods button[data-method=wallet]{color:#bd7b20!important;background:#fff6e7!important}#posPage .payment-methods button[data-method=credit]{color:#d25b6e!important;background:#fff0f2!important}#posPage .payment-methods button[data-method=mixed]{color:#168b87!important;background:#eaf8f6!important}
body.pos-workspace #posPage .payment-methods button.active{box-shadow:inset 0 0 0 2px currentColor!important;border-color:transparent!important;font-weight:800!important;transform:none!important}
body.pos-workspace #posPage #checkoutBtn{display:flex!important;position:relative!important;inset:auto!important;height:54px!important;min-height:54px!important;flex:none!important;background:linear-gradient(110deg,#138c76,#19ab8a)!important;color:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 5px 14px #159a7820!important;justify-content:space-between!important;padding:10px 18px!important}#posPage #checkoutBtn:before{display:none!important}#posPage #checkoutBtn>span strong{font-size:16px!important}#posPage #checkoutBtn>span small{font-size:10px!important;color:#dcfff3!important}#posPage #checkoutBtn>b{font-size:23px!important}#posPage #checkoutBtn:disabled{opacity:.6!important}
body.pos-workspace #posPage .products-panel{padding:14px!important}#posPage .pos-products-title{flex:none!important}#posPage .pos-searchbar{flex:none!important;background:#f7faff!important;border:1px solid #dce8f6!important;height:48px!important}#posPage .pos-scan-btn{background:#e6efff!important;color:#3c6dba!important;padding:9px 12px!important;font-size:12px!important}#posPage .category-chips{flex:none;flex-wrap:nowrap;overflow-x:auto;padding:2px 0 5px!important}#posPage .chip{white-space:nowrap;background:#edf4fd!important;color:#5d7798!important}#posPage .chip.active{background:#e2efff!important;color:#276cc3!important;box-shadow:inset 0 0 0 1px #aacaef!important}
body.pos-workspace #posPage .products-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:10px!important;align-content:start!important}#posPage .product{--p-tint:#eaf3ff;--p-ink:#407fca;padding:0!important;border-radius:16px!important;text-align:right!important;overflow:hidden!important;border-color:#e0e9f5!important;background:#fff!important}
#posPage .product[data-visual-tone='1']{--p-tint:#f0eafb;--p-ink:#8763bf}#posPage .product[data-visual-tone='2']{--p-tint:#e5f6f1;--p-ink:#199b7e}#posPage .product[data-visual-tone='3']{--p-tint:#fff2dd;--p-ink:#c99230}#posPage .product[data-visual-tone='4']{--p-tint:#ffeef1;--p-ink:#d6748b}#posPage .product[data-visual-tone='5']{--p-tint:#e4f5fa;--p-ink:#3594b1}
body.pos-workspace #posPage .product-art{height:94px!important;background:linear-gradient(145deg,var(--p-tint),#fff)!important;border-radius:0!important;position:relative}#posPage .product-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}#posPage .product-placeholder>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--p-tint);color:var(--p-ink);box-shadow:0 5px 13px #1937540b}#posPage .product-placeholder svg{width:29px;height:29px}#posPage .product-placeholder small{font-size:10px!important;color:var(--p-ink)!important}#posPage .product-info{padding:9px!important}#posPage .product h4{font-size:12px!important;line-height:1.6;min-height:20px;margin:0!important;color:#26466c!important}#posPage .product-price-row strong{font-size:15px!important;color:var(--p-ink)!important}#posPage .product-price-row>span{background:var(--p-tint)!important;color:var(--p-ink)!important;padding:4px 8px!important;font-size:10px!important}#posPage .stock-badge{font-size:10px!important;padding:4px 8px!important}#posPage .product:hover{transform:translateY(-2px)!important;box-shadow:0 8px 20px #23446b12!important}#posPage .product-art img{height:100%;width:100%;object-fit:cover}
@media(max-width:1100px){body.pos-workspace #posPage .pos-grid{grid-template-columns:minmax(0,1fr) minmax(350px,.9fr)!important}body.pos-workspace #posPage .pos-page-head{padding:10px 13px!important}body.pos-workspace #posPage .pos-actionbar{gap:4px!important}body.pos-workspace #posPage .pos-action{padding:5px 7px!important}}
@media(max-width:760px),(max-height:560px){body.pos-workspace #posPage.active{position:relative!important;height:auto!important;overflow:visible!important;display:block!important;padding:8px!important}body.pos-workspace #posPage .pos-grid{display:flex!important;flex-direction:column!important;overflow:visible!important;height:auto!important}body.pos-workspace #posPage .pos-checkout-card{order:-1;height:auto!important;min-height:380px!important}#posPage .pos-invoice-body{flex:none;max-height:210px!important;overflow:auto!important}body.pos-workspace #posPage .cart-items{min-height:65px!important}body.pos-workspace #posPage .products-panel{height:420px!important;margin-bottom:10px}body.pos-workspace #posPage .pos-page-head{margin-bottom:10px!important}body.pos-workspace #posPage .pos-page-head>div:first-child{min-width:0}body.pos-workspace #posPage .pos-actionbar{display:flex!important;flex-wrap:wrap!important}body.pos-workspace #posPage .pos-action{font-size:10px!important;min-height:36px!important}#posPage .pos-action-icon{width:26px!important;height:26px!important}body.pos-workspace #posPage .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:auto!important}}
@media(prefers-reduced-motion:reduce){#posPage *{transition:none!important;animation:none!important}}
body.pos-workspace #posPage .product{display:flex!important;flex-direction:column!important;height:194px!important;min-height:194px!important;flex:none!important}body.pos-workspace #posPage .product-art{width:100%;flex:0 0 94px!important}body.pos-workspace #posPage .product-info{display:block!important;width:100%;min-height:95px!important;flex:1 0 auto!important}body.pos-workspace #posPage .products-grid{grid-auto-rows:max-content!important}#posPage .product-name-line{gap:4px!important}#posPage .product h4{max-width:100%!important;flex:1;min-width:0}#posPage .product-category{font-size:8px!important;padding:3px 5px!important}
#posPage .product-name-line>.product-category{display:none!important}#posPage .product h4{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:38px!important;overflow:hidden}
@media(min-width:761px) and (max-height:650px){body.pos-workspace{overflow:hidden!important}body.pos-workspace #posPage.active{position:fixed!important;inset:0!important;height:100dvh!important;min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}body.pos-workspace #posPage .pos-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(350px,.9fr)!important;height:100%!important;overflow:hidden!important}body.pos-workspace #posPage .pos-checkout-card,body.pos-workspace #posPage .products-panel{height:100%!important;min-height:0!important;order:initial!important}#posPage .pos-invoice-body{flex:1 1 0!important;min-height:0!important;max-height:none!important}body.pos-workspace #posPage .pos-page-head{flex-direction:row!important;min-height:60px!important;padding:7px 10px!important;margin:0!important}body.pos-workspace #posPage .pos-actionbar{flex-wrap:wrap!important}body.pos-workspace #posPage .pos-action{min-height:34px!important}.pos-workspace #posPage .pos-page-head h2{font-size:18px!important}}
