/* === INFO WINDOW DO MAPA (BALÕES) === */
.gm-style-iw {
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  max-height: none !important;
  max-width: none !important;
  min-height: unset !important;
  min-width: unset !important;
  overflow: visible !important;
  box-sizing: content-box !important;
}

.gm-style-iw-d {
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  max-width: none !important;
}

.linha-avaliacoes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  text-align: center;
  margin-bottom: 4px; /* adicione ou aumente esse valor */
}

.mapa-infowindow i {
  font-size: 10px;
  vertical-align: middle;
}


.mapa-infowindow {
  width: 220px;
  max-height: 320px; /* era 360px */
  overflow: hidden;
  font-family: Arial, sans-serif;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  color: #333;
}


.mapa-titulo-wrapper {
  height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0; /* mesmo espaçamento em cima e embaixo */
}


.mapa-titulo {
  font-size: 14px;
  color: #ff8000;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}






.mapa-foto-container {
  position: relative;
  margin: 0 auto 10px auto;
  height: 150px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f0f0f0;
}

.mapa-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* .mapa-setas { */
  /* position: absolute; */
  /* top: 50%; */
  /* left: 0; */
  /* right: 0; */
  /* display: flex; */
  /* justify-content: space-between; */
  /* transform: translateY(-50%); */
  /* padding: 0 5px; */
/* } */

/* .mapa-setas button { */
  /* background: rgba(0, 0, 0, 0.5); */
  /* color: white; */
  /* border: none; */
  /* width: 24px; */
  /* height: 24px; */
  /* border-radius: 50%; */
  /* font-size: 12px; */
  /* cursor: pointer; */
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
/* } */


.mapa-setas {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 10px;
  pointer-events: none;
}

 .mapa-setas button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 20px;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: all;
}


.mapa-info {
  font-size: 12px;
  color: red;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 3px;
}

.foto-contador {
  color: white;
  font-weight: 500;
    font-weight: bold;
	  cursor: pointer;
  position: relative;
  top: 1px; /* ajuste fino, pode usar -1px ou -3px */
}




.studio-img {
  position: relative;
}


.mapa-preco {
  color: #28a745;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3px;
}


/* BOTÕES */
.mapa-botoes {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.mapa-botoes .botao-mapa {
  flex: 1 1 30%;
  min-width: 40px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: bold;
  color: white !important;
  text-align: center;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30px;
}

.mapa-botoes .botao-mapa i {
  font-size: 13px;
  margin-bottom: 3px;
}

.mapa-botoes .botao-mapa:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.mapa-botoes .btn-chat {
  background-color: #007bff;
}

.mapa-botoes .btn-reservar {
  background-color: #28a745;
}

.mapa-botoes .btn-gostei {
  background-color: #ff8000;
}

.mapa-botoes .btn-chat:hover {
  background-color: #0056b3;
}

.mapa-botoes .btn-reservar:hover {
  background-color: #1e7e34;
}

.mapa-botoes .btn-gostei:hover {
  background-color: #cc6300;
}


@media (max-width: 768px) {
  /* --- CARD DA PÁGINA --- */
  .studio-img {
    height: 240px;
    position: relative;
  }

  .studio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }

  .studio-card {
    height: auto !important; /* garante que o branco acompanhe a imagem */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* --- INFO WINDOW MAPA --- */
  .mapa-infowindow {
    width: 92vw;
    max-width: 300px;
    padding: 8px;
    border-radius: 6px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
  }

  .mapa-titulo {
    font-size: 13px;
    margin-bottom: 3px;
    text-align: center;
  }

  .mapa-foto-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f0f0f0;
  }

  .mapa-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
  }

  /* .mapa-setas button { */
    /* width: 22px; */
    /* height: 22px; */
    /* font-size: 11px; */
  /* } */

  .foto-contador {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
  }

  .mapa-info {
    font-size: 11px;
    margin-bottom: 3px;
    text-align: center;
  }

.linha-infos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px; /* antes estava 24px */
    }
	
	
  .mapa-preco {
    font-size: 12px;
    margin-bottom: 3px;
    text-align: center;
    color: #28a745;
    font-weight: bold;
  }

  .mapa-botoes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .mapa-botoes .botao-mapa {
    width: 58px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
  }

  .mapa-botoes .botao-mapa i {
    font-size: 18px;
    margin: 0;
  }

  .mapa-botoes .botao-mapa span {
    display: none;
  }
}

@media (max-width: 480px) {
  .mapa-infowindow {
    width: 95vw;
    max-width: 270px;
    padding: 6px;
    border-radius: 6px;
  }

  .mapa-botoes .botao-mapa {
    width: 54px;
    height: 42px;
  }

  .mapa-botoes .botao-mapa i {
    font-size: 17px;
  }
}
