/* ===================================
   TAPEMLAK PROPERTY CARDS
=================================== */

.properties-row{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:32px;
}

.property-card{
    background:#fff;
    border:none;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    transition:.3s ease;
}

.property-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.property-card-img{
    position:relative;
    height:260px;
    overflow:hidden;
}

.property-card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.property-card:hover .property-card-img img{
    transform:scale(1.05);
}

.property-card-body{
    padding:18px;
}

.property-card-title{
    font-size:18px;
    font-weight:700;
    line-height:1.5;
    min-height:54px;
}

.property-card-loc{
    color:#8b7355;
    font-size:14px;
    margin-bottom:12px;
}

.property-card-meta{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    color:#6b7280;
    font-size:14px;
    margin-bottom:14px;
}

.property-card-price{
    margin-top:auto;

    font-size:34px;
    font-weight:800;

    color:#000;
}
.vip-badge{
    position:absolute;
    top:12px;
    left:12px;

    background:#c89b3c;
    color:#fff;

    padding:6px 12px;
    border-radius:30px;

    font-size:12px;
    font-weight:700;

    z-index:5;
}

.premium-badge{
    position:absolute;
    top:12px;
    left:12px;

    background:#1f2937;
    color:#fff;

    padding:6px 12px;
    border-radius:30px;

    font-size:12px;
    font-weight:700;

    z-index:5;
}

.fav-btn{
    position:absolute;
    top:12px;
    right:12px;

    width:40px;
    height:40px;

    border:none;
    border-radius:50%;

    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.12);

    z-index:10;
}

@media(max-width:1200px){
    .properties-row{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .properties-row{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:480px){
    .properties-row{
        grid-template-columns:1fr;
    }
}

.property-card{
    border:1px solid #f1ece3;
}

.property-card:hover{
    border-color:#c89b3c;
}

.property-card{
    background:#fff;
    border:none;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    transition:.3s ease;

    display:flex;
    flex-direction:column;

    height:auto;
    min-height:0;
}

.property-card-body{
    padding:18px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    flex:1;
}

.property-card-title{
    font-size:17px;
    font-weight:700;
    line-height:1.45;
    color:#1f2937;

    min-height:50px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;

    margin-bottom:10px;
}

.property-card-meta{
    margin-bottom:14px;
    min-height:22px;
}

.property-card-content{
    flex:none;
}

.property-card-price{
    margin-top:auto;
}

.property-card{
    background:#fff;
    border:1px solid #f1ece3;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
}

.property-card:hover{
    transform:translateY(-6px);
    border-color:#c89b3c;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.property-card-price{

    margin-top:10px;

    padding-top:0;

    font-size:28px;

}

.property-card-title{
    font-size:17px;
    font-weight:700;
    line-height:1.45;
    color:#1f2937;

    min-height:auto;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    margin-bottom:10px;
}

.property-card{
    display:flex;
    flex-direction:column;
    border-radius:18px;
    overflow:hidden;

    height:auto;
    min-height:unset;
}

.property-card img{
    height:240px;
    object-fit:cover;
}

.property-price-box{

    padding:30px;

}

.property-price-main{

    font-size:56px;

    font-weight:800;

    line-height:1;

    color:#c88400;

}

.property-price-per-m2{

    display:inline-block;

    margin-top:18px;

    padding:10px 18px;

    background:#d18a00;

    color:#fff;

    border-radius:10px;

    font-size:28px;

    font-weight:700;

}

.property-badges{

    margin-top:22px;

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}

.badge-doc{

    background:#e8f7e8;

    color:#198754;

    padding:9px 16px;

    border-radius:30px;

    font-weight:700;

}

.badge-mortgage{

    background:#fff4dc;

    color:#b06a00;

    padding:9px 16px;

    border-radius:30px;

    font-weight:700;

}

.badge-repair{

    background:#eef3ff;

    color:#2457d6;

    padding:9px 16px;

    border-radius:30px;

    font-weight:700;

}