.house-card {
            background: rgba(20, 20, 20, 0.9);
            border: 1px solid #2a2a2a;
            border-radius: 14px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
            position: relative;
        }

        .house-card:hover {
            transform: translateY(-4px);
            border-color: var(--lm-red);
            box-shadow: 0 0 0 1px var(--lm-red), 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(155, 0, 15, 0.2);
            z-index: 2;
        }

        .house-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            background: #111;
        }

        .house-card-body {
            padding: 16px;
        }

        .house-card-name {
            font-size: 1.05rem;
            font-weight: 800;
            color: #fff;
            margin: 0 0 4px 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .house-card-id {
            font-size: 0.7rem;
            color: #666;
            margin-bottom: 12px;
        }

        .house-price-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            margin-bottom: 10px;
        }

        .house-price-item {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid #2a2a2a;
            border-radius: 8px;
            padding: 8px 10px;
        }

        .house-price-label {
            font-size: 0.6rem;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 2px;
        }

        .house-price-value {
            font-size: 0.9rem;
            font-weight: 800;
            color: var(--lm-red);
        }

        .house-price-item.full-width {
            grid-column: 1 / -1;
        }

        .house-interior-badge {
            display: inline-block;
            background: rgba(227, 16, 48, 0.15);
            border: 1px solid rgba(227, 16, 48, 0.3);
            color: var(--lm-red);
            font-size: 0.65rem;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        .house-seller-btn {
            background: none;
            border: none;
            color: #888;
            font-size: 0.7rem;
            font-weight: 800;
            cursor: pointer;
            font-family: inherit;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 0;
            transition: color 0.2s;
        }

        .house-seller-btn:hover {
            color: #fff;
        }

        /* Detail view */
        .house-detail-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px 0;
        }

        .house-detail-header {
            margin-bottom: 20px;
        }

        .house-detail-header h2 {
            font-size: 2rem;
            font-weight: 900;
            text-transform: uppercase;
            margin: 0 0 5px 0;
        }

        .house-detail-prices {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }

        .house-detail-price-box {
            background: rgba(20, 20, 20, 0.9);
            border: 1px solid #2a2a2a;
            border-radius: 12px;
            padding: 16px;
            text-align: center;
        }

        .house-detail-price-box .label {
            color: #666;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 6px;
        }

        .house-detail-price-box .value {
            color: var(--lm-red);
            font-size: 1.4rem;
            font-weight: 900;
        }

        .house-gallery-container {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .house-gallery-container>div:first-child {
            flex: 1;
            min-width: 280px;
        }

        .house-detail-main-img {
            width: 100%;
            border-radius: 12px;
            object-fit: cover;
            max-height: 420px;
        }

        .house-gallery-thumbs-wrapper {
            width: 90px;
            flex-shrink: 0;
        }

        .house-gallery-thumbs {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .house-thumb-container {
            width: 80px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s;
            flex-shrink: 0;
        }

        .house-thumb-container.active {
            border-color: var(--lm-red);
        }

        .house-thumb-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .house-info-section {
            background: rgba(20, 20, 20, 0.9);
            border: 1px solid #2a2a2a;
            border-radius: 12px;
            padding: 20px;
        }

        @media (max-width: 600px) {
            .house-detail-prices {
                grid-template-columns: 1fr;
            }

            .house-gallery-thumbs {
                flex-direction: row;
            }

            .house-gallery-thumbs-wrapper {
                width: 100%;
            }
        }