/* Tami Gestão 3.1 — UX da operadora de caixa. Somente a tela PDV. */
.tg-root .tg-pos-workspace{--pos-ink:#301521;--pos-wine:#40182b;--pos-rose:#d989ae;--pos-line:#e7d8e1;--pos-surface:#fff;--pos-soft:#fcf7fa;border:0;background:transparent;box-shadow:none;padding:0;margin:0 0 20px}
.tg-root .tg-pos-workspace *{box-sizing:border-box}
.tg-root .tg-pos-workspace [hidden]{display:none!important}
.tg-root .tg-pos-header{background:linear-gradient(120deg,#421d31,#5b2d45);border-radius:20px;padding:20px 24px;margin-bottom:14px;color:#fff;box-shadow:0 12px 32px rgba(64,24,43,.13)}
.tg-root .tg-pos-header h2{font-size:26px;color:#fff;letter-spacing:-.025em;margin:1px 0 4px}
.tg-root .tg-pos-header .tg-muted,.tg-root .tg-pos-header .tg-eyebrow{color:#fce7f1}
.tg-root .tg-pos-header .tg-eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em}
.tg-root .tg-pos-header .tg-pos-state{background:#e6f5e9;color:#215735;border:0;font-size:11px;min-height:37px;display:inline-flex;align-items:center;gap:7px;letter-spacing:.015em}
.tg-root .tg-pos-state:before{content:'';height:7px;width:7px;background:#3c9a57;border-radius:50%}
.tg-root .tg-pos-cash-required{max-width:730px;margin:30px auto 24px;text-align:center;background:#fff;border:1px solid var(--pos-line);padding:40px 42px;border-radius:24px;box-shadow:0 20px 48px rgba(64,24,43,.07)}
.tg-root .tg-pos-cash-required .tg-pos-cash-illustration{width:62px;height:62px;border-radius:20px;background:#f8e4ee;color:#8d466a;display:flex;align-items:center;justify-content:center;font-size:33px;margin:0 auto 15px}
.tg-root .tg-pos-cash-required .tg-pos-cash-kicker{font-size:10px;font-weight:850;letter-spacing:.16em;color:#a35c80;margin:0 0 7px}
.tg-root .tg-pos-cash-required h3{font-size:29px;color:var(--pos-ink);letter-spacing:-.03em;margin-bottom:10px}
.tg-root .tg-pos-cash-required>p{color:#695360;max-width:490px;margin:0 auto 20px;line-height:1.65}
.tg-root .tg-pos-opening-steps{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin:12px auto 25px}
.tg-root .tg-pos-opening-steps span{display:inline-flex;align-items:center;gap:7px;background:#fbf3f7;border:1px solid #f1e3eb;padding:8px 10px;border-radius:50px;font-size:11px;font-weight:700;color:#654454}
.tg-root .tg-pos-opening-steps b{font-size:10px;color:#a35c80}
.tg-root .tg-pos-cash-required form{max-width:410px;margin:0 auto;text-align:left;padding:20px;background:#faf8f9;border-radius:14px;border:1px solid #ebdfe5}
.tg-root .tg-pos-cash-required form label{font-size:13px;color:#402738;font-weight:700}
.tg-root .tg-pos-cash-required form input{margin-top:8px;min-height:54px;border:1.5px solid #c59bae;background:#fff;color:#24141e;font-size:20px;font-weight:700;text-align:center}
.tg-root .tg-pos-cash-required form button{display:block;width:100%;margin-top:16px;background:#40182b;color:white;min-height:52px;font-size:14px;font-weight:800;border-radius:12px}
.tg-root .tg-pos-cash-strip{background:#fff;border:1px solid var(--pos-line);border-radius:14px;padding:12px 16px;color:#49313e;margin-bottom:9px;font-size:12px}
.tg-root .tg-pos-cash-strip strong{color:#2c1a23}
.tg-root .tg-pos-cash-buttons button{min-height:36px;margin:0;font-size:11px;font-weight:750;border-radius:9px;border-color:#e1c6d3;background:#fff;color:#58263f}
.tg-root .tg-pos-cash-panel{max-width:none;border:1px solid #e2cbd6;box-shadow:0 7px 20px rgba(64,24,43,.035)}
.tg-root .tg-pos-connection{border:0;border-radius:10px;display:inline-block;margin:1px 0 9px;font-size:11px;padding:7px 11px;background:#edf8f1;color:#23583a}
.tg-root .tg-pos-connection.tg-pos-offline{background:#fff0de;color:#71481d}
.tg-root .tg-pos-shortcuts{display:inline-block;vertical-align:middle;margin:0 0 9px 10px;font-size:11px;color:#71586a}
.tg-root .tg-pos-shortcuts summary{cursor:pointer;padding:7px 9px;font-weight:750;min-height:30px}
.tg-root .tg-pos-shortcuts .tg-pos-key-guide{position:absolute;max-width:min(700px,calc(100vw - 30px));background:#fff;z-index:17;box-shadow:0 10px 30px rgba(54,23,40,.18)}
.tg-root .tg-pos-form{margin-top:0}
.tg-root .tg-pos-stepper{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--pos-line);padding:10px 14px;border-radius:15px;margin-bottom:14px;box-shadow:0 2px 10px rgba(64,24,43,.025)}
.tg-root .tg-pos-step{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#806b76;padding:9px 13px;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer;min-height:41px;white-space:nowrap}
.tg-root .tg-pos-step span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f2ebef;color:#805f72;font-size:11px}
.tg-root .tg-pos-step.tg-pos-step-active{background:#faebf2;color:#4f1e37}
.tg-root .tg-pos-step.tg-pos-step-active span{background:#40182b;color:#fff}
.tg-root .tg-pos-step-line{flex:1;max-width:84px;min-width:8px;height:1px;background:#e9dae1}
.tg-root .tg-pos-layout{grid-template-columns:minmax(0,1.4fr) minmax(350px,.84fr);gap:16px;align-items:start}
.tg-root .tg-pos-left>div,.tg-root .tg-pos-checkout{background:#fff;border:1px solid var(--pos-line);border-radius:16px;padding:18px 20px;margin-bottom:13px;box-shadow:0 3px 16px rgba(64,24,43,.025)}
.tg-root .tg-pos-search{margin-bottom:13px!important}
.tg-root .tg-pos-section-top{margin-bottom:13px;align-items:center;gap:10px}
.tg-root .tg-pos-section-top h3{font-size:16px;line-height:1.4;color:#2d1723;letter-spacing:-.02em}
.tg-root .tg-pos-field-hint{font-size:11px;color:#866b7b;font-weight:700}
.tg-root .tg-pos-workspace .tg-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.tg-root input.tg-pos-search-input{min-height:60px;padding:14px 17px;border:2px solid #a36b89;border-radius:12px;background:#fff;color:#2b1822;font-size:16px;font-weight:700}
.tg-root input.tg-pos-search-input:focus{outline:3px solid rgba(217,137,174,.28);outline-offset:1px}
.tg-root input.tg-pos-search-input::placeholder{color:#826c7b;font-size:13px;font-weight:500}
.tg-root .tg-pos-results{position:absolute;top:100%;left:0;right:0;margin-top:-4px;max-height:370px;box-shadow:0 20px 30px rgba(50,19,37,.13);border:1px solid #cba7ba;border-radius:12px;background:#fff;z-index:22}
.tg-root .tg-pos-search-result[aria-selected="true"]{background:#fff0f6;border-color:#a46184;outline:1px solid #ae7390}
.tg-root button.tg-pos-search-result{min-height:68px;border:1px solid #e3d2db;transition:background-color .14s}
.tg-root button.tg-pos-search-result strong{font-size:13px;font-weight:750}
.tg-root button.tg-pos-search-result .tg-pos-result-price{font-size:15px;color:#4d1d36}
.tg-root .tg-pos-manual{padding-top:14px!important;padding-bottom:14px!important}
.tg-root .tg-pos-manual .tg-pos-section-top{margin-bottom:0}
.tg-root .tg-pos-manual .tg-pos-section-top h3{font-size:13px!important;color:#624b59}
.tg-root .tg-pos-manual-fields{margin-top:13px}
.tg-root .tg-pos-cart-wrap{min-height:190px}
.tg-root .tg-pos-cart-count{display:inline-block;padding:3px 9px;border-radius:8px;background:#f8ecf2;color:#8a4669;margin-left:8px;font-size:11px;font-weight:750;vertical-align:middle}
.tg-root .tg-pos-cart{min-width:0;table-layout:auto}
.tg-root .tg-pos-cart thead th{font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;color:#816576;background:#faf5f8}
.tg-root .tg-pos-cart tbody tr{transition:background-color .15s}
.tg-root .tg-pos-cart tbody tr:hover{background:#fffbfd}
.tg-root .tg-pos-cart td{padding:13px 9px;font-size:12px;font-weight:650}
.tg-root .tg-pos-cart td strong{font-size:12px;font-weight:770}
.tg-root .tg-pos-cart td small{font-size:10px;font-weight:450}
.tg-root .tg-pos-cart .tg-pos-quantity{display:inline-flex;align-items:center;border:1px solid #dcc4d1;border-radius:9px;overflow:hidden;min-width:110px;background:#fff}
.tg-root .tg-pos-cart .tg-pos-qty{border:0;border-left:1px solid #eee1e7;border-right:1px solid #eee1e7;min-height:34px;width:44px;min-width:44px;padding:3px;text-align:center;font-size:13px;font-weight:800;box-shadow:none;border-radius:0;-moz-appearance:textfield}
.tg-root .tg-pos-cart .tg-pos-qty::-webkit-inner-spin-button,.tg-root .tg-pos-cart .tg-pos-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.tg-root .tg-pos-cart .tg-pos-qty-btn{padding:0;min-width:33px;min-height:35px;border:0;background:#fff;color:#562b42;font-size:18px;font-weight:650;cursor:pointer}
.tg-root .tg-pos-cart .tg-pos-qty-btn:hover:not(:disabled){background:#fae6f0}
.tg-root .tg-pos-cart .tg-pos-qty-btn:disabled{opacity:.35}
.tg-root .tg-pos-cart .tg-pos-remove{font-size:18px;color:#92334f;line-height:1;min-height:36px;min-width:33px}
.tg-root .tg-pos-cart .tg-pos-empty{padding:35px 15px!important;border:1px dashed #edd5e1;background:#fdf9fb;border-radius:9px;color:#705665;font-weight:500}
.tg-root .tg-pos-customer .tg-pos-section-top{margin-bottom:7px}
.tg-root .tg-pos-optional{font-size:10px;font-weight:700;color:#8b7080;background:#f5f0f2;padding:4px 7px;border-radius:50px}
.tg-root .tg-pos-customer-chosen{padding:10px 12px;margin-bottom:11px}
.tg-root .tg-pos-customer label{font-size:11px;font-weight:700}
.tg-root .tg-pos-customer input{min-height:43px}
.tg-root .tg-pos-checkout{position:sticky;top:18px;background:#fff;padding:20px;border:1px solid #e2ccd8}
.tg-root .tg-pos-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:16px;border-bottom:1px dashed #e8d7df}
.tg-root .tg-pos-receipt-head h3{font-size:19px;margin:0;color:var(--pos-ink)}
.tg-root .tg-pos-receipt-kicker{font-size:10px;font-weight:850;letter-spacing:.12em;color:#aa6e8c;margin:0 0 4px}
.tg-root .tg-pos-receipt-counter{color:#83536d;background:#fcf0f5;border-radius:8px;padding:7px 10px;font-weight:700;font-size:10px}
.tg-root .tg-pos-math{padding:16px 0 13px;border-color:#eee0e6}
.tg-root .tg-pos-math>div{font-size:13px;line-height:1.65;color:#6f5865}
.tg-root .tg-pos-math span{color:#412637;font-size:13px}
.tg-root .tg-pos-total{background:#40182b;color:#fff;padding:18px;border-radius:13px;margin:8px 0 14px;gap:10px;font-size:12px}
.tg-root .tg-pos-total strong{font-size:clamp(22px,2.1vw,30px);letter-spacing:-.04em}
.tg-root .tg-pos-products-actions{display:grid;gap:9px}
.tg-root .tg-pos-products-actions .tg-button{width:100%;min-height:52px;border-radius:11px;font-size:13px;margin:0;font-weight:800}
.tg-root .tg-pos-next-step{display:flex;align-items:center;justify-content:center;gap:12px;background:#d989ae;color:#301521;border:0}
.tg-root .tg-pos-next-step span{font-size:19px}
.tg-root .tg-pos-products-actions .tg-pos-quick-save{min-height:40px;background:#fff;font-size:11px;border:1px solid #d4afc2;color:#66344f}
.tg-root .tg-pos-products-actions .tg-pos-help{text-align:center;margin:0}
.tg-root .tg-pos-workspace[data-tg-step="payment"] .tg-pos-products-actions{display:none}
.tg-root .tg-pos-payment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 15px}
.tg-root .tg-pos-payment-heading h3{font-size:16px;margin:0}
.tg-root .tg-pos-payment-heading .tg-pos-back{min-height:35px;padding:6px 9px;border-radius:8px;font-size:11px;font-weight:750;margin:0}
.tg-root .tg-pos-discount{margin:0 0 16px;background:#fff;border:1px solid #ecdae3}
.tg-root .tg-pos-discount h3{font-size:13px;margin:0 0 10px;color:#482e3d}
.tg-root .tg-pos-quick-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 17px}
.tg-root .tg-pos-quick-methods button{min-height:51px;border:1px solid #d9bdcc;border-radius:10px;font-size:13px;background:#fff;transition:background-color .15s;font-weight:800}
.tg-root .tg-pos-quick-methods button:hover:not(:disabled){background:#fceaf3}
.tg-root .tg-pos-payment-row{background:#fff;border-color:#ecd9e3}
.tg-root .tg-pos-save-main{min-height:53px;border-radius:11px;font-weight:850}
.tg-root .tg-pos-finalize{border-radius:15px;background:#fff;border:1px solid #e4cbd8;padding:23px;scroll-margin-top:22px}
.tg-root .tg-pos-local-tools{margin:14px 0;padding:16px;background:#fff;border:1px solid #ece0e7;border-radius:13px}
.tg-root .tg-pos-local-tools h3{font-size:13px}
.tg-root .tg-pos-local-tools .tg-muted{font-size:11px}
.tg-root .tg-pos-workspace button:focus-visible,.tg-root .tg-pos-workspace input:focus-visible,.tg-root .tg-pos-workspace select:focus-visible{outline:3px solid #b75a8b;outline-offset:2px}
@media(max-width:1180px){.tg-root .tg-pos-layout{grid-template-columns:minmax(0,1fr) minmax(310px,.8fr)}.tg-root .tg-pos-cart{min-width:450px}}
@media(max-width:940px){.tg-root .tg-pos-layout{grid-template-columns:1fr}.tg-root .tg-pos-checkout{position:static}.tg-root .tg-pos-cart{min-width:460px}.tg-root .tg-pos-right{grid-row:2}}
@media(max-width:650px){
.tg-root .tg-pos-header{padding:17px;border-radius:15px}.tg-root .tg-pos-header h2{font-size:22px}
.tg-root .tg-pos-stepper{gap:3px;padding:7px 5px;border-radius:11px}.tg-root .tg-pos-step{font-size:10px;padding:7px 5px;gap:4px}.tg-root .tg-pos-step span{width:19px;height:19px;border-radius:6px;font-size:10px}.tg-root .tg-pos-step-line{min-width:3px}
.tg-root .tg-pos-left>div,.tg-root .tg-pos-checkout{padding:15px;border-radius:13px}
.tg-root .tg-pos-cash-required{padding:25px 16px;margin:12px auto;border-radius:16px}.tg-root .tg-pos-cash-required h3{font-size:22px}.tg-root .tg-pos-cash-required form{padding:14px}
.tg-root .tg-pos-quick-methods{grid-template-columns:repeat(2,1fr)}.tg-root .tg-pos-cart{min-width:490px}
.tg-root .tg-pos-search-result{display:grid;grid-template-columns:minmax(0,1fr) 90px}.tg-root .tg-pos-search-result .tg-pos-result-price{grid-column:2}
.tg-root .tg-pos-connection{font-size:10px}.tg-root .tg-pos-shortcuts{margin-left:0}.tg-root .tg-pos-cash-buttons button{font-size:10px}
}
.tg-root .tg-pos-search-result:disabled{opacity:.72;cursor:not-allowed;background:#f8f6f7;color:#6b5d66;border-style:dashed}
.tg-root .tg-pos-search-result:disabled .tg-pos-result-price{color:#806e77}
.tg-root .tg-pos-change-calculator{margin:10px 0 17px;padding:13px;border-radius:11px;background:#f6fbf7;border:1px solid #c6dfcc}
.tg-root .tg-pos-change-calculator label{margin:0 0 7px;font-size:11px;font-weight:800;color:#365542}
.tg-root .tg-pos-change-calculator input{min-height:43px;background:#fff}
.tg-root .tg-pos-change-output{margin-top:9px;color:#255c3c;font-weight:850;font-size:13px}


/* Tami Gestão 3.2 — PDV em tela integral, sem navegação administrativa durante a venda. */
.tg-root .tg-pos-workspace{height:calc(100dvh - 28px);min-height:520px;display:flex;flex-direction:column;overflow:hidden;margin:0;padding:10px 14px;background:#fbf8fa;border-radius:0}
.tg-root .tg-pos-header{display:none!important}
.tg-root .tg-pos-cash-strip{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;margin:0 0 8px;border-radius:10px}
.tg-root .tg-pos-connection,.tg-root .tg-pos-shortcuts{display:none!important}
.tg-root .tg-pos-stepper{display:none!important}
.tg-root .tg-pos-form{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.tg-root .tg-pos-layout{flex:1;min-height:0;height:100%;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,.72fr);gap:12px;align-items:stretch;overflow:hidden}
.tg-root .tg-pos-left{min-width:0;min-height:0;display:flex;flex-direction:column;gap:9px;overflow:hidden}
.tg-root .tg-pos-search{position:relative;flex:0 0 auto;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.tg-root .tg-pos-searchbar{display:flex;align-items:stretch;gap:8px;position:relative}
.tg-root .tg-pos-search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:25px;color:#78566a;pointer-events:none;z-index:1}
.tg-root input.tg-pos-search-input{padding-left:48px;min-height:54px;font-size:16px;border-radius:12px;flex:1}
.tg-root .tg-pos-manual-toggle{flex:0 0 auto;min-height:54px;padding:0 17px;border-radius:12px;background:#40182b;color:#fff;border:0;font-weight:800;white-space:nowrap}
.tg-root .tg-pos-results{top:calc(100% + 5px);margin:0;max-height:min(48dvh,420px);overflow:auto}
.tg-root .tg-pos-manual-popover{position:absolute;z-index:35;top:calc(100% + 7px);right:0;width:min(390px,100%);padding:17px;background:#fff;border:1px solid #d9bdcc;border-radius:14px;box-shadow:0 18px 45px rgba(48,21,33,.2)}
.tg-root .tg-pos-manual-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#301521}
.tg-root .tg-pos-manual-title strong{font-size:15px}
.tg-root .tg-pos-manual-close{border:0;background:#f8edf2;border-radius:8px;width:32px;height:32px;font-size:21px;color:#40182b;cursor:pointer}
.tg-root .tg-pos-manual-popover>p{font-size:11px;color:#745b69;margin:0 0 10px}
.tg-root .tg-pos-manual-popover label{display:block;font-size:12px;font-weight:750;margin:9px 0;color:#402738}
.tg-root .tg-pos-manual-popover input{margin-top:5px;min-height:43px}
.tg-root .tg-pos-manual-add{width:100%;margin-top:10px;min-height:44px}
.tg-root .tg-pos-cart-wrap{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;margin:0!important}
.tg-root .tg-pos-cart-wrap .tg-pos-section-top{flex:0 0 auto;margin-bottom:7px}
.tg-root .tg-pos-cart-wrap .tg-table-scroll{flex:1 1 auto;min-height:0;overflow:auto}
.tg-root .tg-pos-cart{min-width:0}
.tg-root .tg-pos-cart thead{position:sticky;top:0;z-index:2}
.tg-root .tg-pos-cart td{padding:9px 8px}
.tg-root .tg-pos-customer{flex:0 0 auto;margin:8px 0;padding:12px;background:#fff;border:1px solid #ead7e1;border-radius:11px}
.tg-root .tg-pos-right{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.tg-root .tg-pos-checkout{position:static;top:auto;flex:1;min-height:0;overflow:auto;margin:0;padding:16px;border-radius:14px}
.tg-root .tg-pos-receipt-head{padding-bottom:9px}
.tg-root .tg-pos-math{padding:9px 0}
.tg-root .tg-pos-total{padding:13px;margin:5px 0 10px}
.tg-root .tg-pos-products-actions .tg-button{min-height:47px}
.tg-root .tg-pos-payment-stage{padding-top:2px}
.tg-root .tg-pos-payment-heading{margin:5px 0 10px}
.tg-root .tg-pos-discount{padding:10px;margin:0 0 10px}
.tg-root .tg-pos-discount h3{margin-bottom:6px}
.tg-root .tg-pos-payment-stage>h4{margin:7px 0;font-size:13px}
.tg-root .tg-pos-payment-stage>.tg-muted,.tg-root .tg-pos-payment-stage>.tg-pos-help{font-size:10px;line-height:1.4;margin:5px 0}
.tg-root .tg-pos-quick-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.tg-root .tg-pos-quick-methods button{min-height:42px;font-size:12px}
.tg-root .tg-pos-payment-row{padding:8px;gap:7px}
.tg-root .tg-pos-save-main{width:100%;min-height:47px;margin-top:8px}
.tg-root .tg-pos-local-tools,.tg-root .tg-pos-admin-settings{display:none!important}
.tg-root .tg-pos-new-customer{position:fixed;z-index:60;inset:0;display:none;overflow:auto;background:#fff;padding:24px;max-width:560px;margin:auto;box-shadow:0 0 0 100vmax rgba(28,13,20,.48)}
.tg-root .tg-pos-new-customer:not([hidden]){display:block}
.tg-root .tg-pos-cash-panel{position:fixed;z-index:61;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 28px));max-height:85dvh;overflow:auto;background:#fff;padding:22px;border-radius:16px;box-shadow:0 0 0 100vmax rgba(28,13,20,.48)}
.tg-root .tg-pos-cash-required{margin:auto;max-height:calc(100dvh - 80px);overflow:auto}
.tg-app-pos{display:block!important;min-height:100dvh!important}
.tg-app-pos>.tg-sidebar,.tg-app-pos>.tg-mobile-scrim{display:none!important}
.tg-app-pos>.tg-main{width:100%!important;max-width:none!important;height:100dvh;min-height:100dvh;overflow:hidden;padding:0!important;margin:0!important}
.tg-app-pos .tg-main-head,.tg-app-pos .tg-notice{display:none!important}
.tg-app-pos .tg-pos-workspace{height:100dvh;min-height:0}
@media(max-width:850px){
 .tg-root .tg-pos-workspace{height:100dvh;padding:8px}
 .tg-root .tg-pos-layout{grid-template-columns:1fr;grid-template-rows:minmax(190px,1fr) auto;gap:8px}
 .tg-root .tg-pos-left{min-height:0}
 .tg-root .tg-pos-right{min-height:210px;max-height:42dvh}
 .tg-root .tg-pos-checkout{padding:11px}
 .tg-root .tg-pos-cart{min-width:0}
 .tg-root .tg-pos-cart th:nth-child(2),.tg-root .tg-pos-cart td:nth-child(2){display:none}
 .tg-root .tg-pos-manual-toggle{font-size:11px;padding:0 10px}
}
@media(max-width:520px){
 .tg-root .tg-pos-searchbar{gap:5px}
 .tg-root input.tg-pos-search-input{min-width:0;padding-left:36px;font-size:14px}
 .tg-root .tg-pos-search-icon{left:10px}
 .tg-root .tg-pos-manual-toggle{max-width:116px;white-space:normal;line-height:1.15;font-size:10px}
 .tg-root .tg-pos-cart td{font-size:11px;padding:7px 4px}
 .tg-root .tg-pos-cart .tg-pos-quantity{min-width:88px}
 .tg-root .tg-pos-cart .tg-pos-qty{width:34px;min-width:34px}
 .tg-root .tg-pos-cart .tg-pos-qty-btn{min-width:26px}
}

.tg-root .tg-pos-finalize{position:fixed;z-index:70;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 28px));max-height:86dvh;overflow:auto;margin:0;background:#fff;box-shadow:0 0 0 100vmax rgba(28,13,20,.5),0 20px 70px rgba(28,13,20,.24)}
body.tami-gestao-standalone:has(.tg-app-pos){overflow:hidden!important}
