/* --- Mini HStack Overlap Styles --- */
.mini-hstack-overlap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  z-index: 10;
  display: flex;
  flex-direction: column; /* 🔄 Key change: make it vertical */
  justify-content: center;
  pointer-events: auto;
}
.mini-hstack-overlap .home-mini-hstack-wrap {
  box-shadow: 0 4px 24px 0 rgba(35,64,142,0.10);
}
@media (max-width: 900px) {
  .mini-hstack-overlap {
    position: static;
    margin-top: 0;
    bottom: auto;
    z-index: auto;
  }
}
/* --- Home Mini HStack Styles --- */
.home-mini-hstack-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px auto;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.home-mini-hstack-item {
  background: #fff;
  color: #111;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 7px 18px;
  box-shadow: 0 1px 4px rgba(35,64,142,0.06);
  min-width: 60px;
  text-align: center;
  letter-spacing: 0.2px;
}

/* --- Home Search Overview HStack Styles --- */
.home-search-overview-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 32px auto;
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(35,64,142,0.08);
  padding: 18px 18px 18px 18px;
  align-items: center;
  justify-content: center;
}
.home-search-overview-input {
  background: #eaf2ff;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1.01rem;
  font-family: inherit;
  outline: none;
  min-width: 120px;
  flex: 1 1 0;
}
.home-search-overview-select {
  background: #eaf2ff;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 14px 32px 14px 18px; /* extra right padding for chevron */
  font-size: 1.01rem;
  font-family: inherit;
  outline: none;
  min-width: 120px;
  flex: 1 1 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%232563eb" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
}
.home-search-overview-btn {
  background: var(--hr-primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 1px;
}
.home-search-overview-btn:hover {
  background: #1746a2;
}
@media (max-width: 900px) {
  .home-mini-hstack-wrap, .home-search-overview-wrap {
    flex-direction: column;
    gap: 10px;
    padding: 10px 4px;
    max-width: 100vw;
  }
  .home-search-overview-btn {
    width: 100%;
    padding: 14px 0;
  }
}

@media (max-width: 900px) {
  /* 🟦 VStack wrapper: each row has a row of 3 icons */
.home-mini-hstack-wrap {
    flex-direction: row; /* HStack layout */
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    flex-wrap: nowrap;
    max-width: 100vw;
  }
  .home-mini-hstack-row {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  /* 🟦 For Search Overview: input 75%, button 25% */
  .home-search-overview-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    max-width: 100vw;
  }

  .home-search-overview-select {
    display: none;
  }

  .home-search-overview-input {
    flex: 0 0 75%;
    width: 75%;
  }

  .home-search-overview-btn {
    flex: 0 0 25%;
    width: 25%;
    padding: 12px 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }
}
