/* ==========================================================================
   Réservation : panneau + carte
   ========================================================================== */

.bk-body { overflow: hidden; }
.bk { display: grid; grid-template-columns: clamp(360px, 32vw, 460px) 1fr; height: calc(100dvh - var(--hdr-h)); background: var(--soft);
  transition: grid-template-columns .3s var(--ease); }
/* Desktop (home.css :root{zoom:.8}) : une hauteur en 100dvh sous le zoom CSS ne s'aligne qu'à
   UN seul niveau de zoom navigateur (à 50% le panneau déborde et le « Continuer » passe sous
   l'écran ; à 110% il reste de la marge). On n'essaie donc plus de calculer la hauteur : on
   ancre le bloc au viewport réel (du bas de l'en-tête jusqu'en bas) -> remplissage exact à
   TOUT niveau de zoom. L'en-tête est position:sticky, haut de --hdr-h. */
@media (min-width: 1024px) {
  .bk { position: fixed; inset: var(--hdr-h) 0 0 0; height: auto; }
  /* .bk étant hors flux (fixed), le body n'a plus que le header en flux : son `overflow:hidden`
     rognait alors les menus déroulants (Professionnels / Nos services) sous le header. On le
     rend visible en desktop (rien à scroller de toute façon) pour que les menus passent. */
  .bk-body { overflow: visible; }
}
/* Focus carte : en manipulant la carte, le panneau gauche s'efface -> carte pleine largeur. */
.bk.is-mapfocus { grid-template-columns: 0px 1fr; }
.bk.is-mapfocus .bk__panel { opacity: 0; pointer-events: none; }

/* ---------------- Panneau ---------------- */
.bk__panel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: var(--surface); box-shadow: 8px 0 30px rgb(22 18 19 / .06); z-index: 2;
  transition: opacity .25s var(--ease); }
.bk__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 24px 8px; }
.bk__footer { flex-shrink: 0; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.bk__next { width: 100%; height: 56px; font-size: 1rem; }
.bk__next:disabled { background: var(--soft); color: var(--muted); box-shadow: none; cursor: not-allowed; }

.bk__services { display: flex; gap: 8px; margin-bottom: 20px; }
.bk__svc { flex: 1; height: 44px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); background: var(--soft); transition: .2s var(--ease); }
.bk__svc:hover { color: var(--ink); }
.bk__svc.is-active { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }

/* Départ / arrivée */
.bk__route { position: relative; display: flex; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--soft); }
.bk__dots { display: flex; flex-direction: column; align-items: center; padding: 18px 0; }
.bk__dot { width: 12px; height: 12px; border-radius: 50%; }
.bk__dot--a { background: var(--brand); }
.bk__dot--b { border-radius: 3px; background: var(--ink); }
.bk__line { flex: 1; width: 2px; margin: 6px 0; background: repeating-linear-gradient(var(--line) 0 4px, transparent 4px 8px); }
.bk__fields { flex: 1; min-width: 0; }
.bk__field { position: relative; display: flex; align-items: center; }
.bk__field + .bk__field { margin-top: 8px; border-top: 1px solid var(--line); }
.bk__field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); outline: 0; }
.bk__field input::placeholder { color: var(--muted); }
.bk__locate { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); }
.bk__locate svg { width: 21px; height: 21px; fill: currentColor; }
.bk__locate:hover { color: var(--brand); background: var(--surface); }
.bk__locate.is-busy svg { animation: spin 1s linear infinite; color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }

