.pagination-wrapper {
  margin-top: 50px;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__list > li:not(:last-child) {
  margin-right: 10px;
}

.pagination__list > li {
  flex: 1 0 44px;
  max-width: 44px;
}

.pagination__item {
  color: rgb(var(--color-foreground));
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 44px;
  width: 100%;
  padding: 0;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
}

.pagination__item.pagination__item--current {
  cursor: not-allowed;
}

.pagination__item--current:after,
.pagination__item:hover:after {
  content: '';
  display: block;
  width: 20px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translate(-50%);
  background-color: currentColor;
}

a.pagination__item--current:hover:after,
a.pagination__item--current:after {
  height: 1px;
}

.pagination__item--previous .icon {
  margin-left: -2px;
  transform: rotate(90deg);
}

.pagination__item--next .icon {
  margin-right: -2px;
  transform: rotate(-90deg);
}

.pagination-wrapper .svg-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
}

.pagination__item .icon-caret {
  height: 6px;
}
