.hp-live-search {
  position: relative;
  width: 100%;
}

.hp-live-search__form {
  margin: 0;
}

.hp-live-search__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 100400;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(5, 142, 232, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(0, 72, 135, 0.16);
  backdrop-filter: blur(12px);
}

.hp-live-search__status {
  padding: 12px 14px;
  color: #4d6f92;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.hp-live-search__results {
  display: flex;
  flex-direction: column;
  max-height: min(58vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hp-live-search__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(5, 142, 232, 0.08);
  color: #061d44;
  text-decoration: none !important;
}

.hp-live-search__item:first-child {
  border-top: 0;
}

.hp-live-search__item:hover,
.hp-live-search__item:focus-visible {
  background: rgba(5, 142, 232, 0.06);
}

.hp-live-search__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f2f9ff;
  overflow: hidden;
}

.hp-live-search__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-live-search__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.hp-live-search__name {
  color: #061d44;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.hp-live-search__price {
  color: #058ee8;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.hp-live-search__price del {
  color: #7a94b0;
  font-weight: 700;
}

.hp-live-search__all {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid rgba(5, 142, 232, 0.12);
  background: linear-gradient(180deg, #f7fcff, #eef7ff);
  color: #058ee8 !important;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none !important;
}

.hp-mobile-drawer__search .hp-live-search__panel {
  position: relative;
  top: 10px;
  left: auto;
  right: auto;
}

.hipopo-redesign-chrome .hp-search > .hp-live-search,
.hipopo-hp-v3 .hp-search > .hp-live-search {
  flex: 1 1 auto;
  min-width: 0;
}

.hipopo-hp-v3 .hp-nav,
.hipopo-hp-v3 .hp-search-wrap,
.hipopo-hp-v3 .hp-search {
  overflow: visible !important;
}

@media (max-width: 767px) {
  .hipopo-hp-v3 .hp-nav .hp-live-search__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 100500;
    max-height: min(62vh, 380px);
  }

  .hipopo-hp-v3 .hp-nav .hp-live-search__results {
    max-height: min(50vh, 320px);
  }
}

body.hipopo-thursday-live .hp-live-search__panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(11, 21, 38, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

body.hipopo-thursday-live .hp-live-search__item {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #e6f0fa;
}

body.hipopo-thursday-live .hp-live-search__item:hover,
body.hipopo-thursday-live .hp-live-search__item:focus-visible {
  background: rgba(93, 216, 255, 0.08);
}

body.hipopo-thursday-live .hp-live-search__thumb {
  background: rgba(255, 255, 255, 0.06);
}

body.hipopo-thursday-live .hp-live-search__name {
  color: #e6f0fa;
}

body.hipopo-thursday-live .hp-live-search__price {
  color: #5dd8ff;
}

body.hipopo-thursday-live .hp-live-search__status {
  color: #9eb8d4;
}

body.hipopo-thursday-live .hp-live-search__all {
  background: rgba(255, 255, 255, 0.04);
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #5dd8ff !important;
}