.bk__ac { position: absolute; left: 12px; right: 12px; z-index: 5; max-height: 320px; overflow: auto; padding: 8px;
          border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.bk__ac button { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; text-align: left; }
.bk__ac button:hover { background: var(--soft); }
.bk__ac strong { display: block; font-weight: 600; color: var(--ink); }
.bk__ac small { color: var(--muted); }

.bk__trip { margin: 16px 0 0; font-weight: 600; color: var(--ink); }
.bk__msg { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--brand-50); color: var(--brand); font-size: .9rem; font-weight: 600; }
.bk__title { margin: 24px 0 12px; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.bk__empty { color: var(--muted); font-size: .92rem; }

/* Véhicules */
.bk__vehicles { display: grid; gap: 10px; }
.bk__veh { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: var(--r-md); text-align: left;
           background: var(--surface); box-shadow: 0 0 0 1.5px var(--line); transition: .2s var(--ease); }
.bk__veh:hover { box-shadow: 0 0 0 1.5px var(--brand-200); }
.bk__veh.is-active { background: var(--brand-50); box-shadow: 0 0 0 2px var(--brand); }
.bk__veh img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.bk__vehTxt { flex: 1; min-width: 0; }
.bk__vehTxt strong { display: block; font-weight: 600; color: var(--ink); }
.bk__vehTxt small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.bk__seats { display: inline-flex; align-items: center; gap: 3px; font-style: normal; }
.bk__seats::before { content: ''; width: 11px; height: 11px; border-radius: 50% 50% 2px 2px; background: var(--muted); }
.bk__vehPrice { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-weight: 700; color: var(--ink); }
.bk__vehPrice s { color: var(--muted); font-weight: 500; font-size: .85rem; }
.bk__info { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--muted);
            color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 700; }
.bk__info:hover { border-color: var(--brand); color: var(--brand); }

/* Détail du prix */
.bk__fareList { display: grid; gap: 10px; margin: 4px 0 8px; }
.bk__fareList li { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.bk__fareList li + li { padding-top: 10px; border-top: 1px solid var(--line); }
.bk__fareNote { font-size: .85rem; color: var(--muted); }

/* ---------------- Carte ---------------- */
.bk__map { position: relative; }
#map { width: 100%; height: 100%; background: var(--soft); }
.bk__mapmsg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 420px; padding: 16px 20px; text-align: center;
              border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); color: var(--muted); font-size: .92rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  /* Tablette/mobile : carte en haut (un peu plus haute pour loger les pastilles flottantes),
     panneau en bas type feuille. */
  .bk { grid-template-columns: 1fr; grid-template-rows: 44dvh 1fr;
    transition: grid-template-rows .3s var(--ease); }
  /* Focus carte en mobile : le panneau (en bas) se replie -> carte plein écran. */
  .bk.is-mapfocus { grid-template-columns: 1fr; grid-template-rows: 1fr 0; }
  .bk__map { order: -1; }
  .bk__panel { border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: -24px; box-shadow: 0 -8px 30px rgb(22 18 19 / .12); }
  .bk__scroll { padding: 18px 16px 8px; }
  .bk__footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  /* Overlays carte un peu plus compacts et rapprochés des bords. */
  .bk__modes { top: 10px; left: 10px; max-width: calc(100% - 20px); }
  .bk__mode { height: 42px; padding: 0 15px 0 11px; font-size: .86rem; }
  /* Bas-gauche, remonté pour dégager le chevauchement du panneau (feuille du bas). */
  .bkMapTypes { left: 10px; bottom: 34px; gap: 7px; }
  .bkMapTypes__list button { height: 36px; }
}

/* ---------------- Modes : pastilles flottantes sur la carte ---------------- */
/* Surimpression en haut de la carte (comme le mobile). Rangée horizontale scrollable,
   masquée en douceur quand on manipule la carte (classe .is-hidden posée en JS). */
/* Largeur = contenu (plafonnée à la carte) : la bande ne bloque pas la carte à côté,
   et si les pastilles débordent, la rangée défile horizontalement. */
.bk__modes { position: absolute; top: 14px; left: 14px; z-index: 6; width: max-content; max-width: calc(100% - 28px);
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease); }
.bk__modes::-webkit-scrollbar { display: none; }
.bk__modes.is-hidden { opacity: 0; transform: translateY(-14px); pointer-events: none; }

