#na-clima-cotacoes-layout {
  --na-verde:#1f4d2b;
  --na-verde-2:#2f7a3b;
  --na-verde-3:#55C83B;
  --na-marrom:#92754f;
  --na-texto:#243529;
  --na-borda:#dbe4d8;
  --na-card:#ffffff;
  --na-bg:#ffffff;
  --na-map-bg:#eef7eb;
  --na-sombra:0 10px 26px rgba(31,77,43,.08);
  width:100%;
  font-size:13px;
  line-height:1.45;
  color:var(--na-texto);
  font-family:"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
  background:#ffffff;
}

#na-clima-cotacoes-layout *,
#na-clima-cotacoes-layout select,
#na-clima-cotacoes-layout button {
  box-sizing:border-box;
  font-family:"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
}

#na-clima-cotacoes-layout button {
  cursor:pointer;
}

#na-clima-cotacoes-layout .na-container {
  max-width:1380px;
  margin:0 auto;
}

/* =========================================================
   TOPO CLEAN — MESMA DIREÇÃO DA PÁGINA COTAÇÕES
   ========================================================= */
#na-clima-cotacoes-layout .na-hero {
  background:transparent;
  padding:22px 18px 18px;
  overflow:visible;
}

#na-clima-cotacoes-layout .na-hero::after {
  display:none;
}

#na-clima-cotacoes-layout .na-hero .na-container {
  background:#fff;
  border:1px solid var(--na-borda);
  border-radius:20px;
  box-shadow:var(--na-sombra);
  padding:24px;
  text-align:left;
}

#na-clima-cotacoes-layout .na-hero small {
  display:inline-flex;
  align-items:center;
  width:max-content;
  background:#edf8ea;
  color:var(--na-verde);
  border:1px solid #cfe9cc;
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.35px;
  text-transform:uppercase;
  margin:0 0 12px;
}

#na-clima-cotacoes-layout .na-hero h1 {
  color:var(--na-verde);
  font-size:30px;
  line-height:1.12;
  font-weight:900;
  text-align:left;
  max-width:900px;
  margin:0 0 10px;
}

#na-clima-cotacoes-layout .na-hero p {
  color:#5f6b62;
  font-size:14px;
  line-height:1.55;
  font-weight:650;
  text-align:left;
  max-width:980px;
  margin:0;
}

/* =========================================================
   CONTEÚDO E FILTROS
   ========================================================= */
#na-clima-cotacoes-layout .na-content {
  padding:0 18px 34px;
  background:#ffffff;
}

#na-clima-cotacoes-layout .na-card {
  background:#fff;
  border:1px solid var(--na-borda);
  border-radius:18px;
  box-shadow:var(--na-sombra);
}

#na-clima-cotacoes-layout .na-filtros-card {
  position:relative;
  z-index:2;
  padding:16px;
  margin-top:0;
}

#na-clima-cotacoes-layout .na-filtros-top {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px;
  flex-wrap:wrap;
}

#na-clima-cotacoes-layout .na-filtros-top h2,
#na-clima-cotacoes-layout .na-card-title h3,
#na-clima-cotacoes-layout .na-info-card h3,
#na-clima-cotacoes-layout .na-fontes-v1-title h2 {
  margin:0;
  color:var(--na-verde);
  font-weight:900;
}

#na-clima-cotacoes-layout .na-filtros-top h2 {
  font-size:18px;
}

#na-clima-cotacoes-layout .na-data-badge,
#na-clima-cotacoes-layout .na-count {
  background:#edf8ea;
  color:var(--na-verde);
  border:1px solid #cfe9cc;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}

#na-clima-cotacoes-layout .na-filter-grid {
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:10px;
  align-items:end;
}

#na-clima-cotacoes-layout .na-filter-field label {
  display:block;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.45px;
  font-weight:900;
  color:var(--na-verde);
  margin:0 0 5px;
}

#na-clima-cotacoes-layout .na-filter-field select {
  width:100%;
  border:1px solid var(--na-borda);
  background:#fff;
  border-radius:12px;
  padding:9px 10px;
  min-height:42px;
  font-size:12px;
  color:var(--na-texto);
  outline:none;
  font-weight:650;
}

#na-clima-cotacoes-layout .na-filter-field select:focus {
  border-color:var(--na-verde-2);
  box-shadow:0 0 0 3px rgba(47,122,59,.10);
}

#na-clima-cotacoes-layout .na-btn-limpar {
  border:none;
  background:var(--na-verde);
  color:#fff;
  border-radius:12px;
  padding:10px 14px;
  min-height:42px;
  font-size:12px;
  font-weight:900;
}

/* =========================================================
   CARD DO MAPA — UMA ÁREA ÚNICA
   A única caixa interna é a legenda.
   ========================================================= */
#na-clima-cotacoes-layout .na-map-card {
  margin-top:18px;
  overflow:hidden;
}

#na-clima-cotacoes-layout .na-card-title {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid var(--na-borda);
  flex-wrap:wrap;
}

#na-clima-cotacoes-layout .na-card-title h3 {
  font-size:16px;
}

#na-clima-cotacoes-layout .na-map-board {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:14px;
  align-items:start;
  padding:16px;
  background:var(--na-map-bg);
  border-radius:0 0 18px 18px;
  overflow:hidden;
}

/* Mapa sem caixa própria */
#na-clima-cotacoes-layout .na-map-panel {
  position:relative;
  min-height:560px;
  height:560px;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:hidden;
}

#na-clima-cotacoes-layout #na-svg {
  width:100%;
  height:560px;
  display:block;
  background:transparent;
}

