/* ==========================================================================
   JEW WHERE MAP APP - FOLHA DE ESTILOS MESTRA (SEM !IMPORTANT)
   Arquitetura Limpa: Usa body#jw-body-map #content para ganhar especificidade.
   ========================================================================== */

/* --- 1. RESET E LAYOUT DE TELA CHEIA --- */
html { margin-top: 0; }
#wpadminbar { opacity: 0.2; transition: opacity 0.3s; }
#wpadminbar:hover { opacity: 1; }

body#jw-body-map.jw-map-fullscreen {
    margin: 0; padding: 0; width: 100vw; height: 100vh; overflow: hidden; 
}

body#jw-body-map #content.jw-home {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    margin: 0; padding: 0; max-width: none;
}

/* WP Admin Bar: quando estiver logado, nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o deixar sobrepor o mapa */
body.admin-bar#jw-body-map #content.jw-home{
  top: 32px;
  height: auto;
}

@media (max-width: 782px){
  body.admin-bar#jw-body-map #content.jw-home{
    top: 46px;
    height: auto;
  }
}

body#jw-body-map #content .jw-map-layout, 
body#jw-body-map #content #jew-global-radar {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; z-index: 1;
    position: relative;
}

/* --- 2. BARRA SUPERIOR (LOGO E MENU) --- */
body#jw-body-map #content .jw-top-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    pointer-events: none;
}

body#jw-body-map #content .jw-menu-btn {
    pointer-events: auto; width: 48px; height: 48px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
    border: 1px solid var(--jw-border); border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: flex;
    align-items: center; justify-content: center; font-size: 20px;
    color: var(--jw-dark); cursor: pointer; transition: all 0.2s;
}

body#jw-body-map #content .jw-menu-btn:hover { 
    background: #fff; transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); color: var(--jw-blue); 
}

body#jw-body-map #content .jw-logo-map {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

body#jw-body-map #content .jw-logo-map .jw-logo-map__img {
    height: 50px; width: auto; object-fit: contain; display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

body#jw-body-map #content .jw-logo-map .jw-logo-map__img--light {
    display: none;
}

body#jw-body-map #content .jw-logo-map{
    text-decoration: none;
    color: var(--jw-blue);
    gap: 10px;
}

body#jw-body-map #content .jw-logo-map .jw-brand__icon{
    font-size: 28px;
    line-height: 1;
}

body#jw-body-map #content .jw-logo-map .jw-brand__name{
    font-family: var(--jw-font-serif);
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 22px;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

body#jw-body-map.jw-satellite-on #content .jw-logo-map .jw-logo-map__img--dark {
    display: none;
}

body#jw-body-map.jw-satellite-on #content .jw-logo-map .jw-logo-map__img--light {
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}

/* --- 3. MENU "GAVETA" DESLIZANTE --- */
body#jw-body-map .jw-fullscreen-menu {
    position: fixed; top: 0; left: 0; width: 320px; max-width: 85vw; height: 100vh;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
    z-index: 99999; display: flex; flex-direction: column; align-items: flex-start;
    padding: 80px 40px calc(56px + env(safe-area-inset-bottom)) 40px; box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body#jw-body-map .jw-fullscreen-menu.open { transform: translateX(0); }

body#jw-body-map .jw-close-menu {
    position: absolute; top: 25px; right: 25px; background: none; border: none;
    font-size: 28px; color: var(--jw-dark); cursor: pointer; transition: transform 0.2s;
}

body#jw-body-map .jw-close-menu:hover { transform: rotate(90deg); color: var(--jw-blue); }

body#jw-body-map .jw-fullscreen-menu nav { 
    display: flex; flex-direction: column; gap: 20px; width: 100%; text-align: left; 
}

body#jw-body-map .jw-fullscreen-menu nav a {
    font-family: var(--jw-font-serif); font-size: 22px; font-weight: 700;
    color: var(--jw-blue); text-decoration: none; transition: all 0.2s;
    border-bottom: 1px solid var(--jw-border); padding-bottom: 15px; display: block;
}

body#jw-body-map .jw-fullscreen-menu nav a:hover { color: var(--jw-gold); padding-left: 10px; }

/* --- 4. BOTÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ES DA DIREITA (REDONDOS E PERFEITOS) --- */
body#jw-body-map #content .jw-float-actions {
  position: absolute;
  right: 50px;
  bottom: 80px;
  top: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

body#jw-body-map #content .jw-float-btn {
    width: 40px;
        height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--jw-border);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jw-blue);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Removido a transiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o de background para o mapa de satÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©lite nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o flashar */
    position: relative;
    padding: 0;
}

body#jw-body-map #content .jw-float-btn:not(#jw-satellite-btn):hover { 
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
}

/* O botÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o de satÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©lite especificamente, se houver hover */
body#jw-body-map #content #jw-satellite-btn:hover {
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

body#jw-body-map #content .jw-float-btn i { font-size: 21px; }

/* === BOTÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢O DE SATÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°LITE LIMPO (Apenas a bola com a imagem de fundo) === */
body#jw-body-map #content #jw-satellite-btn {
    border: 2px solid #ffffff; /* Borda branca forte para o destacar do mapa */
    overflow: visible; /* Importante para nÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o cortar a label do lado de fora */
    background-color: #d1d5db; /* Cor de reserva se a imagem demorar a carregar */
}

body#jw-body-map #content .jw-float-label {
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent; /* Transparente como na imagem original (opcional) ou mantemos o estilo UI Kit */
    color: var(--jw-dark);
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(255,255,255,0.9); /* Adicionado sombra branca no texto para ler bem em cima do mapa */
    pointer-events: none;
}

/* --- 5. BARRA DE EXPLORAR (PAINEL ABERTO PELO BOTÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢O LATERAL) --- */
body#jw-body-map #content .jw-explore-wrapper {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 30px;
    z-index: 1000;

    /* Transformar num ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºnico "comprimido" (pill) horizontal perfeitamente alinhado */
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Estica para garantir que o texto e os ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­cones fiquem da mesma altura */
    
    background: rgba(255, 255, 255, 0.58);
    border-radius: 22px;
    border: 1px solid var(--jw-border);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
    overflow: hidden;

    /* AnimaÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o do painel inteiro, suave e elegante */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

body#jw-body-map #content .jw-explore-wrapper.is-collapsed {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px) scale(0.96); /* AnimaÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o que desliza suavemente para fora */
    pointer-events: none;
}

body#jw-body-map #content .jw-explore-title {
    font-family: var(--jw-font-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--jw-dark);
    margin: 0;
    padding: 0 16px 0 24px; /* EspaÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§o na esquerda e um pouco na direita */
    display: flex;
    align-items: center; /* Centrar o texto verticalmente perante os botÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âµes */
    white-space: nowrap;
    
    /* Removemos fundos e bordas extras, integrando ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  barra */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: none;
}

body#jw-body-map #content .jw-explore-bar {
    display: flex;
    background: transparent;
    border: none;
    border-left: none; /* DivisÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³ria subtil e moderna entre texto e ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­cones */
    border-radius: 0;
    box-shadow: none;
}

/* BotÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âµes de explore dentro da barra */
body#jw-body-map #content .jw-explore-btn {
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    overflow: hidden;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body#jw-body-map #content .jw-explore-btn:last-child {
    border-right: none;
}

body#jw-body-map #content .jw-explore-btn:hover {
    background: #F9FAFB;
}