.bk__mode { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 18px 0 13px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: 0 6px 18px rgb(20 16 17 / .18); transition: .18s var(--ease); }
.bk__mode:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgb(20 16 17 / .24); }
.bk__mode.is-active { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgb(20 16 17 / .35); }
.bk__mode-ic { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; }
.bk__mode-svg { width: 21px; height: 21px; }
.bk__mode-lbl { line-height: 1; }
.bk__soon { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-size: .86rem; font-weight: 500; }

/* ---------------- Mode de paiement ---------------- */
.bk__pays { display: grid; gap: 10px; }
.bk__pay { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: var(--r-md); text-align: left;
           background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: .18s var(--ease); cursor: pointer; }
.bk__pay:hover { box-shadow: 0 0 0 1.5px var(--brand-200); }
.bk__pay.is-active { background: var(--brand-50); box-shadow: 0 0 0 2px var(--brand); }
.bk__pay-ic { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand-50, var(--brand-50)); color: var(--brand, var(--brand)); }
.bk__pay-ic svg { width: 24px; height: 24px; }
.bk__pay.is-active .bk__pay-ic { background: var(--brand, var(--brand)); color: #fff; }
.bk__pay-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk__pay-txt b { font-weight: 600; color: var(--ink); }
.bk__pay-txt small { color: var(--muted); font-size: .82rem; }

/* ---------------- Récapitulatif ---------------- */
.bk__recap { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; gap: 10px; }
.bk__recap li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bk__recap li span { color: var(--muted); flex-shrink: 0; }
.bk__recap li b { color: var(--ink); text-align: right; font-weight: 600; }
.bk__confirm { width: 100%; height: 50px; }
.bk__fareNote { margin-top: 12px; color: var(--muted); font-size: .82rem; text-align: center; }

/* Icône véhicule (emoji par type) + détail prix */
.bk__vehIcon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
               background: var(--soft); font-size: 1.7rem; line-height: 1; }
