/* --- Suggested Listings Autocomplete Styles --- */
.search-suggestions {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(9, 17, 98, 0.13), 0 1.5px 6px rgba(0, 0, 0, 0.07);
  z-index: 100;
  max-height: 400px;
  overflow-y: scroll;
  padding: 8px 0;
  border: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.search-suggestions::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.pro-suggestion {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  margin: 8px 14px;
  box-shadow: 0 2px 8px rgba(9, 17, 98, 0.04);
  transition: box-shadow 0.18s, background 0.18s;
  border: 1.5px solid #f3f4f8;
  cursor: pointer;
}
.pro-suggestion:hover {
  background: #f7faff;
  box-shadow: 0 4px 16px rgba(9, 17, 98, 0.1);
  border-color: #e0e6f7;
}
.suggestion-img-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  background: #f3f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.suggestion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.suggestion-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.suggestion-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.suggestion-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #091162;
  letter-spacing: 0.01em;
  text-align: start;
}
.suggestion-type-badge {
  background: #fff23a;
  color: #091162;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 2px 10px;
  margin-right: 4px;
  margin-left: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.suggestion-meta {
  font-size: 0.97rem;
  color: #6d6b6b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.suggestion-meta i {
  color: #0a8d3a;
  font-size: 1.05em;
}
.suggestion-bottom-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}
.suggestion-price {
  font-size: 1.05rem;
  color: #000000;
  font-weight: 600;
}
.suggestion-btn {
  background: #091162;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 18px;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: 0 1px 3px rgba(9, 17, 98, 0.07);
}
.suggestion-btn:hover {
  background: #fff23a;
  color: #091162;
}
.no-suggestions {
  padding: 18px;
  color: #888;
  text-align: center;
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .pro-suggestion {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px;
  }
  .suggestion-img-wrap {
    width: 100%;
    height: 48vw;
    max-height: 120px;
  }
  .suggestion-details {
    width: 100%;
  }
}
/* --- End Suggested Listings Styles --- */
