* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #fff;
    color: #123f78;
    font-family: Arial, Helvetica, sans-serif
}

.listing-page {
    padding: 18px 18px 28px
}

.listing-shell {
    max-width: 1900px;
    margin: auto
}

.sidebar-col {
    padding-right: 18px
}

.content-col {
    padding-left: 0
}

.filter-card,
.category-card {
    border: 1px solid #d9e5f5;
    border-radius: 9px;
    background: #fff;
    padding: 13px 14px;
    box-shadow: 0 1px 4px rgba(17, 62, 116, .04);
    margin-bottom: 10px
}

.filter-card h2,
.category-card h2 {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 10px;
    color: #0c3973
}

.filter-field {
    margin-bottom: 10px
}

.filter-field label {
    display: block;
    font-size: 12px;
    color: #6a82a4;
    margin: 0 0 5px
}

.filter-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #d4e1f1;
    border-radius: 6px;
    background: #fff;
    padding: 0 12px;
    color: #173f70;
    font-size: 13px;
    outline: none
}

.filter-field select:focus {
    border-color: #2c73c9;
    box-shadow: 0 0 0 2px rgba(44, 115, 201, .08)
}

.filter-btn {
    border: 0;
    border-radius: 6px;
    width: 100%;
    height: 42px;
    background: #08479f;
    color: #fff;
    font-weight: 600;
    font-size: 13px
}

.filter-btn i {
    margin-right: 5px
}

.category-card {
    padding: 11px 0 3px
}

.category-card h2 {
    padding: 0 13px;
    margin-bottom: 5px
}

.category-row {
    min-height: 40px;
    padding: 0 13px;
    border-top: 1px solid #edf2f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #16487f
}

.category-row span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0
}

.category-row i {
    font-size: 14px
}

.category-row b {
    font-weight: 400;
    white-space: nowrap;
    color: #4b72a2
}

.expert-card {
    border-radius: 8px;
    padding: 13px 13px 12px;
    color: #fff;
    background: linear-gradient(135deg, #063d91, #0b57b9);
    overflow: hidden
}

.expert-card h3 {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.15;
    margin: 0 0 9px
}

.expert-card p {
    font-size: 11px;
    line-height: 1.45;
    margin: 0 0 12px;
    color: #e8f2ff
}

.expert-card button {
    border: 0;
    border-radius: 4px;
    background: #ffca28;
    color: #083c83;
    font-size: 11px;
    font-weight: 700;
    padding: 9px 11px;
    width: 100%;
    display: flex;
    justify-content: space-between
}

.content-head {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.content-head h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    line-height: 1;
    margin: 0;
    font-weight: 700;
    color: #151515
}

.content-head h1 .dash {
    color: #f2a900;
    font-size: 28px;
    margin-right: 5px
}

.content-head h1 .fire {
    font-family: Arial;
    font-size: 24px;
    margin-right: 6px
}

.content-head h1 span:last-child {
    color: #0865db
}

.all-projects {
    height: 42px;
    border: 1px solid #1e78dc;
    border-radius: 6px;
    background: #fff;
    color: #0b4da4;
    font-weight: 700;
    font-size: 12px;
    padding: 0 15px;
    white-space: nowrap
}

.all-projects i {
    margin-left: 9px
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.property-card {
    border: 1px solid #d9e4f1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(20, 74, 135, .10);
    min-width: 0;
    transition: .2s
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(20, 74, 135, .15)
}

.card-image {
    height: 165px;
    position: relative;
    background: #dce9f5;
    overflow: hidden
}

.card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center
}

.status-badge {
    position: absolute;
    left: 10px;
    top: 9px;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #153d70;
    background: #ffe168;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08)
}

.status-badge.green {
    background: #b8f2c5
}

.status-badge.blue {
    background: #d7ebff
}

.status-badge.pink {
    background: #ffbfc4
}

.status-badge.yellow {
    background: #ffe46b
}

.heart-btn {
    position: absolute;
    right: 10px;
    top: 9px;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #6c7e96;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    z-index: 2
}

.heart-btn:hover {
    color: #e63d5d
}

.card-body {
    padding: 10px 14px 12px;
    min-height: 145px
}

.project-name {
    font-size: 16px;
    font-weight: 700;
    color: #073d80;
    margin: 0 0 5px;
    line-height: 1.15
}

.meta {
    font-size: 11px;
    color: #55708f;
    line-height: 1.55;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 1px 0
}

.meta i {
    font-size: 13px;
    color: #66809e;
    width: 13px
}

.card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: 9px
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: #06479b;
    white-space: nowrap
}

