:root{--lux-ink:#182b46;--lux-line:#dfe6f0;--lux-shadow-soft:0 8px 28px #18365a10}body.lux-pos{background:#f3f6fb!important;color:#182b46}body.lux-pos .sidebar{background:#102640!important}body.lux-pos .brand .logoMark{background:#d9b46a;color:#173653}body.lux-pos .navItem.active{background:#244363!important}body.lux-pos .primary,body.lux-pos .payPrimary{background:#245fd1!important;box-shadow:none!important}body.lux-pos .panel{border-color:#dfe6f0!important;box-shadow:0 4px 22px #244e8110!important}body.lux-pos .posOrderHeader{background:#113658!important;box-shadow:none!important}body.lux-pos .posCatalog{background:white!important;border:1px solid #dfe6f0!important}body.lux-pos .posCategories button.active{background:#205fc5!important;border-color:#205fc5!important}.catalogHint{font-size:12px;color:#64758b;margin:8px 0 16px}body.lux-pos .posGroupTitle{padding:8px 0 12px!important}body.lux-pos .posGroupTitle b{font-size:18px!important}body.lux-pos .posGroupTitle span{font-size:12px!important}body.lux-pos .posProduct{border-color:#e1e7f0!important;box-shadow:none!important;border-radius:16px!important}body.lux-pos .posProduct:hover{border-color:#87a9dc!important;transform:none!important;background:#f5f8fe}.productPhoto{display:block;overflow:hidden;border-radius:12px;background:#f3eee4;grid-column:1;grid-row:1;align-self:center}.productPhoto img{display:block;width:100%;height:100%;object-fit:cover}body.lux-pos .posProductMain{grid-template-columns:88px minmax(0,1fr) auto!important;gap:14px!important;padding:12px!important;min-height:114px!important}body.lux-pos .productPhoto{width:88px;height:88px}body.lux-pos .posProductInfo{grid-column:2!important;grid-row:1!important}body.lux-pos .posProductInfo b{font-size:16px!important;line-height:1.35!important;font-weight:650!important;overflow-wrap:normal!important}body.lux-pos .posProductInfo small{font-size:17px!important;font-weight:750!important;color:#2157a5!important;margin-top:9px!important}body.lux-pos .posPlus{grid-column:3!important;grid-row:1!important;align-self:center!important;background:#e7effc!important;color:#1c58ac!important;font-size:16px!important;padding:8px!important;min-width:40px!important;height:42px!important}body.lux-pos .posQtyBadge{grid-column:2!important;grid-row:2!important;background:#205fc5!important;justify-self:start!important}body.lux-pos .posCartHead{background:#f0f5fd}body.lux-pos .posCart{border:1px solid #dfe6f1!important;box-shadow:0 5px 25px #18365a10!important}body.lux-pos .posCartHead h3{font-size:25px}body.lux-pos .posCartActions button{min-height:48px!important}body.lux-pos .phoneNav button.active{background:#e5efff!important;color:#205fc5!important}body.lux-pos .tableCard{border-color:#dce5f2!important;border-top:4px solid #5083cd!important}body.lux-pos .tableOpenBadge{background:#e7f0ff!important;color:#315b96!important}body.lux-pos .modalCard{border-radius:22px!important}body.lux-pos .skewerList button{background:#f4f7fd;border-color:#dbe5f3}body.lux-pos .skewerList strong{color:#2157a5}body.lux-pos .touchOrderBar button{background:#205fc5!important;color:white!important}body.lux-pos .loginBrand{background:linear-gradient(150deg,#102842,#235aa0)!important}body.lux-pos .loginFeatures span{color:#e4efff}body.lux-pos .posModeSwitch button.active{color:#2255a0!important}body.lux-pos input:focus,body.lux-pos select:focus{outline:2px solid #a3bde5!important;outline-offset:2px;box-shadow:none!important}body.lux-pos .hidden{display:none!important}
@media(min-width:781px){body.lux-pos .posProductGrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))!important;gap:12px!important}body.lux-pos .posLaunchView{grid-template-columns:minmax(0,1fr) 335px!important;gap:22px!important}body.lux-pos .posCatalog{padding:20px!important}body.lux-pos .posCart{position:sticky!important;top:16px!important}body.lux-pos .topbar{background:transparent!important;box-shadow:none!important;border-bottom:1px solid #dfe5f0!important}body.lux-pos .posCategories button{font-size:13px!important;min-height:44px!important}body.lux-pos .posProductMain{grid-template-columns:88px minmax(0,1fr) auto!important}}
@media(min-width:781px) and (max-width:1100px){body.lux-pos .posLaunchView{grid-template-columns:minmax(0,1fr)!important}body.lux-pos .posCart{position:static!important}}
@media(max-width:780px){body.lux-pos .content{padding-left:14px!important;padding-right:14px!important}body.lux-pos .posProductMain{grid-template-columns:72px minmax(0,1fr) auto!important;gap:10px!important;padding:10px!important;min-height:98px!important}body.lux-pos .productPhoto{width:72px;height:76px}body.lux-pos .posProductInfo b{font-size:16px!important}body.lux-pos .posProductInfo small{font-size:16px!important;margin-top:6px!important}body.lux-pos .posPlus{font-size:14px!important;min-width:38px!important;width:auto!important;padding:7px!important}body.lux-pos .posProductGrid{gap:11px!important}body.lux-pos .posCatalog{padding:0!important;background:transparent!important;border:0!important}body.lux-pos .posCategories{padding:12px 0!important}.catalogHint{font-size:11px;margin:0 0 12px}body.lux-pos .posGroupTitle b{font-size:17px!important}body.lux-pos .posSearch input{background:white!important}body.lux-pos .posOrderHeader{border-radius:16px!important}body.lux-pos .phoneNav{border-top-color:#dce5f1!important}body.lux-pos .tableGrid{gap:16px!important}}
@media(max-width:350px){body.lux-pos .posProductMain{grid-template-columns:58px minmax(0,1fr) auto!important;gap:8px!important}body.lux-pos .productPhoto{width:58px;height:66px}body.lux-pos .posProductInfo b{font-size:15px!important}body.lux-pos .posPlus{font-size:12px!important;padding:5px!important;min-width:34px!important}}
.paymentError{color:#a33636;font-size:14px;line-height:1.5}.paymentError:empty{display:none}.cashChange{background:#edf4ff!important;color:#214e90!important;padding:18px!important;border-radius:12px;font-size:22px!important;font-weight:750!important;line-height:1.3}.cashShortcuts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:12px 0!important}.cashShortcuts button{min-height:46px!important;font-size:15px!important}#cashReceived{font-size:24px!important;font-weight:700;min-height:58px!important}#payConfirm{min-height:54px!important}#payConfirm:disabled{opacity:.5;cursor:not-allowed}.paymentTotal{display:flex;justify-content:space-between;gap:12px;background:#f0f5ff;border-radius:12px;padding:16px;margin-bottom:18px}.paymentTotal b{white-space:nowrap;font-size:22px;color:#2157a5}

/* Category rail: arrows stay visible; labels never shrink together. */
body.lux-pos .categoryRail{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center;gap:8px;width:100%;min-width:0;margin:10px 0}
body.lux-pos .categoryRail .posCategories{display:flex!important;gap:8px!important;overflow-x:auto!important;min-width:0!important;width:100%!important;padding:4px 0!important;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth}
body.lux-pos .categoryRail .posCategories button{flex:0 0 auto!important;white-space:nowrap!important;min-height:44px!important;padding:10px 16px!important;line-height:1.3!important}
body.lux-pos .categoryArrow{display:grid!important;place-items:center;width:44px;height:44px;min-height:44px;padding:0!important;border:1px solid #cfdbed;border-radius:12px;background:#eaf1fc;color:#205fc5;cursor:pointer;box-shadow:none!important}
body.lux-pos .categoryArrow svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
body.lux-pos .categoryArrow:disabled{opacity:.35;cursor:default}
body.lux-pos .categoryArrow:focus-visible,body.lux-pos .posCategories button:focus-visible{outline:3px solid #7aa6ef;outline-offset:2px}
@media(max-width:400px){body.lux-pos .categoryRail{gap:5px!important}body.lux-pos .categoryRail .posCategories button{padding:10px 12px!important}}
@media(prefers-reduced-motion:reduce){body.lux-pos .categoryRail .posCategories{scroll-behavior:auto}}

body.lux-pos .productPhoto{background:#f5f6f7!important}body.lux-pos .productPhoto img{object-fit:contain!important}
/* A single page scroller on phones; only dialogs scroll independently. */
@media(max-width:780px){
 html{height:auto!important;min-height:100%;overflow-x:clip!important;overflow-y:auto!important;touch-action:auto!important}
 body.lux-pos{height:auto!important;max-height:none!important;overflow:visible!important;position:static!important;touch-action:auto!important}
 body.lux-pos #app,body.lux-pos .content,body.lux-pos #orderTab,body.lux-pos #order,body.lux-pos .posLaunchView,body.lux-pos .posCatalog,body.lux-pos .posCatalogScroll{height:auto!important;max-height:none!important;overflow:visible!important;touch-action:auto!important}
 body.lux-pos .posProductMain,body.lux-pos .productPhoto,body.lux-pos .productPhoto img{touch-action:pan-y pinch-zoom!important;-webkit-user-drag:none}
 body.lux-pos .categoryRail .posCategories,body.lux-pos .categoryRail button{touch-action:pan-x pan-y pinch-zoom!important;overscroll-behavior-y:auto!important}
 body.lux-pos .modal{overflow:hidden!important;touch-action:auto!important}
 body.lux-pos .modalCard{overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom!important;max-height:88dvh!important}
 html:has(body.mobile-modal-open){overflow-y:hidden!important}
}
.photoEditor{padding:14px;border:1px solid #dce5f2;border-radius:14px;margin-top:18px;background:#f6f9fe}.photoEditor img{display:block;width:100px;height:100px;object-fit:contain;border-radius:12px;background:white}.photoEditor small{display:block;line-height:1.5;color:#63738b;margin-top:8px}.photoEditor button{min-height:46px;margin-top:12px}


/* v20 — pedido em preparo: + / − antes de lançar na comanda */
body.lux-pos .posProductMain{cursor:default!important}
body.lux-pos .posProductInfo em{display:block;margin-top:5px;color:#8190a2;font-size:11px;font-style:normal;font-weight:650}
body.lux-pos .posProductControls{grid-column:3;grid-row:1;display:grid;grid-template-columns:42px minmax(32px,auto) 42px;gap:5px;align-items:center;justify-self:end}
body.lux-pos .posMinus,body.lux-pos .posPlus{display:grid!important;position:static!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border-radius:11px!important;font-size:23px!important;line-height:1!important;font-weight:900!important;cursor:pointer!important}
body.lux-pos .posMinus{border:1px solid #dce5f2!important;background:#f5f7fa!important;color:#334a65!important}
body.lux-pos .posPlus{border:1px solid #c9daf6!important;background:#e7effc!important;color:#1c58ac!important}
body.lux-pos .posMinus:disabled{opacity:.32!important;cursor:default!important}
body.lux-pos .posDraftQty{display:grid;place-items:center;min-width:34px;height:36px;border-radius:10px;background:#123a63;color:#fff;font-size:13px;font-weight:900;padding:0 6px}
body.lux-pos .draftCart{border:1px solid #d9e3f0!important}
body.lux-pos .draftBadge{align-self:center;background:#eaf1fc;color:#245aa9!important;border-radius:999px;padding:7px 9px;font-size:10px!important;letter-spacing:0!important;white-space:nowrap}
body.lux-pos .draftNotice{margin:12px 14px 4px;padding:11px 12px;border-radius:12px;background:#f2f6fc;color:#52657d;font-size:11px;line-height:1.45;border:1px solid #e2e9f3}
body.lux-pos .draftLine{grid-template-columns:42px minmax(0,1fr) auto auto!important}
body.lux-pos .draftLineControls{display:flex;gap:4px}
body.lux-pos .draftLineControls button{width:34px!important;height:34px!important;min-width:34px!important;border:1px solid #d7e1ee!important;border-radius:9px!important;background:#f4f7fb!important;color:#24415f!important;font-size:19px!important;font-weight:900!important;cursor:pointer!important}
body.lux-pos .draftTotal{display:flex;justify-content:space-between;align-items:center;padding:14px 15px;border-top:1px solid #e8edf4;background:#f9fbfe}
body.lux-pos .draftTotal span{font-size:11px;color:#6a7b90;font-weight:800}
body.lux-pos .draftTotal b{font-size:22px;color:#163f72}
body.lux-pos .draftActions{grid-template-columns:1fr!important}
body.lux-pos .draftActions .realizeOrder{grid-column:1!important;min-height:54px!important;background:linear-gradient(135deg,#205fc5,#164a9c)!important;color:#fff!important;font-size:15px!important;box-shadow:0 8px 20px rgba(32,95,197,.18)!important}
body.lux-pos .draftActions .realizeOrder:disabled{opacity:.45!important;box-shadow:none!important;cursor:default!important}
body.lux-pos .catalogHint{padding:10px 12px;border-radius:11px;background:#f4f7fb;border:1px solid #e4eaf2;line-height:1.45}
@media(max-width:780px){
 body.lux-pos .posProductMain{grid-template-columns:72px minmax(0,1fr) auto!important;min-height:100px!important}
 body.lux-pos .posProductControls{grid-template-columns:38px 30px 38px!important;gap:4px!important}
 body.lux-pos .posMinus,body.lux-pos .posPlus{width:38px!important;height:42px!important;min-width:38px!important;min-height:42px!important;font-size:22px!important}
 body.lux-pos .posDraftQty{min-width:30px!important;height:34px!important;font-size:12px!important;padding:0 4px!important}
 body.lux-pos .posProductInfo em{font-size:10px!important}
 body.lux-pos .draftCart{position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;z-index:520!important;max-height:none!important;border-radius:17px!important;box-shadow:0 16px 44px rgba(7,25,47,.24)!important;overflow:hidden!important;display:block!important}
 body.lux-pos .draftCart .posCartHead,body.lux-pos .draftCart .posCartItems,body.lux-pos .draftCart .draftNotice{display:none!important}
 body.lux-pos .draftCart .draftTotal{display:flex!important;background:#0e3156!important;color:#fff!important;border:0!important;padding:10px 13px!important}
 body.lux-pos .draftCart .draftTotal span{color:#dbe8f7!important;font-size:10px!important}
 body.lux-pos .draftCart .draftTotal b{color:#fff!important;font-size:19px!important}
 body.lux-pos .draftCart .draftActions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:7px!important;background:#fff!important}
 body.lux-pos .draftCart .draftActions .realizeOrder{grid-column:1!important;min-height:48px!important;font-size:14px!important}
 body.lux-pos .draftCart .draftActions button:not(.realizeOrder){display:none!important}
 body.lux-pos .draftCart .draftActions button:last-child{display:block!important;grid-column:2!important;min-width:90px!important;min-height:48px!important;font-size:11px!important}
 body.lux-pos .posCatalogScroll{padding-bottom:145px!important}
}
@media(max-width:365px){
 body.lux-pos .posProductMain{grid-template-columns:58px minmax(0,1fr) auto!important;gap:7px!important}
 body.lux-pos .productPhoto{width:58px!important;height:66px!important}
 body.lux-pos .posProductControls{grid-template-columns:34px 27px 34px!important;gap:3px!important}
 body.lux-pos .posMinus,body.lux-pos .posPlus{width:34px!important;min-width:34px!important;height:40px!important;min-height:40px!important}
 body.lux-pos .posDraftQty{min-width:27px!important;font-size:11px!important}
}

.paymentExtraSummary{margin:10px 0 2px;padding:12px 14px;border-radius:12px;background:#f7f9fc;border:1px solid #e3e9f2;color:#4b5d75;font-size:13px}.paymentExtraSummary b{color:#174fc1;font-size:18px}.paymentExtraSummary span{display:block;margin-top:3px;color:#6d7a8f;font-size:11px}