body#jw-body-map #content .jw-explore-btn.active {
    background: #F3F4F6;
    box-shadow: inset 0 -3px 0 var(--jw-blue);
}

body#jw-body-map #content .jw-explore-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: transform 0.2s;
}

body#jw-body-map #content .jw-explore-btn:hover img {
    transform: scale(1.15) translateY(-2px);
}

body#jw-body-map #content .jw-explore-btn i,
body#jw-body-map #content .jw-explore-btn img {
    flex-shrink: 0;
}

body#jw-body-map #content .jw-explore-label {
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--jw-dark);
    transition: max-width 0.2s ease, margin-left 0.2s ease, opacity 0.16s ease;
}

body#jw-body-map #content .jw-explore-btn.active .jw-explore-label {
    max-width: 140px;
    margin-left: 8px;
    opacity: 1;
}

body#jw-body-map #content .jw-explore-mobile-title {
    display: none;
}

/* --- 6. CAIXAS FLUTUANTES LATERAIS --- */
body#jw-body-map #content aside.jw-side-panel {
    position: absolute; top: 85px; left: 20px; bottom: auto; height: auto;
    width: 360px; max-width: calc(100vw - 100px); max-height: calc(100vh - 100px);
	height: auto; min-height: 380px; 
    background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    z-index: 1000; display: flex; flex-direction: column;
    border: 1px solid var(--jw-border); overflow: hidden; opacity: 0;
    transform: translateY(-10px) scale(0.98); pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body#jw-body-map #content aside.jw-side-panel.open {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}

body#jw-body-map #content .jw-side-panel .jw-panel-header {
    padding: 20px; border-bottom: 1px solid var(--jw-border); background: var(--jw-light);
    display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}

/* DEVOLVER O CABEÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ALHO AZUL ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ CAIXA DE PERCURSOS */
body#jw-body-map #content aside#jw-routes-panel .jw-panel-header {
    background: var(--jw-blue); border-bottom: none;
}
body#jw-body-map #content aside#jw-routes-panel .jw-panel-title h2 { color: #fff; }
body#jw-body-map #content aside#jw-routes-panel .jw-panel-title i { color: var(--jw-gold); }
body#jw-body-map #content aside#jw-routes-panel .jw-panel-close { color: #fff; border-color: rgba(255,255,255,0.3); }
body#jw-body-map #content aside#jw-routes-panel .jw-panel-close:hover { background: rgba(255,255,255,0.15); }

body#jw-body-map #content .jw-side-panel .jw-panel-title { display: flex; align-items: center; gap: 10px; color: var(--jw-blue); }
body#jw-body-map #content .jw-side-panel .jw-panel-title i { font-size: 24px; }
body#jw-body-map #content .jw-side-panel .jw-panel-title h2 { margin: 0; font-family: var(--jw-font-serif); font-size: 22px; font-weight: 700; }

body#jw-body-map #content .jw-side-panel .jw-panel-close {
    background: transparent; border: 1px solid var(--jw-border); border-radius: 50%;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--jw-gray); transition: all 0.2s ease;
}
body#jw-body-map #content .jw-side-panel .jw-panel-close:hover { background: var(--jw-border); color: var(--jw-blue); }

body#jw-body-map #content .jw-side-panel .jw-panel-content { overflow-y: auto; padding: 20px; flex: 1; }
/* Suggested routes panel */
body#jw-body-map #content aside#jw-suggested-panel .jw-panel-header {
    background: #fff;
    border-bottom: 1px solid var(--jw-border);
}

body#jw-body-map #content .jw-suggested-panel-content {
    padding: 16px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
}

body#jw-body-map #content .jw-suggested-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body#jw-body-map #content .jw-suggested-card {
    border: 1px solid var(--jw-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(26, 54, 93, 0.08);
    overflow: hidden;
}

body#jw-body-map #content .jw-suggested-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 40px;
    align-items: stretch;
    gap: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

body#jw-body-map #content .jw-suggested-card__thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    margin: 0 0 0 9px;
    align-self: center;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jw-blue);
    font-size: 20px;
    overflow: hidden;
}

body#jw-body-map #content .jw-suggested-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body#jw-body-map #content .jw-suggested-card__head-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    padding: 12px 16px 12px 12px;
}

body#jw-body-map #content .jw-suggested-card__kicker {
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #7b8699;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body#jw-body-map #content .jw-suggested-card__flag {
    font-size: 12px;
    line-height: 1;
}

body#jw-body-map #content .jw-suggested-card__title {
    font-family: var(--jw-font-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--jw-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body#jw-body-map #content .jw-suggested-card__quick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.2;
}

body#jw-body-map #content .jw-suggested-card__quick > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}


body#jw-body-map #content .jw-suggested-card__quick i {
    font-size: 12px;
    color: #334155;
}

body#jw-body-map #content .jw-suggested-card__quick strong {
    font-size: 0.92em;
    font-weight: 500;
    color: #1f2937;
}

body#jw-body-map #content .jw-suggested-sep {
    color: #9aa4b2;
    font-weight: 600;
}

body#jw-body-map #content .jw-suggested-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jw-blue);
    color: #fff;
    border-left: 1px solid rgba(183, 121, 31, 0.35);
    width: 100%;
    min-height: 100%;
    align-self: stretch;
}

body#jw-body-map #content .jw-suggested-card__cta i {
    font-size: 15px;
    transition: transform 0.2s ease;
}

body#jw-body-map #content .jw-suggested-card.is-open .jw-suggested-card__cta i {
    transform: rotate(90deg);
}

body#jw-body-map #content .jw-suggested-card__details {
    border-top: 1px solid #e6eaf1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
}

body#jw-body-map #content .jw-suggested-card__details[hidden] {
    display: none;
}

body#jw-body-map #content .jw-suggested-card__status {
    margin: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jw-gold);
}

body#jw-body-map #content .jw-suggested-card__summary {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--jw-gray);
    text-align: justify;
}

body#jw-body-map #content .jw-suggested-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body#jw-body-map #content .jw-suggested-metric {
    border: 1px solid var(--jw-border);
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body#jw-body-map #content .jw-suggested-metric__label {
    font-size: 9.5px;
    color: #58657a;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body#jw-body-map #content .jw-suggested-metric strong {
    font-size: 12px;
    color: var(--jw-blue);
    font-weight: 600;
}

body#jw-body-map #content .jw-suggested-metric small {
    font-size: 9.5px;
    color: #6b7280;
}

body#jw-body-map #content .jw-suggested-stops {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    counter-reset: jwSuggestedStop;
}

body#jw-body-map #content .jw-suggested-stops::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    border-left: 2px dotted #c3cfdf;
}

body#jw-body-map #content .jw-suggested-stop {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 12px;
    counter-increment: jwSuggestedStop;
}

body#jw-body-map #content .jw-suggested-stop:last-child {
    padding-bottom: 0;
}

body#jw-body-map #content .jw-suggested-stop__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--jw-blue);
    color: transparent;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    z-index: 1;
    position: relative;
}

body#jw-body-map #content .jw-suggested-stop__dot::after {
    content: counter(jwSuggestedStop);
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
}


body#jw-body-map #content .jw-suggested-stop__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 1px;
}

body#jw-body-map #content .jw-suggested-stop__text strong {
    font-size: 12px;
    line-height: 1.3;
    color: #1f2937;
    font-weight: 600;
}

