/* Storefront pagination — replaces CI4's unstyled default <ul><li> bullet
   list (visible on /products once the catalog grew past one page). Same
   situation as the other additive stylesheets: frontend.css wasn't in the
   codebase handoff, so this is new rather than an edit to an unseen file. */

.gr-pagination {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.gr-pagination ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gr-pagination__num,
.gr-pagination__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.gr-pagination__num:hover {
    border-color: #15803d;
    color: #15803d;
}

.gr-pagination__num--active {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
    font-weight: 700;
}

.gr-pagination__arrow--disabled {
    color: #d1d5db;
    cursor: default;
}
