/* ============================================================
   АЗБУКА СЕВЕРА — оформление своей выпадашки поиска.
   Компактный список: название слева, вес + цена справа.
   Перебивает штатные правила app.css (они рассчитаны на панель
   с картинками, которых в ответе поиска нет → пустоты).
   ============================================================ */

#search-name.header-search-dropdown {
  position: absolute !important;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 30, 50, .14);
  max-height: 70vh;
  overflow-y: auto;
  padding: 0 !important;
}

#search-name .header-search-dropdown__list { display: block !important; padding: 6px 0 !important; margin: 0 !important; }

#search-name .header-search-dropdown__item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 0 !important;
  height: auto !important;
  padding: 11px 18px !important;
  margin: 0 !important;
  border: 0 !important;
  background: #fff !important;
  transition: background .12s ease;
}
#search-name .header-search-dropdown__item:hover { background: #f5f8ff !important; }

/* миниатюра товара */
#search-name .header-search-dropdown__pic {
  flex: 0 0 auto;
  width: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f2f4;
  display: block;
}
#search-name .header-search-dropdown__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#search-name .header-search-dropdown__title {
  flex: 1 1 auto;
  min-width: 0;
  color: #1f2733 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  border: 0 !important;
}
#search-name .header-search-dropdown__item:hover .header-search-dropdown__title { color: #1f6feb !important; }

#search-name .header-search-dropdown__meta {
  display: flex !important;
  flex-direction: row !important;   /* app.css ставит column → вес/цена в столбик; чиним */
  align-items: baseline;
  gap: 14px;
  flex: 0 0 auto;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}
#search-name .header-search-dropdown__counter {
  margin: 0 !important;
  padding: 0 !important;
  color: #8a95a3 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  white-space: nowrap;
}
#search-name .header-search-dropdown__price-wrapper { margin: 0 !important; padding: 0 !important; }
#search-name .header-search-dropdown__price-current {
  margin: 0 !important;
  padding: 0 !important;
  color: #1f2733 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

/* «ничего не найдено» */
#search-name .header-search-dropdown__empty {
  padding: 18px !important;
  text-align: center;
  color: #8a95a3;
  font-size: 14px;
}

/* футер «Все результаты» */
#search-name .header-search-dropdown__all {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  padding: 13px !important;
  border-top: 1px solid #f0f2f4;
  background: #f7f9fb;
  color: #1f6feb !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
#search-name .header-search-dropdown__all:hover { background: #eef3fb; }
#search-name .header-search-dropdown__all .icon--24 { width: 18px; height: 18px; fill: currentColor; }