#na-clima-cotacoes-layout .na-loading {
  position:absolute;
  inset:0;
  z-index:8;
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px;
  background:rgba(245,250,241,.95);
  color:var(--na-verde);
  font-size:16px;
  font-weight:900;
  line-height:1.45;
}

#na-clima-cotacoes-layout .na-badge-fonte,
#na-clima-cotacoes-layout .na-source-bar,
#na-clima-cotacoes-layout .na-map-control-btn {
  position:absolute;
  z-index:5;
  background:rgba(255,255,255,.94);
  border:1px solid #d7e3d1;
  color:var(--na-verde);
  box-shadow:0 8px 18px rgba(31,77,43,.10);
}

#na-clima-cotacoes-layout .na-badge-fonte {
  top:14px;
  left:14px;
  border-radius:11px;
  padding:8px 11px;
  font-size:11px;
  font-weight:900;
}

#na-clima-cotacoes-layout .na-map-controls {
  position:static;
  z-index:9;
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
}

#na-clima-cotacoes-layout .na-map-control-btn {
  position:relative;
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:900;
  line-height:1;
  padding:0;
}

/* Fonte em uma única linha justificada */
#na-clima-cotacoes-layout .na-source-bar {
  left:14px;
  right:14px;
  bottom:14px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
  border-radius:999px;
  padding:8px 12px;
  font-size:10.2px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#na-clima-cotacoes-layout .na-source-bar span,
#na-clima-cotacoes-layout .na-source-bar em,
#na-clima-cotacoes-layout .na-source-bar strong {
  white-space:nowrap;
  flex:0 0 auto;
}

/* SVG */
#na-clima-cotacoes-layout .na-state-fill {
  fill:rgba(255,255,255,.02);
  stroke:#0d7a37;
  stroke-width:1.1;
  vector-effect:non-scaling-stroke;
}

#na-clima-cotacoes-layout .na-state-outline {
  fill:none;
  stroke:#0a5728;
  stroke-width:1.8;
  vector-effect:non-scaling-stroke;
}

#na-clima-cotacoes-layout .na-city-marker {
  fill:#e53935;
  stroke:#fff;
  stroke-width:3;
  filter:drop-shadow(0 2px 7px rgba(0,0,0,.30));
}

#na-clima-cotacoes-layout .na-city-pulse {
  fill:rgba(229,57,53,.14);
  stroke:#e53935;
  stroke-width:2;
}

#na-clima-cotacoes-layout .na-city-label {
  font-size:13px;
  font-weight:900;
  fill:#173022;
  paint-order:stroke;
  stroke:#fff;
  stroke-width:4px;
}

/* =========================================================
   LEGENDA PRINCIPAL — ÚNICA CAIXA INTERNA
   ========================================================= */
#na-clima-cotacoes-layout .na-legend-panel {
  padding:10px 10px 11px;
  background:rgba(255,255,255,.97);
  border:1px solid #d7e3d1;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(31,77,43,.12);
  overflow:visible;
  height:auto !important;
  max-height:none !important;
}

#na-clima-cotacoes-layout .na-logo-box {
  display:block;
  background:#f7fbf4;
  border:1px solid #d7e3d1;
  border-radius:12px;
  padding:8px 8px;
  margin:0 0 9px;
  text-align:center;
}

#na-clima-cotacoes-layout .na-logo-img {
  display:block;
  width:148px;
  max-width:100%;
  height:auto;
  margin:0 auto 4px;
  object-fit:contain;
}

#na-clima-cotacoes-layout .na-logo-site-url {
  display:block;
  color:var(--na-verde);
  font-size:10.5px;
  line-height:1;
  font-weight:900;
  margin-top:4px;
}

#na-clima-cotacoes-layout .na-legend-panel h3,
#na-clima-cotacoes-layout .na-mobile-legenda-card h3 {
  margin:0 0 4px;
  color:var(--na-verde);
  font-size:14px;
  font-weight:900;
  line-height:1.08;
}

#na-clima-cotacoes-layout .na-legend-panel p,
#na-clima-cotacoes-layout .na-mobile-legenda-card p {
  margin:0 0 8px;
  font-size:10px;
  color:#667069;
  font-weight:900;
  line-height:1.12;
}

#na-clima-cotacoes-layout .na-legenda,
#na-clima-cotacoes-layout .na-mobile-legenda-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:4px;
}

#na-clima-cotacoes-layout .na-legenda-item,
#na-clima-cotacoes-layout .na-mobile-legenda-item {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:7px;
  align-items:center;
  font-size:9.2px;
  line-height:1.03;
  color:var(--na-texto);
  font-weight:900;
  white-space:nowrap;
}

#na-clima-cotacoes-layout .na-cor,
#na-clima-cotacoes-layout .na-mobile-cor {
  width:36px;
  height:9px;
  border-radius:5px;
  border:1px solid rgba(0,0,0,.10);
}

#na-clima-cotacoes-layout .na-title-full,
#na-clima-cotacoes-layout .na-unit-full,
#na-clima-cotacoes-layout .na-fullscreen-blocks {
  display:none;
}

/* Abaixo do mapa */
#na-clima-cotacoes-layout .na-download-status {
  display:block;
  margin:8px 0 0;
  color:#5f6b62;
  font-size:11px;
  font-weight:800;
  text-align:right;
}

#na-clima-cotacoes-layout #na-status {
  display:none !important;
}

#na-clima-cotacoes-layout .na-bottom-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:18px;
}

#na-clima-cotacoes-layout .na-info-card {
  padding:16px;
}

