        /* CSS Variables for consistent theming */
        :root {
            --primary-blue: #F47D30;
            /* Elegant Emerald Green to distinguish Rentals from Buy page */
            --primary-blue-hover: #047857;
            --light-blue: #ecfdf5;
            --text-dark: #111827;
            --text-gray: #4b5563;
            --text-light: #9ca3af;
            --bg-gray: #f9fafb;
            --white: #ffffff;
            --border-color: #e5e7eb;
            --error-bg: #fef2f2;
            --error-text: #b91c1c;
            --warning-bg: #fffbeb;
            --warning-border: #fef3c7;
            --warning-text: #b45309;
            --badge-featured: #fbbf24;
            --badge-featured-text: #78350f;
            --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

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

        body {
            font-family: var(--font-family);
            background-color: var(--bg-gray);
            color: var(--text-dark);
            line-height: 1.5;
        }

        /* Typography */
        h1,
        h2,
        h3 {
            font-weight: 700;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Layout Utility */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hidden {
            display: none !important;
        }

        /* Demo Warning Banner */
        .demo-warning {
            background-color: var(--warning-bg);
            border-bottom: 1px solid var(--warning-border);
            color: var(--warning-text);
            padding: 12px 20px;
            font-size: 0.875rem;
            font-weight: 500;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .demo-warning a {
            text-decoration: underline;
            font-weight: 700;
        }

        /* Header Navigation */
        header {
            background-color: var(--white);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
        }

        .logo {
            font-size: 1.5rem;
            color: var(--primary-blue);
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            gap: 24px;
        }

        .nav-links a {
            color: var(--text-gray);
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .nav-links a:hover {
            color: var(--primary-blue);
        }

        .nav-links a.active {
            color: var(--primary-blue);
            border-bottom: 2px solid var(--primary-blue);
            padding-bottom: 4px;
        }

        /* Main Section */
        main {
            padding: 48px 0;
        }

        .section-header {
            margin-bottom: 40px;
            text-align: center;
        }

        .section-header h2 {
            font-size: 2rem;
            margin-bottom: 12px;
        }

        .section-header p {
            color: var(--text-gray);
            font-size: 1.125rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Loading Spinner */
        .loading-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 60px 0;
        }

        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: var(--primary-blue);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 16px;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Error State */
        .error-state {
            background-color: var(--error-bg);
            border: 1px solid #fecaca;
            color: var(--error-text);
            padding: 32px;
            border-radius: 12px;
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .error-state i {
            font-size: 2.5rem;
            color: #ef4444;
            margin-bottom: 12px;
        }

        .error-state .troubleshoot {
            background-color: var(--white);
            padding: 16px;
            border-radius: 8px;
            text-align: left;
            margin-top: 16px;
            border: 1px solid #fecaca;
            color: var(--text-dark);
            font-size: 0.875rem;
        }

        .error-state button {
            background-color: #dc2626;
            color: var(--white);
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 500;
            margin-top: 24px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .error-state button:hover {
            background-color: #b91c1c;
        }

        /* Property Grid */
        .properties-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }

        /* Property Card */
        .property-card {
            background-color: var(--white);
            border-radius: 12px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .property-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
        }

        /* Card Image Wrapper */
        .card-image-wrapper {
            position: relative;
            height: 240px;
            background-color: var(--border-color);
            overflow: hidden;
        }

        .card-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .property-card:hover .card-image-wrapper img {
            transform: scale(1.05);
        }

        /* Badges */
        .badge {
            position: absolute;
            top: 16px;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .badge-status {
            left: 16px;
            background-color: var(--primary-blue);
            color: var(--white);
        }

        .badge-featured {
            right: 16px;
            background-color: var(--badge-featured);
            color: var(--badge-featured-text);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* Card Content */
        .card-content {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }

        .price {
            color: var(--primary-blue);
            font-size: 1.4rem;
            font-weight: 800;
        }

        .price span {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-gray);
        }

        .property-type {
            background-color: var(--light-blue);
            color: var(--primary-blue);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid #a7f3d0;
        }

        .title {
            font-size: 1.25rem;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .location {
            color: var(--text-gray);
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 20px;
        }

        /* Amenities */
        .amenities {
            display: flex;
            gap: 20px;
            padding-top: 16px;
            border-top: 1px solid var(--border-color);
            margin-bottom: 16px;
        }

        .amenity {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-dark);
        }

        .amenity i {
            color: var(--text-light);
            font-size: 1.25rem;
        }

        .amenity span {
            font-weight: 700;
            font-size: 1.125rem;
        }

        /* Description line clamp */
        .description {
            color: var(--text-gray);
            font-size: 0.875rem;
            margin-top: auto;
            display: -webkit-box;
            -webkit-line-clamp: unset;
            /*line-clamp: 2;*/
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Empty State */
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            background-color: var(--white);
            border-radius: 12px;
            border: 1px dashed #d1d5db;
        }

        .empty-state i {
            font-size: 4rem;
            color: var(--text-light);
            margin-bottom: 16px;
        }