.pdv-app{max-width:1440px;margin:0 auto;padding:24px;color:#172033}
.pdv-header,.pdv-register-head,.pdv-page-head,.pdv-card-title,.pdv-payment-title,.pdv-product-actions,.pdv-head-actions,.pdv-toolbar,.pdv-cash-start{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pdv-header{margin-bottom:20px;padding:24px 28px;border-radius:20px;background:linear-gradient(125deg,#0b4f8a,#1379c5);color:#fff;box-shadow:0 12px 30px #174c7626}
.pdv-header h2,.pdv-header p,.pdv-header .pdv-kicker{margin:0}
.pdv-header h2{font-size:clamp(24px,4vw,34px);margin:4px 0}
.pdv-header p{opacity:.82}
.pdv-kicker{display:block;color:#718096;font-size:11px;font-weight:800;letter-spacing:.13em}
.pdv-header .pdv-kicker{color:#c7e4ff}
.pdv-store-picker{display:grid;gap:6px;min-width:190px;font-size:12px;font-weight:700}
.pdv-store-picker select{border:1px solid #ffffff65;border-radius:10px;padding:10px;background:#ffffff;color:#172033;font-size:14px}
.pdv-customer-select{margin-bottom:16px}
.pdv-customer-select label{display:grid;grid-template-columns:180px minmax(180px,1fr);align-items:center;gap:8px;color:#536273;font-size:12px;font-weight:700}
.pdv-customer-select select{min-width:0;border:1px solid #d9e2ec;border-radius:9px;padding:10px;background:#fff;color:#172033;font:inherit;font-size:14px}
.pdv-customer-select small{grid-column:2;color:#728096;font-weight:500}
.pdv-customer-active{display:flex!important;align-items:center;gap:8px}
.pdv-report-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.pdv-report-cards .pdv-card{display:grid;gap:8px}
.pdv-report-cards span{color:#65758a;font-size:12px;font-weight:700}
.pdv-report-cards strong{font-size:clamp(18px,2.2vw,25px);color:#0b69b4}
.pdv-tabs{display:flex;gap:8px;overflow:auto;margin:0 0 18px;padding:4px}
.pdv-tabs button{border:1px solid #dce5ef;border-radius:999px;background:#fff;color:#42526b;padding:10px 18px;font-weight:700;white-space:nowrap;cursor:pointer}
.pdv-tabs button.active{background:#0b69b4;border-color:#0b69b4;color:#fff;box-shadow:0 5px 14px #0b69b433}
.pdv-notice{margin:0 0 14px;border:1px solid #a7e2c2;border-radius:12px;padding:12px 16px;background:#effcf4;color:#146c3a;font-weight:650}
.pdv-notice.is-error{border-color:#f2b5b5;background:#fff4f4;color:#9e2525}
.pdv-card{min-width:0;border:1px solid #e1e8f0;border-radius:16px;background:#fff;padding:20px;box-shadow:0 6px 20px #19314d0b}
.pdv-card h3,.pdv-card h4{margin:3px 0 0}
.pdv-open-card{max-width:600px;margin:40px auto;padding:30px}
.pdv-open-card>p,.pdv-page-head p{color:#64748b}
.pdv-form,.pdv-product-form{display:grid;gap:14px}
.pdv-form{grid-template-columns:1fr auto;align-items:end}
.pdv-form label,.pdv-product-form label,.pdv-sale-summary label{display:grid;gap:6px;color:#536273;font-size:12px;font-weight:700}
.pdv-form input,.pdv-form select,.pdv-product-form input,.pdv-sale-summary input,.pdv-toolbar input,.pdv-search-row input,.pdv-cart-row input,.pdv-payment-row input,.pdv-payment-row select,.pdv-toolbar select{width:100%;min-width:0;border:1px solid #d9e2ec;border-radius:9px;padding:10px 11px;background:#fff;color:#172033;font:inherit;font-size:14px}
.pdv-btn{border:0;border-radius:9px;padding:10px 14px;font:inherit;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}
.pdv-btn:disabled{opacity:.45;cursor:not-allowed}
.pdv-primary{background:#0874c9;color:#fff}
.pdv-light{background:#edf3f8;color:#31465a}
.pdv-danger{background:#fff0f0;color:#a52a2a}
.pdv-register-head{margin:0 0 16px;padding:18px 22px;border:1px solid #cfe7d8;border-radius:16px;background:#f3fbf5}
.pdv-register-head h3{margin:5px 0;font-size:22px}
.pdv-register-head small{color:#607166}
.pdv-live{display:inline-flex;align-items:center;gap:7px;color:#177442;font-size:11px;font-weight:850;letter-spacing:.08em}
.pdv-live i{width:8px;height:8px;border-radius:50%;background:#20b261;box-shadow:0 0 0 4px #20b26120}
.pdv-cash-start{flex-wrap:wrap;justify-content:flex-end}
.pdv-cash-start span{font-size:12px;color:#607166}
.pdv-cash-start strong{font-size:17px}
.pdv-checkout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.85fr);gap:16px;align-items:start}
.pdv-card-title{margin-bottom:15px}
.pdv-search-row{display:flex;gap:8px}
.pdv-search-row input{flex:1}
.pdv-scan-btn{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid #d9e2ec;border-radius:9px;background:#f7fafc;color:#31465a;font-size:14px;cursor:pointer}
.pdv-results{display:grid;gap:6px;margin-top:12px;max-height:420px;overflow:auto}
.pdv-result{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid #e7edf4;border-radius:10px;padding:11px 12px;background:#fff;color:#243447;cursor:pointer}
.pdv-result:hover{border-color:#84bbe3;background:#f6fbff}
.pdv-result span{display:grid;gap:3px;min-width:0}
.pdv-result strong{overflow:hidden;text-overflow:ellipsis}
.pdv-result small,.pdv-table small{display:block;color:#728096;font-size:11px}
.pdv-result b{color:#0874c9;white-space:nowrap}
.pdv-helper,.pdv-empty-small{padding:18px;color:#748195;font-size:13px;text-align:center}
.pdv-cart-empty{display:grid;place-items:center;gap:8px;padding:35px 10px;color:#728096;text-align:center}
.pdv-cart-empty:first-line{font-size:25px}
.pdv-cart-empty strong{color:#34445a}
.pdv-cart-table{overflow:auto}
.pdv-cart-labels,.pdv-cart-row{display:grid;grid-template-columns:minmax(150px,1.8fr) 70px 95px 80px 90px 30px;gap:8px;align-items:center}
.pdv-cart-labels{padding:0 5px 8px;color:#718096;font-size:10px;font-weight:800;text-transform:uppercase}
.pdv-cart-row{padding:8px 4px;border-top:1px solid #edf1f5}
.pdv-cart-row input{padding:8px;font-size:13px}
.pdv-cart-row>strong{font-size:13px;text-align:right}
.pdv-cart-name{min-width:0}
.pdv-cart-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.pdv-cart-name small{display:block;color:#78869a;font-size:10px}
.pdv-icon-btn{width:28px;height:28px;border:0;border-radius:7px;background:#fff0f0;color:#a52a2a;font-size:20px;line-height:1;cursor:pointer}
.pdv-sale-summary{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:end;margin-top:16px;padding:14px 0;border-top:1px solid #e8edf2}
.pdv-sale-summary input{max-width:110px}
.pdv-sale-summary>div{display:grid;gap:3px;color:#68788b;font-size:12px;text-align:right}
.pdv-sale-summary>div b{color:#27374b}
.pdv-sale-summary .pdv-grand-total{padding-left:12px;border-left:1px solid #e3eaf1}
.pdv-grand-total strong{font-size:20px;color:#0874c9}
.pdv-payment-title{margin:10px 0}
.pdv-payment-title h4{font-size:14px}
.pdv-payments{display:grid;gap:7px}
.pdv-payment-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,.8fr) minmax(100px,.8fr) 30px;gap:8px;align-items:center}
.pdv-payment-row select,.pdv-payment-row input{padding:8px;font-size:13px}
.pdv-payment-spacer{min-height:1px}
.pdv-payment-foot{display:flex;justify-content:space-between;gap:10px;margin:12px 0;color:#536273;font-size:12px}
.pdv-payment-foot b{color:#172033}
.pdv-method-totals{margin-bottom:10px;color:#77869a}
.pdv-finish{width:100%;padding:14px;font-size:15px}
.pdv-page-head{margin:4px 0 16px}
.pdv-page-head h3{margin:4px 0;font-size:24px}
.pdv-page-head p{margin:4px 0 0}
.pdv-head-actions{flex-wrap:wrap}
.pdv-product-form{grid-template-columns:repeat(3,minmax(140px,1fr));align-items:end}
.pdv-product-actions{grid-column:1/-1;justify-content:flex-start}
.pdv-toolbar{margin-bottom:12px}
.pdv-toolbar input{max-width:420px}
.pdv-toolbar span{color:#738197;font-size:12px}
.pdv-table-wrap{width:100%;overflow:auto}
.pdv-table{width:100%;border-collapse:collapse;font-size:13px}
.pdv-table th,.pdv-table td{padding:11px 10px;border-bottom:1px solid #e9eef4;text-align:left;vertical-align:middle}
.pdv-table th{color:#637389;font-size:10px;text-transform:uppercase;white-space:nowrap}
.pdv-table td small{margin-top:3px}
.pdv-table tr[hidden]{display:none}
.pdv-status{display:inline-block;border-radius:999px;padding:4px 8px;background:#e8f8ee;color:#177442;font-size:10px;font-weight:800}
.pdv-status.is-cancelled{background:#fff0f0;color:#a52a2a}
.pdv-reconcile-list{display:grid;gap:10px;margin:4px 0 20px}
.pdv-reconcile-list>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #edf1f5}
.pdv-reconcile-list .pdv-grand-total{font-weight:750}
.pdv-reconcile-list .pdv-grand-total strong{color:#0874c9;font-size:19px}
.pdv-close-card{max-width:760px}
.pdv-close-card .pdv-form{grid-template-columns:1fr}
.pdv-empty{margin:40px auto;padding:35px;max-width:650px;border:1px dashed #cbd6e2;border-radius:16px;background:#fff;text-align:center;color:#56677d}
.pdv-error{color:#982f2f}
@media(max-width:980px){.pdv-checkout-grid{grid-template-columns:1fr}.pdv-catalog{order:1}.pdv-cart{order:2}.pdv-results{max-height:260px}}
@media(max-width:680px){.pdv-app{padding:12px}.pdv-header{align-items:flex-start;flex-direction:column;padding:19px;border-radius:15px}.pdv-store-picker{width:100%}.pdv-register-head{align-items:flex-start;flex-direction:column}.pdv-cash-start{justify-content:flex-start}.pdv-card{padding:14px}.pdv-form{grid-template-columns:1fr}.pdv-page-head{align-items:flex-start;flex-direction:column}.pdv-product-form{grid-template-columns:1fr 1fr}.pdv-product-form label:first-child{grid-column:1/-1}.pdv-customer-select label{grid-template-columns:1fr}.pdv-customer-select small{grid-column:1}.pdv-report-cards{grid-template-columns:1fr 1fr}.pdv-cart-labels{display:none}.pdv-cart-row{grid-template-columns:minmax(120px,1fr) 65px 80px 70px 75px 28px;gap:5px;min-width:500px}.pdv-cart-table{padding-bottom:4px}.pdv-sale-summary{grid-template-columns:1fr 1fr}.pdv-sale-summary label{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center}.pdv-sale-summary input{max-width:140px}.pdv-payment-row{grid-template-columns:minmax(110px,1fr) minmax(85px,.8fr) minmax(85px,.8fr) 28px;gap:5px}.pdv-payment-foot{font-size:11px}.pdv-toolbar{align-items:stretch;flex-direction:column}.pdv-toolbar input{max-width:none}.pdv-table{min-width:740px}.pdv-head-actions{width:100%}}
@media print{body *{visibility:hidden!important}.pdv-receipt-print,.pdv-receipt-print *{visibility:visible!important}.pdv-receipt-print{position:absolute;left:0;top:0;width:100%}}

.pdv-pos-mode{background:#0b1220}
.pdv-pos-mode .pdv-app{color:#e5edf8}
.pdv-pos-mode .pdv-header{border:1px solid #26354a;background:linear-gradient(125deg,#111a2b,#172b40);box-shadow:0 18px 45px #0005}
.pdv-pos-mode .pdv-kicker{color:#93a6c1}
.pdv-pos-mode .pdv-header .pdv-kicker{color:#8fc9fa}
.pdv-pos-mode .pdv-tabs button{border-color:#26354a;background:#111b2c;color:#c4d2e5}
.pdv-pos-mode .pdv-tabs button.active{border-color:#18b987;background:#087f68;color:#fff;box-shadow:0 5px 16px #10b98130}
.pdv-pos-mode .pdv-tabs kbd{border-color:#35475e;background:#19263a;color:#a8bad2}
.pdv-pos-mode .pdv-shortcut-hint{color:#92a3bb}
.pdv-pos-mode .pdv-card{border-color:#26354a;background:#121d2e;color:#e5edf8;box-shadow:0 12px 32px #0003}
.pdv-pos-mode .pdv-card h3,.pdv-pos-mode .pdv-card h4{color:#edf4fc}
.pdv-pos-mode .pdv-customer-select label,.pdv-pos-mode .pdv-form label{color:#aab9cc}
.pdv-pos-mode .pdv-customer-select select,.pdv-pos-mode .pdv-form input,.pdv-pos-mode .pdv-form select,.pdv-pos-mode .pdv-sale-summary input,.pdv-pos-mode .pdv-search-row input,.pdv-pos-mode .pdv-cart-row input,.pdv-pos-mode .pdv-payment-row input,.pdv-pos-mode .pdv-payment-row select{border-color:#34445a;background:#0d1727;color:#e5edf8}
.pdv-pos-mode .pdv-register-head{border-color:#145b4c;background:#102821}
.pdv-pos-mode .pdv-register-head small,.pdv-pos-mode .pdv-cash-start span{color:#96b9ac}
.pdv-pos-mode .pdv-live{color:#55d49c}
.pdv-pos-mode .pdv-btn.pdv-light{background:#233248;color:#d9e7f7}
.pdv-pos-mode .pdv-btn.pdv-primary{background:#0c9b73;color:#fff}
.pdv-pos-mode .pdv-scan-btn{border-color:#167b66;background:#0d342d;color:#78edc0}
.pdv-pos-mode .pdv-cart-labels{color:#93a6c1}
.pdv-pos-mode .pdv-cart-row{border-color:#26354a}
.pdv-pos-mode .pdv-cart-name small,.pdv-pos-mode .pdv-result small,.pdv-pos-mode .pdv-table small{color:#8fa1ba}
.pdv-pos-mode .pdv-cart-empty,.pdv-pos-mode .pdv-helper,.pdv-pos-mode .pdv-empty-small{color:#91a2ba}
.pdv-pos-mode .pdv-cart-empty strong{color:#d8e5f4}
.pdv-pos-mode .pdv-sale-summary{border-color:#26354a}
.pdv-pos-mode .pdv-sale-summary>div{color:#93a6c1}
.pdv-pos-mode .pdv-sale-summary>div b,.pdv-pos-mode .pdv-payment-foot b{color:#e5edf8}
.pdv-pos-mode .pdv-grand-total strong{color:#55d49c}
.pdv-pos-mode .pdv-payment-foot,.pdv-pos-mode .pdv-method-totals{color:#9eafc5}
.pdv-pos-mode .pdv-payment-title h4{color:#dce8f6}
.pdv-pos-mode .pdv-payment-row .pdv-icon-btn,.pdv-pos-mode .pdv-cart-row .pdv-icon-btn{background:#3a232b;color:#ff9da7}
.pdv-pos-mode .pdv-result{border-color:#293a50;background:#162337;color:#e5edf8}
.pdv-pos-mode .pdv-result:hover{border-color:#11876d;background:#18342f}
.pdv-pos-mode .pdv-result b{color:#55d49c}
.pdv-pos-mode .pdv-results{max-height:min(34vh,330px)}
.pdv-scan-stage{display:flex;align-items:center;gap:13px;min-height:83px;margin-top:14px;padding:14px;border:1px solid #26354a;border-radius:13px;background:linear-gradient(110deg,#142137,#102a2a)}
.pdv-scan-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#0c8064;color:#fff;font-size:23px;font-weight:800}
.pdv-scan-stage div{display:grid;gap:4px;min-width:0;flex:1}
.pdv-scan-stage small{color:#69d8ad;font-size:9px;font-weight:850;letter-spacing:.1em}
.pdv-scan-stage strong,.pdv-scan-stage span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdv-scan-stage strong{color:#edf4fc;font-size:13px}
.pdv-scan-stage div span{color:#9aabc1;font-size:11px}
.pdv-scan-stage>b{color:#71e4b7;white-space:nowrap}
.pdv-pos-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.pdv-pos-shortcuts span{border:1px solid #2b3c52;border-radius:6px;padding:4px 7px;background:#101b2c;color:#a7b9d1;font-size:10px;font-weight:700}
.pdv-scanner-backdrop{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:18px;background:#030914d9}
.pdv-scanner-dialog{width:min(100%,520px);padding:20px;border:1px solid #34445a;border-radius:18px;background:#111c2c;color:#e5edf8;box-shadow:0 24px 80px #0009}
.pdv-scanner-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.pdv-scanner-head h3{margin:5px 0 0;font-size:18px}
.pdv-scanner-video{position:relative;overflow:hidden;aspect-ratio:4/3;border-radius:13px;background:#03070c}
.pdv-scanner-video video{width:100%;height:100%;object-fit:cover}
.pdv-scanner-frame{position:absolute;left:12%;top:34%;width:76%;height:32%;border:2px solid #54e6b2;border-radius:9px;box-shadow:0 0 0 999px #0003}
.pdv-scanner-dialog>p{color:#adbbce;font-size:13px}
.pdv-scanner-cancel{width:100%}
@media(max-width:680px){
  .pdv-pos-mode .pdv-app{padding:10px}
  .pdv-pos-mode .pdv-header{padding:17px}
  .pdv-pos-mode .pdv-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .pdv-pos-mode .pdv-search-row input{grid-column:1/-1}
  .pdv-pos-mode .pdv-scan-btn{padding:0 10px}
  .pdv-pos-mode .pdv-cart-table{overflow:visible}
  .pdv-pos-mode .pdv-cart-row{grid-template-columns:repeat(3,minmax(0,1fr)) 32px;gap:7px;min-width:0;padding:12px 2px}
  .pdv-pos-mode .pdv-cart-name{grid-column:1/-1}
  .pdv-pos-mode .pdv-cart-row input{min-width:0;padding:9px 5px;text-align:center}
  .pdv-pos-mode .pdv-cart-row>strong{grid-column:1/4;grid-row:3;text-align:left}
  .pdv-pos-mode .pdv-cart-row>.pdv-icon-btn{grid-column:4;grid-row:3;justify-self:end}
  .pdv-pos-mode .pdv-payment-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 32px;gap:7px}
  .pdv-pos-mode .pdv-payment-row select{grid-column:1;grid-row:1}
  .pdv-pos-mode .pdv-payment-row input[data-field="amount"]{grid-column:2;grid-row:1}
  .pdv-pos-mode .pdv-payment-row input[data-field="received"]{grid-column:1/3;grid-row:2}
  .pdv-pos-mode .pdv-payment-row .pdv-payment-spacer{display:none}
  .pdv-pos-mode .pdv-payment-row>.pdv-icon-btn{grid-column:3;grid-row:1/3;align-self:center}
  .pdv-pos-mode .pdv-sale-summary{gap:9px}
  .pdv-pos-mode .pdv-grand-total strong{font-size:19px}
  .pdv-pos-mode .pdv-payment-foot{align-items:flex-start;flex-direction:column}
  .pdv-scanner-dialog{padding:15px}
}

/* Caixa de venda inspirado na referência visual enviada pelo usuário. */
.pdv-register-active{background:#080d17}
.pdv-register-active .pdv-app{display:flex;min-height:100vh;max-width:none;flex-direction:column;gap:12px;padding:0;background:#080d17;color:#f5f7fb}
.pdv-register-active .pdv-header,.pdv-register-active .pdv-tabs,.pdv-register-active .pdv-shortcut-hint{display:none}
.pdv-register-active .pdv-pos-header{display:grid;grid-template-columns:1.05fr 1.2fr 1.05fr .92fr auto;align-items:center;min-height:86px;padding:10px 24px;border-bottom:1px solid #334056;background:linear-gradient(110deg,#090d15,#111a28);color:#fff}
.pdv-pos-brand,.pdv-pos-store,.pdv-pos-operator,.pdv-pos-clock{display:flex;align-items:center;gap:15px;min-width:0;padding:0 20px;border-right:1px solid #364154}
.pdv-pos-brand{padding-left:0}
.pdv-pos-brand>span,.pdv-pos-store>span,.pdv-pos-operator>span,.pdv-pos-clock>span{font-size:30px}
.pdv-pos-brand div,.pdv-pos-store>div,.pdv-pos-operator>div,.pdv-pos-clock>div{display:grid;gap:2px;min-width:0}
.pdv-pos-brand strong{font-size:27px;line-height:1}
.pdv-pos-brand small,.pdv-pos-store small,.pdv-pos-operator small,.pdv-pos-clock small{color:#c1cada;font-size:12px}
.pdv-pos-store>div>small:first-child,.pdv-pos-operator>div>small:first-child{color:#8f9db3;font-size:9px;font-weight:800;letter-spacing:.1em}
.pdv-pos-store .pdv-store-picker{min-width:0;font-size:inherit}
.pdv-pos-store .pdv-store-picker select{max-width:230px;padding:0;border:0;background:transparent;color:#fff;font-size:15px;font-weight:800}
.pdv-pos-store .pdv-store-picker select:disabled{opacity:1}
.pdv-pos-store .pdv-store-picker select option{background:#101827;color:#fff}
.pdv-pos-operator strong{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.pdv-pos-clock strong{font-size:15px}
.pdv-pos-clock span{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#0756af;color:#fff}
.pdv-cash-badge{display:flex;align-items:center;gap:11px;min-height:54px;padding:8px 14px;border:0;border-radius:13px;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.pdv-cash-badge.is-open{background:#00552c}
.pdv-cash-badge.is-closed{background:#72351b}
.pdv-cash-badge>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#15d536;color:#fff;font-size:22px}
.pdv-cash-badge.is-closed>span:first-child{background:#f59e0b}
.pdv-cash-badge b{margin-left:4px;font-size:19px}
.pdv-register-active #pdvNotice{margin:0 14px}
.pdv-register-active #pdvContent{display:flex;min-height:0;flex:1;flex-direction:column;padding:0 14px}
.pdv-register-active .pdv-customer-select{flex:0 0 auto;margin:0 0 8px;padding:8px 12px;border-color:#26364b;background:#111b2b;box-shadow:none}
.pdv-register-active .pdv-customer-select label{grid-template-columns:auto minmax(180px,1fr);color:#aebbd0}
.pdv-register-active .pdv-customer-select select{border-color:#34445a;background:#0d1727;color:#eef4fd}
.pdv-register-active .pdv-checkout-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);min-height:0;flex:1;gap:12px}
.pdv-register-active .pdv-card{min-height:0;border-color:#2b3a50;border-radius:17px;background:linear-gradient(145deg,#111a29,#0d1420);box-shadow:0 10px 30px #0004;color:#edf2f9}
.pdv-register-active .pdv-card h3,.pdv-register-active .pdv-card h4{color:#f6f8fc}
.pdv-register-active .pdv-kicker{color:#8293ac}
.pdv-register-active .pdv-pos-header{flex:0 0 auto}
.pdv-register-active .pdv-catalog{display:flex;overflow:hidden;flex-direction:column;padding:0}
.pdv-catalog-toolbar{display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center;gap:14px;padding:15px 17px;border-bottom:1px solid #26354a}
.pdv-catalog-toolbar h3{margin:3px 0 0}
.pdv-catalog-toolbar .pdv-search-row{min-width:0}
.pdv-catalog-toolbar .pdv-search-row input{min-width:0;border-color:#34445a;background:#0a1321;color:#fff}
.pdv-search-go{width:42px;min-width:42px;background:#075fcb;color:#fff;font-size:24px}
.pdv-register-active .pdv-scan-btn{border-color:#13896e;background:#0e352c;color:#75edbe}
#pdvProductBrowser{display:flex;overflow:hidden;min-height:0;flex:1;flex-direction:column}
.pdv-category-strip{display:flex;overflow-x:auto;gap:7px;padding:10px 14px;scrollbar-width:thin}
.pdv-category-strip button{display:flex;flex:0 0 auto;align-items:center;gap:7px;min-height:42px;padding:7px 12px;border:1px solid #30415a;border-radius:10px;background:#172338;color:#d4deeb;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.pdv-category-strip button.active{border-color:#1d6be0;background:#0759c4;color:#fff}
.pdv-category-strip button.pdv-category-color-0.active{background:#a95a00;border-color:#ee9800}
.pdv-category-strip button.pdv-category-color-1.active{background:#5e2bbb;border-color:#9755f0}
.pdv-category-strip button.pdv-category-color-2.active{background:#087342;border-color:#0bb56b}
.pdv-category-strip button.pdv-category-color-3.active{background:#b54207;border-color:#fa7210}
.pdv-category-strip button.pdv-category-color-4.active{background:#0759c4}
.pdv-product-feature{display:flex;overflow:hidden;min-height:215px;flex-direction:column;margin:0 13px 10px;border:1px solid #30415a;border-radius:14px;background:#0a1320}
.pdv-product-feature-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 14px}
.pdv-product-feature-head>div{min-width:0}
.pdv-product-feature-head small{color:#53b6ff;font-size:9px;font-weight:850;letter-spacing:.11em}
.pdv-product-feature-head h3{overflow:hidden;margin:4px 0;color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:17px}
.pdv-product-feature-head span{display:block;overflow:hidden;color:#aab8ca;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.pdv-favorite-toggle{flex:0 0 38px;width:38px;height:38px;border:1px solid #30415a;border-radius:10px;background:#142239;color:#ffc439;font-size:23px;cursor:pointer}
.pdv-product-feature-body{display:grid;min-height:115px;flex:1;grid-template-columns:minmax(0,1.25fr) minmax(150px,.8fr);gap:10px;padding:0 10px 10px}
.pdv-product-feature-body>img{width:100%;height:100%;min-height:116px;max-height:190px;border-radius:9px;background:#172235;object-fit:cover}
.pdv-product-placeholder{display:grid;min-height:115px;place-content:center;gap:7px;border-radius:9px;background:radial-gradient(ellipse at center,#1d3148,#0c1421 70%);color:#5d83a4;text-align:center}
.pdv-product-placeholder span{font-size:52px}
.pdv-product-placeholder small{font-size:9px;letter-spacing:.1em}
.pdv-product-facts{display:grid;grid-template-columns:1fr;align-content:center;gap:6px}
.pdv-product-facts>div{display:grid;gap:2px;padding:7px 10px;border:1px solid #26374c;border-radius:9px;background:#111c2c}
.pdv-product-facts span{color:#a3b2c7;font-size:10px}
.pdv-product-facts strong,.pdv-product-facts b{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.pdv-product-facts>div:first-child strong{color:#ffd21f;font-size:20px}
.pdv-product-facts .is-ok{color:#26e34d}
.pdv-product-facts .is-warn{color:#ffc04a}
.pdv-product-available{width:100%;min-height:39px;margin-top:auto;border:0;background:#08b842;color:#fff;font:inherit;font-weight:850;cursor:pointer}
.pdv-product-available.is-empty{background:#187bce}
.pdv-product-feature-empty{align-items:center;justify-content:center;gap:8px;color:#9eacc1;text-align:center}
.pdv-product-feature-empty>span{font-size:35px}
.pdv-product-feature-empty strong{color:#e1e9f4}
.pdv-product-feature-empty small{font-size:12px}
.pdv-catalog-grid{display:grid;overflow:auto;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:8px;padding:0 13px 13px;scrollbar-color:#40516a transparent;scrollbar-width:thin}
.pdv-catalog-item{position:relative;display:grid;overflow:hidden;min-width:0;gap:4px;padding:7px;border:1px solid #29394e;border-radius:11px;background:#121e2f;color:#ebf1fa;text-align:left;cursor:pointer}
.pdv-catalog-item.is-selected{border-color:#167be0;box-shadow:inset 0 0 0 1px #167be0}
.pdv-catalog-item>img,.pdv-catalog-item-placeholder{display:grid;width:100%;height:72px;place-items:center;border-radius:7px;background:#1a293d;color:#5782a9;font-size:31px;object-fit:cover}
.pdv-catalog-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:750}
.pdv-catalog-item small{overflow:hidden;color:#95a7be;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.pdv-catalog-item>b{color:#55dfaa;font-size:12px}
.pdv-catalog-fav{position:absolute;top:10px;right:11px;color:#ffc439}
.pdv-register-active .pdv-cart{display:flex;overflow:hidden;flex-direction:column;padding:0}
.pdv-register-active .pdv-cart>.pdv-card-title{flex:0 0 auto;margin:0;padding:14px 16px;border-bottom:1px solid #2b3a50}
.pdv-register-active .pdv-cart .pdv-kicker{color:#69bdff}
.pdv-register-active .pdv-cart-table{min-height:90px;flex:1;overflow:auto;scrollbar-color:#40516a transparent;scrollbar-width:thin}
.pdv-register-active .pdv-cart-labels,.pdv-register-active .pdv-cart-row{grid-template-columns:30px minmax(120px,1.5fr) minmax(118px,1fr) minmax(76px,.72fr) minmax(86px,.85fr) 28px;gap:8px;align-items:center}
.pdv-register-active .pdv-cart-labels{position:sticky;top:0;z-index:1;padding:13px 12px;background:#0757ba;color:#fff;font-size:11px}
.pdv-register-active .pdv-cart-row{min-height:68px;padding:8px 12px;border-color:#2c3748}
.pdv-register-active .pdv-cart-name strong{color:#fff;font-size:12px}
.pdv-register-active .pdv-cart-name small{margin-top:4px;color:#a4b1c2;font-size:10px}
.pdv-register-active .pdv-cart-index{color:#ecf3ff;font-weight:800}
.pdv-register-active .pdv-cart-row input{min-width:0;border-color:#34445a;background:#0b1524;color:#fff}
.pdv-quantity-stepper{display:flex;align-items:center;gap:4px}
.pdv-quantity-stepper button{flex:0 0 28px;width:28px;height:30px;border:0;border-radius:50%;background:#293546;color:#fff;font-size:17px;font-weight:800;cursor:pointer}
.pdv-quantity-stepper input{width:42px;padding:6px 2px;text-align:center}
.pdv-cart-line-total{display:grid;gap:3px;justify-items:end}
.pdv-cart-line-total>strong{color:#fff;white-space:nowrap}
.pdv-cart-line-total label{display:flex;align-items:center;gap:3px;color:#9eacc0;font-size:9px}
.pdv-cart-line-total label input{width:54px;padding:3px 4px!important;font-size:10px!important}
.pdv-register-active .pdv-icon-btn{background:#40252d;color:#ff6b73}
.pdv-register-active .pdv-cart-empty{min-height:160px;flex:1;color:#8998ad}
.pdv-register-active .pdv-cart-empty>span{font-size:36px}
.pdv-register-active .pdv-cart-empty strong{color:#b4bfd0;font-size:17px}
.pdv-register-active .pdv-cart-empty span:last-child{font-size:13px}
.pdv-register-active .pdv-sale-summary{flex:0 0 auto;grid-template-columns:minmax(105px,1fr) minmax(95px,.8fr) minmax(120px,1fr);gap:8px;margin:0 14px;padding:12px 0;border-top:1px solid #2d3a4e}
.pdv-register-active .pdv-sale-summary label{color:#b2bfd0}
.pdv-register-active .pdv-sale-summary input{max-width:100%;padding:7px}
.pdv-register-active .pdv-sale-summary>div{color:#abb8ca}
.pdv-register-active .pdv-sale-summary>div b{color:#fff}
.pdv-register-active .pdv-sale-summary .pdv-grand-total{padding-left:10px;border-color:#34445a}
.pdv-register-active .pdv-grand-total strong{color:#23e343;font-size:clamp(20px,2vw,29px)}
.pdv-register-active .pdv-payment-title{flex:0 0 auto;margin:0 14px 7px}
.pdv-register-active .pdv-payment-title h4{color:#e7eef8}
.pdv-register-active .pdv-payment-title .pdv-btn{padding:6px 9px}
.pdv-register-active .pdv-payments{overflow:auto;max-height:92px;margin:0 14px}
.pdv-register-active .pdv-payment-row{grid-template-columns:minmax(110px,1fr) minmax(90px,.8fr) minmax(90px,.8fr) 28px}
.pdv-register-active .pdv-payment-row select,.pdv-register-active .pdv-payment-row input{border-color:#34445a;background:#0b1524;color:#fff}
.pdv-register-active .pdv-payment-foot{flex:0 0 auto;margin:6px 14px;color:#b1bed0}
.pdv-register-active .pdv-payment-foot b{color:#fff}
.pdv-register-active .pdv-method-totals{flex:0 0 auto;margin:0 14px 6px;color:#92a2b9}
.pdv-register-active .pdv-finish{flex:0 0 auto;min-height:62px;margin-top:auto;border-radius:0 0 16px 16px;background:linear-gradient(110deg,#08a83c,#10ca48);font-size:21px;font-weight:900}
.pdv-pos-cash-movements{flex:0 0 auto;margin:0 0 2px}
.pdv-pos-cash-movements>summary{width:max-content;max-width:100%;padding:5px 9px;border:1px solid #29394e;border-radius:8px;color:#aab8ca;font-size:10px;cursor:pointer}
.pdv-pos-cash-movements[open]>summary{margin-bottom:8px}
.pdv-pos-cash-movements .pdv-card{padding:14px}
.pdv-register-active .pdv-pos-cash-movements .pdv-card{min-height:0}
.pdv-pos-footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:14px;min-height:72px;padding:8px 16px;border-top:1px solid #354258;background:#0c111b}
.pdv-pos-status,.pdv-pos-actions{display:flex;align-items:center;gap:0}
.pdv-pos-status>span{display:flex;align-items:center;gap:9px;padding:8px 14px;border-right:1px solid #344155;color:#eef3fa;font-size:12px;font-weight:750;white-space:nowrap}
.pdv-pos-status>span:last-child{border:0}
.pdv-pos-status .is-ok{color:#23e343}
.pdv-pos-status .is-warn{color:#ffbe4a}
.pdv-pos-status i{width:9px;height:9px;border-radius:50%;background:currentColor}
.pdv-pos-actions{gap:9px}
.pdv-pos-actions button{min-height:48px;padding:8px 16px;border:0;border-radius:13px;background:#0759c4;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.pdv-pos-actions button[data-pdv-view="relatorios"]{background:#6b22b8}
.pdv-pos-actions .pdv-footer-close{background:#c82224}
.pdv-open-card{margin:auto}
@media(max-width:1150px){
  .pdv-register-active .pdv-pos-header{grid-template-columns:1fr 1.1fr auto;gap:7px;padding:9px 14px}
  .pdv-pos-operator{display:none}
  .pdv-register-active .pdv-checkout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .pdv-pos-status>span{padding:7px 8px;font-size:10px}
  .pdv-pos-actions button{padding:8px 11px}
}
@media(max-width:850px){
  .pdv-register-active .pdv-app{gap:8px}
  .pdv-register-active .pdv-pos-header{grid-template-columns:1fr 1fr auto;min-height:70px;padding:8px 10px}
  .pdv-pos-brand,.pdv-pos-store,.pdv-pos-clock{gap:8px;padding:0 8px}
  .pdv-pos-brand strong{font-size:21px}
  .pdv-pos-brand>span,.pdv-pos-store>span,.pdv-pos-clock>span{font-size:23px}
  .pdv-pos-clock{display:none}
  .pdv-cash-badge{min-height:44px;padding:5px 8px;font-size:11px}
  .pdv-cash-badge>span:first-child{width:26px;height:26px;font-size:17px}
  .pdv-register-active #pdvContent{padding:0 8px}
  .pdv-register-active .pdv-checkout-grid{grid-template-columns:1fr;flex:unset}
  .pdv-register-active .pdv-catalog{min-height:590px}
  .pdv-register-active .pdv-cart{min-height:470px}
  .pdv-product-feature{min-height:190px}
  .pdv-pos-footer{align-items:stretch;flex-direction:column;padding:8px}
  .pdv-pos-status{overflow-x:auto}
  .pdv-pos-status>span{flex:0 0 auto}
  .pdv-pos-actions{justify-content:stretch}
  .pdv-pos-actions button{flex:1}
  .pdv-register-active .pdv-cart-labels,.pdv-register-active .pdv-cart-row{grid-template-columns:24px minmax(90px,1.4fr) minmax(110px,1fr) minmax(65px,.7fr) minmax(78px,.8fr) 26px;gap:5px}
}
@media(max-width:560px){
  .pdv-register-active .pdv-pos-header{grid-template-columns:1fr auto;row-gap:5px}
  .pdv-pos-store{grid-column:1;grid-row:2;border:0}
  .pdv-pos-brand{grid-column:1;grid-row:1;border:0}
  .pdv-cash-badge{grid-column:2;grid-row:1/3}
  .pdv-pos-store .pdv-store-picker select{max-width:190px;font-size:12px}
  .pdv-register-active .pdv-catalog{min-height:560px}
  .pdv-catalog-toolbar{grid-template-columns:1fr;gap:8px;padding:10px}
  .pdv-catalog-toolbar .pdv-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto}
  .pdv-catalog-toolbar .pdv-search-row input{grid-column:auto}
  .pdv-category-strip{padding:8px}
  .pdv-category-strip button{min-height:38px;padding:6px 9px;font-size:11px}
  .pdv-product-feature{margin:0 8px 8px}
  .pdv-product-feature-body{grid-template-columns:minmax(0,1.1fr) minmax(116px,.9fr);gap:7px;padding:0 7px 7px}
  .pdv-product-facts>div{padding:5px 7px}
  .pdv-product-facts>div:first-child strong{font-size:17px}
  .pdv-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 8px 8px}
  .pdv-catalog-item>img,.pdv-catalog-item-placeholder{height:60px}
  .pdv-register-active .pdv-cart-labels{display:none}
  .pdv-register-active .pdv-cart-row{grid-template-columns:24px minmax(90px,1fr) minmax(100px,.9fr) 78px 25px;min-height:77px;padding:8px}
  .pdv-register-active .pdv-cart-row .pdv-cart-name{grid-column:2}
  .pdv-register-active .pdv-cart-row .pdv-quantity-stepper{grid-column:3}
  .pdv-register-active .pdv-cart-row>input[data-field="preco"]{grid-column:4}
  .pdv-register-active .pdv-cart-line-total{grid-column:2/5;grid-row:2;justify-items:start}
  .pdv-register-active .pdv-cart-row>.pdv-icon-btn{grid-column:5;grid-row:1}
  .pdv-register-active .pdv-sale-summary{grid-template-columns:1fr 1fr;padding:9px 0}
  .pdv-register-active .pdv-sale-summary label{grid-column:1}
  .pdv-register-active .pdv-sale-summary>div:not(.pdv-grand-total){grid-column:2;grid-row:1}
  .pdv-register-active .pdv-sale-summary .pdv-grand-total{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;padding:6px 0 0;border-top:1px solid #34445a;border-left:0}
  .pdv-register-active .pdv-payment-row{grid-template-columns:minmax(100px,1fr) minmax(85px,.8fr) 25px}
  .pdv-register-active .pdv-payment-row select{grid-column:1}
  .pdv-register-active .pdv-payment-row input[data-field="amount"]{grid-column:2}
  .pdv-register-active .pdv-payment-row input[data-field="received"]{grid-column:1/3;grid-row:2}
  .pdv-register-active .pdv-payment-row .pdv-payment-spacer{display:none}
  .pdv-register-active .pdv-payment-row>.pdv-icon-btn{grid-column:3;grid-row:1/3}
  .pdv-pos-status>span{padding:5px 8px;font-size:9px}
  .pdv-pos-actions button{min-height:44px;padding:7px;font-size:11px}
  .pdv-pos-actions button span{display:block}
}
@media(max-height:700px) and (min-width:851px){
  .pdv-register-active .pdv-app{min-height:700px}
  .pdv-register-active #pdvContent{min-height:510px}
  .pdv-register-active .pdv-cart{min-height:510px}
  .pdv-pos-footer{min-height:60px}
}

/* Ajustes multiplataforma do PDV: navegação tátil, formulários e tabelas. */
.pdv-tabs{flex-wrap:wrap;overflow:visible}
.pdv-tabs button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-height:44px}
.pdv-tab-icon{font-size:18px;line-height:1}
.pdv-tabs kbd{border:1px solid #d5e0eb;border-radius:5px;padding:1px 5px;background:#f4f7fb;color:#65758a;font-family:inherit;font-size:10px;font-weight:700}
.pdv-shortcut-hint{margin:-10px 4px 16px;color:#77869a;font-size:11px;text-align:right}
.pdv-mobile-table{min-width:0}
.pdv-customer-form label{min-width:0}
.pdv-customer-form input,.pdv-stock-form input,.pdv-stock-form select,.pdv-report-filter input{box-sizing:border-box;min-width:0;max-width:100%}
body.pdv-mode #appNav{position:fixed;top:8px;left:12px;right:12px;width:auto;z-index:1100}
body.pdv-mode:not(.pdv-nav-revealed) #appNav{transform:translateY(calc(-100% - 18px));opacity:0;pointer-events:none}
body.pdv-mode #navRevealZone{height:28px}
@media(max-width:680px){
  .pdv-app{padding:12px}
  .pdv-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .pdv-tabs button{position:relative;display:grid;grid-template-rows:24px auto;align-content:center;justify-items:center;gap:4px;min-width:0;min-height:68px;padding:8px 4px;white-space:normal;text-align:center}
  .pdv-tab-icon{font-size:21px}
  .pdv-tab-label{font-size:12px;line-height:1.15;font-weight:750;overflow-wrap:anywhere}
  .pdv-tabs kbd{position:absolute;top:4px;right:5px;padding:0 3px;font-size:9px;line-height:14px}
  .pdv-shortcut-hint{display:none}
  .pdv-customer-form,.pdv-stock-form,.pdv-report-filter{grid-template-columns:minmax(0,1fr)}
  .pdv-customer-form label:first-child{grid-column:auto}
  .pdv-customer-form label,.pdv-stock-form label,.pdv-report-filter label{width:100%;min-width:0}
  .pdv-customer-form .pdv-product-actions,.pdv-stock-form>button{grid-column:1}
  .pdv-customer-form .pdv-customer-active{justify-content:flex-start}
  .pdv-report-filter button{width:100%}
  .pdv-report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pdv-report-cards .pdv-card{min-width:0;padding:14px}
  .pdv-report-cards strong{overflow-wrap:anywhere;font-size:19px}
  .pdv-mobile-table,.pdv-mobile-table tbody{display:block;width:100%}
  .pdv-mobile-table thead{display:none}
  .pdv-mobile-table tr{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0 0 10px;border:1px solid #e1e8f0;border-radius:11px;background:#fff;overflow:hidden}
  .pdv-mobile-table td{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr);gap:10px;align-items:start;min-width:0;padding:10px;border-bottom:1px solid #edf1f5;text-align:left;overflow-wrap:anywhere;font-size:13px}
  .pdv-mobile-table td:last-child{border-bottom:0}
  .pdv-mobile-table td[data-label]::before{content:attr(data-label);color:#637389;font-size:11px;font-weight:750}
  .pdv-mobile-table td[colspan]{display:block;text-align:center}
  .pdv-mobile-table td[colspan]::before{content:none}
  .pdv-mobile-table{overflow:visible}
  .pdv-page-head{gap:10px}
  .pdv-head-actions{gap:8px}
}
