.elementor-257 .elementor-element.elementor-element-a5ab490{--display:flex;}.elementor-257 .elementor-element.elementor-element-a5ab490:not(.elementor-motion-effects-element-type-background), .elementor-257 .elementor-element.elementor-element-a5ab490 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(135deg, #E0E7FF 32%, #F3E8FF 100%);}.elementor-257 .elementor-element.elementor-element-94c2c46{--display:flex;}.elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff{--tabs-normal-color:#235AF3;--tabs-hover-color:var( --e-global-color-secondary );--tabs-active-color:var( --e-global-color-accent );--tabs-border-radius:5px 5px 5px 5px;--sections-border-radius:15px 15px 15px 15px;--login-messages-color:var( --e-global-color-primary );--links-normal-color:var( --e-global-color-primary );--links-hover-color:var( --e-global-color-accent );}.elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a:hover{box-shadow:0px 0px 1px 0px rgba(0, 0, 0, 0.39);}.elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) h2, .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) h3{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-MyAccount-content > div > p, .elementor-257 .elementor-element.elementor-element-32133ff address, .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-EditAccountForm fieldset legend, .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-ResetPassword p:nth-child(1), .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-OrderUpdate{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register p:not([class]), .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce em{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-form__label-for-checkbox span{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-PaymentMethod .input-radio + label{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-form-row label, .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-address-fields label{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row .input-text, .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row select, .elementor-257 .elementor-element.elementor-element-32133ff ::placeholder, .elementor-257 .elementor-element.elementor-element-32133ff .select2-container--default .select2-selection--single, .select2-results__option, .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab__payment-methods input[type=text]{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff button.button, .elementor-257 .elementor-element.elementor-element-32133ff #add_payment_method #payment #place_order{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .order_details thead th, .elementor-257 .elementor-element.elementor-element-32133ff .order_details tfoot td, .elementor-257 .elementor-element.elementor-element-32133ff .order_details tfoot th, .elementor-257 .elementor-element.elementor-element-32133ff .nobr{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab__orders tbody td, .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab__downloads tbody td, .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .product-quantity, .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-table--order-downloads tbody td, .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-table--order-details td a, .elementor-257 .elementor-element.elementor-element-32133ff td.product-total, .elementor-257 .elementor-element.elementor-element-32133ff td.payment-method-method, .elementor-257 .elementor-element.elementor-element-32133ff td.payment-method-expires{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .wc-item-meta{font-family:"Vazirmatn", Sans-serif;}.elementor-257 .elementor-element.elementor-element-32133ff .shop_table .button, .elementor-257 .elementor-element.elementor-element-32133ff .order-again .button, .elementor-257 .elementor-element.elementor-element-32133ff .woocommerce-pagination .button, .elementor-257 .elementor-element.elementor-element-32133ff .e-my-account-tab__payment-methods .woocommerce-MyAccount-content-wrapper .button{font-family:"Vazirmatn", Sans-serif;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-257 .elementor-element.elementor-element-a5ab490{--width:100%;}.elementor-257 .elementor-element.elementor-element-94c2c46{--content-width:77%;}}/* Start custom CSS for woocommerce-my-account, class: .elementor-element-32133ff *//* =========================
   LUMENA Login / Register
========================= */

#customer_login{
    display:flex;
    gap:32px;
    align-items:stretch;
    margin:40px auto;
}

/* Cards */

#customer_login .col-1,
#customer_login .col-2{
    flex:1;
    background:#fff;
    border:1px solid rgba(142,68,173,.12);
    border-radius:24px;
    padding:35px;
    box-shadow:0 10px 40px rgba(107,127,212,.08);
    position:relative;
    overflow:hidden;
}

/* Gradient Glow */

#customer_login .col-1::before,
#customer_login .col-2::before{
    content:"";
    position:absolute;
    top:-120px;
    left:-120px;
    width:250px;
    height:250px;
    background:linear-gradient(
        135deg,
        rgba(142,68,173,.15),
        rgba(107,127,212,.15)
    );
    border-radius:50%;
    filter:blur(50px);
    pointer-events:none;
}

/* Titles */

#customer_login h2{
    font-family:'Vazirmatn','Inter',sans-serif;
    font-size:30px;
    font-weight:800;
    margin-bottom:30px;
    color:#1A1A2E;
    position:relative;
}

