.filters {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto;
  grid-gap: 0.75rem;
}
@media only screen and (max-width: 61.938rem) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 35.938rem) {
  .filters {
    grid-template-columns: 1fr;
  }
}
.filters .button {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.filters .button .inner {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.filters .button .subtext {
  font-family: "Source Sans Pro", Calibri, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.625rem;
  line-height: 1.2em;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
.filters__wrapper {
  padding-bottom: 0.75rem;
}
.filters__wrapper .button.hidden {
  display: none;
}
.filters__wrapper.active .filters__dropdown {
  display: block;
}
.filters__wrapper.active .filters {
  grid-template-columns: repeat(4, 1fr);
}
@media only screen and (max-width: 61.938rem) {
  .filters__wrapper.active .filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 35.938rem) {
  .filters__wrapper.active .filters {
    grid-template-columns: 1fr;
  }
}
.filters__wrapper.active .filters .button {
  display: none;
}
.filters__dropdown {
  display: none;
  position: absolute;
  z-index: 1;
  background-color: #FFFFFF;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #E9E9E9;
}
.filters__dropdownAnchor {
  position: relative;
}
.filters__dropdownWrap {
  padding-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  grid-gap: 0.75rem;
}
@media only screen and (max-width: 61.938rem) {
  .filters__dropdownWrap {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 35.938rem) {
  .filters__dropdownWrap {
    grid-template-columns: 1fr;
  }
}
.filters__dropdownFooter {
  padding-top: calc(1.5rem - 0.375rem);
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 35.938rem) {
  .filters__dropdownFooter {
    flex-direction: column;
  }
}
.filters__dropdownFooterLeft {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 35.938rem) {
  .filters__dropdownFooterLeft {
    flex-direction: column;
    align-items: stretch;
  }
}
.filters__dropdownFooterLeft .button {
  margin-right: 0.75rem;
}
@media only screen and (max-width: 35.938rem) {
  .filters__dropdownFooterLeft .button {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}
.filters__results {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}
@media only screen and (max-width: 35.938rem) {
  .filters__results {
    flex-direction: column;
    align-items: flex-start;
  }
}
.filters__resultsText {
  font-family: "Source Sans Pro", Calibri, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.6em;
}
@media only screen and (max-width: 47.938rem) {
  .filters__resultsText {
    font-size: 1.125rem;
  }
}
.filters__resultsButtons {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media only screen and (max-width: 35.938rem) {
  .filters__resultsButtons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}
.filters__resultsButtons .button {
  margin-left: 0.75rem;
}
@media only screen and (max-width: 35.938rem) {
  .filters__resultsButtons .button {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}
.productsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  grid-gap: 2rem;
}
.categoryGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  grid-gap: 2rem;
}
@media only screen and (max-width: 61.938rem) {
  .productsGrid {
    grid-template-columns: 1fr 1fr;
  }
  .categoryGrid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media only screen and (max-width: 47.938rem) {
  .productsGrid {
    grid-gap: 1rem;
  }
  .categoryGrid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
  }
}
@media only screen and (max-width: 35.938rem) {
  .productsGrid, .categoryGrid {
    grid-template-columns: 1fr;
  }
}
.paginationFooter {
  margin: 1rem -1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}
@media only screen and (max-width: 35.938rem) {
  .paginationFooter {
    grid-template-columns: 1fr;
  }
}
.paginationFooter__scrollTop {
  align-self: center;
  justify-self: start;
}
@media only screen and (max-width: 35.938rem) {
  .paginationFooter__scrollTop {
    justify-self: center;
    grid-row: 3;
  }
}
.paginationFooter__scrollTop .button {
  margin: 1rem;
}
.paginationFooter__more {
  align-self: center;
  justify-self: center;
}
@media only screen and (max-width: 35.938rem) {
  .paginationFooter__more {
    grid-row: 1;
  }
}
.paginationFooter__more .button {
  margin: 1rem;
}
.paginationFooter__pagination {
  align-self: center;
  justify-self: end;
}
@media only screen and (max-width: 35.938rem) {
  .paginationFooter__pagination {
    justify-self: center;
    grid-row: 2;
  }
}
.paginationFooter__pagination .pagination {
  margin: 1rem;
}
