.cash-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.cash-summary article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.cash-summary span,.cash-summary strong{display:block}.cash-summary span{color:var(--muted);font-size:11px}.cash-summary strong{font-size:25px;margin-top:5px}
.pos-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.pos-page-head h1{font-size:32px;line-height:1.1;margin:8px 0 5px;color:#162219}.pos-page-head p{margin:0;color:#77817a}.pos-status{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border-radius:999px;background:#eaf8ef;color:#247347;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.pos-status i{width:8px;height:8px;border-radius:50%;background:#35ae68;box-shadow:0 0 0 4px rgba(53,174,104,.14)}.pos-history{display:flex;align-items:center;gap:9px;padding:11px 16px;border:1px solid #dce3de;border-radius:12px;background:#fff;color:#284432;text-decoration:none;font-weight:800;box-shadow:0 4px 14px rgba(29,56,38,.05)}.pos-history:hover{border-color:#65a96f;color:#247347;transform:translateY(-1px)}
.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}.pos-main-card,.pos-checkout{background:#fff;border:1px solid #e0e6e1;border-radius:20px;box-shadow:0 10px 30px rgba(37,60,44,.07)}.pos-main-card{padding:25px}.pos-checkout{padding:23px;position:sticky;top:88px}.pos-section-title,.pos-checkout-head{display:flex;align-items:center;gap:12px}.pos-section-title h2,.pos-checkout-head h2{font-size:17px;margin:0;color:#1b2d20}.pos-section-title p,.pos-checkout-head p{font-size:12px;color:#879088;margin:3px 0 0}.pos-section-icon,.pos-checkout-head>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf7ef}.pos-divider{height:1px;background:#edf0ed;margin:24px 0}.pos-field{display:block;margin-top:16px}.pos-field>span{display:flex;align-items:center;gap:8px;margin-bottom:7px;font-size:12px;font-weight:800;color:#405047}.pos-field em{padding:3px 7px;border-radius:6px;background:#f0f3f1;color:#859088;font-size:9px;font-style:normal;text-transform:uppercase}.pos-field select,.pos-field input,.pos-field textarea{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #d9e0db;border-radius:11px;background:#fbfcfb;color:#26352b;font:inherit;outline:0}.pos-field select:focus,.pos-field input:focus,.pos-field textarea:focus,.sale-row select:focus,.sale-row input:focus{border-color:#55a86b;box-shadow:0 0 0 3px rgba(85,168,107,.12);background:#fff}
.pos-list-head,.sale-row{display:grid;grid-template-columns:minmax(190px,1fr) 94px 120px 38px;gap:10px;align-items:center}.pos-list-head{margin:20px 0 7px;padding:0 4px;color:#8b958e;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.pos-list-head span:nth-child(3){text-align:right}.sale-row{padding:10px;border:1px solid #e2e8e3;border-radius:13px;margin-bottom:9px;background:#fcfdfc;transition:.15s}.sale-row:hover{border-color:#bad5c0;background:#fff}.sale-row label{margin:0}.sale-row select,.sale-row input{box-sizing:border-box;width:100%;height:42px;border:1px solid #dce3de;border-radius:9px;background:#fff;padding:0 11px;color:#34443a;font:inherit;outline:0}.sale-row .line-total{text-align:right;color:#1e3526;font-size:14px}.remove-row{width:34px;height:34px;border:0;border-radius:9px;background:#f7e9e8;color:#ba4c46;font-size:22px;line-height:1;cursor:pointer}.remove-row:hover{background:#f3d9d7}.mobile-label{display:none}.pos-add-line{width:100%;margin-top:10px;padding:11px;border:1px dashed #91bd9c;border-radius:11px;background:#f4faf5;color:#347146;font-weight:800;cursor:pointer}.pos-add-line:hover{background:#eaf6ed}
.pos-checkout-head{padding-bottom:18px;border-bottom:1px solid #edf0ed}.pos-values{padding:18px 0}.pos-values>div,.pos-values>label{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:#647068;font-size:13px}.money-input{display:flex;align-items:center;width:128px;border:1px solid #dce3de;border-radius:9px;background:#fafbfa;overflow:hidden}.money-input i{padding-left:10px;color:#8c968f;font-style:normal}.money-input input{width:100%;border:0;background:transparent;padding:9px 9px 9px 5px;text-align:right;outline:0}.pos-grand-total{margin:18px -23px -18px!important;padding:18px 23px;background:linear-gradient(135deg,#173f28,#286c40);color:#fff!important}.pos-grand-total span{font-weight:800}.pos-grand-total strong{font-size:25px}.payment-methods{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:21px 0 0;padding:0;border:0}.payment-methods legend{grid-column:1/-1;margin-bottom:8px;color:#405047;font-size:12px;font-weight:900}.payment-methods label{cursor:pointer}.payment-methods input{position:absolute;opacity:0;pointer-events:none}.payment-methods label>span{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #dfe5e0;border-radius:10px;background:#fff;color:#68736b;font-size:13px}.payment-methods input:checked+span{border-color:#46965b;background:#eef8f0;color:#276b3a;box-shadow:0 0 0 2px rgba(70,150,91,.09)}.payment-methods label:last-child{grid-column:1/-1}.pos-extra{margin-top:17px}.pos-confirm{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;margin-top:19px;padding:14px;border:0;border-radius:13px;background:linear-gradient(135deg,#ef7e12,#e56800);color:#fff;box-shadow:0 8px 20px rgba(230,104,4,.25);cursor:pointer}.pos-confirm:hover{filter:brightness(1.04);transform:translateY(-1px)}.pos-confirm>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:rgba(255,255,255,.18);font-size:16px}.pos-confirm div{text-align:left}.pos-confirm b,.pos-confirm small{display:block}.pos-confirm b{font-size:14px}.pos-confirm small{margin-top:2px;opacity:.82;font-size:10px}
.ticket80{width:80mm;margin:0 auto;background:#fff;padding:5mm 4mm;color:#000;font-family:Arial,sans-serif;font-size:11px}.ticket80 img{display:block;width:28mm;height:28mm;object-fit:contain;margin:auto}.ticket80 h1{text-align:center;font-size:14px;margin:3px 0}.ticket80>p{text-align:center;margin:5px 0}.ticket80 hr{border:0;border-top:1px dashed #000;margin:8px 0}.ticket80 table{width:100%;border-collapse:collapse}.ticket80 td{padding:4px 0;vertical-align:top}.ticket80 td:last-child{text-align:right}.ticket80 small{display:block}.ticket-totals span,.ticket-totals strong{display:flex;justify-content:space-between;margin:4px 0}.ticket-totals strong{font-size:14px}.thanks{font-weight:bold}
@media(max-width:1000px){.pos-layout{grid-template-columns:1fr}.pos-checkout{position:static}.pos-page-head{align-items:center}}
@media(max-width:650px){.cash-summary{grid-template-columns:1fr}.pos-page-head{align-items:flex-start;flex-direction:column}.pos-page-head h1{font-size:27px}.pos-history{width:100%;box-sizing:border-box;justify-content:center}.pos-main-card,.pos-checkout{padding:17px;border-radius:15px}.pos-list-head{display:none}.sale-row{grid-template-columns:1fr 82px 32px;padding:11px}.sale-row label:first-child{grid-column:1/-1}.sale-row .line-total{grid-column:1/3;text-align:left;padding:3px 2px}.sale-row .remove-row{grid-column:3;grid-row:2;align-self:end}.mobile-label{display:block;margin:0 0 5px;color:#89938c;font-size:9px;font-weight:900;text-transform:uppercase}.pos-grand-total{margin:18px -17px -18px!important;padding:17px}.payment-methods{grid-template-columns:1fr}.payment-methods label:last-child{grid-column:auto}}
.customer-search{position:relative;margin-top:16px}.customer-search>input{box-sizing:border-box;width:100%;height:52px;padding:0 48px 0 44px;border:1px solid #cad7cd;border-radius:13px;background:#fbfcfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23697b6e' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 15px center;font:inherit;outline:0}.customer-search>input:focus{border-color:#4f9d63;box-shadow:0 0 0 3px rgba(79,157,99,.12);background-color:#fff}.customer-search>#clearCustomer{position:absolute;right:11px;top:9px;width:34px;height:34px;border:0;border-radius:9px;background:#edf2ee;color:#69776d;font-size:20px;cursor:pointer}.customer-results{position:absolute;z-index:30;left:0;right:0;top:58px;max-height:330px;overflow:auto;padding:7px;border:1px solid #dce5de;border-radius:13px;background:#fff;box-shadow:0 16px 40px rgba(28,56,37,.16)}.customer-results button{display:flex;align-items:center;gap:11px;width:100%;padding:11px;border:0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.customer-results button:hover{background:#eff7f1}.customer-results button>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eaf5ed}.customer-results button div b,.customer-results button div small{display:block}.customer-results button div b{color:#22362a}.customer-results button div small{margin-top:3px;color:#7e8a81}.customer-results>p{padding:15px;text-align:center;color:#7d8980}.selected-customer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;padding:13px 15px;border:1px solid #a8cfb1;border-radius:12px;background:#f0f8f2}.selected-customer div strong,.selected-customer div span,.selected-customer div small{display:block}.selected-customer div strong{color:#1e462b}.selected-customer div span{margin-top:2px;color:#6b796f;font-size:11px}.selected-customer div small{margin-top:5px;color:#357348;font-weight:800}.selected-customer>b{white-space:nowrap;color:#2f7b45;font-size:11px}.family-pets{margin-top:14px}.family-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:8px}.family-heading span{font-size:12px;font-weight:900;color:#405047}.family-heading small{color:#8a958d}.family-pets #petChoices{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.family-pets button{flex:0 0 165px;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;padding:10px;border:1px solid #dfe6e0;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.family-pets button>span{grid-row:1/3;font-size:21px}.family-pets button>b{color:#34483a}.family-pets button>small{overflow:hidden;color:#879188;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.family-pets button.active{border-color:#4d9d61;background:#eaf6ed;box-shadow:0 0 0 2px rgba(77,157,97,.1)}.debt-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:13px;padding:12px 14px;border:1px solid #f1c7a0;border-radius:11px;background:#fff6ed;color:#8c4d18}.debt-alert div span,.debt-alert div strong{display:block}.debt-alert div span{font-size:10px;font-weight:800;text-transform:uppercase}.debt-alert div strong{margin-top:2px;font-size:20px}.debt-alert small{max-width:58%;text-align:right;color:#9d673a}.credit-box{margin-top:15px;padding:14px;border:1px solid #e2c58d;border-radius:12px;background:#fffaf0}.credit-title{display:flex;justify-content:space-between;gap:10px}.credit-title span{font-weight:900;color:#70501c}.credit-title small{color:#9a815a}.credit-box .pos-field{margin-top:12px}.credit-money{width:100%;box-sizing:border-box;background:#fff}.credit-balance{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding-top:12px;border-top:1px dashed #dfc89d;color:#76571f}.credit-balance span{font-size:11px;font-weight:800}.credit-balance strong{font-size:20px}
.product-picker{position:relative;min-width:0}.product-search{padding-right:42px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23718476' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 13px center!important;padding-left:39px!important}.product-search.selected{border-color:#64a875!important;background-color:#f2faf4!important;color:#245b34!important;font-weight:800}.clear-product{position:absolute;right:6px;top:4px;width:33px;height:33px;border:0;border-radius:8px;background:#f0f3f1;color:#718078;font-size:18px;cursor:pointer}.product-results{position:absolute;z-index:25;left:0;right:0;top:48px;max-height:300px;overflow:auto;padding:7px;border:1px solid #d9e3db;border-radius:12px;background:#fff;box-shadow:0 16px 38px rgba(31,59,39,.18)}.product-results button{display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:10px;border:0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.product-results button:hover{background:#eff7f1}.product-results button>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eaf5ed;color:#34764a;font-weight:900}.product-results button div b,.product-results button div small{display:block}.product-results button div b{overflow:hidden;color:#263a2c;text-overflow:ellipsis;white-space:nowrap}.product-results button div small{margin-top:3px;color:#829087;font-size:9px}.product-results button>strong{color:#245d36;white-space:nowrap}.product-results>p{padding:14px;text-align:center;color:#7f8c83;font-size:12px}
@media(max-width:650px){.family-heading{display:block}.family-heading small{display:block;margin-top:3px}.debt-alert{align-items:flex-start;flex-direction:column}.debt-alert small{max-width:none;text-align:left}.sale-row>.product-picker{grid-column:1/-1}.product-results{position:fixed;left:12px;right:12px;top:18%;max-height:55vh}}
.credit-summary{display:flex;align-items:center;gap:18px;margin-bottom:18px;padding:20px 23px;border-radius:17px;background:linear-gradient(135deg,#173f28,#286c40);color:#fff;box-shadow:0 10px 25px rgba(26,74,43,.18)}.credit-summary span{font-size:12px;font-weight:800}.credit-summary strong{font-size:26px}.credit-summary small{margin-left:auto;opacity:.78}.credit-list{display:grid;gap:12px}.credit-list>article{display:grid;grid-template-columns:minmax(240px,1fr) 170px 160px;gap:18px;align-items:center;padding:17px 20px;border:1px solid #dfe6e1;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(37,60,44,.05)}.credit-owner{display:flex;align-items:center;gap:12px}.credit-owner>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf7ef}.credit-owner strong,.credit-owner small,.credit-amount span,.credit-amount strong,.credit-amount small{display:block}.credit-owner small,.credit-amount span,.credit-amount small{margin-top:2px;color:#839087;font-size:10px}.credit-amount{text-align:right}.credit-amount strong{color:#a65120;font-size:20px}.credit-list details{position:relative}.credit-list summary{padding:10px;border:1px solid #91bd9c;border-radius:10px;background:#f0f8f2;color:#317145;font-size:12px;font-weight:900;text-align:center;cursor:pointer;list-style:none}.credit-payment-form{position:absolute;z-index:20;right:0;top:45px;width:310px;padding:15px;border:1px solid #dce4de;border-radius:13px;background:#fff;box-shadow:0 16px 40px rgba(28,56,37,.18)}.credit-payment-form label{display:block;margin-bottom:9px;color:#526158;font-size:10px;font-weight:800}.credit-payment-form input,.credit-payment-form select{box-sizing:border-box;width:100%;margin-top:4px;padding:9px;border:1px solid #dbe3dd;border-radius:8px}.credit-payment-form button{width:100%}.empty-state{padding:50px;text-align:center}.empty-state>span{display:grid;place-items:center;width:52px;height:52px;margin:auto;border-radius:50%;background:#e9f7ed;color:#31824a;font-size:24px}
.catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.catalog-head h1{margin:4px 0;font-size:31px;color:#17261c}.catalog-head p{margin:0;color:#7c8880}.catalog-head-actions{display:flex;gap:9px}.catalog-head-actions form{margin:0}.catalog-new,.catalog-clean{height:43px;padding:0 16px;border:0;border-radius:11px;font-weight:900;cursor:pointer}.catalog-new{background:#17482b;color:#fff;box-shadow:0 7px 17px rgba(23,72,43,.18)}.catalog-clean{border:1px solid #efc48e;background:#fff9ef;color:#98611f}.catalog-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.catalog-stats article{display:flex;align-items:center;gap:12px;padding:15px 17px;border:1px solid #e0e7e2;border-radius:14px;background:#fff}.catalog-stats article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf5ed;color:#2d7243;font-size:17px;font-weight:900}.catalog-stats small,.catalog-stats strong{display:block}.catalog-stats small{color:#859088;font-size:10px;font-weight:800;text-transform:uppercase}.catalog-stats strong{margin-top:2px;color:#203328;font-size:21px}.catalog-stats article.warning>span{background:#fff0df;color:#b26a22}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border:1px solid #e0e7e2;border-bottom:0;border-radius:15px 15px 0 0;background:#fff}.catalog-toolbar>label{position:relative;flex:1;max-width:480px}.catalog-toolbar>label span{position:absolute;left:13px;top:8px;color:#758279;font-size:20px}.catalog-toolbar input{box-sizing:border-box;width:100%;height:41px;padding:0 13px 0 39px;border:1px solid #dce4de;border-radius:10px;background:#fafcfb;outline:0}.catalog-toolbar input:focus{border-color:#5ba36e;box-shadow:0 0 0 3px rgba(91,163,110,.1)}.catalog-filters{display:flex;gap:5px}.catalog-filters button{padding:9px 11px;border:0;border-radius:8px;background:#f2f5f3;color:#68756c;font-size:11px;font-weight:800;cursor:pointer}.catalog-filters button.active{background:#e5f3e9;color:#26703d}.catalog-table{overflow:auto;border:1px solid #e0e7e2;border-radius:0 0 15px 15px;background:#fff}.catalog-table table{width:100%;border-collapse:collapse}.catalog-table th{padding:12px 14px;background:#f7f9f7;color:#7b877f;font-size:9px;text-align:left;text-transform:uppercase;letter-spacing:.06em}.catalog-table td{padding:13px 14px;border-top:1px solid #edf0ee;color:#536159;font-size:12px}.catalog-name{display:flex;align-items:center;gap:10px;min-width:185px}.catalog-name>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf7ef;color:#327247}.catalog-name b,.catalog-name small{display:block}.catalog-name b{color:#24372b;font-size:13px}.catalog-name small{margin-top:2px;color:#89938c;font-size:9px}.catalog-name em{margin-left:5px;padding:2px 5px;border-radius:5px;background:#fff0df;color:#a46422;font-style:normal;font-weight:900}.type-badge,.stock-badge,.stock-na{display:inline-block;padding:5px 8px;border-radius:7px;font-size:9px;font-weight:900}.type-badge.producto{background:#e8f1ff;color:#35649b}.type-badge.servicio{background:#f0eaff;color:#6a45a0}.stock-badge{background:#eaf7ed;color:#2c7a42}.stock-badge.low{background:#fff0df;color:#a75f19}.stock-na{background:#f0f2f1;color:#858e88}.row-actions{display:flex;justify-content:flex-end;gap:5px}.row-actions form{margin:0}.edit-item,.delete-item{display:grid;place-items:center;width:33px;height:33px;padding:0;border:0;border-radius:9px;cursor:pointer}.edit-item{background:#e9f3ff;color:#30689f}.delete-item{background:#fbe9e8;color:#b74d47;font-size:18px}.catalog-empty{padding:35px;text-align:center;color:#7c8880}.catalog-modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:20px;background:rgba(17,35,23,.48);backdrop-filter:blur(3px)}.catalog-modal[hidden]{display:none}.catalog-dialog{width:min(650px,100%);max-height:90vh;overflow:auto;padding:22px;border-radius:18px;background:#fff;box-shadow:0 30px 80px rgba(13,37,21,.3)}.dialog-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:17px}.dialog-head h2{margin:3px 0}.dialog-head>button{width:36px;height:36px;border:0;border-radius:10px;background:#f0f3f1;color:#67756c;font-size:21px;cursor:pointer}.catalog-form{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.catalog-form label{color:#4f5f55;font-size:10px;font-weight:900}.catalog-form input,.catalog-form select{box-sizing:border-box;width:100%;margin-top:5px;padding:11px 12px;border:1px solid #d9e1db;border-radius:9px;background:#fbfcfb;outline:0}.catalog-form input:focus,.catalog-form select:focus{border-color:#58a06a;box-shadow:0 0 0 3px rgba(88,160,106,.1)}.catalog-form .wide{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:7px}.dialog-actions button{min-width:135px}
@media(max-width:760px){.credit-summary{align-items:flex-start;flex-direction:column;gap:5px}.credit-summary small{margin-left:0}.credit-list>article{grid-template-columns:1fr}.credit-amount{text-align:left}.credit-payment-form{position:static;width:auto;margin-top:9px}}
@media(max-width:850px){.catalog-head{align-items:flex-start;flex-direction:column}.catalog-head-actions{width:100%}.catalog-head-actions>*{flex:1}.catalog-head-actions button{width:100%}.catalog-stats{grid-template-columns:repeat(2,1fr)}.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-toolbar>label{max-width:none}.catalog-filters{overflow-x:auto}.catalog-filters button{white-space:nowrap}}
@media(max-width:520px){.catalog-stats{grid-template-columns:1fr 1fr}.catalog-stats article{padding:12px}.catalog-form{grid-template-columns:1fr}.catalog-form .wide{grid-column:auto}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}.catalog-head-actions{flex-direction:column}}
@media print{body *{visibility:hidden}.ticket80,.ticket80 *{visibility:visible}.ticket80{position:absolute;left:0;top:0;margin:0}.no-print{display:none!important}@page{size:80mm auto;margin:0}}
