.filter-popup {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Prevent the page from scrolling while the popup is open */
body.filter-open {
  overflow: hidden;
}

/* Make sure pagination doesn't trigger unwanted page scrolling */
.pagination {
  overscroll-behavior: contain;
}


/* .filter-popup .close-btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}
 */

{#

/* Bootstrap Defaults Reset for Pagination */
.pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: none !important;
}

.pagination .page-item {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Base Page Numbers & Dots */
.pagination .page-link {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
  opacity: 1 !important;
  font-weight: 700 !important;
  background: transparent !important;
  color: #ffffff !important;
}

/* Circular Arrow Buttons Base */
.pagination .page-link.arrow-btn {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

/* PREV (LEFT) ARROW */
.pagination .page-link.arrow-btn.prev {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

.pagination .page-link.arrow-btn.prev img {
  transform: rotate(180deg) !important;
  filter: brightness(0) invert(1) !important;
  width: auto;
  height: auto;
  display: block;
}

/* NEXT (RIGHT) ARROW */
.pagination .page-link.arrow-btn.next {
  background-color: #ffffff ;
}

.pagination .page-link.arrow-btn.next img {
  transform: none !important;
  filter: brightness(0) !important;
  width: auto;
  height: auto;
  display: block;
}

/* Disabled State */
.pagination .page-item.disabled {
  opacity: 0.3 !important;
  pointer-events: none !important;
}

#}

.pagination .page-link:focus {
  outline: none;
}