/* ============================================================
   CORRECTIFS OCTOBRE 2026 — chargé par inc/allo-fixes.php
============================================================ */

/* ---------- Listes déroulantes : claires partout (demande Antoine) ---------- */
select,
select.reg-input,
.field select,
.bsr-select {
  background-color: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px;
}
select option,
.reg-input option {
  background: #ffffff !important;
  color: #111827 !important;
}
select:focus { border-color: #c9a24d !important; outline: none; }

/* ---------- Pagination ---------- */
.bsr-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 28px 0 8px;
  /* reste sur une ligne pleine même dans une grille, un flex ou des colonnes */
  grid-column: 1 / -1;
  flex-basis: 100%;
  column-span: all;
  break-inside: avoid;
}
.bsr-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: background .15s, color .15s, border-color .15s;
}
.bsr-pagination a.page-numbers:hover {
  border-color: #cd035a;
  color: #cd035a;
}
.bsr-pagination .page-numbers.current {
  background: #cd035a;
  border-color: #cd035a;
  color: #fff;
}
.bsr-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: 20px;
  padding: 0;
}

/* ---------- Accueil : liste des pays ---------- */
.cc-country-wrap { position: relative; }
.cc-strip .cc-country-dropdown { width: 220px; padding: 6px; }
.cc-strip .cc-country-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: .9rem;
  font-weight: 600;
  color: #111827;
  text-align: left;
  border-radius: 8px;
}
.cc-strip .cc-country-dropdown button:hover { background: #fdf2f8; color: #cd035a; }
.cc-strip .cc-country-dropdown button.active { background: #cd035a; color: #fff; }

/* ---------- Panneau "More filters" / formulaires de recherche ---------- */
.bsr-filters-panel {
  display: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
}
.bsr-filters-panel.open { display: block; }
.bsr-filters-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.bsr-visit-form {
  grid-template-columns: 1fr 1fr auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.bsr-filters-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.bsr-filters-form .bsr-select { width: 100%; padding: 10px 12px; font-size: 14px; }
.bsr-btn {
  display: inline-block;
  background: #cd035a;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.bsr-btn:hover { background: #a8024a; }
@media (max-width: 700px) {
  .bsr-filters-form, .bsr-visit-form { grid-template-columns: 1fr; }
}

/* ---------- Accueil : bouton "voir toutes les annonces" ---------- */
.bsr-see-all { text-align: center; padding: 28px 16px 40px; }

/* ---------- Page ville ---------- */
.bsr-city-head h1.block-title { margin: 6px 0 2px; }
.bsr-breadcrumb { font-size: 13px; color: #6b7280; }
.bsr-breadcrumb a { color: #cd035a; text-decoration: none; }
.bsr-city-count { color: #6b7280; margin: 0 0 12px; font-size: 14px; }
.bsr-city-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bsr-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #7c3aed;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.bsr-city-pill span { background: #fcd34d; border-radius: 4px; padding: 0 5px; font-size: 11px; }
.bsr-city-pill.is-active { background: #7c3aed; color: #fff; }
.bsr-empty { padding: 30px 0; color: #6b7280; }
.bsr-empty a { color: #cd035a; }

/* Drapeaux de langue (FR / EN / ES / PT) : sur une ligne, et visibles sur mobile */
.gtranslate_wrapper { display: flex; flex-wrap: nowrap; gap: 3px; align-items: center; justify-content: flex-end; }
.gtranslate_wrapper br { display: none; }
.gtranslate_wrapper a.glink { flex: 0 0 auto; }
.gtranslate_wrapper a.glink img { width: 26px; height: auto; max-width: none; }
@media (max-width: 767px) {
  .elementor-element-35b555d5 { display: flex !important; width: auto !important; justify-content: center; }
}

/* Aide inscription / connexion (inscription@allo-escort.com) */
.bsr-account-help { background: #0d0d0d; padding: 0 16px 40px; }
.bsr-account-help p { max-width: 560px; margin: 0 auto; padding: 14px 18px; text-align: center; font-size: 14px; line-height: 1.6; color: #bbb; background: #12141a; border: 1px solid #2a2a3a; border-radius: 10px; }
.bsr-account-help a { color: #c9a24d; font-weight: 700; text-decoration: none; word-break: break-all; }
.bsr-account-help a:hover { text-decoration: underline; }
