/* ============================================
   استایل کارت‌های خدمات نسخه جدید (با تصویر)
   ============================================ */

   .service-card-new {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s ease;
    /* ✅ اضافه کردن این خط برای معکوس کردن جهت */
    flex-direction: row-reverse;
    justify-content: space-between;
}

.service-img-wrapper {
    width: 80px;  /* کمی بزرگتر */
    height: 80px;
    border-radius: 50%;
    border: 3px solid #bfdbfe; /* آبی روشن‌تر */
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    /* ✅ اضافه کردن سایه */
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-img-wrapper i {
    font-size: 32px;
    color: #3b82f6;
}

.service-info {
    flex-grow: 1;
    min-width: 0;
    text-align: right; /* ✅ متن‌ها راست‌چین */
}

/*
   .service-card-new {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s ease;
}*/

.service-card-new.has-items {
    border-color: var(--bs-primary);
    background-color: #d4ebe3;
}

/*
.service-img-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #e0f2fe; 
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}*/
/*
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

/*
.service-img-wrapper i {
    font-size: 28px;
    color: var(--bs-primary);
}*/

/*
.service-info {
    flex-grow: 1;
    min-width: 0; 
}*/

.service-title-new {
    font-weight: bold;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 4px;
}

.service-price-new {
    font-size: 13px;
    color: var(--bs-success);
    font-weight: 600;
    margin-bottom: 6px;
}

.service-desc-new {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* حداکثر ۲ خط نمایش */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

/* استایل تگ‌های آپشن انتخاب شده */
.selected-tags-new {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.tag-new {
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: #64748b;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tag-qty-new {
    background: var(--bs-primary);
    color: white;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
}