/* =====================================
   FOODSTREETLY UNIVERSAL CARD V2
===================================== */

.restaurant-card-link{
    display:block;
    text-decoration:none;
    color:inherit;
}

.restaurant-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #ececec;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:all .35s ease;
    height:100%;
}

.restaurant-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.card-image{
    position:relative;
    overflow:hidden;
}

.card-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    transition:transform .4s ease;
}

.restaurant-card:hover .card-image img{
    transform:scale(1.06);
}

.featured-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:#16a34a;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.card-body{
    padding:18px;
}

.restaurant-name{
    font-size:18px;
    font-weight:700;
    color:#222;
    line-height:1.35;
    margin-bottom:8px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

}

.restaurant-rating{
    color:#f59e0b;
    font-size:15px;
    margin-bottom:10px;
}

.restaurant-rating span{
    color:#666;
}

.restaurant-category,
.restaurant-location{
    font-size:14px;
    color:#666;
    margin-bottom:6px;
}

@media(max-width:768px){

.card-image img{
    height:180px;
}

.restaurant-name{
    font-size:20px;
}

}
.card-image img{
    height:230px;
    object-fit:cover;
}
.restaurant-card{
    display:flex;
    flex-direction:column;
    height:100%;
}

.card-body{
    display:flex;
    flex-direction:column;
    flex:1;
}
.restaurant-name{
   
    line-height:1.3;
}
.restaurant-location{
    min-height:45px;
}