:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.sales-page{color:#17202a;background:#f4f6f8;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sales-page *{box-sizing:border-box}button,input,select{font:inherit}.sales-header{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-bottom:1px solid #e5e9ee;justify-content:space-between;align-items:center;gap:18px;min-height:82px;padding:14px 22px;display:flex;position:sticky;top:0;box-shadow:0 2px 12px #18202809}.sales-header-brand{align-items:center;gap:12px;min-width:0;display:flex}.sales-back-button{color:#252a2f;cursor:pointer;background:#fff;border:1px solid #dfe5ea;border-radius:12px;flex:none;width:42px;height:42px;font-size:20px;font-weight:900;transition:transform .12s,box-shadow .12s,background .12s}.sales-back-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 14px #00000012}.sales-back-button:disabled{opacity:.45;cursor:not-allowed}.sales-logo{object-fit:contain;flex:none;width:50px;height:50px}.sales-header-info{min-width:0}.sales-eyebrow{letter-spacing:.16em;color:#9a6a3b;font-size:10px;font-weight:900}.sales-title{color:#20252a;margin:1px 0 5px;font-size:23px;font-weight:900;line-height:1.05}.sales-header-meta{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.sales-outlet-badge,.sales-channel-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:7px;min-height:26px;padding:4px 9px;font-size:11px;font-weight:850;display:inline-flex}.sales-outlet-badge{color:#805024;background:#fff4e8;border:1px solid #f2dcc5}.sales-channel-badge{color:#555f68;background:#f0f2f4;border:1px solid #e3e7eb}.sales-status-dot{background:#26a269;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #26a2691f}.sales-header-actions{align-items:stretch;gap:8px;display:flex}.sales-header-stat,.sales-header-total{background:#fff;border:1px solid #e2e6ea;border-radius:13px;flex-direction:column;justify-content:center;min-height:48px;padding:7px 12px;display:flex}.sales-header-stat{text-align:center;min-width:70px}.sales-header-stat-label,.sales-header-total span{color:#8a929a;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800}.sales-header-stat strong{font-size:18px;line-height:1.05}.sales-header-total{color:#fff;background:#23272b;border-color:#23272b;min-width:150px}.sales-header-total span{color:#c8cdd2}.sales-header-total strong{white-space:nowrap;font-size:17px;line-height:1.2}.sales-subtitle{color:#7b848d;margin-top:4px;font-size:12px}.sales-content{max-width:1880px;margin:0 auto;padding:16px 18px 22px}.sales-toolbar{grid-template-columns:minmax(320px,1fr) minmax(220px,300px);gap:12px;margin-bottom:12px;display:grid}.sales-field{min-width:0}.sales-label{letter-spacing:.08em;color:#747d86;margin-bottom:6px;font-size:10px;font-weight:900;display:block}.sales-search-wrap{position:relative}.sales-search-icon{color:#939ba3;pointer-events:none;font-size:21px;position:absolute;top:50%;left:14px;transform:translateY(-52%)}.sales-select,.sales-search{color:#20262b;background:#fff;border:1px solid #dce2e7;border-radius:12px;outline:none;width:100%;height:46px;transition:border-color .14s,box-shadow .14s}.sales-search{padding:0 14px 0 43px}.sales-select{padding:0 13px;font-weight:750}.sales-select:focus,.sales-search:focus{border-color:#a0aab3;box-shadow:0 0 0 4px #21272b0e}.sales-pos-layout{grid-template-columns:minmax(0,1fr) 410px;align-items:start;gap:16px;display:grid}.sales-products-panel{background:#fff;border:1px solid #e3e7eb;border-radius:18px;min-width:0;padding:16px;box-shadow:0 6px 22px #20283009}.sales-products-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px;display:flex}.sales-section-kicker{letter-spacing:.14em;color:#a46d35;font-size:10px;font-weight:900}.sales-products-title{color:#22282e;margin:1px 0 0;font-size:19px;font-weight:900}.sales-products-count{color:#7a838c;background:#f3f5f6;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.sales-categories{scrollbar-width:thin;align-items:center;gap:7px;padding:2px 0 13px;display:flex;overflow-x:auto}.sales-category-button{color:#5f6871;cursor:pointer;background:#fff;border:1px solid #e0e5e9;border-radius:10px;flex:none;min-height:36px;padding:7px 13px;font-size:12px;font-weight:800;transition:transform .1s,background .1s,border-color .1s}.sales-category-button:hover:not(:disabled){border-color:#c5cdd4;transform:translateY(-1px)}.sales-category-button.active{color:#fff;background:#262b30;border-color:#262b30;box-shadow:0 5px 12px #262b3021}.sales-product-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:11px;display:grid}.sales-product-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e3e7ea;border-radius:15px;padding:0;transition:transform .12s,box-shadow .12s,border-color .12s;position:relative;overflow:hidden}.sales-product-card:hover:not(:disabled){border-color:#cbd2d8;transform:translateY(-2px);box-shadow:0 10px 24px #1e262e16}.sales-product-card:active:not(:disabled){transform:scale(.985)}.sales-product-card:disabled{opacity:.62;cursor:not-allowed}.sales-product-image-wrap{aspect-ratio:1.08;background:linear-gradient(145deg,#f1f3f4,#e9edef);width:100%;position:relative;overflow:hidden}.sales-product-image{object-fit:cover;width:100%;height:100%;transition:transform .18s;display:block}.sales-product-card:hover .sales-product-image{transform:scale(1.025)}.sales-product-placeholder{text-align:center;color:#969ea6;justify-content:center;align-items:center;width:100%;height:100%;padding:14px;font-size:11px;font-weight:800;display:flex}.sales-product-qty-badge{color:#fff;background:#262b30;border:2px solid #ffffffe6;border-radius:999px;justify-content:center;align-items:center;min-width:30px;height:30px;padding:0 8px;font-size:12px;font-weight:900;display:flex;position:absolute;top:8px;right:8px;box-shadow:0 4px 12px #0003}.sales-product-body{padding:10px 11px 12px}.sales-product-name{color:#20262b;min-height:38px;font-size:14px;font-weight:900;line-height:1.3}.sales-product-category{white-space:nowrap;text-overflow:ellipsis;color:#929aa2;margin-top:4px;font-size:10px;font-weight:650;overflow:hidden}.sales-product-price{color:#9a5d25;margin-top:8px;font-size:15px;font-weight:900}.sales-empty-products{text-align:center;color:#848d96;padding:52px 20px}.sales-cart-panel{background:#fff;border:1px solid #dde3e7;border-radius:18px;flex-direction:column;max-height:calc(100vh - 116px);display:flex;position:sticky;top:98px;overflow:hidden;box-shadow:0 10px 34px #1b232a16}.sales-cart-header{background:#fff;border-bottom:1px solid #edf0f2;justify-content:space-between;align-items:center;gap:10px;padding:15px 16px 13px;display:flex}.sales-cart-title{margin:0;font-size:18px;font-weight:900}.sales-cart-count{color:#818a92;margin-top:2px;font-size:11px;font-weight:700}.sales-cart-items{overscroll-behavior:contain;flex:auto;min-height:0;padding:7px 14px;overflow-y:auto}.sales-cart-empty{text-align:center;color:#8e969e;justify-content:center;align-items:center;min-height:185px;padding:22px;font-size:12px;display:flex}.sales-cart-empty-icon{filter:grayscale(.2);margin-bottom:8px;font-size:34px}.sales-cart-item{border-bottom:1px solid #eef1f3;padding:11px 0}.sales-cart-item:last-child{border-bottom:0}.sales-cart-item-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.sales-cart-item-info{flex:1;min-width:0}.sales-cart-item-name{color:#252a2f;font-size:13px;font-weight:900}.sales-cart-item-price{color:#858d95;margin-top:2px;font-size:11px}.sales-cart-item-total{white-space:nowrap;color:#30363b;font-size:13px;font-weight:900}.sales-cart-item-bottom{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.sales-qty-control{background:#fff;border:1px solid #dce2e6;border-radius:10px;align-items:center;display:inline-flex;overflow:hidden}.sales-qty-button{color:#252a2f;cursor:pointer;background:#f5f7f8;border:0;width:34px;height:32px;font-size:18px;font-weight:800}.sales-qty-button:hover:not(:disabled){background:#e9edef}.sales-qty-value{text-align:center;min-width:38px;font-size:13px;font-weight:900}.sales-remove-button{color:#999fa5;cursor:pointer;background:0 0;border:0;padding:5px;font-size:11px;font-weight:800}.sales-remove-button:hover:not(:disabled){color:#9b3b3b}.sales-cart-summary{z-index:2;background:#fff;border-top:1px solid #e9edef;flex:none;padding:13px 16px 15px;position:relative}.sales-summary-row{color:#727b84;justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;font-size:12px;display:flex}.sales-summary-row strong{color:#343a40}.sales-total-row{border-top:1px dashed #dbe1e5;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:9px;padding-top:10px;display:flex}.sales-total-label{color:#555d65;font-size:13px;font-weight:900}.sales-total-value{color:#20262b;letter-spacing:-.02em;font-size:25px;font-weight:950;line-height:1}.sales-pay-button{color:#fff;cursor:pointer;background:#272c31;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:52px;margin-top:12px;padding:0 15px;font-size:15px;font-weight:900;transition:transform .1s,opacity .1s,box-shadow .1s;display:flex;box-shadow:0 7px 18px #272c312b}.sales-pay-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 22px #272c3138}.sales-pay-button:active:not(:disabled){transform:scale(.992)}.sales-pay-button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.sales-payment-methods{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:11px;display:grid}.sales-payment-button{color:#626b74;cursor:pointer;background:#fff;border:1px solid #dbe1e5;border-radius:10px;min-height:39px;padding:7px 5px;font-size:10px;font-weight:900}.sales-payment-button.active{color:#fff;background:#272c31;border-color:#272c31;box-shadow:0 5px 12px #272c3124}.sales-cash-section{margin-top:10px}.sales-cash-input{color:#252a2f;border:1px solid #dbe1e5;border-radius:10px;outline:none;width:100%;height:44px;padding:0 12px;font-size:15px;font-weight:850}.sales-cash-input:focus{border-color:#9ba5ae;box-shadow:0 0 0 3px #272c310e}.sales-quick-cash{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px;display:grid}.sales-quick-cash-button{color:#545d65;cursor:pointer;background:#f9fafb;border:1px solid #dfe4e8;border-radius:9px;min-height:36px;font-size:11px;font-weight:900}.sales-quick-cash-button:hover:not(:disabled){background:#f0f3f5}.sales-cash-warning{color:#b33d3d;margin-top:7px;font-size:11px;font-weight:850}.sales-change{color:#68717a;background:#f5f7f8;border-radius:9px;justify-content:space-between;align-items:center;margin-top:8px;padding:8px 10px;font-size:11px;display:flex}.sales-change strong{color:#252a2f;font-size:13px}.sales-noncash-info{text-align:center;color:#5f6870;background:#f4f6f7;border-radius:10px;margin-top:10px;padding:10px;font-size:12px}.sales-payment-actions{grid-template-columns:1fr 1.55fr;gap:8px;margin-top:10px;display:grid}.sales-cancel-button{color:#5c646c;cursor:pointer;background:#fff;border:1px solid #dce2e6;border-radius:11px;min-height:48px;font-weight:900}.sales-cancel-button:hover:not(:disabled){background:#f6f7f8}.sales-process-button{justify-content:center;margin-top:0}@media (width>=851px){.sales-cart-panel:has(.sales-payment-methods) .sales-cart-items{flex:auto;min-height:0;max-height:175px;overflow-y:auto}.sales-cart-panel:has(.sales-payment-methods) .sales-cart-summary{flex:none}}@media (width<=1180px){.sales-pos-layout{grid-template-columns:minmax(0,1fr) 365px;gap:12px}.sales-product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.sales-header-total{min-width:130px}}@media (width<=850px){.sales-header{position:relative;top:auto}.sales-content{padding:12px}.sales-toolbar{grid-template-columns:1fr}.sales-pos-layout{display:block}.sales-products-panel{margin-bottom:14px}.sales-cart-panel{max-height:none;position:relative;top:auto}.sales-cart-items{max-height:360px}}@media (width<=600px){.sales-header{align-items:flex-start;padding:11px 12px}.sales-logo{width:42px;height:42px}.sales-back-button{width:38px;height:38px}.sales-title{font-size:18px}.sales-eyebrow,.sales-header-actions{display:none}.sales-content{padding:9px}.sales-products-panel{border-radius:14px;padding:10px}.sales-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sales-product-card{border-radius:12px}.sales-product-body{padding:8px 9px 10px}.sales-product-name{min-height:34px;font-size:12px}.sales-product-price{font-size:13px}.sales-product-category{font-size:9px}.sales-cart-panel{border-radius:14px}.sales-total-value{font-size:22px}.sales-quick-cash{grid-template-columns:repeat(4,1fr)}}@media (width<=380px){.sales-product-grid{grid-template-columns:1fr 1fr}.sales-payment-methods{grid-template-columns:repeat(3,1fr)}.sales-quick-cash{grid-template-columns:repeat(2,1fr)}}@media (width>=851px){.sales-page{background:#f6f5f3;height:100vh;overflow:hidden}.sales-header{border-bottom-color:#eee6de;min-height:72px;padding:10px 18px}.sales-logo{width:44px;height:44px}.sales-title{margin-bottom:3px;font-size:21px}.sales-content{flex-direction:column;height:calc(100vh - 72px);padding:10px 14px 12px;display:flex;overflow:hidden}.sales-toolbar{flex:none;grid-template-columns:minmax(260px,1fr) minmax(240px,330px);gap:10px;margin-bottom:10px}.sales-label{margin-bottom:4px}.sales-select,.sales-search{border-radius:11px;height:42px}.sales-pos-layout{flex:auto;grid-template-columns:minmax(0,1fr) 390px;align-items:stretch;gap:12px;min-height:0}.sales-products-panel{border-color:#eadfd4;border-radius:16px;flex-direction:column;height:100%;min-height:0;padding:12px;display:flex;overflow:hidden}.sales-products-heading{flex:none;margin-bottom:7px}.sales-products-title{font-size:18px}.sales-subtitle{margin-top:2px;font-size:11px}.sales-categories{flex:none;gap:6px;padding:1px 0 8px}.sales-category-button{border-radius:9px;min-height:32px;padding:5px 11px;font-size:11px}.sales-product-grid{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;align-content:start;gap:8px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.sales-product-card{border-color:#ebe2d9;border-radius:12px;flex-direction:column;min-width:0;height:100%;min-height:0;max-height:142px;display:flex}.sales-product-image-wrap{aspect-ratio:auto;background:linear-gradient(145deg,#f8f5f1,#f0ece7);flex:auto;height:76px;min-height:70px}.sales-product-image{object-fit:contain;padding:2px}.sales-product-placeholder{padding:8px;font-size:10px}.sales-product-qty-badge{min-width:26px;height:26px;padding:0 7px;font-size:11px;top:5px;right:5px}.sales-product-body{flex:none;padding:6px 8px 7px}.sales-product-name{white-space:nowrap;text-overflow:ellipsis;min-height:0;font-size:12px;line-height:1.25;overflow:hidden}.sales-product-category{margin-top:2px;font-size:8.5px}.sales-product-price{color:#a85d1f;margin-top:3px;font-size:12px}.sales-cart-panel{border-color:#eadfd4;border-radius:16px;height:100%;min-height:0;max-height:none;position:relative;top:auto}.sales-cart-header{flex:none;padding:12px 14px 10px}.sales-cart-items{flex:auto;min-height:0;padding:6px 13px;overflow-y:auto}.sales-cart-summary{flex:none;padding:11px 14px 13px}.sales-pay-button{background:linear-gradient(90deg,#a84f18,#dc6416);border-radius:11px;min-height:48px;margin-top:9px}}@media (width>=851px) and (height<=760px){.sales-header{min-height:64px;padding-top:7px;padding-bottom:7px}.sales-content{height:calc(100vh - 64px);padding-top:7px}.sales-product-card{max-height:122px}.sales-product-image-wrap{height:64px;min-height:58px}.sales-product-body{padding:4px 7px 5px}.sales-product-name,.sales-product-price{font-size:11px}}.sales-title-brand{color:#c74820}.sales-success-card{background:radial-gradient(circle at 73% 24%,#26a2690e,#0000 22%),linear-gradient(135deg,#fff 0%,#fffdfb 100%);border:1px solid #eadfd4;border-radius:18px;flex:none;grid-template-columns:minmax(250px,340px) minmax(0,1fr);align-items:stretch;gap:22px;min-height:0;margin-bottom:16px;padding:12px 14px;display:grid;overflow:auto;box-shadow:0 12px 34px #392a1c12}.sales-receipt-preview{filter:grayscale();align-self:start;box-shadow:0 7px 20px #1414140e}.sales-receipt-preview img{filter:grayscale()contrast(1.35)!important}.sales-success-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:100%;padding:22px 24px;display:flex}.sales-success-icon{color:#fff;background:linear-gradient(145deg,#2bbd68,#0c9148);border-radius:50%;place-items:center;width:70px;height:70px;margin-bottom:12px;font-size:38px;font-weight:700;line-height:1;display:grid;box-shadow:0 12px 28px #199a5138}.sales-success-badge{color:#17743b;letter-spacing:.02em;background:#effaf3;border:1px solid #c9ead5;border-radius:999px;align-items:center;gap:7px;margin-bottom:13px;padding:7px 12px;font-size:11px;font-weight:900;display:inline-flex}.sales-success-title{color:#20252a;letter-spacing:-.025em;margin-bottom:4px;font-size:clamp(27px,3vw,36px);font-weight:950;line-height:1.05}.sales-success-label{color:#8a929a;margin-bottom:3px;font-size:14px}.sales-success-invoice{color:#9b4818;letter-spacing:.01em;word-break:break-word;margin-bottom:20px;font-size:16px;font-weight:900}.sales-success-actions{gap:9px;width:min(100%,470px);display:grid}.sales-success-button{cursor:pointer;border-radius:12px;width:100%;min-height:50px;padding:0 16px;font-size:14px;font-weight:900;transition:transform .12s,box-shadow .12s,filter .12s}.sales-success-button:hover{filter:brightness(.99);transform:translateY(-1px)}.sales-success-button:active{transform:scale(.992)}.sales-success-button-primary{color:#fff;background:linear-gradient(90deg,#b64b12,#e76410);border:0;min-height:54px;box-shadow:0 9px 20px #c552132e}.sales-success-button-print{color:#fff;background:linear-gradient(135deg,#24282c,#171a1d);border:0;box-shadow:0 8px 18px #1d212524}.sales-success-button-pdf{color:#9a4a16;background:#fff8f2;border:1px solid #efc9aa}.sales-success-button-whatsapp{color:#13743a;background:linear-gradient(135deg,#f0fbf3,#eaf8ee);border:1px solid #b8dfc4}.sales-success-tip{color:#606971;text-align:left;background:#fafbfc;border:1px solid #e5e8eb;border-radius:11px;justify-content:center;align-items:center;gap:9px;width:min(100%,470px);margin-top:12px;padding:10px 13px;font-size:11px;line-height:1.45;display:flex}.sales-success-tip-icon{filter:grayscale(.15);flex:none;font-size:17px}@media (width>=851px){.sales-content:has(.sales-success-card){overflow-y:auto}.sales-content:has(.sales-success-card) .sales-success-card{min-height:calc(100vh - 152px)}}@media (width<=850px){.sales-success-card{grid-template-columns:1fr;gap:12px;padding:12px}.sales-success-panel{padding:18px 8px 20px}.sales-success-icon{width:60px;height:60px;font-size:32px}}
