/* ============================================
   PLP B2B — Paginación
   ============================================ */

#plp-paginacion {
  width: 100%;
  padding: 40px 0 64px;
}

.plp-paginacion-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Botón de página */
.plp-page-btn {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 7.5px 0 8.5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: var(--ICO-texto-mate);
  text-align: center;
  font-family: 'Avenir Next LT Pro', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  border: 1px solid #EAEAEA;
}

.plp-page-btn:hover:not(.active):not(.dots) {
  background: rgba(11, 68, 96, 0.08);
}

.plp-page-btn.active {
  background: var(--ICO-Azul);
  color: var(--ICO-Blanco);
}

.plp-page-btn.dots {
  cursor: default;
  pointer-events: none;
}

/* Flechas prev/next */
.plp-page-arrow {
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.plp-page-arrow:hover {
  background: rgba(11, 68, 96, 0.08);
}

.plp-page-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.plp-page-arrow svg {
  color: var(--ICO-texto-mate);
}

/* Mobile */
@media (max-width: 1023px) {
  #plp-paginacion {
    padding: 24px 0 48px;
  }

  .plp-page-btn {
    width: 36px;
    height: 36px;
  }
}