/* VT Estates – estate card styles */
/* CSS variables (also defined here so cards work on the single/estate page) */
:root {
  --vt-accent:       #0368c3;
  --vt-accent-dark:  #0254a0;
  --vt-dark:         #1d3142;
  --vt-text:         #333;
  --vt-text-light:   #666;
  --vt-border:       #cdd3d8;
  --vt-radius:       4px;
  --vt-shadow:       0 2px 8px rgba(0,0,0,.10);
}

.vt-card {
  position: relative;
  background: #fff;
  border-radius: var(--vt-radius);
  overflow: hidden;
  box-shadow: var(--vt-shadow);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.vt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.13);
}

/* Image */
.vt-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #edf0f2;
}
.vt-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.vt-card:hover .vt-card__img-wrap img { transform: scale(1.04); }
.vt-card__no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dce3e6 0%, #c4cdd2 100%);
}

/* Badges */
.vt-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  z-index: 2;
}
.vt-badge--new      { background: #22a443; }
.vt-badge--sold     { background: #d63028; }
.vt-badge--reserved { background: #e07b1a; }

/* Card body */
.vt-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card title */
.vt-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--vt-dark);
  line-height: 1.35;
  padding: 10px 12px 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price bar */
.vt-card__price-bar {
  background: var(--vt-dark);
  color: #fff;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.vt-card__price {
  font-size: 16px;
  font-weight: 700;
}
.vt-card__price-m2 {
  font-size: 12px;
  opacity: .75;
}

/* Meta row */
.vt-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px 4px;
  font-size: 13px;
  color: var(--vt-text);
}
.vt-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vt-meta-item svg { flex-shrink: 0; color: var(--vt-text-light); }

/* Location */
.vt-card__location {
  padding: 2px 12px 10px;
  font-size: 13px;
  color: var(--vt-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer */
.vt-card__footer {
  margin-top: auto;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
}
.vt-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--vt-accent);
  text-decoration: none;
}
.vt-card__link:hover { text-decoration: underline; }

/* Wishlist button */
.vt-wishlist-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #aaa;
  transition: color .15s, transform .15s;
  display: flex;
  align-items: center;
}
.vt-wishlist-btn:hover { color: #e53935; transform: scale(1.15); }
.vt-wishlist-btn.is-saved { color: #e53935; }
.vt-wishlist-btn.is-saved svg path { fill: #e53935; stroke: #e53935; }
