/* Search page: form, sorts, result count, match highlighting. */

@layer components {
  .search {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5ch;
  }

  .search__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .search__sorts {
    display: flex;
    gap: 0.75ch;

    .input {
      flex: 1;
      min-inline-size: 0;
    }
  }

  .search__count {
    font-size: var(--text-small);
    color: var(--color-text-subtle);
  }

  .search__cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75ch;
    margin-block-start: 0.5rem;
  }

  .deal-row__title mark {
    background: var(--color-mark);
    color: inherit;
    border-radius: var(--radius-xs);
    padding-inline: 0.125rem;
  }
}
