body.properties-page {
    font-family: var(--font-body, 'Inter', sans-serif);
    min-height: 100vh;
}

/* Header fixes for properties page (Screenshot 3 header behavior) */
.properties-page .site-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.25s ease;
}

.properties-page .site-header.scrolled {
    top: 0;
}

.properties-page .site-header.scrolled .nav-shell {
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(14, 10, 31, 0.25);
    background: rgba(59, 12, 163, 0.98);
}

@media (max-width: 991.98px) {
    .properties-page .site-header {
        top: 10px;
    }

    .properties-page .site-header.scrolled {
        top: 0;
    }
}

/* ---------- Main Container & Hero Layout ---------- */
.properties-main-section {
    padding-top: 140px;
    padding-bottom: 90px;
    position: relative;
    background: #ffffff;
}

@media (max-width: 991.98px) {
    .properties-main-section {
        padding-top: 115px;
        padding-bottom: 60px;
    }
}

/* ---------- Breadcrumbs (Screenshot 1) ---------- */
.properties-breadcrumb-nav {
    margin-bottom: 0.85rem;
}

.properties-breadcrumb-nav .breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 500;
}

.properties-breadcrumb-nav .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.properties-breadcrumb-nav .breadcrumb-item a:hover {
    color: #3B0CA3;
    text-decoration: underline;
}

.properties-breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #94a3b8;
    padding: 0 0.5rem;
}

.properties-breadcrumb-nav .breadcrumb-item.active {
    color: #475569;
    font-weight: 600;
}

/* ---------- Eyebrow, Title & Subtitle (Screenshot 1) ---------- */
.properties-eyebrow {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3B0CA3;
    margin-bottom: 0.65rem;
    display: inline-block;
}

.properties-main-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0d1322;
    margin-bottom: 0.85rem;
}

.properties-lead-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.62;
    color: #475569;
    max-width: 960px;
    margin-bottom: 1.4rem;
}

/* ---------- AI Search Bar (Screenshot 1) ---------- */
.ai-quick-search-wrapper {
    margin-bottom: 2rem;
}

.ai-quick-search-bar {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 3px 5px 3px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-quick-search-bar:focus-within {
    border-color: #3B0CA3;
    box-shadow: 0 0 0 3px rgba(59, 12, 163, 0.12);
}

.ai-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 260px;
    flex: 1;
}

.ai-prefix {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-prefix i {
    color: #6366f1;
    font-size: 0.95rem;
}

.ai-quick-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.88rem;
    color: #1e293b;
    width: 100%;
    min-width: 180px;
    padding: 4px 0;
}

.ai-quick-input::placeholder {
    color: #94a3b8;
}

