/* --- Business Directory minimal UI --- */
.bd-view-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .75rem 0 1rem;
}

.bd-view-switcher .bd-switcher-btn {
  display: inline-block;
  padding: .45rem .7rem;
  border: 1px solid var(--bd-border, #ddd);
  border-radius: 6px;
  text-decoration: none;
  line-height: 1;
  background: var(--bd-bg, #fff);
  color: inherit;
  transition: background .15s ease, border-color .15s ease;
}

.bd-view-switcher .bd-switcher-btn:hover {
  border-color: var(--bd-border-hover, #bbb);
  background: var(--bd-bg-hover, #f9f9f9);
}

.bd-view-switcher .bd-switcher-btn.is-active {
  background: var(--bd-active-bg, #f5f5f5);
  border-color: var(--bd-active-border, #bbb);
  font-weight: 600;
}

/* Pagination */
.bd-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0;
}

.bd-pagination a,
.bd-pagination span {
  display: inline-block;
  min-width: 2rem;
  text-align: center;
  padding: .4rem .55rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
}

.bd-pagination .current,
.bd-pagination a:hover {
  background: #f5f5f5;
  border-color: #bbb;
  font-weight: 600;
}

/* Optional: keep Leaflet tiles from stretching if theme sets img{max-width:100%} */
.leaflet-container img { max-width: none !important; }
