.vs-category-search {
  margin: 0 0 1rem;
  padding: .72rem .85rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 4px;
}

.vs-category-search__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .42rem;
}

.vs-category-search__label {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

.vs-category-search__scope {
  color: #777;
  font-size: .78rem;
  line-height: 1.2;
  text-align: right;
}

.vs-category-search__row {
  display: flex;
  gap: .45rem;
  align-items: stretch;
}

.vs-category-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: .48rem .7rem;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 3px;
  background: #fff;
}

.vs-category-search__input:focus {
  border-color: rgba(0, 0, 0, .55);
  outline: 0;
}

.vs-category-search__button,
.vs-category-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .48rem .9rem;
  border-radius: 3px;
  white-space: nowrap;
  text-decoration: none;
}

.vs-category-search__button {
  border: 0;
  cursor: pointer;
  background: #232323;
  color: #fff;
}

.vs-category-search__button:hover,
.vs-category-search__button:focus {
  background: #111;
  color: #fff;
}

.vs-category-search__clear {
  border: 1px solid rgba(0, 0, 0, .2);
  background: #fff;
  color: inherit;
}

.vs-category-search__clear:hover,
.vs-category-search__clear:focus {
  border-color: rgba(0, 0, 0, .4);
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767px) {
  .vs-category-search__heading {
    display: block;
  }

  .vs-category-search__scope {
    display: block;
    margin-top: .2rem;
    text-align: left;
  }
}

@media (max-width: 575px) {
  .vs-category-search {
    padding: .7rem;
  }

  .vs-category-search__row {
    flex-wrap: wrap;
  }

  .vs-category-search__input {
    flex-basis: 100%;
  }

  .vs-category-search__button,
  .vs-category-search__clear {
    flex: 1 1 auto;
  }
}
