.great-map-container {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  border: 1px solid #ccc;
  overflow: hidden;
}

.great-map-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #f2f2f2;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  z-index: 1000;
  padding: 10px 0;
}

.great-map-tab {
  flex: 1;
  text-align: center;
  font-weight: 600;
  color: #b3b3b3;
  cursor: pointer;
  border-right: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.great-map-tab:last-child { border-right: none; }
.great-map-tab.active { color: #000; }

#great-map {
  width: 100%;
  height: calc(100% - 42px);
  position: absolute;
  top: 42px;
  left: 0;
}

/* --- MOBILE --- */
@media (max-width: 600px) {
  .great-map-tabs {
    display: grid;                 /* força 3 colunas */
    grid-template-columns: repeat(3, 1fr);
    padding: 6px 0;                /* compacto, cabe numa linha */
  }

  .great-map-tab {
    display: flex;
    flex-direction: column;        /* ícone acima do texto */
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;               /* reduz um pouco pra caber */
    padding: 6px 2px;
    white-space: nowrap;           /* evita quebra de linha do rótulo */
    border-right: 1px solid #000;  /* mantém divisórias */
  }

  .great-map-tab:last-child {
    border-right: none;
  }

  .great-map-tab img {
    width: 20px;                   /* ícone menor no mobile */
    height: 20px;
    display: block;
  }
}

