/* ---------- Filter Bar ---------- */
.qp-property-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}
.qp-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qp-filter-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.qp-filter-select {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 140px;
    font-size: 14px;
}
.qp-filter-reset {
    padding: 10px 20px;
    background: #8a6d1e; /* matches the site's gold/brown accent color */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.qp-filter-reset:hover {
    background: #6f5717;
}

/* ---------- Results Grid ---------- */
#qp-property-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: opacity 0.2s ease;
}
#qp-property-results.qp-loading {
    opacity: 0.4;
    pointer-events: none;
}
@media (max-width: 992px) {
    #qp-property-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    #qp-property-results { grid-template-columns: 1fr; }
}

/* ---------- Property Card ---------- */
.qp-property-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}
.qp-property-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.qp-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
.qp-image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}
.qp-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qp-badge-leased {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #8a6d1e;
    color: #fff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
}

.qp-property-meta {
    display: flex;
    gap: 25px;
    margin: 18px 0;
    font-size: 15px;
    color: #333;
}
.qp-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.qp-meta-item i {
    color: #8a6d1e;
}

.qp-property-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.qp-property-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.qp-property-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}
.qp-btn {
    padding: 12px 24px;
    background: #8a6d1e;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 3px;
}
.qp-btn:hover {
    background: #6f5717;
}

.qp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 40px 0;
}

/* ---------- Load More Button ---------- */
#qp-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}
#qp-load-more-btn {
    padding: 12px 36px;
    background: #8a6d1e;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
#qp-load-more-btn:hover {
    background: #6f5717;
}
#qp-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}