body#jw-body-map #content .jw-suggested-stop__text small {
    font-size: 10.5px;
    color: #6b7280;
    line-height: 1.4;
}

body#jw-body-map #content .jw-suggested-card .jw-suggested-start {
    margin-top: 2px;
}

body#jw-body-map #content .jw-suggested-empty {
    border: 1px dashed #c9d3e0;
    border-radius: 12px;
    padding: 26px 18px;
    text-align: center;
    color: var(--jw-gray);
    background: #fff;
}

body#jw-body-map #content .jw-suggested-empty i {
    font-size: 30px;
    color: var(--jw-blue);
}

body#jw-body-map #content .jw-suggested-empty h3 {
    margin: 10px 0 6px;
    font-size: 18px;
    color: var(--jw-dark);
    font-family: var(--jw-font-serif);
}

body#jw-body-map #content .jw-suggested-empty p {
    margin: 0;
    font-size: 12px;
}

body#jw-body-map #content .jw-suggested-empty .jw-suggested-empty__hint {
    margin-top: 8px;
    font-size: 11.5px;
    color: #526171;
    font-weight: 600;
}

@media (max-width: 782px) {
    body#jw-body-map #content aside#jw-suggested-panel {
        max-height: calc(100vh - 88px);
    }

    body#jw-body-map #content .jw-suggested-toggle {
        grid-template-columns: 52px minmax(0, 1fr) 40px;
        gap: 0;
        padding: 0;
    }

    body#jw-body-map #content .jw-suggested-card__thumb {
        width: 40px;
        height: 40px;
    }

    

body#jw-body-map #content .jw-suggested-card__title {
        font-size: 15px;
    }

    body#jw-body-map #content .jw-suggested-card__quick {
        font-size: 10.5px;
    }

    body#jw-body-map #content .jw-suggested-card__details {
        padding: 14px;
    }

    body#jw-body-map #content .jw-suggested-metrics {
        grid-template-columns: 1fr;
    }
}

/* --- 7. ESTILOS INTERIORES --- */
body#jw-body-map #content .jw-search-box {
    display: flex; align-items: center; gap: 10px; padding: 12px;
    border: 1px solid var(--jw-border); border-bottom: 2px solid rgba(26,54,93,0.2);
    border-radius: var(--jw-radius-sm); background: #fff; transition: border-color 0.2s;
}
body#jw-body-map #content .jw-search-box:focus-within { border-bottom-color: var(--jw-blue); }
body#jw-body-map #content .jw-search-box i { color: var(--jw-gray); font-size: 20px; }
body#jw-body-map #content .jw-search-box input { border: 0; outline: 0; width: 100%; min-width: 0; flex: 1; font-size: 14px; color: var(--jw-dark); }
body#jw-body-map #content .jw-search-ok {
    border: 1px solid var(--jw-blue);
    background: var(--jw-blue);
    color: #fff;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
body#jw-body-map #content .jw-search-ok:hover {
    background: #152c4d;
    transform: translateY(-1px);
}
body#jw-body-map #content .jw-search-error {
    margin: 0 2px 10px;
    min-height: 16px;
    font-size: 12px;
    line-height: 1.25;
    color: #b42318;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
body#jw-body-map #content .jw-search-error.is-visible {
    opacity: 1;
    transform: translateY(0);
}
body#jw-body-map #content .jw-search-results-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 6px;
}
body#jw-body-map #content .jw-search-results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
body#jw-body-map #content .jw-search-results-count {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--jw-gray);
}
body#jw-body-map #content .jw-search-results-clear {
    border: 1px solid var(--jw-border);
    background: #fff;
    color: var(--jw-dark);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
body#jw-body-map #content .jw-search-results-clear:hover {
    border-color: var(--jw-blue);
    background: #f8fafc;
}
body#jw-body-map #content .jw-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body#jw-body-map #content .jw-search-result-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    height: 104px;
    border: 1px solid var(--jw-border);
    border-radius: 10px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(26, 54, 93, 0.08);
}
body#jw-body-map #content .jw-search-result-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
body#jw-body-map #content .jw-search-result-card--link:hover {
    box-shadow: 0 6px 14px rgba(26, 54, 93, 0.12);
}
body#jw-body-map #content .jw-search-result-media {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jw-blue);
    font-size: 16px;
    overflow: hidden;
}
body#jw-body-map #content .jw-search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
body#jw-body-map #content .jw-search-result-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 7px 10px;
    overflow: hidden;
}
body#jw-body-map #content .jw-search-result-title {
    margin: 0 0 3px;
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--jw-dark);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: calc(1.25em * 2);
    overflow: hidden;
}
body#jw-body-map #content .jw-search-result-summary {
    margin: 0 0 3px;
    font-size: 10.5px;
    line-height: 1.32;
    color: var(--jw-gray);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: calc(1.32em * 2);
    overflow: hidden;
}
body#jw-body-map #content .jw-search-result-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: auto 0 0;
    font-size: 9.5px;
    font-weight: 600;
    color: var(--jw-gray);
}
body#jw-body-map #content .jw-search-result-flag {
    font-size: 13px;
    line-height: 1;
}
body#jw-body-map #content .jw-search-results-empty {
    border: 1px dashed var(--jw-border);
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    font-size: 12px;
    color: var(--jw-gray);
}

body#jw-body-map #content .custom-checkbox {
    appearance: none; width: 1.1rem; height: 1.1rem; border: 1px solid var(--jw-border);
    border-radius: 2px; outline: none; cursor: pointer; position: relative;
    transition: all 0.2s; flex-shrink: 0; background-color: white; margin: 0; transform: translateY(1px); 
}
body#jw-body-map #content .custom-checkbox:checked { background-color: var(--jw-blue); border-color: var(--jw-blue); }
body#jw-body-map #content .custom-checkbox:checked::after { content: '\2714'; font-size: 0.8rem; color: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

body#jw-body-map #content .jw-theme-parent, 
body#jw-body-map #content .jw-theme-child, 
body#jw-body-map #content .jw-status-item { display: flex; align-items: center; gap: 12px; margin-bottom: 0; }
body#jw-body-map #content .jw-theme-group { margin-bottom: 16px; }
body#jw-body-map #content .jw-theme-parent span { font-size: 14px; font-weight: 700; color: var(--jw-dark); transition: color 0.2s; }
body#jw-body-map #content .jw-theme-parent:hover span { color: var(--jw-blue); }

body#jw-body-map #content .jw-theme-children { padding-left: 26px; margin-left: 7px; border-left: 2px solid #E5E7EB; display: flex; flex-direction: column; gap: 12px; margin-top: 10px; margin-bottom: 16px; }
body#jw-body-map #content .jw-theme-child { display: flex; align-items: center; gap: 10px; cursor: pointer; }
body#jw-body-map #content .jw-theme-child span { font-size: 12px; color: var(--jw-gray); transition: color 0.2s; }
body#jw-body-map #content .jw-theme-child:hover span { color: var(--jw-dark); }

body#jw-body-map #content .jw-status-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
body#jw-body-map #content .jw-status-item span { font-size: 14px; font-weight: 500; color: var(--jw-dark); transition: color 0.2s; }
body#jw-body-map #content .jw-status-item:hover span { color: var(--jw-blue); }
body#jw-body-map #content .jw-status-item i { font-size: 20px; }

/* BotÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âµes Form */
body#jw-body-map #content .jw-btn-outline { background: transparent; border: 1px solid var(--jw-border); padding: 10px; border-radius: var(--jw-radius-sm); cursor: pointer; font-weight: 600; color: var(--jw-dark); display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
body#jw-body-map #content .jw-btn-outline:hover { background: var(--jw-light); border-color: var(--jw-gray); }
body#jw-body-map #content .jw-btn-primary { background: var(--jw-blue); border: none; padding: 10px; border-radius: var(--jw-radius-sm); cursor: pointer; font-weight: 600; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; width: 100%; }
body#jw-body-map #content .jw-btn-primary:hover { background: #152c4d; }

body#jw-body-map #content .jw-route-loading-hint {
    margin: 0 2px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(4px);
    font-size: 11px;
    line-height: 1.3;
    color: var(--jw-gray);
    transition: max-height 0.28s ease, opacity 0.25s ease, transform 0.25s ease;
}

body#jw-body-map #content .jw-route-loading-hint.is-visible {
    margin: 14px 2px 8px;
    max-height: 36px;
    opacity: 1;
    transform: translateY(0);
}

body#jw-body-map #content .jw-btn-primary .jw-spin {
    display: inline-block;
    line-height: 1;
}

body#jw-body-map #content .jw-btn-primary.is-loading {
    cursor: wait;
    background: #34527a;
}

body#jw-body-map #content .jw-btn-primary.is-loading:hover {
    background: #34527a;
}

body#jw-body-map #content .jw-btn-primary.is-loading .jw-spin {
    animation: jwRouteSpin 0.9s linear infinite;
}

@keyframes jwRouteSpin {
    to {
        transform: rotate(360deg);
    }
}
body#jw-body-map #content .jw-btn-text { background: transparent; padding: 10px; cursor: pointer; font-weight: 600; color: var(--jw-gray); display: flex; align-items: center; gap: 8px; transition: all 0.2s; border: 1px dashed #ccc; border-radius: 4px; }
body#jw-body-map #content .jw-btn-text:hover { color: var(--jw-dark); background: #f9fafb; border-color: var(--jw-dark); }

/* Inputs Rota */
body#jw-body-map #content .jw-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--jw-border);
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: var(--jw-radius-sm);
}
body#jw-body-map #content .jw-origin-group,
body#jw-body-map #content .jw-waypoint-item {
    min-height: 48px;
}

body#jw-body-map #content .jw-waypoint-item {
    position: relative;
    overflow: hidden;
}

body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added {
    border-color: #10b981;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.22), 0 10px 20px rgba(16, 185, 129, 0.16);
    animation: jwWaypointGlowFade 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(16, 185, 129, 0) 0%, rgba(16, 185, 129, 0.18) 40%, rgba(16, 185, 129, 0) 78%);
    transform: translateX(-130%);
    pointer-events: none;
    animation: jwWaypointSweep 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added .jw-waypoint-input {
    animation: jwWaypointTextTint 1.15s ease-out;
}

body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added .jw-icon-target {
    animation: jwWaypointIconTint 1.15s ease-out;
}

@keyframes jwWaypointGlowFade {
    0% {
        border-color: #10b981;
        box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.28), 0 12px 24px rgba(16, 185, 129, 0.2);
    }
    100% {
        border-color: var(--jw-border);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes jwWaypointSweep {
    0% {
        transform: translateX(-130%);
        opacity: 0.25;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: translateX(130%);
        opacity: 0;
    }
}

@keyframes jwWaypointTextTint {
    0% {
        color: #059669;
    }
    65% {
        color: #047857;
    }
    100% {
        color: var(--jw-dark);
    }
}

@keyframes jwWaypointIconTint {
    0% {
        color: #059669;
        transform: scale(1);
    }
    45% {
        color: #10b981;
        transform: scale(1.08);
    }
    100% {
        color: var(--jw-gray);
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added,
    body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added .jw-waypoint-input,
    body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added .jw-icon-target {
        animation: none;
    }

    body#jw-body-map #content .jw-waypoint-item.jw-waypoint-added::after {
        animation: none;
        display: none;
    }
}

body#jw-body-map #content .jw-input-group i { color: var(--jw-gray); font-size: 18px; margin-right: 10px; }
body#jw-body-map #content .jw-input-group input { border: none; outline: none; width: 100%; font-size: 12px; }
body#jw-body-map #content .jw-input-group button {
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--jw-gray);
}

body#jw-body-map #content .jw-input-group button i {
    margin: 0;
    font-size: 15px;
    line-height: 1;
}

body#jw-body-map #content .jw-input-group button:hover {
    color: var(--jw-blue);
}
body#jw-body-map #content .jw-origin-group input {
    flex: 1;
    min-width: 0;
}

body#jw-body-map #content .jw-origin-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

body#jw-body-map #content .jw-origin-actions button {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jw-border);
    border-radius: 10px;
    background: #fff;
}

body#jw-body-map #content .jw-origin-actions button.is-hidden {
    display: none;
}

body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
    margin-right: 20px;
    margin-top: 8px;
    border: none;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--jw-radius-md);
    border: 1px solid var(--jw-border);
    color: var(--jw-blue);
    background: #fff;
    text-decoration: none;
}

body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a:hover {
    background: var(--jw-blue);
    color: #fff;
}

body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a.is-hidden {
    display: none;
}
body#jw-body-map #content .jw-route-modes { display: flex; background: var(--jw-border); padding: 2px; border-radius: var(--jw-radius-sm); margin-top: 20px;}
body#jw-body-map #content .jw-mode-btn { flex: 1; border: none; background: transparent; padding: 8px; cursor: pointer; font-size: 12px; font-weight: bold; color: var(--jw-gray); border-radius: 2px; }
body#jw-body-map #content .jw-mode-btn.active { background: #fff; color: var(--jw-blue); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* --- 8. CONTROLOS LEAFLET (Alta Especificidade, sem important) --- */
body#jw-body-map #content .leaflet-container .leaflet-control-zoom { margin-top: 20px; margin-right: 20px; border: none; }
body#jw-body-map #content .leaflet-container .leaflet-bar a { border-radius: var(--jw-radius-md); border: 1px solid var(--jw-border); color: var(--jw-blue); background-color: #fff; }
body#jw-body-map #content .leaflet-container .leaflet-bar a:hover { background: var(--jw-blue); color: #fff; }

/* ========================================================================== 
   Estilos migrados do jew-map.js (antes injetados via JS)
   ========================================================================== */

body#jw-body-map #content .jw-custom-popup .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); border: 1px solid var(--jw-border); }

body#jw-body-map #content .jw-custom-popup .leaflet-popup-content { margin: 0; width: 260px; height: auto; overflow: hidden; }

/* Setinha (Pointer) Maior e mais visÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­vel */
body#jw-body-map #content .jw-custom-popup .leaflet-popup-tip-container { width: 30px; height: 15px; margin-left: -15px; }
body#jw-body-map #content .jw-custom-popup .leaflet-popup-tip { background: white; border-bottom: 1px solid var(--jw-border); border-right: 1px solid var(--jw-border); width: 18px; height: 18px; margin: -9px auto 0; box-shadow: 2px 2px 10px rgba(0,0,0,0.05); }

/* BotÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o Fechar (X) Redesenhado - Bolinha escura com X branco (Corrigido para forÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ar o Leaflet) */
body#jw-body-map #content .jw-custom-popup a.leaflet-popup-close-button {
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    top: 10px;
    right: 10px;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
body#jw-body-map #content .jw-custom-popup a.leaflet-popup-close-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff; }

