/* Modern Pagination Styles */

.pagination-container {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    margin: 0 0.25rem;
    border-radius: 9999px; /* chip */
    background: #f9fafb;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-size: 0.875rem;
}

.pagination .page-numbers.current {
    background: #4338ca; /* indigo-700 */
    color: #fff;
    border-color: #4338ca;
    box-shadow: 0 6px 16px rgba(67, 56, 202, 0.25);
}

.pagination .page-numbers:hover:not(.current) {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.12);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 1.5rem;
    font-weight: 600;
}

.woocommerce-pagination ul.page-numbers {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    margin: 0 0.25rem !important;
    padding: 0 !important;
    overflow: visible !important;
}