/* استایل‌های سفارشی برای پیشنهاد خرید اشتراک */

.yith-wcmbs-purchase-suggestion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yith-wcmbs-purchase-suggestion__content {
    text-align: center;
    color: #ffffff;
}

.yith-wcmbs-purchase-suggestion__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.yith-wcmbs-purchase-suggestion__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.yith-wcmbs-purchase-suggestion__message {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.yith-wcmbs-purchase-suggestion__button {
    display: inline-block;
    background: #ffffff;
    color: #667eea;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.yith-wcmbs-purchase-suggestion__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #764ba2;
    text-decoration: none;
}

/* استایل برای حالت هشدار (دانلودها تمام شده) */
.yith-wcmbs-purchase-suggestion--warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.yith-wcmbs-purchase-suggestion--warning .yith-wcmbs-purchase-suggestion__button {
    color: #f5576c;
}

.yith-wcmbs-purchase-suggestion--warning .yith-wcmbs-purchase-suggestion__button:hover {
    color: #d63447;
}

/* استایل برای حالت اطلاعات (بدون اشتراک) */
.yith-wcmbs-purchase-suggestion--info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.yith-wcmbs-purchase-suggestion--info .yith-wcmbs-purchase-suggestion__button {
    color: #4facfe;
}

.yith-wcmbs-purchase-suggestion--info .yith-wcmbs-purchase-suggestion__button:hover {
    color: #0093e9;
}

/* استایل برای حالت موفقیت (اشتراک فعال) */
.yith-wcmbs-purchase-suggestion--success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.yith-wcmbs-purchase-suggestion--success .yith-wcmbs-purchase-suggestion__button {
    color: #11998e;
}

.yith-wcmbs-purchase-suggestion--success .yith-wcmbs-purchase-suggestion__button:hover {
    color: #0d7a6f;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .yith-wcmbs-purchase-suggestion {
        padding: 20px;
    }

    .yith-wcmbs-purchase-suggestion__title {
        font-size: 20px;
    }

    .yith-wcmbs-purchase-suggestion__message {
        font-size: 14px;
    }

    .yith-wcmbs-purchase-suggestion__button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* انیمیشن برای آیکون */
.yith-wcmbs-purchase-suggestion__icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}