* { box-sizing: border-box; }
body {
  font-family: "Malgun Gothic", Arial, sans-serif;
  margin: 0;
  background: #f7f7f8;
  color: #222;
}
.topbar {
  background: #2f4f2f;
  color: #fff;
  padding: 16px 24px;
}
.topbar h1 {
  margin: 6px 0 0;
  font-size: 20px;
}
.back-link {
  color: #cde5cd;
  font-size: 13px;
  text-decoration: none;
}
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  background: #fff;
  padding: 16px 24px;
  border-bottom: 1px solid #ddd;
}
.field {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.field label {
  margin-bottom: 4px;
  color: #555;
}
.field input, .field select {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 110px;
}
.search-form button {
  padding: 8px 20px;
  background: #2f4f2f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  height: 34px;
}
.result-count {
  padding: 12px 24px 0;
  color: #666;
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 16px 24px;
}
.card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.thumb {
  width: 100%;
  height: 150px;
  background: #eee;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}
.info {
  padding: 10px 12px;
}
.title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.address {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}
.price {
  font-size: 14px;
  color: #b5482e;
  font-weight: bold;
}
.empty {
  text-align: center;
  padding: 60px;
  color: #999;
}