.price small {
    font-size: 10px;
    font-weight: 400;
    color: #4d6c8e
}

.details-btn {
    height: 38px;
    border: 0;
    border-radius: 5px;
    background: #0649a5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 0 12px;
    white-space: nowrap
}

.details-btn i {
    margin-left: 5px
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px
}

.page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d6e2f1;
    border-radius: 50%;
    background: #fff;
    color: #0a4a9d;
    font-size: 12px
}

.page-btn.active {
    background: #0868dc;
    color: #fff;
    border-color: #0868dc;
    border-radius: 5px
}

.mobile-filter-btn {
    width: 100%;
    height: 44px;
    border: 1px solid #cbdced;
    background: #fff;
    color: #0b4da4;
    border-radius: 7px;
    font-weight: 700;
    margin: 0 0 12px
}

.offcanvas-title {
    font-weight: 700;
    color: #0b3e78
}

@media(max-width:1399px) and (min-width:992px) {
    .property-grid {
        gap: 14px
    }

    .card-image {
        height: 150px
    }

    .card-body {
        padding: 9px 11px
    }

    .details-btn {
        padding: 0 9px
    }

    .content-head h1 {
        font-size: 25px
    }
}

@media(max-width:991.98px) {
    .listing-page {
        padding: 14px
    }

    .content-col {
        padding: 0
    }

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px
    }

    .content-head {
        height: 52px
    }

    .content-head h1 {
        font-size: 25px
    }

    .card-image {
        height: 190px
    }
}

@media(max-width:767.98px) {
    .listing-page {
        padding: 12px
    }

    .content-head {
        height: auto;
        min-height: 52px
    }

    .content-head h1 {
        font-size: 22px
    }

    .content-head h1 .dash {
        font-size: 21px
    }

    .content-head h1 .fire {
        font-size: 20px
    }

    .all-projects {
        height: 38px;
        padding: 0 10px;
        font-size: 11px
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .card-image {
        height: 205px
    }

    .card-body {
        min-height: 135px;
        padding: 11px 13px
    }

    .project-name {
        font-size: 16px
    }

    .price {
        font-size: 16px
    }

    .details-btn {
        height: 38px
    }

    .pagination-wrap {
        margin-top: 14px;
        gap: 5px
    }

    .page-btn {
        width: 30px;
        height: 30px
    }
}

@media(max-width:430px) {
    .content-head {
        align-items: flex-start
    }

    .content-head h1 {
        font-size: 20px;
        line-height: 1.15
    }

    .all-projects {
        font-size: 0;
        width: 38px;
        padding: 0
    }

    .all-projects i {
        font-size: 15px;
        margin: 0
    }

    .card-image {
        height: 190px
    }
}

/* Interactive state */
.heart-btn.is-favourite {
    color: #e63d5d
}

.filter-btn.filter-applied {
    transform: translateY(1px);
    opacity: .92
}

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

.property-loading {

    width: 100%;

    min-height: 250px;

    display: flex;

    align-items: center;

    justify-content: center;

    grid-column: 1 / -1;

}


/* =========================================================
   NO PROPERTY
========================================================= */

.no-properties {

    width: 100%;

    min-height: 250px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #555;

    font-size: 18px;

    grid-column: 1 / -1;

}


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

.pagination-wrap .page-btn:disabled {

    opacity: 0.45;

    cursor: not-allowed;

}


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

.property-card .card-image {

    position: relative;

    overflow: hidden;

}


.property-card .card-image img {

    width: 100%;

    height: 225px;

    object-fit: cover;

    display: block;

}


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

.property-card {

    overflow: hidden;

}


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

@media (max-width: 767px) {

    .property-card .card-image img {

        height: 210px;

    }

}

/* =========================================================
   AJAX PROPERTY LOADING
========================================================= */

.property-loading {

    width: 100%;
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    grid-column: 1 / -1;

}


/* =========================================================
   NO PROPERTY
========================================================= */

.no-properties {

    width: 100%;
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #345;

    font-size: 17px;

    grid-column: 1 / -1;

    padding: 30px;

}


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

.pagination-wrap {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 35px;

    width: 100%;

}


.pagination-wrap .page-btn {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #cdddeb;

    background: #ffffff;

    color: #0a4f9f;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: all .2s ease;

}


.pagination-wrap .page-btn:hover:not(:disabled) {

    background: #0a4f9f;

    color: #ffffff;

    border-color: #0a4f9f;

}


.pagination-wrap .page-btn.active {

    background: #0a4f9f;

    color: #ffffff;

    border-color: #0a4f9f;

}


.pagination-wrap .page-btn:disabled {

    opacity: .45;

    cursor: not-allowed;

}