body#jw-body-map #content .jw-popup-add:hover { background: #f3f4f6; border-color: var(--jw-gray); }

/* Efeito de Flash Verde para novo Destino na Rota */
@keyframes piscaSucesso {
    0% { background-color: #d1fae5; border-color: #059669; transform: scale(1.02); box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2); }
    100% { background-color: transparent; transform: scale(1); box-shadow: none; }
}
body#jw-body-map #content .jw-destaque-novo {
    animation: piscaSucesso 1.2s ease-out forwards;
    border-radius: 6px; /* Garante que os cantos ficam redondinhos na animaÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o */
}


/* --- 9. RESPONSIVE MOBILE MAP LAYER --- */
@media (max-width: 991px) {
    body#jw-body-map #content.jw-home {
        height: 100vh;
        height: 100dvh;
    }

    body#jw-body-map #content .jw-top-bar {
        top: max(10px, env(safe-area-inset-top));
        left: 12px;
        right: 12px;
        min-height: 44px;
    }

    body#jw-body-map #content .jw-menu-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__name {
        font-size: 19px;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__icon {
        font-size: 24px;
    }

    body#jw-body-map #content .jw-float-actions {
        right: 12px;
        bottom: calc(92px + env(safe-area-inset-bottom));
        gap: 12px;
    }

    body#jw-body-map #content .jw-float-btn {
        width: 42px;
        height: 42px;
    }

    body#jw-body-map #content .jw-float-btn i {
        font-size: 19px;
    }

    body#jw-body-map #content .jw-float-label {
        display: none;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        left: 12px;
        right: 12px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        transform: none;
        width: auto;
        max-width: none;
        border-radius: 18px;
    }

    body#jw-body-map #content .jw-explore-wrapper.is-collapsed {
        transform: translateY(12px) scale(0.98);
    }

    body#jw-body-map #content .jw-explore-title {
        display: none;
    }

    body#jw-body-map #content .jw-explore-bar {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    body#jw-body-map #content .jw-explore-bar::-webkit-scrollbar {
        display: none;
    }

    body#jw-body-map #content .jw-explore-btn {
        flex: 0 0 auto;
        min-width: 52px;
        padding: 9px 10px;
        scroll-snap-align: center;
    }

    body#jw-body-map #content .jw-explore-btn img {
        width: 20px;
        height: 20px;
    }

    body#jw-body-map #content .jw-explore-label {
        display: none;
    }

    body#jw-body-map #content aside.jw-side-panel {
        top: auto;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        max-height: min(74vh, 560px);
        max-height: min(74dvh, 560px);
        min-height: 0;
        border-radius: 16px;
        transform: translateY(24px) scale(1);
        z-index: 2100;
    }

    body#jw-body-map #content aside.jw-side-panel.open {
        transform: translateY(0) scale(1);
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-header {
        padding: 14px 16px;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-title h2 {
        font-size: 18px;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-content {
        padding: 14px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-right: 12px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: 64px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-top: 8px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-bar a,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a {
        width: 34px;
        height: 34px;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(82vw, 300px);
        height: min(56vh, 380px);
        height: min(56dvh, 380px);
    }
}

@media (max-width: 600px) {
    body#jw-body-map #content .jw-top-bar {
        top: max(8px, env(safe-area-inset-top));
        left: 10px;
        right: 10px;
    }

    body#jw-body-map #content .jw-menu-btn {
        width: 40px;
        height: 40px;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__name {
        font-size: 17px;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__icon {
        font-size: 22px;
    }

    body#jw-body-map #content .jw-float-actions {
        right: 10px;
        bottom: calc(84px + env(safe-area-inset-bottom));
    }

    body#jw-body-map #content .jw-float-btn {
        width: 40px;
        height: 40px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        left: 10px;
        right: 10px;
    }

    body#jw-body-map #content aside.jw-side-panel {
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        max-height: min(76vh, 520px);
        max-height: min(76dvh, 520px);
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(86vw, 290px);
        height: min(58vh, 360px);
        height: min(58dvh, 360px);
    }
}

@media (max-width: 991px) and (max-height: 760px) {
    body#jw-body-map #content .jw-top-bar {
        top: max(6px, env(safe-area-inset-top));
        min-height: 40px;
    }

    body#jw-body-map #content .jw-menu-btn {
        width: 40px;
        height: 40px;
    }

    body#jw-body-map #content .jw-float-actions {
        bottom: calc(72px + env(safe-area-inset-bottom));
        gap: 8px;
    }

    body#jw-body-map #content .jw-float-btn {
        width: 38px;
        height: 38px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: 52px;
    }

    body#jw-body-map #content aside.jw-side-panel {
        max-height: min(68vh, 470px);
        max-height: min(68dvh, 470px);
    }

    body#jw-body-map #content .jw-explore-wrapper {
        bottom: calc(4px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    body#jw-body-map #content .jw-float-actions {
        right: 8px;
        bottom: calc(64px + env(safe-area-inset-bottom));
        gap: 6px;
    }

    body#jw-body-map #content aside.jw-side-panel {
        max-height: min(62vh, 380px);
        max-height: min(62dvh, 380px);
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        height: min(64vh, 320px);
        height: min(64dvh, 320px);
    }
}

/* --- 10. MOBILE STEP 3: Vertical Explore + Popup Fit --- */
@media (max-width: 991px) {
    body#jw-body-map #content .jw-explore-wrapper {
        left: 0;
        right: auto;
        top: calc(max(10px, env(safe-area-inset-top)) + 120px);
        bottom: auto;
        width: 54px;
        max-height: calc(100dvh - 190px);
        border-radius: 0 14px 14px 0;
        border: 1px solid var(--jw-border);
        border-left: none;
        background: rgba(255,255,255,0.94);
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
        overflow: hidden;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 2050;
    }

    body#jw-body-map #content .jw-explore-wrapper.is-collapsed {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-14px) scale(0.96);
    }

    body#jw-body-map #content .jw-explore-bar {
        display: flex;
        flex-direction: column;
        width: 54px;
        max-height: calc(100dvh - 190px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: y proximity;
    }

    body#jw-body-map #content .jw-explore-btn {
        width: 54px;
        min-width: 0;
        min-height: 46px;
        padding: 9px 7px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        scroll-snap-align: center;
    }

    body#jw-body-map #content .jw-explore-btn:last-child {
        border-bottom: none;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(88vw, 328px);
        height: min(72dvh, 480px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 600px) {
    body#jw-body-map #content .jw-explore-wrapper {
        width: 50px;
        top: calc(max(8px, env(safe-area-inset-top)) + 116px);
    }

    body#jw-body-map #content .jw-explore-bar {
        width: 50px;
    }

    body#jw-body-map #content .jw-explore-btn {
        width: 50px;
        min-height: 46px;
        padding: 8px 6px;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(90vw, 320px);
        height: min(74dvh, 500px);
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    body#jw-body-map #content .jw-explore-wrapper {
        top: calc(max(6px, env(safe-area-inset-top)) + 84px);
        max-height: calc(100dvh - 130px);
    }

    body#jw-body-map #content .jw-explore-bar {
        max-height: calc(100dvh - 130px);
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        height: min(76dvh, 360px);
    }
}