.btn-ask-ai {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.86rem;
    font-weight: 700;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-ask-ai:hover {
    background: #f1f5f9;
    color: #3B0CA3;
}

/* AI Chips Helper */
.ai-prompt-chips-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ai-chips-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-suggestion-chip {
    font-size: 0.78rem;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 50rem;
    padding: 3px 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ai-suggestion-chip:hover {
    background: #ede9fe;
    color: #3B0CA3;
    border-color: #c4b5fd;
    transform: translateY(-1px);
}

/* AI Active Feedback Message */
.ai-feedback-banner {
    background: linear-gradient(135deg, #f5f3ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 12px 18px;
    margin-top: 14px;
    font-size: 0.9rem;
    color: #312e81;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    animation: fadeInSlide 0.3s ease-out;
}

.ai-feedback-banner.show {
    display: flex;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Property Filter Card (Screenshot 1 & 2) ---------- */
.property-filter-card {
    background: #edf2f7;
    background: linear-gradient(180deg, #edf2f7 0%, #ebf0f6 100%);
    border: 1px solid #dbe2ec;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
    .property-filter-card {
        padding: 18px 16px;
        border-radius: 14px;
    }
}

/* Top Search Bar inside Filter Card */
.filter-top-search {
    margin-bottom: 1.25rem;
}

.search-input-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 8px 6px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.search-input-pill:focus-within {
    border-color: #3B0CA3;
    box-shadow: 0 0 0 3px rgba(59, 12, 163, 0.12);
}

.search-pin-icon {
    font-size: 1.15rem;
    color: #64748b;
    flex-shrink: 0;
}

.location-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.96rem;
    color: #1e293b;
    width: 100%;
}

.location-search-input::placeholder {
    color: #94a3b8;
}

.btn-dark-search {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    background: #3B0CA3;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 10px 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-dark-search:hover {
    background: #2b0976;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 12, 163, 0.28);
}

.btn-dark-search:active {
    transform: translateY(0);
}

@media (max-width: 575.98px) {
    .btn-dark-search {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}

/* 3 Rows x 4 Columns Selects Grid (Screenshots 1 & 2) */
.filter-selects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 18px;
}

@media (max-width: 1199.98px) {
    .filter-selects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 14px;
    }
}

@media (max-width: 991.98px) {
    .filter-selects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 14px;
    }
}

@media (max-width: 575.98px) {
    .filter-selects-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.filter-col {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 5px;
}

.select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    padding: 8px 32px 8px 12px;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: #cbd5e1;
}

.filter-select:focus {
    border-color: #3B0CA3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 12, 163, 0.1);
}

.filter-select.has-value {
    border-color: #3B0CA3;
    background-color: #fcfaff;
    color: #3B0CA3;
    font-weight: 600;
}

/* Filter Controls Bar (Active Filters, Reset) */
.filter-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.active-filter-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag-pill {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    color: #3B0CA3;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50rem;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-tag-pill i {
    cursor: pointer;
    font-size: 0.75rem;
    color: #64748b;
    transition: color 0.15s ease;
}

.filter-tag-pill i:hover {
    color: #ef4444;
}

.btn-reset-filters {
    background: transparent;
    border: none;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.btn-reset-filters:hover {
    color: #dc2626;
}

/* ---------- About BC Real Estate Listings Card (Screenshot 2) ---------- */
.about-bc-card {
    background: #edf2f7;
    background: linear-gradient(180deg, #edf2f7 0%, #ebf0f6 100%);
    border: 1px solid #dbe2ec;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    margin-bottom: 2.5rem;
}

.about-bc-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
}

.about-bc-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
}

/* BC Real Estate Highlights Badges */
.bc-highlights-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 991.98px) {
    .bc-highlights-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .bc-highlights-row {
        grid-template-columns: 1fr;
    }
}

.bc-highlight-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bc-highlight-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    color: #3B0CA3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.bc-highlight-info strong {
    display: block;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.bc-highlight-info span {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.2;
}

/* ---------- Listings Results Header & Toolbar ---------- */
.listings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 1.5rem;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.results-count-text {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.results-count-text span {
    color: #3B0CA3;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.sort-select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    padding: 6px 28px 6px 10px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #3B0CA3;
}

.view-mode-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid #e2e8f0;
}

.view-mode-btn {
    border: none;
    background: transparent;
    padding: 5px 9px;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.view-mode-btn.active {
    background: #ffffff;
    color: #3B0CA3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---------- Listings Grid & Cards ---------- */
.properties-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 2.5rem;
}

@media (max-width: 1199.98px) {
    .properties-listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .properties-listings-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Property Card Design */
.prop-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.prop-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

.prop-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.prop-card:hover .prop-card-img {
    transform: scale(1.05);
}

/* Media Badges */
.prop-badge-group {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    z-index: 2;
}

.prop-badge-status {
    background: #3B0CA3;
    color: #ffffff;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.prop-badge-status.badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.prop-badge-status.badge-open-house {
    background: #10b981;
    color: #ffffff;
}

.prop-badge-status.badge-exclusive {
    background: #0f172a;
    color: #ffffff;
}

.prop-type-pill {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
}

/* Favorite Button */
.prop-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.prop-fav-btn:hover {
    background: #ffffff;
    color: #ef4444;
    transform: scale(1.1);
}

.prop-fav-btn.active {
    color: #ef4444;
    background: #ffffff;
}

.prop-mls-tag {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #e2e8f0;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* Card Body */
.prop-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prop-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
}

.prop-price {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.prop-price-sqft {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.prop-address {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prop-location {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.prop-location i {
    color: #3B0CA3;
    font-size: 0.88rem;
}

/* Specs Bar */
.prop-specs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.prop-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: #334155;
    font-weight: 600;
}

.prop-spec-item i {
    color: #64748b;
    font-size: 0.95rem;
}

/* Highlights Pills */
.prop-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.prop-tag-mini {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Card Actions */
.prop-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.btn-card-primary {
    flex: 1;
    background: #3B0CA3;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 9px 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-card-primary:hover {
    background: #2b0976;
    transform: translateY(-1px);
}

.btn-card-outline {
    background: #ffffff;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 9px 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-card-outline:hover {
    border-color: #3B0CA3;
    color: #3B0CA3 !important;
    background: #fcfaff;
}

/* ---------- List View Mode Styling ---------- */
.properties-listings-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.properties-listings-grid.list-view .prop-card {
    flex-direction: row;
}

.properties-listings-grid.list-view .prop-card-media {
    width: 320px;
    aspect-ratio: unset;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .properties-listings-grid.list-view .prop-card {
        flex-direction: column;
    }

    .properties-listings-grid.list-view .prop-card-media {
        width: 100%;
        aspect-ratio: 16 / 10;
    }
}

/* ---------- Empty State ---------- */
.no-results-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: none;
}

.no-results-state.show {
    display: block;
}

.no-results-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.no-results-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.no-results-desc {
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 18px;
    font-size: 0.95rem;
}

/* ---------- Pagination / Load More ---------- */
.listings-pagination-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 3.5rem;
}

.btn-load-more {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 50rem;
    padding: 12px 36px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-load-more:hover {
    border-color: #3B0CA3;
    color: #3B0CA3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 12, 163, 0.12);
}

.pagination-info-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* ---------- BC Popular Neighbourhoods Section ---------- */
.bc-areas-strip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 3.5rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.bc-areas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.bc-areas-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.bc-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 991.98px) {
    .bc-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .bc-areas-grid {
        grid-template-columns: 1fr;
    }
}

.bc-area-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.bc-area-card:hover {
    background: #ffffff;
    border-color: #3B0CA3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(59, 12, 163, 0.1);
    color: #3B0CA3;
}

.bc-area-card-name {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.bc-area-card-sub {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: auto;
}

/* ---------- Pre-Market Pocket Listings CTA Banner ---------- */
.pre-market-banner {
    background: linear-gradient(135deg, #1e0954 0%, #3B0CA3 50%, #200660 100%);
    border-radius: 20px;
    padding: 42px 36px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px -10px rgba(59, 12, 163, 0.35);
}

.pre-market-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pre-market-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.pre-market-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 50rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fef08a;
    margin-bottom: 12px;
}

.pre-market-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.pre-market-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.pre-market-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-premarket-primary {
    background: #ffffff;
    color: #3B0CA3 !important;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premarket-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-premarket-glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premarket-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ---------- Property Details Modal Styling ---------- */
.property-modal-dialog {
    max-width: 860px;
}

.property-modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
}

.property-modal-media {
    position: relative;
    height: 360px;
    background: #0f172a;
}

.property-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.property-modal-close:hover {
    background: #000000;
}

.property-modal-body {
    padding: 30px;
}

.property-modal-header {
    margin-bottom: 20px;
}

.modal-prop-price {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.modal-prop-address {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.modal-prop-location {
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

@media (max-width: 575.98px) {
    .modal-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal-spec-box {
    text-align: center;
}

.modal-spec-box span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.modal-spec-box strong {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 700;
}

.modal-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.modal-feature-tag {
    background: #eef2ff;
    color: #3B0CA3;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Modal Booking Form */
.modal-booking-box {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e2e8f0;
}

.modal-booking-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.modal-booking-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 14px;
}

/* Toast Notification */
.prop-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
    font-weight: 500;
}

.prop-toast.show {
    transform: translateY(0);
    opacity: 1;
}