/* Base Imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global Reset (Assuming the main project has one, included here for completeness) */
.property-list-section * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* ======================================= */
/* ====== PROPERTY LIST SECTION (SECTION 2) ====== */
/* ======================================= */

.property-list-section {
    width: 100%;
    height: auto;
    background-color: #F2F9F4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.property-list-container {
    width: 1200px;
    height: 100%;
    /*padding-top: 100px;*/
    padding-bottom: 50px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* --- Header Section (Title, Description, and Icons) --- */
.property-list-header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.property-list-title-and-description {
    height: 102px;
    width: auto;
    flex: 1;
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    flex-direction: column;
}

.property-list-title-and-description h1 {
    font-size: 30px;
    font-weight: 600;
}

.property-list-title-and-description p {
    font-weight: 400;
    font-size: 14px;
    padding-inline-end: 37%;
    color: black;
}

.property-list-icons {
    display: flex !important;
    justify-content: space-between;
    width: auto;
    cursor: pointer;
    gap: 12px;
}

.property-list-icons button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 32px;
    color: black;
    transition: color 0.3s ease;
}

.property-list-icons button.active {
    color: #46AD67 !important;
}

/* Tooltip Styles */
.property-list-icons button {
    position: relative;
    /* Ensure relative positioning for absolute tooltip */
}

