/* Investorism Property Listings - Styles */
.inv-listings-wrap, .inv-feat-wrap { font-family: 'Inter', sans-serif; }

/* Filter Bar */
.inv-f-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.inv-f-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
    align-items: center;
}
.inv-f-sel {
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid #d4d4d4;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    background: white;
    cursor: pointer;
    color: #161616;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23878787' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    width: auto;
    min-width: 140px;
    flex: 0 0 auto;
}
.inv-f-sel:focus {
    outline: none;
    border-color: #072a53;
}
.inv-f-count {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #878787;
    white-space: nowrap;
}

/* Property Grid */
.inv-p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.inv-feat-wrap .inv-p-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Property Card */
.inv-p-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.4s, transform 0.4s;
}
.inv-p-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    transform: translateY(-4px);
}
.inv-p-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.inv-p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.inv-p-card:hover .inv-p-img img {
    transform: scale(1.05);
}
.inv-p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    background: #072a53;
    color: white;
    text-transform: uppercase;
}
.inv-p-body {
    padding: 24px;
}
.inv-p-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: #072a53;
    font-weight: 400;
}
.inv-p-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #878787;
}
.inv-p-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.inv-p-specs span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #878787;
}
.inv-p-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 10px 24px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid #072a53;
    color: #072a53;
    text-decoration: none;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    cursor: pointer;
}
.inv-p-btn:hover {
    background: #072a53;
    color: #ffffff;
}

/* No Results */
.inv-no-res {
    text-align: center;
    padding: 48px;
    font-family: 'Inter', sans-serif;
    color: #878787;
}

/* View All */
.inv-view-all {
    text-align: center;
    margin-top: 40px;
}
.inv-view-all a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid #072a53;
    color: #072a53;
    text-decoration: none;
    background: transparent;
    transition: all 0.4s;
    cursor: pointer;
}
.inv-view-all a:hover {
    background: #072a53;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .inv-p-grid,
    .inv-feat-wrap .inv-p-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Property type filter badges */
.inv-f-sel option[value="sales"],
.inv-f-sel option[value="rent"],
.inv-f-sel option[value="shortlets"] {
    font-weight: 600;
}

@media (max-width: 768px) {
    .inv-p-grid,
    .inv-feat-wrap .inv-p-grid {
        grid-template-columns: 1fr !important;
    }
    .inv-f-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .inv-f-group {
        width: 100%;
        gap: 8px;
    }
    .inv-f-sel {
        flex: 1 1 45%;
        min-width: 0;
        font-size: 11px;
        padding: 8px 14px;
        padding-right: 30px;
    }
}
