/* =========================================================
   BASE / CONTAINER (caso use em outras telas)
   ========================================================= */

.mps-container {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  background: #fafafa;
}

#mps-btn {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

#mps-btn:hover {
  background: #005f8d;
}

/* =========================================================
   LAYOUT PRINCIPAL
   ========================================================= */

.lotes-wrapper {
  display: flex;
  gap: 30px;
}

.conteudo {
  flex: 1;
}

/* =========================================================
   FILTROS (SIDEBAR)
   ========================================================= */

.filtros {
  width: 260px;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
}

.filtros h3 {
  margin-top: 20px;
  font-size: 16px;
}

.filtros input {
  width: 100%;
  padding: 8px;
}

#meu-plugin-root .filtro {
  border: none;
  border-radius: 20px;
  background-color: #e9e9e9;
}

/* =========================================================
   TAGS / REGIÕES
   ========================================================= */

.tags span {
  display: inline-block;
  border: 1px solid orange;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 5px 5px 0 0;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tags span.ativo {
  background: #ff6a00;
  color: #fff;
  border-color: #ff6a00;
}

/* =========================================================
   FAIXAS DE VALOR
   ========================================================= */

.faixas button {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid orange;
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faixas button.ativo {
  background: #ff6a00;
  color: #fff;
  border-color: #ff6a00;
}

/* =========================================================
   CONTADOR
   ========================================================= */

.contador {
  margin-bottom: 15px;
  font-weight: bold;
}

/* =========================================================
   GRID DE LOTES
   ========================================================= */

.grid-lotes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* =========================================================
   CARD DO LOTE
   ========================================================= */

.lote-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover (efeito flutuante) */
#meu-plugin-root .lote-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   IMAGEM DO CARD
   ========================================================= */

.lote-card .imagem {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.lote-card .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   BADGE (STATUS)
   ========================================================= */

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
}

.badge.disponivel {
  background: green;
}

.badge.lancamento {
  background: orange;
}

/* =========================================================
   INFORMAÇÕES DO CARD
   ========================================================= */

.lote-card .info {
  padding: 15px;
}

.cidade {
  color: #fff;
  border-radius: 25px;
  background-color: #ff6a00;
  padding: 8px;
}

/* =========================================================
   BOTÃO DO CARD
   ========================================================= */

.lote-card button {
  margin-top: 10px;
  width: 100%;
  border: 1px solid orange;
  background: none;
  padding: 8px;
  border-radius: 20px;
  cursor: pointer;
}
