/* Real Estate Catalog frontend display */
.re-catalog-muted { color: #64748b; font-size: 13px; line-height: 1.5; }
.re-catalog-editor-note {
    border: 1px dashed #94a3b8;
    background: #f8fafc;
    color: #475569;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.45;
    margin: 4px 0;
}
.re-catalog-field { margin: 0 0 10px; line-height: 1.7; }
.re-catalog-field__label { display: inline-block; font-weight: 700; margin-right: .65em; color: #334155; }
.re-catalog-field__value { color: #0f172a; }
.re-catalog-field--price .re-catalog-field__value,
.re-catalog-field[data-field-key="price"] .re-catalog-field__value,
.re-catalog-field[data-field-key="rent"] .re-catalog-field__value { font-weight: 800; font-size: 1.15em; }

.re-catalog-spec-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
.re-catalog-spec-table th,
.re-catalog-spec-table td { border: 1px solid #e2e8f0; padding: 10px 12px; vertical-align: top; }
.re-catalog-spec-table th { width: 28%; background: #f8fafc; color: #334155; font-weight: 700; }
.re-catalog-spec-table td { color: #0f172a; background: #fff; }

.re-catalog-image { width: 100%; margin: 0 0 18px; }
.re-catalog-image figure { margin: 0 0 14px; }
.re-catalog-image img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: 8px; background: #f1f5f9; }
.re-catalog-image figcaption { margin-top: 6px; font-size: 13px; color: #64748b; }

.re-catalog-list { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; align-items: stretch; }
.re-catalog-list__item { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 8px 20px rgba(15, 23, 42, .08); }
.re-catalog-list__image { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e2e8f0, #f8fafc); overflow: hidden; }
.re-catalog-list__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.re-catalog-list__item:hover .re-catalog-list__image img { transform: scale(1.035); }
.re-catalog-list__noimage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 13px; }
.re-catalog-list__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.re-catalog-list__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.re-catalog-list__badge { display: inline-flex; align-items: center; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 12px; line-height: 1; padding: 5px 8px; }
.re-catalog-list__title { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.35; font-weight: 800; color: #0f172a; margin: 0; word-break: break-word; }
.re-catalog-list__price { color: #dc2626; font-weight: 800; font-size: 17px; margin: 0; }
.re-catalog-list__row { margin: 0; color: #334155; line-height: 1.55; font-size: 14px; }
.re-catalog-list__actions { margin-top: auto; padding-top: 8px; }
.re-catalog-list__link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 999px; padding: 8px 18px; background: #0f172a; color: #fff; text-decoration: none; font-weight: 700; }
.re-catalog-list__link:hover { color: #fff; text-decoration: none; filter: brightness(1.08); }

.re-property-360 { width: 100%; margin: 0 0 18px; }
.re-property-360-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.re-property-360-tab { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; border-radius: 999px; padding: 6px 12px; line-height: 1.2; cursor: pointer; }
.re-property-360-tab.is-active { background: #0d6efd; border-color: #0d6efd; color: #fff; }
.re-property-360-stage { position: relative; width: 100%; min-height: 260px; background: #111827; overflow: hidden; border-radius: 8px; }
.re-property-360-viewer { position: absolute; inset: 0; display: none; }
.re-property-360-viewer.is-active { display: block; }
.re-property-360-viewer.is-fallback { background-repeat: repeat-x; background-size: auto 100%; background-position: 50% center; cursor: grab; }
.re-property-360-viewer.is-fallback:active { cursor: grabbing; }
.re-property-360-caption { margin-top: 6px; font-size: 13px; color: #334155; }
.re-property-360-caption-item { display: none; }
.re-property-360-caption-item.is-active { display: block; }
.re-property-360-caption-item span { margin-left: 8px; color: #64748b; }

@media (max-width: 640px) {
    .re-catalog-list { grid-template-columns: 1fr; gap: 16px; }
    .re-catalog-list__body { padding: 14px; }
    .re-catalog-spec-table th,
    .re-catalog-spec-table td { display: block; width: 100%; }
    .re-catalog-spec-table th { border-bottom: 0; }
}