#customer_login h2::after{
    content:"";
    display:block;
    width:60px;
    height:4px;
    border-radius:10px;
    margin-top:12px;
    background:linear-gradient(
        90deg,
        #8E44AD,
        #6B7FD4
    );
}

#customer_login .col-1 h2::before{
    content:"🔐";
    margin-left:8px;
}

#customer_login .col-2 h2::before{
    content:"✨";
    margin-left:8px;
}

/* Labels */

#customer_login label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:#4B5563;
    margin-bottom:8px;
}

/* Inputs */

#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"]{
    width:100%;
    height:54px;
    border-radius:14px;
    border:1px solid #E5E7EB;
    background:#FAFAFF;
    padding:0 18px;
    font-family:'Vazirmatn','Inter',sans-serif;
    transition:all .3s ease;
}

#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus{
    outline:none;
    border-color:#8E44AD;
    background:#fff;
    box-shadow:0 0 0 4px rgba(142,68,173,.12);
}

/* Password wrapper */

#customer_login .password-input{
    width:100%;
}

/* Remember Me */

#customer_login .woocommerce-form-login__rememberme{
    display:flex;
    align-items:center;
    gap:8px;
    color:#6A6A6A;
    font-size:14px;
}

#customer_login .woocommerce-form-login__rememberme input{
    width:auto;
    height:auto;
}

/* Buttons */

#customer_login button.button,
#customer_login .woocommerce-button,
#customer_login .woocommerce-Button{
    width:100%;
    height:56px;
    border:none !important;
    border-radius:14px;
    font-family:'Vazirmatn','Inter',sans-serif;
    font-size:16px;
    font-weight:700;
    color:#fff !important;
    background:linear-gradient(
        135deg,
        #8E44AD,
        #7B5EA7,
        #6B7FD4
    ) !important;
    transition:all .3s ease;
    cursor:pointer;
}

#customer_login button.button:hover,
#customer_login .woocommerce-button:hover,
#customer_login .woocommerce-Button:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(142,68,173,.25);
}

/* Lost Password */

#customer_login .woocommerce-LostPassword{
    text-align:center;
    margin-top:20px;
}

#customer_login .woocommerce-LostPassword a{
    color:#8E44AD;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

#customer_login .woocommerce-LostPassword a:hover{
    color:#6B7FD4;
}

/* Register Text */

#customer_login p{
    color:#6A6A6A;
    line-height:1.9;
}

/* Privacy */

#customer_login .woocommerce-privacy-policy-text{
    background:#F8F7FF;
    border-radius:14px;
    padding:15px;
    margin:20px 0;
    font-size:13px;
    color:#6A6A6A;
    line-height:1.9;
}

/* Password Eye */

#customer_login .show-password-input{
    color:#8E44AD !important;
}

/* Notices */

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error{
    border:none;
    border-radius:16px;
    background:#F8F7FF;
}

/* Tablet */

@media (max-width:768px){

    #customer_login{
        flex-direction:column;
        gap:20px;
    }

    #customer_login .col-1,
    #customer_login .col-2{
        padding:25px;
        border-radius:20px;
    }

    #customer_login h2{
        font-size:24px;
    }

    #customer_login button.button,
    #customer_login .woocommerce-button,
    #customer_login .woocommerce-Button{
        height:52px;
    }

}

/* Mobile */

@media (max-width:480px){

    #customer_login{
        margin:20px auto;
    }

    #customer_login .col-1,
    #customer_login .col-2{
        padding:20px;
    }

    #customer_login input[type="text"],
    #customer_login input[type="email"],
    #customer_login input[type="password"]{
        height:50px;
    }

    #customer_login h2{
        font-size:22px;
    }

}
/* =========================
   LUMENA Lost Password
========================= */

.woocommerce-ResetPassword.lost_reset_password{
    max-width:650px;
    margin:40px auto;
    padding:40px;
    background:#fff;
    border-radius:24px;
    border:1px solid rgba(142,68,173,.12);
    box-shadow:0 10px 40px rgba(107,127,212,.08);
    position:relative;
    overflow:hidden;
}

/* Glow */

.woocommerce-ResetPassword.lost_reset_password::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    top:-120px;
    left:-120px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        rgba(142,68,173,.15),
        rgba(107,127,212,.15)
    );
    filter:blur(60px);
    pointer-events:none;
}

