/* =========================
   HERO – LIVE SEARCH (Home)
   ========================= */

/* Container block */
.hero-search { margin-top: 18px; }

/* Heading with blue accent bar */
.hero-search__label {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: .02em;
}
.hero-search__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 3px;
  background: #1790E3;
  border-radius: 2px;
  opacity: .95;
}

/* Input wrapper */
.hero-search__box {
  position: relative;
  width: 360px;
  max-width: 100%;
}

/* Input field */
.hero-search__input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 0;
  outline: 0;
  padding: 0 50px 0 14px;
  background: rgba(255,255,255,.96);
  color: #0b1520;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
    font-family: 'Montserrat', sans-serif; /* ← add this line */

}
.hero-search__input::placeholder { 
    color: #7a8a99;
      font-family: 'Montserrat', sans-serif; /* ← add this line */
}

/* Clear + Search buttons (layout only) */
.hero-search__submit,
.hero-search__clear {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* Clear (×) */
.hero-search__clear {
  right: 54px;
  width: 40px;
  color: #0b1520;
  font-size: 20px;
  line-height: 44px;
  opacity: .55;
}
.hero-search__clear:hover { opacity: .9; }

/* Search button (SVG provides its own style) */
.hero-search__submit {
  right: 4px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-search__submit img {
  display: block;
  width: 44px;
  height: 44px;
}

/* Dropdown container */
.hero-search__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 560px;
  max-width: min(92vw, 560px);
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(140%) blur(2px);
  border-radius: 12px;
  box-shadow: 0 20px 42px rgba(0,0,0,.22);
  overflow: hidden;
  z-index: 60;
}
.hero-search__empty {
  padding: 14px;
  font-size: 14px;
  color: #333;
}

/* Result item */
.hero-search__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: #0b1520;
}
.hero-search__item:hover,
.hero-search__item.is-active {
  background: #E9F4FF;
}
.hero-search__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f2f2;
}
.hero-search__meta {
  display: grid;
  gap: 4px;
  align-content: center;
}
.hero-search__title {
  font-weight: 700;
  font-size: 15px;
  color: #0b1520;
}
.hero-search__excerpt {
  font-size: 13px;
  color: #4b5a68;
}
.hero-search__price {
  font-size: 13px;
  font-weight: 700;
  color: #1790E3;
}

/* Responsive */
@media (max-width: 640px) {
  .hero-search__box { width: 100%; }
  .hero-search__dropdown { width: 100%; }
  .hero-search__label { font-size: 20px; }
}
