@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
*{box-sizing:border-box}body{margin:0;background:#f7f8f5;color:#17271f;font:15px 'Noto Sans Thai',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}aside{width:238px;background:#fff;border-right:1px solid #e4e9e5;padding:27px 16px;display:flex;flex-direction:column}.aside-brand{display:flex;align-items:center;gap:11px;padding:0 10px;font-size:20px;color:#0d5938}.shop-mark{color:#0b6a42;font-size:37px;line-height:.7}.aside-brand .shop-mark{font-size:25px}nav{margin-top:38px;display:grid;gap:7px}nav a{color:#607067;text-decoration:none;padding:13px 15px;border-radius:9px;font-size:16px;display:flex;gap:12px;align-items:center}nav a.active{color:#fff;background:#146b43}.cashier{border-top:1px solid #e4e9e5;margin-top:auto;padding:20px 9px;display:flex;gap:10px;align-items:center}.cashier small{display:block;color:#738079}.avatar{width:36px;height:36px;background:#f5ddc5;border-radius:50%;display:grid;place-items:center;font-weight:700}.link-button{border:0;background:transparent;color:#5d6b64;text-align:left;padding:10px;width:100%;font-size:15px}.workspace{flex:1;min-width:0;padding:28px 32px 50px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}h1,h2,h3,p{margin:0}h1{font-size:28px}header p{color:#708078;margin-top:3px}.header-actions{display:flex;gap:20px;align-items:center;color:#627269;font-size:14px}.mode{padding:7px 12px;border:1px solid #f2c766;background:#fff7df;color:#9b6911;border-radius:8px}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px}.search{display:flex;gap:9px}.search input{height:47px;padding:0 16px;border:1px solid #dbe3de;border-radius:9px;background:#fff;flex:1;outline-color:#176c44}.search button,.reset{border:1px solid #d3dfd8;border-radius:8px;background:#fff;color:#27553f;padding:0 17px}.chips{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.chips a{background:#eef1ef;color:#5b6962;border-radius:20px;padding:8px 21px;text-decoration:none}.chips a.chosen{background:#146b43;color:#fff}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:13px}.product{background:#fff;border:1px solid #e0e7e2;border-radius:11px;padding:12px}.product-icon{height:130px;display:grid;place-items:center;border-radius:8px;background:#f3f6f3;font-size:62px}.product h3{font-size:16px;margin:10px 0 2px}.product>strong{font-size:17px}.product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.product-footer small{background:#e9f5ee;color:#337353;border-radius:4px;padding:3px 7px}.plus{background:#176b43;color:#fff;border:0;width:35px;height:35px;border-radius:50%;font-size:23px;line-height:1}.plus:disabled,.primary:disabled{opacity:.45;cursor:not-allowed}.cart{background:#fff;border:1px solid #dfe7e2;border-radius:12px;display:flex;flex-direction:column;min-height:640px}.cart-head{padding:19px 20px 13px;display:flex;justify-content:space-between;align-items:center}.cart-head h2{font-size:20px}.cart-head span{color:#5d6b64}.customer{margin:0 15px 11px;padding:12px;border:1px solid #e4eae6;border-radius:8px;display:flex;align-items:center;gap:12px;font-size:16px}.customer b{margin-left:auto;font-size:22px;color:#7c8981}.cart-items{padding:0 15px;flex:1}.empty{text-align:center;color:#77847d;padding:55px 0}.cart-row{display:grid;grid-template-columns:38px 1fr auto auto;gap:8px;align-items:center;border-top:1px solid #edf0ee;padding:11px 0}.mini-icon{font-size:27px}.cart-name b,.cart-name span{display:block}.cart-name span{font-size:13px;color:#64726a}.qty{display:flex;gap:5px;align-items:center}.qty button{height:29px;width:29px;border:0;background:#f0f3f1;border-radius:5px;font-size:18px;color:#466255}.qty>b{min-width:14px;text-align:center}.total-box{border-top:1px solid #e4eae6;padding:14px 20px}.total-box>div{display:flex;justify-content:space-between;margin:6px 0}.pay-total{background:#f0f8f2;margin:13px -20px -14px!important;padding:14px 20px;color:#17462e;align-items:center}.pay-total strong{font-size:26px}.payment{padding:17px}.payment label{font-size:13px;color:#5b6962;display:block;margin-bottom:10px}.payment input{width:100%;height:38px;border:1px solid #dce4df;border-radius:7px;padding:0 10px;margin-top:3px}.primary{border:0;background:#146b43;color:#fff;border-radius:8px;padding:12px 18px;font-weight:600}.wide{width:100%;font-size:16px}.lower{display:flex;gap:14px;margin:25px 0}.summary-card{background:#fff;border:1px solid #e0e7e2;border-radius:10px;padding:13px 18px;min-width:180px}.summary-card span,.summary-card b{display:block}.summary-card span{color:#6c7a72;font-size:13px}.summary-card b{font-size:21px}.history{background:#fff;border:1px solid #e0e7e2;border-radius:11px;padding:20px}.history h2{font-size:19px;margin-bottom:12px}.history p{color:#718078}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:10px;border-bottom:1px solid #e9eeeb}th{color:#68776e;font-weight:500}.toast{margin:-7px 0 15px;padding:11px 14px;border-radius:8px}.alert{margin:17px 0;padding:10px 12px;border-radius:7px}.success{background:#e8f6ed;color:#236640}.error{background:#fff0ef;color:#a13931}.login-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f4f0e6,#e8f0e9);padding:25px}.login-card{width:min(430px,100%);background:#fff;border:1px solid #dce5df;border-radius:18px;padding:42px;text-align:center;box-shadow:0 15px 45px #2b4b3914}.login-card .shop-mark{font-size:54px}.brand{font-size:22px;font-weight:700;color:#125a39;margin:10px 0 25px}.login-card h1{font-size:30px}.login-card>p{color:#68766e;margin:2px 0 20px}.demo-note{background:#eaf6ec;border-radius:10px;padding:15px;text-align:left;display:grid;gap:2px;color:#24563a;margin-bottom:19px}.demo-note strong{font-size:17px}.login-card label{text-align:left;display:block;font-weight:600;margin:13px 0}.login-card input{display:block;width:100%;height:46px;border:1px solid #d9e1dc;border-radius:8px;margin-top:5px;padding:0 12px;outline-color:#176c44}.login-card small{display:block;color:#849087;margin-top:17px}.login-card .primary span{font-size:22px;margin-left:7px}.receipt{position:fixed;inset:0;background:#15281b7e;display:grid;place-items:center;padding:20px}.receipt>div{background:#fff;border-radius:14px;padding:30px;max-width:390px;width:100%;text-align:center}.receipt>div>button:first-child{float:right;border:0;background:transparent;font-size:25px}.receipt h2{margin-top:10px}.receipt p{color:#69776f;margin:8px 0}.receipt strong{font-size:32px;color:#145f3d;display:block;margin:14px 0}@media(max-width:1000px){.pos-layout{grid-template-columns:1fr}.cart{min-height:0}.workspace{padding:20px}.product-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.app-shell{display:block}.app-shell>aside{width:100%;padding:13px;display:block}.aside-brand{padding:0}.app-shell nav{display:flex;overflow:auto;margin:13px 0}.app-shell nav a{white-space:nowrap;padding:9px}.cashier,.link-button{display:none}.workspace{padding:18px 13px}header{align-items:flex-start;gap:10px}.header-actions>span:last-child{display:none}.product-grid{grid-template-columns:repeat(2,1fr)}.product-icon{height:105px}.product{padding:9px}.product h3{font-size:14px}.lower{flex-wrap:wrap}.header-actions{gap:0}.login-card{padding:32px 23px}}