#na-clima-cotacoes-layout .na-info-card h3 {
  font-size:16px;
  margin:0 0 8px;
}

#na-clima-cotacoes-layout .na-info-card li {
  margin:6px 0;
  font-size:12px;
  line-height:1.5;
  color:#4f5c52;
  font-weight:650;
}

#na-clima-cotacoes-layout .na-info-card ul {
  margin:8px 0 0 18px;
  padding:0;
}

/* Fontes */
#na-clima-cotacoes-layout .na-fontes-v1 {
  width:100%;
  background:#fff;
  border:1px solid var(--na-borda);
  padding:24px 20px 20px;
  box-sizing:border-box;
  color:var(--na-texto);
  margin-top:18px;
  border-radius:18px;
  box-shadow:var(--na-sombra);
}

#na-clima-cotacoes-layout .na-fontes-v1-title h2 {
  font-size:18px;
  line-height:1.25;
  letter-spacing:-0.2px;
}

#na-clima-cotacoes-layout .na-fontes-v1-text {
  max-width:1120px;
  margin:12px 0 20px;
  color:#5f6b62;
  font-size:13px;
  line-height:1.65;
  font-weight:650;
}

#na-clima-cotacoes-layout .na-fontes-v1-card {
  display:inline-flex;
  align-items:center;
  background:#fbfdf9;
  border:1px solid #dbe4d8;
  border-radius:12px;
  padding:15px 16px;
  gap:22px;
  flex-wrap:wrap;
}

#na-clima-cotacoes-layout .na-fontes-v1-col {
  display:flex;
  flex-direction:column;
  gap:8px;
}

#na-clima-cotacoes-layout .na-fontes-v1-label {
  color:var(--na-verde);
  text-transform:uppercase;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.55px;
}

#na-clima-cotacoes-layout .na-fontes-v1-row {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--na-texto);
  font-size:13px;
  line-height:1.2;
  flex-wrap:wrap;
}

#na-clima-cotacoes-layout .na-fontes-v1-row strong {
  color:var(--na-texto);
  font-size:13px;
  font-weight:900;
}

#na-clima-cotacoes-layout .na-fontes-v1-divider {
  width:1px;
  height:40px;
  background:#dbe4d8;
}

#na-clima-cotacoes-layout .na-fontes-v1-aviso {
  background:#fbfdf9;
  border:1px solid #e0eadc;
  border-radius:13px;
  padding:13px 15px;
  margin-top:18px;
}

#na-clima-cotacoes-layout .na-fontes-v1-aviso p {
  margin:0;
  color:#455049;
  font-size:11.5px;
  line-height:1.45;
  font-weight:650;
}

/* =========================================================
   TELA CHEIA — MAPA COM MAIS ÁREA E LEGENDA MENOR
   ========================================================= */
