/* One storefront/customer-cabinet paginator. No Bootstrap utility dependency.
   Namespaced selectors deliberately leave .admin-pager and sliders untouched. */
.storefront-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--ink, #2e342b);
    font-family: var(--ui, sans-serif);
}

.storefront-pager .storefront-pager__summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 5px;
    margin: 0;
    padding: 0;
    color: var(--muted, #6b7167);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.storefront-pager__summary strong {
    color: inherit;
    font-weight: 600;
    white-space: nowrap;
}

.storefront-pager .storefront-pager__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-pager__pages > li {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-pager .storefront-pager__control {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(70, 70, 70, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    color: var(--ink, #2e342b);
    box-shadow: none;
    font: 600 14px/1 var(--ui, sans-serif);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.storefront-pager a.storefront-pager__control:hover {
    border-color: var(--green, #3e5b31);
    background: var(--green, #3e5b31);
    color: #fff;
}

.storefront-pager a.storefront-pager__control:focus-visible {
    outline: 2px solid var(--green, #3e5b31);
    outline-offset: 3px;
}

.storefront-pager .storefront-pager__control.is-current {
    border-color: var(--green, #3e5b31);
    background: var(--green, #3e5b31);
    color: #fff;
}

.storefront-pager .storefront-pager__control.is-disabled {
    border-color: rgba(70, 70, 70, .12);
    background: rgba(225, 225, 225, .45);
    color: #969696;
    cursor: default;
}

.storefront-pager__control svg {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.storefront-pager__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 44px;
    color: var(--muted, #6b7167);
}

@media (max-width: 480px) {
    .storefront-pager { gap: 12px; }
    .storefront-pager .storefront-pager__pages { gap: 6px; }
    .storefront-pager .storefront-pager__control {
        min-width: 40px;
        height: 40px;
        padding-inline: 10px;
    }
    .storefront-pager__ellipsis { min-width: 18px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-pager .storefront-pager__control { transition: none; }
}
