/* Compact pagination shared by listings and reviews. The outer controls retain
   44px pointer and focus targets while the visible markers stay quiet. */
.navSplitPagesLinks:empty {
  display: none !important;
}

#column-center .navSplitPagesLinks .ns-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#column-center .navSplitPagesLinks .ns-pagination > :is(a, span) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2d2d2d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: none;
  transform: none;
}

#column-center .navSplitPagesLinks .ns-pagination > .ns-pagination__direction {
  width: 52px;
}

#column-center .navSplitPagesLinks .ns-pagination > :is(a, span) > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  border-radius: 10px;
}

#column-center
  .navSplitPagesLinks
  .ns-pagination
  > .ns-pagination__direction
  > span {
  min-width: 48px;
  border: 1px solid #d8d8d8;
  background: #f6f6f6;
}

#column-center
  .navSplitPagesLinks
  .ns-pagination
  > .ns-pagination__current
  > span {
  background: #e8a900;
  color: #2d2d2d;
}

#column-center .navSplitPagesLinks .ns-pagination > .ns-pagination__disabled {
  color: #777;
}

#column-center
  .navSplitPagesLinks
  .ns-pagination
  > .ns-pagination__disabled
  > span {
  background: #f6f6f6;
  border-color: #e6e6e6;
}

#column-center .navSplitPagesLinks .ns-pagination > a:hover,
#column-center .navSplitPagesLinks .ns-pagination > a:active {
  background: transparent;
  transform: none;
}

#column-center .navSplitPagesLinks .ns-pagination > a:hover > span {
  background: #f0f0f0;
}

#column-center .navSplitPagesLinks .ns-pagination > a:focus-visible {
  outline: 2px solid #2d2d2d;
  outline-offset: -2px;
  border-radius: 10px;
}
