/* ================================
   FILTER BAR BASE
=================================== */
.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    background: #eef6fb;
    border-radius: 10px;
    width: 100%;
    position: relative;
    font-family: Inter, sans-serif;
    position: relative;
    z-index: 1;
}

.filter-reset {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    font-size: 12px;
}

.filter-reset i {
    font-size: 16px;
}

/* ================================
   COMMON DROPDOWN STYLING
=================================== */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dd-toggle {
    background: #ffffff;
    border: 1px solid #d7dfeb;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #495a6a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.dropdown.bhk-dropdown .dd-box {
    width: 101px;
}

.dd-toggle i {
    font-size: 12px;
    color: #697a8d;
}

.dd-box {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 220px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 50;
}

.dd-option {
    padding: 6px 14px;
    background: #f5f5f7;
    border-radius: 20px;
    font-size: 13px;
    color: #495a6a;
    cursor: pointer;
    margin-bottom: 6px;
    border: 1px solid #e5e5e5;
    transition: .2s ease;
    width: fit-content;
}

.dd-option.selected {
    background: #5b6ff2;
    color: #fff;
    border-color: #5b6ff2;
}



.dd-option:hover {
    background: #5b6ff2;
    color: #fff;
}

/* ================================
   BUY / RENT DROPDOWN
=================================== */
.br-box {
    width: 95px;
}

/* ================================
   PROPERTY TYPE DROPDOWN
=================================== */
.property-dropdown .dd-box {
    width: 140px;
}


/* ================================
   UNIT TYPE DROPDOWN
=================================== */
/* UNIT TYPE PILLS */
.unit-list-box {
    /* display: flex; */
    flex-direction: column;
    gap: 10px;
    width: 196px;
}

.unit-pill {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f5f5f7;
    border: 1px solid #e3e3e3;
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
    color: #3a4653;
    width: fit-content;
    transition: 0.2s;
}

/* Selected pill */
.unit-pill.selected {
    background: #5b6ff2;
    color: #fff;
    border-color: #5b6ff2;
}

/* Hover effect */
.unit-pill:hover {
    background: #5b6ff2;
    color: #fff;
    border-color: #5b6ff2;
}


/* ================================
   LOCALITY SEARCH BOX
=================================== */
.locality-group {
    display: flex;
    align-items: center;
    border: 1px solid #d5dee8;
    border-radius: 8px;
    height: 35px;
}

.filter-box {
    padding: 6px 12px;
    background: #fff;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #7f8c97;
    border-right: 1px solid #d5dee8;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.input-box input {
    border: none;
    outline: none;
    font-size: 13px;
    width: 120px;
    background: transparent;
}