#na-clima-cotacoes-layout .na-map-board:fullscreen,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback {
  display:grid;
  grid-template-columns:minmax(0,1fr) 400px;
  gap:18px;
  width:100vw;
  height:100vh;
  max-width:none;
  padding:28px 16px 36px;
  background:#edf6ea;
  border-radius:0;
  overflow:hidden;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-map-panel,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-map-panel {
  width:100%;
  height:100%;
  min-height:0;
  border:0;
  border-radius:0;
  background:#edf6ea;
  padding-bottom:78px;
  overflow:hidden;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen #na-svg,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback #na-svg {
  width:100%;
  height:calc(100% - 78px);
  background:#edf6ea;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel {
  height:100%;
  max-height:100%;
  overflow:hidden;
  padding:14px;
  border-radius:17px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 46px rgba(31,77,43,.16);
  display:flex;
  flex-direction:column;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-logo-box,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-logo-box {
  padding:8px;
  margin-bottom:9px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-logo-img,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-logo-img {
  width:155px;
  margin-bottom:3px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-logo-site-url,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-logo-site-url {
  font-size:13px;
  margin-top:4px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-title-normal,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-title-normal {
  display:none;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-title-full,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-title-full {
  display:inline;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-unit-full,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-unit-full {
  display:inline;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel h3,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel h3 {
  text-align:center;
  font-size:19px;
  margin-bottom:5px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel p,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel p {
  text-align:center;
  font-size:12px;
  margin-bottom:9px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legenda,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legenda {
  gap:5px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legenda-item,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legenda-item {
  grid-template-columns:56px 1fr;
  gap:10px;
  font-size:14px;
  line-height:1.02;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-cor,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-cor {
  width:52px;
  height:14px;
  border-radius:5px;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-fullscreen-blocks,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-fullscreen-blocks {
  display:block;
  margin-top:16px;
}

#na-clima-cotacoes-layout .na-mini-box {
  background:#f7fbf4;
  border:1px solid #d7e3d1;
  border-radius:12px;
  padding:12px;
  margin-top:12px;
  text-align:center;
}

#na-clima-cotacoes-layout .na-mini-box h4 {
  margin:0 0 5px;
  color:var(--na-verde);
  font-size:16px;
  font-weight:900;
}

#na-clima-cotacoes-layout .na-mini-box p {
  margin:0 !important;
  color:#455049;
  font-size:12.5px !important;
  line-height:1.26;
  font-weight:800;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  left:16px;
  right:auto;
  bottom:10px;
  width:calc(100vw - 450px);
  justify-content:flex-start;
  background:rgba(255,255,255,.95);
  border-radius:14px;
  padding:9px 14px;
  font-size:13.5px;
  line-height:1.1;
  font-weight:900;
  color:var(--na-verde);
  box-shadow:none;
}

/* =========================================================
   MOBILE
   ========================================================= */
#na-clima-cotacoes-layout .na-mobile-legenda-card,
#na-clima-cotacoes-layout .na-mobile-fonte-card {
  display:none;
}

@media(max-width:1024px){
  #na-clima-cotacoes-layout .na-hero {
    padding:14px 12px 12px;
  }

  #na-clima-cotacoes-layout .na-hero .na-container {
    padding:18px 16px;
    border-radius:18px;
  }

  #na-clima-cotacoes-layout .na-hero h1 {
    font-size:24px;
  }

  #na-clima-cotacoes-layout .na-hero p {
    font-size:13px;
  }

  #na-clima-cotacoes-layout .na-content {
    padding:0 10px 26px;
  }

  #na-clima-cotacoes-layout .na-filtros-card {
    margin-top:0;
    padding:14px;
    border-radius:16px;
  }

  #na-clima-cotacoes-layout .na-filter-grid {
    grid-template-columns:1fr;
  }

  #na-clima-cotacoes-layout .na-map-board {
    display:block;
    padding:10px;
  }

  #na-clima-cotacoes-layout .na-map-panel {
    height:360px;
    min-height:360px;
  }

  #na-clima-cotacoes-layout #na-svg {
    height:360px;
  }

  #na-clima-cotacoes-layout .na-side-column {
    display:none;
  }

  #na-clima-cotacoes-layout #na-map-fullscreen {
    display:none;
  }

  #na-clima-cotacoes-layout .na-source-bar {
    display:none;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-card {
    display:block;
    margin:10px 0 0;
    padding:12px;
    background:#fff;
    border:1px solid #d7e3d1;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(31,77,43,.10);
  }

  #na-clima-cotacoes-layout .na-logo-box-mobile {
    margin-bottom:9px;
  }

  #na-clima-cotacoes-layout .na-logo-box-mobile .na-logo-img {
    width:150px;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-card h3 {
    margin:0 0 2px;
    color:var(--na-verde);
    font-size:15px;
    line-height:1.14;
    font-weight:900;
    text-align:center;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-card p {
    margin:0 0 7px;
    color:#667069;
    font-size:10px;
    line-height:1.15;
    font-weight:800;
    text-align:center;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px 8px;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-item {
    grid-template-columns:28px minmax(0,1fr);
    gap:6px;
    font-size:9.2px;
    line-height:1.08;
  }

  #na-clima-cotacoes-layout .na-mobile-cor {
    width:28px;
    height:8px;
    border-radius:4px;
  }

  #na-clima-cotacoes-layout .na-mobile-fonte-card {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    margin:8px 0 12px;
    padding:9px 10px;
    background:#ffffff;
    border:1px solid #d7e3d1;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(31,77,43,.08);
    color:var(--na-verde);
    font-size:9.5px;
    line-height:1.28;
    font-weight:800;
  }

  #na-clima-cotacoes-layout .na-fontes-v1-card {
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  #na-clima-cotacoes-layout .na-fontes-v1-divider {
    width:100%;
    height:1px;
  }
}

/* v2.1.17 — fonte superior esquerda removida */
#na-clima-cotacoes-layout .na-badge-fonte {
  display:none !important;
}

#na-clima-cotacoes-layout .na-side-column {
  display:flex;
  flex-direction:column;
  gap:0;
  align-self:start;
  width:100%;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-side-column,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-side-column {
  height:calc(100vh - 64px);
  align-self:stretch;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-map-controls,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-map-controls {
  display:none !important;
}



/* =========================================================
   v2.1.17 — FUNDO BRANCO + HERO AJUSTADO ESTILO COTAÇÕES
   ========================================================= */
#na-clima-cotacoes-layout {
  --na-bg:#ffffff !important;
  background:#ffffff !important;
}

body:has(#na-clima-cotacoes-layout) .site-content,
body:has(#na-clima-cotacoes-layout) .ast-container,
body:has(#na-clima-cotacoes-layout) .entry-content,
body:has(#na-clima-cotacoes-layout) .wp-site-blocks {
  background:#ffffff !important;
}

#na-clima-cotacoes-layout .na-hero {
  background:#ffffff !important;
  padding:24px 18px 18px !important;
}

#na-clima-cotacoes-layout .na-hero .na-container {
  max-width:1120px;
  background:#ffffff !important;
  border:1px solid var(--na-borda);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(31,77,43,.07);
  padding:26px 28px !important;
  text-align:left !important;
}

#na-clima-cotacoes-layout .na-hero-inner {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.9fr);
  gap:24px;
  align-items:center;
}

#na-clima-cotacoes-layout .na-hero-main {
  min-width:0;
}

#na-clima-cotacoes-layout .na-hero small {
  margin-left:0 !important;
  margin-right:0 !important;
  background:#edf8ea !important;
  color:var(--na-verde) !important;
  border:1px solid #cfe9cc !important;
}

#na-clima-cotacoes-layout .na-hero h1 {
  color:var(--na-verde) !important;
  font-size:32px !important;
  line-height:1.08 !important;
  max-width:760px !important;
  margin:0 0 10px !important;
  text-align:left !important;
}

#na-clima-cotacoes-layout .na-hero p {
  color:#4f5c52 !important;
  max-width:780px !important;
  margin:0 !important;
  text-align:left !important;
  font-size:14px !important;
  line-height:1.55 !important;
  font-weight:700 !important;
}

#na-clima-cotacoes-layout .na-hero-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

#na-clima-cotacoes-layout .na-hero-info-box {
  background:#ffffff;
  border:1px solid var(--na-borda);
  border-radius:15px;
  padding:13px 14px;
  min-height:66px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}

