/* Public property pages — listing search scoped under .properties-search-page;
   detail page uses .property-details-page with shared service/business detail classes. */

/* --- Listing grid: match business/services card stretch --- */
.properties-search-page .business-grid.tt-results-grid {
    margin-bottom: 2rem;
    align-items: stretch;
}

/* --- Card image fallback (home) — isolated from business/service fallbacks --- */
.properties-search-page .tt-listing-card__image-wrap--property.tt-listing-card__image-wrap--fallback {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.properties-search-page .tt-listing-card__image-wrap--property.tt-listing-card__image-wrap--fallback::after {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2rem;
    color: #86efac;
}

/* --- Rent / sale tag (same semantics as legacy pills, tt-listing-card__tag shape) --- */
.properties-search-page .tt-listing-card__tag.tt-property-listing-card__tag--rent {
    text-transform: none;
    background: rgba(14, 116, 144, 0.12);
    color: #0e7490;
    font-weight: 600;
}

.properties-search-page .tt-listing-card__tag.tt-property-listing-card__tag--sale {
    text-transform: none;
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
    font-weight: 600;
}

/* --- Secondary address line when summary is shown --- */
.properties-search-page .tt-property-listing-card__address {
    margin-top: 0.35rem !important;
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
}

/* --- Price chip in amenities row --- */
.properties-search-page .tt-property-listing-card__price-amenity {
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

/* --- Listing page pills (filters / legacy) --- */
.properties-search-page .tt-property-type-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
}

.properties-search-page .tt-property-type-pill--rent {
    background: rgba(14, 116, 144, 0.12);
    color: #0e7490;
}

.properties-search-page .tt-property-type-pill--sale {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

/* ============================================================
   Public property detail (/Public/Property/{id}) — aligns with
   service/business detail shell; scoped under .property-details-page
   ============================================================ */

.property-details-page .business-logo-placeholder-hero.property-details-page__logo-placeholder {
    font-size: 3rem;
}

.property-details-page .business-logo-placeholder-hero.property-details-page__logo-placeholder i {
    color: var(--lapis-lazuli, #1e3a5f);
    opacity: 0.85;
}

.property-details-page .business-status-pill.status-property-rent {
    background-color: rgba(6, 182, 212, 0.95);
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

.property-details-page .business-status-pill.status-property-sale {
    background-color: rgba(245, 158, 11, 0.95);
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

.property-details-page__price-hero {
    margin-top: 0.25rem;
}

.property-details-page .business-hero-meta .property-details-page__price-hero {
    margin-top: 0;
}

.property-details-page .business-hero-meta .property-details-page__price-text {
    color: #0f172a;
    text-shadow: none;
}

.property-details-page .business-hero-meta .property-details-page__price-pill {
    background-color: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.property-details-page__price-pill {
    padding: 0.5rem 1.1rem;
}

.property-details-page__price-text {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* Price card: standard slate header band (public.css); green emphasis on body only */
.property-details-page .property-details-page__listing-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.property-details-page .property-details-page__listing-card .business-detail-card__body {
    background: linear-gradient(135deg, #059669, #047857);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.property-details-page .property-details-page__listing-card .detail-icon.property-details-page__listing-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.property-details-page .property-details-page__listing-card .detail-text p {
    color: #fff;
}

.property-details-page .detail-text .detail-subtext {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    opacity: 0.92;
    line-height: 1.35;
}

.property-details-page .property-details-page__lead {
    font-size: var(--body-large, 1.1rem);
    line-height: 1.55;
}

.property-details-page .property-details-page__description {
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    /* Listing photo in hero: crop inside the small square thumb (logos use contain in public.css). */
    .property-details-page .business-header-section .business-logo-hero {
        object-fit: cover;
    }

    .property-details-page .property-details-page__price-pill {
        padding: 0.28rem 0.55rem;
        border-radius: 999px;
    }

    .property-details-page .property-details-page__price-text {
        font-size: 0.9375rem;
    }
}
