/* =========================
   RESULTS SECTION
========================= */

.properties_results_section{
    width: 100%;

    padding: 70px 8%;
}

/* =========================
   TOP BAR
========================= */

.properties_results_top{
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 50px;

    flex-wrap: wrap;
}

/* RESULTS COUNT */

.properties_results_count{
    color: white;

    font-size: 18px;
    font-weight: 500;
}

/* ACTIONS */

.properties_results_actions{
    display: flex;

    align-items: center;

    gap: 18px;
}

/* SORT BOX */

.properties_sort_box{
    display: flex;

    align-items: center;

    gap: 12px;

    background: #111;

    border: 1px solid #232323;

    padding: 14px 18px;

    border-radius: 16px;
}

.properties_sort_box span{
    color: #a8a8a8;

    font-size: 14px;
}

/* SELECT */

.properties_sort_select{
    background: transparent;

    border: none;
    outline: none;

    color: white;

    font-size: 14px;
    font-weight: 500;

    font-family: 'Poppins', sans-serif;

    cursor: pointer;
}

/* VIEW BUTTONS */

.properties_view_buttons{
    display: flex;

    gap: 10px;
}

.properties_view_btn{
    width: 44px;
    height: 44px;

    border-radius: 14px;

    border: 1px solid #232323;

    background: #111;

    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.properties_view_btn.active{
    background: #d4a64f;

    color: black;

    border-color: #d4a64f;
}

/* =========================
   GRID
========================= */

.properties_grid{
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 26px;
}

/* =========================
   CARD
========================= */

.property_card{
    background: #0d0d0d;

    border: 1px solid #1d1d1d;

    border-radius: 24px;

    overflow: hidden;

    position: relative;

    transition: 0.4s;
}

.property_card:hover{
    transform: translateY(-6px);

    border-color: #2d2d2d;
}

/* =========================
   IMAGE
========================= */

.property_image_container{
    position: relative;

    width: 100%;
    height: 250px;

    overflow: hidden;
}

.property_image_container img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.property_card:hover .property_image_container img{
    transform: scale(1.06);
}

/* =========================
   PRICE
========================= */

.property_price{
    position: absolute;

    top: 18px;
    left: 18px;

    background: rgba(0,0,0,0.82);

    backdrop-filter: blur(8px);

    color: white;

    padding: 10px 14px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;
}

/* =========================
   FAVORITE
========================= */

.property_favorite{
    position: absolute;

    top: 18px;
    right: 18px;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    border: none;

    background: rgba(20,20,20,0.9);

    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.property_favorite:hover{
    background: #d4a64f;

    color: black;
}

/* =========================
   CONTENT
========================= */

.property_content{
    padding: 24px;

    padding-bottom: 72px;
}

.property_content h3{
    color: white;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.4;

    margin-bottom: 10px;
}

.property_content p{
    color: #9f9f9f;

    font-size: 15px;

    margin-bottom: 18px;
}

/* =========================
   FEATURES
========================= */

.property_features{
    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}

.property_features i{

    margin-right: 5px;

    font-size:20px ;
}

.property_features span{
    color: #d4d4d4;

    font-size: 14px;

}

/* =========================
   BUTTONS
========================= */

.property_buttons{
    display: flex;

    align-items: center;

    gap: 10px;

    position: absolute;

    right: 20px;
    bottom: 18px;
}

/* DETAILS BUTTON */

.property_details{
    background: transparent;

    border: 1px solid rgba(255,255,255,0.12);

    color: white;

    padding: 8px 14px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 500;

    font-family: 'Poppins', sans-serif;

    cursor: pointer;

    transition: 0.3s;
}

.property_details:hover{
    border-color: #d4a64f;

    color: #d4a64f;
}

/* WHATSAPP BUTTON */

.property_whatsapp{
    background: #d4a64f;

    border: none;

    color: black;

    padding: 8px 14px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    font-family: 'Poppins', sans-serif;

    cursor: pointer;

    transition: 0.3s;
}

.property_whatsapp:hover{
    transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1400px){

    .properties_grid{
        grid-template-columns: repeat(3, 1fr);
    }

}

@media(max-width:992px){

    .properties_grid{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:768px){

    .properties_results_section{
        padding-left: 5%;
        padding-right: 5%;
    }

    .properties_results_top{
        flex-direction: column;

        align-items: flex-start;
    }

    .properties_grid{
        grid-template-columns: 1fr;
    }

}

@media(max-width:500px){

    .property_content h3{
        font-size: 18px;
    }

    .property_buttons{
        position: static;

        margin-top: 22px;
    }

    .property_content{
        padding-bottom: 24px;
    }

}