.customer-picker-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.customer-picker-row input[readonly] {
  background: #fff;
  cursor: pointer;
}

.customer-modal-box {
  max-width: 920px;
}

.customer-results {
  max-height: 62vh;
  overflow: auto;
}

.customer-card-list {
  display: grid;
  gap: 10px;
}

.customer-select-card {
  width: 100%;
  border: 1px solid #dce3eb;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  color: #111;
}

.customer-select-card:hover {
  background: #e7f1ff;
  border-color: #86b7fe;
  color: #084298;
}

.customer-card-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 5px;
}

.customer-card-main b {
  font-size: 15px;
}

.customer-card-main span {
  font-weight: 800;
  color: #0b5f99;
  white-space: nowrap;
}

.customer-card-detail,
.customer-card-address {
  color: #555;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 3px;
}

.items-table-outer {
  overflow-x: auto;
  max-width: 100%;
}

.items-table-outer .items-table {
  min-width: 1100px;
}

.items-table td {
  position: relative;
}

.product-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% - 6px);
  left: 8px;
  right: 8px;
  max-height: 260px;
  overflow: auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  padding: 6px;
}

.product-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  cursor: pointer;
}

.product-suggest-item:hover {
  background: #e7f1ff;
  color: #084298;
}

.product-suggest-name {
  font-weight: 900;
  line-height: 1.25;
}

.product-suggest-meta {
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.25;
}

@media (max-width: 700px) {
  .customer-picker-row {
    grid-template-columns: 1fr;
  }

  .customer-card-main {
    align-items: flex-start;
    flex-direction: column;
  }
}
