form.bestens-header-search {
  position: relative;
}

form.bestens-header-search input[type="search"] {
  padding-right: 44px;
}

form.bestens-header-search.is-loading::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid rgba(0,0,0,0.08);
  border-top-color: #47438c;
  border-radius: 50%;
  animation: sanag-hdr-spin 0.9s linear infinite;
  pointer-events: none;
  z-index: 10001;
}

@keyframes sanag-hdr-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sanag-hdr-search-dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10000;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.sanag-hdr-search-dd[hidden] {
  display: none;
}

.sanag-hdr-search-dd__status {
  padding: 12px 14px;
  font-size: 14px;
  opacity: 0.8;
}

.sanag-hdr-search-dd__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.sanag-hdr-search-dd__item:hover,
.sanag-hdr-search-dd__item:focus {
  background: rgba(0,0,0,0.04);
}

.sanag-hdr-search-dd__img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
}

.sanag-hdr-search-dd__title {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.sanag-hdr-search-dd__sub {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.8;
}

.sanag-hdr-search-dd__sku,
.sanag-hdr-search-dd__price {
  white-space: nowrap;
}

.sanag-hdr-search-dd .amount {
  font-size: 12px;
}
