/* ===== RENT HOUSE - Main Stylesheet ===== */
:root {
    --primary: #1564E3;
    --primary-dark: #4338CA;
    --primary-light: #3B82F6;
    --primary-bg: #EFF6FF;
    --secondary: #64748b;
    --success: #22C55E;
    --danger: #dc3545;
    --warning: #F59E0B;
    --info: #17a2b8;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #e5e7eb;
    --border: #e5e7eb;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Skip Navigation (Accessibility) ===== */
.skip-nav-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--dark);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-nav-link:focus {
    top: 0;
    color: #fff;
}

/* ===== Focus Indicators (Accessibility) ===== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* ===== Navbar ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.35s ease;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--dark) !important;
    padding: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}
.navbar-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.navbar-brand i {
    margin-right: 8px;
}
.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: transparent;
}
.navbar .btn-primary {
    background: linear-gradient(135deg, #1564E3, #4338CA);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.45rem 1.3rem;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Oakland-style transparent navbar for homepage */
.navbar.navbar-oakland {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    box-shadow: none;
    padding: 1rem 0;
    transition: all 0.35s ease;
}
.navbar.navbar-oakland .navbar-brand {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.navbar.navbar-oakland .navbar-brand img {
    filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.navbar.navbar-oakland .navbar-brand .brand-icon {
    background: rgba(255,255,255,0.2);
}
.navbar.navbar-oakland .nav-link {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-weight: 500;
}
.navbar.navbar-oakland .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
}
.navbar.navbar-oakland .btn-add-property {
    background: linear-gradient(135deg, #1564E3, #4338CA);
    border: 1.5px solid #1564E3;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(37,99,235,0.35);
    text-shadow: none;
    transition: all 0.4s ease;
}
.navbar.navbar-oakland .btn-add-property:hover {
    background: linear-gradient(135deg, #4338CA, #3730A3);
    border-color: #4338CA;
    box-shadow: 0 3px 12px rgba(37,99,235,0.45);
}
.navbar.navbar-oakland .btn-primary {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.navbar.navbar-oakland .btn-primary:hover {
    background: #f0f0f0;
    color: var(--primary-dark);
}
.navbar.navbar-oakland .notification-badge {
    background: #ef4444;
}
.navbar.navbar-oakland .navbar-toggler {
    border-color: rgba(255,255,255,0.7);
}
.navbar.navbar-oakland .navbar-toggler-icon {
    filter: invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
/* Scrolled state — solid white */
.navbar.navbar-oakland.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
}
.navbar.navbar-oakland.scrolled .navbar-brand {
    color: var(--dark) !important;
    text-shadow: none;
}
.navbar.navbar-oakland.scrolled .navbar-brand img {
    filter: none;
}
.navbar.navbar-oakland.scrolled .navbar-brand .brand-icon {
    background: var(--primary);
}
.navbar.navbar-oakland.scrolled .nav-link {
    color: #555 !important;
    text-shadow: none;
}
.navbar.navbar-oakland.scrolled .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(37,99,235,0.06);
}
.navbar.navbar-oakland.scrolled .btn-primary {
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: #fff;
    box-shadow: none;
}
.navbar.navbar-oakland.scrolled .btn-primary:hover {
    background: linear-gradient(135deg, #4338CA, #3730A3);
    color: #fff;
}
.navbar.navbar-oakland.scrolled .btn-add-property {
    background: linear-gradient(135deg, #1564E3, #4338CA);
    border: 1.5px solid #1564E3;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(37,99,235,0.35);
    transition: all 0.4s ease;
}
.navbar.navbar-oakland .nav-avatar {
    border: 2px solid #f97316;
    box-shadow: 0 2px 8px rgba(249,115,22,0.25);
}
.navbar.navbar-oakland.scrolled .navbar-toggler {
    border-color: rgba(0,0,0,0.2);
}
.navbar.navbar-oakland.scrolled .navbar-toggler-icon {
    filter: none;
}
/* Dropdown hover on desktop */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropdownFadeIn 0.2s ease;
    }
    .navbar .nav-item.dropdown:hover > .dropdown-menu.dropdown-menu-end {
        right: 0;
        left: auto;
    }
    .navbar .nav-item.dropdown > .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
    .navbar .nav-item.dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn-primary {
    background: linear-gradient(135deg, #1564E3, #4338CA);
    border-color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338CA, #3730A3);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero-section {
    background: url("../images/hero-bg.9ac43d52c33c.webp") center center / cover no-repeat;
    color: #fff;
    padding: 9rem 0 5rem;
    position: relative;
    overflow: visible;
    z-index: 10;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.35);
    z-index: 0;
}
.hero-section > * { position: relative; z-index: 1; }
/* Soft modern gradient background with subtle shapes */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
/* Cursor blink animation */
@keyframes blink-cursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}
.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
    font-style: normal;
}
.hero-section h1 .hero-accent {
    color: #fff;
    font-style: italic;
}
.hero-section .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-align: center;
}

/* Search wrapper - MyHome3 style overlapping */
.hero-search-wrapper {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Hero Search Tabs (All / For Rent / For Sale) - MyHome3 style */
.hero-search-tabs {
    display: flex;
    gap: 6px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.hero-search-tab {
    width: 120px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(107, 114, 128);
    background: rgb(229, 231, 235);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px 12px 0 0;
}

.hero-search-tab:hover {
    color: rgb(55, 65, 81);
    background: rgb(240, 240, 242);
}

.hero-search-tab.active {
    color: rgb(17, 24, 39);
    background: rgb(255, 255, 255);
    font-weight: 700;
}

/* Trust badges - V4 mockup style */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 1.8rem;
    align-items: center;
}

/* Right collage - removed for V5 centered layout */

.hero-search {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.hero-search .form-control {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
}

.hero-search .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== Property Card — V6 Redesign (May 2026) ===== */
.property-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(21,100,227,0.12);
    text-decoration: none;
    color: inherit;
}

/* Card Image Container */
.property-card .card-image {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}
.property-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.property-card:hover .card-image img {
    transform: scale(1.04);
}

/* Top-left badges container */

/* Listing badge (Boosted / Featured / For Rent / For Sale) */

/* Verified badge (on image, next to listing badge) */

/* Save/Heart button — always visible */
/* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #ef4444;
    font-size: 15px;
    opacity: 0;
    transform: translateX(10px);
}
.property-card:hover .card-save-btn {
    opacity: 1;
    transform: translateX(0);
}
.property-card .card-save-btn.saved {
    opacity: 1;
    transform: translateX(0);
}
.property-card .card-save-btn:hover {
    background: #fff;
    transform: scale(1.1);
}
.property-card .card-save-btn.saved {
    background: #ef4444;
    color: #fff;
}

/* Property type badge — bottom-left of image */

/* Price pill — bottom-right of image (flush, primary blue) */
.property-card .card-price-amount {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.property-card .card-price-period {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}
.property-card .card-body {
    padding: 12px 18px 12px;
    flex: 1;
}
.property-card .card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.property-card .card-location {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}
.property-card .card-location i {
    color: #1564E3;
    font-size: 11px;
}
.property-card .card-location span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Features row */
.property-card .card-features-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    overflow: hidden;
}
.property-card .card-feature {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.property-card .card-feature i {
    font-size: 10px;
    color: #1a73e8;
}

/* Card Footer */
.property-card .card-footer {
    padding: 6px 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.property-card .footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.property-card .avatar-wrap {
    flex-shrink: 0;
}
.property-card .avatar-wrap .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}
.property-card .avatar-wrap .avatar-initials {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a73e8, #6366f1);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.property-card .owner-info {
    display: flex;
    flex-direction: column;
}
.property-card .owner-name {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}
.property-card .owner-role {
    font-size: 11px;
    color: #22c55e;
    font-weight: 500;
    line-height: 1.2;
}
.property-card .footer-right {
    display: flex;
    align-items: center;
}
.property-card .time-ago {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}

/* ===== Property Card — Mobile Responsive ===== */
@media (max-width: 767px) {
    .property-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    }
    .property-card .card-image {
        height: 160px;
    }
    /* Smaller heart button on mobile */
    .property-card .card-save-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .property-card .card-price-amount {
        font-size: 12px;
    }
    .property-card .card-price-period {
        font-size: 9px;
    }
    .property-card .card-body {
        padding: 10px 12px 8px;
    }
    .property-card .card-title {
        font-size: 13px;
    }
    .property-card .card-location {
        font-size: 11px;
    }
    .property-card .card-features-row {
        gap: 6px;
    }
    .property-card .card-feature {
        font-size: 9px;
    }
    .property-card .card-footer {
        padding: 8px 12px;
    }
    .property-card .card-footer .avatar,
    .property-card .card-footer .avatar-initials {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    .property-card .card-footer .owner-name {
        font-size: 10px;
    }
    .property-card .card-footer .owner-role {
        font-size: 9px;
    }
    .property-card .card-footer .time-ago {
        font-size: 9px;
    }

}

/* ===== Section Styles ===== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.6px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== Filter Sidebar — V5 Redesign ===== */
.filter-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 90px;
    overflow: hidden;
}
.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.filter-sidebar-header h5 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
    margin: 0;
}
.filter-sidebar-header h5 i {
    color: #2563eb;
    font-size: 0.95rem;
}
.filter-reset-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.filter-reset-btn:hover {
    color: #ef4444;
}
.filter-reset-btn i {
    font-size: 0.7rem;
}
.filter-close-btn {
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    margin-left: 12px;
}
.filter-body {
    padding: 16px 20px 20px;
}
.filter-section {
    margin-bottom: 20px;
    position: relative;
}
.filter-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #111;
    margin-bottom: 8px;
}
.filter-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.filter-label-row .filter-label {
    margin-bottom: 0;
}
.filter-range-hint {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}
/* Location search input with icon */
.filter-input-icon {
    position: relative;
}
.filter-input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.85rem;
}
.filter-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #111;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}
.filter-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.filter-input::placeholder {
    color: #9ca3af;
}
/* Select wrapper with icon */
.filter-select-wrap {
    position: relative;
}
.filter-select-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.85rem;
    z-index: 1;
    pointer-events: none;
}
.filter-select-wrap select,
.filter-select-wrap .form-control {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #111;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s;
    outline: none;
}
.filter-select-wrap select:focus,
.filter-select-wrap .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
/* Rent range slider */
.rent-range-slider {
    position: relative;
    height: 36px;
    margin-bottom: 8px;
}
.rent-range-slider .range-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 14px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}
.rent-range-slider .range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}
.rent-range-slider .range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}
.rent-range-slider .slider-track {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    z-index: 1;
}
.rent-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rent-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    background: #fff;
}
.rent-input-wrap span {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 4px;
}
.rent-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    color: #111;
    background: transparent;
}
.rent-input::placeholder {
    color: #9ca3af;
}
.rent-dash {
    color: #9ca3af;
    font-weight: 600;
}
/* Checkbox list */
.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #374151;
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
}
.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    position: relative;
}
.filter-checkbox input[type="checkbox"]:checked {
    background: #2563eb;
    border-color: #2563eb;
}
.filter-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.filter-checkbox .checkmark {
    display: none;
}
.filter-amenities-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}
/* Filter Chip Row (horizontal inline chips) */
.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}
.filter-chip input[type="checkbox"] {
    display: none;
}
.filter-chip span {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.filter-chip:hover span {
    background: #e2e8f0;
    border-color: #cbd5e1;
}
.filter-chip input[type="checkbox"]:checked + span {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
/* Apply Filters button */
.filter-apply-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.filter-apply-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* ===== Properties Page Header — V5 ===== */
.properties-sticky-header {
    padding: 0 0 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.props-header-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.props-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    letter-spacing: -0.5px;
}
.props-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Near Me button — green pill */
.near-me-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: none;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.near-me-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}
.near-me-btn.active {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}
.near-me-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.near-me-btn i {
    font-size: 0.8rem;
}
/* Filter toggle button (mobile) */
.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-toggle-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.filter-toggle-btn i {
    font-size: 0.85rem;
}
/* Results count + view toggle row */
.props-header-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.props-count {
    font-size: 0.88rem;
    color: #64748b;
}
.view-toggle-btns {
    display: flex;
    gap: 4px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 3px;
    border: 1px solid #e5e7eb;
}
.view-toggle-btn {
    padding: 7px 12px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.view-toggle-btn.active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}
.view-toggle-btn:hover:not(.active) {
    color: #374151;
    background: #f0f0f0;
}

/* ===== Dashboard ===== */
.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem;
    position: sticky;
    top: 90px;
}