#na-clima-cotacoes-layout .na-hero-info-box span {
  color:#6b746d;
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.45px;
  font-weight:900;
}

#na-clima-cotacoes-layout .na-hero-info-box strong {
  color:var(--na-verde);
  font-size:13px;
  line-height:1.2;
  font-weight:900;
}

#na-clima-cotacoes-layout .na-content {
  background:#ffffff !important;
}

#na-clima-cotacoes-layout .na-container {
  max-width:1120px;
}



/* =========================================================
   v2.1.17 — MAPA EQUILIBRADO + FONTE INFERIOR SEM CORTE
   ========================================================= */
#na-clima-cotacoes-layout .na-map-card {
  margin-top:18px;
  overflow:hidden;
}

#na-clima-cotacoes-layout .na-map-board {
  grid-template-columns:minmax(0,1fr) 252px !important;
  gap:14px !important;
  align-items:start !important;
  padding:18px !important;
  background:#f6fbf4 !important;
  border-radius:0 0 18px 18px;
  overflow:hidden;
}

#na-clima-cotacoes-layout .na-map-panel {
  display:grid !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:8px !important;
  min-height:590px !important;
  height:590px !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:visible !important;
}

#na-clima-cotacoes-layout #na-svg {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  display:block !important;
  background:transparent !important;
}

#na-clima-cotacoes-layout .na-side-column {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  align-self:start !important;
}

#na-clima-cotacoes-layout .na-map-controls {
  position:static !important;
  display:flex !important;
  flex-direction:row !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:7px !important;
  margin:0 0 8px !important;
  padding:0 !important;
}

#na-clima-cotacoes-layout .na-map-control-btn {
  position:relative !important;
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  border-radius:10px !important;
  font-size:16px !important;
  box-shadow:0 6px 14px rgba(31,77,43,.09) !important;
}

#na-clima-cotacoes-layout .na-source-bar {
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  width:100% !important;
  min-height:42px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:4px 8px !important;
  flex-wrap:wrap !important;
  border-radius:13px !important;
  padding:9px 12px !important;
  font-size:10.4px !important;
  line-height:1.22 !important;
  font-weight:900 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  background:rgba(255,255,255,.97) !important;
  box-shadow:0 6px 16px rgba(31,77,43,.06) !important;
  text-align:center !important;
}

#na-clima-cotacoes-layout .na-source-bar span,
#na-clima-cotacoes-layout .na-source-bar em,
#na-clima-cotacoes-layout .na-source-bar strong {
  white-space:normal !important;
  flex:0 1 auto !important;
}

#na-clima-cotacoes-layout .na-legend-panel {
  padding:10px 10px 11px !important;
  border-radius:16px !important;
  box-shadow:0 10px 24px rgba(31,77,43,.10) !important;
}

#na-clima-cotacoes-layout .na-download-status {
  display:none !important;
}

/* No fullscreen, a fonte volta a ser barra inferior da tela cheia. */
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  position:absolute !important;
  left:16px !important;
  right:auto !important;
  bottom:10px !important;
  width:calc(100vw - 470px) !important;
  min-height:auto !important;
  flex-wrap:wrap !important;
  justify-content:flex-start !important;
  text-align:left !important;
  border-radius:14px !important;
  padding:9px 14px !important;
  font-size:13.2px !important;
  line-height:1.16 !important;
  background:rgba(255,255,255,.96) !important;
}

/* Mantém os botões fora da tela cheia para não poluir o mapa. */
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-map-controls,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-map-controls {
  display:none !important;
}



@media (max-width: 980px) {
  #na-clima-cotacoes-layout .na-hero .na-container {
    max-width:100%;
    padding:20px !important;
  }

  #na-clima-cotacoes-layout .na-hero-inner {
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  #na-clima-cotacoes-layout .na-hero h1 {
    font-size:25px !important;
  }

  #na-clima-cotacoes-layout .na-hero-grid {
    grid-template-columns:1fr 1fr !important;
  }

  #na-clima-cotacoes-layout .na-map-board {
    grid-template-columns:1fr !important;
    padding:12px !important;
  }

  #na-clima-cotacoes-layout .na-map-panel {
    min-height:470px !important;
    height:470px !important;
  }

  #na-clima-cotacoes-layout .na-side-column {
    display:none !important;
  }

  #na-clima-cotacoes-layout .na-source-bar {
    display:none !important;
  }
}

@media (max-width: 560px) {
  #na-clima-cotacoes-layout .na-hero-grid {
    grid-template-columns:1fr !important;
  }

  #na-clima-cotacoes-layout .na-map-panel {
    min-height:405px !important;
    height:405px !important;
  }
}


/* =========================================================
   v2.1.18 — AJUSTES FINAIS DE EQUILÍBRIO VISUAL
   ========================================================= */

/* Página principal: barra inferior com largura total da área do mapa */
#na-clima-cotacoes-layout .na-map-panel .na-source-bar {
  width:100% !important;
  max-width:none !important;
  min-width:100% !important;
  display:block !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:10px 14px !important;
  min-height:48px !important;
  text-align:center !important;
  font-size:11.2px !important;
  line-height:1.28 !important;
  border-radius:14px !important;
}

/* Página principal: legenda principal um pouco maior */
#na-clima-cotacoes-layout .na-legend-panel {
  padding:12px 12px 13px !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-logo-img {
  width:154px !important;
}

#na-clima-cotacoes-layout .na-legend-panel h3 {
  font-size:16px !important;
  margin:0 0 5px !important;
}