.add-localities {
    font-size: 11px;
    font-weight: 500;
    width: 80px;
    justify-content: center;
    text-align: center;
    line-height: 12px;
    padding: 6px 12px;
    height: 33.5px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.locality-group .indoacres__locality-dropdown {
    top: 48px;
}

/* ================================
 BHK DROPDOWN
=================================== */
.bhk-dropdown .dd-box {
    width: auto;
}

/* ================================
 BUDGET DROPDOWN
=================================== */
.budget-dropdown .dd-box {
    width: 300px;
}

.selected-price,
.selected-size {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: #3a4653;
}





/* ================================
 SIZE DROPDOWN
=================================== */
.size-dropdown .dd-box {
    width: 300px;
}


/* ================================
 POSSESSION DROPDOWN
=================================== */
.possession-dropdown .dd-box {
    width: 175px;
}

/* ================================
 AMENITIES (PILLS)
=================================== */
.amenities-box {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 8px;
    width: 150px;
}

/* ================================
 MORE FILTERS
=================================== */
.more-dropdown .dd-box {
    width: 350px;
    right: 0;
    left: auto;
}

.dropdown.has-value::after {
    width: 5px;
    height: 5px;
    border-radius: 100%;
    display: block;
    position: absolute;
    right: 4px;
    top: 4px;
    content: '';
    background: #208cd6;
}

.more-dropdown .dd-box h4 {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    margin-bottom: 10px;
}
.more-dropdown .dd-box .pills-group{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.more-dropdown .dd-box .dd-option{
    font-size: 12px;
    margin: 0;
}
.filter-mobile-wrapper {
    display: none;
}

@media (max-width: 767px) {
    .filter-mobile-wrapper {
        display: block;
        background: #eef6fb;
    }

    .filter-bar-desktop {
        display: none;
    }

    .filter-bar-wrapper {
        display: flex;
        position: relative;
        overflow: visible !important;
    }

    /* Top row */
    .filter-mobile-top {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 10px 5px;
    }

    .filter-mobile-top-input {
        display: flex;
        width: 100%;
    }

    .back-arrow {
        font-size: 16px;
    }

    .mobile-search {
        flex: 1;
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid #ddd;
        color: #8d9797;
        font-size: 13px;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        outline: none;
    }

    .localities-btn {
        background-color: #ffffff;
        border: 1px solid #ddd;
        color: #495a6a;
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 8px;
        border-left: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 400;
        width: auto;
        height: 36.5px
    }

    /* Second row — scroll chips */
    .filter-bar-mobile {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        padding: 5px 10px 10px;
        white-space: nowrap;
    }

    .filter-bar-mobile {
        -ms-overflow-style: none;
        /* IE & Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .filter-bar-mobile::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .filter-bar-mobile {
        scroll-behavior: smooth;
    }


    .filter-bar-fixed {
        display: flex;
        gap: 5px;
        padding: 5px 10px 10px;
        z-index: 9;
    }

    .filter-bar-fixed .filters-btn,
    .filter-bar-fixed .reset-btn {
        color: #495a6a;
        font-size: 11px;
        background: #e3eff6;
        border: 1px solid #d8e6ff;
        padding: 6px 12px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .filter-bar-fixed .reset-btn{
        padding: 5px;
    }

    .filter-bar-fixed .reset-btn img {
        width: 14px;
        height: auto;
    }


    .dd-toggle {
        border: 1px solid #e3eff6;
        font-size: 11px;
        color: #495a6a;
    }


    #mobile-dd-layer {
        position: absolute;
        /* as you want */
        top: 0;
        left: 0;
        width: 100%;
        pointer-events: none;
        /* allow click through except dropdown */
        z-index: 99999;
    }

    #mobile-dd-layer .dd-box {
        position: absolute !important;
        width: calc(100% - 20px);
        left: 10px;
        background: #fff;
        border-radius: 10px;
        padding: 15px;
        border: 1px solid #ddd;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        display: block;
        pointer-events: auto;
        /* dropdown clickable */
    }

    #mobile-dd-layer .dd-box {
        display: flex;
        gap: 8px !important;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dd-radio-option input[type="radio"] {
        transform: scale(1.1);
    }

    #mobile-dd-layer .dd-radio-option {
        gap: 6px;
        font-size: 11px;
    }

    #mobile-dd-layer .unit-pill,
    #mobile-dd-layer .dd-option {
        margin-bottom: 0;
        font-size: 11px;
        padding: 4px 14px;
    }

    /* hide the original dropdowns */
    .filter-bar-mobile .dd-box {
        display: none !important;
    }

    .filter-mobile-wrapper .indoacres__filter-advanced1 {
        background: #ebf4f9;
        position: fixed;
        top: 46px;
        height: 100dvh;
        width: 100%;
        padding: 16px;
        gap: 25px;
        font-family: 'Inter', sans-serif;
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        display: none;
        overflow-y: auto;
        padding-bottom: 100px;
    }

    .filter-mobile-wrapper .indoacres__filter-section {
        gap: 10px;
        position: relative;
    }

    .filter-mobile-wrapper .indoacres__filter-tabs,
    .filter-mobile-wrapper .indoacres__filter-bar {
        max-width: 100%;
        width: 100%;
    }

    .filter-mobile-wrapper .indoacres__filter-action {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .filter-mobile-wrapper .filter-location-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .filter-mobile-wrapper .filter-location-header .location-text {
        font-size: 13px;
        color: #000000;
    }

    .search-properties-btn {
        width: calc(100% - 32px);
        padding: 12px;
        background: #6366F1;
        color: #fff;
        border-radius: 10px;
        border: none;
        font-size: 13px;
        position: fixed;
        bottom: 0;
        left: 16px;
        right: 16px;
        z-index: 1000;
    }
}


.list-section {
    padding: 40px 0;
}

.property-card-list {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.property-card {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    display: flex;
    gap: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    font-family: "Inter", sans-serif;
    margin-bottom: 30px;
}

/* ------------------ LEFT SLIDER ------------------ */

.prop-slider-wrapper {
    width: 40%;
    position: relative;
    z-index: 0;
}

.prop-slider,
.prop-slider div {
    height: 100%;
}

.prop-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;

}

.prop-badge-top {
    position: absolute;
    top: 20px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 9;
}

.badge {
    display: flex;
    gap: 5px;
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    width: fit-content;
}

.badge.blue {
    background: #091e42;
}

