/* Shared frontend pagination in SellAnyCode's existing brand purple. */
body .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 16px 0 24px;
  list-style: none;
  border-radius: 0;
}
body .pagination .page-item { margin: 0; padding: 0; }
body .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid #e1d6ee;
  border-radius: 6px !important;
  background: #fff;
  color: #6315b8 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none !important;
  box-shadow: none;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body .pagination a.page-link:hover {
  color: #521397 !important;
  background: #f5effc;
  border-color: #6315b8;
}
body .pagination a.page-link:focus-visible {
  outline: 2px solid #6315b8;
  outline-offset: 3px;
  box-shadow: none;
}
body .pagination .page-item.active .page-link,
body .pagination .page-link[aria-current="page"] {
  color: #fff !important;
  background: #6315b8 !important;
  border-color: #6315b8;
  box-shadow: 0 2px 5px rgba(99, 21, 184, .15);
}
body .pagination .page-item.disabled .page-link,
body .pagination .page-link[aria-disabled="true"] {
  color: #998da7 !important;
  background: #faf8fc;
  border-color: #ece5f2;
  pointer-events: none;
  box-shadow: none;
}
body .pagination .page-link i,
body .pagination .page-link svg {
  margin: 0 !important;
  font-size: 12px;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  body .pagination { gap: 4px; }
  body .pagination .page-link {
    min-width: 36px;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .pagination .page-link { transition: none; }
}