#na-clima-cotacoes-layout .na-legend-panel p {
  font-size:10.8px !important;
  margin:0 0 9px !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-legenda-item {
  grid-template-columns:40px minmax(0,1fr) !important;
  gap:8px !important;
  font-size:9.8px !important;
  line-height:1.08 !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-cor {
  width:38px !important;
  height:10px !important;
}

/* Botões mais agrupados no canto superior */
#na-clima-cotacoes-layout .na-map-controls {
  gap:6px !important;
  margin:0 0 6px !important;
}

#na-clima-cotacoes-layout .na-map-control-btn {
  width:31px !important;
  height:31px !important;
  min-width:31px !important;
  font-size:15px !important;
}

/* Tela cheia: barra inferior mais abaixo e fora da leitura do mapa */
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-map-panel,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-map-panel {
  padding-bottom:92px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen #na-svg,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback #na-svg {
  height:calc(100% - 92px) !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  bottom:4px !important;
  width:calc(100vw - 476px) !important;
  padding:8px 14px !important;
  font-size:13px !important;
  line-height:1.14 !important;
}

/* Tela cheia: legenda um pouco menor e mais uniforme */
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel {
  padding:12px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel .na-logo-img,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel .na-logo-img {
  width:146px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel h3,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel h3 {
  font-size:17px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel p,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel p {
  font-size:11px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel .na-legenda-item,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel .na-legenda-item {
  grid-template-columns:50px 1fr !important;
  gap:9px !important;
  font-size:12.8px !important;
  line-height:1.04 !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel .na-cor,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel .na-cor {
  width:46px !important;
  height:12px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-mini-box h4,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-mini-box h4 {
  font-size:15px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-mini-box p,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-mini-box p {
  font-size:11.8px !important;
  line-height:1.22 !important;
}


/* =========================================================
   v2.1.19 — REMOÇÃO DE REDUNDÂNCIA E CENTRALIZAÇÃO DO TÍTULO
   ========================================================= */
#na-clima-cotacoes-layout .na-filtros-top {
  justify-content:flex-start !important;
  margin-bottom:12px !important;
}

#na-clima-cotacoes-layout .na-filtros-top .na-data-badge {
  display:none !important;
}

#na-clima-cotacoes-layout .na-card-title {
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  padding:14px 16px !important;
}

#na-clima-cotacoes-layout .na-card-title > div {
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
}

#na-clima-cotacoes-layout .na-card-title h3 {
  width:100% !important;
  margin:0 auto !important;
  text-align:center !important;
  font-size:17px !important;
}

#na-clima-cotacoes-layout .na-card-title .na-count {
  display:none !important;
}


/* =========================================================
   v2.1.20 — LAPIDAÇÃO VISUAL FINAL DO BLOCO DO MAPA
   Objetivo: bloco mais equilibrado, mapa melhor encaixado, legenda alinhada
   e barra inferior sem corte, mantendo a estrutura já aprovada.
   ========================================================= */

/* Card geral do mapa mais limpo e alinhado */
#na-clima-cotacoes-layout .na-map-card {
  border-radius:20px !important;
  overflow:hidden !important;
  background:#ffffff !important;
  box-shadow:0 12px 30px rgba(31,77,43,.075) !important;
}

#na-clima-cotacoes-layout .na-card-title {
  min-height:56px !important;
  padding:15px 18px !important;
  background:#ffffff !important;
  border-bottom:1px solid #dfe9dc !important;
}

#na-clima-cotacoes-layout .na-card-title h3 {
  font-size:17px !important;
  line-height:1.2 !important;
  letter-spacing:-.1px !important;
}

/* Área do mapa: distribuição mais equilibrada entre mapa e legenda */
#na-clima-cotacoes-layout .na-map-board {
  grid-template-columns:minmax(0,1fr) 246px !important;
  gap:18px !important;
  padding:20px !important;
  background:#f5fbf2 !important;
  align-items:start !important;
}

/* Mapa principal: mais alto e melhor encaixado visualmente */
#na-clima-cotacoes-layout .na-map-panel {
  min-height:610px !important;
  height:610px !important;
  display:grid !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:10px !important;
  overflow:visible !important;
  background:transparent !important;
}

/* SVG ocupa a área disponível sem criar caixa interna */
#na-clima-cotacoes-layout #na-svg {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  display:block !important;
  background:transparent !important;
}

/* Coluna da legenda com controles alinhados no canto superior direito */
#na-clima-cotacoes-layout .na-side-column {
  align-self:start !important;
  width:100% !important;
  display:flex !important;
  flex-direction:column !important;
}

#na-clima-cotacoes-layout .na-map-controls {
  justify-content:flex-end !important;
  align-items:center !important;
  gap:6px !important;
  margin:0 0 8px !important;
}

#na-clima-cotacoes-layout .na-map-control-btn {
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  border-radius:9px !important;
  font-size:14px !important;
}

/* Legenda da página principal: compacta, mas legível */
#na-clima-cotacoes-layout .na-legend-panel {
  width:100% !important;
  align-self:start !important;
  padding:11px 11px 12px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.98) !important;
  box-shadow:0 10px 24px rgba(31,77,43,.10) !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-logo-box {
  padding:8px 8px !important;
  margin:0 0 9px !important;
  border-radius:12px !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-logo-img {
  width:150px !important;
}

#na-clima-cotacoes-layout .na-legend-panel h3 {
  font-size:15.6px !important;
  line-height:1.08 !important;
  margin:0 0 4px !important;
}