/* Icône serveur du type de véhicule. */
.bk__vehImg { width: 42px; height: 42px; object-fit: contain; display: block; }
.bk__seats { font-style: normal; font-weight: 500; font-size: .8rem; color: var(--muted); }
.bk__fareList { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.bk__fareList li { display: flex; justify-content: space-between; gap: 16px; }
.bk__fareList li span { color: var(--muted); }
.bk__fareList li b { color: var(--ink); font-weight: 600; }
.bk__fareTotal { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.bk__fareTotal span, .bk__fareTotal b { font-size: 1.05rem; color: var(--ink) !important; font-weight: 700; }

/* Aide autorisation localisation */
.bk__helpIntro { margin: 4px 0 12px; color: var(--text); }
.bk__help { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 10px; color: var(--text); }
.bk__help li { line-height: 1.5; }
.bk__help b { color: var(--ink); }
.bk__helpSub { margin: 14px 0 6px; color: var(--ink); font-size: .92rem; }
.bk__helpSub:first-of-type { margin-top: 4px; }

/* Réservation : date/heure */
.bk__schedule { margin-bottom: 18px; }
.bk__whenField { display: grid; gap: 6px; }
.bk__whenLbl { font-size: .9rem; font-weight: 600; color: var(--ink); }
.bk__schedule input[type="datetime-local"] { width: 100%; padding: 13px 14px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface); font: inherit; color: var(--ink); }
.bk__schedule input[type="datetime-local"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.bk__whenHint { margin: 8px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------------- Détails de la livraison (colis) ---------------- */
.bk__pk { margin: 6px 0 4px; }
.bk__pkGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.bk__pkField { display: grid; gap: 4px; }
.bk__pkField--full { grid-column: 1 / -1; }
.bk__pkLbl { font-size: .78rem; font-weight: 600; color: var(--muted); }
.bk__pkInput { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md, 12px);
  background: var(--surface); font: inherit; color: var(--ink); }
.bk__pkInput:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.bk__pkArea { resize: vertical; min-height: 44px; }
select.bk__pkInput { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239c0306' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.bk__pk--err { border-color: #d92d20 !important; box-shadow: 0 0 0 3px rgba(217,45,32,.15) !important; }
@media (max-width: 560px) { .bk__pkGrid { grid-template-columns: 1fr; } }

/* Sélecteur de type de carte (Plan / Satellite / Hybride / 3D) */
/* Pastilles de type de carte : colonne verticale en BAS à gauche de la carte
   (remontée pour laisser visible le logo Google tout en bas). */
.bkMapTypes { position: absolute; left: 14px; bottom: 26px; top: auto; z-index: 6;
  display: flex; flex-direction: column; gap: 8px; background: transparent;
  box-shadow: none; font-family: inherit; transition: opacity .25s var(--ease), transform .25s var(--ease); }
/* Masqué (comme les modes) quand on manipule la carte. */
.bkMapTypes.is-hidden { opacity: 0; transform: translateX(-16px); pointer-events: none; }
.bkMapTypes__list button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
  background: var(--surface); padding: 0 16px 0 12px; height: 40px; font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink);
  cursor: pointer; white-space: nowrap; box-shadow: 0 6px 18px rgb(20 16 17 / .18); transition: .18s var(--ease); }
.bkMapTypes__list button:hover:not(.is-active) { transform: translateY(-1px); box-shadow: 0 8px 22px rgb(20 16 17 / .24); }
.bkMapTypes__list button.is-active { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgb(20 16 17 / .35); }
.bkMapTypes__ic { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; }
.bkMapTypes__svg { width: 19px; height: 19px; }
@media (max-width: 560px) { .bkMapTypes { gap: 6px; } .bkMapTypes__list button { height: 36px; padding: 0 13px 0 10px; font-size: .78rem; } }

/* Récepteur mobile avec indicatif pays (colis Express) */
.bk__pkField--phone { display: flex !important; flex-direction: row !important; align-items: stretch; gap: 0 !important; }
.bk__pkCode { display: grid; place-items: center; padding: 0 12px; flex-shrink: 0; border: 1px solid var(--line); border-right: 0;
  border-radius: var(--r-md,12px) 0 0 var(--r-md,12px); background: var(--soft); color: var(--ink); font-weight: 700; }
.bk__pkField--phone .bk__pkInput { border-radius: 0 var(--r-md,12px) var(--r-md,12px) 0; }

/* Trajet partagé — sélecteur de places */
.bk__pool { margin: 4px 0 16px; }
.bk__poolHint { color: var(--muted); font-size: .9rem; margin: 2px 0 12px; }
.bk__seats { display: flex; align-items: center; gap: 14px; }
.bk__seatBtn { width: 44px; height: 44px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--brand); font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer; transition: .15s; }
.bk__seatBtn:hover { border-color: var(--brand); background: var(--brand-50, var(--brand-50)); }
.bk__seatVal { min-width: 40px; text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.bk__seatMax { color: var(--muted); font-size: .85rem; }

/* Location — sélecteur de forfait */
.bk__rental { margin: 4px 0 16px; }
.bk__rentalHint { color: var(--muted); font-size: .9rem; margin: 2px 0 12px; }
.bk__pkgs { display: flex; flex-direction: column; gap: 10px; }
.bk__pkg { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  text-align: left; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: .15s; }
.bk__pkg:hover { box-shadow: 0 0 0 1.5px var(--brand-200); }
.bk__pkg.is-active { background: var(--brand-50, var(--brand-50)); box-shadow: 0 0 0 2px var(--brand); }
.bk__pkgTxt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bk__pkgTxt strong { font-size: 1rem; color: var(--ink); }
.bk__pkgTxt small { color: var(--muted); font-size: .82rem; }
.bk__pkgPrice { flex-shrink: 0; font-weight: 800; color: var(--brand); font-size: 1.05rem; }

/* Intercité (Interville) — onglets aller simple / aller-retour + tarif A/R */
.bk__inter { margin: 4px 0 14px; }
.bk__interTabs { display: flex; gap: 8px; margin-bottom: 12px; }
.bk__interTab { flex: 1; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer; transition: .15s; }
.bk__interTab:hover { border-color: var(--brand-200); }
.bk__interTab.is-active { background: var(--brand-50, var(--brand-50)); border-color: var(--brand); color: var(--brand); }
/* Champ « date et heure de retour » — carte soignée avec accent */
.bk__interRet { display: grid; gap: 8px; margin-top: 12px; padding: 14px 14px 15px;
  border: 1.5px solid var(--brand-200, var(--brand-200)); border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--brand-50, var(--brand-50)) 0%, var(--surface) 100%); }
