.search-product-header {
  display: flex;
  flex-flow: row nowrap;
  border-bottom: 1px solid var(--surface-border-color);
}

.search-product-field {
  display: flex;
  flex-flow: row nowrap;
  flex: 1;
  position: relative;
}

.search-product-field-icon {
  width: 56px;
  height: 56px;
  text-align: center;
  line-height: 56px;
  font-size: 16px;
  margin: 0 8px;
  color: var(--on-surface-secondary-color);
}

.search-product-field-entry {
  border: 0;
  width: 100%;
  height: 56px;
  font-size: 18px;
  line-height: 56px;
  padding: 0;
  padding-left: var(--spacing-tiny);
  color: var(--on-surface-primary-color);
}

.search-product-clean,
.search-product-close {
  position: relative;
  border: 0;
  background: transparent;
  height: 56px;
  font-size: 16px;
  cursor: pointer;
  color: var(--on-background-primary-color);
}

.search-product-clean {
  padding: 0 8px;
}

.search-product-close {
  width: 56px;
}

@media (pointer: fine) {
  .search-product-clean:hover,
  .search-product-close:hover {
    background: var(--background-color);
  }
}

.search-product-close::before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 40px;
  top: 8px;
  left: 0;
  background: var(--surface-border-color);
}

.search-product-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  height: 100%;
}

.search-product-footer {
  border-top: 1px solid var(--surface-border-color);
  padding: var(--spacing-medium);
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-end;
}

.search-product-footer.has-amount {
  justify-content: space-between;
}

.search-product-selected {
  padding: var(--spacing-medium);
  display: block;
}

.search-product-selected,
.search-product-amount {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--on-surface-primary-color);
}

.search-product-amount b {
  font-weight: var(--font-weight-bold);
}

.search-product-instruction {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.search-product-instruction span {
  font-size: var(--font-size-medium);
  line-height: var(--line-height-medium);
  color: var(--on-surface-secondary-color);
  width: 90%;
  max-width: 270px;
}

.search-product-instruction i {
  font-size: var(--font-size-x-large);
  line-height: var(--line-height-x-large);
  color: var(--link-color);
  margin-bottom: var(--spacing-medium);
}