/* InoveSys PDV visual 2026-08-22 */
.pdv-product-card {
  padding: 0 !important;
  overflow: hidden !important;
}
.pdv-product-card:focus-visible,
.pdv-product-card:focus {
  outline: 2px solid #059669;
  outline-offset: 1px;
  border-color: #059669 !important;
}
.pdv-card-photo {
  height: 8.25rem !important;
  background: #ffffff !important;
}
.pdv-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #ffffff;
}
.pdv-search-input {
  min-height: 46px;
  font-size: 0.95rem !important;
}
.pdv-cat-chips {
  scrollbar-width: thin;
}
.pdv-chip {
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.pdv-chip:hover { border-color: #34d399; color: #047857; }
.pdv-chip-on {
  background: #059669 !important;
  color: #fff !important;
  border-color: #047857 !important;
}
.pdv-total-row span:last-child {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #047857;
  font-variant-numeric: tabular-nums;
}
.pdv-cart .p-4.border-t { padding-top: 0.85rem; padding-bottom: 0.9rem; }

/* PDV hotkeys — centrado na coluna de produtos */
.mobile-pdv-products { position: relative !important; }
.pdv-product-grid { padding-bottom: 3.6rem !important; }
#pdv-hotkeys-bar {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0.65rem !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  width: max-content !important;
  max-width: calc(100% - 1.25rem) !important;
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 0.38rem 0.5rem !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  display: block !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.12), 0 1px 2px rgba(15,23,42,.06) !important;
}
#pdv-hotkeys-bar .pdv-hk-wrap {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.28rem !important;
  white-space: nowrap;
}
#pdv-hotkeys-bar .pdv-hk-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0 .3rem 0 .15rem;
  flex-shrink: 0;
}
#pdv-hotkeys-bar .pdv-hk-item,
#pdv-hotkeys-bar span.pdv-hk-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  padding: 0.18rem 0.42rem 0.18rem 0.22rem !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  border: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  letter-spacing: 0 !important;
  flex-shrink: 0;
}
#pdv-hotkeys-bar kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.28rem;
  padding: 0 .36rem;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 0 #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}
#pdv-hotkeys-bar .pdv-hk-primary {
  background: #ecfdf5 !important;
  color: #047857 !important;
}
#pdv-hotkeys-bar .pdv-hk-primary kbd {
  background: #059669;
  color: #fff;
  border-color: #047857;
  box-shadow: 0 1px 0 #065f46;
}
#pdv-hotkeys-bar b { display: none !important; }
@media (max-width: 1023px) {
  #pdv-hotkeys-bar {
    position: fixed !important;
    left: 50% !important;
    bottom: 4.7rem !important;
  }
}

/* keyboard selection after F4 */
.pdv-product-card.pdv-card-sel {
  border-color: #059669 !important;
  box-shadow: 0 0 0 2px #059669, 0 10px 22px rgba(15, 23, 42, 0.14) !important;
  transform: translateY(-2px);
  z-index: 2;
}
.pdv-product-card.pdv-card-sel .pdv-card-photo {
  background: #ecfdf5;
}

/* space between products and cart */
.mobile-pdv-root.pdv-pro {
  gap: 0.85rem !important;
}
body.pdv-fs .mobile-pdv-root.pdv-pro {
  gap: 0.7rem !important;
}
.mobile-pdv-products,
.mobile-pdv-cart.pdv-cart {
  min-width: 0;
}
