:root {
  --showcase-color-background: #061015;
  --showcase-color-brand-950: #071014;
  --showcase-color-brand-900: #101c23;
  --showcase-color-brand-800: #20313a;
  --showcase-color-text: #ffffff;
  --showcase-color-muted: #9ca3af;
  --showcase-color-soft: #d1d5db;
  --showcase-color-accent: #d6b56d;
  --showcase-color-success: #4ade80;
  --showcase-font-serif: Georgia, "Times New Roman", serif;
  --showcase-font-sans: Arial, Helvetica, sans-serif;
}

/* .zps-widget-root .property-showcase {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
} */

.zps-widget-root .property-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.zps-widget-root .property-filter__button {
  border: 0;
  cursor: pointer;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--showcase-color-brand-900);
  color: var(--showcase-color-soft);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.zps-widget-root .property-filter__button:hover {
  background: var(--showcase-color-brand-800);
}

.zps-widget-root .property-filter__button--active {
  background: var(--showcase-color-accent);
  color: var(--showcase-color-brand-950);
}

.zps-widget-root .property-filter__button:disabled,
.zps-widget-root .zps-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.zps-widget-root .property-grid {
  display: grid;
  grid-template-columns: repeat(var(--zps-columns-mobile, 1), 1fr);
  gap: 32px;
}

.zps-widget-root .property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--showcase-color-brand-800);
  border-radius: 16px;
  background: var(--showcase-color-brand-900);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.zps-widget-root .property-card:hover {
  border-color: rgba(214, 181, 109, 0.5);
  box-shadow: 0 24px 60px rgba(214, 181, 109, 0.1);
  transform: translateY(-2px);
}

.zps-widget-root .property-card__image-wrap {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.zps-widget-root .property-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.zps-widget-root .property-card:hover .property-card__image {
  transform: scale(1.1);
}

.zps-widget-root .property-card__image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background: linear-gradient(to top, var(--showcase-color-brand-950), transparent 70%);
}

.zps-widget-root .property-card__status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--showcase-color-success);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zps-widget-root .property-card__tour-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(7, 16, 20, 0.8);
  color: var(--showcase-color-text);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.zps-widget-root .property-card__tour-icon {
  color: var(--showcase-color-accent);
  flex-shrink: 0;
}

.zps-widget-root .property-card__price {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  color: var(--showcase-color-text);
  font-family: var(--showcase-font-serif);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.zps-widget-root .property-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.zps-widget-root .property-card__title {
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--showcase-color-text);
  font-family: var(--showcase-font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.zps-widget-root .property-card:hover .property-card__title {
  color: var(--showcase-color-accent);
}

.zps-widget-root .property-card__location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--showcase-color-muted);
}

.zps-widget-root .property-card__location p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.zps-widget-root .property-card__location-icon {
  flex-shrink: 0;
  margin-top: 4px;
}

.zps-widget-root .property-card__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: auto;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--showcase-color-brand-800);
  border-bottom: 1px solid var(--showcase-color-brand-800);
}

.zps-widget-root .property-card__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  color: var(--showcase-color-soft);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.zps-widget-root .property-card__feature--middle {
  border-left: 1px solid var(--showcase-color-brand-800);
  border-right: 1px solid var(--showcase-color-brand-800);
}

.zps-widget-root .property-card__feature-icon {
  color: #6b7280;
  flex-shrink: 0;
}

.zps-widget-root .property-card__button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--showcase-color-brand-800);
  color: var(--showcase-color-text);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.zps-widget-root .property-card__button:hover {
  background: var(--showcase-color-accent);
  color: var(--showcase-color-brand-950);
}

.zps-widget-root .zps-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.zps-widget-root .zps-empty,
.zps-widget-root .zps-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--showcase-color-muted);
  padding: 24px 0;
}

.zps-widget-root .zps-error {
  color: #f87171;
}

@media (min-width: 768px) {
  .zps-widget-root .property-grid {
    grid-template-columns: repeat(var(--zps-columns-tablet, 2), 1fr);
  }
}

@media (min-width: 1024px) {
  .zps-widget-root .property-grid {
    grid-template-columns: repeat(var(--zps-columns, 3), 1fr);
  }
}
