/* ============================================
   MOBILE PAGINATION
   Стили для пагинации (мобильная версия)
   ============================================ */

/* Mobile pagination overrides */
.pagination-wrapper {
  padding: 0 20px;
}

.che168-pagination {
  background: transparent !important;
  border: none !important;
  width: 100%;
  padding: 16px 0 !important;
  border-radius: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  height: auto !important;
}

.che168-pagination-numbers {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  padding: 0 !important;
  height: auto !important;
}

.che168-page-link {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #5B9BD5 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.che168-page-link span {
  position: static !important;
}

.che168-page-link span::after {
  display: none !important;
}

.che168-page-link.is-active {
  color: #fff !important;
  font-weight: 600 !important;
}

.che168-page-link:hover:not(.is-disabled) {
  color: #fff !important;
}

.che168-page-link.is-disabled {
  opacity: 0.3 !important;
  pointer-events: none !important;
}

.che168-page-ellipsis {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5B9BD5;
  font-size: 13px;
}

/* "предыдущая / следующая" nav row */
.che168-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.che168-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5B9BD5;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.che168-nav-link svg {
  width: 8px;
  height: 14px;
  flex-shrink: 0;
}

.che168-nav-link:hover {
  opacity: 0.7;
}

.che168-nav-link.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Hide old prev/next buttons */
.che168-page-prev,
.che168-page-next {
  display: none !important;
}
