/* Smooth scroll for map-mode property list */
.wrapper-property-view.map-mode #propertyContainer {
    scroll-behavior: smooth;
}

/* Highlight pulse for centered card */
.map-highlight-pulse {
    animation: mapHighlightPulse 0.6s cubic-bezier(0.4,0,0.2,1);
}

@keyframes mapHighlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(63,95,212,0.18); }
    60% { box-shadow: 0 0 0 12px rgba(63,95,212,0.10); }
    100% { box-shadow: 0 0 0 0 rgba(63,95,212,0.0); }
}

.filter-section {
    padding: 20px;
    border: 1px solid white;
    position: sticky;
    top: 77px;
    overflow-y: hidden;
    height: calc(100vh - 75px);
    /* overflow-y: auto; */
}

.filter-section:hover {
  overflow-y: auto !important;
}

.filter-title { 
    font-weight: 500; 
    font-size: 14px; 
    margin-bottom: 10px; 
}





/* col-lg-9 */
.property-link{
    color: inherit !important;
}

.result-text{
    font-size: 16px;
}

.toggle-list {
    border-radius: 999px 0 0 999px !important; /* left rounded */
    border-right: none;
}

.toggle-map {
    border-radius: 0 999px 999px 0 !important; /* right rounded */
}

.search-sort-dropdown {
    position: relative;
}

.search-sort-toggle {
    min-width: 210px;
    border: 1px solid #e7e3dd;
    border-radius: 18px;
    background: #fff;
    color: #232323;
    /* font-size: 15px;
    font-weight: 500;
    padding: 12px 18px; */
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.search-sort-toggle i {
    color: #b8b3aa;
    transition: transform 0.2s ease;
}

.search-sort-dropdown.open .search-sort-toggle i {
    transform: rotate(180deg);
}

.search-sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 40;
    min-width: 100%;
    background: #fff;
    border: 1px solid #ebe6dd;
    border-radius: 18px;
    padding: 8px 0;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.search-sort-option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 6px 10px;
    color: #222;
    font-size: 15px;
    font-weight: 500;
}

.search-sort-option:hover,
.search-sort-option.active {
    background: #f7f4ee;
}


.more-photos{
    position: absolute;
}










/* map view */

.wrapper-property-view.map-mode {
    display: grid;
    grid-template-columns: minmax(360px, 38%) minmax(420px, 62%);
    gap: 12px;
    align-items: start;
}

.wrapper-property-view.map-mode .property-top {
    grid-column: 1 / -1;
}

.wrapper-property-view.map-mode #propertyContainer {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-right: 6px;
}

.wrapper-property-view.map-mode .property-view {
    margin-bottom: 10px !important;
}

.wrapper-property-view.map-mode .prop-card {
    border-radius: 12px;
    border: 1px solid #e8eaf6;
    min-height: 182px;
    padding: 10px 12px;
}

/* .wrapper-property-view.map-mode .row.g-0.w-100 {
    height: 100%;
} */

.wrapper-property-view.map-mode .col-md-4,
.wrapper-property-view.map-mode .col-md-8 {
    height: 100%;
}

