/* public/public-styles.css */
/* استایل‌های اضافی برای نمایش محصولات */

.mpp-product-display {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل برای دکمه‌های اضافی */
.mpp-secondary-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.mpp-secondary-button:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
}

/* استایل برای پیام‌های خطا */
.mpp-error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
}

/* استایل برای پیام‌های موفقیت */
.mpp-success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #090;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
}

/* استایل برای لیست محصولات */
.mpp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.mpp-product-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
}

.mpp-product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* سازگاری با قالب‌های مختلف */
.theme-twentytwentyone .mpp-product-card,
.theme-twentytwenty .mpp-product-card,
.theme-astra .mpp-product-card {
    font-family: inherit;
}

/* پشتیبانی از RTL کامل */
.rtl .mpp-button-icon {
    margin-left: 0;
    margin-right: 10px;
}

.rtl .mpp-product-details {
    text-align: right;
}

.rtl .mpp-payment-note {
    text-align: center;
}
