/* ═══════════════════════════════════════════════════════════════
   CITY PAGE STYLES — Mobile-first base
═══════════════════════════════════════════════════════════════ */

/* Hero */
.city-hero { position: relative; height: 220px; overflow: hidden; }
.city-hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 60%); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px; max-width: 1200px; margin: 0 auto; }
.city-big { font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -.5px; line-height: 1; margin-bottom: 6px; }
.city-stats-row { display: flex; gap: 14px; flex-wrap: wrap; }
.city-stat { font-size: 12px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 4px; }
.city-stat strong { color: #fff; }

/* Stats bar */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-item { background: var(--black2, #111); padding: 8px 4px; text-align: center; }
.stats-val { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 2px; }
.stats-lbl { font-size: 9px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .5px; }

/* Small card grids: 2-col on mobile */
.cp-grid { grid-template-columns: repeat(2, 1fr) !important; }

/* Shop card hover */
.shop-card:hover { transform: translateY(-2px); border-color: rgba(232,20,42,.4) !important; }

/* Hide scrollbar on filters and deal scroll */
#cpCatFilter::-webkit-scrollbar { display: none; }
#cpCatFilter { scrollbar-width: none; }
.cp-deals-scroll::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════════════
   DESKTOP LAYOUT — ≥ 768px
═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .city-hero { height: 300px; }
  .city-big { font-size: 58px; }
  .stats-val { font-size: 28px; }
  .stats-item { padding: 12px 16px; }
  .stats-lbl { font-size: 10px; }
  .cp-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (min-width: 1024px) {
  .cp-grid { grid-template-columns: repeat(5, 1fr) !important; }
}

/* PAGINATION (kaminari) */
nav.pagination { display: flex; justify-content: center; margin-top: 24px; padding: 12px 0; }
nav.pagination ul { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; align-items: center; }
nav.pagination .page-item { display: inline-block; }
nav.pagination .page-link {
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: var(--radius-sm, 6px); font-size: 13px; font-weight: 500;
  text-decoration: none; background: var(--white10, rgba(255,255,255,.08));
  border: 1px solid var(--border, rgba(255,255,255,.08)); color: var(--white70, rgba(255,255,255,.7));
  transition: all .2s ease;
}
nav.pagination .page-link:hover { border-color: var(--red, #e8142a); color: var(--white, #fff); }
nav.pagination .page-item.active .page-link,
nav.pagination .page-link.current-page {
  background: var(--red, #e8142a); color: var(--white, #fff); border-color: var(--red, #e8142a);
}
nav.pagination .page-item.disabled .page-link { opacity: .3; pointer-events: none; }
nav.pagination .gap .page-link { border: none; background: transparent; color: var(--white40, rgba(255,255,255,.4)); pointer-events: none; }
