/* Account CSS - ElemanKit */

/* =========================================
   جداول خرید اشتراک (Membership)
========================================= */
.ek-membership-page { padding: 60px 0; }
.ek-membership-header { text-align: center; margin-bottom: 40px; }
.ek-membership-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ek-plan-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 25px; padding: 35px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.ek-featured { border: 2px solid #6366f1; transform: translateY(-10px); }
.ek-plan-price { font-size: 30px; font-weight: bold; color: #6366f1; margin: 20px 0; }
.ek-plan-card ul { list-style: none; padding: 0; line-height: 2.5; }
.ek-plan-button { display: block; background: #6366f1; color: #fff; padding: 14px; border-radius: 12px; margin-top: 25px; text-decoration: none; }

/* =========================================
   صفحه پرداخت و سبد خرید (EDD Checkout)
========================================= */
.page-template-default .ek-site-main, .post-type-download .ek-site-main { background-color: #f8fafc; padding: 50px 0; direction: rtl; text-align: right; }
#edd_checkout_wrap, .edd_checkout_form_wrap { max-width: 900px; margin: 0 auto; background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); border: 1px solid #f1f5f9; font-family: inherit; }
.entry-title, h1.page-title, .edd_checkout_heading { font-size: 22px !important; font-weight: 700 !important; color: #1e293b !important; margin-bottom: 25px !important; text-align: right; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; }
#edd_checkout_cart, .edd_cart { width: 100% !important; border-collapse: separate !important; border-spacing: 0; border: 1px solid #e2e8f0 !important; border-radius: 12px !important; overflow: hidden; margin-bottom: 35px !important; background: #ffffff; }
#edd_checkout_cart th, .edd_cart th { background-color: #f8fafc !important; color: #475569 !important; font-weight: 600 !important; padding: 15px 20px !important; border-bottom: 1px solid #e2e8f0 !important; text-align: right !important; }
#edd_checkout_cart td, .edd_cart td { padding: 16px 20px !important; color: #334155 !important; border-bottom: 1px solid #f1f5f9 !important; text-align: right !important; }
#edd_checkout_form_wrap fieldset { border: 1px solid #e2e8f0 !important; border-radius: 14px !important; padding: 25px !important; margin-bottom: 30px !important; background-color: #ffffff !important; }
#edd_checkout_form_wrap legend { font-weight: 700 !important; color: #1e293b !important; padding: 0 12px !important; font-size: 16px !important; float: right; background: #ffffff; }
#edd_checkout_form_wrap label { display: block; font-weight: 600; color: #475569; margin-bottom: 8px; font-size: 13px; }
#edd_checkout_form_wrap input[type="text"], #edd_checkout_form_wrap input[type="email"], #edd_checkout_form_wrap input[type="password"], #edd_checkout_form_wrap select, #edd_checkout_form_wrap textarea { border: 1px solid #cbd5e1 !important; border-radius: 10px !important; padding: 12px 16px !important; background-color: #f8fafc !important; font-family: inherit !important; font-size: 14px !important; color: #1e293b !important; width: 100% !important; margin-bottom: 8px; outline: none; transition: all 0.3s ease; }
#edd_checkout_form_wrap input:focus, #edd_checkout_form_wrap select:focus, #edd_checkout_form_wrap textarea:focus { border-color: #6366f1 !important; background-color: #ffffff !important; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); }
#edd_payment_mode_select { margin-bottom: 25px; }
#edd_payment_mode_select label { display: inline-flex; align-items: center; margin-left: 20px; font-weight: 600; color: #334155; cursor: pointer; }
#edd_payment_mode_select input[type="radio"] { margin-left: 8px; accent-color: #6366f1; }
#edd_purchase_submit input[type="submit"], .edd-submit { background-color: #6366f1 !important; color: #ffffff !important; border: none !important; border-radius: 12px !important; padding: 16px 30px !important; font-size: 16px !important; font-weight: 600 !important; font-family: inherit !important; cursor: pointer; width: 100%; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35); }
#edd_purchase_submit input[type="submit"]:hover { background-color: #4f46e5 !important; transform: translateY(-1px); }

/* =========================================
   فرم‌های ورود و ثبت‌نام (EDD Login)
========================================= */
.edd_login_form, #edd_login_form, .edd_register_form { max-width: 450px; margin: 40px auto; background: #ffffff; padding: 35px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); border: 1px solid #f1f5f9; direction: rtl; text-align: right; font-family: inherit; }
.edd_login_form label, #edd_login_form label, .edd_register_form label { display: block; font-weight: 600; color: #475569; margin-bottom: 8px; font-size: 13px; }
.edd_login_form input[type="text"], .edd_login_form input[type="password"], .edd_login_form input[type="email"], #edd_login_form input[type="text"], #edd_login_form input[type="password"], .edd_register_form input[type="text"], .edd_register_form input[type="email"], .edd_register_form input[type="password"] { border: 1px solid #cbd5e1 !important; border-radius: 10px !important; padding: 12px 16px !important; background-color: #f8fafc !important; font-size: 14px !important; color: #1e293b !important; width: 100% !important; margin-bottom: 20px !important; outline: none; transition: all 0.3s ease; }
.edd_login_form input:focus, #edd_login_form input:focus, .edd_register_form input:focus { border-color: #6366f1 !important; background-color: #ffffff !important; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); }
.edd_login_form input[type="submit"], #edd_login_submit, .edd_register_form input[type="submit"] { background-color: #6366f1 !important; color: #ffffff !important; border: none !important; border-radius: 12px !important; padding: 14px 20px !important; font-size: 15px !important; font-weight: 600 !important; cursor: pointer; width: 100%; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35); }
.edd-login-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: #64748b; }

/* =========================================
   تاریخچه خرید و ویرایش پروفایل EDD
========================================= */
.edd_profile_editor, .edd_purchase_history { max-width: 900px; margin: 40px auto; background: #ffffff; padding: 35px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); border: 1px solid #f1f5f9; direction: rtl; text-align: right; }
.edd_purchase_history th, .edd_profile_editor th { background-color: #f8fafc !important; color: #475569 !important; font-weight: 600 !important; padding: 14px 18px !important; border-bottom: 1px solid #e2e8f0 !important; }
.edd_purchase_history td, .edd_profile_editor td { padding: 14px 18px !important; color: #334155 !important; border-bottom: 1px solid #f1f5f9 !important; }
.edd_download_file_link, .edd-submit.button { background-color: #22c55e !important; color: #ffffff !important; padding: 8px 16px !important; border-radius: 8px !important; text-decoration: none !important; font-size: 13px !important; font-weight: 600 !important; display: inline-block; transition: background 0.2s; }
.edd_download_file_link:hover { background-color: #16a34a !important; }

/* =========================================
   پنل کاربری اختصاصی
========================================= */
.ek-account-page { background-color: #f8fafc; padding: 40px 0; min-height: 80vh; }
.ek-account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.ek-account-sidebar { background: #ffffff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); border: 1px solid #f1f5f9; }
.ek-user-box { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; font-size: 16px; color: #1e293b; }
.ek-account-menu { display: flex; flex-direction: column; gap: 8px; }
.ek-account-menu a { padding: 12px 16px; border-radius: 10px; color: #475569; text-decoration: none; font-weight: 500; transition: all 0.2s; }
.ek-account-menu a:hover { background-color: #f1f5f9; color: #6366f1; }
.ek-account-content { display: flex; flex-direction: column; gap: 30px; }
.ek-account-content section { background: #ffffff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); border: 1px solid #f1f5f9; }
.ek-account-content h2 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #f8fafc; }
.ek-download-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: #f8fafc; border-radius: 12px; margin-bottom: 12px; border: 1px solid #e2e8f0; }
.ek-download-item h3 { font-size: 14px; color: #334155; margin: 0; }
.ek-download-item a { background-color: #22c55e; color: #ffffff; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background 0.2s; }
.ek-download-item a:hover { background-color: #16a34a; }
.ek-membership-status { background: #ffffff; border-radius: 16px; padding: 25px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); border: 1px solid #f1f5f9; }
.ek-membership-status h3 { font-size: 16px; color: #1e293b; margin-bottom: 10px; }
.ek-membership-status p.active { color: #16a34a; font-weight: 600; }
.ek-membership-status p.expired { color: #dc2626; font-weight: 600; }

@media (max-width: 768px) {
    .ek-account-grid, .ek-membership-plans { grid-template-columns: 1fr; }
}

/* =========================================
   باکس احراز هویت ۳ تبی (با ایمیل / با پیامک / ثبت‌نام)
========================================= */
/* =========================================
   کانتینر و لوگوی صفحه ورود/ثبت‌نام
========================================= */
.ek-auth-container {

    display: flex;
    flex-direction: column;
    align-items: center;

}

.ek-auth-logo {

    margin-bottom: 30px;
    text-align: center;

}

.ek-auth-logo img {

    max-height: 48px;
    width: auto;

}

/* =========================================
   باکس احراز هویت ۳ تبی (با ایمیل / با پیامک / ثبت‌نام)
========================================= */
.ek-auth-box { 
    width: 100% !important;
    max-width: 420px !important; 
    margin: 0 auto !important;
    background: #ffffff; 
    padding: 35px 40px; 
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); 
    border: 1px solid #f1f5f9; 
    box-sizing: border-box; 
}

.ek-auth-tabs { 
    display: flex; 
    margin-bottom: 25px; 
    border-bottom: 2px solid #f1f5f9; 
}

.ek-tab-btn { 
    flex: 1; 
    background: none; 
    border: none; 
    padding: 12px 6px; 
    font-size: 14px; 
    font-weight: 700; 
    color: #94a3b8; 
    cursor: pointer; 
    border-bottom: 2px solid transparent; 
    margin-bottom: -2px; 
    font-family: inherit; 
    transition: all 0.3s ease; 
    text-align: center; 
}

.ek-tab-btn:hover { 
    color: #64748b; 
}

.ek-tab-btn.active { 
    color: #6366f1; 
    border-bottom-color: #6366f1; 
}

.ek-auth-form { 
    display: none !important; 
    animation: fadeIn 0.4s ease; 
}

.ek-auth-form.active { 
    display: block !important; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(5px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --- ایزوله‌سازی و حذف کادرهای پیش‌فرض EDD برای فرم‌های ورود و ثبت‌نام --- */
#edd_register_form,
#edd_login_form,
.edd_login_form { 
    width: 100% !important; 
    margin: 0 !important; 
    padding: 0 !important; 
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#edd_register_form fieldset,
#edd_login_form fieldset,
.edd_login_form fieldset { 
    border: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    background: transparent !important; 
}

#edd_register_form legend,
#edd_login_form legend,
.edd_login_form legend { 
    display: none !important; 
}

#edd_register_form label,
#edd_login_form label,
.edd_login_form label { 
    display: block; 
    font-weight: 600; 
    color: #475569; 
    margin-bottom: 8px; 
    font-size: 13px; 
    text-align: right; 
}

#edd_register_form input[type="text"], 
#edd_register_form input[type="email"], 
#edd_register_form input[type="password"],
#edd_login_form input[type="text"], 
#edd_login_form input[type="email"], 
#edd_login_form input[type="password"],
.edd_login_form input[type="text"],
.edd_login_form input[type="password"] { 
    width: 100% !important; 
    box-sizing: border-box !important; 
    border: 1px solid #cbd5e1 !important; 
    border-radius: 10px !important; 
    padding: 12px 16px !important; 
    background-color: #f8fafc !important; 
    font-family: inherit !important; 
    font-size: 14px !important; 
    color: #1e293b !important; 
    margin-bottom: 18px !important; 
    outline: none; 
    transition: all 0.3s ease; 
}

#edd_register_form input:focus,
#edd_login_form input:focus,
.edd_login_form input:focus { 
    border-color: #6366f1 !important; 
    background-color: #ffffff !important; 
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); 
}

#edd_register_form input[type="submit"],
#edd_login_form input[type="submit"],
#edd_login_submit,
.edd_login_form input[type="submit"] { 
    background-color: #6366f1 !important; 
    color: #ffffff !important; 
    border: none !important; 
    border-radius: 12px !important; 
    padding: 14px 20px !important; 
    font-size: 15px !important; 
    font-weight: 700 !important; 
    font-family: inherit !important; 
    cursor: pointer; 
    width: 100% !important; 
    box-sizing: border-box !important; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35); 
    margin-top: 10px; 
}

#edd_register_form input[type="submit"]:hover,
#edd_login_form input[type="submit"]:hover,
#edd_login_submit:hover { 
    background-color: #4f46e5 !important; 
    transform: translateY(-1px); 
}
/* =========================================
   تکمیل و ارتقای منوی حساب کاربری (گام ۱)
========================================= */

/* استایل باکس پروفایل کاربر در سیدبار */
.ek-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ek-user-avatar img {
    border-radius: 14px; /* گوشه‌های گرد نرم و هماهنگ با کارت‌ها */
    display: block;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* یک سایه ملایم جهت تفکیک بهتر */
}

.ek-user-info {
    display: flex;
    flex-direction: column;
}

.ek-user-info strong {
    font-size: 15px;
    color: #1e293b;
    font-weight: 700;
}

.ek-user-role {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* لینک‌های منوی حساب کاربری */
.ek-account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* تنظیم آیکون‌های Duotone به صورت خنثی و شیک */
.ek-account-menu a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    --fa-primary-color: #64748b;
    --fa-secondary-color: #cbd5e1;
    --fa-secondary-opacity: 0.7;
    transition: all 0.25s ease;
}

/* حالت Hover */
.ek-account-menu a:hover {
    background-color: #f8fafc;
    color: #6366f1;
}

.ek-account-menu a:hover i {
    --fa-primary-color: #6366f1;
    --fa-secondary-color: #a5b4fc;
}

/* آیتم فعال (Active) */
.ek-account-menu a.active {
    background-color: #f1f5f9;
    color: #6366f1;
    font-weight: 700;
}

.ek-account-menu a.active i {
    --fa-primary-color: #6366f1;
    --fa-secondary-color: #818cf8;
    --fa-secondary-opacity: 0.9;
}

/* بج به‌زودی */
.ek-badge-soon {
    margin-right: auto;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: normal;
}

/* دکمه خروج */
.ek-account-menu a.ek-logout-btn {
    color: #e11d48;
    margin-top: 10px;
    border-top: 1px dashed #f1f5f9;
    padding-top: 14px;
}

.ek-account-menu a.ek-logout-btn i {
    --fa-primary-color: #e11d48;
    --fa-secondary-color: #fda4af;
}

.ek-account-menu a.ek-logout-btn:hover {
    background-color: #fff1f2;
}
/* =========================================
   فرم ویرایش پروفایل (گام ۲)
========================================= */

.ek-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.ek-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .ek-form-row {
        grid-template-columns: 1fr;
    }
}

.ek-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ek-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.ek-form-group input {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    background-color: #f8fafc;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.ek-form-group input:focus {
    border-color: #6366f1;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.ek-form-divider {
    border: 0;
    height: 1px;
    background: #f1f5f9;
    margin: 10px 0;
}

.ek-form-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ek-form-subtitle i {
    --fa-primary-color: #6366f1;
    --fa-secondary-color: #a5b4fc;
}

.ek-form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.ek-btn-primary {
    background-color: #6366f1;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    font-family: inherit;
}

.ek-btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

/* پیغام‌های خطا و موفقیت */
.ek-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.ek-alert-success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.ek-alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
/* مدیریت نمایش تب‌های حساب کاربری */
.ek-tab-pane {
    display: none;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    animation: ekTabFade 0.3s ease-in-out;
}

.ek-tab-pane.active {
    display: block;
}

.ek-tab-pane h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f8fafc;
}

@keyframes ekTabFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ek-account-menu a.disabled-btn {
    opacity: 0.6;
    cursor: not-allowed;
}
/* =========================================
   استایل سیستم علاقه‌مندی‌ها (گام ۳)
========================================= */

.ek-favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ek-favorite-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ek-favorite-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.ek-favorite-thumb {
    height: 140px;
    overflow: hidden;
    background: #f8fafc;
}

.ek-favorite-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ek-favorite-card:hover .ek-favorite-thumb img {
    transform: scale(1.05);
}

.ek-favorite-info {
    padding: 14px;
    flex-grow: 1;
}

.ek-favorite-info h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.ek-favorite-info h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.ek-favorite-info h3 a:hover {
    color: #6366f1;
}

.ek-favorite-price {
    font-size: 13px;
    font-weight: 700;
    color: #10b981;
}

.ek-favorite-actions {
    padding: 12px 14px;
    border-top: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ek-btn-view {
    flex-grow: 1;
    text-align: center;
    background: #f1f5f9;
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.ek-btn-view:hover {
    background: #6366f1;
    color: #ffffff;
}

.ek-btn-remove-fav {
    background: #fff1f2;
    border: none;
    color: #e11d48;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ek-btn-remove-fav:hover {
    background: #ffe4e6;
}

.ek-empty-msg {
    color: #64748b;
    font-size: 14px;
    padding: 20px 0;
}
/* ... کدهای قبلی فایل account.css شما سر جای خودش باقی می‌ماند ... */
/* =========================================
استایل سیستم علاقه‌مندی‌ها (گام ۳)
========================================= */
.ek-favorites-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 20px;
margin-top: 20px;
}
.ek-favorite-card {
background: #ffffff;
border: 1px solid #f1f5f9;
border-radius: 14px;
overflow: hidden;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.ek-favorite-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
transform: translateY(-3px);
}
.ek-favorite-thumb {
height: 140px;
overflow: hidden;
background: #f8fafc;
}
.ek-favorite-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.ek-favorite-card:hover .ek-favorite-thumb img {
transform: scale(1.05);
}
.ek-favorite-info {
padding: 14px;
flex-grow: 1;
}
.ek-favorite-info h3 {
font-size: 14px;
font-weight: 700;
margin-bottom: 8px;
line-height: 1.4;
}
.ek-favorite-info h3 a {
color: #1e293b;
text-decoration: none;
transition: color 0.2s;
}
.ek-favorite-info h3 a:hover {
color: #6366f1;
}
.ek-favorite-price {
font-size: 13px;
font-weight: 700;
color: #10b981;
}
.ek-favorite-actions {
padding: 12px 14px;
border-top: 1px solid #f8fafc;
display: flex;
align-items: center;
gap: 10px;
}
.ek-btn-view {
flex-grow: 1;
text-align: center;
background: #f1f5f9;
color: #475569;
padding: 8px 12px;
border-radius: 8px;
font-size: 12px;
font-weight: 600;
text-decoration: none;
transition: all 0.2s;
}
.ek-btn-view:hover {
background: #6366f1;
color: #ffffff;
}
.ek-btn-remove-fav {
background: #fff1f2;
border: none;
color: #e11d48;
border-radius: 8px;
width: 36px;
height: 36px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}
.ek-btn-remove-fav:hover {
background: #ffe4e6;
}
.ek-empty-msg {
color: #64748b;
font-size: 14px;
padding: 20px 0;
}
/* =========================================
   استایل دکمه قلب در صفحه محصول
========================================= */
.ek-heart-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ek-heart-btn i {
    font-size: 20px;
    --fa-primary-color: #94a3b8;
    --fa-secondary-color: #cbd5e1;
    transition: all 0.25s ease;
}

.ek-heart-btn:hover {
    background: #fff1f2;
    border-color: #fecaca;
}

.ek-heart-btn:hover i {
    --fa-primary-color: #f43f5e;
    --fa-secondary-color: #fda4af;
}

/* حالت لایک شده */
.ek-heart-btn.active {
    background: #fff1f2;
    border-color: #fda4af;
}

.ek-heart-btn.active i {
    --fa-primary-color: #e11d48;
    --fa-secondary-color: #f43f5e;
    --fa-secondary-opacity: 1;
}

.ek-heart-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}
/* =========================================
   شناور کردن قلب روی عکس محصول
========================================= */
.ek-product-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px; /* گردی گوشه‌های عکس */
}

.ek-floating-heart-container {
    position: absolute;
    top: 15px;
    left: 15px; /* برای نمایش در گوشه چپ. اگر راست می‌خواهید، این را پاک کنید و بنویسید right: 15px; */
    z-index: 10;
}

/* افکت شیشه‌ای برای دکمه روی عکس */
.ek-floating-heart-container .ek-heart-btn {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
/* =========================================
   رنگ سفید برای آیکون داخل دکمه ارسال تیکت
========================================= */
.ek-btn-primary i,
.ek-btn-primary .fa-duotone {
    --fa-primary-color: #ffffff;
    --fa-secondary-color: #ffffff;
    --fa-secondary-opacity: 0.8;
    color: #ffffff;
    margin-left: 6px;
}