/* Intro Text */

.woocommerce-ResetPassword.lost_reset_password > p:first-child{
    background:#F8F7FF;
    border-right:4px solid #8E44AD;
    padding:18px;
    border-radius:14px;
    line-height:2;
    color:#6A6A6A;
    margin-bottom:30px;
    font-size:14px;
}

/* Labels */

.woocommerce-ResetPassword.lost_reset_password label{
    display:block;
    margin-bottom:8px;
    color:#4B5563;
    font-weight:600;
    font-size:14px;
}

/* Input */

.woocommerce-ResetPassword.lost_reset_password input[type="text"]{
    width:100%;
    height:56px;
    border-radius:14px;
    border:1px solid #E5E7EB;
    background:#FAFAFF;
    padding:0 18px;
    font-family:'Vazirmatn','Inter',sans-serif;
    transition:.3s ease;
}

.woocommerce-ResetPassword.lost_reset_password input[type="text"]:focus{
    outline:none;
    border-color:#8E44AD;
    background:#fff;
    box-shadow:0 0 0 4px rgba(142,68,173,.12);
}

/* Button */

.woocommerce-ResetPassword.lost_reset_password .button{
    width:100%;
    height:56px;
    border:none !important;
    border-radius:14px;
    font-family:'Vazirmatn','Inter',sans-serif;
    font-size:16px;
    font-weight:700;
    color:#fff !important;
    cursor:pointer;

    background:linear-gradient(
        135deg,
        #8E44AD,
        #7B5EA7,
        #6B7FD4
    ) !important;

    transition:.3s ease;
}

.woocommerce-ResetPassword.lost_reset_password .button:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(142,68,173,.25);
}

/* Required mark */

.woocommerce-ResetPassword.lost_reset_password .required{
    color:#8E44AD;
}

/* Form Row */

.woocommerce-ResetPassword.lost_reset_password .form-row{
    margin-bottom:22px;
}

/* Notices */

.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message{
    border:none;
    border-radius:16px;
    background:#F8F7FF;
}

/* Mobile */

@media (max-width:768px){

    .woocommerce-ResetPassword.lost_reset_password{
        margin:20px;
        padding:25px;
        border-radius:20px;
    }

    .woocommerce-ResetPassword.lost_reset_password input[type="text"]{
        height:52px;
    }

    .woocommerce-ResetPassword.lost_reset_password .button{
        height:52px;
    }

}

@media (max-width:480px){

    .woocommerce-ResetPassword.lost_reset_password{
        padding:20px;
    }

    .woocommerce-ResetPassword.lost_reset_password > p:first-child{
        font-size:13px;
        line-height:1.9;
    }

}
/* =========================
   LUMENA Password Reset Sent
========================= */

.woocommerce .woocommerce-message[role="alert"]{
    max-width:700px;
    margin:30px auto 20px;
    padding:20px 24px;
    border:none;
    border-radius:20px;
    background:linear-gradient(
        135deg,
        rgba(142,68,173,.08),
        rgba(107,127,212,.08)
    );
    color:#1A1A2E;
    font-family:'Vazirmatn','Inter',sans-serif;
    font-weight:700;
    box-shadow:0 10px 30px rgba(107,127,212,.08);
    position:relative;
}

.woocommerce .woocommerce-message[role="alert"]::before{
    content:"✓";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    margin-left:12px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #8E44AD,
        #6B7FD4
    );
    color:#fff;
    font-size:18px;
    font-weight:700;
}

/* Description */

.woocommerce .woocommerce-message[role="alert"] + p{
    max-width:700px;
    margin:0 auto;
    padding:24px;
    background:#fff;
    border:1px solid rgba(142,68,173,.12);
    border-radius:20px;
    color:#6A6A6A;
    line-height:2;
    box-shadow:0 10px 40px rgba(107,127,212,.08);
    font-family:'Vazirmatn','Inter',sans-serif;
}

/* Mobile */

@media (max-width:768px){

    .woocommerce .woocommerce-message[role="alert"]{
        margin:20px 15px;
        padding:18px;
        border-radius:16px;
        font-size:14px;
    }

    .woocommerce .woocommerce-message[role="alert"] + p{
        margin:0 15px;
        padding:18px;
        border-radius:16px;
        font-size:14px;
        line-height:1.9;
    }

}
.woocommerce .woocommerce-message::before{
    display:none !important;
    content:none !important;
}
/* ============================================
   LUMENA — LearnDash Profile / Quizzes Panel
   ============================================ */