.property-list-icons button[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.property-list-icons button[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 90;
}

/* --- Tabs (View and Sort Buttons) --- */
.property-list-tabs {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 15px;
    gap: 20px;
}

.property-list-tab-btn {
    width: auto;
    padding: 0 4%;
    height: 39px;
    background: none;
    border: none;
    border-bottom: 1px solid black;
    color: black;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.property-list-tab-btn.active {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1.5px solid #46AD67;
    color: #46AD67;
    font-weight: 500;
}

.property-list-sort-btn,
.property-list-sort-price-btn {
    cursor: pointer;
    color: #333;
    border-bottom: 1px solid black;
}

.property-list-sort-btn:hover,
.property-list-sort-price-btn:hover {
    color: #46AD67;
    border-bottom: 2px solid #46AD67;
}

/* --- Tab Content Display Logic --- */
.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

/* --- Property Cards Container --- */
.property-list-cards {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    transition: all 0.3s ease;
    height: 930px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.property-list-cards::-webkit-scrollbar {
    display: none;
}

.property-list-cards.active {
    display: grid;
    /* Default to Grid/Gallery View */
}

.property-list-cards.list-view.active {
    display: flex !important;
    flex-direction: column;
    gap: 30px;
}


/* --- INDIVIDUAL PROPERTY CARD (Common Styles) --- */
.property-list-card {
    width: 100%;
    height: 490px;
    border-radius: 20px;
    box-shadow: 0px 1px 10px 3px rgb(195, 195, 195);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    /* Ensure card background is white */
}

.property-list-card:not(.list-view):hover {
    box-shadow: 0px 1px 10px 3px rgba(195, 195, 195, 0.5), inset 0 0 0 2px #46AD67;
    transform: translateY(-2px);
}

/* Card Image Containers */
.property-list-card-image {
    position: relative;
    height: 339px;
    width: 100%;
    border-radius: 20px 20px 0px 0px;
    background-position: center;
    background-size: cover;
}

.property-list-card-image .like-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    height: 35px;
    width: 35px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 22px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
}

.property-list-card-image .like-btn.active {
    color: red;
}

/* Card Description/Content Area */
.property-list-card-content {
    height: 151px;
    width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}

.property-list-content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-list-content-top h1 {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
}

/* More Button Dropdown */
.property-list-more-container {
    position: relative;
    display: inline-block;
}

.property-list-more-btn {
    font-size: 18px;
    cursor: pointer;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background-color: #46ad6712;
}

.property-list-more-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    min-width: 30px;
    overflow: hidden;
    z-index: 10;
}

.property-list-more-dropdown a {
    padding: 8px 7px;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.property-list-more-dropdown a:hover {
    background: #f5f5f5;
}

.property-list-more-container.active .property-list-more-dropdown {
    display: flex;
}

/* Amenities (Beds/Baths/Size) */
.property-list-amenities {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    color: #333;
}

.property-list-amenities span {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-list-amenities span img {
    height: 16px;
    width: 16px;
}

/* Name and Location */
.property-list-name-location {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.property-list-name-location .property-list-name {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.property-list-name-location .property-list-location {
    font-size: 14px;
    color: #717171;
    font-weight: 400;
    margin: 0;
}

/* Property Tags/Type (Hidden in Grid View) */
.property-list-name-location span {
    display: none;
}

/* Description Block (Hidden in Grid View) */
.property-list-description-block {
    display: none;
    margin-top: 10px;
    position: relative;
    font-size: 14px;
    color: #444;
}

.property-list-description-text {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    line-height: 1.5;
    padding-right: 10px;
}

.property-list-description-block.expanded .property-list-description-text {
    max-height: 500px;
}

.property-list-readmore-btn {
    width: 100px;
    height: 30px;
    border-radius: 5px;
    background: #46AD67;
    border: none;
    color: white;
    cursor: pointer;
    margin-top: 15px;
    font-size: 15px;
    padding: 0;
    transition: background 0.3s ease;
}

.property-list-readmore-btn:hover {
    background: #218838;
}

/* --- LIST VIEW SPECIFIC STYLES --- */
.property-list-cards.list-view .property-list-card {
    height: 350px !important;
    flex-direction: row;
    border: 1px solid #46AD67;
    box-shadow: none;
}

.property-list-cards.list-view .property-list-card .property-list-card-image {
    border-radius: 20px 0 0 20px;
    width: 30%;
    /* Image takes 30% width */
    height: 100%;
}

.property-list-cards.list-view .property-list-card .property-list-card-content {
    height: 100%;
    width: 70%;
    /* Content takes 70% width */
    border-radius: 0;
    justify-content: flex-start !important;
    padding: 15px;
    padding-left: 20px;
    gap: 15px;
}

.property-list-cards.list-view .property-list-card .property-list-content-top h1 {
    font-size: 18px;
}

.property-list-cards.list-view .property-list-card .property-list-content-top h1 img {
    width: 20px;
    height: 20px;
}

.property-list-cards.list-view .property-list-card .property-list-amenities {
    margin-top: 5px;
    gap: 15px;
}

.property-list-cards.list-view .property-list-card .property-list-name-location .property-list-name {
    font-size: 16px;
    margin-top: 5px;
}

.property-list-cards.list-view .property-list-card .property-list-description-block {
    display: block;
    /* Show description block in List View */
}



/* Ensure Map and Combined views are hidden when not active */
.property-list-map:not(.active),
.property-list-combined:not(.active) {
    display: none !important;
}

/* --- MAP SECTION --- */

.property-list-map {
    width: 100%;
    height: 859px;
    border-radius: 20px;
}

/* --- COMBINED SECTION (List + Map) --- */
.property-list-combined {
    width: 100%;
    height: 930px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    gap: 15px;
}

/* LEFT SIDE – Property Cards (Combined View) */
.property-list-combined-left {
    width: 63%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    scrollbar-width: none;
}

.property-list-combined-left::-webkit-scrollbar {
    display: none;
}

/* Card in Combined View (Overrides for Combined Left) */
.property-list-combined-left .property-list-card {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 300px;
    /* Adjusted height for combined view */
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.property-list-combined-left .property-list-card .property-list-card-image {
    width: 50%;
    height: 100%;
    border-radius: 16px 0 0 16px;
}

.property-list-combined-left .property-list-card .property-list-card-content {
    width: 50%;
    height: 100%;
    padding: 18px 20px;
    border-radius: 0 16px 16px 0;
    gap: 15px;
}

/* RIGHT SIDE – Map (Combined View) */
.property-list-combined-right {
    width: 37%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #e6f1eb;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#property-list-combinedMap {
    width: 100%;
    height: 100%;
    border: none;
}


/* ======================================= */
/* ====== RESPONSIVE DESIGN (Media Queries) ====== */
/* ======================================= */

@media (max-width: 992px) {
    .property-list-container {
        width: 90%;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .property-list-title-and-description {
        flex-direction: column;
        height: auto;
        gap: 20px;
        align-items: flex-start;
    }

    .property-list-title-and-description p {
        padding-inline-end: 0;
    }

    .property-list-icons {
        align-self: flex-end;
    }

    /* Tabs */
    .property-list-tabs {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .property-list-tab-btn {
        font-size: 16px;
        padding: 0 3%;
    }

    /* Grid View - 2 columns */
    .property-list-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* List View (stacked) */
    .property-list-cards.list-view .property-list-card {
        height: auto !important;
        flex-direction: column;
    }

    .property-list-cards.list-view .property-list-card .property-list-card-image {
        border-radius: 20px 20px 0 0;
        width: 100%;
        height: 250px;
    }

    .property-list-cards.list-view .property-list-card .property-list-card-content {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    /* Combined Section (stacked) */
    .property-list-combined {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .property-list-combined-left,
    .property-list-combined-right {
        width: 100%;
        height: 500px;
    }

    .property-list-combined-left .property-list-card {
        flex-direction: column;
        height: auto !important;
    }

    .property-list-combined-left .property-list-card .property-list-card-image {
        width: 100%;
        height: 200px;
    }

    .property-list-combined-left .property-list-card .property-list-card-content {
        width: 100%;
    }

    /* Map */
    .property-list-map {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .property-list-container {
        width: 95%;
        padding-top: 60px;
        padding-bottom: 30px;
    }

    /* Tabs - 2x2 Grid Layout */
    .property-list-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Ocultar List View y Combined en móvil */
    .property-list-tab-btn[data-tab="list"],
    .property-list-tab-btn[data-tab="combined"] {
        display: none !important;
    }

    .property-list-tab-btn {
        width: 100%;
        font-size: 14px;
    }

    .property-list-sort-btn {
        grid-column: 1 / -1;
        font-size: 13px;
    }

    /* Grid View - 1 column */
    .property-list-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .property-list-container {
        width: 100%;
        padding: 50px 15px 30px;
    }

    .property-list-title-and-description h1 {
        font-size: 22px;
    }

    .property-list-title-and-description p {
        font-size: 12px;
    }

    .property-list-icons {
        width: 100%;
        justify-content: flex-end;
    }

    /* Combined & Map */
    .property-list-combined-left,
    .property-list-combined-right {
        height: 350px;
    }

    .property-list-map {
        height: 400px;
    }
}

/* ======================================= */
/* ====== GALLERY VIEW STYLES (Grid Cards) ====== */
/* ======================================= */

/* Main Grid Container for Gallery View */
.sec_2_2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    justify-items: stretch;
    padding-bottom: 20px;
}

/* Individual Property Card in Gallery View */
.sec_2_2>div {
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    box-shadow: 0px 1px 10px 3px rgb(195, 195, 195);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

/* Card Image Section */
.sec_2_2>div .sec_2_2_img1 {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
}

/* Like Button in Gallery View */
.sec_2_2_img1 .like {
    position: absolute;
    right: 20px;
    top: 20px;
    height: 35px;
    width: 35px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 22px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

/* Gallery View Image */
div.sec_2_2_img1>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.sec_2_2_img1 .like:hover {
    color: red;
}

.sec_2_2_img1 .like:active {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

.sec_2_2_img1 .like.active {
    color: red;
}

/* Card Description Section */
.sec_2_2>div .sec_2_2_des {
    min-height: 180px;
    width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}

/* Ocultar descripción solo en Gallery View (no en List View) */
.sec_2_2>div:not(.list-view) .property-description {
    display: none !important;
}

/* Mostrar los botones en Gallery View */
.sec_2_2>div:not(.list-view) .property-description-section {
    margin-top: auto;
    display: flex !important;
    flex-direction: column;
    padding-top: 5px;
    gap: 8px;
}

.sec_2_2>div:not(.list-view) .property-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    align-items: center;
}

/* Estilo de enlaces en lugar de botones para Gallery View */
.sec_2_2>div:not(.list-view) .read-more-btn,
.sec_2_2>div:not(.list-view) .view-property-btn {
    background: none;
    color: #46AD67;
    border: none;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    width: auto;
    text-align: left;
    text-decoration: none;
}

.sec_2_2>div:not(.list-view) .read-more-btn:hover,
.sec_2_2>div:not(.list-view) .view-property-btn:hover {
    color: #2d8048;
    text-decoration: underline;
}

.sec_2_2>div .read-more-btn:hover,
.sec_2_2>div .view-property-btn:hover {
    /*background: #3d9558;*/
}

/* Ocultar precio en el header de Gallery View */
.sec_2_2>div .property-header {
    display: none !important;
}

/* Card Header (Name/Location) */
.sec_2_2>div .sec_2_2_des1 {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.sec_2_2>div .sec_2_2_des1 h1 {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
}

.sec_2_2>div .sec_2_2_des1 .property-name,
.property-location {
    margin: 0;
}

/* Card Amenities (Beds/Baths/Size) */
.sec_2_2>div .sec_2_2_des2 {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.sec_2_2_des2 {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    color: #333;
}

.sec_2_2>div .sec_2_2_des2 span {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sec_2_2>div .sec_2_2_des2 span img {
    height: 16px;
    width: 16px;
}

/* Property Type Section - Always at bottom */
.sec_2_2>div .sec_2_2_des3 {
    display: flex;
    flex-direction: row;
    gap: 4px;
    border-top: #ccc solid 1px;
    padding-top: 10px;
    margin-top: auto;
}

.sec_2_2>div .sec_2_2_des3 span {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ocultar sec_2_2_des3 en List View */
.property-card.list-view .sec_2_2_des3 {
    display: none !important;
}

/* Price Tag Overlay */
.price-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* Slider Wrapper for Card Images */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.property-slider {
    width: 100%;
    height: 100%;
}

.slider-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slick Slider Arrows */
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slick-arrow:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 20px;
    color: #333;
}

/* Responsive Adjustments for Gallery View */
@media (max-width: 768px) {
    .sec_2_2 {
        grid-template-columns: 1fr;
    }

    .sec_2_2>div {
        min-height: 350px;
    }

    .sec_2_2>div .sec_2_2_img1 {
        height: 200px;
    }

    div.sec_2_2_img1>img {
        height: 200px;
    }
}

/* Override Slick Slide Height for Prefilter Block */
.property-slider .slick-slide {
    height: 100% !important;
}

.property-slider .slick-slide>div {
    height: 100%;
    width: 100%;
}

.img-slider {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
}

/* Ensure entire Slick hierarchy respects height */
.property-slider .slick-list,
.property-slider .slick-track {
    height: 100% !important;
}

/* Load More Button Style */
#property-list-loadMoreBtn {
    background: #46AD67;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

#property-list-loadMoreBtn:hover {
    background: #3d9558;
}

/* Filter Panel Styles */
.property-list-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.property-list-filter-panel {
    position: fixed;
    top: 0;
    right: -400px;
    /* Hidden via translation */
    width: 350px;
    height: 100%;
    background: white;
    z-index: 9999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-list-filter-panel.open {
    right: 0;
}

.filter-panel-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.filter-panel-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.filter-panel-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.filter-panel-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    display: flex;
    gap: 10px;
}

.filter-panel-footer button {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

#apply-filters-btn {
    background: #46AD67;
    color: white;
    border: none;
}

#reset-filters-btn {
    background: white;
    border: 1px solid #ddd;
    color: #666;
}

/* Mobile Button Labels - Hidden by Default */
.mobile-btn-label {
    display: none;
}

@media (max-width: 480px) {
    .property-list-filter-panel {
        width: 100%;
        right: -100%;
    }

    .property-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .property-list-title-and-description {
        width: 100%;
        padding-right: 0;
    }

    .property-list-title-and-description p {
        padding-inline-end: 0;
    }

    .property-list-icons {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .property-list-icons button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid #46AD67;
        border-radius: 50px;
        padding: 8px 16px;
        font-size: 14px;
        color: #46AD67;
        height: auto;
        width: auto;
    }

    .property-list-icons button i {
        font-size: 16px;
    }

    .property-list-icons button.active {
        background-color: #46AD67;
        color: white !important;
    }

    .mobile-btn-label {
        display: inline-block;
        font-weight: 500;
    }

    /* Disable Tooltip on mobile */
    .property-list-icons button[data-tooltip]:hover::after,
    .property-list-icons button[data-tooltip]:hover::before {
        display: none;
    }

    #property-list-listBtn,
    #property-list-combinedBtn {
        display: none !important;
    }

    .property-list-tabs {
        width: 100%;
        display: block;
        text-align: center;
    }

    .property-list-tab-btn {
        width: 100% !important;
        display: block;
        text-align: center;
        padding: 10px 0;
        margin: 0 auto;
    }
}

/* Accordion Styles */
.filter-accordion {
    border-bottom: 1px solid #eee;
}

.filter-accordion summary {
    list-style: none;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.filter-accordion summary::-webkit-details-marker {
    display: none;
}

.filter-accordion summary span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-accordion summary i {
    font-size: 18px;
    color: #46AD67;
}

.filter-accordion summary .arrow-icon {
    color: #999;
    transition: transform 0.3s ease;
}

.filter-accordion[open] summary .arrow-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding-bottom: 15px;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 20px 0;
}

.scrollable-options {
    max-height: 200px;
    overflow-y: auto;
}

/* Chip Styles */
.filter-checkbox {
    display: none;
    /* Hide default checkbox */
}

.filter-option-wrapper {
    display: inline-block;
    margin: 0;
}

.filter-label-styled {
    display: inline-flex;
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background-color: #f9f9f9;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    font-size: 0.9rem;
}

.filter-label-styled:hover {
    border-color: #999;
}

.filter-checkbox:checked~.filter-label-styled {
    background-color: #46AD67 !important;
    color: #fff !important;
    border-color: #46AD67 !important;
}

.scrollable-options::-webkit-scrollbar {
    width: 4px;
}

.scrollable-options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.filter-checkbox {
    margin-right: 10px;
    accent-color: #46AD67;
}

.options-container label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    font-size: 14px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

/* No Results State */
.property-list-no-results {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.property-list-no-results p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    max-width: 600px;
}

.property-list-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #46AD67;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    font-size: 1rem;
}

.property-list-search-btn:hover {
    background-color: #3e9b5b;
    color: white;
    text-decoration: none;
}

.property-list-search-btn i {
    font-size: 1.2rem;
}