/* =====================================================
   ZEVVO SMART — PDV / FRENTE DE CAIXA
   ===================================================== */
.pos-page{max-width:1500px;margin:0 auto}
.pos-page-title{align-items:flex-start;gap:16px}
.pos-page-title h1{margin:3px 0 7px}
.pos-page-title p{max-width:780px}
.pos-eyebrow{display:block;color:#0875f5;font-size:11px;font-weight:900;letter-spacing:.10em}
.pos-status-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;border:1px solid transparent;font-size:12px;font-weight:900;white-space:nowrap}
.pos-status-badge i{width:8px;height:8px;border-radius:50%;background:currentColor}
.pos-status-badge.is-open{color:#087a53;background:#e9faf2;border-color:#bdebd7}
.pos-status-badge.is-closed{color:#7c5a10;background:#fff8e3;border-color:#f0d990}

.pos-tabs{display:flex;gap:6px;padding:7px;margin-bottom:18px;overflow-x:auto;border:1px solid #dce8f4;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.05)}
.pos-tabs a{padding:9px 13px;border-radius:10px;color:#53677e;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.pos-tabs a:hover,.pos-tabs a.active{color:#fff!important;background:#0875f5}

.pos-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.pos-stats article{min-height:112px;padding:17px;border:1px solid #dce7f2;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.pos-stats article:nth-child(1){background:linear-gradient(135deg,#dbeafe,#eff6ff);border-color:#bfdbfe}
.pos-stats article:nth-child(2){background:linear-gradient(135deg,#dcfce7,#f0fdf4);border-color:#bbf7d0}
.pos-stats article:nth-child(3){background:linear-gradient(135deg,#cffafe,#ecfeff);border-color:#a5f3fc}
.pos-stats article:nth-child(4){background:linear-gradient(135deg,#f3e8ff,#faf5ff);border-color:#e9d5ff}
.pos-stats span,.pos-stats strong,.pos-stats small{display:block}
.pos-stats span{color:#62758a;font-size:12px;font-weight:800}
.pos-stats strong{margin-top:8px;color:#10243f;font-size:1.5rem}
.pos-stats small{margin-top:5px;color:#718398}

.pos-sale-success{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:16px 18px;border:1px solid #b7e6cf;border-radius:16px;background:linear-gradient(135deg,#ecfdf5,#f6fffb)}
.pos-sale-success span,.pos-sale-success strong{display:block}
.pos-sale-success span{color:#16805a;font-size:10px;font-weight:900;letter-spacing:.1em}
.pos-sale-success strong{margin-top:3px;color:#164f3b}
.pos-sale-success p{margin:4px 0 0;color:#547667}

.pos-open-panel{max-width:720px;margin:36px auto 0;padding:26px!important;border-radius:22px!important}
.pos-panel-heading{display:flex;align-items:center;gap:15px;margin-bottom:22px}
.pos-panel-heading h2{margin:2px 0 4px}
.pos-panel-heading p{margin:0;color:#64748b}
.pos-panel-icon{width:54px;height:54px;display:grid;place-items:center;flex:none;border-radius:16px;background:linear-gradient(135deg,#0875f5,#00a7d9);color:#fff;font-weight:1000;box-shadow:0 10px 24px rgba(8,117,245,.22)}

.pos-session-strip{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;align-items:center;gap:10px;margin-bottom:16px;padding:12px 14px;border:1px solid #cfe2f6;border-radius:15px;background:#f5faff}
.pos-session-strip div span,.pos-session-strip div strong{display:block}
.pos-session-strip div span{color:#7890a8;font-size:9px;font-weight:900;letter-spacing:.08em}
.pos-session-strip div strong{margin-top:4px;color:#17324e;font-size:12px}

.pos-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(390px,.7fr);gap:16px;align-items:start}
.pos-catalog-panel,.pos-cart-panel,.pos-recent-panel,.pos-list-panel{padding:20px!important;border-radius:20px!important}
.pos-catalog-head,.pos-cart-head,.pos-panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}
.pos-catalog-head h2,.pos-cart-head h2,.pos-panel-title-row h2{margin:2px 0 0}
.pos-catalog-head>span{padding:5px 9px;border-radius:999px;background:#eef5fd;color:#5f7690;font-size:11px;font-weight:800}

.pos-search-wrap{display:flex;align-items:center;gap:8px;margin-bottom:14px;padding:0 12px;border:2px solid #dce8f4;border-radius:13px;background:#fff}
.pos-search-wrap:focus-within{border-color:#0875f5;box-shadow:0 0 0 3px rgba(8,117,245,.10)}
.pos-search-wrap span{color:#7f91a4;font-size:18px}
.pos-search-wrap input{flex:1;min-height:46px;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}

.pos-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:600px;overflow:auto;padding-right:3px}
.pos-product-card{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:88px;padding:13px!important;text-align:left;border:1px solid #dfe8f2!important;border-radius:14px!important;background:#fff!important;color:inherit!important;box-shadow:none!important;cursor:pointer}
.pos-product-card:hover:not(:disabled){border-color:#8ec1f7!important;background:#f7fbff!important;transform:translateY(-1px)}
.pos-product-card:disabled{opacity:.48;cursor:not-allowed}
.pos-product-card-main{min-width:0}
.pos-product-card-main strong,.pos-product-card-main small,.pos-product-card-main em{display:block}
.pos-product-card-main strong{overflow:hidden;color:#19324d;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.pos-product-card-main small{margin-top:4px;color:#7b8da0;font-size:10px}
.pos-product-card-main em{margin-top:5px;color:#16805a;font-size:10px;font-style:normal;font-weight:800}
.pos-product-card-main em.is-out{color:#b42318}
.pos-product-card-price{flex:none;text-align:right}
.pos-product-card-price strong{display:block;color:#0875f5;font-size:13px}
.pos-product-card-price i{width:24px;height:24px;display:grid;place-items:center;margin:7px 0 0 auto;border-radius:8px;background:#eaf4ff;color:#0875f5;font-style:normal;font-weight:1000}
.pos-catalog-empty{grid-column:1/-1;padding:40px 16px;text-align:center;color:#718398}
.pos-catalog-empty strong,.pos-catalog-empty span{display:block}
.pos-catalog-empty span{margin-top:5px;font-size:12px}

.pos-cart-panel{position:sticky;top:16px}
.pos-clear-cart{padding:5px 8px!important;border:0!important;background:transparent!important;color:#d14343!important;font-size:11px!important}
.pos-cart-empty{padding:32px 15px;text-align:center;border:1px dashed #cfdbe8;border-radius:14px;background:#fafcff}
.pos-cart-empty strong,.pos-cart-empty span{display:block}
.pos-cart-empty strong{color:#52677e}
.pos-cart-empty span{margin-top:5px;color:#8a9bad;font-size:11px}
.pos-cart-items{display:grid;gap:8px;max-height:260px;overflow:auto}
.pos-cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:10px;border:1px solid #e2eaf2;border-radius:12px;background:#fbfdff}
.pos-cart-item-copy{min-width:0}
.pos-cart-item-copy strong,.pos-cart-item-copy small{display:block}
.pos-cart-item-copy strong{overflow:hidden;color:#19324d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.pos-cart-item-copy small{margin-top:3px;color:#8798aa;font-size:9px}

.pos-cart-qty{display:flex;align-items:center;border:1px solid #d8e3ee;border-radius:9px;overflow:hidden;background:#fff}
.pos-cart-qty button{width:27px;min-width:27px;height:30px;padding:0!important;border:0!important;border-radius:0!important;background:#f3f7fb!important;color:#23415e!important}
.pos-cart-qty input{width:38px!important;min-height:30px!important;padding:0 2px!important;border:0!important;border-radius:0!important;text-align:center;box-shadow:none!important;-moz-appearance:textfield}
.pos-cart-qty input::-webkit-inner-spin-button,.pos-cart-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pos-cart-item-total{text-align:right}
.pos-cart-item-total strong{display:block;color:#142c45;font-size:11px}
.pos-cart-item-total button{margin-top:4px;padding:0!important;border:0!important;background:transparent!important;color:#d14343!important;font-size:9px!important}

.pos-sale-form{display:grid;gap:12px;margin-top:14px}
.pos-customer-block{padding:10px 11px;border:1px solid #e1e9f1;border-radius:12px;background:#f9fbfd}
.pos-collapsible-trigger{width:100%;display:flex!important;align-items:center;justify-content:space-between;padding:0!important;border:0!important;background:transparent!important;color:#36516c!important;font-size:11px!important;font-weight:800!important}
.pos-collapsible{display:none;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
.pos-collapsible.is-open{display:grid}
.pos-collapsible input:first-child{grid-column:1/-1}
.pos-collapsible input{min-height:38px!important}
.pos-discount-field{display:grid!important;grid-template-columns:1fr 120px;align-items:center;gap:8px}
.pos-discount-field input{text-align:right}

.pos-totals{display:grid;gap:6px;padding:12px 0;border-top:1px solid #e3eaf1;border-bottom:1px solid #e3eaf1}
.pos-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pos-totals span{color:#73869a;font-size:11px}
.pos-totals strong{color:#21384f;font-size:12px}
.pos-totals .grand-total{margin-top:3px;padding-top:8px;border-top:1px dashed #d5e0ea}
.pos-totals .grand-total span{color:#19324d;font-size:13px;font-weight:900}
.pos-totals .grand-total strong{color:#0875f5;font-size:1.45rem}

.pos-payment-title{display:block;margin-bottom:7px;color:#657a91;font-size:11px;font-weight:800}
.pos-payment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.pos-payment-options label{margin:0!important;cursor:pointer}
.pos-payment-options input{position:absolute;opacity:0;pointer-events:none}
.pos-payment-options span{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:8px;border:1px solid #dce6ef;border-radius:11px;background:#fff;color:#526a82;font-size:11px;font-weight:800}
.pos-payment-options input:checked+span{border-color:#0875f5;background:#edf6ff;color:#0875f5;box-shadow:0 0 0 2px rgba(8,117,245,.08)}
.pos-payment-options b{font-size:13px}
#pos-cash-received-wrap small{display:block;margin-top:5px;color:#16805a;font-size:10px;font-weight:800}
.pos-finish-sale{min-height:48px!important;justify-content:center;font-size:14px!important;font-weight:900!important}
.pos-finish-sale:disabled{opacity:.5;cursor:not-allowed}

.pos-recent-panel{margin-top:16px}
.pos-panel-title-row a:not(.button){color:#0875f5;font-size:12px;font-weight:800;text-decoration:none}
.pos-table-scroll{overflow-x:auto}
.pos-table{width:100%;border-collapse:collapse}
.pos-table th,.pos-table td{padding:11px 9px;text-align:left;border-bottom:1px solid #e7eef5;vertical-align:middle}
.pos-table th{color:#6a7e93;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.pos-table td{color:#415970;font-size:12px}
.pos-table td strong,.pos-table td small{display:block}
.pos-table td strong{color:#19324d}
.pos-table td small{margin-top:3px;color:#8a9bad;font-size:10px}
.pos-sale-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}
.pos-sale-status.is-completed{color:#087a53;background:#e9faf2}
.pos-sale-status.is-cancelled{color:#9f2d2d;background:#feecec}
.pos-empty-row{padding:28px!important;text-align:center!important;color:#8799aa!important}

.pos-cash-control-grid,.pos-settings-grid,.pos-sale-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin-bottom:16px}
.pos-cash-control-grid{grid-template-columns:.8fr 1fr 1fr}
.pos-cash-summary{margin:18px 0 8px}
.pos-cash-summary span,.pos-cash-summary strong{display:block}
.pos-cash-summary span{color:#718398;font-size:11px;font-weight:800}
.pos-cash-summary strong{margin-top:5px;color:#16805a;font-size:1.8rem}
.pos-close-register{border-top:4px solid #f59e0b!important}
.pos-empty-state{padding:36px!important;margin-bottom:16px;text-align:center}
.pos-empty-state strong{color:#19324d;font-size:1.15rem}
.pos-empty-state p{color:#718398}
.pos-sale-detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr)}
.pos-sale-side{display:grid;gap:16px}
.pos-sale-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}
.pos-sale-meta>div{padding:11px;border:1px solid #e2eaf2;border-radius:12px;background:#f8fafc}
.pos-sale-meta span,.pos-sale-meta strong{display:block}
.pos-sale-meta span{color:#8192a4;font-size:9px;font-weight:900;letter-spacing:.05em}
.pos-sale-meta strong{margin-top:5px;color:#19324d;font-size:11px}
.pos-sale-totals{margin:14px 0 0 auto;max-width:360px;padding-top:12px;border-top:1px solid #e1e9f1}
.pos-sale-totals>div{display:flex;justify-content:space-between;gap:20px;padding:5px 0}
.pos-sale-totals span{color:#718398}
.pos-sale-totals strong{color:#19324d}
.pos-sale-totals>div:nth-child(3){margin-top:5px;padding-top:10px;border-top:1px dashed #d8e2ec;font-size:1.1rem}

.pos-register-list{display:grid;gap:9px;margin-top:15px}
.pos-register-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e1e9f1;border-radius:12px;background:#f9fbfd}
.pos-register-list strong,.pos-register-list small{display:block}
.pos-register-list strong{color:#19324d}
.pos-register-list small{margin-top:3px;color:#8294a6}

.admin-body.admin-dark .pos-tabs,
.admin-body.admin-dark .pos-stats article,
.admin-body.admin-dark .pos-product-card,
.admin-body.admin-dark .pos-cart-empty,
.admin-body.admin-dark .pos-cart-item,
.admin-body.admin-dark .pos-customer-block,
.admin-body.admin-dark .pos-payment-options span,
.admin-body.admin-dark .pos-sale-meta>div,
.admin-body.admin-dark .pos-register-list article{background:#152235!important;border-color:#2a3a50!important}
.admin-body.admin-dark .pos-session-strip,
.admin-body.admin-dark .pos-search-wrap{background:#17283c!important;border-color:#30455f!important}
.admin-body.admin-dark .pos-product-card:hover:not(:disabled),
.admin-body.admin-dark .pos-payment-options input:checked+span{background:#183452!important}
.admin-body.admin-dark .pos-tabs a,
.admin-body.admin-dark .pos-product-card-main strong,
.admin-body.admin-dark .pos-cart-item-copy strong,
.admin-body.admin-dark .pos-totals strong,
.admin-body.admin-dark .pos-table td strong,
.admin-body.admin-dark .pos-sale-meta strong,
.admin-body.admin-dark .pos-register-list strong{color:#e8f1fb}

@media(max-width:1180px){
  .pos-workspace{grid-template-columns:1fr}
  .pos-cart-panel{position:static}
  .pos-cash-control-grid{grid-template-columns:1fr 1fr}
  .pos-cash-control-grid>section:first-child{grid-column:1/-1}
}
@media(max-width:900px){
  .pos-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pos-product-list{grid-template-columns:1fr}
  .pos-sale-detail-grid,.pos-settings-grid{grid-template-columns:1fr}
  .pos-sale-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .pos-page-title{display:flex;flex-direction:column}
  .pos-status-badge{align-self:flex-start}
  .pos-session-strip{grid-template-columns:1fr 1fr}
  .pos-session-strip .button{grid-column:1/-1;width:100%;justify-content:center}
  .pos-cash-control-grid{grid-template-columns:1fr}
  .pos-cash-control-grid>section:first-child{grid-column:auto}
  .pos-sale-success{align-items:flex-start;flex-direction:column}
  .pos-sale-success .button{width:100%;justify-content:center}
}
@media(max-width:520px){
  .pos-stats{grid-template-columns:1fr}
  .pos-session-strip{grid-template-columns:1fr}
  .pos-cart-item{grid-template-columns:1fr auto}
  .pos-cart-item-total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}
  .pos-payment-options{grid-template-columns:1fr}
  .pos-collapsible{grid-template-columns:1fr}
  .pos-collapsible input:first-child{grid-column:auto}
  .pos-sale-meta{grid-template-columns:1fr}
}

/* =====================================================
   ZEVVO SMART — PDV PROFISSIONAL
   ===================================================== */
.pos-brand-hero{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  margin:0 0 16px;
  padding:22px 24px;
  overflow:hidden;
  position:relative;
  border:1px solid #123e70;
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 18%,rgba(38,154,255,.30),transparent 28%),
    linear-gradient(135deg,#081f3b 0%,#0b325b 52%,#0a4d82 100%);
  box-shadow:0 16px 36px rgba(8,37,72,.18);
  color:#fff;
}

.pos-brand-hero::after{
  content:'';
  position:absolute;
  right:-80px;
  bottom:-130px;
  width:300px;
  height:300px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
}

.pos-brand-mark{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  position:relative;
  z-index:1;
  border:1px solid rgba(255,255,255,.24);
  border-radius:18px;
  background:linear-gradient(135deg,#0875f5,#0ea5e9);
  box-shadow:0 12px 26px rgba(0,94,214,.34);
}

.pos-brand-mark span{
  color:#fff;
  font-size:1.85rem;
  font-weight:1000;
  letter-spacing:-.08em;
}

.pos-brand-copy,
.pos-brand-operation{
  position:relative;
  z-index:1;
}

.pos-brand-kicker{
  display:block;
  margin-bottom:6px;
  color:#8dccff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}

.pos-brand-title-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.pos-brand-title-row h2{
  margin:0;
  color:#fff;
  font-size:1.4rem;
}

.pos-pro-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 8px;
  border:1px solid rgba(134,239,172,.26);
  border-radius:999px;
  background:rgba(34,197,94,.13);
  color:#bbf7d0;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.08em;
}

.pos-brand-copy p{
  margin:7px 0 0;
  color:#c7d8eb;
  font-size:12px;
  line-height:1.5;
}

.pos-brand-statuses{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}

.pos-brand-statuses span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 8px;
  border-radius:9px;
  font-size:9px;
  font-weight:800;
}

.pos-brand-statuses .is-sync{
  color:#c6f6d8;
  background:rgba(22,163,74,.14);
  border:1px solid rgba(134,239,172,.16);
}

.pos-brand-statuses .is-neutral{
  color:#d8e6f6;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
}

.pos-brand-operation{
  min-width:210px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:15px;
  background:rgba(4,25,49,.28);
  backdrop-filter:blur(6px);
}

.pos-brand-operation span,
.pos-brand-operation strong,
.pos-brand-operation small{
  display:block;
}

.pos-brand-operation span{
  color:#8eb7df;
  font-size:9px;
  font-weight:900;
  letter-spacing:.10em;
}

.pos-brand-operation strong{
  margin-top:5px;
  color:#fff;
  font-size:13px;
}

.pos-brand-operation small{
  margin-top:4px;
  color:#bdd0e3;
  font-size:10px;
  line-height:1.4;
}

.pos-command-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 14px;
  padding:11px 13px;
  border:1px solid #d9e5f1;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f9fbfd);
  box-shadow:0 5px 16px rgba(15,23,42,.04);
}

.pos-command-main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:240px;
}

.pos-command-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:10px;
  background:#eaf4ff;
  color:#0875f5;
  font-size:16px;
  font-weight:1000;
}

.pos-command-main strong,
.pos-command-main small{
  display:block;
}

.pos-command-main strong{
  color:#17334f;
  font-size:11px;
}

.pos-command-main small{
  margin-top:2px;
  color:#8294a6;
  font-size:9px;
}

.pos-shortcuts{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.pos-shortcuts span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#6f8296;
  font-size:9px;
  font-weight:700;
}

.pos-shortcuts kbd{
  min-width:25px;
  padding:3px 5px;
  border:1px solid #ccd9e6;
  border-bottom-width:2px;
  border-radius:6px;
  background:#fff;
  color:#344f69;
  font-family:inherit;
  font-size:8px;
  font-weight:900;
  text-align:center;
  box-shadow:0 1px 1px rgba(15,23,42,.05);
}

.pos-catalog-meta{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pos-catalog-meta>span{
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
}

.pos-catalog-meta #pos-catalog-count{
  background:#eef5fd;
  color:#5f7690;
}

.pos-scanner-chip{
  color:#087a53;
  background:#e9faf2;
  border:1px solid #bcebd6;
}

.pos-search-helper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:-6px 2px 12px;
  color:#8798aa;
  font-size:9px;
}

.pos-search-helper button{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#0875f5!important;
  font-size:9px!important;
  font-weight:900!important;
}

.pos-catalog-panel{
  border-top:4px solid #0875f5!important;
  box-shadow:0 12px 30px rgba(15,23,42,.07)!important;
}

.pos-cart-panel{
  border-top:4px solid #16a34a!important;
  box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
}

.pos-sale-security{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid #cbe9da;
  border-radius:11px;
  background:#f1fbf6;
  color:#41725e;
}

.pos-sale-security>span{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:7px;
  background:#dcfce7;
  color:#16805a;
  font-size:10px;
  font-weight:1000;
}

.pos-sale-security small{
  font-size:9px;
  line-height:1.4;
}

.pos-finish-sale{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px;
  padding:0 16px!important;
  background:linear-gradient(135deg,#0875f5,#0566dc)!important;
  border-color:#0566dc!important;
  box-shadow:0 9px 20px rgba(8,117,245,.22)!important;
}

.pos-finish-sale span{
  font-weight:900;
}

.pos-finish-sale strong{
  color:#fff!important;
  font-size:13px;
}

.pos-sale-success-actions,
.pos-sale-detail-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.pos-print-button{
  background:#fff!important;
  color:#21415f!important;
  border-color:#cad9e7!important;
}

.pos-table tbody tr{
  transition:.15s ease;
}

.pos-table tbody tr:hover{
  background:#f8fbff;
}

.pos-open-panel{
  overflow:hidden;
  position:relative;
  border-top:4px solid #0875f5!important;
  box-shadow:0 16px 38px rgba(15,23,42,.08)!important;
}

.pos-open-panel::after{
  content:'PDV';
  position:absolute;
  right:-8px;
  bottom:-28px;
  color:#0875f5;
  font-size:6rem;
  font-weight:1000;
  letter-spacing:-.08em;
  opacity:.035;
  pointer-events:none;
}

.admin-body.admin-dark .pos-command-strip{
  background:#152235;
  border-color:#2a3a50;
}

.admin-body.admin-dark .pos-command-main strong,
.admin-body.admin-dark .pos-shortcuts kbd{
  color:#e8f1fb;
}

.admin-body.admin-dark .pos-shortcuts kbd{
  background:#17283c;
  border-color:#3a506a;
}

.admin-body.admin-dark .pos-sale-security{
  background:#173027;
  border-color:#285441;
  color:#b9d9ca;
}

@media(max-width:1000px){
  .pos-brand-hero{
    grid-template-columns:62px 1fr;
  }

  .pos-brand-operation{
    grid-column:1/-1;
    min-width:0;
  }

  .pos-command-strip{
    align-items:flex-start;
    flex-direction:column;
  }

  .pos-shortcuts{
    justify-content:flex-start;
  }
}

@media(max-width:620px){
  .pos-brand-hero{
    grid-template-columns:1fr;
    padding:18px;
  }

  .pos-brand-mark{
    width:52px;
    height:52px;
    border-radius:15px;
  }

  .pos-brand-title-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .pos-brand-statuses{
    display:grid;
    grid-template-columns:1fr;
  }

  .pos-command-main{
    min-width:0;
  }

  .pos-shortcuts{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }

  .pos-catalog-meta{
    align-items:flex-end;
    flex-direction:column;
  }

  .pos-search-helper{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
}

@media print{
  .admin-top,
  .erp-sidebar,
  .pos-tabs,
  .pos-brand-hero,
  .pos-page-title,
  .pos-command-strip,
  .pos-stats,
  .pos-session-strip,
  .pos-workspace,
  .pos-recent-panel,
  .pos-sale-side,
  .pos-print-button{
    display:none!important;
  }

  .admin-shell,
  .admin-content,
  .pos-page,
  .pos-sale-detail-grid{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }

  .pos-sale-detail-grid>section.panel{
    display:block!important;
    border:0!important;
    box-shadow:none!important;
  }
}

/* =====================================================
   ZEVVO SMART — PDV IMERSIVO / OPERADOR DE CAIXA
   ===================================================== */
.admin-body.admin-pdv-mode{
  min-height:100vh;
  overflow-x:hidden;
  background:#f3f7fb!important;
}

.admin-pdv-mode .pos-kiosk-topbar{
  position:sticky;
  top:0;
  z-index:80;
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:9px 18px;
  border-bottom:1px solid #d5e2ef;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 5px 18px rgba(15,23,42,.06);
}

.admin-pdv-mode .pos-kiosk-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.admin-pdv-mode .pos-kiosk-logo{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:12px;
  background:linear-gradient(135deg,#0875f5,#0ea5e9);
  color:#fff;
  font-size:1.25rem;
  font-weight:1000;
  box-shadow:0 7px 16px rgba(8,117,245,.22);
}

.admin-pdv-mode .pos-kiosk-brand strong,
.admin-pdv-mode .pos-kiosk-brand small{
  display:block;
}

.admin-pdv-mode .pos-kiosk-brand strong{
  color:#17324e;
  font-size:.98rem;
  white-space:nowrap;
}

.admin-pdv-mode .pos-kiosk-brand strong b{
  color:#0875f5;
}

.admin-pdv-mode .pos-kiosk-brand strong em{
  margin-left:5px;
  padding:3px 6px;
  border-radius:999px;
  background:#eaf4ff;
  color:#0875f5;
  font-size:.55rem;
  font-style:normal;
  font-weight:1000;
  letter-spacing:.08em;
}

.admin-pdv-mode .pos-kiosk-brand small{
  max-width:250px;
  margin-top:2px;
  overflow:hidden;
  color:#708398;
  font-size:.66rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.admin-pdv-mode .pos-kiosk-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}

.admin-pdv-mode .pos-kiosk-user{
  min-width:120px;
  padding-right:12px;
  margin-right:2px;
  border-right:1px solid #e0e8f0;
  text-align:right;
}

.admin-pdv-mode .pos-kiosk-user span,
.admin-pdv-mode .pos-kiosk-user strong{
  display:block;
}

.admin-pdv-mode .pos-kiosk-user span{
  color:#8999aa;
  font-size:.55rem;
  font-weight:900;
  letter-spacing:.08em;
}

.admin-pdv-mode .pos-kiosk-user strong{
  margin-top:2px;
  color:#23415f;
  font-size:.76rem;
}

.admin-pdv-mode .pos-kiosk-fullscreen,
.admin-pdv-mode .pos-kiosk-admin-link,
.admin-pdv-mode .pos-kiosk-logout{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border:1px solid #d6e1ec;
  border-radius:10px;
  background:#fff;
  color:#34516e;
  font-size:.7rem;
  font-weight:850;
  text-decoration:none!important;
  cursor:pointer;
}

.admin-pdv-mode .pos-kiosk-fullscreen:hover,
.admin-pdv-mode .pos-kiosk-admin-link:hover{
  border-color:#9fc6f0;
  background:#f3f8fe;
  color:#0875f5;
}

.admin-pdv-mode .pos-kiosk-logout{
  border-color:#fed7d7;
  background:#fff7f7;
  color:#b42318;
}

.admin-pdv-mode .pos-immersive-shell{
  display:block!important;
  width:100%!important;
  min-height:calc(100vh - 66px);
  margin:0!important;
  padding:0!important;
}

.admin-pdv-mode .pos-immersive-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:16px 20px 34px!important;
}

.admin-pdv-mode .pos-page{
  width:100%;
  max-width:1720px;
  margin:0 auto;
}

.admin-pdv-mode .pos-page-title{
  margin-bottom:12px;
}

.admin-pdv-mode .pos-page-title h1{
  font-size:1.8rem;
}

.admin-pdv-mode .pos-brand-hero{
  margin-bottom:12px;
  padding:17px 20px;
}

.admin-pdv-mode .pos-brand-mark{
  width:54px;
  height:54px;
}

.admin-pdv-mode .pos-tabs{
  margin-bottom:12px;
}

.admin-pdv-mode .pos-stats{
  margin-bottom:12px;
}

.admin-pdv-mode .pos-stats article{
  min-height:96px;
  padding:14px 16px;
}

.admin-pdv-mode .pos-command-strip{
  margin-bottom:12px;
}

.admin-pdv-mode .pos-workspace{
  grid-template-columns:minmax(0,1.55fr) minmax(380px,.72fr);
  gap:12px;
}

.admin-pdv-mode .pos-catalog-panel,
.admin-pdv-mode .pos-cart-panel{
  min-height:610px;
}

.admin-pdv-mode .pos-product-list{
  max-height:520px;
}

.admin-pdv-mode .pos-cart-panel{
  top:78px;
}

.admin-pdv-mode .pos-recent-panel{
  margin-top:12px;
}

.admin-body.admin-dark.admin-pdv-mode{
  background:#0e1825!important;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-topbar{
  border-color:#24364b;
  background:rgba(18,31,48,.96);
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-brand strong,
.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-user strong{
  color:#edf4fb;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-brand small,
.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-user span{
  color:#91a4b9;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-user{
  border-color:#2b3d52;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-fullscreen,
.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-admin-link{
  border-color:#30445d;
  background:#17283c;
  color:#d7e5f2;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-logout{
  border-color:#603838;
  background:#2e2024;
  color:#fecaca;
}

@media(max-width:980px){
  .admin-pdv-mode .pos-kiosk-user{
    display:none;
  }

  .admin-pdv-mode .pos-workspace{
    grid-template-columns:1fr;
  }

  .admin-pdv-mode .pos-cart-panel{
    position:static;
    min-height:0;
  }

  .admin-pdv-mode .pos-catalog-panel{
    min-height:0;
  }
}

@media(max-width:700px){
  .admin-pdv-mode .pos-kiosk-topbar{
    align-items:flex-start;
    flex-direction:column;
    padding:10px 12px;
  }

  .admin-pdv-mode .pos-kiosk-actions{
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:2px;
  }

  .admin-pdv-mode .pos-kiosk-fullscreen,
  .admin-pdv-mode .pos-kiosk-admin-link,
  .admin-pdv-mode .pos-kiosk-logout{
    flex:none;
  }

  .admin-pdv-mode .pos-immersive-content{
    padding:12px!important;
  }

  .admin-pdv-mode .pos-page-title h1{
    font-size:1.5rem;
  }
}

@media(max-width:520px){
  .admin-pdv-mode .pos-kiosk-brand strong em{
    display:none;
  }

  .admin-pdv-mode .pos-kiosk-fullscreen{
    display:none;
  }
}

@media(min-width:1400px){
  .admin-pdv-mode .pos-workspace{
    grid-template-columns:minmax(0,1.7fr) minmax(420px,.65fr);
  }

  .admin-pdv-mode .pos-product-list{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* =====================================================
   ZEVVO SMART — PDV CORES FORTES + AÇÕES FISCAIS
   ===================================================== */
.admin-pdv-mode .pos-stats article{
  border:0!important;
  box-shadow:0 12px 28px rgba(15,23,42,.16)!important;
}

.admin-pdv-mode .pos-stats article:nth-child(1){
  background:linear-gradient(135deg,#0875f5,#005fd1)!important;
}

.admin-pdv-mode .pos-stats article:nth-child(2){
  background:linear-gradient(135deg,#16a34a,#0b8f3b)!important;
}

.admin-pdv-mode .pos-stats article:nth-child(3){
  background:linear-gradient(135deg,#06b6d4,#0891b2)!important;
}

.admin-pdv-mode .pos-stats article:nth-child(4){
  background:linear-gradient(135deg,#7c3aed,#5b21b6)!important;
}

.admin-pdv-mode .pos-stats article span,
.admin-pdv-mode .pos-stats article strong,
.admin-pdv-mode .pos-stats article small{
  color:#fff!important;
}

.admin-pdv-mode .pos-tabs{
  border-color:#cdddeb;
  box-shadow:0 9px 22px rgba(15,23,42,.08);
}

.admin-pdv-mode .pos-tabs a.active{
  background:linear-gradient(135deg,#0875f5,#005ed0)!important;
  box-shadow:0 7px 16px rgba(8,117,245,.24);
}

.admin-pdv-mode .pos-session-strip{
  border:0!important;
  background:linear-gradient(135deg,#0d3a66,#0b5a96)!important;
  box-shadow:0 10px 24px rgba(11,74,126,.18);
}

.admin-pdv-mode .pos-session-strip div span{
  color:#a9d7ff!important;
}

.admin-pdv-mode .pos-session-strip div strong{
  color:#fff!important;
}

.admin-pdv-mode .pos-session-strip .button{
  border-color:rgba(255,255,255,.22)!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
}

.admin-pdv-mode .pos-command-strip{
  border:0!important;
  background:linear-gradient(135deg,#fff4d6,#ffe7a4)!important;
  box-shadow:0 8px 22px rgba(171,116,0,.10);
}

.admin-pdv-mode .pos-command-icon{
  background:#f59e0b!important;
  color:#fff!important;
}

.admin-pdv-mode .pos-scanner-chip{
  border:0!important;
  background:#16a34a!important;
  color:#fff!important;
}

.admin-pdv-mode .pos-payment-options label:nth-child(1) input:checked+span{
  border-color:#16a34a!important;
  background:#16a34a!important;
  color:#fff!important;
}

.admin-pdv-mode .pos-payment-options label:nth-child(2) input:checked+span{
  border-color:#06b6d4!important;
  background:#06b6d4!important;
  color:#fff!important;
}

.admin-pdv-mode .pos-payment-options label:nth-child(3) input:checked+span{
  border-color:#7c3aed!important;
  background:#7c3aed!important;
  color:#fff!important;
}

.pos-sale-action-center{
  margin:16px 0 18px;
  padding:18px;
  border:1px solid #d8e5f1;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff,#f5f9fd);
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.pos-action-center-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.pos-action-center-head h3{
  margin:2px 0 0;
  color:#16324d;
  font-size:1.05rem;
}

.pos-fiscal-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  white-space:nowrap;
}

.pos-fiscal-status.is-neutral{
  background:#e9eef4;
  color:#52687e;
}

.pos-fiscal-status.is-authorized{
  background:#16a34a;
  color:#fff;
}

.pos-fiscal-status.is-cancelled,
.pos-fiscal-status.is-error{
  background:#dc2626;
  color:#fff;
}

.pos-fiscal-status.is-draft{
  background:#f59e0b;
  color:#fff;
}

.pos-fiscal-status.is-processing{
  background:#0875f5;
  color:#fff;
}

.pos-sale-action-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.pos-sale-action-form{
  margin:0!important;
}

.pos-sale-action{
  width:100%;
  min-height:88px;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px;
  padding:13px!important;
  border:0!important;
  border-radius:14px!important;
  color:#fff!important;
  text-align:left!important;
  text-decoration:none!important;
  box-shadow:0 9px 20px rgba(15,23,42,.13)!important;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease;
}

button.pos-sale-action{
  font:inherit;
}

.pos-sale-action:hover:not(.is-disabled){
  transform:translateY(-2px);
  box-shadow:0 13px 25px rgba(15,23,42,.18)!important;
}

.pos-sale-action .icon{
  min-width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:11px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:10px;
  font-weight:1000;
  letter-spacing:-.02em;
}

.pos-sale-action strong,
.pos-sale-action small{
  display:block;
  color:inherit!important;
}

.pos-sale-action strong{
  font-size:12px;
  font-weight:950;
}

.pos-sale-action small{
  margin-top:4px;
  opacity:.88;
  font-size:9px;
  line-height:1.35;
}

.pos-sale-action.action-blue{
  background:linear-gradient(135deg,#0875f5,#005ecb)!important;
}

.pos-sale-action.action-green{
  background:linear-gradient(135deg,#16a34a,#087c35)!important;
}

.pos-sale-action.action-indigo{
  background:linear-gradient(135deg,#4f46e5,#3730a3)!important;
}

.pos-sale-action.action-purple{
  background:linear-gradient(135deg,#7c3aed,#5b21b6)!important;
}

.pos-sale-action.action-red{
  background:linear-gradient(135deg,#ef4444,#b91c1c)!important;
}

.pos-sale-action.action-orange{
  background:linear-gradient(135deg,#f97316,#c2410c)!important;
}

.pos-sale-action.action-teal{
  background:linear-gradient(135deg,#14b8a6,#0f766e)!important;
}

.pos-sale-action.action-muted{
  background:#e7edf4!important;
  color:#718296!important;
  box-shadow:none!important;
}

.pos-sale-action.action-muted .icon{
  background:#d7e0e9;
  color:#6f8297;
}

.pos-sale-action.is-disabled{
  cursor:not-allowed;
  opacity:.82;
}

.pos-return-docs{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:13px;
  padding-top:12px;
  border-top:1px dashed #d7e1eb;
}

.pos-return-docs>strong{
  color:#425a72;
  font-size:10px;
}

.pos-return-docs a{
  padding:5px 8px;
  border-radius:8px;
  background:#e7faf6;
  color:#0f766e;
  font-size:9px;
  font-weight:850;
  text-decoration:none;
}

.pos-cancel-sale-panel{
  border:2px solid #fecaca!important;
  background:linear-gradient(180deg,#fffafa,#fff4f4)!important;
}

.pos-cancel-sale-panel .pos-eyebrow{
  color:#dc2626;
}

.pos-cancel-sale-panel .button{
  border-color:#dc2626!important;
  background:#dc2626!important;
  color:#fff!important;
}

.pos-receipt-stage{
  max-width:650px;
  margin:0 auto;
}

.pos-receipt-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}

.pos-thermal-receipt{
  width:min(100%,360px);
  margin:0 auto;
  padding:22px 18px;
  border:1px solid #d8d8d8;
  background:#fff;
  color:#111;
  font-family:"Courier New",monospace;
  box-shadow:0 18px 45px rgba(15,23,42,.16);
}

.pos-thermal-receipt header,
.pos-thermal-receipt footer{
  text-align:center;
}

.pos-thermal-receipt header strong{
  display:block;
  font-size:16px;
}

.pos-thermal-receipt header span,
.pos-thermal-receipt footer span,
.pos-thermal-receipt footer small{
  display:block;
  margin-top:4px;
  font-size:10px;
  line-height:1.35;
}

.pos-receipt-separator{
  margin:12px 0;
  border-top:1px dashed #222;
}

.pos-receipt-info{
  display:grid;
  gap:4px;
  font-size:10px;
}

.pos-receipt-item{
  display:grid;
  gap:4px;
  margin-bottom:8px;
  font-size:10px;
}

.pos-receipt-item>strong{
  line-height:1.35;
}

.pos-receipt-item>span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.pos-receipt-item b{
  margin-left:auto;
}

.pos-receipt-totals{
  display:grid;
  gap:5px;
  font-size:10px;
}

.pos-receipt-totals>span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.pos-receipt-totals .total{
  margin:3px 0;
  padding:7px 0;
  border-top:1px solid #111;
  border-bottom:1px solid #111;
  font-size:13px;
  font-weight:900;
}

.admin-body.admin-dark .pos-sale-action-center{
  border-color:#2c3e54;
  background:linear-gradient(180deg,#142236,#111d2e);
}

.admin-body.admin-dark .pos-action-center-head h3{
  color:#edf4fb;
}

.admin-body.admin-dark .pos-sale-action.action-muted{
  background:#27384d!important;
  color:#9eb0c2!important;
}

.admin-body.admin-dark .pos-cancel-sale-panel{
  border-color:#6f3030!important;
  background:#2b2025!important;
}

.admin-body.admin-dark .pos-thermal-receipt{
  color:#111!important;
  background:#fff!important;
}

@media(max-width:1050px){
  .pos-sale-action-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .pos-action-center-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .pos-sale-action-grid{
    grid-template-columns:1fr;
  }

  .pos-receipt-toolbar{
    align-items:stretch;
    flex-direction:column;
  }

  .pos-receipt-toolbar .button{
    width:100%;
    justify-content:center;
  }
}

@media print{
  body.admin-pdv-mode{
    background:#fff!important;
  }

  .admin-pdv-mode .pos-kiosk-topbar,
  .admin-pdv-mode .pos-page-title,
  .admin-pdv-mode .pos-brand-hero,
  .admin-pdv-mode .pos-tabs,
  .admin-pdv-mode .pos-receipt-toolbar{
    display:none!important;
  }

  .admin-pdv-mode .pos-immersive-content{
    padding:0!important;
  }

  .pos-receipt-stage{
    width:80mm!important;
    max-width:80mm!important;
    margin:0!important;
  }

  .pos-thermal-receipt{
    width:80mm!important;
    max-width:80mm!important;
    margin:0!important;
    padding:4mm!important;
    border:0!important;
    box-shadow:none!important;
  }
}

/* PDV UNIVERSAL — operação multissegmento */
.pos-payment-options{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.pos-payment-options label:nth-child(4) input:checked+span{
  border-color:#f97316!important;
  background:#f97316!important;
  color:#fff!important;
}
.pos-mixed-payment-wrap{
  padding:13px;
  border:2px solid #f7c46b;
  border-radius:14px;
  background:#fff8e7;
}
.pos-mixed-payment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.pos-mixed-payment-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.pos-discount-permission{
  display:block;
  margin:-6px 0 8px;
  color:#60758b;
}
.pos-manager-pin-wrap{
  padding:10px;
  border:1px solid #f3c36b;
  border-radius:12px;
  background:#fff8e8;
}
.pos-final-actions{
  display:grid;
  grid-template-columns:minmax(145px,.6fr) minmax(0,1.4fr);
  gap:9px;
}
.pos-hold-sale{
  border-color:#f59e0b!important;
  background:#fff4d6!important;
  color:#a15c00!important;
}
.pos-held-sales-panel{
  margin-top:12px;
  border-top:4px solid #f59e0b!important;
}
.pos-held-count{
  padding:5px 9px;
  border-radius:999px;
  background:#fff1c2;
  color:#9a5b00;
  font-size:10px;
  font-weight:900;
}
.pos-held-sales-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.pos-held-sales-grid>article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px;
  border:1px solid #e2e9f0;
  border-radius:14px;
  background:#fbfdff;
}
.pos-held-sales-grid strong,
.pos-held-sales-grid small{
  display:block;
}
.pos-held-sales-grid small{
  margin-top:4px;
  color:#77899c;
}
.pos-held-actions{
  display:flex;
  gap:6px;
}
.pos-held-actions form{
  margin:0;
}
.pos-return-panel{
  border-top:4px solid #14b8a6!important;
}
.pos-return-item-list{
  display:grid;
  gap:8px;
  margin:12px 0;
}
.pos-return-item-list label{
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  align-items:center;
  gap:10px;
  padding:9px;
  border:1px solid #dce7ef;
  border-radius:11px;
}
.pos-return-item-list strong,
.pos-return-item-list small{
  display:block;
}
.pos-return-item-list small{
  margin-top:3px;
  color:#7a8c9e;
}
.pos-return-history article{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid #e8eef4;
}
.pos-return-history small{
  display:block;
  margin-top:3px;
  color:#7b8da0;
}
.pos-sale-payment-breakdown{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:10px 0;
}
.pos-sale-payment-breakdown span{
  padding:6px 8px;
  border-radius:9px;
  background:#eef6ff;
  color:#3d5872;
  font-size:10px;
}
.pos-sale-payment-breakdown strong{
  margin-left:4px;
  color:#0875f5;
}
.pos-report-hero{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
  padding:20px;
  border-radius:20px;
  background:linear-gradient(135deg,#0b325b,#0875f5);
  color:#fff;
}
.pos-report-hero .pos-eyebrow,
.pos-report-hero p{
  color:#d7eaff!important;
}
.pos-report-hero h2{
  color:#fff;
}
.pos-report-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.pos-report-stats article{
  padding:15px;
  border-radius:15px;
  color:#fff;
  box-shadow:0 9px 22px rgba(15,23,42,.13);
}
.pos-report-stats article:nth-child(1){background:linear-gradient(135deg,#0875f5,#005fd1)}
.pos-report-stats article:nth-child(2){background:linear-gradient(135deg,#16a34a,#07843a)}
.pos-report-stats article:nth-child(3){background:linear-gradient(135deg,#7c3aed,#5b21b6)}
.pos-report-stats article:nth-child(4){background:linear-gradient(135deg,#14b8a6,#0f766e)}
.pos-report-stats article:nth-child(5){background:linear-gradient(135deg,#ef4444,#b91c1c)}
.pos-report-stats article:nth-child(6){background:linear-gradient(135deg,#f97316,#c2410c)}
.pos-report-stats span,
.pos-report-stats strong,
.pos-report-stats small{
  display:block;
  color:#fff!important;
}
.pos-report-stats strong{
  margin:5px 0;
  font-size:20px;
}
.pos-report-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr);
  gap:14px;
}
.pos-payment-report-list{
  display:grid;
  gap:8px;
}
.pos-payment-report-list article{
  display:flex;
  justify-content:space-between;
  padding:10px;
  border-radius:11px;
  background:#f5f9fd;
}
.pos-universal-settings{
  margin-top:14px;
  border-top:4px solid #0875f5!important;
}
.pos-fraction-badge{
  display:inline-flex;
  padding:3px 6px;
  border-radius:999px;
  background:#e8f8ef;
  color:#15803d;
  font-size:8px;
  font-weight:900;
}
.admin-body.admin-dark .pos-mixed-payment-wrap,
.admin-body.admin-dark .pos-manager-pin-wrap{
  border-color:#6b5226;
  background:#2a251c;
}
.admin-body.admin-dark .pos-held-sales-grid>article,
.admin-body.admin-dark .pos-payment-report-list article{
  border-color:#2d4055;
  background:#17273a;
}
@media(max-width:900px){
  .pos-payment-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pos-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pos-report-grid{grid-template-columns:1fr}
  .pos-held-sales-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .pos-mixed-payment-grid{grid-template-columns:1fr}
  .pos-final-actions{grid-template-columns:1fr}
  .pos-report-stats{grid-template-columns:1fr}
  .pos-held-sales-grid>article{align-items:flex-start;flex-direction:column}
}

/* PDV universal — fechamento, permissões e cupom 58/80 mm */
.pos-cash-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:16px 0 10px;
}
.pos-cash-summary-grid>div{
  padding:11px;
  border:1px solid #d9e6f1;
  border-radius:12px;
  background:#f7fbff;
}
.pos-cash-summary-grid span,
.pos-cash-summary-grid strong{
  display:block;
}
.pos-cash-summary-grid span{
  color:#6f8398;
  font-size:9px;
  font-weight:850;
}
.pos-cash-summary-grid strong{
  margin-top:4px;
  color:#173b5e;
  font-size:15px;
}
.pos-discount-permission.is-ok,
.pos-discount-permission.is-free{
  color:#16805a;
  font-weight:800;
}
.pos-discount-permission.is-warning{
  color:#b45309;
  font-weight:900;
}
.pos-mixed-remaining{
  font-weight:850;
}
.pos-mixed-remaining.is-pending{color:#b45309}
.pos-mixed-remaining.is-complete{color:#15803d}
.pos-mixed-remaining.is-change{color:#0875f5}
.pos-thermal-receipt.receipt-58{
  width:min(100%,280px);
}
@media print{
  .pos-receipt-stage:has(.receipt-58){
    width:58mm!important;
    max-width:58mm!important;
  }
  .pos-thermal-receipt.receipt-58{
    width:58mm!important;
    max-width:58mm!important;
    padding:3mm!important;
  }
}
.admin-body.admin-dark .pos-cash-summary-grid>div{
  border-color:#2d4055;
  background:#17273a;
}
.admin-body.admin-dark .pos-cash-summary-grid strong{
  color:#e5f2ff;
}
@media(max-width:560px){
  .pos-cash-summary-grid{grid-template-columns:1fr}
}

/* Consulta rápida de preço */
.pos-search-helper-actions{
  display:flex;
  align-items:center;
  gap:7px;
}
.pos-search-helper-actions button{
  border:1px solid #cdddea;
  border-radius:9px;
  background:#fff;
  color:#315474;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}
#pos-price-check-button{
  border-color:#7dd3fc;
  background:#e8f8ff;
  color:#0369a1;
}
.pos-price-check-result{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:9px 0;
  padding:13px 14px;
  border-radius:13px;
}
.pos-price-check-result div>span,
.pos-price-check-result div>strong,
.pos-price-check-result div>small{
  display:block;
}
.pos-price-check-result div>span{
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
}
.pos-price-check-result div>strong{
  margin-top:2px;
  color:#123450;
}
.pos-price-check-result div>small{
  margin-top:3px;
  color:#668096;
}
.pos-price-check-result>b{
  flex:none;
  font-size:20px;
}
.pos-price-check-result.is-found{
  border:2px solid #22c55e;
  background:#edfff3;
}
.pos-price-check-result.is-found div>span,
.pos-price-check-result.is-found>b{
  color:#15803d;
}
.pos-price-check-result.is-empty{
  border:1px solid #f7c66a;
  background:#fff8e8;
}
.pos-price-check-result.is-empty strong,
.pos-price-check-result.is-empty span{
  display:block;
}
.pos-price-check-result.is-empty span{
  margin-top:3px;
  color:#876326;
  font-size:9px;
}
.admin-body.admin-dark .pos-price-check-result.is-found{
  border-color:#247b48;
  background:#173226;
}
.admin-body.admin-dark .pos-price-check-result div>strong{
  color:#e8f5ff;
}
@media(max-width:560px){
  .pos-search-helper{
    align-items:flex-start!important;
    flex-direction:column;
  }
  .pos-search-helper-actions{
    width:100%;
  }
  .pos-search-helper-actions button{
    flex:1;
  }
}

/* =====================================================
   ZEVVO SMART — IDENTIDADE OFICIAL NO PDV
   ===================================================== */
.admin-pdv-mode .pos-kiosk-brand{
  gap:9px;
}

.admin-pdv-mode .pos-kiosk-brand-logo{
  display:block;
  width:184px;
  height:auto;
  flex:none;
}

.admin-pdv-mode .pos-kiosk-brand-meta{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.admin-pdv-mode .pos-kiosk-pdv-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:999px;
  background:#e8f3ff;
  color:#0875f5;
  font-size:.58rem;
  font-weight:950;
  letter-spacing:.08em;
}

.admin-pdv-mode .pos-kiosk-brand-meta small{
  display:block;
  max-width:220px;
  overflow:hidden;
  color:#708398;
  font-size:.66rem;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.pos-brand-mark{
  overflow:hidden;
  border:0!important;
  background:transparent!important;
  box-shadow:0 12px 26px rgba(0,94,214,.28)!important;
}

.pos-brand-mark img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:18px;
}

.admin-pdv-mode .pos-brand-mark img{
  border-radius:15px;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-brand-logo{
  padding:4px 7px;
  border-radius:10px;
  background:#fff;
}

@media(max-width:760px){
  .admin-pdv-mode .pos-kiosk-brand-logo{
    width:150px;
  }

  .admin-pdv-mode .pos-kiosk-brand-meta small{
    display:none;
  }
}

@media(max-width:520px){
  .admin-pdv-mode .pos-kiosk-brand-logo{
    width:132px;
  }

  .admin-pdv-mode .pos-kiosk-pdv-badge{
    padding:3px 6px;
  }
}

/* ZEVVO SMART — cabeçalho PDV com ícone oficial */
.admin-pdv-mode .pos-kiosk-brand-icon{
  width:46px;
  height:46px;
  display:block;
  flex:none;
  border-radius:12px;
  object-fit:contain;
  box-shadow:0 7px 16px rgba(8,117,245,.20);
}

.admin-pdv-mode .pos-kiosk-wordmark{
  min-width:0;
}

.admin-pdv-mode .pos-kiosk-wordmark-line{
  display:flex;
  align-items:center;
  gap:8px;
}

.admin-pdv-mode .pos-kiosk-wordmark-line strong{
  color:#152f49;
  font-size:1.15rem;
  font-weight:900;
  letter-spacing:-.025em;
  white-space:nowrap;
}

.admin-pdv-mode .pos-kiosk-wordmark-line strong b{
  color:#0875f5;
  font-weight:800;
}

.admin-pdv-mode .pos-kiosk-wordmark small{
  display:block;
  max-width:230px;
  margin-top:2px;
  overflow:hidden;
  color:#708398;
  font-size:.68rem;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.admin-body.admin-dark.admin-pdv-mode .pos-kiosk-wordmark-line strong{
  color:#f1f6fb;
}

@media(max-width:760px){
  .admin-pdv-mode .pos-kiosk-brand-icon{
    width:40px;
    height:40px;
  }

  .admin-pdv-mode .pos-kiosk-wordmark-line strong{
    font-size:1rem;
  }
}

/* ZEVVO SMART — remover qualquer halo/borda do ícone */
.admin-pdv-mode .pos-kiosk-brand-icon,
.pos-brand-mark,
.pos-brand-mark img{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

.admin-pdv-mode .pos-kiosk-brand-icon,
.pos-brand-mark img{
  display:block;
  object-fit:cover;
}

.admin-pdv-mode .pos-kiosk-brand-icon{
  overflow:hidden;
  border-radius:12px;
}

.pos-brand-mark{
  overflow:hidden;
}

.pos-brand-mark img{
  width:100%;
  height:100%;
  border-radius:inherit;
}
