/* --- استایل‌های صفحه فروش اقساطی --- */

/* رنگ‌بندی */
.bg-orange-soft { background-color: rgba(245, 102, 20, 0.1); }
.text-orange { color: #f56614; }
.bg-blue-soft { background-color: #e3f2fd; }
.bg-green-soft { background-color: #e8f5e9; }

/* کارت‌های طرح اقساطی */
.plan-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-color: #eee !important;
}
.hover-lift-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: #f56614 !important;
}

/* لوگوی دایره‌ای طرح‌ها */
.plan-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
}

/* لیست ویژگی‌ها */
.plan-features li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.plan-features li:last-child {
    margin-bottom: 0;
}

/* ریبون (برچسب گوشه کارت) */
.badge-ribbon {
    position: absolute;
    top: 15px;
    left: -30px; /* برای RTL باید راست باشد اگر direction:rtl است، اینجا چپ فرض شده */
    transform: rotate(-45deg);
    width: 120px;
    padding: 5px 0;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1;
}
/* اصلاح ریبون برای RTL */
[dir="rtl"] .badge-ribbon {
    left: auto;
    right: -30px;
    transform: rotate(45deg);
}

/* استایل اسلایدر دسته‌بندی */
.cat-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    border-radius: 15px;
    background: #fff;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.cat-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #f56614;
    color: #f56614;
}
.cat-link img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* انیمیشن‌ها */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
.animate-zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
    opacity: 0;
    transform: scale(0.95);
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { to { opacity: 1; transform: scale(1); } }

/* فونت و تنظیمات */
.lh-lg { line-height: 2.2 !important; }
.transition-all { transition: all 0.3s ease; }
.hover-scale:hover { transform: scale(1.02); }