.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-card {
  background: #f8fbfa;
  border-color: #e4ece9;
  box-shadow: 0 14px 34px rgba(10, 56, 65, .11);
  transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(10, 56, 65, .15);
}

.property-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.property-head .location {
  letter-spacing: .1em;
}

.price {
  flex: 0 0 auto;
  color: var(--deep);
  font-size: 20px;
  white-space: nowrap;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.facts span {
  padding: 5px 9px;
  background: var(--paper);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}

.contact-card {
  grid-column: 1 / -1;
  min-height: 260px;
  align-items: flex-start;
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
  box-shadow: 0 14px 34px rgba(10, 56, 65, .18);
}

.contact-card:hover {
  transform: none;
  box-shadow: 0 14px 34px rgba(10, 56, 65, .18);
}

@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-column: auto;
  }

  .property-head {
    display: block;
  }

  .price {
    display: block;
    margin-bottom: 12px;
  }
}

.property-description {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.property-description summary {
  padding: 15px 28px 15px 0;
  color: var(--orange);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.property-description summary::-webkit-details-marker { display: none; }
.property-description summary::after { content: '+'; position: absolute; right: 2px; top: 8px; font-size: 25px; font-weight: 500; }
.property-description[open] summary::after { content: '−'; }
.property-description > div { padding: 2px 0 8px; }
.property-description > div p { font-size: 14px; line-height: 1.7; }
.property-description > div a { display: inline-block; margin-top: 2px; color: var(--orange); }
.property-phone { display: inline-block; margin-top: 14px; }
.property-video { margin-top: 22px; }
.property-video h4 { margin: 0 0 10px; color: var(--deep); font-size: 16px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.property-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-width: 800px;
  margin: -12px 0 12px;
}

.filter-control { display: grid; gap: 7px; }

.filter-label {
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.filter-select {
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--deep);
  font: 700 16px Manrope, Arial, sans-serif;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.filter-select:hover { border-color: var(--orange); }
.filter-select:focus-visible { outline: 3px solid rgba(239,111,60,.25); border-color: var(--orange); }
.filter-status { min-height: 24px; margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.property-card.filtered-out { display: none; }

@media (max-width: 600px) {
  .property-filters { grid-template-columns: 1fr; max-width: none; }
}
