/* In The Guard: product review pagination. */
.product-reviews #review > .row:has(.pagination) {
  margin-top: 24px !important;
  row-gap: 14px;
  align-items: center;
}
.product-reviews #review > .row:has(.pagination) > div {
  width: 100%;
  text-align: center;
}
.product-reviews #review > .row:has(.pagination) > div:last-child {
  color: #6b6666;
  font-size: 13px;
  line-height: 1.5;
}
.product-reviews #review .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-reviews #review .pagination > li {
  margin: 0;
}
.product-reviews #review .pagination > li > a,
.product-reviews #review .pagination > li > span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d8d6d6;
  border-radius: 8px;
  background: #fff;
  color: #161513;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.product-reviews #review .pagination > li > a:hover {
  border-color: #161513;
  background: #eeecec;
}
.product-reviews #review .pagination > li > a:focus-visible {
  outline: 2px solid #161513;
  outline-offset: 3px;
}
.product-reviews #review .pagination > .active > span {
  border-color: #161513;
  background: #161513;
  color: #fff;
  font-weight: 600;
}
@media (max-width: 991px) {
  .product-reviews #review .pagination {
    gap: 6px;
  }
  .product-reviews #review .pagination > li > a,
  .product-reviews #review .pagination > li > span {
    padding-right: 10px;
    padding-left: 10px;
  }
  .product-reviews #review .pagination .page-first,
  .product-reviews #review .pagination .page-last {
    display: none;
  }
}
