/* ab24-concessionari.css — list of dealers page */

.ab-dealers-page {
  padding: 16px 0 60px;
}

/* Breadcrumb styles moved to ab24.css (unified across all pages) */
/* Page header now uses global .ab-page-header--catalog from ab24.css */

/* Filters bar now uses .ab-toolbar--dealers from ab24.css (shared with /auto/) */

/* Province chips */
.ab-dealers-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.ab-dealers-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--ab-ink-2);
  background: var(--ab-bg-2, #eef1f6);
  border: 1px solid transparent;
  border-radius: 100px;
  text-decoration: none;
  transition: all .15s;
}
.ab-dealers-chip:hover {
  background: #fff;
  border-color: var(--ab-line);
  color: var(--ab-ink);
}
.ab-dealers-chip.is-active {
  background: var(--ab-blue);
  color: #fff;
  border-color: var(--ab-blue);
}
.ab-dealers-chip.is-active:hover {
  color: #fff;
  background: var(--ab-blue-hover, #0849d9);
}
.ab-dealers-chip__cnt {
  font-size: 11.5px; font-weight: 700;
  padding: 1px 7px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  color: inherit;
}
.ab-dealers-chip.is-active .ab-dealers-chip__cnt {
  background: rgba(255,255,255,0.22);
}

/* Results count */
.ab-dealers-count {
  font-size: 14px; color: var(--ab-ink-3);
  margin-bottom: 16px;
}
.ab-dealers-count strong { color: var(--ab-ink); font-weight: 700; }

/* AJAX loading state (subtle fade) */
#dealersResults { transition: opacity .15s ease; }
#dealersResults.is-loading { opacity: .5; pointer-events: none; }

/* Empty state */
.ab-dealers-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ab-ink-3);
}
.ab-dealers-empty svg {
  color: var(--ab-ink-4, #c7cdd6);
  margin-bottom: 14px;
}
.ab-dealers-empty h2 {
  font-size: 22px; font-weight: 700; color: var(--ab-ink);
  margin: 0 0 8px;
}
.ab-dealers-empty p {
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

/* Pagination: base .ab-pagination in ab24.css; concessionari uses .ab-pagination--center modifier */
.ab-page {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ab-ink-2);
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius-sm, 8px);
  text-decoration: none;
  transition: all .15s;
}
.ab-page:hover {
  border-color: var(--ab-blue);
  color: var(--ab-blue);
}
.ab-page.is-active {
  background: var(--ab-blue);
  border-color: var(--ab-blue);
  color: #fff;
  cursor: default;
}
.ab-page.is-active:hover { color: #fff; }
.ab-page--gap {
  border: 0; background: transparent; color: var(--ab-ink-4, #c7cdd6);
  cursor: default; padding: 0 4px;
}