.wrapper-property-view.map-mode .card-img-grid {
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.wrapper-property-view.map-mode .card-body-custom {
    padding-left: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wrapper-property-view.map-mode .prop-title {
    font-size: 1.02rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.wrapper-property-view.map-mode .prop-meta {
    font-size: 13px;
    margin-bottom: 8px;
}

.wrapper-property-view.map-mode .info-box {
    display: none !important;
}

.wrapper-property-view.map-mode .share-icon {
    display: none !important;
}

.wrapper-property-view.map-mode .nearby-scrollable {
    display: flex;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
}

.wrapper-property-view.map-mode .nearby-tag {
    padding: 4px 12px;
    font-size: 0.78rem;
}

.wrapper-property-view.map-mode .btn-contact {
    min-width: 96px;
    padding: 8px 18px;
}

.wrapper-property-view.map-mode .d-flex.justify-content-between.align-items-end.mt-2 {
    margin-top: auto !important;
}

.search-map-pane {
    height: calc(100vh - 180px);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #eef2ff;
    border: 1px solid #e3e8ff;
}

.property-map-canvas {
    width: 100%;
    height: 100%;
}

@media (max-width: 991.98px) {
    .wrapper-property-view.map-mode {
        grid-template-columns: 1fr;
    }

    .search-map-pane {
        height: 420px;
    }

    .wrapper-property-view.map-mode .prop-card {
        min-height: 0;
    }

    .wrapper-property-view.map-mode .card-img-grid {
        height: 180px;
        margin-bottom: 10px;
    }
}

.toggle-right:hover {
    background: #f1f1f1;
}

.kya-banner {
    background: #ffd83e; 
    color: #473f22; 
    cursor: pointer;
    padding: 6px 20px 6px 12px;
    border-radius: 7px;
    font-size: 0.75rem; 
    font-weight: 500;
    display: inline-block; 
    margin-bottom: 15px;
    clip-path: polygon(
        0 0,
        95% 0,
        100% 100%,
        0 100%
    );
}



/* property view */

.prop-card {
    cursor: pointer;
    background: white; 
    overflow: hidden;
    border: 1px solid transparent; 
    transition: 0.2s;
    padding: 11px 15px;
}

.property-view:hover { 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    border-color: #eee; 
}

.property-view .row.g-0.w-100 {
    align-items: stretch;
    display: flex;
}

/*propert image */

.card-img-grid {

    max-height: 240px;
    display: grid;
    grid-template-columns: 2fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 8px;
    background: #fff;
    overflow: hidden;
}

.single-img{
    height: 100%;
}

.img-main { 
    grid-row: span 2; 
}
        
.card-gallery-image {
    width: 100%;
    /* height: 100%; */
    max-height: 240px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.card-gallery-image-placeholder {
    object-fit: contain;
    background: #f7f8fb;
}


.single-img {
    flex: 1 1 auto;
}

/* .property-view .col-md-4 > .card-img-grid,
.property-view .col-md-4 > .single-img {
    flex: 1 1 auto;
} */

/* body of details */

.card-body-custom{
    padding-left: 20px;
}
.prop-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    margin-bottom: 4px; 
}
.start-rating{
    color: var(--primary-orange);
}

/* property icon share */

.bg-icon-prop{
    background-color: #eeeffc;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    position: relative;
}

.bg-icon-prop.share-trigger{
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-icon-prop.share-trigger:hover,
.bg-icon-prop.share-trigger:focus-visible{
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(31, 46, 77, 0.14);
    outline: none;
}

.compare-badge{
    position:absolute;
    top: -2px;
    right: -2px;
    width:12px;
    height:12px;
    border-radius:50%;
    background: var(--primary-color);
    color:#fff;
    font-size: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    display:none;
}

.active-compare{
    color: var(--primary-color);
}

.active-compare .compare-badge{
    display:flex;
}

.bg-icon-prop:nth-child(2) {
    color: var(--brand-orange);
}

.bg-icon-prop i{
    font-size: 14px;
}

.share-modal-dialog{
    max-width: 360px;
}

.share-modal-content{
    border: 0;
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.share-modal-kicker{
    color: #7a8699;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#shareOffcanvas{
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

#shareOffcanvas .offcanvas-header{
    padding-bottom: 0;
}

.share-sheet{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.share-property-preview{
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #fef6ea 100%);
}

.share-property-thumb{
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef2f7;
}

.share-property-thumb img,
.share-property-placeholder{
    width: 100%;
    height: 100%;
}

.share-property-thumb img{
    object-fit: cover;
    display: block;
}

.share-property-placeholder{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a94a6;
    font-size: 1.35rem;
}

.share-property-copy{
    min-width: 0;
}

.share-property-kicker{
    color: #7a8699;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.share-property-title{
    color: #152033;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.share-property-meta{
    color: #5e697b;
    font-size: 0.8rem;
    margin-top: 4px;
    line-height: 1.4;
}

.share-action-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.share-action-btn{
    min-height: 68px;
    border: 1px solid #d7e0eb;
    border-radius: 18px;
    background: #fff;
    color: #152033;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 12px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.share-action-btn:hover,
.share-action-btn:focus-visible{
    color: #152033;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    outline: none;
}

.share-action-btn i{
    font-size: 1rem;
}

.share-action-label{
    font-size: 0.92rem;
    font-weight: 600;
}

.share-action-note{
    color: #768195;
    font-size: 0.74rem;
}

.share-link-preview{
    border-radius: 16px;
    padding: 10px 12px;
    background: #f5f7fa;
    color: #617086;
    font-size: 0.78rem;
    line-height: 1.4;
    word-break: break-all;
}

@media (max-width: 767.98px){
    .share-action-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* sub title */

.prop-meta {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.prop-meta span:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 10px;
    display: inline-block;
}


/* property info */

.info-box{
    border: 1px solid #ddd;
    margin-bottom: 13px;
    width: max-content;
}

.info-item { 
    text-align: center; 
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.info-item:not(:last-child){
    border-right: 1px solid #ddd;
    padding-right: 15px;
}

.info-label { 
    font-size: 0.75rem; 
    color: #888; 
    margin-bottom: 2px; 
}

.info-val { 
    font-size: 0.9rem; 
    font-weight: 500;
    color: #333; 
}

/* tags nad contact proice */
.nearby{
    font-size: 12px !important;
}

.nearby-tag {
    background: #f8f7f7; 
    color: #333; 
    padding: 4px 14px;
    border-radius: 20px; 
    font-size: 0.8rem; 
}

/* price */
.price-text { 
    font-size: 1.5rem; 
    font-weight: 900; 
    color: var(--primary-color); 
}

.price-text .month{
    font-size: 12px;
}

.add-charge{
    color : var(--primary-color) !important;
    font-size: 13px;
}


.btn-contact {
    background-color: var(--brand-orange); 
    color: white; 
    font-weight: 400;
    padding: 7px 20px; 
    border-radius: 50px; 
    border: none;
    font-size: 14px;
}

.btn-contact:hover { 
    background-color: var(--brand-orange); 
    color: white; 
}

/* card footer */

.card-footer-custom {
    background: #fff7f4; 
    padding: 11px 15px;
    display: flex; 
    align-items: center;
    font-size: 0.8rem; 
    color: #777;
}

body.search-map-active .card-footer-custom {
    display: none !important;
}

.post-tag{
 font-size: 11px;
}

.broker-badge { 
    width: 24px; 
    height: 24px; 
    background: #ddd; 
    border-radius: 50%; 
    display: inline-block; vertical-align: middle; margin-right: 5px; 
}

.left-footer-prop-card span {
    display: inline-flex;
    align-items: center;
}

.left-footer-prop-card span:not(:first-child):not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    background: #b3b0b0;
    border-radius: 50%;
    margin: 0 10px;
    display: inline-block;
}

/* compare property */

.compare-btn{
    background-color: var(--primary-color);
    position: fixed;
    bottom: 0;
    right: 0;
    border-top-left-radius: 25px;
    z-index: 45688;
    padding: 10px 15px;
    cursor: pointer;
}

.compare-btn-t{
    font-size: 14px;
    font-weight: 400;
}

.number-compare{
    padding-left: 15px;
}

.number-compare::after{
    height: 100%;
    display: inline-flex;
    width: 1px;
    background-color: #000;
    content: '';
    padding-left: 15px;
}








.compare-offcanvas {
    height: 95vh !important;
    border-radius: 12px 12px 0 0;
    font-size: 14px !important;
}

.offcanvas-header  h5{
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.btn-close-canvas{
    z-index: 1055;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.compare-table th {
    width: 180px !important;
    color: var(--primary-color) !important;
    font-weight: 500 !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
}

.compare-table tr {
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.compare-table tr:last-child {
    border-bottom: none !important;
}

.compare-table tr:first-child {
    border-bottom: none !important;
}
.compare-table tr:nth-child(2) {
    border-bottom: none !important;
}

.compare-table th {
    border-right: 1px solid #e9ecef;
}


.compare-table td {
    min-width: 260px;
    vertical-align: top;
}

.compare-table td:not(:last-child){
    padding-right: 20px !important;
}

.height-160{
    height: 160px !important;
}

.compare-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.compare-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    color: white;
}

.btn-contact-wide{
    background: var(--brand-orange);
    color: #fff !important;
}

.btn-contact-wide:hover,
.btn-contact-wide:focus,
.btn-contact-wide:active {
    background: var(--brand-orange) !important;
    color: #fff !important;
    border-color: var(--brand-orange) !important;
}



/* Property Deatils */

.details-card-img-grid{
    display:grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 180px 180px;
    gap:12px;
    width: 100%;
}

.details-card-img-grid.is-single-image {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 360px;
}

.details-card-img-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.details-card-img-grid.is-single-image .single-img {
    width: 100%;
    height: 100%;
}

.img-more{
    position:relative;
}

.img-more span{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:#fff;
    font-weight:600;
    font-size:20px;
    background:rgba(0,0,0,0.45);
    padding:8px 14px;
    border-radius:8px;
}

.img-main { 
    grid-row: span 2; 
}

.img-details-sub{
    background-size: cover;
    background-position: center;
}


/* tabs section */

.details-card{
    border: 1px solid transparent;
    transition: 0.2s;
    padding: 0px 15px 15px 15px;
}

.custom-tabs .nav-link {
    color: #919191 !important;
    border: none;
    font-weight: 400;
    padding: 1rem 1rem 0.6rem 1rem;
    white-space: nowrap;
}

.custom-tabs .nav-link.active {
    color: #000 !important;
    font-weight: 600;
    background-color: transparent !important;
    border-bottom: 5px solid #484ced !important;
}

.custom-tabs::-webkit-scrollbar {
    display: none;
}

.custom-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.card {
    border: 1px solid #e4e4e4;
}


/* price chart */

.price-card{
    background:#fff;
    border-radius: 8px;
    padding:18px;
}

.price-title{
    font-weight:600;
    font-size:15px;
}

.price-sub{
    color:#777;
    font-size:13px;
    margin-bottom:12px;
}

.price-chart{
    display:flex;
    align-items:flex-end;
    height:90px;
    width:100%;
}


.price-bar{
    flex:1;
    background:#c8cbe6;
    border-radius: 3px 3px 0 0;
    position:relative;
    transition:.3s;
}

.price-bar.active{
    background:#ff7b4a;
}

.price-bar span{
    position:absolute;
    top:-22px;
    left:50%;
    transform:translateX(-50%);
    font-size:12px;
    font-weight:600;
    color:#ff7a45;
}

.price-range{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    margin-top:10px;
    color:#2d52ff;
}

.bar-even{
    background:#c9cce8;
}

.bar-odd{
    background:#d9dbf2;
}

.price-bar{
    animation: grow .6s ease;
}

@keyframes grow{
    from{height:0}
}


/* filters */

.filter-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 13px !important;
    font-weight: 500;
}

.filter-chip .pill-close{
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    cursor:pointer;
    font-size:14px;
    line-height:1;
    color: #3e3e3f !important;
}

.filter-pill .pill-close:hover{
    background:#dcdfff;
}

.mobile-filter-rail,
.mobile-search-filter-offcanvas {
    display: none;
}

@media (max-width: 991.98px) {
    /* .property {
        background: #f6f7fb;
    } */

    .res-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .property-top {
        position: sticky;
        top: var(--mobile-sticky-top-offset, 0px);
        z-index: 24;
        margin: 0 -12px 12px;
        padding: 12px 12px 10px;
        background: rgba(246, 247, 251, 0.96);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(27, 39, 66, 0.08);
        transition: top 0.28s ease;
    }

    .property-top .kya-banner {
        margin-top: 10px;
    }

    .mobile-filter-rail {
        display: flex;
        align-items: center;
        gap: 10px;
        overflow: hidden;
        padding: 2px 0 5px;
    }

    .mobile-filter-rail::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-rail .mobile-filter-pill-track {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-right: 2px;
    }

    .mobile-filter-rail .mobile-filter-pill-track::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid #515253;
        border-radius: 999px;
        background: #fff;
        /* color: #202635; */
        color: #494949;
        min-height: 32px;
        padding: 0 12px;
        font-size: 0.8rem;
        font-weight: 500;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .mobile-filter-pill i {
        font-size: 0.8rem;
    }

    .mobile-filter-pill.active {
        border-color: #1776d2;
        box-shadow: 0 0 0 2px rgba(23, 118, 210, 0.12);
    }

    .mobile-filter-rail .mobile-filter-pill-primary {
        position: sticky;
        left: 0;
        z-index: 2;
        flex: 0 0 auto;
        padding-inline: 16px;
        box-shadow: 10px 0 18px rgba(246, 247, 251, 0.92);
    }

    .mobile-filter-pill-count {
        min-width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #1776d2;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0 5px;
    }

    .mobile-search-filter-offcanvas {
        display: block;
        height: 85vh !important;
        max-height: 85vh;
        border-radius: 26px 26px 0 0;
        border: 0;
        box-shadow: 0 -24px 60px rgba(15, 23, 42, 0.22);
        overflow: hidden !important;
        overscroll-behavior-y: none;
        touch-action: pan-y;
    }

    .mobile-filter-sheet {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        background: #fff;
        border-radius: 26px 26px 0 0;
        overflow: hidden;
        overscroll-behavior-y: none;
    }

    .mobile-filter-handle {
        width: 78px;
        height: 5px;
        border-radius: 999px;
        background: #d5d6db;
        margin: 10px auto 4px;
        flex-shrink: 0;
    }

    .mobile-search-filter-offcanvas .offcanvas-header {
        padding: 8px 20px 8px;
    }

    .mobile-filter-close {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: #f0f0f1;
        color: #2b3340;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .mobile-filter-chip-strip {
        padding: 0 20px 12px;
        border-bottom: 1px solid #ededee;
        overflow-x: auto;
        flex-shrink: 0;
        scrollbar-width: none;
    }

    .mobile-filter-chip-strip::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-chip-row {
        display: flex;
        align-items: center;
        gap: 5px;
        width: max-content;
        min-width: 100%;
    }

    .mobile-filter-chip-row .filter-chip {
        margin: 0;
        background: #fff;
        border: 1px solid #b6b8bd;
        color: #61646c;
        padding: 6px 10px;
        gap : 6px;
        font-size: 0.8rem !important;
    }

    .mobile-filter-layout {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        min-height: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .mobile-filter-sidebar {
        background: #f3f3f4;
        border-right: 1px solid #e4e4e7;
        min-height: 0;
        height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mobile-filter-sidebar::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-sidebar-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-filter-sidebar-list li {
        position: relative;
        padding: 16px 14px;
        font-size: 0.92rem;
        line-height: 1.35;
        color: #61646c;
        border-bottom: 1px solid #e2e2e4;
        cursor: pointer;
    }

    .mobile-filter-sidebar-list li.active {
        background: #fff;
        color: #1d2432;
        font-weight: 700;
    }

    .mobile-filter-sidebar-list li.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #1776d2;
    }

    .mobile-filter-scroll {
        padding: 14px 16px 28px;
        min-width: 0;
        overflow-y: auto;
        min-height: 0;
        height: 100%;
        background: #fff;
        overscroll-behavior: contain;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mobile-filter-scroll::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-scroll .filter-title {
        font-size: 1.02rem;
        font-weight: 700;
        margin-bottom: 14px;
    }

    .mobile-filter-scroll .pill-options,
    .mobile-filter-scroll .card-options {
        margin-bottom: 18px;
    }

    .mobile-filter-scroll .form-check {
        margin-bottom: 18px !important;
    }

    .mobile-filter-scroll .form-check-label {
        font-size: 1rem;
        color: #2c3441;
    }

    .mobile-filter-scroll .form-check-input {
        width: 20px;
        height: 20px;
        border-radius: 4px;
        border-color: #b8bbc4;
        box-shadow: none;
    }

    .mobile-filter-scroll .form-check-input:checked {
        background-color: #1776d2;
        border-color: #1776d2;
    }

    .mobile-filter-scroll .pill {
        min-height: 42px;
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .mobile-filter-scroll .range-footer {
        margin-top: 24px;
    }

    .mobile-filter-footer {
        display: flex;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #e7e8eb;
        background: #fff;
        flex-shrink: 0;
    }

    html.mobile-filter-open,
    body.mobile-filter-open {
        overflow: hidden !important;
        height: 100%;
        overscroll-behavior-y: none;
        touch-action: none;
    }

    body.mobile-filter-open .mobile-search-filter-offcanvas,
    body.mobile-filter-open .mobile-filter-sidebar,
    body.mobile-filter-open .mobile-filter-scroll {
        touch-action: pan-y;
    }

    .mobile-filter-footer-btn {
        border-radius: 999px;
        min-height: 44px;
        font-size: 1rem;
        font-weight: 700;
        border: 0;
    }

    .mobile-filter-clear-btn {
        flex: 0 0 96px;
        background: #fff;
        color: #1776d2;
        border: 1px solid #d8dbe2;
    }

    .mobile-filter-apply-btn {
        flex: 1 1 auto;
        background: #1776d2;
        color: #fff;
    }
}

body.search-map-active .desktop-filters {
    display: none !important;
}

body.search-map-active .desktop-filters + .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
}

.property-view.map-linked-highlight .prop-card {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.18), 0 8px 22px rgba(15, 23, 42, 0.12);
}

.map-price-preview {
    display: flex;
    gap: 8px;
    min-width: 220px;
    text-decoration: none;
    color: #111827;
}

.map-price-preview img {
    width: 64px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.map-price-preview .meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.map-price-preview .title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.map-price-preview .price {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color);
}

.map-price-chip {
    position: absolute;
    --stack-shift-y: 0px;
    --stack-shift-x: 0px;
    --chip-scale: 1;
    transform: translate(calc(-50% + var(--stack-shift-x)), calc(-50% + var(--stack-shift-y))) scale(var(--chip-scale));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d9dee8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.map-price-chip:hover {
    --chip-scale: 1.03;
    background: var(--brand-orange);
    color: #ffffff;
    border-color: #d96a28;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.map-price-chip.active {
    --chip-scale: 1.06;
    background: var(--brand-orange);
    color: #ffffff;
    border-color: #d96a28;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.map-price-chip.stack-peer {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.map-price-chip.stacked {
    padding: 6px 10px;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
}

/* ---- Property Details: Overview tab stats ---- */

.overview-stat-item {
    padding: 8px 0 10px;
    border-bottom: 1px solid #f0f0f0;
}

.overview-stat-label {
    display: block;
    font-size: 0.72rem;
    color: #999;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.overview-stat-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* ---- Tab panel slide-in animation ---- */

#propertyTabContent .tab-pane {
    display: none;
    overflow: hidden;
}

#propertyTabContent .tab-pane.active {
    display: block;
}

@keyframes pd-tab-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#propertyTabContent .tab-pane.show.active {
    animation: pd-tab-slide-in 0.32s ease forwards;
}





/* new small view */

  .prop-card-new {
    border-radius: 1rem 1rem 0 1rem !important;
    border: none !important;
  }

  .property-view-new:hover{
    box-shadow: none !important; 
    border-color: none !important; 
  }

  .prop-meta-new {
    line-height: 1.8 !important;
  } 

  .start-rating-new{
    margin-left: 0.5rem !important;
  }

  .card-img-grid-new{
    display: grid !important;
    height: 220px !important;
    gap: 6px !important;
    grid-template-columns: 3fr 1fr !important;
    grid-template-rows: 1fr 1fr 1fr !important;
  }

  .card-img-grid-new .img-main-new{
    grid-row: span 3 !important;
    border-radius: 7px !important;
  }

  .card-img-grid-new .img-sub-new{
    grid-row: span 1 !important;
    border-radius: 7px !important;

  }
  
  .info-box-new {
      width: 100%;
      border-radius: 10px !important;
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      padding: 10px 0 !important;
      margin-top: 10px;
  }

  .info-item-new {
      border: none !important;
      padding: 3px 6px 3px 15px !important;
      margin: 0 !important;
  }

  .info-item-new:nth-child(odd) {
      border-right: 1px solid #eee !important;
  }

  .info-item-new:nth-child(1),
  .info-item-new:nth-child(2) {
      border-bottom: 1px solid #eee !important;
  }


  .nearby-scrollable-new {
      overflow-x: auto;
      display: flex;
      gap: 6px;
      padding-bottom: 4px;
  }

  .card-body-custom-new{
    padding-left: 0 !important;
  }

  .prop-meta-new{
    margin-top: 5px;
    line-height: 1.6 !important;
  }

  .price-text-new {
      font-size: 1.4rem;
  }

  .res-container-new{
    padding: 0 0.5rem !important;
  }

  .card-footer-custom-new{
    padding: 5px 15px;
  }


.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}



.card-actions {
    position: absolute;
    bottom: 0;
    right: -40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 30;
    background: rgba(255, 255, 255, 1);
    box-shadow: none;
    pointer-events: auto;
    background: rgba(255, 255, 255);
    border-radius: 0 1rem 1rem 0 !important;
    padding: 12px 5px;
    border-left: 1.5px solid #f1f2ff;
}

.prop-card-new {
    position: relative;
    overflow: visible;
    margin-right: 40px;
}

.property-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
    align-items: stretch;
}

.property-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.property-grid::-webkit-scrollbar {
    display: none;
}

.property-item {
    flex: 0 0 370px;
    max-width: 370px;
    min-width: 320px;
    margin: 0;
    display: flex;
    height: 100%;
}

.property-view-new,
.prop-card-new {
    height: 100%;
}

#exclusivePropertiesSection .property-view-new .card-body-custom-new {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 8px;
}

#exclusivePropertiesSection .property-view-new .prop-meta-new {
    min-height: 44px;
}

#exclusivePropertiesSection .property-view-new .info-box-new {
    min-height: 92px;
}

#exclusivePropertiesSection .property-view-new .nearby-scrollable-new {
    min-height: 28px;
    max-height: 56px;
    overflow: hidden;
}

#exclusivePropertiesSection .property-view-new .nearby-scrollable-new .nearby-tag {
    line-height: 20px;
}

#exclusivePropertiesSection .exclusive-nearby-spacer {
    min-height: 56px;
    margin-bottom: 12px;
}

#exclusivePropertiesSection .property-view-new .card-body-custom-new .d-flex.justify-content-between.align-items-center.align-items-md-end.mt-2 {
    margin-top: auto;
    padding-top: 8px;
    min-height: 58px;
}

#exclusivePropertiesSection .property-view-new .card-body-custom-new .d-flex.justify-content-between.align-items-center.align-items-md-end.mt-2 > div:first-child {
    min-height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#exclusivePropertiesSection .property-view-new .card-body-custom-new .price-text {
    line-height: 1.1;
}


.property-carousel-wrapper {
    position: relative;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;

    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;

    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.carousel-btn.left {
    left: -10px;
}

.carousel-btn.right {
    right: -10px;
}

.carousel-btn:hover {
    background: #ff7a45;
    color: #fff;
}

@media (max-width: 576px) {
    .carousel-btn {
        display: none;
    }
}

@media (max-width: 1420px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 576px) {
    .property-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 10px;
    }
}

.compare-table td {
    background: #fff;
}

/* alternate columns */
.compare-table tr td:nth-child(odd) {
    background: #fafafe;
}
/* make both tables identical */
.compare-table {
    table-layout: fixed;
    width: 100%;
}

/* fix column widths */
.compare-table th {
    width: 180px;
}

.compare-table td {
    width: calc((100% - 180px) / 3);
}

.compare-footer {
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12) !important;
}
