/* Pagination for the current catalogue grid. Native links and AJAX stay intact. */
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav {
  display: flow-root;
  clear: both;
  margin: 32px 0;
}
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  float: none;
}
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination > a:empty {
  display: none;
}
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination > :is(.pagination__link, .pagination__current) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface-card);
  color: var(--action);
  font: 650 .875rem/1 "Manrope Variable", Manrope, Arial, sans-serif;
  text-decoration: none;
  box-shadow: none;
}
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination > .pagination__current {
  background: var(--action);
  border-color: var(--action);
  color: var(--on-brand);
}
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination > .pagination__link:hover {
  background: var(--surface-interactive);
  border-color: var(--action);
  color: var(--action);
}
body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination > .pagination__link:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
}
@media (max-width: 480px) {
  body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav { margin-block: 24px; }
  body.sh-theme .sh26-catalog-layout .sh26-product-grid + nav .pagination { gap: 4px; }
}