/* --- 11. MOBILE STEP 4: Google Maps Inspired Layer --- */
@media (max-width: 991px) {
    body#jw-body-map #content.jw-home::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1890;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.12) 100%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease;
    }

    body#jw-body-map.jw-mobile-panel-open #content.jw-home::after {
        opacity: 1;
    }

    body#jw-body-map #content .jw-top-bar {
        top: max(10px, env(safe-area-inset-top));
        left: 12px;
        right: 12px;
        min-height: 0;
        gap: 10px;
        align-items: center;
    }

    body#jw-body-map #content .jw-menu-btn {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        border-radius: 16px;
        background: rgba(255,255,255,0.94);
        backdrop-filter: blur(12px);
        box-shadow: 0 12px 28px rgba(15,23,42,0.16);
    }

    body#jw-body-map #content .jw-logo-map {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-right: auto;
        padding: 11px 16px;
        border-radius: 999px;
        background: rgba(255,255,255,0.82);
        border: 1px solid rgba(203,213,225,0.92);
        box-shadow: 0 10px 24px rgba(15,23,42,0.12);
        backdrop-filter: blur(12px);
        gap: 8px;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__name {
        font-size: 18px;
        letter-spacing: 0.015em;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__icon {
        font-size: 22px;
    }

    body#jw-body-map #content .jw-float-actions {
        top: auto;
        right: 14px;
        bottom: calc(112px + env(safe-area-inset-bottom));
        gap: 10px;
        z-index: 2050;
    }

    body#jw-body-map #content .jw-float-btn {
        width: 48px;
        height: 48px;
        border-radius: 18px;
        background: rgba(255,255,255,0.96);
        box-shadow: 0 14px 30px rgba(15,23,42,0.18);
    }

    body#jw-body-map #content .jw-float-btn i {
        font-size: 20px;
    }

    body#jw-body-map #content #jw-satellite-btn {
        border-width: 1px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        left: 14px;
        right: auto;
        top: auto;
        bottom: calc(108px + env(safe-area-inset-bottom));
        width: 58px;
        max-height: min(52vh, 340px);
        border-radius: 22px;
        border: 1px solid rgba(203,213,225,0.92);
        background: rgba(255,255,255,0.96);
        box-shadow: 0 18px 38px rgba(15,23,42,0.18);
        backdrop-filter: blur(14px);
        transform-origin: left bottom;
        z-index: 2040;
    }

    body#jw-body-map #content .jw-explore-wrapper.is-collapsed,
    body#jw-body-map.jw-mobile-panel-open #content .jw-explore-wrapper {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(14px) scale(0.96);
    }

    body#jw-body-map #content .jw-explore-bar {
        width: 58px;
        max-height: min(52vh, 340px);
        padding: 4px 0;
    }

    body#jw-body-map #content .jw-explore-btn {
        width: 58px;
        min-height: 52px;
        padding: 10px 8px;
        border-bottom: 1px solid rgba(148,163,184,0.14);
    }

    body#jw-body-map #content .jw-explore-btn.active {
        background: rgba(30,64,175,0.08);
        box-shadow: inset 3px 0 0 var(--jw-blue);
    }

    body#jw-body-map #content aside.jw-side-panel {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        max-width: none;
        min-height: min(42vh, 340px);
        max-height: min(78vh, 640px);
        max-height: min(78dvh, 640px);
        border-radius: 24px 24px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        box-shadow: 0 -18px 44px rgba(15,23,42,0.26);
        transform: translateY(calc(100% + 24px));
        z-index: 2300;
    }

    body#jw-body-map #content aside.jw-side-panel.open {
        transform: translateY(0);
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-header {
        position: relative;
        padding: 18px 18px 14px;
        border-bottom: 1px solid rgba(203,213,225,0.72);
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-header::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 44px;
        height: 5px;
        border-radius: 999px;
        background: rgba(148,163,184,0.72);
        transform: translateX(-50%);
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-title {
        gap: 8px;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-title i {
        font-size: 20px;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-title h2 {
        font-size: 19px;
        line-height: 1.1;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-close {
        width: 36px;
        height: 36px;
        border-radius: 14px;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-content {
        padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-right: 14px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: calc(max(10px, env(safe-area-inset-top)) + 132px);
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-top: 8px;
    }
}

@media (max-width: 600px) {
    body#jw-body-map #content .jw-top-bar {
        top: max(8px, env(safe-area-inset-top));
        left: 10px;
        right: 10px;
    }

    body#jw-body-map #content .jw-menu-btn {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 14px;
    }

    body#jw-body-map #content .jw-logo-map {
        padding: 10px 14px;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__name {
        font-size: 17px;
    }

    body#jw-body-map #content .jw-float-actions {
        right: 10px;
        bottom: calc(102px + env(safe-area-inset-bottom));
    }

    body#jw-body-map #content .jw-float-btn {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        left: 10px;
        bottom: calc(98px + env(safe-area-inset-bottom));
        width: 54px;
    }

    body#jw-body-map #content .jw-explore-bar {
        width: 54px;
    }

    body#jw-body-map #content .jw-explore-btn {
        width: 54px;
        min-height: 50px;
    }

    body#jw-body-map #content aside.jw-side-panel {
        min-height: min(46vh, 320px);
        max-height: min(82vh, 620px);
        max-height: min(82dvh, 620px);
        border-radius: 22px 22px 0 0;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: calc(max(8px, env(safe-area-inset-top)) + 122px);
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    body#jw-body-map #content .jw-top-bar {
        top: max(6px, env(safe-area-inset-top));
    }

    body#jw-body-map #content .jw-logo-map {
        padding: 8px 12px;
    }

    body#jw-body-map #content .jw-float-actions {
        right: 8px;
        bottom: calc(74px + env(safe-area-inset-bottom));
        gap: 8px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        left: 8px;
        bottom: calc(72px + env(safe-area-inset-bottom));
        max-height: min(48vh, 250px);
    }

    body#jw-body-map #content .jw-explore-bar {
        max-height: min(48vh, 250px);
    }

    body#jw-body-map #content aside.jw-side-panel {
        min-height: min(54vh, 260px);
        max-height: min(88vh, 360px);
        max-height: min(88dvh, 360px);
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: calc(max(6px, env(safe-area-inset-top)) + 102px);
    }
}

