.buscador-propiedades-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 1200px;
    margin: 2rem auto;
    font-family: 'Segoe UI', sans-serif;
}

.tab-container {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  color: #333;
  transition: 0.3s;
}

.tab-btn.active {
  background: #142d42;
  color: white;
  border-color: #142d42;
}

.buscador-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.input-full {
    grid-column: 1 / -1;
}

.buscador-grid input,
.buscador-grid select {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.rango-precio {
    display: flex;
    gap: 10px;
}

.btn-buscar {
    background: #00695C;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-buscar:hover {
    background: #004d40;
}

@media (max-width: 768px) {
    .rango-precio {
        flex-direction: column;
    }
}
.grid-resultados {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-top: 2rem;
}

.card-propiedad {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
    background: white;
    text-align: center;
    padding: 1rem;
}

.card-propiedad:hover {
    transform: translateY(-5px);
}

.card-propiedad img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.card-propiedad h3 {
    font-size: 18px;
    margin: 0.5rem 0;
}

.card-propiedad p {
    font-size: 14px;
    color: #666;
}
/* === Estilo elegante para resultados === */
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.resultado-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
  position: relative;
}

.resultado-item:hover {
  transform: translateY(-5px);
}

.thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.info-box {
  padding: 1rem;
}

.resultado-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
  color: #222;
}

.ciudad-precio {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.5rem;
}

.detalle-propiedad {
  font-size: 0.9rem;
  color: #666;
}

.whatsapp-box {
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid #eee;
  background: #f9f9f9;
  text-align: center;
}

.btn-wsp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-wsp:hover {
    background-color: #1ebe5b;
}

@media (max-width: 600px) {
  .resultados-grid {
    grid-template-columns: 1fr;
  }
}
