        }

                // Add page number buttons
                for (let i = startPage; i <= endPage; i++) {
                    const button = createPaginationButton(i, () => {
                        currentPage = i;
                        displayCurrentPage();
                        updatePagination();
                        window.scrollTo(0, 0);
                    }, i === currentPage);

                    paginationContainer.appendChild(button);
                }

                // Show en