:root{--wmd-blue:#123d5a;--wmd-caramel:#ecaa60;--wmd-ink:#17212a;--wmd-paper:#f7f4ee;--wmd-line:#d9d5cc;--wmd-good:#176b46;--wmd-bad:#a4262c}
.wmd-pos-shell{max-width:1180px!important;margin:24px auto!important;padding:0 16px!important;color:var(--wmd-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.wmd-pos-shell *{box-sizing:border-box}.wmd-pos-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.wmd-pos-header h1{margin:2px 0;font-size:clamp(28px,5vw,44px);color:var(--wmd-blue)}.wmd-pos-kicker{font-size:12px;letter-spacing:.16em;font-weight:800;color:#8b5524}.wmd-pos-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:16px}.wmd-pos-panel{background:#fff;border:1px solid var(--wmd-line);border-radius:18px;padding:20px;box-shadow:0 10px 35px rgba(23,33,42,.08)}.wmd-pos-label{display:block;font-weight:750;margin:4px 0 7px}.wmd-pos-search-row{display:grid;grid-template-columns:1fr auto auto;gap:8px}.wmd-pos-shell input,.wmd-pos-shell select,.wmd-pos-shell button{font:inherit;min-height:46px;border-radius:10px}.wmd-pos-shell input,.wmd-pos-shell select{width:100%;padding:10px 12px;border:1px solid #a9a59d;background:#fff}.wmd-pos-shell button{padding:9px 14px;border:1px solid var(--wmd-blue);background:#fff;color:var(--wmd-blue);font-weight:750;cursor:pointer}.wmd-pos-shell button:disabled{opacity:.45;cursor:not-allowed}.wmd-pos-shell .wmd-pos-accent,.wmd-pos-complete{background:var(--wmd-blue);color:#fff}.wmd-pos-hint{font-size:12px;color:#65717a;margin:7px 0 12px}.wmd-pos-message{min-height:24px;color:var(--wmd-good);font-weight:700}.wmd-pos-message.error{color:var(--wmd-bad)}.wmd-pos-product-list,.wmd-pos-cart-items{display:grid;gap:10px;margin-top:8px}.wmd-product-card{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--wmd-line);border-radius:12px}.wmd-product-card img{width:58px;height:58px;border-radius:8px;object-fit:cover;background:var(--wmd-paper)}.wmd-product-card div,.wmd-cart-row>div:first-child{display:grid;gap:3px}.wmd-product-card small,.wmd-cart-row small{color:#69747c}.wmd-product-card span{font-weight:800;color:var(--wmd-blue)}.wmd-pos-empty{padding:24px;border:1px dashed #aaa;border-radius:12px;text-align:center;color:#69747c}.wmd-pos-cart h2{margin-top:0}.wmd-pos-cart-items{margin:18px 0}.wmd-cart-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:10px;border-bottom:1px solid #ece9e2}.wmd-quantity{display:grid;grid-template-columns:40px 32px 40px;align-items:center;text-align:center}.wmd-quantity button{min-height:38px;padding:4px}.wmd-pos-totals{border-top:2px solid var(--wmd-blue);padding:12px 0;margin-top:12px}.wmd-pos-totals>div{display:flex;justify-content:space-between;padding:4px 0}.wmd-pos-total{font-size:22px;color:var(--wmd-blue);margin-top:5px}.wmd-pos-payments{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.wmd-payment.selected{background:var(--wmd-caramel);color:var(--wmd-ink);border-color:#b46c29}.wmd-pos-complete{width:100%;font-size:18px;min-height:56px}.wmd-pos-icon-button{font-size:13px}.wmd-scanner{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.88);display:grid;place-items:center;padding:18px;color:#fff}.wmd-scanner-box{width:min(680px,100%);position:relative;text-align:center}.wmd-scanner video{width:100%;max-height:65vh;object-fit:cover;border:3px solid var(--wmd-caramel);border-radius:16px;background:#000}.wmd-scan-line{position:absolute;left:8%;right:8%;top:48%;height:3px;background:#ff3535;box-shadow:0 0 12px #ff3535}.wmd-scanner button{background:#fff;color:#111;border:0;min-width:130px}.wmd-pos-login,.wmd-pos-fatal{max-width:680px;margin:40px auto;padding:30px;border:1px solid var(--wmd-line);border-radius:16px;background:#fff}
@media(max-width:820px){.wmd-pos-grid{grid-template-columns:1fr}.wmd-pos-cart{order:-1}.wmd-pos-header{align-items:flex-start}.wmd-pos-icon-button{max-width:130px}.wmd-pos-panel{padding:15px}.wmd-pos-search-row{grid-template-columns:1fr 1fr}.wmd-pos-search-row input{grid-column:1/-1}.wmd-product-card{grid-template-columns:52px 1fr auto}.wmd-product-card img{width:52px;height:52px}}