.badge.blue span {
    background: linear-gradient(90deg, #72c7ff, #cfa6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge.green {
    color: #8efff9;
    background-color: #091e42;
}

.prop-save {
    position: absolute;
    top: 12px;
    right: 12px;
    /* background: #fff; */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    cursor: pointer;
    font-size: 24px;
    cursor: pointer;
}

.prop-save i {
    transition: transform .3s ease, color .3s ease;
}

.prop-save.active i {
    color: #5b6ff2;
    animation: beat .45s cubic-bezier(0.04, 0.4, 0.5, 0.95) forwards;
}

@keyframes beat {
    30% {
        transform: scale(1.4);
    }

    50% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}


.prop-slider .slick-prev {
    left: 10px;
}

.prop-slider .slick-next {
    right: 10px;
}

.prop-slider .slick-prev,
.prop-slider .slick-next {
    /* background: rgba(255, 255, 255, 0.7) !important; */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 0;
}

.prop-slider .slick-prev::before,
.prop-slider .slick-next::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: #ffffff;
}

.prop-slider .slick-next::before {
    content: "\f054";
}

.prop-slider .slick-prev::before {
    content: "\f053";
}



/* ------------------ RIGHT SIDE CONTENT ------------------ */

.prop-info {
    width: 60%;
}

.prop-title {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 12px;
    background-color: #f1f1f1;
    border-top-right-radius: 14px;
}

.prop-title i {
    font-size: 11px;
    color: #52626b;
}

.prop-price-row {
    display: flex;
    gap: 50px;
    margin-bottom: 14px;
    margin-top: 5px;
    padding: 0 20px;
}

.price-main {
    font-size: 16px;
    font-weight: 600;
    color: #73787b;
}

.price-sub {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    font-weight: 500;
    color: #73787b;
}

.area-range {
    font-size: 14px;
    font-weight: 400;
    color: #73787b;
}

.ready {
    font-size: 13px;
    font-weight: 400;
    color: #73787b;
    text-decoration: underline;
}

.prop-unit-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 16px;
    padding: 0 21px;
}

.prop-unit-grid .slick-list {
    margin: 0 -20px;
}

.prop-unit-slider .slick-arrow.slick-disabled,
.prop-unit-slider .slick-arrow.slick-disabled {
    opacity: 0;
}

.prop-unit-slider .slick-arrow,
.prop-unit-slider .slick-arrow {
    background-color: #d8dbdb;
    border-radius: 50%;
    height: 19px;
    width: 19px;
    z-index: 9;
}

.prop-unit-slider .slick-prev {
    left: 10px;
}

.prop-unit-slider .slick-next {
    right: 10px;
}

.prop-unit-slider .slick-prev::before {
    content: "\f053";
}

.prop-unit-slider .slick-next::before {
    content: "\f054";
}

.prop-unit-slider .slick-prev::before,
.prop-unit-slider .slick-next::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 8px;
    color: #000000;
}

.unit-box {
    position: relative;
    padding: 0 20px;
}

.unit-box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    width: 1px;
    height: 80%;
    background: #d9d9d9;
}

.unit-type {
    font-size: 11px;
    font-weight: 500;
    color: #73787b;
}

.unit-size {
    font-size: 11px;
    font-weight: 400;
    color: #73787b;
}

.unit-price {
    font-size: 12px;
    color: #000000;
    font-weight: 600;
}

.prop-highlights {
    font-size: 12px;
    color: #52626b;
    line-height: 1.4;
    margin-bottom: 18px;
    padding: 0 20px;
}

.prop-highlights strong {
    text-decoration: underline;
    font-weight: 400;
}

.prop-highlights .highlight-more {
    color: #52626b;
    font-weight: 600;
    margin-left: 6px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}

#highlightsModal .modal-body {
    position: relative;
    font-size: 13px;
}

#highlightsModal .modal-body .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

#highlightsModal .modal-body a {
    text-decoration: none;
    color: #065c8c;
    font-weight: 500;
}

/* ------------------ FOOTER ------------------ */

.prop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-bottom-right-radius: 14px;
}

