/**
 * ==========================================================
 * HOUZEZ STATUS PROPERTIES
 * ==========================================================
 */


/*
 * ==========================================================
 * FILTER
 * ==========================================================
 */

.custom-property-filters {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 8px;

    margin-bottom: 35px;

}

.custom-property-filters .property-filter {
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #030302;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .2s ease;
}


.custom-property-filters .property-filter:hover,

.custom-property-filters .property-filter.active {

    background: #030302;

    color: #fff;

    border-color: #030302;

}


/*
 * ==========================================================
 * PROPERTY GRID
 * ==========================================================
 */

.custom-property-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px 16px;

    transition: opacity .2s ease;

}


/*
 * ==========================================================
 * CARD
 * ==========================================================
 */

.custom-property-card {

    background: #fff;

    border: 1px solid #eeeeee;

    overflow: hidden;

}


/*
 * ==========================================================
 * IMAGE
 * ==========================================================
 */

.custom-property-image {

    position: relative;

    width: 100%;

    aspect-ratio: 1.35 / 1;

    overflow: hidden;

}


.custom-property-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;

}


.custom-property-card:hover .custom-property-image img {

    transform: scale(1.03);

}


/*
 * ==========================================================
 * STATUS LABEL
 * ==========================================================
 */

.custom-property-status {

    position: absolute;

    top: 10px;

    left: 10px;

    background: #fff;

    color: #555;

    padding: 5px 8px;

    font-size: 9px;

    line-height: 1;

    text-transform: uppercase;

}


/*
 * ==========================================================
 * CONTENT
 * ==========================================================
 */

.custom-property-content {

    padding: 14px 12px 12px;

}


/*
 * LOCATION
 * ==========================================================
 */

.custom-property-location {
    font-size: 10px;
    line-height: 1.3;
    color: #030302;
    text-transform: uppercase;
    margin-bottom: 7px;
}


/*
 * ==========================================================
 * TITLE
 * ==========================================================
 */

.custom-property-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.custom-property-title a {
    color: #030302;
    text-decoration: none;
}

/*
 * ==========================================================
 * PRICE
 * ==========================================================
 */

.custom-property-price {

    font-size: 17px;

    font-weight: 500;

    color: #222;

    margin-bottom: 8px;

}


/*
 * ==========================================================
 * META
 * ==========================================================
 */
.custom-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: #030302;
    font-size: 12px;
    font-weight: 500;
}


.custom-property-meta span:not(:last-child)::after {

    content: " • ";

    margin-left: 5px;

}


/*
 * ==========================================================
 * FOOTER
 * ==========================================================
 */

.custom-property-footer {

    border-top: 1px solid #eeeeee;

    margin-top: 12px;

    padding-top: 10px;

}

.custom-property-footer a {
    color: #030302;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    transition: initial;
    transition: all 0.3s ease;
}

.custom-property-footer a:hover {
    color: #0E9F8A;

}

.custom-property-footer span {

    margin-left: 3px;

}


/*
 * ==========================================================
 * PAGINATION
 * ==========================================================
 */

.custom-property-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 6px;

    margin-top: 40px;

}


.custom-property-pagination .property-page {

    width: 38px;

    height: 38px;

    padding: 0;

    border: 1px solid #e5e5e5;

    background: #fff;

    color: #555;

    cursor: pointer;

    font-size: 12px;

    transition: all .2s ease;

}


.custom-property-pagination .property-page:hover,

.custom-property-pagination .property-page.active {

    background: #111;

    border-color: #111;

    color: #fff;

}


/*
 * ==========================================================
 * LOADING
 * ==========================================================
 */

.custom-property-results.loading {

    opacity: .45;

    pointer-events: none;

    transition: opacity .2s ease;

}


/*
 * ==========================================================
 * NO PROPERTIES
 * ==========================================================
 */

.custom-no-properties {

    grid-column: 1 / -1;

    text-align: center;

    padding: 50px 20px;

    color: #777;

}


/*
 * ==========================================================
 * TABLET
 * ==========================================================
 */

@media (max-width: 980px) {

    .custom-property-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/*
 * ==========================================================
 * MOBILE
 * ==========================================================
 */

@media (max-width: 600px) {

    .custom-property-filters {

        justify-content: flex-start;

        overflow-x: auto;

        white-space: nowrap;

    }


    .custom-property-grid {

        grid-template-columns: 1fr;

    }


    .custom-property-pagination {

        margin-top: 30px;

    }

}