/* `display:grid` écrase l'attribut [hidden] (display:none) : on le rétablit explicitement. */
.bk__interRet[hidden] { display: none; }
.bk__interRet .bk__whenLbl { display: flex; align-items: center; gap: 6px; color: var(--brand); font-size: .9rem; font-weight: 700; }
.bk__inter input[type="datetime-local"] { width: 100%; padding: 13px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); font: inherit; color: var(--ink); cursor: pointer; transition: .15s; }
.bk__inter input[type="datetime-local"]:hover { border-color: var(--brand-200, var(--brand-200)); }
.bk__inter input[type="datetime-local"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50, var(--brand-50)); }
.bk__inter input[type="datetime-local"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .65; }
.bk__inter input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.bk__interHint { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
.bk__interFare { margin: 4px 0 12px; }
.bk__interFareHint { color: var(--muted); font-size: .9rem; }
.bk__interFareBox { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--brand); background: var(--brand-50, var(--brand-50)); }
.bk__interFareLbl { font-weight: 600; color: var(--ink); font-size: .9rem; }
.bk__interFareVal { font-weight: 800; color: var(--brand); font-size: 1.15rem; }

/* « Pour qui ? » — réserver pour un tiers (BOOK_FOR_ELSE) */
.bk__bfseWrap { margin: 4px 0 4px; }
.bk__bfse { display: flex; flex-direction: column; gap: 8px; }
.bk__bfseItem { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px;
  text-align: left; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: .15s; }
