.buy-container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

.buy-header {
  margin-bottom: 30px;
}

.buy-header h1 {
  text-align: center;
  color: #141424;
  margin-bottom: 20px;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

#filter-button {
  background-color: #f3641c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 24px;
  height: 45px;
}

#filter-button:hover {
  background-color: #e05a19;
}

.properties-count {
  margin: 20px 0;
  font-size: 16px;
  color: #666;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
  .search-filters {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  #filter-button {
    width: 100%;
    margin-top: 10px;
  }
}

/* Estilos para a página de detalhes do imóvel */
.property-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
}

.property-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.property-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.property-title {
  font-size: 24px;
  color: #141424;
  margin: 0;
}

.property-location {
  font-size: 18px;
  color: #666;
  margin: 0;
}

.property-price {
  font-size: 24px;
  color: #f3641c;
  font-weight: bold;
  margin: 10px 0;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.property-feature i {
  color: #f3641c;
}

.property-description {
  line-height: 1.6;
  color: #333;
}

.property-contact {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.property-contact h3 {
  margin-top: 0;
  color: #141424;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.contact-button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.whatsapp-button {
  background-color: #25d366;
  color: white;
}

.call-button {
  background-color: #141424;
  color: white;
}

.email-button {
  background-color: #f3641c;
  color: white;
}

@media (min-width: 768px) {
  .property-details {
    flex-direction: row;
  }

  .property-image-container {
    flex: 1;
  }

  .property-info-container {
    flex: 1;
  }
}
