/* The storefront listings' pagination (app/components.php, showGroupPagination). Real links, the store's tokens. */

.lbPagination{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 36px 0 8px;
    font-family: inherit;
}

.lbPaginationBlock{
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
}

.lbPagination:empty{
    display: none;
}

/* "Anterior" / "Seguinte": text buttons; the chevron is a glyph of the icon font, so it stays inline text */
.lbPageStep{
    display: inline-block;
    padding: 0 18px;
    height: 44px;
    line-height: 42px;
    border: 1px solid var(--lb-border);
    border-radius: 10px;
    background: var(--lb-card);
    color: var(--lb-brand);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.lbPageStep i{
    font-size: 12px;
}

a.lbPageStep:hover, a.lbPageStep:focus-visible{
    border-color: var(--lb-brand);
    background: var(--lb-brand);
    color: #fff;
    text-decoration: none;
}

.lbPageStep.is-disabled{
    color: var(--lb-text-muted);
    opacity: .55;
    cursor: default;
}

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

.lbPage{
    display: inline-block;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
    line-height: 42px;
    border: 1px solid var(--lb-border);
    border-radius: 10px;
    background: var(--lb-card);
    color: var(--lb-text);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

a.lbPage:hover, a.lbPage:focus-visible{
    border-color: var(--lb-brand);
    color: var(--lb-brand);
    text-decoration: none;
}

.lbPage.is-current{
    border-color: var(--lb-brand);
    background: var(--lb-brand);
    color: #fff;
}

.lbPageGap{
    min-width: 24px;
    color: var(--lb-text-muted);
    font-size: 15px;
    text-align: center;
}

.lbPageInfo{
    margin: 0 0 24px;
    color: var(--lb-text-muted);
    font-size: 13px;
    text-align: center;
}

a.lbPageStep:focus-visible, a.lbPage:focus-visible{
    outline: 2px solid var(--lb-brand);
    outline-offset: 2px;
}

/* the phone: two large buttons and the page count between them */
.lbPaginationMobile{
    justify-content: space-between;
    gap: 10px;
    margin: 16px 12px;
}

.lbPaginationMobile .lbPageStep{
    flex: 1 1 0;
    height: 48px;
    line-height: 46px;
    padding: 0 10px;
    text-align: center;
    font-size: 16px;
}

.lbPageCount{
    flex: 0 0 auto;
    min-width: 64px;
    color: var(--lb-text);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