#na-clima-cotacoes-layout .na-legend-panel p {
  font-size:10.5px !important;
  line-height:1.12 !important;
  margin:0 0 8px !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-legenda {
  gap:4px !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-legenda-item {
  grid-template-columns:39px minmax(0,1fr) !important;
  gap:7px !important;
  font-size:9.5px !important;
  line-height:1.05 !important;
}

#na-clima-cotacoes-layout .na-legend-panel .na-cor {
  width:37px !important;
  height:9.5px !important;
}

/* Barra inferior: largura completa da área do mapa, texto sem engolir letra */
#na-clima-cotacoes-layout .na-map-panel .na-source-bar {
  width:100% !important;
  max-width:100% !important;
  min-width:100% !important;
  min-height:46px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:4px 8px !important;
  flex-wrap:wrap !important;
  padding:10px 14px !important;
  border-radius:14px !important;
  font-size:10.6px !important;
  line-height:1.24 !important;
  white-space:normal !important;
  text-align:center !important;
  overflow:visible !important;
  text-overflow:clip !important;
  box-shadow:0 7px 18px rgba(31,77,43,.065) !important;
}

#na-clima-cotacoes-layout .na-map-panel .na-source-bar strong,
#na-clima-cotacoes-layout .na-map-panel .na-source-bar span,
#na-clima-cotacoes-layout .na-map-panel .na-source-bar em {
  white-space:normal !important;
}

/* Fullscreen preservado, mas com alinhamento mais limpo */
#na-clima-cotacoes-layout .na-map-board:fullscreen,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback {
  grid-template-columns:minmax(0,1fr) 392px !important;
  gap:18px !important;
  padding:26px 16px 34px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  bottom:4px !important;
  width:calc(100vw - 462px) !important;
  min-height:auto !important;
  font-size:13px !important;
  line-height:1.15 !important;
  padding:8px 14px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel {
  padding:12px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-legend-panel .na-legenda-item,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-legend-panel .na-legenda-item {
  font-size:12.6px !important;
}

/* Responsivo */
@media (max-width:980px) {
  #na-clima-cotacoes-layout .na-map-board {
    padding:12px !important;
    grid-template-columns:1fr !important;
  }

  #na-clima-cotacoes-layout .na-map-panel {
    min-height:470px !important;
    height:470px !important;
  }
}

@media (max-width:560px) {
  #na-clima-cotacoes-layout .na-map-panel {
    min-height:405px !important;
    height:405px !important;
  }
}


/* =========================================================
   v2.1.21 — AJUSTES PONTUAIS SOLICITADOS
   1) Selo "Clima Nordeste Agro" em verde claro.
   2) Barra inferior no fullscreen fixada no rodapé da tela.
   ========================================================= */

/* Selo do topo com verde claro, como no padrão visual das Cotações */
#na-clima-cotacoes-layout .na-hero small {
  color:#55C83B !important;
  background:#edf8ea !important;
  border-color:#cfe9cc !important;
}

/* Fullscreen: fonte inferior fixa no rodapé da tela, não no meio do mapa */
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  position:fixed !important;
  left:24px !important;
  right:auto !important;
  bottom:14px !important;
  width:calc(100vw - 500px) !important;
  z-index:50 !important;
  transform:none !important;
  margin:0 !important;
}


/* =========================================================
   v2.1.22 — OCULTAR BARRA INFERIOR DE FONTE DO MAPA
   Ajuste pontual solicitado: deixar invisível a informação de fonte/base/atualização
   que aparecia na parte inferior do mapa.
   ========================================================= */
#na-clima-cotacoes-layout .na-source-bar,
#na-clima-cotacoes-layout .na-map-panel .na-source-bar,
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}


/* =========================================================
   v2.1.23 — BARRA DE FONTE RESTAURADA ABAIXO DO MAPA + LEGENDA
   Ajuste solicitado:
   - Voltar a informação de Fonte / Base / Atualização.
   - Deixar na parte inferior do bloco do mapa.
   - Ocupar a largura completa, inclusive abaixo da legenda principal.
   ========================================================= */

#na-clima-cotacoes-layout .na-map-board {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 246px !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:14px 18px !important;
  align-items:start !important;
}

#na-clima-cotacoes-layout .na-map-panel {
  grid-column:1 / 2 !important;
  grid-row:1 / 2 !important;
}

#na-clima-cotacoes-layout .na-side-column {
  grid-column:2 / 3 !important;
  grid-row:1 / 2 !important;
}

#na-clima-cotacoes-layout .na-source-bar,
#na-clima-cotacoes-layout .na-map-panel .na-source-bar,
#na-clima-cotacoes-layout .na-map-board .na-source-bar,
#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:static !important;
  grid-column:1 / -1 !important;
  grid-row:2 / 3 !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:44px !important;
  max-height:none !important;
  margin:0 !important;
  padding:10px 16px !important;
  border:1px solid #d7e3d1 !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.97) !important;
  color:var(--na-verde) !important;
  box-shadow:0 7px 18px rgba(31,77,43,.065) !important;
  justify-content:center !important;
  align-items:center !important;
  gap:6px 10px !important;
  flex-wrap:wrap !important;
  text-align:center !important;
  font-size:11px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  transform:none !important;
  z-index:2 !important;
}

#na-clima-cotacoes-layout .na-source-bar strong,
#na-clima-cotacoes-layout .na-source-bar span,
#na-clima-cotacoes-layout .na-source-bar em {
  display:inline !important;
  white-space:normal !important;
  flex:0 1 auto !important;
}

