﻿.filter-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.property-card {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.property-img {
    height: 180px;
    object-fit: cover;
}

.price-badge {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
}
/* Sticky sidebar */
.filter-box-wrapper {
    position: sticky;
    top: 80px; 
    z-index: 10;
}

/* Mobile filter button */
.mobile-filter-btn {
    display: none;
}

@media (max-width: 992px) {
    .filter-box-wrapper {
        display: none;
    }

    .mobile-filter-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
    }

    #mobileFilterModal .modal-dialog {
        margin: 0;
        height: 100%;
        max-width: 100%;
    }

    #mobileFilterModal .modal-content {
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
    }
}


/* General cards */
.property-card {
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s;
    background: #fff;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.property-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Sticky Filter Sidebar */
.filter-box-wrapper {
    position: sticky;
    top: 90px;
    z-index: 10;
}

/* Filter Chips */
.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f1f1f1;
    margin: 4px;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.filter-chip.active {
    background: #222;
    color: white;
}

/* Map View */
.map-container {
    height: 100vh;
    position: sticky;
    top: 0;
    border-left: 1px solid #ddd;
}

/* Mobile Filter button */
.mobile-filter-btn {
    display: none;
}

@media (max-width: 992px) {
    .map-container {
        display: none;
    }

    .mobile-filter-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
    }

    .filter-box-wrapper {
        display: none;
    }

    #mobileFilterModal .modal-dialog {
        margin: 0;
        height: 100%;
        max-width: 100%;
    }

    #mobileFilterModal .modal-content {
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
    }
}
/*airbnb style*/


.property-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: .25s;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}
.property-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.filter-chip {
    padding: 6px 16px;
    border-radius: 22px;
    background: #f1f1f1;
    margin: 4px;
    display: inline-block;
    cursor: pointer;
    transition: .2s;
}
.filter-chip.active {
    background: #333;
    color: #fff;
}

.filter-box-wrapper { position: sticky; top: 90px; }
.filter_scroll{
        max-height: 360px;
    overflow: hidden;
    overflow-y: scroll;min-height: 175px;
}
@media(max-width: 992px) {
    .map-container { display:none; }
    .filter-box-wrapper { display:none; }
}
/*end airbnb style*/