.mk-header-search {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 640px;
  height: 40px;
  border-radius: 999px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.mk-header-search .search-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
  opacity: 0.45;
}

.mk-header-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.75);
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.mk-header-search-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.mk-header-search-input:focus {
  outline: none;
}

.mk-header-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1200;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 14px 30px rgba(22, 16, 12, 0.16);
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}

.mk-header-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  border-radius: 10px;
  padding: 10px 12px;
  color: #1f1f1f;
  text-decoration: none;
}

.mk-header-search-item:hover,
.mk-header-search-item.is-active {
  background: #f5f0ec;
}

.mk-header-search-item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.mk-header-search-item-price {
  color: rgba(0, 0, 0, 0.75);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.mk-header-search-empty {
  display: block;
  color: rgba(0, 0, 0, 0.62);
  font-size: 13px;
  line-height: 1.35;
  padding: 8px 10px;
}

@media (max-width: 980px) {
  .mk-header-search {
    display: none;
  }
}
