/* Creative Maharlyka Food POS V2 — velvet / apricot / oat. Scoped to this demo route. */
:root{--accent:#a63e54;--accent-soft:#fff0eb;--nav:#322338;--nav2:#3b2c43;--ink:#272330;--muted:#766c78;--line:#eadfe2;--soft:#fbf7f6}
body{background:#fbf6f1}button{touch-action:manipulation}
.system-app{background:#fbf6f1;color:#28222f}
.system-app .app-top{height:76px;background:#322338;color:#fff;border-bottom:3px solid #e7a56e;padding:0 clamp(12px,2vw,30px)}
.system-app .app-brand img{width:44px;height:44px;background:#fffaf8;border-radius:12px;padding:5px;object-fit:contain}
.system-app .app-brand b{font-size:clamp(14px,1.55vw,20px);font-weight:850;letter-spacing:.015em}
.system-app .app-brand small{font-size:10px;color:#edcfc8;letter-spacing:.06em;margin-top:3px}
.v2-shop-name{color:#ffbb87;font-weight:600}.v2-live-pill{display:inline-flex;border-radius:99px;background:#643947;color:#fbd9ce;font-weight:800;font-size:11px;padding:8px 12px;white-space:nowrap}.v2-top-clock{font-size:12px;color:#f8e6dd;font-weight:750;white-space:nowrap}
.system-app .app-top .btn.ghost{color:#fff3ee;border-color:#8c7180}.system-app .app-top .btn.primary{background:#eaa879;color:#302037}
.system-app .app-layout{height:calc(100vh - 76px);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.system-app .sidebar{display:flex;gap:4px;align-items:center;background:#fff;padding:5px clamp(9px,1.5vw,22px);border-bottom:1px solid #e8dfe2;min-height:55px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;white-space:nowrap}
.system-app .sidebar .side-label{display:none}.system-app .sidebar .nav-btn{flex:none;width:auto;font-size:12px;padding:10px 13px;border-radius:8px;margin:0;color:#6c596b;background:#fff;border:0;border-bottom:3px solid transparent}.system-app .sidebar .nav-btn.active{background:#fff1ef;color:#922e46;border-bottom-color:#b14761}.system-app .sidebar .nav-btn .ico{width:18px}.system-app .sidebar .nav-btn .badge{background:#f8ebed;color:#94394c}
.system-app .app-main{padding:17px clamp(12px,1.6vw,30px) 35px;min-width:0;scroll-behavior:smooth}.system-app .app-view{max-width:1680px}
.system-app .btn.primary{background:#a63e54}.system-app .btn.ghost{border-color:#e2ced4;color:#6e455c}
.v2-section-head{display:flex;gap:18px;justify-content:space-between;align-items:center;margin:0 0 15px}.v2-kicker{color:#a03c58;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:.12em}.v2-section-head h1{font-size:clamp(22px,2.2vw,31px);letter-spacing:-.04em;margin:3px 0}.v2-section-head p{font-size:12px;color:#786c76;margin:0}.v2-demo-flag{background:#fff0e6;border:1px solid #f1d4c5;color:#884c3b;font-size:11px;font-weight:750;padding:8px 12px;border-radius:99px}
.v2-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(335px,.89fr);gap:14px;align-items:stretch;min-height:600px}.v2-catalog,.v2-cart{background:#fff;border:1px solid #e9dee2;border-radius:18px;box-shadow:0 6px 24px rgba(64,37,49,.045);min-width:0;padding:16px}.v2-catalog{background:#fffcfa}
.v2-controls{display:flex;gap:8px;margin-bottom:13px}.v2-search{border:1px solid #e2d7db;background:#fff;border-radius:11px;display:flex;align-items:center;flex:1;min-width:110px;padding:0 12px;gap:7px}.v2-search span{font-size:22px;color:#958793}.v2-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:12px 0;color:#322438;font-size:13px}.v2-outline-btn,.v2-main-btn{border:1px solid #e3cdd3;background:#fff;border-radius:11px;padding:10px 13px;white-space:nowrap;font-size:12px;font-weight:800;color:#693d4d}.v2-main-btn{color:#fff;background:#a53a53;border-color:#a53a53}.v2-outline-btn:hover{background:#fff4f5}.v2-main-btn:hover,.v2-charge:hover:not(:disabled){background:#8f3047}
.v2-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.v2-categories button{border:1px solid #e9dce1;background:#fff;border-radius:99px;color:#745e6e;font-size:12px;font-weight:780;padding:9px 16px}.v2-categories button.active{background:#a63e54;color:#fff;border-color:#a63e54}
.v2-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.v2-product{position:relative;display:flex;flex-direction:column;border:1px solid #eadfe0;border-radius:13px;background:#fff;min-width:0;padding:0;text-align:left;overflow:hidden;box-shadow:0 3px 9px rgba(61,31,46,.025);transition:transform .12s,border-color .12s;cursor:pointer}.v2-product:hover{transform:translateY(-2px);border-color:#d8a0a9}.v2-product:focus-visible,.v2-controls button:focus-visible,.v2-cart button:focus-visible{outline:3px solid #f5ad67;outline-offset:2px}.v2-product:disabled{opacity:.5;cursor:not-allowed}.v2-product-art{width:100%;height:112px;display:flex;align-items:center;justify-content:center;font-size:57px;background:radial-gradient(circle at 68% 12%,#fff9ed 0 16%,transparent 36%),linear-gradient(125deg,#f8d9bb,#efb5aa);isolation:isolate}.v2-product:nth-child(3n+2) .v2-product-art{background:radial-gradient(circle at 68% 12%,#fff9ed 0 12%,transparent 39%),linear-gradient(125deg,#ebc9de,#e3ab93)}.v2-product:nth-child(3n) .v2-product-art{background:radial-gradient(circle at 68% 12%,#fff9ed 0 12%,transparent 40%),linear-gradient(125deg,#d3e8dc,#f8d4a5)}.v2-product-info{padding:10px 10px 12px;display:grid;gap:4px;flex:1}.v2-product-info strong{font-size:12px;line-height:1.35;color:#312733;min-height:32px}.v2-product-info .v2-price{font-weight:900;color:#a23a52;font-size:13px}.v2-product-info small{font-size:10px;color:#8b7d88}.v2-product-edit,.v2-product-move{position:absolute;right:6px;top:6px;z-index:2;border-radius:7px;border:1px solid #fff7;background:#4a2a3bcc;color:#fff;font-size:10px;font-weight:800;padding:6px 7px}.v2-product-move{background:#fff;color:#6c3c4d}.v2-catalog-note{font-size:10px;color:#857b83;margin:16px 3px 0}.v2-product-grid .v2-no-results{grid-column:1/-1;padding:35px 14px;text-align:center;color:#7b6a75}
.v2-cart{display:flex;flex-direction:column;min-height:610px;padding:16px 16px 12px}.v2-cart-title{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 0 9px}.v2-cart-title h2{font-size:19px;letter-spacing:-.025em;margin:3px 0 0}.v2-cart-title h2 span{display:inline-block;vertical-align:middle;color:#986f7d;font-size:10px;font-weight:750;margin-left:6px}.v2-clear{border:1px solid #eddee2;color:#a94b59;background:#fff7f7;border-radius:8px;padding:8px 10px;font-weight:780;font-size:11px}.v2-order-types{display:flex;gap:5px;padding-bottom:13px;border-bottom:1px solid #eee5e8}.v2-order-types button{flex:1;border:1px solid #e7dbe0;background:#fff;color:#685866;border-radius:8px;padding:8px 5px;font-size:11px;font-weight:750}.v2-order-types button.active{background:#fce9e7;color:#9f3852;border-color:#e8b6c1}.v2-cart-lines{min-height:135px;max-height:245px;overflow:auto;flex:1;padding:8px 0}.v2-empty{display:grid;justify-items:center;align-content:center;min-height:122px;text-align:center;gap:4px;color:#776b73}.v2-empty>span{font-size:33px}.v2-empty b{font-size:12px;color:#5a4a55}.v2-empty p{margin:0;font-size:11px}.v2-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1e8eb}.v2-cart-line b{font-size:12px;color:#453545}.v2-cart-line small{display:block;font-size:10px;color:#867883;margin-top:3px}.v2-qty{display:flex;align-items:center;gap:4px}.v2-qty button{width:27px;height:29px;border:1px solid #e7d6dc;background:#fff4f4;border-radius:7px;font-weight:800;color:#963b54}.v2-qty span{min-width:18px;text-align:center;font-size:12px;font-weight:800}.v2-checkout-bottom{margin-top:auto}.v2-discount-row,.v2-totals>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.v2-discount-row{border-top:1px solid #eee5e8;padding:13px 0}.v2-discount-row label{color:#776772;font-size:12px}.v2-discount-row select{border:1px solid #e4d9de;border-radius:8px;color:#473542;padding:8px;font-size:11px;background:#fff;max-width:63%}.v2-totals{display:grid;gap:9px;padding:0 0 11px}.v2-totals>div{font-size:12px;color:#6c5d66}.v2-totals b{color:#372834}.v2-totals .v2-grand{padding:10px 0 2px;border-top:1px dashed #e7d7de;color:#2f2330;font-weight:900;font-size:14px}.v2-grand strong{font-size:25px;color:#a23a51;letter-spacing:-.045em}.v2-paytypes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.v2-paytypes button{border:1px solid #ead8de;border-radius:10px;background:#fff;padding:11px 8px;font-size:12px;font-weight:780;color:#6f5667}.v2-paytypes button.active{background:#a53d55;color:#fff;border-color:#a53d55}.v2-cash-panel{display:grid;gap:7px}.v2-cash-panel label{display:flex;justify-content:space-between;font-size:11px;color:#675966;font-weight:750}.v2-cash-panel label span{color:#ad4d61}.v2-cash-panel input{width:100%;border-radius:10px;border:1px solid #dfd0d7;padding:10px 11px;font-size:14px;background:#fff}.v2-quick-cash{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.v2-quick-cash button{background:#fff6f1;border:1px solid #eedfd4;border-radius:7px;padding:8px 2px;color:#775f65;font-size:10px;font-weight:760}.v2-gcash-note{font-size:11px;line-height:1.5;padding:11px;border:1px solid #c6dfe9;border-radius:10px;background:#f0faff;color:#366076}.v2-checkout-error{min-height:16px;font-size:11px;color:#b32642;margin:7px 0}.v2-charge{width:100%;border:0;border-radius:12px;background:#a63e54;color:#fff;font-weight:900;font-size:15px;letter-spacing:.05em;padding:15px;display:flex;align-items:center;justify-content:space-between}.v2-charge:disabled{background:#d9d0d6;color:#857986;cursor:not-allowed}.v2-payment-caption{font-size:9px;text-align:center;color:#8a7882;margin-top:8px;letter-spacing:.08em}
.v2-report-live{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}.v2-report-live>div{border-radius:13px;border:1px solid #eadbe1;background:#fff;padding:13px}.v2-report-live small{color:#7b6875;display:block;margin-bottom:6px}.v2-report-live strong{color:#9e3b54;font-size:21px}.v2-inventory-table{width:100%;border-collapse:collapse;font-size:12px}.v2-inventory-table th,.v2-inventory-table td{text-align:left;padding:11px 9px;border-bottom:1px solid #f0e6e9}.v2-inventory-table th{font-size:11px;color:#7b6574}.v2-inventory-table button{background:#fff0ee;border:1px solid #eed3da;color:#9f4058;border-radius:8px;padding:7px 10px;font-weight:800}.v2-inventory-table .low{color:#b3324d}.v2-receipt{background:#ecfaf0;border:1px solid #b6e7c5;color:#2a7042;border-radius:10px;padding:11px;font-size:12px}
.v2-product-dialog{border:0;border-radius:16px;padding:0;width:min(420px,calc(100vw - 26px));box-shadow:0 30px 90px #22152480}.v2-product-dialog::backdrop{background:#301c2db8}.v2-edit-form{padding:24px;display:grid;gap:10px}.v2-edit-form h2{margin:0;color:#322335;font-size:21px}.v2-edit-form p{margin:0 0 8px;color:#766778;font-size:12px}.v2-edit-form label{display:grid;gap:5px;font-size:12px;font-weight:780;color:#4f3b4d}.v2-edit-form input,.v2-edit-form select{border:1px solid #dfd0d8;padding:11px;border-radius:9px;font-size:14px;background:#fff}.v2-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.v2-form-actions button{border-radius:9px;padding:10px 14px;border:1px solid #d8c7ce;background:#fff;font-weight:800}.v2-form-actions button[type=submit]{background:#a63e54;color:#fff;border-color:#a63e54}
@media(max-width:1230px){.v2-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v2-workspace{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr)}}
@media(max-width:920px){.v2-workspace{grid-template-columns:minmax(0,1fr)}.v2-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v2-cart{min-height:420px}.v2-cart-lines{max-height:240px}.system-app .app-top .hide-mobile{display:none}}
@media(max-width:660px){.system-app .app-top{height:68px}.system-app .app-layout{height:calc(100vh - 68px)}.system-app .app-brand img{width:34px;height:34px}.system-app .app-brand b{font-size:12px}.system-app .app-brand small{font-size:9px}.v2-shop-name,.v2-top-clock,.v2-live-pill{display:none}.v2-section-head{display:block}.v2-demo-flag{display:inline-block;margin-top:8px}.v2-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-product-art{height:130px}.v2-catalog,.v2-cart{padding:12px}.v2-controls{flex-wrap:wrap}.v2-search{flex:1 0 100%}.v2-outline-btn,.v2-main-btn{flex:1}.v2-report-live{grid-template-columns:1fr}.v2-inventory-table{font-size:10px}.v2-inventory-table td,.v2-inventory-table th{padding:9px 4px}.v2-inventory-table td:nth-child(2),.v2-inventory-table th:nth-child(2){display:none}}
@media(max-width:400px){.v2-product-art{height:110px}.v2-product-grid{gap:7px}.v2-categories button{padding:8px 10px;font-size:11px}.v2-quick-cash{grid-template-columns:repeat(3,1fr)}}

/* Configurable customer brand accent, without altering the overall demo palette. */
.v2-main-btn,.v2-charge,.v2-categories button.active,.v2-paytypes button.active{background:var(--v2-brand,#a63e54);border-color:var(--v2-brand,#a63e54)}
.v2-charge:hover:not(:disabled){filter:brightness(.87)}