.dashboard-sidebar .nav-link {
    padding: 0.55rem 0.9rem;
    margin-bottom: 0.2rem;
    border-radius: var(--radius-sm);
    color: var(--dark) !important;
    font-weight: 500;
    font-size: 0.88rem;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--primary-bg);
    color: var(--primary) !important;
}

.dashboard-sidebar .nav-link i {
    width: 24px;
    margin-right: 8px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.stat-card .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.stat-card .stat-label {
    color: var(--gray);
    font-size: 0.78rem;
}

/* ===== Pricing Cards ===== */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: visible;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    margin-top: 15px;
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-card .plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 1rem 0;
}

.pricing-card .plan-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-card .plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
}

.pricing-card .plan-features li i {
    color: var(--success);
    margin-right: 8px;
}

.pricing-card .plan-features li.disabled {
    color: var(--gray);
    text-decoration: line-through;
}

.pricing-card .plan-features li.disabled i {
    color: var(--gray);
}

/* ===== Property Detail ===== */
.property-detail-header {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.property-gallery {
    position: relative;
}

.property-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.phone-mask {
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--dark);
}

.unlock-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.unlock-btn:hover {
    background: var(--primary-dark);
}

/* ===== Forms ===== */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-container {
    max-width: 480px;
    margin: 3rem auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.auth-container h2 {
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-container .auth-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 2px solid var(--gray-light);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.social-login-btn:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.social-login-btn.google {
    border-color: #ea4335;
}

.social-login-btn.google:hover {
    background: #fce8e6;
}

.social-login-btn.facebook {
    border-color: #1877f2;
}

.social-login-btn.facebook:hover {
    background: #e7f3ff;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--gray);
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-light);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
}

.footer .text-muted {
    color: rgba(255,255,255,0.6) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Alerts ===== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
}

/* ===== Modal ===== */
.modal-content {
    border-radius: var(--radius);
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--gray-light);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== List View Mode (Desktop) ===== */
.list-view .property-card-wrapper {
    margin-bottom: 0;
}
.list-view .property-card {
    display: flex;
    flex-direction: row;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}
.list-view .property-card .card-image {
    width: 300px;
    min-width: 300px;
    height: 160px;
    max-height: 160px;
    border-radius: 12px 0 0 12px;
}
.list-view .property-card .card-image::after {
    display: none;
}
.list-view .property-card .card-body {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
}
.list-view .property-card .price-row {
    margin-bottom: 0;
}
.list-view .property-card .property-price {
    font-size: 1.2rem;
}
.list-view .property-card .title-owner-row {
    display: block;
    margin-bottom: 0;
}
.list-view .property-card .property-title {
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-view .property-card .mobile-owner {
    display: none;
}
.list-view .property-card .address-time-row {
    margin-bottom: 0;
}
.list-view .property-card .property-location {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-view .property-card .mobile-time-ago {
    display: none;
}
.list-view .property-card .property-features {
    font-size: 0.8rem;
    gap: 12px;
    padding: 0;
    margin-top: 6px;
    border-top: none;
    flex-wrap: wrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.list-view .property-card .card-footer-v4 {
    display: none;
}
.list-view .property-card .posted-by-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
    border-top: 1px solid #f3f4f6;
}
.list-view .property-card .posted-by-avatar,
.list-view .property-card .posted-by-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.list-view .property-card .posted-by-name {
    font-size: 0.75rem;
}
.list-view .property-card .posted-by-type {
    font-size: 0.65rem;
    font-weight: 600;
    color: #1564e3;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.list-view .property-card .posted-by-time {
    font-size: 0.7rem;
    margin-left: auto;
}
.list-view .property-card .listing-type-badge {
    border-radius: 0 0 8px 0;
}
.list-view .property-card .carousel-dots {
    display: none;
}

/* ===== List View — V6 New Card Structure ===== */
/* In list view, card uses CSS grid: image left, body+footer right */
.list-view .property-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    grid-template-rows: auto auto;
    border-radius: 16px;
    height: auto;
}
.list-view .property-card .card-image {
    width: 100%;
    min-width: unset;
    height: 100%;
    max-height: 180px;
    border-radius: 16px 0 0 16px;
    grid-row: 1 / -1;
}
.list-view .property-card .card-image-bottom {
    padding: 40px 12px 10px;
}
.list-view .property-card .image-price {
    font-size: 1.2rem;
}
.list-view .property-card .price-period {
    font-size: 0.85rem;
}
.list-view .property-card .card-body {
    padding: 8px 20px 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1px;
    align-items: flex-start;
    grid-column: 2;
    grid-row: 1;
}
.list-view .property-card .card-type-row {
    margin-bottom: 2px;
}
.list-view .property-card .property-type-tag {
    font-size: 11px;
    padding: 3px 10px;
}
.list-view .property-card .verified-badge {
    font-size: 11px;
}
.list-view .property-card .card-title {
    font-size: 1.15rem;
}
.list-view .property-card .card-location {
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.list-view .property-card .card-features-inline {
    gap: 8px;
    padding: 2px 0;
    margin-bottom: 0;
}
.list-view .property-card .card-features-inline .feature-item {
    font-size: 12px;
}
.list-view .property-card .card-features-inline .feature-item i {
    font-size: 12px;
}
.list-view .property-card .card-footer {
    grid-column: 2;
    grid-row: 2;
    padding: 10px 20px 14px;
    border-top: 1px solid #f1f5f9;
}
.list-view .property-card .card-quick-actions {
    transform: translateX(0);
    opacity: 1;
}
.list-view .property-card .card-badges .listing-type-badge {
    font-size: 10px;
    padding: 4px 10px;
}
.list-view .property-card .featured-badge {
    font-size: 10px;
    padding: 4px 10px;
}
/* List view — new V6 card badges and save button */
/* List view — Save/Heart button — slide in on hover */
.list-view .property-card .card-save-btn {
    top: 10px;



    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    /* Fix navbar collapse — reset desktop centering */
    .navbar .navbar-nav {
        position: static !important;
        transform: none !important;
        left: auto !important;
    }

    /* Side drawer navbar on mobile */
    .navbar .navbar-collapse {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -6px 0 30px rgba(0,0,0,0.2);
        z-index: 1050;
        padding: 0;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        flex-direction: column;
    }
    .navbar .navbar-collapse.show {
        right: 0;
    }
    /* Overlay behind drawer */
    .navbar-drawer-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1049;
    }
    .navbar-drawer-overlay.show {
        display: block;
    }
    /* Drawer close button */
    .drawer-close-btn {
        align-self: flex-end;
        background: none;
        border: none;
        font-size: 1.6rem;
        color: #374151;
        padding: 12px 16px;
        cursor: pointer;
    }
    .drawer-close-btn:hover {
        color: #111;
    }
    /* Nav links in drawer */
    .navbar .navbar-collapse .navbar-nav {
        padding: 0 20px;
    }
    .navbar .navbar-collapse .nav-link {
        padding: 14px 0 !important;
        font-size: 1rem;
        font-weight: 500;
        color: #1f2937;
        border-bottom: 1px solid #f3f4f6;
    }
    .navbar .navbar-collapse .nav-link:last-child {
        border-bottom: none;
    }
    .navbar .navbar-collapse .nav-link:hover {
        color: var(--primary);
    }
    /* Drawer buttons */
    .navbar .navbar-collapse .btn-add-property {
        margin: 16px 20px 8px;
        width: calc(100% - 40px);
        justify-content: center;
        border-radius: 10px;
        padding: 12px 16px;
    }
    .navbar .navbar-collapse .btn-login {
        margin: 8px 20px 16px;
        width: calc(100% - 40px);
        text-align: center;
        border-radius: 10px;
        padding: 12px 16px;
    }

    /* Dropdown menu inside drawer — show inline instead of absolute */
    .navbar .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none;
        border: none;
        box-shadow: none;
        background: #f9fafb;
        border-radius: 8px;
        margin: 4px 0 8px;
        padding: 4px 0;
    }
    .navbar .navbar-collapse .dropdown-menu .dropdown-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    /* Prevent horizontal overflow from any element */
    .navbar .navbar-collapse .navbar-nav {
        width: 100%;
        overflow-x: hidden;
    }

    .hero-section .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-search-wrapper {
        max-width: 100%;
    }

    .hero-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 9rem 0 5rem;
        min-height: 450px;
    }

    .hero-section .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-trust-badges {
        gap: 8px;
    }

    .hero-search-tab {
        width: 100px;
        height: 40px;
        font-size: 13px;
    }

    /* V4 Property Card — Mobile: default is vertical card (image top, text below) in 2-col grid */
    .property-card {
        display: flex;
        flex-direction: column;
        border-radius: 10px;
    }
    .property-card .card-image {
        width: 100%;
        min-width: unset;
        height: 140px;
        min-height: 140px;
        border-radius: 10px 10px 0 0;
    }
    .property-card .card-image::after { display: none; }
    .property-card .listing-type-badge { padding: 3px 8px; font-size: 8px; border-radius: 0 0 6px 0; }
    .property-card .property-type-tag { font-size: 9px; padding: 2px 6px; }
    .property-card .carousel-dots { display: none; }
    .property-card .photo-count { bottom: 6px; right: 6px; padding: 2px 6px; font-size: 10px; }
    .property-card .photo-count i { font-size: 8px; }
    /* fav-btn now inside .card-quick-actions, no standalone override needed */

    .property-card .card-body {
        padding: 8px 10px 6px;
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Price row — compact */
    .property-card .price-row { margin-bottom: 1px; }
    .property-card .property-price { font-size: 13px; }
    .property-card .property-price .period { font-size: 9px; }

    /* Title row */
    .property-card .title-owner-row {
        display: block;
        margin-bottom: 2px;
    }
    .property-card .property-title {
        font-size: 11px;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .property-card .mobile-owner {
        display: none;
    }

    /* Address row */
    .property-card .address-time-row {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 4px;
    }
    .property-card .address-time-row .property-location {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .property-card .property-location { font-size: 10px; }
    .property-card .property-location i { font-size: 8px; }
    .property-card .mobile-time-ago {
        display: none;
    }

    /* Beds/Baths/Furnished */
    .property-card .property-features {
        display: flex;
        align-items: center;
        font-size: 9px;
        gap: 5px;
        padding: 3px 0;
        margin-bottom: 2px;
        flex-wrap: wrap;
        overflow: hidden;
        border-top: none;
        min-height: 18px;
    }
    .property-card .property-features span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1.4;
        height: 16px;
    }
    .property-card .property-features span i {
        font-size: 8px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 9px;
        height: 9px;
    }

    /* Hide desktop footer on mobile — replaced by posted-by row */
    .property-card .card-footer-v4 {
        display: none;
    }

    /* Posted-by row on mobile — hide in 2-col grid for compactness */
    .property-card .posted-by-row {
        display: none;
    }
    .property-card .posted-by-avatar {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 1.5px solid #e5e7eb;
    }
    .property-card .posted-by-avatar-placeholder {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        flex-shrink: 0;
        background: #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: 700;
        color: #6b7280;
        border: 1.5px solid #e5e7eb;
    }
    .property-card .posted-by-name {
        font-size: 10px;
        font-weight: 600;
        color: #374151;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 0 1 auto;
        min-width: 0;
        max-width: 45%;
        order: 1;
    }
    .property-card .posted-by-type {
        order: 2;
        flex-shrink: 0;
    }
    .property-card .posted-by-time {
        font-size: 9px;
        color: #9ca3af;
        font-weight: 500;
        white-space: nowrap;
        flex-shrink: 0;
        margin-left: auto;
        order: 3;
    }
    .property-card .posted-by-avatar,
    .property-card .posted-by-avatar-placeholder {
        order: 0;
    }

    /* V5 New Card — Mobile overrides */
    .property-card .card-badges {
        top: 6px;
        left: 6px;
        gap: 4px;
    }
    .property-card .card-badges .listing-type-badge {
        padding: 3px 8px;
        font-size: 8px;
        border-radius: 4px;
    }
    .property-card .featured-badge {
        padding: 3px 7px;
        font-size: 8px;
        border-radius: 4px;
    }
    .property-card .featured-badge i {
        font-size: 7px;
    }
    .property-card .card-image-bottom {
        padding: 30px 8px 6px;
    }
    .property-card .image-price {
        font-size: 0.9rem;
    }
    .property-card .image-price .period {
        font-size: 0.65rem;
    }
    /* V6 card body mobile overrides */
    .property-card .card-quick-actions {
        transform: translateX(0);
        opacity: 1;
    }
    .property-card .quick-action-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .property-card .card-type-row {
        margin-bottom: 4px;
    }
    .property-card .property-type-tag {
        font-size: 9px;
        padding: 2px 6px;
    }
    .property-card .verified-badge {
        font-size: 9px;
    }
    .property-card .card-title {
        font-size: 0.82rem;
    }
    .property-card .card-location {
        font-size: 0.68rem;
        margin-bottom: 8px;
    }
    .property-card .card-location i {
        font-size: 0.58rem;
    }
    .property-card .card-features-inline {
        gap: 4px;
        padding: 2px 0;
        margin-bottom: 2px;
        flex-wrap: wrap;
        overflow: hidden;
        white-space: nowrap;
    }
    .property-card .card-features-inline .feature-item {
        font-size: 10px;
    }
    .property-card .card-features-inline .feature-item i {
        font-size: 9px;
    }
    /* V6 card footer mobile */
    .property-card .card-footer {
        padding: 8px 12px;
    }
    .property-card .avatar-wrap .avatar,
    .property-card .avatar-wrap .avatar-initials {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
    .property-card .online-dot {
        width: 8px;
        height: 8px;
    }
    .property-card .owner-name {
    display: none;
        font-size: 10px;
    }
    .property-card .owner-role {
        font-size: 9px;
    }
    .property-card .chat-btn {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .property-card .time-ago {
        font-size: 9px;
    }

    .stat-card .stat-value {
        font-size: 1.4rem;
    }

    .pricing-card .plan-price {
        font-size: 2rem;
    }

    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    /* V6 Filter sidebar as bottom sheet drawer on mobile */
    .col-lg-3.mb-4:has(.filter-sidebar) {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 85vh;
        z-index: 9999;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
        overflow: hidden;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
        background: #fff;
    }
    .col-lg-3.mb-4:has(.filter-sidebar).filter-drawer-open {
        transform: translateY(0);
    }
    .filter-sidebar {
        position: static;
        margin-bottom: 0;
        padding: 0;
        background: #fff;
        box-shadow: none;
        border-radius: 0;
        border: none;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .filter-sidebar::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 4px;
        margin: 10px auto 6px;
    }
    .filter-sidebar-header {
        padding: 10px 20px 14px;
        border-bottom: 1px solid #e5e7eb;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }
    .filter-sidebar-header .filter-reset-btn {
        display: inline-flex;
    }
    .filter-body {
        padding: 16px 20px 100px;
    }
    .filter-close-btn {
        font-size: 1.5rem;
        cursor: pointer;
        color: #6b7280;
        line-height: 1;
    }
    /* Overlay when filter drawer is open */
    .filter-drawer-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 9998;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    .filter-drawer-overlay.show {
        display: block;
    }
    /* Apply Filters button fixed at bottom of sheet */
    .filter-apply-btn-mobile {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 14px 20px;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        z-index: 3;
    }
    .filter-apply-btn-mobile button {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
    }
    /* Mobile header adjustments */
    .props-title {
        font-size: 1.3rem;
    }
    .near-me-btn {
        padding: 6px 18px;
        font-size: 0.82rem;
    }
    .filter-toggle-btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    /* List view on mobile — horizontal card layout with CSS grid */
    .list-view .property-card-wrapper {
        max-width: 100%;
    }
    .list-view .property-card {
        grid-template-columns: 160px 1fr;
    }
    .list-view .property-card .card-image {
        height: 100%;
        min-height: 140px;
        border-radius: 10px 0 0 10px;
    }
    .list-view .property-card .card-body {
        padding: 8px 10px 4px;
        gap: 2px;
    }
    .list-view .property-card .card-type-row {
        margin-bottom: 2px;
    }
    .list-view .property-card .property-type-tag {
        font-size: 8px;
        padding: 1px 5px;
    }
    .list-view .property-card .verified-badge {
        font-size: 8px;
    }
    .list-view .property-card .card-title {
        font-size: 0.75rem;
    }
    .list-view .property-card .card-location {
        font-size: 0.62rem;
        margin-bottom: 4px;
    }
    .list-view .property-card .card-features-inline {
        gap: 6px;
        padding: 2px 0;
        margin-bottom: 0;
    }
    .list-view .property-card .card-features-inline .feature-item {
        font-size: 10px;
    }
    .list-view .property-card .card-features-inline .feature-item i {
        font-size: 9px;
    }
    .list-view .property-card .card-footer {
        padding: 4px 10px 8px;
    }
    .list-view .property-card .avatar-wrap .avatar,
    .list-view .property-card .avatar-wrap .avatar-initials {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    .list-view .property-card .online-dot {
        width: 6px;
        height: 6px;
    }
    .list-view .property-card .owner-name {
    display: none;
        font-size: 9px;
    }
    .list-view .property-card .owner-role {
        font-size: 8px;
    }
    .list-view .property-card .chat-btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .list-view .property-card .time-ago {
        font-size: 8px;
    }
    .list-view .property-card .card-image-bottom {
        padding: 20px 6px 4px;
    }
    .list-view .property-card .image-price {
        font-size: 0.8rem;
    }
    .list-view .property-card .card-badges {
        top: 4px;
        left: 4px;
        gap: 3px;
    }
    .list-view .property-card .card-badges .listing-type-badge {
        padding: 2px 5px;
        font-size: 7px;
    }
    .list-view .property-card .featured-badge {
        padding: 2px 5px;
        font-size: 7px;
    }
    .list-view .property-card .card-quick-actions {
        top: 4px;
        right: 4px;
    }
    .list-view .property-card .quick-action-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    /* New V6 card badges in list view mobile */
    .list-view /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    .list-view .property-card .card-price-amount {
        font-size: 11px;
    }
    .list-view .property-card .card-price-period {
        font-size: 8px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 6rem 0 3rem;
        min-height: 400px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section .hero-subtitle {
        font-size: 0.92rem;
    }
    .hero-trust-badges .badge-pill {
        font-size: 0.78rem;
        padding: 6px 12px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* ===== Skeleton Loading ===== */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eef1f5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.skeleton-card .skeleton-image {
    height: 210px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}
.skeleton-card .skeleton-body {
    padding: 14px 16px;
}
.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    margin-bottom: 10px;
}
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.h-20 { height: 20px; }
.skeleton-line.h-16 { height: 16px; }
.skeleton-footer {
    padding: 10px 16px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    flex-shrink: 0;
}

/* ===== Better Empty State ===== */
.empty-state-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 420px;
    margin: 0 auto;
}
.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.empty-state-icon i {
    font-size: 2rem;
    color: var(--primary);
}
.empty-state-container h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.empty-state-container p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.empty-state-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}
.empty-state-suggestions .suggestion-chip {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}
.empty-state-suggestions .suggestion-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== WhatsApp Share Button ===== */
.pd-action-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.pd-action-whatsapp:hover {
    background: #1da851 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}
.pd-action-whatsapp i {
    font-size: 1rem;
}
.pd-btn-whatsapp-sidebar {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 8px;
}
.pd-btn-whatsapp-sidebar:hover {
    background: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}

/* ===== Notification Badge ===== */
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #EF4444;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(239,68,68,0.3);
}

/* ===== Furnishing Options ===== */
.furnishing-options {
    display: none;
    background: var(--primary-bg);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.furnishing-options.show {
    display: block;
}

/* ===== Loading Spinner ===== */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    color: var(--primary);
}

/* ===== Table Styles ===== */
.table-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-container .table {
    margin-bottom: 0;
    min-width: 700px;
}

.table-container .table th {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 700;
    border: none;
    padding: 1rem;
}

.table-container .table td {
    padding: 0.8rem 1rem;
    vertical-align: middle;
}

/* ===== Status Badges ===== */
.badge-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-approved { background: #d4edda; color: #155724; }
.badge-rejected { background: #f8d7da; color: #721c24; }
.badge-active { background: #d4edda; color: #155724; }
.badge-expired { background: #f8d7da; color: #721c24; }

/* ===== Image Normalization ===== */
/* Ensures all property images display at consistent dimensions regardless of upload size */
.property-img-normalized {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

/* Legacy card-img-top override removed — v4 uses .card-image */

.property-gallery .carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

/* ===== Content Protection ===== */
/* Prevent text selection across the website */
body.content-protected {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection in form inputs and textareas */
body.content-protected input,
body.content-protected textarea,
body.content-protected select,
body.content-protected [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent image dragging */
body.content-protected img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for carousel controls and interactive images */
body.content-protected .carousel-control-prev,
body.content-protected .carousel-control-next,
body.content-protected .carousel-indicators,
body.content-protected a img,
body.content-protected .carousel-item img {
    pointer-events: auto;
}

/* Transparent overlay to prevent right-click save on images */
.img-protect-wrapper {
    position: relative;
    overflow: hidden;
}

.img-protect-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* ===== Login / Sign Up Auth Button ===== */
.btn-auth-nav {
    background: transparent;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 7px 18px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.btn-auth-nav:hover {
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-auth-nav:active {
    transform: translateY(0);
}

.btn-auth-nav i {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .btn-auth-nav {
        margin: 8px 0;
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }
}

/* ===== Add Property CTA Button ===== */
.btn-add-property {
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(59,93,231,0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-add-property:hover {
    background: linear-gradient(135deg, #4338CA, #3730A3);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,93,231,0.4);
    text-decoration: none;
}

.btn-add-property:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59,93,231,0.2);
}

.btn-add-property i {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .btn-add-property {
        margin: 8px 0;
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
        border-radius: 10px;
    }
}

/* ===== Login Button ===== */
.btn-login {
    background: transparent;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: 1.5px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-login:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    text-decoration: none;
}
.btn-login:active {
    transform: translateY(0);
}
/* Login button on transparent Oakland navbar */
.navbar.navbar-oakland .btn-login {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,0.7);
}
.navbar.navbar-oakland .btn-login:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff !important;
}
/* Login button on scrolled Oakland navbar */
.navbar.navbar-oakland.scrolled .btn-login {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}
.navbar.navbar-oakland.scrolled .btn-login:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}
@media (max-width: 991px) {
    .btn-login {
        margin: 8px 0;
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
        border-radius: 10px;
    }
}

/* ===== OAKLAND-STYLE HOMEPAGE SECTIONS ===== */

/* Section Common */
.oak-section { padding: 64px 0; }
.oak-section + .oak-section:not(.gray):not(.dark) { padding-top: 48px; }
.oak-section.gray { background: #f9fafb; }
.oak-section.dark { background: #f9fafb; color: #333; }
.oak-section.dark h2, .oak-section.dark h3, .oak-section.dark h4, .oak-section.dark h5 { color: #222; }
.oak-section-label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.oak-label-pill { background: #eff6ff; padding: 6px 16px; border-radius: 20px; font-size: 11px; }
.oak-label-line { padding-left: 20px; position: relative; }
.oak-label-line::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 12px; height: 3px; background: var(--primary); border-radius: 2px; }
.oak-section.dark .oak-section-label { color: var(--primary); }
.oak-section-title { font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 700; margin-bottom: 12px; line-height: 1.15; color: #222; letter-spacing: -0.6px; }
.oak-section-subtitle { font-size: 16px; color: #777; max-width: 600px; font-weight: 300; line-height: 1.7; }
.oak-section-header { text-align: center; margin-bottom: 44px; }
.oak-section-header .oak-section-subtitle { margin: 0 auto; }

/* Listings Header (left-aligned) */
.oak-listings-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.oak-listings-header .oak-section-subtitle { margin-top: 8px; }

/* Load More Button */
.oak-load-more-btn { display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif; }
.oak-load-more-btn:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* Recently Listed Properties Grid */
.oak-property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }

/* Services Grid */
.oak-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.oak-service-item { display: flex; gap: 20px; padding: 28px; border-radius: 12px; transition: all .3s ease; background: #fff; border: 1px solid #eef0f3; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.oak-service-item:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); border-color: var(--primary); }
.oak-service-icon { width: 64px; height: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 28px; }
.oak-service-icon.blue,
.oak-service-icon.green,
.oak-service-icon.amber,
.oak-service-icon.purple,
.oak-service-icon.rose,
.oak-service-icon.teal { background: #eff6ff; color: var(--primary); }
.oak-service-item h5 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: #222; margin-bottom: 6px; }
.oak-service-item p { font-size: 13.5px; color: #777; line-height: 1.6; margin: 0; }

/* Neighborhoods Grid (Oakland Masonry) */
.oak-neighborhoods-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 220px 220px; gap: 12px; }
.oak-neighborhood-card { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; }
.oak-neighborhood-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.oak-neighborhood-card:hover img { transform: scale(1.08); }
.oak-neighborhood-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.05) 60%); }
.oak-neighborhood-card .info { position: absolute; bottom: 16px; left: 16px; z-index: 2; }
.oak-neighborhood-card .info h4 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.oak-neighborhood-card .info .badge { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
/* Masonry spans */
.oak-neighborhood-card:nth-child(1) { grid-row: span 2; }
.oak-neighborhood-card:nth-child(5) { grid-column: span 2; }

/* About Section (Oakland Split) */
.oak-about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 32px rgba(0,0,0,.08); }
.oak-about-text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.oak-about-text h2 { font-family: 'Playfair Display', serif; font-size: 34px; margin-bottom: 20px; }
.oak-about-text p { font-size: 14.5px; color: #666; line-height: 1.8; margin-bottom: 16px; }
.oak-about-text .read-more { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.oak-about-cta { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; background: var(--primary); color: #fff; }
.oak-about-cta h3 { font-family: 'Playfair Display', serif; font-size: 36px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; line-height: 1.2; color: #fff; }
.oak-about-cta p { font-size: 14.5px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 28px; }
.oak-about-cta .cta-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: all .2s; width: fit-content; text-decoration: none; }
.oak-about-cta .cta-btn:hover { background: #f0f7ff; transform: translateY(-1px); }

/* Categories Horizontal Scroll Strip */
.category-scroll-wrapper { position: relative; overflow: hidden; }
.category-scroll { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; -ms-overflow-style: none; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll-card { flex: 0 0 auto; width: 190px; height: 130px; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; text-decoration: none; }
.category-scroll-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.category-scroll-card img { width: 100%; height: 100%; object-fit: cover; }
.category-scroll-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%); }
.category-scroll-card .card-content { position: absolute; bottom: 12px; left: 14px; right: 14px; }
.category-scroll-card .card-title { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.category-scroll-card .card-count { font-size: 12px; color: rgba(255,255,255,0.8); }
.category-scroll-wrapper .scroll-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: #fff; border: 1px solid #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.08); z-index: 10; transition: background 0.2s; }
.category-scroll-wrapper .scroll-arrow:hover { background: #f3f4f6; }
.category-scroll-wrapper .scroll-arrow.left { left: -8px; }
.category-scroll-wrapper .scroll-arrow.right { right: -8px; }

/* Testimonials (Oakland) */
.oak-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.oak-testimonial-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 32px; transition: all .3s; box-shadow: 0 2px 12px rgba(0,0,0,0.05); position: relative; }
.oak-testimonial-card::before { content: '\201C'; position: absolute; top: 20px; right: 24px; font-size: 56px; font-family: 'Playfair Display', serif; color: var(--primary); opacity: 0.12; line-height: 1; }
.oak-testimonial-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.1); transform: translateY(-4px); border-color: var(--primary); }
.oak-testimonial-card .avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.oak-testimonial-card .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.oak-testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.oak-testimonial-card .t-name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: #222; }
.oak-testimonial-card .t-role { font-size: 13px; color: var(--primary); font-weight: 500; }
.oak-testimonial-card .quote { font-size: 14.5px; color: #555; line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.oak-testimonial-card .stars { display: flex; gap: 2px; color: #f59e0b; font-size: 16px; }

/* Agents (Oakland) */
.oak-agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.oak-agent-card { position: relative; border-radius: 12px; overflow: hidden; height: 380px; cursor: pointer; }
.oak-agent-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.oak-agent-card:hover img { transform: scale(1.05); }
.oak-agent-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 50%); }
.oak-agent-card .info { position: absolute; bottom: 20px; left: 20px; z-index: 2; }
.oak-agent-card .info h4 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.oak-agent-card .info p { font-size: 12.5px; color: rgba(255,255,255,.75); margin: 0; }

/* Oakland Scroll Animations */
@keyframes oakFadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.oak-animate { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.oak-animate.visible { opacity: 1; transform: translateY(0); }

/* ===== Oakland Sections Responsive ===== */
@media (max-width: 991px) {
    .oak-section-title { font-size: 30px; }
    .oak-services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .oak-neighborhoods-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .oak-neighborhood-card:nth-child(1) { grid-row: auto; }
    .oak-neighborhood-card:nth-child(5) { grid-column: auto; }
    .oak-neighborhood-card { height: 200px; }
    .oak-about-split { grid-template-columns: 1fr; }
    .oak-about-text { padding: 40px 32px; }
    .oak-about-cta { padding: 40px 32px; }
    .oak-about-cta h3 { font-size: 28px; }
    .category-scroll-card { width: 170px; height: 120px; }
    .oak-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .oak-agents-grid { grid-template-columns: repeat(2, 1fr); }
    .oak-agent-card { height: 300px; }
    .oak-property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .oak-section { padding: 48px 0; }
    .oak-section-title { font-size: 26px; }
    .oak-section-header { margin-bottom: 36px; }
    .oak-services-grid { grid-template-columns: 1fr; gap: 16px; }
    .oak-service-item { padding: 20px; }
    .oak-neighborhoods-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .oak-neighborhood-card { height: 160px; }
    .category-scroll-card { width: 160px; height: 110px; }
    .category-scroll-wrapper .scroll-arrow { display: none; }
    .oak-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .oak-testimonial-card { padding: 24px; }
    .oak-agents-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .oak-agent-card { height: 240px; }
    .oak-property-grid { grid-template-columns: 1fr; }
    .oak-load-more-btn { padding: 7px 14px; font-size: 11px; }
}
@media (max-width: 576px) {
    .oak-section { padding: 36px 0; }
    .oak-section-title { font-size: 22px; }
    .oak-neighborhoods-grid { grid-template-columns: 1fr; }
    .oak-neighborhood-card { height: 150px; }
    .oak-about-text { padding: 32px 24px; }
    .oak-about-cta { padding: 32px 24px; }
    .oak-about-cta h3 { font-size: 24px; }
}


/* ===== Recently Viewed Section ===== */
.recently-viewed-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.recently-viewed-scroll::-webkit-scrollbar { height: 4px; }
.recently-viewed-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.rv-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef1f5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.rv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.rv-card-img {
    width: 100%;
    height: 120px;
    overflow: hidden;
}
.rv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rv-card-body {
    padding: 10px 12px;
}
.rv-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.rv-card-meta {
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 4px;
}
.rv-card-meta i {
    font-size: 0.65rem;
    margin-right: 3px;
}
.rv-card-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 576px) {
    .rv-card { flex: 0 0 160px; }
    .rv-card-img { height: 100px; }
    .rv-card-body { padding: 8px 10px; }
    .rv-card-title { font-size: 0.75rem; }
}


/* ===== Save Search Button ===== */
.save-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #f59e0b;
    background: #fffbeb;
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.save-search-btn:hover {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
}
.save-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.save-search-btn i {
    font-size: 0.85rem;
}

/* Sponsored Section */
.sponsored-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8f4ff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(21, 100, 227, 0.1);
}
.sponsored-label {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========== Featured Property Card — Horizontal/Landscape (May 2026) ========== */
.featured-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 991px) {
    .featured-grid-horizontal {
        grid-template-columns: 1fr;
    }
}

.featured-card-horizontal {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    border: 1px solid #f0f0f0;
}
.featured-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(21,100,227,0.12);
    text-decoration: none;
    color: inherit;
}

.featured-card-img {
    position: relative;
    width: 42%;
    min-height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}
.featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.featured-card-horizontal:hover .featured-card-img img {
    transform: scale(1.04);
}

.featured-ribbon {
    position: absolute;
    top: 14px;
    left: -4px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 5px 14px 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.featured-ribbon i {
    margin-right: 3px;
}

.featured-save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: none;
    color: #666;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(10px);
}
.featured-card-horizontal:hover .featured-save-btn {
    opacity: 1;
    transform: translateX(0);
}
.featured-save-btn.saved {
    opacity: 1;
    transform: translateX(0);
}
.featured-save-btn:hover {
    background: #fff;
    color: #ef4444;
    transform: scale(1.1);
}
.featured-save-btn.saved {
    color: #ef4444;
}
.featured-save-btn.saved i {
    font-weight: 900;
}

.featured-card-content {
    padding: 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.featured-price {
    font-size: 22px;
    font-weight: 800;
    color: #1564E3;
    margin-bottom: 4px;
    line-height: 1.2;
}
.featured-price span {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

.featured-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.featured-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.featured-location i {
    color: #1564E3;
    font-size: 11px;
}

.featured-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.featured-feat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #444;
    background: #f5f7fc;
    padding: 5px 10px;
    border-radius: 7px;
    white-space: nowrap;
}
.featured-feat-item i {
    color: #1564E3;
    font-size: 11px;
}

.featured-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid #f0f2f5;
    margin-top: auto;
}

.featured-owner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.featured-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}
.featured-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-owner-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.featured-owner-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-owner-role {
    font-size: 11px;
    color: #999;
}
.featured-time-ago {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-view-btn {
    display: none !important;
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: white;
    padding: 7px 16px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.featured-card-horizontal:hover .featured-view-btn {
    opacity: 0.9;
    transform: translateX(2px);
}
.featured-view-btn i {
    margin-left: 4px;
    font-size: 10px;
}

/* Mobile: Stack vertically */
@media (max-width: 767px) {
    .featured-card-horizontal {
        flex-direction: column;
    }
    .featured-card-img {
        width: 100%;
        min-height: 180px;
        max-height: 200px;
    }
    .featured-card-content {
        padding: 14px 16px;
    }
    .featured-price {
        font-size: 20px;
    }
    .featured-title {
        font-size: 15px;
    }
    .featured-features {
        gap: 6px;
    }
    .featured-feat-item {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* Dark mode support */
[data-theme="dark"] .featured-card-horizontal,
.dark .featured-card-horizontal {
    background: #1e2022;
    border-color: #334155;
}
[data-theme="dark"] .featured-card-horizontal:hover,
.dark .featured-card-horizontal:hover {
    box-shadow: 0 12px 32px rgba(21,100,227,0.2);
}
[data-theme="dark"] .featured-title,
.dark .featured-title {
    color: #ECEDEE;
}
[data-theme="dark"] .featured-location,
.dark .featured-location {
    color: #9BA1A6;
}
[data-theme="dark"] .featured-feat-item,
.dark .featured-feat-item {
    background: #2a2d30;
    color: #ccc;
}
[data-theme="dark"] .featured-owner-name,
.dark .featured-owner-name {
    color: #ECEDEE;
}
[data-theme="dark"] .featured-card-footer,
.dark .featured-card-footer {
    border-top-color: #334155;
}
[data-theme="dark"] .featured-save-btn,
.dark .featured-save-btn {
    background: rgba(30,32,34,0.9);
    color: #9BA1A6;
}

/* ========== Enhanced List View — Horizontal Card (May 2026) ========== */
/* Overrides the existing .list-view styles with the new premium design */

/* Main card layout in list view */
.list-view .property-card {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}
.list-view .property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21,100,227,0.1);
}

/* Image section */
.list-view .property-card .card-image {
    width: 260px !important;
    min-width: 260px !important;
    height: auto !important;
    min-height: 160px !important;
    max-height: none !important;
    border-radius: 16px 0 0 16px !important;
    grid-row: unset !important;
    flex-shrink: 0;
}
.list-view .property-card .card-image img {
    transition: transform 0.3s ease;
}
.list-view .property-card:hover .card-image img {
    transform: scale(1.03);
}

/* Badges */

/* Save button */
.list-view /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Price pill */
.list-view .property-card .card-price-amount {
    font-size: 15px !important;
    font-weight: 700;
}
.list-view .property-card .card-price-period {
    font-size: 12px !important;
}

/* Body section */
.list-view .property-card .card-body {
    padding: 18px 22px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    grid-column: unset !important;
    grid-row: unset !important;
    flex: 1 1 0% !important;
    min-width: 0;
    width: calc(100% - 260px) !important;
}

/* Title */
.list-view .property-card .card-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Location */
.list-view .property-card .card-location {
    font-size: 13px !important;
    margin-bottom: 12px !important;
}
.list-view .property-card .card-location i {
    color: #1564E3;
}

/* Features — styled chips */
.list-view .property-card .card-features-row {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 14px;
    overflow: visible !important;
}
.list-view .property-card .card-feature {
    font-size: 12px !important;
    color: #444 !important;
    background: #f5f7fc;
    padding: 5px 11px;
    border-radius: 7px;
    gap: 5px !important;
}
.list-view .property-card .card-feature i {
    color: #1564E3 !important;
    font-size: 11px !important;
}

/* Footer */
.list-view .property-card .card-footer {
    padding: 6px 22px 10px !important;
    border-top: 1px solid #f0f2f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    grid-column: unset !important;
    grid-row: unset !important;
    margin-top: auto;
    width: calc(100% - 260px) !important;
    margin-left: auto !important;
}

/* Owner section in footer */
.list-view .property-card .footer-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.list-view .property-card .avatar-wrap .avatar,
.list-view .property-card .avatar-wrap .avatar-initials {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
}
.list-view .property-card .owner-name {
    display: none;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.list-view .property-card .owner-role {
    font-size: 11px !important;
}

/* Time ago in footer */
.list-view .property-card .footer-right .time-ago {
    font-size: 11px !important;
    color: #999;
}

/* View button — add via CSS pseudo-element */
.list-view .property-card .footer-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.list-view .property-card .footer-right::after {
    display: none !important;
    content: 'View →';
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: white;
    padding: 7px 16px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.list-view .property-card:hover .footer-right::after {
    opacity: 0.9;
}

/* ===== List View Enhanced — Mobile (max-width: 767px) ===== */
@media (max-width: 767px) {
    .list-view .property-card {
        flex-direction: column !important;
    }
    .list-view .property-card .card-image {
        width: 100% !important;
        min-width: unset !important;
        min-height: 180px !important;
        max-height: 200px !important;
        border-radius: 16px 16px 0 0 !important;
    }
    .list-view .property-card .card-body {
        padding: 14px 16px 6px !important;
        width: 100% !important;
    }
    .list-view .property-card .card-title {
        font-size: 15px !important;
    }
    .list-view .property-card .card-features-row {
        gap: 6px !important;
    }
    .list-view .property-card .card-feature {
        font-size: 11px !important;
        padding: 4px 8px;
    }
    .list-view .property-card .card-footer {
        padding: 10px 16px 14px !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    .list-view .property-card .footer-right::after {
        display: none;
    }
}

/* ===== List View Enhanced — Tablet (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .list-view .property-card .card-image {
        width: 220px !important;
        min-width: 220px !important;
    }
    .list-view .property-card .card-body {
        width: calc(100% - 220px) !important;
    }
    .list-view .property-card .card-footer {
        width: calc(100% - 220px) !important;
    }
    .list-view .property-card .card-title {
        font-size: 15px !important;
    }
    .list-view .property-card .card-body {
        padding: 14px 16px 6px !important;
        width: 100% !important;
    }
}

/* Dark mode */
[data-theme="dark"] .list-view .property-card,
.dark .list-view .property-card {
    border-color: #334155;
    box-shadow: 0 3px 16px rgba(0,0,0,0.2);
}
[data-theme="dark"] .list-view .property-card:hover,
.dark .list-view .property-card:hover {
    box-shadow: 0 8px 24px rgba(21,100,227,0.2);
}
[data-theme="dark"] .list-view .property-card .card-feature,
.dark .list-view .property-card .card-feature {
    background: #2a2d30;
    color: #ccc !important;
}
[data-theme="dark"] .list-view .property-card .card-footer,
.dark .list-view .property-card .card-footer {
    border-top-color: #334155 !important;
}

/* Sponsored section in list view — same horizontal card treatment */
.sponsored-section.list-view .property-card {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}
.sponsored-section.list-view .property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21,100,227,0.1);
}
.sponsored-section.list-view .property-card .card-image {
    width: 260px !important;
    min-width: 260px !important;
    height: auto !important;
    min-height: 160px !important;
    max-height: none !important;
    border-radius: 16px 0 0 16px !important;
    grid-row: unset !important;
    flex-shrink: 0;
}
.sponsored-section.list-view .property-card .card-image img {
    transition: transform 0.3s ease;
}
.sponsored-section.list-view .property-card:hover .card-image img {
    transform: scale(1.03);
}
.sponsored-section.list-view /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
}
.sponsored-section.list-view .property-card .card-price-amount {
    font-size: 15px !important;
    font-weight: 700;
}
.sponsored-section.list-view .property-card .card-price-period {
    font-size: 12px !important;
}
.sponsored-section.list-view .property-card .card-body {
    padding: 18px 22px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    grid-column: unset !important;
    grid-row: unset !important;
    flex: 1;
    min-width: 0;
}
.sponsored-section.list-view .property-card .card-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 4px;
}
.sponsored-section.list-view .property-card .card-location {
    font-size: 13px !important;
    margin-bottom: 12px !important;
}
.sponsored-section.list-view .property-card .card-features-row {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 14px;
    overflow: visible !important;
}
.sponsored-section.list-view .property-card .card-feature {
    font-size: 12px !important;
    color: #444 !important;
    background: #f5f7fc;
    padding: 5px 11px;
    border-radius: 7px;
    gap: 5px !important;
}
.sponsored-section.list-view .property-card .card-feature i {
    color: #1564E3 !important;
    font-size: 11px !important;
}
.sponsored-section.list-view .property-card .card-footer {
    padding: 6px 22px 10px !important;
    border-top: 1px solid #f0f2f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    grid-column: unset !important;
    grid-row: unset !important;
    margin-top: auto;
}
.sponsored-section.list-view .property-card .footer-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.sponsored-section.list-view .property-card .avatar-wrap .avatar,
.sponsored-section.list-view .property-card .avatar-wrap .avatar-initials {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
}
.sponsored-section.list-view .property-card .owner-name {
    display: none;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.sponsored-section.list-view .property-card .footer-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.sponsored-section.list-view .property-card .footer-right::after {
    content: 'View \2192';
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: white;
    padding: 7px 16px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Sponsored list view — Mobile */
@media (max-width: 767px) {
    .sponsored-section.list-view .property-card {
        flex-direction: column !important;
        max-width: 100% !important;
    }
    .sponsored-section.list-view .property-card .card-image {
        width: 100% !important;
        min-width: unset !important;
        min-height: 180px !important;
        max-height: 200px !important;
        border-radius: 16px 16px 0 0 !important;
    }
    .sponsored-section.list-view .property-card .card-body {
        padding: 14px 16px 6px !important;
    }
    .sponsored-section.list-view .property-card .card-title {
        font-size: 15px !important;
    }
    .sponsored-section.list-view .property-card .card-footer {
        padding: 10px 16px 14px !important;
    }
    .sponsored-section.list-view .property-card .footer-right::after {
        display: none;
    }
    .list-view .property-card {
        max-width: 100% !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .sponsored-section.list-view .property-card .card-image {
        width: 220px !important;
        min-width: 220px !important;
    }
}

/* Dark mode for sponsored list view */
[data-theme="dark"] .sponsored-section.list-view .property-card,
.dark .sponsored-section.list-view .property-card {
    border-color: #334155;
    box-shadow: 0 3px 16px rgba(0,0,0,0.2);
}
[data-theme="dark"] .sponsored-section.list-view .property-card .card-feature,
.dark .sponsored-section.list-view .property-card .card-feature {
    background: #2a2d30;
    color: #ccc !important;
}
[data-theme="dark"] .sponsored-section.list-view .property-card .card-footer,
.dark .sponsored-section.list-view .property-card .card-footer {
    border-top-color: #334155 !important;
}

/* ========== Visual Polish Fix — List View Cards (May 2026) ========== */

/* 1. Feature chips — more visible background + subtle border */
.list-view .property-card .card-feature {
    background: #eef2ff !important;
    border: 1px solid #dde4f0 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}
.sponsored-section.list-view .property-card .card-feature {
    background: #eef2ff !important;
    border: 1px solid #dde4f0 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

/* 2. Footer separator — more visible */
.list-view .property-card .card-footer {
    border-top: 1.5px solid #e2e8f0 !important;
}
.sponsored-section.list-view .property-card .card-footer {
    border-top: 1.5px solid #e2e8f0 !important;
}

/* 3. Title — allow more characters to show (remove white-space nowrap, use line-clamp instead) */
.list-view .property-card .card-title {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}
.sponsored-section.list-view .property-card .card-title {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* Dark mode adjustments for more visible chips */
[data-theme="dark"] .list-view .property-card .card-feature,
.dark .list-view .property-card .card-feature {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .sponsored-section.list-view .property-card .card-feature,
.dark .sponsored-section.list-view .property-card .card-feature {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .list-view .property-card .card-footer,
.dark .list-view .property-card .card-footer,
[data-theme="dark"] .sponsored-section.list-view .property-card .card-footer,
.dark .sponsored-section.list-view .property-card .card-footer {
    border-top-color: #475569 !important;
}

/* ========== Layout Fix — List View Cards (May 2026) ========== */
/* Fix: Card body and footer must stack vertically, not sit side-by-side */

/* Override the flex layout with CSS grid for proper body/footer stacking */
.list-view .property-card {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    grid-template-rows: 1fr auto !important;
    flex-direction: unset !important;
}
.list-view .property-card .card-image {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    width: 100% !important;
    min-width: unset !important;
    height: 100% !important;
    min-height: 160px !important;
    max-height: none !important;
}
.list-view .property-card .card-body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
}
.list-view .property-card .card-footer {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* Sponsored section — same fix */
.sponsored-section.list-view .property-card {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    grid-template-rows: auto auto !important;
    flex-direction: unset !important;
}

/* ===== List View — Max Width for Large Screens ===== */
@media (min-width: 1400px) {
    .list-view .property-card,
    .sponsored-section.list-view .property-card {
        max-width: 920px !important;
    }
}
.sponsored-section.list-view .property-card .card-image {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    width: 100% !important;
    min-width: unset !important;
    height: 100% !important;
    min-height: 160px !important;
    max-height: none !important;
}
.sponsored-section.list-view .property-card .card-body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
}
.sponsored-section.list-view .property-card .card-footer {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* Features row — ensure horizontal layout now that body has proper width */
.list-view .property-card .card-features-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
}
.sponsored-section.list-view .property-card .card-features-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

/* Mobile responsive — smaller image on small screens */
@media (max-width: 767px) {
    .list-view .property-card {
        grid-template-columns: 1fr !important;
        grid-template-rows: 200px auto auto !important;
    }
    .list-view .property-card .card-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        border-radius: 16px 16px 0 0 !important;
        min-height: 180px !important;
    }
    .list-view .property-card .card-body {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    .list-view .property-card .card-footer {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
    .sponsored-section.list-view .property-card {
        grid-template-columns: 1fr !important;
        grid-template-rows: 200px auto auto !important;
    }
    .sponsored-section.list-view .property-card .card-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        border-radius: 16px 16px 0 0 !important;
    }
    .sponsored-section.list-view .property-card .card-body {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    .sponsored-section.list-view .property-card .card-footer {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
}

/* ========== Mobile List View Fix — Compact Horizontal Cards (May 2026) ========== */
/* On mobile, list view shows a compact horizontal card (image left ~120px, content right) */
/* This differentiates it from grid view (which shows vertical cards) */

@media (max-width: 767px) {
    /* Override the stacking behavior — keep horizontal on mobile */
    .list-view .property-card {
        grid-template-columns: 170px 1fr !important;
        grid-template-rows: auto auto !important;
        max-width: 100% !important;
        border-radius: 12px !important;
        min-height: unset !important;
    }
    .list-view .property-card .card-image {
        grid-column: 1 !important;
        grid-row: 1 / -1 !important;
        border-radius: 12px 0 0 12px !important;
        min-height: 140px !important;
        max-height: none !important;
        height: 100% !important;
        width: 100% !important;
    }
    .list-view .property-card .card-body {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 10px 12px 4px !important;
        gap: 2px !important;
    }
    .list-view .property-card .card-footer {
        grid-column: 2 !important;
        grid-row: 2 !important;
        padding: 6px 12px 10px !important;
    }
    /* Compact title */
    .list-view .property-card .card-title {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
    /* Compact location */
    .list-view .property-card .card-location {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    /* Features — smaller chips, horizontal row */
    .list-view .property-card .card-features-row {
        gap: 4px !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
    }
    .list-view .property-card .card-feature {
        font-size: 10px !important;
        padding: 3px 6px !important;
        border-radius: 5px !important;
    }
    .list-view .property-card .card-feature i {
        font-size: 9px !important;
    }
    /* Price pill — smaller on mobile */
    .list-view .property-card .card-price-amount {
        font-size: 12px !important;
    }
    .list-view .property-card .card-price-period {
        font-size: 9px !important;
    }
    /* Badges — smaller */
    /* Save button — smaller */
    .list-view /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
        top: 8px !important;
        right: 8px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }
    /* Footer — compact */
    .list-view .property-card .card-footer .footer-left img,
    .list-view .property-card .card-footer .footer-left .owner-avatar-placeholder {
        width: 24px !important;
        height: 24px !important;
    }
    .list-view .property-card .card-footer .owner-name {
        font-size: 11px !important;
    }
    .list-view .property-card .card-footer .owner-role {
        font-size: 9px !important;
    }
    .list-view .property-card .card-footer .footer-right .time-ago {
        font-size: 10px !important;
    }
    /* Hide the View button on mobile to save space */
    .list-view .property-card .card-footer .footer-right::after {
        display: none !important;
    }
    /* Hide property type tag on mobile list view to save space */
    .list-view .property-card .card-type-label {
        display: none !important;
    }
    /* Features row — smaller text, show all 3 items */
    .list-view .property-card .card-features-row {
        gap: 3px !important;
        flex-wrap: nowrap !important;
    }
    .list-view .property-card .card-feature {
        font-size: 9px !important;
        padding: 2px 5px !important;
        white-space: nowrap !important;
    }
    .list-view .property-card .card-feature i {
        font-size: 8px !important;
    }
    /* Simplify footer — hide avatar, show only role text */
    .list-view .property-card .card-footer .footer-left img,
    .list-view .property-card .card-footer .footer-left .avatar,
    .list-view .property-card .card-footer .footer-left .avatar-initials,
    .list-view .property-card .card-footer .footer-left .owner-avatar-placeholder {
        display: none !important;
    }
    /* Show name + role inline on mobile list view */
    .list-view .property-card .card-footer .owner-info {
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .list-view .property-card .card-footer .owner-name {
        display: inline !important;
        font-size: 10px !important;
        font-weight: 600 !important;
    }
    .list-view .property-card .card-footer .owner-name::after {
        content: "\00B7" !important;
        margin-left: 4px !important;
        color: #9ca3af !important;
    }
    .list-view .property-card .card-footer .owner-role {
        font-size: 10px !important;
    }

    /* ---- Sponsored section — same compact horizontal ---- */
    .sponsored-section.list-view .property-card {
        grid-template-columns: 170px 1fr !important;
        grid-template-rows: auto auto !important;
        flex-direction: unset !important;
        max-width: 100% !important;
        border-radius: 12px !important;
    }
    .sponsored-section.list-view .property-card .card-image {
        grid-column: 1 !important;
        grid-row: 1 / -1 !important;
        border-radius: 12px 0 0 12px !important;
        min-height: 140px !important;
        max-height: none !important;
        height: 100% !important;
        width: 100% !important;
        min-width: unset !important;
    }
    .sponsored-section.list-view .property-card .card-body {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 10px 12px 4px !important;
    }
    .sponsored-section.list-view .property-card .card-footer {
        grid-column: 2 !important;
        grid-row: 2 !important;
        padding: 6px 12px 10px !important;
    }
    .sponsored-section.list-view .property-card .card-title {
        font-size: 14px !important;
    }
    .sponsored-section.list-view .property-card .card-location {
        font-size: 11px !important;
    }
    .sponsored-section.list-view .property-card .card-features-row {
        gap: 4px !important;
        flex-direction: row !important;
    }
    .sponsored-section.list-view .property-card .card-feature {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
    .sponsored-section.list-view .property-card .card-price-amount {
        font-size: 12px !important;
    }
    .sponsored-section.list-view /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
        top: 8px !important;
        right: 8px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }
    .sponsored-section.list-view .property-card .card-footer .footer-right::after {
        display: none !important;
    }
}

/* ========== V8 Card Design — Price Pill on Image (May 2026) ========== */
/* Clean image: price pill (bottom-right), heart icon (top-right). No badges. */

/* Price pill on image */
.property-card .card-price-pill {
    position: absolute;
    bottom: 12px;
    right: -4px;
    background: linear-gradient(135deg, #1564E3, #0d4fbd);
    color: #fff;
    padding: 5px 12px 5px 14px;
    border-radius: 5px 0 0 5px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 1px;
    box-shadow: 0 2px 6px rgba(21,100,227,0.3);
    letter-spacing: 0.3px;
}
.property-card .card-price-amount {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.property-card .card-price-period {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Heart/Save button — top-right */
/* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 3;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.property-card .card-save-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.property-card .card-save-btn i {
    color: #9ca3af;
    transition: color 0.2s;
}
.property-card .card-save-btn:hover i {
    color: #ef4444;
}
.property-card .card-save-btn.saved {
    background: rgba(255,255,255,0.95);
}
.property-card .card-save-btn.saved i {
    color: #ef4444;
}

/* List view price pill adjustments */
.list-view .property-card .card-price-pill {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: auto;
    font-size: 14px;
    padding: 6px 12px;
}
.list-view .property-card .card-price-amount {
    font-size: 15px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .property-card .card-price-pill {
        bottom: 8px;
        right: -4px;
        padding: 5px 10px;
        font-size: 13px;
        border-radius: 5px 0 0 5px;
    }
    .property-card .card-price-amount {
        font-size: 13px;
    }
    .property-card .card-price-period {
        font-size: 10px;
    }
    /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .list-view .property-card .card-price-pill {
        bottom: 8px;
        right: 8px;
        padding: 5px 10px;
    }
}

/* Dark mode */
[data-theme="dark"] .property-card .card-price-pill,
.dark .property-card .card-price-pill {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 2px 8px rgba(37,99,235,0.4);
}
[data-theme="dark"] .property-card .card-save-btn,
.dark /* Save/Heart button — slide in on hover */
.property-card .card-save-btn {
    background: rgba(30,32,34,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="dark"] .property-card .card-save-btn i,
.dark .property-card .card-save-btn i {
    color: #6b7280;
}
[data-theme="dark"] .property-card .card-save-btn:hover i,
.dark .property-card .card-save-btn:hover i {
    color: #f87171;
}

/* ========== V9 Card Ribbons — Featured & Sponsored (May 2026) ========== */

/* Base ribbon style — top-left of image */
.property-card .card-ribbon {
    position: absolute;
    top: 12px;
    left: -4px;
    padding: 5px 12px 5px 10px;
    border-radius: 0 5px 5px 0;
    font-size: 11px;
    font-weight: 600;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.property-card .card-ribbon i {
    font-size: 10px;
}

/* Featured ribbon — gold/orange */
.property-card .card-ribbon-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

/* Sponsored ribbon — blue */
.property-card .card-ribbon-sponsored {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}


/* Mobile adjustments */
@media (max-width: 767px) {
    .property-card .card-ribbon {
        top: 8px;
        left: -4px;
        right: auto;
        padding: 4px 10px 4px 8px;
        font-size: 10px;
        border-radius: 0 4px 4px 0;
    }
    .property-card .card-ribbon i {
        font-size: 9px;
    }
    .property-card .card-price-pill {
        right: -4px;
    }
}

/* List view ribbon adjustments */
.list-view .property-card .card-ribbon {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
}
@media (max-width: 767px) {
    .list-view .property-card .card-ribbon {
        top: 8px;
        left: 8px;
        right: auto;
        padding: 3px 7px;
        font-size: 9px;
    }
    .list-view .property-card .card-price-pill {
        right: 8px;
    }
}

/* Dark mode */
[data-theme="dark"] .property-card .card-ribbon-featured,
.dark .property-card .card-ribbon-featured {
    background: linear-gradient(135deg, #d97706, #b45309);
}
[data-theme="dark"] .property-card .card-ribbon-sponsored,
.dark .property-card .card-ribbon-sponsored {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Fix: Price pill width in list view — keep compact */
.list-view .property-card .card-price-pill {
}
@media (max-width: 767px) {
    .list-view .property-card .card-price-pill {
    }
    .list-view .property-card .card-price-amount {
    }
    .list-view .property-card .card-price-period {
    }
}

/* Fix: Price pill width in list view — keep compact */
.list-view .property-card .card-price-pill {
    width: auto !important;
    max-width: fit-content !important;
    padding: 4px 10px !important;
    font-size: 13px !important;
    left: auto !important;
    bottom: 8px !important;
    right: 8px !important;
}
@media (max-width: 767px) {
    .list-view .property-card .card-price-pill {
        padding: 3px 8px !important;
        font-size: 11px !important;
        left: auto !important;
        bottom: 6px !important;
        border-radius: 6px !important;
    }
    .list-view .property-card .card-price-amount {
        font-size: 11px !important;
    }
    .list-view .property-card .card-price-period {
        font-size: 8px !important;
    }
}


/* Dark mode */
[data-theme="dark"] .boosted-divider-line,
.dark .boosted-divider-line {
    background: linear-gradient(to right, transparent, #334155, transparent);
}
[data-theme="dark"] .boosted-divider-text,
.dark .boosted-divider-text {
    color: #64748b;
}

/* === Boosted Properties Dividers V2 === */
.boosted-divider-wrap {
    padding: 6px 0;
}
.boosted-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}
.boosted-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(135deg, #1564E3, #4338CA);
    border-radius: 2px;
    opacity: 0.3;
}
.boosted-divider-line.full {
    opacity: 0.2;
}
.boosted-divider-text {
    font-size: 11px;
    font-weight: 600;
    color: #1564E3;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
/* Dark mode */
[data-theme="dark"] .boosted-divider-line,
.dark .boosted-divider-line {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    opacity: 0.4;
}
[data-theme="dark"] .boosted-divider-line.full,
.dark .boosted-divider-line.full {
    opacity: 0.25;
}
[data-theme="dark"] .boosted-divider-text,
.dark .boosted-divider-text {
    color: #60a5fa;
}
/* Property type label with category-based colors */
.property-card .card-type-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    z-index: 2;
    line-height: 1.4;
    letter-spacing: 0.3px;
}
.property-card .card-type-label[data-type="house"] { background: #2563EB; }
.property-card .card-type-label[data-type="apartment"] { background: #0D9488; }
.property-card .card-type-label[data-type="villa"] { background: #7C3AED; }
.property-card .card-type-label[data-type="studio"] { background: #DB2777; }
.property-card .card-type-label[data-type="pg"] { background: #EA580C; }
.property-card .card-type-label[data-type="independent_floor"] { background: #4F46E5; }
.property-card .card-type-label[data-type="penthouse"] { background: #B45309; }
/* Ensure tag stays auto-width in list view */
.list-view .property-card .card-type-label {
    align-self: flex-start !important;
    width: fit-content !important;
    max-width: fit-content !important;
}

/* ===== List View Card (Horizontal - same design as featured cards) ===== */
.list-card-horizontal {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    border: 1px solid #f0f0f0;
    height: 100%;
}
.list-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(21,100,227,0.1);
    text-decoration: none;
    color: inherit;
}
.list-card-img {
    position: relative;
    width: 42%;
    min-height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.list-card-horizontal:hover .list-card-img img {
    transform: scale(1.03);
}
.list-card-badge {
    position: absolute;
    top: 12px;
    left: -4px;
    padding: 4px 12px 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 0 5px 5px 0;
    color: white;
}
.list-card-badge.featured-badge-ribbon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 2px 6px rgba(245,158,11,0.3);
}
.list-card-badge.sponsored-badge-ribbon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 6px rgba(34,197,94,0.3);
}
.list-card-badge i {
    margin-right: 3px;
}
.list-card-price {
    position: absolute;
    bottom: 12px;
    right: -4px;
    background: linear-gradient(135deg, #1564E3, #0d4fbd);
    color: white;
    padding: 5px 12px 5px 14px;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(21,100,227,0.3);
    letter-spacing: 0.3px;
}
.list-card-price span {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.85;
}
.list-card-content {
    padding: 10px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.list-card-type-badge {
    display: inline-block;
    color: #fff;
    background: rgba(15, 23, 42, 0.8);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
    width: fit-content;
}
.list-card-type-badge[data-type="house"] { background: #2563EB !important; }
.list-card-type-badge[data-type="apartment"] { background: #0D9488 !important; }
.list-card-type-badge[data-type="villa"] { background: #7C3AED !important; }
.list-card-type-badge[data-type="studio"] { background: #DB2777 !important; }
.list-card-type-badge[data-type="pg"] { background: #EA580C !important; }
.list-card-type-badge[data-type="independent_floor"] { background: #4F46E5 !important; }
.list-card-type-badge[data-type="penthouse"] { background: #B45309 !important; }
.list-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.list-card-location {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.list-card-location i {
    color: #1564E3;
    font-size: 10px;
}
.list-card-features {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.list-card-feat {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: #444;
    background: #f5f7fc;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
}
.list-card-feat i {
    color: #1564E3;
    font-size: 10px;
}
.list-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f0f2f5;
    margin-top: auto;
}
.list-card-owner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.list-card-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1564E3, #4338CA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}
.list-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-card-role {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}
.list-card-time {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Mobile adjustments for list card */
@media (max-width: 767px) {
    .list-card-img {
        width: 35%;
        min-height: 160px;
    }
    .list-card-content {
        padding: 12px 14px;
    }
    .list-card-title {
        font-size: 13px;
    }
    .list-card-price {
        font-size: 13px;
        padding: 4px 10px;
    }
    .list-card-features {
        margin-bottom: 8px;
    }
    .list-card-feat {
        font-size: 10px;
        padding: 3px 7px;
    }
    .list-card-type-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
    .list-card-location {
        font-size: 11px;
        margin-bottom: 8px;
    }
}
/* Dark mode */
[data-theme="dark"] .list-card-horizontal,
.dark .list-card-horizontal {
    background: #1e2022;
    border-color: #334155;
}
[data-theme="dark"] .list-card-title,
.dark .list-card-title {
    color: #ECEDEE;
}
[data-theme="dark"] .list-card-location,
.dark .list-card-location {
    color: #9BA1A6;
}
[data-theme="dark"] .list-card-feat,
.dark .list-card-feat {
    background: #2a2d30;
    color: #ccc;
}
[data-theme="dark"] .list-card-type-badge,
.dark .list-card-type-badge {
    background: #1e3a5f;
    color: #7dd3fc;
}
[data-theme="dark"] .list-card-footer,
.dark .list-card-footer {
    border-top-color: #334155;
}
[data-theme="dark"] .list-card-role,
.dark .list-card-role {
    color: #9BA1A6;
}
