/* Phân trang dùng chung cho web và admin (view deal::pagination) */
.pg { display: flex; justify-content: center; margin: 22px 0; }
.pg ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.pg a, .pg span.pg-item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--card); color: var(--text);
    font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s, border-color .15s;
}
.pg a:hover { border-color: var(--accent); color: var(--accent); }
.pg .active span.pg-item { background: var(--accent); border-color: var(--accent); color: #fff; }
.pg .disabled span.pg-item { opacity: .45; cursor: not-allowed; }
.pg .gap span.pg-item { border-color: transparent; background: transparent; min-width: 24px; padding: 0; }
@media (max-width: 480px) { .pg .num { display: none; } .pg .num.active { display: list-item; } }