/* Fullscreen: a barra também fica no rodapé do conjunto, abaixo do mapa e da legenda */
#na-clima-cotacoes-layout .na-map-board:fullscreen,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback {
  grid-template-columns:minmax(0,1fr) 392px !important;
  grid-template-rows:minmax(0,1fr) auto !important;
  gap:14px 18px !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-map-panel,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-map-panel {
  padding-bottom:0 !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen #na-svg,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback #na-svg {
  height:100% !important;
}

#na-clima-cotacoes-layout .na-map-board:fullscreen .na-source-bar,
#na-clima-cotacoes-layout .na-map-board.na-fullscreen-fallback .na-source-bar {
  position:static !important;
  bottom:auto !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  padding:9px 16px !important;
  font-size:13px !important;
  line-height:1.18 !important;
  justify-content:center !important;
  text-align:center !important;
}

@media (max-width:980px) {
  #na-clima-cotacoes-layout .na-map-board {
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto !important;
  }

  #na-clima-cotacoes-layout .na-map-panel {
    grid-column:1 / -1 !important;
    grid-row:1 / 2 !important;
  }

  #na-clima-cotacoes-layout .na-source-bar {
    grid-column:1 / -1 !important;
    grid-row:2 / 3 !important;
  }
}
/* =========================================================
   NORDESTE AGRO CLIMA — CORREÇÃO DEFINITIVA MOBILE
   Plugin oficial v2.1.23
   Corrige:
   - legenda principal/desktop aparecendo no mobile
   - fonte principal aparecendo no mobile
   - botões acima do mapa
   - mapa ocupando a área principal
   ========================================================= */

@media only screen and (max-width: 980px) {

  /* O bloco do mapa deixa de ser grade lateral e vira coluna */
  #na-clima-cotacoes-layout .na-map-board,
  #na-clima-cotacoes-layout #na-map-board {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* A coluna lateral não pode mais ocupar espaço.
     Mas usamos display:contents para manter os botões vivos. */
  #na-clima-cotacoes-layout .na-side-column {
    display: contents !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Botões acima da caixa principal do mapa */
  #na-clima-cotacoes-layout .na-map-controls {
    order: 1 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    z-index: 10 !important;
  }

  #na-clima-cotacoes-layout .na-map-control-btn {
    display: grid !important;
    place-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    line-height: 1 !important;
    background: #ffffff !important;
    border: 1px solid #d7e3d1 !important;
    color: #1f4d2b !important;
    box-shadow: 0 6px 14px rgba(31, 77, 43, .10) !important;
    pointer-events: auto !important;
  }

  /* Mantém também o botão tela cheia visível no mobile */
  #na-clima-cotacoes-layout #na-map-fullscreen {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Mapa abaixo dos botões */
  #na-clima-cotacoes-layout .na-map-panel,
  #na-clima-cotacoes-layout #na-map-panel {
    order: 2 !important;
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 405px !important;
    min-height: 405px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #na-clima-cotacoes-layout #na-svg {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 405px !important;
    min-height: 405px !important;
    margin: 0 auto !important;
    background: transparent !important;
  }

  /* ESCONDE DEFINITIVAMENTE A LEGENDA PRINCIPAL/DESKTOP NO MOBILE */
  #na-clima-cotacoes-layout .na-side-column .na-legend-panel,
  #na-clima-cotacoes-layout .na-legend-panel,
  #na-clima-cotacoes-layout aside.na-legend-panel,
  #na-clima-cotacoes-layout #na-legenda-desktop,
  #na-clima-cotacoes-layout .na-legenda:not(#na-legenda-mobile) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    z-index: -999 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* ESCONDE DEFINITIVAMENTE A FONTE PRINCIPAL/DESKTOP NO MOBILE */
  #na-clima-cotacoes-layout .na-source-bar,
  #na-clima-cotacoes-layout #na-source-bar,
  #na-clima-cotacoes-layout .na-map-board .na-source-bar,
  #na-clima-cotacoes-layout .na-map-panel .na-source-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    z-index: -999 !important;
    box-shadow: none !important;
  }

  /* Mantém a legenda mobile abaixo do mapa */
  #na-clima-cotacoes-layout .na-mobile-legenda-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
    margin: 10px 0 0 0 !important;
    padding: 10px 10px 12px !important;
    background: #ffffff !important;
    border: 1px solid #d7e3d1 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 22px rgba(31, 77, 43, .10) !important;
    box-sizing: border-box !important;
  }

  /* Remove logo da legenda mobile para ela não ficar alta demais */
  #na-clima-cotacoes-layout .na-mobile-legenda-card .na-logo-box-mobile,
  #na-clima-cotacoes-layout .na-mobile-legenda-card .na-logo-box,
  #na-clima-cotacoes-layout .na-mobile-legenda-card img,
  #na-clima-cotacoes-layout .na-mobile-legenda-card .na-logo-site-url {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-card h3 {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    color: #1f4d2b !important;
    font-size: 15px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    text-align: left !important;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-card p {
    margin: 0 0 7px 0 !important;
    padding: 0 !important;
    color: #667069 !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    text-align: left !important;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-grid,
  #na-clima-cotacoes-layout #na-legenda-mobile {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #na-clima-cotacoes-layout .na-mobile-legenda-item {
    display: grid !important;
    grid-template-columns: 25px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #243529 !important;
    font-size: 9.4px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  #na-clima-cotacoes-layout .na-mobile-cor {
    display: block !important;
    width: 23px !important;
    min-width: 23px !important;
    height: 7px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
  }

  /* Esconde também a fonte mobile, porque você pediu para sumir a informação de fonte no mobile */
  #na-clima-cotacoes-layout .na-mobile-fonte-card {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}