.prop-project {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prop-project>div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.prop-project img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.proj-name {
    font-size: 13px;
    font-weight: 600;
    color: #666666;
}

.proj-by {
    font-size: 11px;
    color: #666666;
}

.prop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.owner-info {
    font-size: 12px;
}

.owner-info span {
    font-weight: 700;
}

.whatsapp {
    background-color: #19ba7e;
    color: #fff;
    border: none;
    padding: 5px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.contact-btn {
    background: #194eb6;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.property-card--type1 .prop-slider-wrapper {
    width: 260px;
}

.property-card--type1 .prop-info {
    width: calc(100% - 260px)
}

.property-card--type1 .owner-info,
.property-card--type2 .owner-info {
    display: none;
}

.property-card--type2 .prop-slider-wrapper {
    width: 300px;
}

.property-card--type2 .prop-info {
    width: calc(100% - 300px)
}

.property-card--type2 .prop-title {
    background-color: transparent;
    color: #333333;
    padding-top: 20px;
    margin-bottom: 0;
}

.property-card--type2 .prop-title span {
    font-size: 9px;
    padding: 4px 10px;
    border-radius: 10px;
    background-color: #959595;
    color: #ffffff;
}

.property-card--type2 .price-main {
    color: #333333;
}

.property-card--type2 .price-sub select {
    font-size: 13px;
    color: #73787b;
    border: 0;
    cursor: pointer;
    outline: none;

}

.property-card--type2 .prop-project>div {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: start;
    line-height: normal;

}

.property-card--type2.resale .price-sub .sqft {
    font-size: 13px;
    color: #73787b;
}

.property-card--type2.resale .price-sub .cents {
    font-size: 13px;
    color: #73787b;
}

.property-card--type2.plot .price-sub .sqft {
    font-size: 13px;
    color: #73787b;
}

.property-card--type2.plot .price-sub .cents {
    font-size: 13px;
    color: #73787b;
}

.property-card--type2.resale .prop-title {
    line-height: 17px;
}

.property-card--type2.resale .price-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.property-card--type2.resale .price-right .price-main {
    grid-column: span 1;
    /* left 50% */
}

.property-card--type2.resale .price-right .price-sub {
    grid-column: span 1;
    /* right 50% */
}

.property-card--type2.resale .price-right .plot-area {
    grid-column: 1 / span 2;
    /* full width 100% */
    font-size: 13px;
    color: #73787b;
    font-weight: 600;
}

.property-card--type2.plot .price-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.property-card--type2.plot .price-right .price-main {
    grid-column: span 1;
    /* left 50% */
}

.property-card--type2.plot .price-right .price-sub {
    grid-column: span 1;
    /* right 50% */
}

.property-card--type2.plot .price-right .plot-area {
    grid-column: 1 / span 2;
    /* full width 100% */
    font-size: 13px;
    color: #73787b;
    font-weight: 600;
}

.property-card--type2.plot .prop-project>div {
    flex-direction: row;
    gap: 5px;
}

.panel-active {
    display: block !important;
}

.back-icon-btn {
    background: none;
    border: none;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-icon-btn i {
    font-size: 16px;
}

/* ------------------ MOBILE VIEW ------------------ */

@media (max-width: 767px) {

    .property-card {
        flex-direction: column;
        max-width: 100%;
        position: relative;
    }

    .prop-slider-wrapper {
        width: 100% !important;
    }

    .prop-slider img {
        height: 220px;
        border-radius: 10px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .prop-info {
        width: 100% !important;
    }

    .prop-price-row {
        gap: 20px;
        padding: 0 15px;
    }

    .prop-highlights {
        padding: 0 15px;
    }

    .prop-unit-grid {
        padding: 0 16px;
    }

    .property-card--type2 .prop-title {
        padding: 20px 15px 10px 15px;
    }

    .prop-unit-grid .slick-list {
        margin: 0 -20px;
    }

    .property-card--type2.plot .price-right {
        grid-template-columns: auto;
    }

    .price-main {
        font-size: 15px;
    }

    .unit-box {
        width: 48%;
        padding: 0 20px;
    }
    .unit-box:not(:last-child)::after{
        right: 10px;
    }
    .prop-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        border-bottom-left-radius: 14px;
    }

    .prop-footer .prop-project {
        position: absolute;
        top: 170px;
        left: 10px;
    }

    .prop-footer .prop-project>div {
        flex-direction: column;
        gap: 0;
        line-height: normal;
        align-items: start;
    }

    .prop-footer .prop-project .proj-name,
    .prop-footer .prop-project .proj-by {
        color: #ffffff;
    }

    .prop-footer .prop-actions {
        justify-content: space-between;
        width: 100%;
    }

    .owner-info span {
        font-style: italic;
    }

    .contact-btn {
        width: auto;
        text-align: center;
    }

    .list-section {
        padding: 25px 0;
    }

    .property-card--type1 .owner-info,
    .property-card--type2 .owner-info {
        display: block;
        width: 55%;
        text-align: left;
    }

    .property-card--type2.plot .prop-footer {
        flex-direction: row;
        align-items: center;
    }

    .property-card--type2.plot .prop-footer .prop-project {
        display: block;
        flex-basis: 58%;
        position: static;
    }

    .property-card--type2.plot .prop-footer .prop-project .owner-info {
        width: 100%;
    }

    .property-card--type2.plot .prop-footer .prop-actions {
        flex-basis: 45%;
    }

}