.bottom-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-form-container {
  flex-shrink: 1;
  min-width: 0;
}

.bottom-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .bottom-search {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form-container {
    width: 100%;
    margin-bottom: 15px;
  }

  .bottom-links {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
  }
}