/* Property cards in web chat (property_cards from bot API) */

.wc-property-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  max-width: min(100%, 340px);
}

.wc-property-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
}

.wc-property-card:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 117, 117, 0.35);
  box-shadow: 0 6px 18px rgba(22, 117, 117, 0.12);
}

.wc-property-card__media {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}

.wc-property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-property-card__body {
  min-width: 0;
  flex: 1;
}

.wc-property-card__code {
  font-size: 11px;
  font-weight: 700;
  color: #167575;
  margin-bottom: 2px;
}

.wc-property-card__status {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
}

.wc-property-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-property-card__meta {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

.wc-property-card__price {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.wc-property-card__cta {
  margin-top: 4px;
  font-size: 11px;
  color: #167575;
  font-weight: 600;
}

.wc-chat--compact .wc-property-cards {
  max-width: 100%;
}

.wc-chat--compact .wc-property-card__media {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
}