@media (max-width: 991px) {
    body#jw-body-map #content .jw-top-bar {
        top: max(10px, env(safe-area-inset-top));
        left: 12px;
        right: 12px;
        min-height: 54px;
        justify-content: flex-start;
    }

    body#jw-body-map #content .jw-menu-btn {
        position: relative;
        z-index: 2;
    }

    body#jw-body-map #content .jw-logo-map {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0 8px;
        max-width: calc(100vw - 124px);
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__name,
    body#jw-body-map #content .jw-logo-map .jw-brand__icon {
        text-shadow: 0 2px 8px rgba(255,255,255,0.72);
    }

    body#jw-body-map #content .jw-float-actions {
        right: 12px;
        bottom: calc(126px + env(safe-area-inset-bottom));
        gap: 12px;
        z-index: 2050;
    }

    body#jw-body-map #content .jw-float-btn {
        width: 46px;
        height: 46px;
        border-radius: 17px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-right: 12px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: calc(max(10px, env(safe-area-inset-top)) + 106px);
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-top: 10px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a,
    body#jw-body-map #content .leaflet-container .leaflet-bar a {
        width: 42px;
        height: 42px;
        line-height: 40px;
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(15,23,42,0.14);
    }

    body#jw-body-map #content .jw-explore-wrapper {
        left: 50%;
        right: auto;
        top: auto;
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: auto;
        max-width: calc(100vw - 40px);
        max-height: none;
        padding: 4px;
        border-radius: 999px;
        transform: translateX(-50%);
        transform-origin: center bottom;
        overflow: hidden;
        z-index: 2040;
    }

    body#jw-body-map #content .jw-explore-mobile-title {
        display: block;
        position: absolute;
        left: 50%;
        bottom: calc(68px + env(safe-area-inset-bottom));
        transform: translate(-50%, 8px);
        margin: 0;
        padding: 0;
        font-size: clamp(15px, 3.8vw, 18px);
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0;
        color: var(--jw-dark);
        text-align: center;
        max-width: calc(100vw - 28px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.18s ease, transform 0.18s ease;
        z-index: 2045;
        text-shadow: 0 1px 2px rgba(255,255,255,0.75);
    }

    body#jw-body-map #content .jw-explore-mobile-title.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    body#jw-body-map #content .jw-explore-wrapper.is-collapsed,
    body#jw-body-map.jw-mobile-panel-open #content .jw-explore-wrapper {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 14px) scale(0.96);
    }

    body#jw-body-map #content #jw-explore-wrapper.is-collapsed + .jw-explore-mobile-title,
    body#jw-body-map.jw-mobile-panel-open #content .jw-explore-mobile-title {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
    }

    body#jw-body-map #content .jw-explore-bar {
        display: flex;
        flex-direction: row;
        width: auto;
        max-height: none;
        padding: 0;
        gap: 0;
        overflow: hidden;
    }

    body#jw-body-map #content .jw-explore-btn {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 8px 4px;
        border-right: 1px solid rgba(148,163,184,0.14);
        border-bottom: none;
    }

    body#jw-body-map #content .jw-explore-btn:last-child {
        border-right: none;
    }

    body#jw-body-map #content .jw-explore-btn.active {
        background: rgba(30,64,175,0.08);
        box-shadow: inset 0 -3px 0 var(--jw-blue);
    }

    body#jw-body-map #content aside.jw-side-panel {
        min-height: min(42vh, 360px);
        max-height: min(90vh, 760px);
        max-height: min(90dvh, 760px);
    }

    body#jw-body-map #content aside.jw-side-panel.open {
        transform: translateY(var(--jw-sheet-offset, 0px));
    }

    body#jw-body-map #content aside.jw-side-panel.is-dragging {
        transition: none;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-header {
        padding: 20px 18px 14px;
        cursor: grab;
        touch-action: none;
        user-select: none;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-header:active {
        cursor: grabbing;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-header::before {
        top: 10px;
        width: 46px;
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-content {
        padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content-wrapper {
        border-radius: 24px;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(86vw, 320px);
        height: auto;
        max-height: min(56vh, 410px);
        max-height: min(56dvh, 410px);
    }

    body#jw-body-map #content .jw-popup-card {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    body#jw-body-map #content .jw-logo-map {
        max-width: calc(100vw - 112px);
    }

    body#jw-body-map #content .jw-logo-map .jw-brand__name {
        font-size: 17px;
    }

    body#jw-body-map #content .jw-float-actions {
        right: 10px;
        bottom: calc(118px + env(safe-area-inset-bottom));
        gap: 10px;
    }

    body#jw-body-map #content .jw-float-btn,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a,
    body#jw-body-map #content .leaflet-container .leaflet-bar a {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        bottom: calc(12px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 28px);
    }

    body#jw-body-map #content .jw-explore-btn {
        width: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 7px 3px;
    }

    body#jw-body-map #content aside.jw-side-panel.open {
        transform: translateY(var(--jw-sheet-offset, 0px));
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(88vw, 312px);
        max-height: min(54vh, 392px);
        max-height: min(54dvh, 392px);
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    body#jw-body-map #content .jw-logo-map {
        max-width: calc(100vw - 108px);
    }

    body#jw-body-map #content .jw-float-actions {
        bottom: calc(82px + env(safe-area-inset-bottom));
        gap: 8px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        bottom: calc(8px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 24px);
    }

    body#jw-body-map #content aside.jw-side-panel {
        max-height: min(90vh, 360px);
        max-height: min(90dvh, 360px);
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        max-height: min(72vh, 338px);
        max-height: min(72dvh, 338px);
    }
}

@media (max-width: 991px) {
    body#jw-body-map #content .jw-float-actions {
        right: 10px;
        bottom: calc(108px + env(safe-area-inset-bottom));
        gap: 10px;
        z-index: 2050;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-right: 64px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-top: calc(max(10px, env(safe-area-inset-top)) + 108px);
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-top: 10px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%);
    }

    body#jw-body-map.jw-mobile-panel-open #content .jw-explore-wrapper {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%);
    }

    body#jw-body-map #content aside.jw-side-panel {
        min-height: min(46vh, 420px);
        max-height: min(92vh, 780px);
        max-height: min(92dvh, 780px);
    }

    body#jw-body-map #content aside.jw-side-panel.open {
        transform: translateY(var(--jw-sheet-offset, 0px));
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-content {
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content-wrapper,
    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        overflow: visible;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(84vw, 320px);
        height: auto;
        max-height: none;
    }

    body#jw-body-map #content .jw-popup-card {
        height: auto;
        border-radius: 16px;
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    body#jw-body-map #content .jw-float-actions {
        right: 8px;
        bottom: calc(102px + env(safe-area-inset-bottom));
        gap: 8px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-right: 58px;
    }

    body#jw-body-map #content .jw-explore-wrapper {
        bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    body#jw-body-map #content .leaflet-container .leaflet-control-zoom,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-right: 56px;
    }

    body#jw-body-map #content .jw-float-actions {
        bottom: calc(76px + env(safe-area-inset-bottom));
    }
}

body#jw-body-map #content #jw-mobile-clear-filters {
    display: none;
}

/* --- 13. MOBILE STEP 7: Clean Right Rail + Bottom Sheet + Popup --- */
@media (max-width: 991px) {
    body#jw-body-map #content #jw-explore-toggle {
        display: none;
    }

    body#jw-body-map #content #jw-explore-wrapper {
        display: flex;
        left: 50%;
        right: auto;
        bottom: calc(10px + env(safe-area-inset-bottom));
        transform: translateX(-50%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-width: calc(100vw - 24px);
    }

    body#jw-body-map.jw-mobile-panel-open #content #jw-explore-wrapper,
    body#jw-body-map #content #jw-explore-wrapper.is-collapsed {
        display: flex;
        transform: translateX(-50%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body#jw-body-map #content .jw-menu-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }

    body#jw-body-map #content #jw-mobile-clear-filters {
        display: flex;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        display: none;
    }

    body#jw-body-map #content .leaflet-control-attribution {
        display: none;
    }

    body#jw-body-map #content .leaflet-container .leaflet-top.leaflet-right {
        top: max(10px, env(safe-area-inset-top));
        right: 12px;
        bottom: auto;
    }

    body#jw-body-map #content .leaflet-container .leaflet-top.leaflet-right .leaflet-control {
        margin: 0;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        margin: 0;
    }

    body#jw-body-map #content .jw-float-actions {
        top: calc(186px + env(safe-area-inset-top));
        right: 12px;
        bottom: auto;
        gap: 9px;
        align-items: center;
    }

    body#jw-body-map #content .jw-float-actions .jw-float-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }

    body#jw-body-map #content .jw-float-actions .jw-float-label {
        display: none;
    }

    body#jw-body-map #content aside.jw-side-panel {
        max-height: min(92dvh, 780px);
    }

    body#jw-body-map #content aside.jw-side-panel.open {
        transform: translateY(var(--jw-sheet-offset, 0px));
    }

    body#jw-body-map #content .jw-side-panel .jw-panel-content {
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content-wrapper {
        overflow: visible;
        border-radius: 16px;
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(68vw, 264px);
        height: auto;
        max-height: none;
        overflow: visible;
        margin: 0;
    }

    body#jw-body-map #content .jw-popup-card {
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    body#jw-body-map #content .leaflet-container .leaflet-top.leaflet-right {
        top: max(10px, env(safe-area-inset-top));
        right: 8px;
    }

    body#jw-body-map #content .jw-float-actions {
        top: calc(172px + env(safe-area-inset-top));
        right: 8px;
        gap: 8px;
    }

    body#jw-body-map #content #jw-explore-wrapper {
        bottom: calc(8px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 18px);
    }

    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content {
        width: min(70vw, 252px);
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    body#jw-body-map #content .leaflet-container .leaflet-top.leaflet-right {
        top: max(10px, env(safe-area-inset-top));
    }

    body#jw-body-map #content .jw-float-actions {
        top: calc(84px + env(safe-area-inset-top));
        gap: 6px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        gap: 6px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a,
    body#jw-body-map #content .jw-float-actions .jw-float-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }
}

