.pos-page .head{margin-bottom:18px}.pos-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);gap:18px;align-items:start}.pos-layout>.card{padding:22px;min-width:0;border:1px solid #eadbe3;border-radius:18px;background:#fff}.pos-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.pos-section-head h2{margin:0;color:#321a2b;font:500 25px Georgia,serif}.pos-section-head p{margin:5px 0 0;color:#806a77;font-size:12px}.pos-section-head .field{min-width:210px;margin:0}.pos-section-head select,.pos-search input,.pos-cart .field input{width:100%;min-height:42px;border:1px solid #e1d3db;border-radius:10px;padding:0 11px;background:#fff;color:#321a2b}.pos-search{display:grid;gap:6px;margin-bottom:14px}.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:10px;max-height:590px;overflow:auto;padding:2px}.pos-product{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:162px;border:1px solid #eadbe3;border-radius:13px;padding:13px;background:#fffcfd;color:#321a2b;text-align:left}.pos-product:hover:not(:disabled),.pos-product:focus-visible{border-color:#aa5b81;background:#fff5f9}.pos-product:disabled{opacity:.5;cursor:not-allowed}.pos-product-top{display:flex;align-items:center;gap:11px;width:100%}.pos-product-image{display:grid;flex:0 0 48px;width:48px;height:48px;place-items:center;overflow:hidden;border-radius:10px;background:#f3e4eb;color:#8d2b5b;font-size:24px}.pos-product-image img{width:100%;height:100%;object-fit:cover}.pos-product strong{font-size:13px;line-height:1.35}.pos-product small{color:#866f7c;font-size:10px}.pos-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto}.pos-product-bottom b{color:#8c2b5d;font-size:14px}.pos-product-bottom span{font-size:10px}.pos-cart{position:sticky;top:88px}.pos-cart .pos-section-head{align-items:center}.pos-lines{display:grid;gap:8px;min-height:75px;max-height:270px;overflow:auto}.pos-empty{padding:23px;border:1px dashed #dfcbd5;border-radius:12px;color:#8a7580;font-size:12px;text-align:center}.pos-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #f0e5eb;padding:8px 0}.pos-line strong,.pos-line small{display:block}.pos-line strong{font-size:12px}.pos-line small{margin-top:4px;color:#806a77;font-size:10px}.pos-quantity{display:flex;align-items:center;gap:7px}.pos-quantity button{width:28px;height:28px;border:1px solid #e4d2dc;border-radius:8px;background:#fff;color:#842a58;font-weight:850}.pos-quantity span{min-width:18px;text-align:center;font-size:12px;font-weight:800}.pos-total{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;padding:16px 0;border-top:2px solid #dbc5d1;color:#321a2b}.pos-total strong{font:500 28px Georgia,serif}.pos-cart .field{display:grid;gap:6px;margin-bottom:14px;font-size:12px;font-weight:750}.pos-cart .field small{color:#8b7a83;font-weight:500}.pos-payment{display:grid;gap:7px;margin:0 0 16px;border:0;padding:0}.pos-payment legend{margin-bottom:8px;font-size:12px;font-weight:750}.pos-payment label,.pos-confirm{display:flex;align-items:center;gap:9px;border:1px solid #eadbe3;border-radius:10px;padding:11px 12px;font-size:12px}.pos-payment label:has(input:checked){border-color:#9d285f;background:#f9edf3}.pos-payment input,.pos-confirm input{accent-color:#9d285f}.pos-confirm{margin-bottom:14px;background:#faf6f8}.pos-submit{width:100%;min-height:45px}.pos-help{margin:10px 0 0;color:#806a77;font-size:11px;line-height:1.5}.pos-success{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;border:1px solid #b7d7c3;border-radius:13px;padding:14px 18px;background:#eef8f0;color:#2d6543;font-size:12px}.pos-success strong{font-size:14px}.pos-success .btn{margin-left:auto}.pos-cart .btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1100px){.pos-layout{grid-template-columns:1fr}.pos-cart{position:static}}@media(max-width:600px){.pos-layout>.card{padding:17px}.pos-section-head{align-items:stretch;flex-direction:column}.pos-section-head .field{min-width:0}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-product{min-height:170px;padding:10px}.pos-product-top{align-items:flex-start;flex-direction:column}.pos-success .btn{margin-left:0}}
/* Product tiles and payment choices */
.pos-product { align-items: stretch; min-height: 150px; gap: 14px; cursor: pointer; }
.pos-product-top { min-width: 0; }
.pos-product-image { flex-basis: 58px; width: 58px; height: 58px; font-size: 27px; }
.pos-product-image img { display: block; }
.pos-product-info { display: grid; gap: 4px; min-width: 0; }
.pos-product-info strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; line-height: 1.35; }
.pos-product-info small { display: block; overflow: hidden; color: #866f7c; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pos-product-bottom span { color: #806a77; font-size: 11px; text-align: right; }
.pos-payment { display: block; }
.pos-payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pos-payment .pos-payment-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 128px; padding: 15px; border: 1px solid #eadbe3; border-radius: 14px; background: #fffcfd; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.pos-payment .pos-payment-option:hover { border-color: #ad6a8b; }
.pos-payment .pos-payment-option:has(input:checked) { padding: 14px; border: 2px solid #9d285f; background: #f9edf3; box-shadow: 0 4px 18px #9d285f14; }
.pos-payment .pos-payment-option:focus-within { outline: 3px solid #b8638a80; outline-offset: 2px; }
.pos-payment-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pos-payment-emoji { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #f3e4eb; font-size: 25px; }
.pos-payment-copy { display: grid; gap: 2px; }
.pos-payment-copy strong { color: #321a2b; font-size: 14px; }
.pos-payment-copy small { color: #806a77; font-size: 11px; }
.pos-payment-check { position: absolute; top: 14px; right: 14px; display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #d5c3cd; border-radius: 50%; color: transparent; font-size: 12px; font-weight: 800; }
.pos-payment-option:has(input:checked) .pos-payment-check { border-color: #9d285f; background: #9d285f; color: #fff; }
@media (max-width: 600px) { .pos-product-image { flex-basis: 52px; width: 52px; height: 52px; } }