#ld-profile,
#ld-profile * {
  direction: rtl !important;
  text-align: right;
  box-sizing: border-box;
}

#ld-profile {
  --c1: #7c3aed;
  --c2: #a855f7;
  --c3: #ec4899;
  --ink: #0b1020;
  --muted: #6b7280;
  --line: rgba(124, 58, 237, 0.12);
  font-family: "Vazirmatn", sans-serif;
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px;
}

/* ---------- کارت خلاصه‌ی پروفایل ---------- */
#ld-profile .ld-profile-summary {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  margin-bottom: 34px;
}

#ld-profile .ld-profile-card {
  position: relative;
  background: linear-gradient(160deg, #fff, #faf5ff);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 26px;
  text-align: center !important;
  box-shadow: 0 24px 50px -28px rgba(124, 58, 237, 0.4);
  overflow: hidden;
}

/* هاله‌ی گرادیانی بالای کارت */
#ld-profile .ld-profile-card::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 70%);
  pointer-events: none;
}

#ld-profile .ld-profile-avatar {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 18px;
}

#ld-profile .ld-profile-avatar img {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.6);
}

#ld-profile .ld-profile-heading {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}

#ld-profile .ld-profile-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c1);
  background: #f3f0ff;
  border: 1px solid var(--line);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

#ld-profile .ld-profile-edit-link:hover {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(168, 85, 247, 0.7);
}

/* ---------- آمار ---------- */
#ld-profile .ld-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-content: center;
}

#ld-profile .ld-profile-stat {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 14px;
  text-align: center !important;
  transition: all 0.4s cubic-bezier(.2,.85,.25,1);
}

#ld-profile .ld-profile-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 40px -24px rgba(124, 58, 237, 0.5);
}

#ld-profile .ld-profile-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#ld-profile .ld-profile-stat span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
#ld-profile .ld-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between; /* عنوان راست، دکمه‌ها چپ */
  flex-direction: row; /* row-reverse حذف شد */
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

#ld-profile .ld-section-heading h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  order: 0; /* سمت راست */
  position: relative;
  padding-right: 14px;
  text-align: right !important;
}

#ld-profile .ld-item-list-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  order: 1; /* سمت چپ */
}

/* دکمه‌های اکشن (جستجو / بازکردن همه) */
#ld-profile .ld-item-list-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

#ld-profile .ld-search-prompt {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--c1);
  cursor: pointer;
  transition: all 0.3s ease;
}

#ld-profile .ld-search-prompt:hover {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
}

#ld-profile .ld-expand-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #f3f0ff;
  color: var(--c1) !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

#ld-profile .ld-expand-button:hover {
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff !important;
  transform: translateY(-2px);
}

#ld-profile .ld-expand-button:hover .ld-text,
#ld-profile .ld-expand-button:hover .ld-icon {
  color: #fff !important;
}

#ld-profile .ld-icon-arrow-down {
  transition: transform 0.35s ease;
}

#ld-profile .ld-expand-button[aria-expanded="true"] .ld-icon-arrow-down {
  transform: rotate(180deg);
}

/* ---------- فرم جستجو ---------- */
#ld-profile .ld-item-search-wrapper {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 18px;
}

#ld-profile .ld-item-search-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}

#ld-profile .ld-item-search-fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

#ld-profile .ld-item-search-name {
  flex: 1;
  min-width: 200px;
}

#ld-profile .ld-item-search-name label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

#ld-profile .ld-course-nav-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.3s ease;
}

#ld-profile .ld-course-nav-field:focus {
  outline: none;
  border-color: var(--c1);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

#ld-profile .ld-button,
#ld-profile .ld-item-search-submit input {
  padding: 12px 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

#ld-profile .ld-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(168, 85, 247, 0.7);
}

#ld-profile .ld-closer {
  float: left;
  font-size: 12px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}
/* ---------- کارت دوره (اصلاح راست‌چین) ---------- */
#ld-profile .ld-item-list-item-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row; /* row-reverse حذف شد */
  gap: 16px;
  padding: 20px 24px;
}