@media (min-width: 992px) {
    body#jw-body-map #content .leaflet-container .leaflet-top.leaflet-right {
        top: 20px;
        right: 20px;
    }

    body#jw-body-map #content .leaflet-container .leaflet-top.leaflet-right .leaflet-control {
        margin: 0;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        display: flex;
        flex-direction: row;
        gap: 12px;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a {
        width: 32px;
        height: 32px;
        line-height: 30px;
        border-radius: 50%;
        border: 1px solid var(--jw-border);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-top: 24px;
        margin-right: 0;
        display: flex;
        flex-direction: row;
        gap: 12px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    body#jw-body-map #content .jw-float-actions {
        top: auto;
        right: 20px;
        bottom: 86px;
        gap: 28px;
        align-items: center;
    }

    body#jw-body-map #content .leaflet-control-attribution {
        display: none;
    }
}

@media (min-width: 992px) {
    body#jw-body-map #content .jw-float-actions .jw-float-label {
        top: 40px;
    }
}

@media (min-width: 992px) {
    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        margin-bottom: 22px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        margin-top: 0;
    }

    body#jw-body-map #content aside#jw-suggested-panel {
        min-height: 0;
    }
}

@media (min-width: 992px) {
    body#jw-body-map #content .leaflet-container .leaflet-control-zoom {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 10px;
    }

    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control {
        flex-direction: column;
        gap: 6px;
        margin-top: 0;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a,
    body#jw-body-map #content .leaflet-container .jw-map-geolocate-control a {
        width: 28px;
        height: 28px;
        line-height: 26px;
        border-radius: 8px;
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a.leaflet-control-zoom-in,
    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a.leaflet-control-zoom-out {
        font-size: 0;
        text-indent: 0;
        position: relative;
        overflow: hidden;
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a.leaflet-control-zoom-in::before,
    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a.leaflet-control-zoom-out::before {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--jw-font-sans, Arial, sans-serif);
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        color: currentColor;
        content: '+';
    }

    body#jw-body-map #content .leaflet-container .leaflet-control-zoom a.leaflet-control-zoom-out::before {
        content: '-';
        transform: translateY(-1px);
    }
}

@media (min-width: 992px) {
    body#jw-body-map #content .jw-custom-popup .leaflet-popup-content-wrapper {
        border-radius: 16px;
    }

    body#jw-body-map #content .jw-popup-card {
        border-radius: 16px;
        overflow: hidden;
    }
}

/* Satellite mode: make Explore capsule opaque for better contrast */
body#jw-body-map.jw-satellite-on #content .jw-explore-wrapper,
body#jw-body-map.jw-satellite-on #content #jw-explore-wrapper {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body#jw-body-map.jw-satellite-on #content .jw-explore-btn:hover {
    background: #f3f4f6;
}

body#jw-body-map.jw-satellite-on #content .jw-explore-btn.active {
    background: #e5e7eb;
}

/* Satellite mode: soften side panel frame with a premium smoky edge */
body#jw-body-map.jw-satellite-on #content aside.jw-side-panel {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(148, 163, 184, 0.46);
    box-shadow:
        0 18px 44px rgba(2, 6, 23, 0.42),
        0 0 0 1px rgba(148, 163, 184, 0.24),
        0 0 26px rgba(15, 23, 42, 0.28);
}

/* Satellite mode: make floating action labels white with black outline */
body#jw-body-map.jw-satellite-on #content .jw-float-label,
body#jw-body-map.jw-satellite-on #content .jw-float-actions .jw-float-label {
    color: #ffffff;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.96),
        1px -1px 0 rgba(0, 0, 0, 0.96),
        -1px 1px 0 rgba(0, 0, 0, 0.96),
        1px 1px 0 rgba(0, 0, 0, 0.96),
        0 2px 8px rgba(0, 0, 0, 0.6);
    -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.92);
    paint-order: stroke fill;
}

body#jw-body-map.jw-satellite-on #content .jw-explore-mobile-title {
    color: #ffffff;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.96),
        1px -1px 0 rgba(0, 0, 0, 0.96),
        -1px 1px 0 rgba(0, 0, 0, 0.96),
        1px 1px 0 rgba(0, 0, 0, 0.96),
        0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Map drawer: secondary legal links */
body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary {
    width: 100%;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--jw-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--jw-border);
    text-decoration: none;
    font-family: var(--jw-font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jw-gray);
    transition: all 0.2s ease;
}

body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary a:hover {
    border-color: var(--jw-blue);
    color: var(--jw-blue);
    background: rgba(26,54,93,0.04);
}

body#jw-body-map .jw-fullscreen-menu .jw-map-menu-primary a.jw-donate-btn,
body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary a.jw-donate-btn {
    align-self: flex-start;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid rgba(201, 150, 58, 0.55);
    background: linear-gradient(135deg, #fffdf7 0%, #f4e2b8 45%, #d6a347 100%);
    color: #5d3c0b;
    font-family: var(--jw-font-sans);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: none;
    line-height: 1;
    border-bottom: none;
    box-shadow:
      0 4px 12px rgba(108, 74, 22, 0.20),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body#jw-body-map .jw-fullscreen-menu .jw-map-menu-primary a.jw-donate-btn i,
body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary a.jw-donate-btn i {
    font-size: 16px;
    line-height: 1;
}

body#jw-body-map .jw-fullscreen-menu .jw-map-menu-primary a.jw-donate-btn:hover,
body#jw-body-map .jw-fullscreen-menu .jw-map-menu-primary a.jw-donate-btn:focus,
body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary a.jw-donate-btn:hover,
body#jw-body-map .jw-fullscreen-menu .jw-map-menu-secondary a.jw-donate-btn:focus {
    border-color: rgba(195, 143, 49, 0.88);
    background: linear-gradient(135deg, #fff7e2 0%, #f0cd84 45%, #c78e32 100%);
    color: #4d3207;
    transform: translateY(-1px);
    padding-left: 18px;
    box-shadow:
      0 8px 18px rgba(108, 74, 22, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
