/* CRM_PRODUCT_PICKER_COMPONENT_V2 */
.product-picker-cell {
  position: relative;
}
.product-picker-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.product-picker-actions button {
  padding: 6px 8px;
  font-size: 11px;
}
.product-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  width: min(620px, calc(100vw - 48px));
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .16);
}
.product-suggestion {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 110px 150px;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  text-align: left;
}
.product-suggestion:last-child {
  border-bottom: 0;
}
.product-suggestion:hover,
.product-suggestion:focus-visible {
  background: #f8fafc;
}
.product-suggestion span {
  display: block;
}
.product-suggestion small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}
.product-suggestion-empty {
  padding: 12px;
  color: var(--muted);
}
.product-line-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef2f7;
  font-size: 10px;
  font-weight: 800;
}
.product-line-badge.active {
  background: #e8f8f1;
  color: #257a59;
}
.product-line-badge.pending {
  background: #fff3d8;
  color: #8b5b00;
}
.internal-price {
  background: #f8fafc;
}
.floor-delta.negative {
  background: #fff1f2;
  color: #b42318;
  font-weight: 800;
}
.floor-delta.positive {
  background: #effcf6;
  color: #257a59;
  font-weight: 800;
}
.customer-hidden-field::after {
  content: 'Nội bộ';
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .product-suggestions {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }
  .product-suggestion {
    grid-template-columns: 1fr;
  }
}
