/* ====================================
CARDS.CSS
Recent Ads, Favorites, Search Results,
General Marketplace Cards
Featured Ads moved to featured-ads.css
==================================== */

/* Feed */
.sudanads-feed-wrapper{
display:flex;
flex-direction:column;
gap:14px;
direction:rtl;
}

/* General Card */
.sa-card{
display:flex;
flex-direction:row-reverse;
align-items:center;
gap:14px;
background:#fff;
border:1px solid #edf1ed;
border-radius:20px;
padding:14px;
box-shadow:0 3px 10px rgba(0,0,0,.05);
}

/* Image */
.sa-card-image img{
width:92px;
height:92px;
object-fit:cover;
border-radius:14px;
display:block;
}

/* Content */
.sa-card-content{
flex:1;
text-align:right;
direction:rtl;
min-width:0;
}

/* Category */
.sa-card-category{
display:inline-flex;
padding:4px 10px;
border-radius:999px;
background:#eef9f0;
color:#16a34a;
font-size:12px;
font-weight:700;
}

/* Title */
.sa-card-title{
margin:6px 0;
font-size:16px;
font-weight:800;
line-height:1.4;
overflow:hidden;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
}

/* Price */
.sa-card-price{
font-size:18px;
font-weight:800;
color:#16a34a;
margin:4px 0;
}

/* Meta */
.sa-card-meta{
font-size:13px;
color:#6b7280;
display:flex;
gap:10px;
flex-wrap:wrap;
}

/* Description */
.sa-card-description{
font-size:14px;
line-height:1.5;
color:#6b7280;
overflow:hidden;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
}

/* Favorite Heart */
.sa-card-heart{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
border-radius:999px;
border:1px solid #ededed;
background:#fff;
font-size:20px;
cursor:pointer;
}

/* Favorites Page */
.sa-favorites-feed .sa-card{
border:1px solid #edf1ed;
}

/* Search Results */
.sa-search-results .sa-card{
border:1px solid #edf1ed;
}
