.selection-filter {
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 .7rem;
  border-radius: .4rem;
  color: #50564f;
  text-decoration: none;
  font-size: .7rem;
}

.selection-filter:hover,
.selection-filter.active {
  background: #edf1ed;
  color: #284c3b;
}

.selection-filter b {
  min-width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4ebe6;
}

.gallery-controls form {
  width: min(34rem, 75%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .45rem;
}

.gallery-controls form label {
  width: 100%;
}

.gallery-controls form button {
  padding: 0 1rem;
  border: 1px solid #284c3b;
  background: transparent;
  color: #284c3b;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4vw 4rem;
  color: #6d7068;
  font-size: .75rem;
}

.pagination div {
  display: flex;
  gap: .5rem;
}

.pagination a {
  padding: .75rem 1rem;
  border: 1px solid #d8d8d2;
  background: #fffefa;
  color: #284c3b;
  text-decoration: none;
}

@media (max-width: 600px) {
  .selection-filter {
    padding-inline: .45rem;
  }

  .gallery-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-controls form {
    width: 100%;
  }
}
