*{box-sizing:border-box}body{margin:0;background:#f7f4ee;color:#473d32;font:15px Arial,sans-serif}button,input,select,textarea{font:inherit;border:1px solid #ddd4c7;border-radius:9px;padding:12px}button{background:#896c48;color:white;cursor:pointer}button:disabled{opacity:.5;cursor:wait}input,select,textarea{background:#fff;color:#473d32;max-width:100%}label{display:flex;flex-direction:column;gap:8px;margin:10px 0}h1{font-size:32px;margin:12px 0}h2{font-weight:500}small{letter-spacing:1px;color:#927e64}section{background:white;border:1px solid #e8e1d7;border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 5px 20px #5f482005}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:#fffdfa;padding:30px 20px;border-right:1px solid #e5ded3}aside h2{letter-spacing:3px}aside h2 span{display:block;font-size:10px;letter-spacing:2px;margin-top:8px}nav{display:grid;gap:7px;margin:40px 0}nav button{background:transparent;color:#746654;text-align:left;border:0}nav .active{background:#eee4d5;color:#654c2b;font-weight:700}main{padding:34px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.hero{background:linear-gradient(115deg,#e9dfcd,#f5eee3);padding:40px}.hero h2{font:40px Georgia,serif}.catalog,.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px}.metrics h2{font-size:28px}.actions,.toolbar{display:flex;gap:12px;flex-wrap:wrap}.toolbar{margin-bottom:20px}.gridform{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;align-items:end}.pos{display:grid;grid-template-columns:1fr 330px;gap:24px}.ticket{align-self:start}.ticket>button{display:block;width:100%;margin-top:20px}.ticket input{width:90px}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:14px;border-bottom:1px solid #eee7dc}.tablewrap{overflow:auto}.notice{padding:14px;background:#eee4d5;border-radius:10px;margin-bottom:20px;display:flex;justify-content:space-between}.login{display:grid;place-items:center;min-height:100vh}.login section{width:min(440px,100%);padding:40px}.login button{width:100%}@media(max-width:900px){.shell{grid-template-columns:1fr}aside{padding:15px}nav{display:flex;overflow:auto;margin:10px 0}aside h2{margin:0}main{padding:18px}.pos{grid-template-columns:1fr}header small{font-size:10px}}@media print{.notice,.toolbar,aside,button,form{display:none!important}.pos,.shell{display:block}main{padding:0}body{background:white}section{box-shadow:none;page-break-inside:avoid;break-inside:avoid}}.pos-main{padding:20px 24px}.pos-main>header{margin-bottom:16px}.pos-main>header h1{font-size:23px}.pos-main>header small{font-size:10px}.pos-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}.pos-store{min-width:0}.pos-search{height:48px;background:#fff;border:1px solid #e9e3da;border-radius:10px;display:flex;align-items:center;padding:0 14px;gap:10px}.pos-search svg{width:19px;height:19px;color:#8c8880;flex-shrink:0}.pos-search input{border:0;outline:none;box-shadow:none;background:none;flex:1 1;min-width:0;padding:8px 0;font-size:13px}.pos-search span{white-space:nowrap;color:#969087;font-size:11px}.pos-categories{display:flex;gap:8px;overflow:auto;padding:13px 0 16px;scrollbar-width:thin}.pos-categories button{background:#f2eee8;color:#463d32;border:1px solid #e4ddd3;white-space:nowrap;padding:12px 17px;font-size:12px;border-radius:6px}.pos-categories button.selected{background:#e4ccaa;border-color:#d7b98e;color:#3b2b17}.pos-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pos-product{border:1px solid #e4ddd2;border-radius:8px;background:#fff;overflow:hidden;min-width:0}.pos-product-photo{aspect-ratio:1/1;position:relative;background:#efeae2;overflow:hidden}.pos-product-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.pos-product:hover .pos-product-photo img{transform:scale(1.035)}.pos-product-info{padding:11px 10px 9px}.pos-product-info h3{font-size:13px;font-weight:600;line-height:1.4;margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#282620}.pos-price{font-size:17px;font-weight:700;color:#282620}.pos-price>span{font-size:11px;font-weight:400}.pos-product-bottom{display:flex;gap:4px;align-items:center;justify-content:space-between;margin-top:10px}.pos-product-bottom>span{font-size:10px;color:#716b62}.pos-product-bottom button{padding:0;width:30px;height:30px;min-width:30px;background:linear-gradient(#bb914f,#966a2d);border:1px solid #b28a50;border-radius:5px;font-size:24px;line-height:1;color:#fff}.pos-product-bottom button:disabled{cursor:default;opacity:.35}.pos-no-photo{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;gap:8px;background:linear-gradient(140deg,#f2eee7,#e9e0d2);color:#ab987e}.pos-no-photo svg{width:42px;height:42px;stroke:currentColor;stroke-width:1.3}.pos-no-photo span{font-size:11px}.pos-stock-badge{position:absolute;top:10px;left:10px;padding:5px 9px;background:#fff9;border-radius:5px;font-size:11px}.pos-receipt{position:sticky;top:16px;padding:18px 16px;border-radius:10px;border-color:#e2dace;margin:0;box-shadow:0 3px 14px #61471708}.pos-ticket-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #eee8de}.pos-ticket-title h2{font-size:19px;font-weight:650;margin:0;color:#282620}.pos-ticket-title>span{font-size:11px;color:#918779}.pos-client{font-size:11px;color:#8b8071;margin:12px 0}.pos-client select{padding:9px;font-size:12px;border-radius:6px}.pos-lines{max-height:calc(100dvh - 460px);min-height:170px;overflow-y:auto;scrollbar-width:thin}.pos-line{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #f1ece5}.pos-thumb{width:43px;height:47px;flex-shrink:0;border-radius:4px;overflow:hidden}.pos-thumb img{width:100%;height:100%;object-fit:cover}.pos-thumb .pos-no-photo svg{width:25px}.pos-thumb .pos-no-photo span{display:none}.pos-line-detail{flex:1 1;min-width:0}.pos-line-detail h3{font-size:12px;font-weight:600;margin:0 0 8px;line-height:1.3;color:#353029}.pos-quantity{display:flex;align-items:center;gap:0}.pos-quantity button{width:22px;height:25px;padding:0;border-radius:3px;color:#73634f;border:1px solid #e9e1d7;background:#faf8f4}.pos-quantity input{width:44px;height:25px;border:0;padding:2px;text-align:center;font-size:11px;appearance:textfield;-moz-appearance:textfield}.pos-quantity input::-webkit-inner-spin-button{appearance:none}.pos-quantity span{font-size:10px;color:#8e8579;margin-left:4px}.pos-line-end{display:flex;align-items:center;gap:7px}.pos-line-end b{font-size:12px;color:#302b24}.pos-remove{background:none;padding:2px;border:0;color:#d16b53}.pos-remove svg{width:14px;height:17px;stroke-width:1.5}.pos-summary{padding:16px 0 10px;border-top:1px solid #e8dfd1;margin-top:12px}.pos-summary>div{display:flex;justify-content:space-between;font-size:13px;margin-bottom:10px;color:#413b31}.pos-summary b{font-weight:500}.pos-summary .pos-total{font-size:20px;margin-top:15px;color:#282620}.pos-total b,.pos-total span{font-weight:700}.pos-payments{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0 14px}.pos-payments button{border-radius:6px;background:#f6f4ef;color:#5c5144;font-size:11px;padding:11px 4px;border:1px solid #e8e1d6}.pos-payments button.selected{background:linear-gradient(#b48a46,#936527);color:#fff;border-color:#aa7e3b;box-shadow:0 2px 5px #96733922}.pos-charge{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:15px;background:linear-gradient(#ba8d45,#a57630);border:1px solid #a4742e;border-radius:6px;font-size:15px;font-weight:600}.pos-charge svg{width:19px;height:19px;stroke-width:1.5}.pos-fiscal-note{font-size:10px;text-align:center;color:#9c9386;margin:12px 0 0;line-height:1.5}.pos-cart-empty{text-align:center;padding:35px 15px;color:#938574}.pos-cart-empty span{font-size:15px}.pos-cart-empty p{font-size:12px;line-height:1.6}.pos-empty{padding:50px 20px;text-align:center;color:#8c7b62}.pos-empty h3{color:#5b4b35}.pos-warning{font-size:12px;color:#b55e34}.pos-modal-backdrop{position:fixed;inset:0;background:#30251766;z-index:100;display:grid;place-items:center;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.pos-modal{width:min(440px,100%);margin:0;padding:30px}.pos-modal h2{margin:0;font-weight:600}.pos-modal-total{display:block;font-size:36px;margin:24px 0}.pos-modal-actions{display:flex;gap:10px;margin-top:25px}.pos-modal-actions button{flex:1 1}.pos-modal-actions button:first-child{background:#f2ece2;color:#76634a}.pos-workspace button:focus-visible,.pos-workspace input:focus-visible,.pos-workspace select:focus-visible{outline:2px solid #ab7b34;outline-offset:3px}@media(min-width:1500px){.pos-workspace{grid-template-columns:minmax(0,1fr) 380px}.pos-product-info h3{font-size:15px}.pos-product-bottom>span{font-size:12px}.pos-product-info{padding:14px}.pos-product-grid{gap:16px}}@media(min-width:901px) and (max-width:1200px){.shell:has(.pos-main){grid-template-columns:170px 1fr}.shell:has(.pos-main) aside{padding:22px 12px}.shell:has(.pos-main) aside h2{font-size:19px}.pos-main{padding:18px 14px}.pos-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:12px}.pos-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-search span{display:none}}@media(max-width:900px) and (min-width:701px){.pos-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:12px}.pos-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-search span{display:none}}@media(max-width:700px){.pos-workspace{grid-template-columns:1fr}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pos-receipt{position:static}.pos-search span{display:none}.pos-main{padding:16px}.pos-lines{max-height:330px}.pos-main header>span{font-size:11px}.pos-main>header small{display:none}}@media print{.pos-client,.pos-fiscal-note,.pos-main>header,.pos-modal-backdrop,.pos-store{display:none!important}.pos-workspace{display:block}.pos-receipt{position:static;width:100%;box-shadow:none}.pos-lines{max-height:none;overflow:visible}.pos-quantity input{border:0}}nav button{display:flex;align-items:center;gap:13px}nav button svg{flex-shrink:0;color:inherit}