/* Paginación del catálogo: comparte el sistema visual de filtros. */
body.tax-product_cat #paginacion {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 44px auto 36px;
  padding: 8px 10px;
  border: 1px solid #c4c7c9;
  border-radius: 2px;
  background: #e2e2e2;
  transition: opacity 160ms ease;
}

body.tax-product_cat #paginacion[aria-hidden="true"] {
  display: none !important;
}

body.tax-product_cat #paginacion.is-loading {
  opacity: .58;
}

body.tax-product_cat #paginacion .pagina-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  min-height: 38px;
  height: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid #c4c7c9;
  border-radius: 2px;
  background: transparent;
  color: #20262d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.tax-product_cat #paginacion a.pagina-boton:hover:not(.activo):not([aria-disabled="true"]) {
  border-color: #20262d;
  background: rgba(255, 255, 255, .55);
}

body.tax-product_cat #paginacion .pagina-boton.activo {
  border: 1px solid #20262d;
  background: #20262d;
  color: #fff;
  font-weight: 700;
  transform: none;
  cursor: default;
}

body.tax-product_cat #paginacion a.pagina-boton[aria-disabled="true"] {
  pointer-events: none;
  cursor: wait;
}

body.tax-product_cat #paginacion .pagina-boton--direccion {
  padding-inline: 12px;
}

body.tax-product_cat #paginacion .paginacion-ellipsis {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 38px;
  color: #747b80;
  font-size: 16px;
  line-height: 1;
}

body.tax-product_cat #paginacion .pagina-boton.flecha-anterior::before,
body.tax-product_cat #paginacion .pagina-boton.flecha-siguiente::after {
  content: none;
}

.wca-load-more {
  display: none;
  margin: 36px auto 24px;
  text-align: center;
}

.wca-load-more .boton-cargar-mas {
  min-height: 44px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  border: 1px solid #20262d;
  border-radius: 2px;
  background: #20262d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.wca-load-more .boton-cargar-mas:hover:not(:disabled) {
  border-color: #0073aa;
  background: #0073aa;
}

.wca-load-more .boton-cargar-mas:disabled {
  opacity: .58;
  cursor: wait;
}

body.tax-product_cat #categoria-ajax-content {
  transition: opacity 160ms ease;
}

body.tax-product_cat #categoria-ajax-content[aria-busy="true"] {
  opacity: .58;
}

body.tax-product_cat .wca-standard-catalog-heading {
  scroll-margin-top: 24px;
}

@media screen and (max-width: 768px) {
  body.tax-product_cat #paginacion {
    display: none !important;
  }
}