.bk__bfseItem:hover { box-shadow: 0 0 0 1.5px var(--brand-200, var(--brand-200)); }
.bk__bfseItem.is-active { background: var(--brand-50, var(--brand-50)); box-shadow: 0 0 0 2px var(--brand); }
.bk__bfseAv { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem; }
.bk__bfseTxt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.bk__bfseTxt b { color: var(--ink); font-size: .96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk__bfseTxt small { color: var(--muted); font-size: .82rem; }
.bk__bfseRm { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: .15s; }
.bk__bfseRm:hover { background: var(--brand-50); color: #b42318; }
.bk__bfseAdd { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  padding: 11px 14px; border: 1.5px dashed var(--line); border-radius: var(--r-md); background: none;
  color: var(--brand); font-weight: 700; font-size: .92rem; cursor: pointer; transition: .15s; }
.bk__bfseAdd:hover { background: #fff6f5; border-color: var(--brand); }
.bk__bfseErr { color: #b42318; font-weight: 600; font-size: .88rem; margin: 10px 0 0; }
.bk__bfseActions { display: flex; gap: 10px; margin-top: 16px; }
.bk__bfseActions .btn { flex: 1; }
/* L'indicatif est un <button> ici (pas un span) : on aligne son rendu. */
button.bk__pkCode { font: inherit; cursor: pointer; }
button.bk__pkCode:hover { color: var(--brand); }

/* Bouton "adresses enregistrées" (flèche) dans le champ destination */
.bk__fav { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.bk__fav i { font-size: 1rem; }
.bk__fav:hover { color: var(--brand); background: var(--surface); }
/* Bouton « choisir sur la carte » à droite des champs */
.bk__mapbtn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.bk__mapbtn svg { width: 20px; height: 20px; }
.bk__mapbtn:hover { color: var(--brand); background: var(--surface); }
.bk__mapbtn.is-active { color: #fff; background: var(--brand); }
/* Mode pointage : curseur réticule sur la carte */
#map.is-picking { cursor: crosshair; }
.bk__acEmpty, .bk__acLoading { padding: 12px 14px; color: var(--muted); font-size: .92rem; }

/* ---- Négocier le prix (Taxi Bid) : éditeur INLINE sur la carte du véhicule (comme l'app) ---- */
/* Badge « Tarif moyen » à côté du prix du véhicule. */
.bk__avgTag { display: inline-block; margin-left: 2px; padding: 2px 8px; border-radius: 999px; background: #fdecd0; color: #a66512; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.bk__vehPrice { flex-wrap: wrap; justify-content: flex-end; }
/* Bloc éditeur : − [montant ✎] +  sous le véhicule sélectionné. */
.bk__bidEdit { margin: -4px 0 4px; padding: 14px; border: 1px solid var(--brand, var(--brand)); border-top: 0; border-radius: 0 0 var(--r-md, 14px) var(--r-md, 14px); background: var(--brand-50, var(--brand-50));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.bk__bidStep { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line, #e3dcda); background: var(--surface); color: var(--ink, var(--ink)); font-size: 1.5rem; font-weight: 700; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bk__bidStep:hover { border-color: var(--brand, var(--brand)); color: var(--brand, var(--brand)); }
.bk__bidAmount { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bk__bidAmount input { width: 100%; max-width: 160px; border: 0; outline: 0; background: none; text-align: center; font: inherit; font-size: 1.6rem; font-weight: 800; color: var(--ink, var(--ink)); -moz-appearance: textfield; }
.bk__bidAmount input::-webkit-outer-spin-button, .bk__bidAmount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk__bidAmount em { font-style: normal; font-weight: 800; color: var(--ink, var(--ink)); font-size: 1.1rem; }
.bk__bidPen { font-style: normal; color: var(--brand, var(--brand)); font-size: .95rem; }
.bk__bidTag { grid-column: 2; text-align: center; margin-top: -6px; color: #a66512; font-weight: 700; font-size: .8rem; }
.bk__bidNote { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; color: var(--muted, var(--muted)); font-size: .78rem; }

/* ---- Négocier : barre d'offre + devis chauffeurs (pendant la recherche) ---- */
.bkBidBar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9502; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -8px 26px rgba(0,0,0,.14); }
.bkBidBar__txt { font-size: .95rem; color: #3a3540; }
.bkBidBar__txt b { color: var(--brand, var(--brand)); font-weight: 800; }
.bkBidBar__raise { border: 1.5px solid var(--brand, var(--brand)); background: var(--surface); color: var(--brand, var(--brand)); font-weight: 800; border-radius: 12px; padding: 12px 16px; cursor: pointer; font: inherit; font-weight: 800; }
.bkBidBar__raise:hover { background: #fff5f4; }
.bkQuotes { position: fixed; left: 0; right: 0; top: 70px; z-index: 9503; display: flex; flex-direction: column; gap: 10px; padding: 0 14px; max-height: 60vh; overflow: auto; }
.bkQuote { background: var(--surface); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: 14px 16px; }
.bkQuote__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bkQuote__who strong { display: block; font-weight: 800; }
.bkQuote__who small { color: var(--muted); }
.bkQuote__fare { text-align: right; font-weight: 800; color: var(--brand, var(--brand)); font-size: 1.1rem; white-space: nowrap; }
.bkQuote__fare em { display: block; font-style: normal; font-size: .72rem; font-weight: 700; color: #1e9e5a; }
.bkQuote__act { display: flex; gap: 10px; margin-top: 12px; }
.bkQuote__btn { flex: 1; height: 46px; border-radius: 12px; font: inherit; font-weight: 800; cursor: pointer; border: 0; }
.bkQuote__ignore { background: var(--surface); border: 1.5px solid #e3dcda; color: #4a4446; }
.bkQuote__accept { background: var(--brand, var(--brand)); color: #fff; }
.bkQuote__bar { height: 4px; border-radius: 999px; background: var(--soft); margin-top: 12px; overflow: hidden; }
.bkQuote__bar > i { display: block; height: 100%; background: #f0a500; width: 100%; transform-origin: left; animation: bkQuoteBar linear forwards; }
@keyframes bkQuoteBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---- Offre : − / + ---- */
.bk__bidRow { display: flex; align-items: center; gap: 12px; }
.bk__bidRow .bk__bidInput { flex: 1; }
.bk__bidStep { width: 52px; height: 52px; flex-shrink: 0; border: 1px solid var(--line, #e3dcda); background: var(--surface); border-radius: 14px; font-size: 1.5rem; font-weight: 700; color: var(--brand, var(--brand)); cursor: pointer; line-height: 1; }
.bk__bidStep:hover { background: #fff5f4; }

/* --- Sélecteur de type de carte : repliable derrière une icône -----------------
   Ordinateur : liste visible par défaut. Mobile/tablette : repliée derrière
   le bouton « calques », dépliée au clic. */
.bkMapTypes__list { display: flex; flex-direction: column; gap: 8px; }
.bkMapTypes__toggle { display: none; }   /* ordinateur : caché (liste visible) */
@media (max-width: 1024px) {
  .bkMapTypes__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px rgb(20 16 17 / .2); transition: .18s var(--ease); }
  .bkMapTypes__toggle svg { width: 22px; height: 22px; }
  .bkMapTypes__toggle:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgb(20 16 17 / .26); }
  .bkMapTypes__list { display: none; margin-bottom: 2px; }   /* caché derrière l'icône */
  .bkMapTypes.is-open .bkMapTypes__list { display: flex; }
  .bkMapTypes.is-open .bkMapTypes__toggle { background: var(--ink); color: #fff; }
}

/* ---- Mobile : tout le panneau Trajet compacté (champs, trajet, cartes véhicule, bouton) ---- */
@media (max-width: 640px) {
  .bk__field input { height: 40px; font-size: .88rem; }
  .bk__route { padding: 11px; gap: 10px; }
  .bk__trip { font-size: .82rem; margin-top: 12px; }
  .bk__title { font-size: .95rem; margin: 16px 0 9px; }
  .bk__vehicles { gap: 8px; }
  .bk__veh { padding: 9px 11px; gap: 10px; }
  .bk__veh img, .bk__vehImg { width: 42px; height: 42px; }
  .bk__vehIcon { width: 42px; height: 42px; border-radius: 11px; }
  .bk__vehTxt strong { font-size: .88rem; }
  .bk__vehTxt small { font-size: .72rem; }
  .bk__seats { font-size: .72rem; }
  .bk__seats::before { width: 10px; height: 10px; }
  .bk__vehPrice { font-size: .88rem; gap: 6px; }
  .bk__vehPrice s { font-size: .74rem; }
  .bk__info { width: 20px; height: 20px; font-size: .7rem; }
  .bk__next { height: 48px; font-size: .9rem; }
  /* pastilles de mode sur la carte (Immédiate, Réserver, Trajet partagé…) */
  .bk__modes { gap: 7px; }
  .bk__mode { height: 34px; padding: 0 12px 0 9px; font-size: .76rem; gap: 7px; }
  .bk__mode svg, .bk__mode i, .bk__mode .fa { font-size: .85rem; width: auto; }
  /* formulaire Colis (Détails de la livraison) */
  .bk__pkGrid { gap: 8px; margin-top: 8px; }
  .bk__pkLbl { font-size: .68rem; }
  .bk__pkInput { padding: 9px 12px; font-size: .85rem; }
  .bk__pkCode { padding: 0 10px; font-size: .85rem; }
  .bk__pkArea { min-height: 40px; }
  .bk__pkg { padding: 9px 11px; gap: 10px; }
  .bk__pkgTxt strong { font-size: .88rem; }
  .bk__pkgTxt small { font-size: .72rem; }
  .bk__pkgPrice { font-size: .92rem; }
}
