#of-sap .of-sap-product-search-field {
  position: relative;
}

#of-sap .of-sap-product-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #89919a;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 53, 72, 0.18);
}

#of-sap .of-sap-product-results button {
  display: grid;
  width: 100%;
  gap: 3px;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #223548;
  text-align: left;
}

#of-sap .of-sap-product-results button:hover,
#of-sap .of-sap-product-results button:focus-visible {
  outline: none;
  background: #eaf3fc;
}

#of-sap .of-sap-product-results button strong {
  color: #0a6ed1;
  font-size: 13px;
}

#of-sap .of-sap-product-results button span,
#of-sap .of-sap-product-empty {
  color: #475e75;
  font-size: 12px;
  line-height: 1.35;
}

#of-sap .of-sap-product-empty {
  padding: 12px 10px;
}

@media (max-width: 700px) {
  #of-sap .of-sap-product-results {
    max-height: min(320px, 45vh);
  }
}

#lotes-sap .inventory-audit-search-field {
  position: relative;
}

#lotes-sap .inventory-audit-search-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #89919a;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 53, 72, 0.18);
}

#lotes-sap .inventory-audit-search-results button {
  display: grid;
  width: 100%;
  gap: 3px;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #223548;
  text-align: left;
}

#lotes-sap .inventory-audit-search-results button:hover,
#lotes-sap .inventory-audit-search-results button:focus-visible {
  outline: none;
  background: #eaf3fc;
}

#lotes-sap .inventory-audit-search-results button strong {
  color: #0a6ed1;
  font-size: 13px;
}

#lotes-sap .inventory-audit-search-results button span,
#lotes-sap .inventory-audit-search-empty,
#lotes-sap .inventory-audit-search-loading {
  color: #475e75;
  font-size: 12px;
  line-height: 1.35;
}

#lotes-sap .inventory-audit-search-empty,
#lotes-sap .inventory-audit-search-loading {
  padding: 12px 10px;
}

#lotes-sap .inventory-audit-search-loading {
  display: flex;
  align-items: center;
  gap: 9px;
}

#lotes-sap .inventory-audit-search-loading span {
  width: 15px;
  height: 15px;
  border: 2px solid #b7c9da;
  border-top-color: #0a6ed1;
  border-radius: 50%;
  animation: inventory-audit-search-spin .7s linear infinite;
}

@keyframes inventory-audit-search-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  #lotes-sap .inventory-audit-search-results {
    max-height: min(320px, 45vh);
  }
}