#ld-profile .ld-item-name {
  display: flex;
  align-items: center;
  flex-direction: row; /* آیکون و عنوان از راست */
  gap: 14px;
  text-decoration: none;
  flex: 1;
  text-align: right !important;
}

#ld-profile .ld-course-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
  text-align: right !important;
  transition: color 0.3s ease;
}
/* ---------- آیکون وضعیت (هماهنگ با برند) ---------- */
#ld-profile .ld-status-incomplete {
  background: linear-gradient(135deg, #ede9fe, #f5d0fe) !important;
  position: relative;
}

#ld-profile .ld-status-incomplete {
  background: linear-gradient(135deg, #ede9fe, #f5d0fe) !important;
  position: relative;
}

#ld-profile .ld-status-incomplete::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--c1) !important;
  background: transparent;
  box-sizing: border-box;
}


#ld-profile .ld-status-complete {
  background: linear-gradient(135deg, #ede9fe, #d8b4fe) !important;
}
/* ---------- محتوای باز شده + پیشرفت ---------- */
#ld-profile .ld-item-list-item-expanded {
  padding: 0 24px;
}

#ld-profile .ld-item-list-item-expanded[style*="max-height: 0"] {
  padding: 0 24px !important;
}

#ld-profile .ld-progress {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

#ld-profile .ld-progress-heading {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

#ld-profile .ld-progress-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

#ld-profile .ld-progress-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

#ld-profile .ld-progress-percentage {
  color: var(--c1) !important;
  font-weight: 800;
}

#ld-profile .ld-progress-bar {
  height: 10px;
  border-radius: 50px;
  background: #f1f1f5;
  overflow: hidden;
}

#ld-profile .ld-progress-bar-percentage {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--c1), var(--c3)) !important;
  transition: width 0.8s ease;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 880px) {
  #ld-profile .ld-profile-summary { grid-template-columns: 1fr; }
  #ld-profile .ld-profile-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  #ld-profile .ld-section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  #ld-profile .ld-item-search-fields { flex-direction: column; align-items: stretch; }
  #ld-profile .ld-item-list-item-preview { flex-direction: column; align-items: stretch; }
}
/* ---------- کادر پیشرفت: راست‌چین + پدینگ ---------- */
#ld-profile .ld-progress {
  direction: rtl !important;
  text-align: right !important;
  padding: 18px 20px !important;   /* فاصله از لبه‌های جعبه */
  box-sizing: border-box;
}

#ld-profile .ld-progress *,
#ld-profile .ld-progress-heading,
#ld-profile .ld-progress-stats,
#ld-profile .ld-progress-steps {
  direction: rtl !important;
  text-align: right !important;
}

/* ردیف عنوان/درصد: متن راست، درصد چپ */
#ld-profile .ld-progress-heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;             /* فاصله عنوان تا نوار */
}

/* بَج وضعیت به سمت راست بچسبه */
#ld-profile .ld-progress-label {
  margin-right: 0;
  margin-left: auto;
}

/* نوار پیشرفت از راست به چپ پر بشه + کمی نفس بکشه */
#ld-profile .ld-progress-bar {
  direction: rtl !important;
  margin: 6px 0 4px;
  overflow: hidden;
}

#ld-profile .ld-progress-bar .ld-progress-bar-percentage {
  float: right !important;
}

/* آمار/استپ‌ها زیر نوار، با فاصله از بالا */
#ld-profile .ld-progress-stats {
  margin-top: 10px;
}/* End custom CSS */
/* Start custom CSS *//* =========================
   Change "دوره‌های شما" to "آزمون‌های شما"
========================= */

.ld-profile .ld-course-list .ld-section-heading h3{
    font-size: 0 !important;
    line-height: 0 !important;
}

.ld-profile .ld-course-list .ld-section-heading h3::after{
    content: "آزمون‌های شما";
    display: block;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #1A1A2E;
    line-height: 1.4;
}
/* تبدیل "دوره‌ها" به "آزمون‌ها" در باکس آمار */

.ld-profile-stat-courses span{
    font-size: 0 !important;
}

.ld-profile-stat-courses span::after{
    content: "آزمون‌ها";
    font-size: 14px;
    color: #6A6A6A;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content p:last-of-type {
    margin-bottom: 0;
    font-family: vazirmatn;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    font-family: vazirmatn;
}/* End custom CSS */