/* ================================
   PALLETA CENTRAL NORTE
   Azul: #0051CB
   Vermelho: #E52322
   ================================ */

.cn-lojas-wrapper {
  background: #0051CB; /* azul principal */
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
}

/* ===== MAPA ===== */

.cn-lojas-wrapper #cn-lojas-mapa {
  width: 100%;
  height: 450px; /* CORREÇÃO ESSENCIAL */
  border-radius: 10px;
  border: 2px solid #E52322; /* vermelho */
  overflow: hidden;
  background: #003d99; /* fallback enquanto o mapa carrega */
}

/* ===== BOTÃO ===== */

#cn-lojas-btn {
  margin-top: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #E52322; /* vermelho */
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#cn-lojas-btn:hover {
  background: #c41c1c;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

#cn-lojas-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ===== TEXTO DE INFO ===== */

#cn-lojas-info {
  margin-top: 10px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}

/* ===== POPUP DO LEAFLET (LOJA) ===== */

.leaflet-popup-content-wrapper {
  border-radius: 10px;
  border: 2px solid #E52322; /* vermelho */
}

.leaflet-popup-content {
  margin: 10px 14px;
  font-size: 13px;
}

.leaflet-popup-tip {
  background: #ffffff;
  border: 2px solid #E52322;
}

.leaflet-popup-content a {
  color: #E52322;
  font-weight: 600;
  text-decoration: none;
}

.leaflet-popup-content a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 600px) {
  .cn-lojas-wrapper {
    padding: 16px;
  }

  #cn-lojas-btn {
    width: 100%;
    font-size: 12px;
    padding: 12px 0;
  }

  .cn-lojas-wrapper #cn-lojas-mapa {
    height: 350px;
  }
}
