
    /* =========================================================
       APCZANDO MAISONS — premium real-estate marketplace
       ========================================================= */

body{
    font-family: Arial, Helvetica, sans-serif;
}

    .houses-container {
        max-width: 1400px;
        margin-top: 32px !important;
        margin-bottom: 45px
    }

    .houses-hero {
        position: relative;
        overflow: hidden;
        padding: 36px 30px 26px;
        border: 1px solid #e8edf3;
        border-radius: 24px;
        background: linear-gradient(135deg, #f7fbff 0%, #fff 58%, #fff8ee 100%);
        box-shadow: 0 14px 40px rgba(20, 35, 60, .07)
    }

    .houses-hero:after {
        content: "";
        position: absolute;
        width: 210px;
        height: 210px;
        right: -80px;
        top: -100px;
        border-radius: 50%;
        background: rgba(229, 138, 24, .11)
    }

    .houses-eyebrow {
        font-size: .73rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .12em;
        color: #1675c1
    }

    .houses-title {
        margin: 5px 0 7px;
        font-size: clamp(1.8rem, 3vw, 2.55rem);
        font-weight: 850;
        letter-spacing: -.04em;
        color: #172033
    }

    .houses-subtitle {
        margin: 0;
        color: #6b7280;
        font-size: .96rem
    }

    .houses-filter {
        position: relative;
        z-index: 2;
        margin-top: 23px;
        padding: 10px;
        background: #fff;
        border: 1px solid #e6ebf1;
        border-radius: 17px;
        box-shadow: 0 9px 28px rgba(20, 35, 60, .07)
    }

    .houses-filter label {
        display: block;
        margin: 0 0 6px 4px;
        font-size: .69rem;
        font-weight: 800;
        color: #6b7280
    }

    .houses-filter .form-control,
    .houses-filter .form-select {
        min-height: 47px;
        border: 1px solid #edf0f4;
        background: #f7f8fa;
        border-radius: 12px;
        box-shadow: none !important;
        font-size: .83rem
    }

    .houses-filter .form-control:focus,
    .houses-filter .form-select:focus {
        background: #fff;
        border-color: #b9d5eb
    }

    .houses-filter .btn-filter {
        min-height: 47px;
        border: 0;
        border-radius: 12px;
        font-weight: 800;
        padding: 0 20px
    }

    .houses-filter .btn-reset {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 47px;
        padding: 0 7px;
        color: #8b94a2;
        text-decoration: none;
        font-size: .76rem;
        font-weight: 700;
        white-space: nowrap
    }

    .houses-filter .btn-reset:hover {
        color: #dc3545
    }

    .house-section-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 15px;
        margin: 30px 0 15px
    }

    .house-section-head h2 {
        margin: 0;
        color: #182235;
        font-size: 1.17rem;
        font-weight: 850
    }

    .house-result-count {
        display: block;
        margin-top: 3px;
        color: #8b94a2;
        font-size: .79rem;
        font-weight: 600
    }

    .house-quick-filters {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 2px 2px 9px;
        scrollbar-width: thin
    }

    .house-chip {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 14px;
        border: 1px solid #e4e9ef;
        border-radius: 999px;
        background: #fff;
        color: #525d6c;
        text-decoration: none;
        font-size: .76rem;
        font-weight: 800;
        transition: .18s ease
    }

    .house-chip:hover,
    .house-chip.active {
        background: #1675c1;
        border-color: #1675c1;
        color: #fff;
        transform: translateY(-1px)
    }

    .house-grid {
        margin-top: 4px
    }

    .house-col {
        margin-bottom: 20px
    }

    .house-card {
        position: relative;
        height: 100%;
        overflow: hidden;
        border: 1px solid #e9edf2;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 7px 23px rgba(20, 35, 60, .055);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
    }

    .house-card:hover {
        transform: translateY(-4px);
        border-color: #dfe5ec;
        box-shadow: 0 16px 34px rgba(20, 35, 60, .115)
    }

    .house-media {
        position: relative;
        aspect-ratio: 1/1.02;
        overflow: hidden;
        background: #f2f4f7
    }

    .house-image-link {
        display: block;
        width: 100%;
        height: 100%
    }

    .house-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .38s ease
    }

    .house-card:hover .house-image {
        transform: scale(1.045)
    }

    .house-offer-badge {
        position: absolute;
        left: 10px;
        top: 10px;
        z-index: 4;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .95);
        font-size: .63rem;
        font-weight: 850;
        box-shadow: 0 3px 11px rgba(0, 0, 0, .09)
    }

    .house-offer-badge.sale {
        color: #16834b
    }

    .house-offer-badge.rent {
        color: #1675c1
    }

    .house-share {
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 8
    }

    .house-share-btn {
        width: 35px;
        height: 35px;
        border: 0;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(255, 255, 255, .96);
        color: #344054;
        box-shadow: 0 4px 13px rgba(0, 0, 0, .13);
        transition: .18s ease
    }

    .house-share-btn:hover {
        color: #1675c1;
        background: #fff;
        transform: scale(1.04)
    }

    .house-video-btn {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 7;
        width: 35px;
        height: 35px;
        border: 0;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(220, 53, 69, .94);
        color: #fff;
        box-shadow: 0 4px 13px rgba(0, 0, 0, .16)
    }

    .house-video-overlay {
        position: absolute;
        inset: 0;
        z-index: 5;
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
        pointer-events: none
    }

    .house-card-link {
        position: relative;
        display: block;
        color: inherit;
        text-decoration: none
    }

    .house-body {
        display: flex;
        flex-direction: column;
        min-height: 143px;
        padding: 12px 13px 13px
    }

    .house-title {
        margin: 0 0 7px;
        color: #484c51;
        font-size: .94rem;
        font-weight: 600;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .house-location {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 8px;
        color: green;
        font-size: .68rem
    }

    .house-location i {
        color: green;
        font-size: .67rem
    }

    .house-location span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .house-description {
        margin: 0 0 9px;
        color: #7b8593;
        font-size: 13px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .house-bottom {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 8px;
        margin-top: auto
    }

    .house-price {
        font-size: .99rem;
        line-height: 1.1;
        white-space: nowrap
    }

    .house-price small {
        font-size: .55rem;
        font-weight: 850
    }

    .sale-text {
        color: red;
    }

    .rent-text {
        color: #1675c1
    }

    .house-view {
        color: blue;
        font-size: 13px;
        font-weight: 850;
        white-space: nowrap
    }

    .house-view i {
        font-size: .56rem
    }

    .houses-load-more {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 88px;
        margin: 8px 0 28px;
        color: #8992a0;
        font-size: .8rem
    }

    .houses-spinner {
        width: 27px;
        height: 27px;
        border: 3px solid #e7ebef;
        border-top-color: #1675c1;
        border-radius: 50%;
        animation: houseSpin .7s linear infinite;
        margin-bottom: 9px
    }

    @keyframes houseSpin {
        to {
            transform: rotate(360deg)
        }
    }

    .houses-caught-up {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 17px;
        border-radius: 999px;
        background: #f2f8fd;
        color: #1675c1;
        font-weight: 850;
        font-size: .77rem
    }

    .houses-empty {
        padding: 65px 20px;
        text-align: center;
        color: #8992a0
    }

    .houses-empty .empty-icon {
        font-size: 2.5rem;
        margin-bottom: 9px
    }

    @media(min-width:1200px) {
        .col-lg-2-4 {
            width: 20%
        }
    }

    @media(max-width:767.98px) {
        .houses-container {
            margin-top: 20px !important
        }

        .houses-hero {
            padding: 25px 16px 18px;
            border-radius: 18px
        }

        .houses-title {
            font-size: 1.72rem
        }

        .houses-filter {
            padding: 8px
        }

        .house-section-head {
            margin-top: 24px
        }

        .house-body {
            min-height: 132px;
            padding: 10px 10px 11px
        }

        .house-title {
            font-size: .84rem
        }

        .house-price {
            font-size: .87rem
        }

        .house-view {
            display: none
        }

        .house-col {
            padding-left: 6px;
            padding-right: 6px;
            margin-bottom: 12px
        }
    }




    .house-media {
        position: relative;
    }

    .az-stock-badge {
        position: absolute;
        z-index: 8;
        top: 9px;
        left: 9px;
        display: inline-flex;
        align-items: center;
        max-width: calc(100% - 18px);
        padding: 6px 9px;
        border: 1px solid rgba(255, 255, 255, .45);
        border-radius: 999px;
        background: #dc2626;
        color: #fff;
        font-size: 9px;
        line-height: 1.15;
        font-weight: 850;
        letter-spacing: .025em;
        box-shadow: 0 4px 12px rgba(127, 29, 29, .22);
        white-space: nowrap;
        pointer-events: none;
    }

    .az-stock-badge.reserved {
        background: #b45309;
    }

    .az-stock-badge.occupied {
        background: #991b1b;
    }

    @media (max-width: 767px) {
        .az-stock-badge {
            top: 7px;
            left: 7px;
            padding: 5px 7px;
            font-size: 8px;
        }
    }
