/*
Theme Name: Studiare Child
Template: studiare-VipSource
*/



/* ========================================================
   ۱. تنظیمات اختصاصی موبایل و تبلت (عرض زیر ۹۹۲ پیکسل)
   ======================================================== */
@media only screen and (max-width: 991px) {
    /* ساختار کلی هدر موبایل */
    .site-header {
        position: relative !important;
        z-index: 1000 !important;
    }

    .site-header-inner {
        position: relative !important;
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        direction: rtl !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    /* ۱. دکمه همبرگری (سمت راست هدر) */
    .site-header-inner .mobile-nav-toggle,
    .mobile-nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        position: absolute !important;
        right: 16px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 9999 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        cursor: pointer !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* حالت لمس و اکتیو */
    .site-header-inner .mobile-nav-toggle:active {
        transform: translateY(-50%) scale(0.92) !important;
        background: rgba(56, 189, 248, 0.15) !important;
        border-color: rgba(56, 189, 248, 0.5) !important;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.3) !important;
    }

    /* خطوط آیکون همبرگری */
    .site-header-inner .mobile-nav-toggle span {
        display: block !important;
        height: 2.2px !important;
        background: #f8fafc !important;
        border-radius: 4px !important;
        margin: 0 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.3) !important;
    }

    .site-header-inner .mobile-nav-toggle span:nth-child(1) {
        width: 20px !important;
    }

    .site-header-inner .mobile-nav-toggle span:nth-child(2) {
        width: 14px !important;
        margin-right: 6px !important;
        background: #38bdf8 !important;
        box-shadow: 0 0 8px rgba(56, 189, 248, 0.6) !important;
    }

    .site-header-inner .mobile-nav-toggle span:nth-child(3) {
        width: 20px !important;
    }


    /* ۲. لوگوی وسط (تراز دقیق میلی‌متری با دکمه‌های چپ و راست) */
    .site-header-inner .navigation-left {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        max-width: 170px !important;
        z-index: 100 !important;
        text-align: center !important;
        pointer-events: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .site-header-inner .navigation-left a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .site-header-inner .navigation-left img {
        max-width: 160px !important;
        width: auto !important;
        height: 38px !important; /* بعد از کراپ، ۳۸ پیکسل تمام فضا را متن پر می‌کند و بسیار شارپ دیده می‌شود */
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) !important;
    }


    /* ۳. آیکون سبد خرید (چپ‌ترین نقطه هدر) */
    .site-header-inner .header-cart-icon,
    .site-header .header-cart-icon {
        display: flex !important;
        position: absolute !important;
        left: 16px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 9999 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .site-header-inner .header-cart-icon a,
    .site-header-inner .header-cart-icon i,
    .site-header-inner .header-cart-icon svg {
        color: #f1f5f9 !important;
        fill: #f1f5f9 !important;
        font-size: 18px !important;
    }

    .site-header-inner .header-cart-icon .studiare-cart-number {
        top: -4px !important;
        right: -4px !important;
        left: auto !important;
    }


    /* ۴. کانتینر دکمه کاربری (کنار سبد خرید) */
    .site-header-inner .header-button-link,
    .site-header .header-button-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        left: 64px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 9999 !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .site-header-inner .header-button-link .user-menu,
    .site-header .header-button-link .user-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        transition: all 0.25s ease !important;
    }

    .site-header-inner .header-button-link .user-menu:active {
        transform: scale(0.94) !important;
        border-color: rgba(56, 189, 248, 0.5) !important;
    }

    .site-header-inner .header-button-link .user-menu img.avatar {
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
        object-fit: cover !important;
        margin: 0 !important;
    }

    .site-header-inner .header-button-link p.login-btn-txt,
    .site-header-inner .header-button-link i.fa-chevron-down {
        display: none !important;
    }

    .site-header-inner .header-button-link > a,
    .site-header .header-button-link > a:not(.user-menu) {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        padding: 0 !important;
        text-decoration: none !important;
        font-size: 0 !important;
        line-height: 0 !important;
        position: relative !important;
        overflow: hidden !important;
        transition: all 0.25s ease !important;
    }

    .site-header-inner .header-button-link > a > *,
    .site-header .header-button-link > a:not(.user-menu) > * {
        display: none !important;
    }

    .site-header-inner .header-button-link > a::before,
    .site-header .header-button-link > a:not(.user-menu)::before {
        content: "\f007" !important;
        font-family: "Font Awesome 5 Free", "FontAwesome" !important;
        font-weight: 900 !important;
        font-size: 17px !important;
        color: #38bdf8 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4)) !important;
    }

    .site-header-inner .header-button-link > a:active {
        transform: scale(0.94) !important;
        background: rgba(56, 189, 248, 0.15) !important;
        border-color: rgba(56, 189, 248, 0.4) !important;
    }

    .site-header-inner .header-button-link .user-menu__list {
        top: calc(100% + 10px) !important;
        left: -10px !important;
        right: auto !important;
        min-width: 200px !important;
    }


    /* ۵. رفع قطعی مشکل منوی کشویی و باز شدن کج/با فاصله در آیفون و Safari */
    .mobile-nav-wrap,
    .mobile-navigation,
    .studiare-mobile-navigation,
    .site-header .mobile-nav-wrap {
        position: fixed !important;
        top: 64px !important; /* چسبیده به زیر هدر ۶۴ پیکسلی */
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 64px) !important;
        height: calc(100dvh - 64px) !important; /* هماهنگ با مرورگر Safari آیفون */
        background: #1a202c !important;
        z-index: 99998 !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* جلوگیری از جابه‌جایی المان‌های هدر در هنگام باز بودن منو */
    body.mobile-nav-active .site-header,
    body.menu-open .site-header {
        position: sticky !important;
        top: 0 !important;
    }
}



/* ========================================================
   ۲. استایل‌های سیستم آزمون و تفکیک RTL / LTR
   ======================================================== */
.qsm_contact_div,
.quiz_begin,
.qmn_quiz_container .contact_section,
.qmn_quiz_container .qsm-contact-form,
.qmn_quiz_container .qsm-instruction {
    direction: rtl !important;
    text-align: right !important;
}

.quiz_begin .mlw_qmn_question,
.qsm_contact_div .mlw_qmn_question,
.quiz_begin label,
.qsm_contact_div label {
    direction: rtl !important;
    text-align: right !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 6px !important;
}

.qsm_contact_div input,
.quiz_begin input {
    direction: rtl !important;
    text-align: right !important;
}

.qsm-question-page .mlw_qmn_question,
.qsm-question-page .mlw_qmn_new_question,
.quiz_section .mlw_qmn_question,
.quiz_section .mlw_qmn_new_question,
.qsm_questions_answers h4,
.qsm_questions_answers p {
    direction: ltr !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    unicode-bidi: isolate !important;
    margin-bottom: 12px !important;
}

.qmn_quiz_container .qmn_mc_answer_wrap,
.qmn_quiz_container .qmn_radio_answers,
.qmn_quiz_container .qmn_radio_answer,
.qsm_questions_answers .qmn_user_answer {
    direction: ltr !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

.qsm_questions_answers,
.qsm-results-page div:has(> .qmn_user_answer),
.qsm-results-page .qmn_question_answer {
    direction: ltr !important;
    text-align: left !important;
}

.qsm_questions_answers hr {
    border: none !important;
    border-top: 1px solid #e2e8f0 !important;
    margin: 25px 0 !important;
}


/* ========================================================
   ۳. چیدمان بخش دوره‌ها و فیلترها
   ======================================================== */
.courses-top-bar .courses-top-bar-left {
    display: none !important;
}

.courses-top-bar {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 25px !important;
    background: transparent !important;
}

#mobile-filter-trigger,
#mobile-filter-modal-header {
    display: none !important;
}

.courses-top-bar .courses-top-bar-right {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.courses-top-bar .widget_product_search input[type="search"],
.courses-top-bar .widget_product_search input[type="text"] {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 45px 14px 18px !important;
    font-size: 14px !important;
    color: #333333 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

.courses-top-bar .widget_product_search button {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #a0aec0 !important;
}

@media only screen and (max-width: 991px) {
    body.filter-modal-open {
        overflow: hidden !important;
    }

    .courses-top-bar .courses-top-bar-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .courses-top-bar .courses-top-bar-right .courses-search,
    .courses-top-bar .widget_product_search,
    .courses-top-bar .courses-top-bar-right .widget,
    .courses-top-bar .courses-top-bar-right form,
    .courses-top-bar .courses-top-bar-right .woocommerce-product-search {
        flex: 1 1 0% !important;
        width: 100% !important;
        position: relative !important;
        order: 1 !important;
    }

    .courses-top-bar .widget_product_search input[type="search"],
    .courses-top-bar .widget_product_search input[type="text"],
    .courses-top-bar .courses-top-bar-right form input[type="search"] {
        width: 100% !important;
        height: 48px !important;
        line-height: 48px !important;
        padding: 0 16px 0 44px !important;
        border-radius: 12px !important;
        direction: rtl !important;
        text-align: right !important;
    }

    .courses-top-bar .widget_product_search button,
    .courses-top-bar .courses-top-bar-right form button {
        position: absolute !important;
        left: 14px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: none !important;
        border: none !important;
        color: #a0aec0 !important;
        z-index: 2 !important;
    }

    #mobile-filter-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        color: #4a5568 !important;
        cursor: pointer !important;
        order: 2 !important;
        position: relative !important;
    }

    #mobile-filter-trigger.active {
        background: #3182ce !important;
        border-color: #3182ce !important;
        color: #ffffff !important;
    }

    .course-main-wrapper .main-sidebar-holder {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #1a202c !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        padding: 20px 18px 80px 18px !important;
        box-sizing: border-box !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s !important;
    }

    .course-main-wrapper .theiaStickySidebar {
        position: static !important;
        transform: none !important;
    }

    .course-main-wrapper .main-sidebar-holder.active-mobile-filter {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    #mobile-filter-modal-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 16px !important;
        margin-bottom: 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    #mobile-filter-modal-header .filter-modal-title {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
    }

    #mobile-filter-modal-header #close-mobile-filter {
        background: transparent !important;
        border: none !important;
        color: #a0aec0 !important;
        cursor: pointer !important;
    }

    .main-sidebar-holder .widget {
        background: #232a38 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 14px !important;
        padding: 16px !important;
        margin-bottom: 15px !important;
    }

    .main-sidebar-holder .widget .widget-title {
        color: #e2e8f0 !important;
        font-size: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 10px !important;
        margin-bottom: 14px !important;
    }

    .main-sidebar-holder .widget a,
    .main-sidebar-holder .widget label,
    .main-sidebar-holder .widget span,
    .main-sidebar-holder .widget li {
        color: #cbd5e0 !important;
        font-size: 14px !important;
    }
}

#mobile-filter-trigger .filter-badge {
    position: absolute !important;
    top: -6px !important;
    left: -6px !important;
    background: #ff5722 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 19px !important;
    height: 19px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    padding: 0 4px !important;
}

#mobile-active-filters-box {
    background: #232a38 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-bottom: 20px !important;
}

.active-filter-header-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
    color: #a0aec0 !important;
}

.active-filter-header-bar .clear-all-filters-btn {
    color: #e53e3e !important;
    font-size: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.active-tags-holder {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.active-tag-chip {
    background: #2d3748 !important;
    color: #63b3ed !important;
    border: 1px solid #4a5568 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
}

.wpf_reset_btn,
.wpf_reset,
.wpfFilterButtons,
.main-sidebar-holder .wpf_reset_btn,
.main-sidebar-holder a.reset,
.main-sidebar-holder .reset_filters,
.main-sidebar-holder [class*="reset"] {
    display: none !important;
}

.wpfFilterTitleEdit,
.wpf_edit_filter,
.main-sidebar-holder [class*="wpfFilterTitleEdit"],
.main-sidebar-holder [class*="edit-filter"],
.main-sidebar-holder span.edit,
.main-sidebar-holder a.edit {
    display: none !important;
}

.main-sidebar-holder li,
.main-sidebar-holder .wpfCheckbox,
.main-sidebar-holder .wpfFilterContent li {
    display: flex !important;
    align-items: center !important;
    padding: 6px 4px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.main-sidebar-holder input[type="checkbox"],
.main-sidebar-holder input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid #718096 !important;
    border-radius: 5px !important;
    background: transparent !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 0 0 10px !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main-sidebar-holder input[type="radio"] {
    border-radius: 50% !important;
}

.main-sidebar-holder input[type="checkbox"]:checked,
.main-sidebar-holder input[type="radio"]:checked {
    background-color: #00bcd4 !important;
    border-color: #00bcd4 !important;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.45) !important;
}

.main-sidebar-holder input[type="checkbox"]:checked::after {
    content: '' !important;
    display: block !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #ffffff !important;
    border-width: 0 2.4px 2.4px 0 !important;
    transform: rotate(45deg) translate(-1px, -1px) !important;
}

.main-sidebar-holder input[type="radio"]:checked::after {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
}


/* ========================================================
   ۴. تم سرمه‌ای کل صفحات و المنتور
   ======================================================== */
body,
#wrap,
#content,
.main-page-content,
.main-page-content.default-margin,
.site-content-inner,
.course-main-wrapper {
    background-color: #161b26 !important;
    background-image: none !important;
    color: #cbd5e0 !important;
}

.elementor-section:not([data-settings*="background_background"]),
.elementor-top-section,
.elementor-inner-section {
    background-color: transparent !important;
}

.course-features,
.course-table,
.single-product-summary,
.comment-respond,
.main-sidebar-holder .widget {
    background: #212836 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

header.site-header,
.site-header-inner,
.site-header-wrap,
.header-wrap,
.site-header {
    background-color: #1a202c !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-header .main-navigation ul li a,
.site-header a,
.site-header .header-account-title {
    color: #f7fafc !important;
}

.site-header .main-navigation ul li a:hover {
    color: #f43f5e !important;
}

[class*="testimonial"],
.elementor-testimonial-item,
.elementor-testimonial__content,
.elementor-testimonial-meta,
.studiare-testimonials,
.single-product-box,
.blog-post-card,
article.post {
    background: #212836 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
}

.button,
.btn-primary,
.course-button,
a.button,
input[type="submit"],
.elementor-button {
    transition: all 0.3s ease !important;
}

.button:hover,
.btn-primary:hover,
a.button:hover,
input[type="submit"]:hover,
.elementor-button:hover {
    background-color: #be123c !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4) !important;
}

.badge,
.onsale,
.badge-discount,
.tag-badge {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

footer#footer,
.site-footer,
.footer-wrap,
.footer-widgets,
.sub-footer {
    background-color: #11151e !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

footer p, footer span, footer a, footer li {
    color: #a0aec0 !important;
}


/* ========================================================
   ۵. بخش هیرو (Hero Stats)
   ======================================================== */
.elementor-element-1ad0689 h5,
.elementor-element-1ad0689 .elementor-heading-title:has(h5),
.elementor-element-1ad0689 p:first-of-type {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

.elementor-element-1ad0689 h1,
.elementor-element-1ad0689 h2,
.elementor-element-1ad0689 h3,
.elementor-element-1ad0689 h4,
.elementor-element-1ad0689 .elementor-heading-title {
    color: #ffffff !important;
}

.elementor-element-1ad0689 p {
    color: #e2e8f0 !important;
    font-size: 15px !important;
}

.elementor-element-1ad0689 .elementor-counter .elementor-counter-number-wrapper,
.elementor-element-1ad0689 .elementor-counter-number,
.elementor-element-1ad0689 .elementor-counter-number-suffix,
.elementor-element-1ad0689 .elementor-counter-number-prefix {
    color: #38bdf8 !important;
    font-weight: 900 !important;
    font-size: 32px !important;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.elementor-element-1ad0689 .elementor-counter .elementor-counter-title {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
}


/* ========================================================
   ۶. ۴ باکس خدمات شیشه‌ای (Glassmorphism)
   ======================================================== */
.elementor-element-372310f2 .elementor-column,
.elementor-element-372310f2 .elementor-widget-wrap,
.elementor-element-372310f2 .elementor-element-populated {
    background: transparent !important;
}

.elementor-element-372310f2 .elementor-widget-icon-box .elementor-widget-container {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.85)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 24px 20px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.elementor-element-372310f2 .elementor-widget-icon-box:hover .elementor-widget-container {
    transform: translateY(-7px) !important;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95)) !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.18) !important;
}

.elementor-element-372310f2 .elementor-icon-box-icon {
    margin-bottom: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    background: rgba(56, 189, 248, 0.08) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 14px !important;
}

.elementor-element-372310f2 .elementor-icon-box-title,
.elementor-element-372310f2 .elementor-icon-box-title span,
.elementor-element-372310f2 .elementor-icon-box-title a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.elementor-element-372310f2 .elementor-icon-box-description,
.elementor-element-372310f2 .elementor-icon-box-description p,
.elementor-element-372310f2 .elementor-icon-box-content p {
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

/* ۶. اصلاح باکس‌های خدمات برای تراز یکسان در موبایل */
@media only screen and (max-width: 767px) {
    /* اطمینان از اینکه ستون‌های المنتور در موبایل فلکس هستند */
    .elementor-element-372310f2 .elementor-column-wrap,
    .elementor-element-372310f2 .elementor-widget-wrap {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    /* ویجت داخلی باکس */
    .elementor-element-372310f2 .elementor-widget-icon-box {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        height: 100% !important;
    }

    /* کانتینر اصلی باکس (شیشه‌ای) */
    .elementor-element-372310f2 .elementor-widget-icon-box .elementor-widget-container {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        padding: 20px 15px !important; /* کمی فضا را در موبایل بهینه کردیم */
    }

    /* این بخش محتوا را به پایین هل می‌دهد تا عناوین در یک سطح قرار بگیرند */
    .elementor-element-372310f2 .elementor-icon-box-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        justify-content: flex-start !important;
    }
}



/* ========================================================
   ۷. استایل دکمه کاربری و ورود در دسکتاپ
   ======================================================== */
@media only screen and (min-width: 992px) {
    .site-header .header-button-link,
    .site-header-inner .header-button-link,
    .header-button-link {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }

    /* دکمه کپسولی ورود و ثبت نام در دسکتاپ (حالت مهمان) */
    .site-header .header-button-link > a,
    .site-header-inner .header-button-link > a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 9px 20px !important;
        border-radius: 30px !important;
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(30, 41, 59, 0.8)) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
        transition: all 0.3s ease !important;
    }

    .site-header .header-button-link > a:hover {
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(30, 41, 59, 0.95)) !important;
        border-color: #38bdf8 !important;
        box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3) !important;
        color: #ffffff !important;
    }

    /* دکمه کپسولی کاربر لاگین کرده در دسکتاپ */
    .header-button-link .user-menu.header__details-user {
        display: inline-flex !important;
        align-items: center !important;
        gap: 9px !important;
        padding: 6px 14px 6px 10px !important;
        border-radius: 30px !important;
        background: rgba(30, 41, 59, 0.65) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    }

    .header-button-link .user-menu.header__details-user:hover,
    .header-button-link .user-menu.header__details-user.user-menu-open {
        background: rgba(30, 41, 59, 0.9) !important;
        border-color: rgba(56, 189, 248, 0.4) !important;
    }

    .header-button-link .user-menu img.avatar {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        margin: 0 !important;
        border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    }

    .header-button-link .user-menu p.login-btn-txt {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #f8fafc !important;
        line-height: 1 !important;
    }

    .header-button-link .user-menu i.fa-chevron-down {
        font-size: 11px !important;
        color: #94a3b8 !important;
        transition: transform 0.25s ease !important;
    }

    .header-button-link .user-menu.user-menu-open i.fa-chevron-down {
        transform: rotate(180deg) !important;
        color: #38bdf8 !important;
    }
}

/* منوی کشویی پروفایل (مشترک) */
.header-button-link .user-menu__list {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 220px !important;
    background: rgba(22, 27, 38, 0.88) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
    z-index: 99999 !important;
    direction: rtl !important;
    text-align: right !important;
}

.header-button-link .user-menu__list.list-open {
    display: block !important;
}

.header-button-link .user-menu__list ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-button-link .user-menu__list ul li {
    margin: 3px 0 !important;
    padding: 0 !important;
}

.header-button-link .user-menu__list ul li.divider,
.header-button-link .user-menu__list ul li:has(.woo-wallet-menu-contents) {
    display: none !important;
}

.header-button-link .user-menu__list ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.header-button-link .user-menu__list ul li a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.header-button-link .user-menu__list ul li a i {
    font-size: 14px !important;
    width: 20px !important;
    text-align: center !important;
    color: #94a3b8 !important;
}

.header-button-link .user-menu__list ul li a:hover i {
    color: #38bdf8 !important;
}

.header-button-link .user-menu__list ul li.log-out {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
}

.header-button-link .user-menu__list ul li.log-out a {
    color: #f87171 !important;
}

.header-button-link .user-menu__list ul li.log-out a:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
}

/* آیکون سبد خرید در هدر */
.site-header .header-cart-icon,
.site-header .mini-cart-opener,
.site-header .header-cart-icon a,
.site-header .bag-icon {
    color: #f1f5f9 !important;
    fill: #f1f5f9 !important;
    font-size: 20px !important;
}

.site-header .mini-cart-opener:hover,
.site-header .header-cart-icon a:hover {
    color: #38bdf8 !important;
}

.site-header .studiare-cart-number,
.site-header .header-cart-icon .studiare-cart-number {
    background: #0ea5e9 !important;
    color: #ffffff !important;
    border: 2px solid #1a202c !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ========================================================
   ۸. اصلاح قطعی مینی‌کارت و سبد خرید خالی (استادیار)
   ======================================================== */

/* استایل کادر بازشونده مینی‌کارت در دسکتاپ و موبایل */
.header-cart .dropdown-cart,
.dropdown-cart.visible,
.site-header .header-cart .dropdown-cart {
    background-color: #1a202c !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    padding: 30px 20px !important;
    color: #e2e8f0 !important;
    min-width: 290px !important;
    min-height: 200px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* وقتی محتوای سبد خرید ووکامرس خالی است (تولید خودکار آیکون، متن و دکمه) */
.header-cart .dropdown-cart .widget_shopping_cart_content:empty,
.header-cart .dropdown-cart:not(:has(.mini_cart_item)) .widget_shopping_cart_content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 180px !important;
}

/* ۱. آیکون سبد خرید خالی */
.header-cart .dropdown-cart .widget_shopping_cart_content:empty::before,
.header-cart .dropdown-cart:not(:has(.mini_cart_item)) .widget_shopping_cart_content::before {
    content: "\f291" !important; /* آیکون سبد خرید FontAwesome */
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 42px !important;
    color: #38bdf8 !important;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45)) !important;
    margin-bottom: 12px !important;
    display: block !important;
}

/* ۲. متن "سبد خرید شما خالی است" */
.header-cart .dropdown-cart .widget_shopping_cart_content:empty::after,
.header-cart .dropdown-cart:not(:has(.mini_cart_item)) .widget_shopping_cart_content::after {
    content: "سبد خرید شما در حال حاضر خالی است." !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    display: block !important;
    line-height: 1.6 !important;
}

/* اگر متنی توسط قالب جنریت شد (حالت‌های دیگر استادیار) */
.dropdown-cart .empty-box,
.header-cart .empty-box,
.empty-cart-wraper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
}

.dropdown-cart .empty-box p,
.dropdown-cart p,
.empty-box,
.woocommerce-mini-cart__empty-message,
.widget_shopping_cart p.empty {
    color: #e2e8f0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 14px 0 !important;
    display: block !important;
}

/* دکمه‌های بازگشت به فروشگاه در هر دو حالت */
.empty-cart-wraper a.button,
.empty-cart-wraper .return-to-shop a,
.dropdown-cart a.button,
.widget_shopping_cart .buttons a,
.woocommerce-mini-cart__buttons a {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    margin-top: 15px !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.empty-cart-wraper a.button:hover,
.empty-cart-wraper .return-to-shop a:hover,
.dropdown-cart a.button:hover,
.widget_shopping_cart .buttons a:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* ========================================================
   ۹. استایل زیرمنوهای هدر در دسکتاپ (Dropdown Submenus)
   ======================================================== */

/* کانتینر اصلی منوی بازشونده (ul.sub-menu) */
.studiare-navigation ul.menu li ul.sub-menu,
.studiare-navigation ul.menu li ul,
.site-header .studiare-navigation ul.sub-menu,
.site-navigation ul.sub-menu {
    background: rgba(15, 23, 42, 0.95) !important; /* سرمه‌ای تیره لوکس */
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1) !important;
    padding: 8px !important;
    min-width: 210px !important;
    margin-top: 10px !important;
    overflow: hidden !important;
}

/* آیتم‌های داخل زیرمنو */
.studiare-navigation ul.menu li ul.sub-menu li,
.studiare-navigation ul.menu li ul li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.studiare-navigation ul.menu li ul.sub-menu li:last-child,
.studiare-navigation ul.menu li ul li:last-child {
    border-bottom: none !important;
}

/* لینک‌ها و متن‌های داخل زیرمنو */
.studiare-navigation ul.menu li ul.sub-menu li a,
.studiare-navigation ul.menu > li ul li > a,
.studiare-navigation .menu > ul > li ul li > a {
    color: #cbd5e1 !important; /* رنگ متن کامپکت و خوانا */
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 8px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* حالت هاور (رفتن موس روی آیتم‌های زیرمنو) */
.studiare-navigation ul.menu li ul.sub-menu li a:hover,
.studiare-navigation ul.menu > li ul li > a:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important; /* رنگ فیروزه‌ای نئونی */
    padding-right: 20px !important; /* جابجایی نرم به سمت راست */
}

/* فلش رو به پایین آیتم‌هایی که زیرمنو دارند */
.studiare-navigation ul.menu > li.menu-item-has-children > a::after {
    color: #94a3b8 !important;
    transition: transform 0.25s ease !important;
}

.studiare-navigation ul.menu > li.menu-item-has-children:hover > a::after {
    color: #38bdf8 !important;
    transform: rotate(180deg) !important;
}

/* ========================================================
   اصلاح و یکدست‌سازی نهایی مودال ورود (حذف کادر سفید و تمیزکاری کامل)
   ======================================================== */

/* ۱. حذف پس‌زمینه سفید کانتینرهای استادیار */
.login-form-modal,
.login-form-modal .login-form-modal-inner {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ۲. باکس اصلی پاپ‌آپ (تیره، گرد و شیشه‌ای یکدست) */
.login-form-modal .login-form-modal-box {
    background: #0f172a !important; /* رنگ زمینه دارک */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(14, 165, 233, 0.15) !important;
    padding: 30px 24px 28px 24px !important;
    max-width: 390px !important;
    width: 90% !important;
    position: relative !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

/* ۳. حذف هدر تکراری و متن اضافی قالب استادیار */
.login-form-modal .login-form-header {
    display: none !important;
}

/* مخفی کردن متن «هنوز عضو نشده اید؟ عضویت در سایت» استادیار */
.login-form-modal .login-form-content {
    font-size: 0 !important; /* حذف متن متنی بدون کلاس */
    padding: 0 !important;
    background: transparent !important;
}

.login-form-modal .login-form-content > a[href*="my-account"] {
    display: none !important;
}

/* ۴. دکمه ضربدر بستن پاپ‌آپ */
.login-form-modal .login-form-modal-box a.close {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    width: 30px !important;
    height: 30px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    z-index: 20 !important;
}

.login-form-modal .login-form-modal-box a.close svg {
    width: 12px !important;
    height: 12px !important;
    fill: #94a3b8 !important;
    transition: all 0.25s ease !important;
}

.login-form-modal .login-form-modal-box a.close:hover {
    background: rgba(239, 68, 68, 0.2) !important;
}

.login-form-modal .login-form-modal-box a.close:hover svg {
    fill: #ef4444 !important;
    transform: rotate(90deg);
}

/* ۵. کانتینرهای فرم فراز اس‌ام‌اس */
.farazsms-inline-login-wrapper,
.farazsms-inline-login-wrapper .login-register-page,
.farazsms-inline-login-wrapper .login-register-form,
.farazsms-inline-login-wrapper .farazsms-main-login-form {
    font-size: 14px !important; /* بازگردانی سایز فونت */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ۶. لوگوی دایره‌ای بالای فرم */
.farazsms-inline-login-wrapper .logo {
    text-align: center !important;
    margin: 5px auto 16px auto !important;
}

.farazsms-inline-login-wrapper .logo img {
    max-width: 95px !important;
    height: auto !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.25) !important;
}

/* ۷. عنوان و متن راهنما */
.farazsms-inline-login-wrapper .farazsms-form-title {
    color: #f8fafc !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
    text-align: center !important;
}

.farazsms-inline-login-wrapper .farazsms-form-subtitle {
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin: 0 0 20px 0 !important;
    text-align: center !important;
}

/* ۸. فیلد شماره موبایل */
.farazsms-inline-login-wrapper input#identifier,
.farazsms-inline-login-wrapper input[type="text"] {
    width: 100% !important;
    height: 48px !important;
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    letter-spacing: 1.5px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.farazsms-inline-login-wrapper input#identifier:focus {
    background: #1e293b !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25) !important;
    outline: none !important;
}

/* متن خطا */
.farazsms-inline-login-wrapper .text-error {
    color: #f87171 !important;
    font-size: 12px !important;
    margin-top: 6px !important;
    text-align: center !important;
}

/* ۹. دکمه ورود (گرادیانت نئونی تم سایت) */
.farazsms-inline-login-wrapper .farazsms-submit {
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 14px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.farazsms-inline-login-wrapper .farazsms-submit:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* ۱۰. متن قوانین و مقررات */
.farazsms-inline-login-wrapper .farazsms-footer-text {
    font-size: 11.5px !important;
    color: #64748b !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.farazsms-inline-login-wrapper .farazsms-footer-text a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* ========================================================
   اصلاح مرحله کد تأیید، حذف ورود با رمز و اصلاح لودینگ زرد
   ======================================================== */

/* ۱. حذف دائمی دکمه «ورود با رمز عبور» */
#login-with-password,
.farazsms-change-link {
    display: none !important;
}

/* ۲. حذف یا اصلاح لودینگ زرد رنگ اضافه */
.farazsms-loading,
.farazsms-inline-login-wrapper .loading-btn,
.farazsms-inline-login-wrapper form > div[style*="background: rgb(255"], 
.farazsms-inline-login-wrapper form > button[style*="yellow"],
.farazsms-inline-login-wrapper .farazsms-submit + div,
.farazsms-inline-login-wrapper .farazsms-submit + button {
    display: none !important;
}

/* اگر دکمه در حال لودینگ کلاس خاصی می‌گیرد */
.farazsms-submit.loading,
.farazsms-submit:disabled {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    opacity: 0.7 !important;
}

/* ۳. استایل دکمه بازگشت / ویرایش شماره (فلش) */
.farazsms-main-login-form .farazsms-back {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.25s ease !important;
}

.farazsms-main-login-form .farazsms-back svg {
    fill: #94a3b8 !important;
    width: 14px !important;
    height: 14px !important;
    transition: all 0.25s ease !important;
}

.farazsms-main-login-form .farazsms-back:hover {
    background: rgba(14, 165, 233, 0.2) !important;
}

.farazsms-main-login-form .farazsms-back:hover svg {
    fill: #38bdf8 !important;
    transform: translateX(2px);
}

/* ۴. استایل باکس‌های ۵ رقمی کد تأیید (OTP) */
.farazsms-otp-inputs {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    direction: ltr !important;
    margin: 18px 0 !important;
}

.farazsms-otp-inputs input.otp-digit {
    width: 48px !important;
    height: 52px !important;
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
}

.farazsms-otp-inputs input.otp-digit:focus {
    border-color: #0ea5e9 !important;
    background: #1e293b !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25) !important;
    outline: none !important;
}

/* ۵. استایل تایمر شمارش معکوس */
.farazsms-countdown-timer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin: 14px 0 !important;
    direction: rtl !important;
}

.farazsms-countdown-timer #farazsms-timer {
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    letter-spacing: 1px !important;
}

.farazsms-countdown-timer .farazsms-timer-text {
    color: #64748b !important;
    font-size: 12.5px !important;
}

/* دکمه ارسال مجدد در صورت اتمام تایمر */
.farazsms-resend-code {
    color: #38bdf8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}


/* =========================================
   صفحه تکی دوره (Single Course / Product)
   ========================================= */

/* پس‌زمینه کلی صفحه دوره */
.single-product .site-content,
.single-product .main-page-content {
    background-color: #0b1120 !important;
}

/* باکس‌های سایدبار اطلاعات دوره (تعداد دانشجو، زبان، ساعت و...) */
.course-teacher-details, 
.product-info-box, 
.product-reviews, 
.product-single-content {
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
}

/* متن‌ها و آیکون‌های داخل باکس اطلاعات دوره */
.product-info-box li,
.product-info-box span,
.product-info-box div,
.product-info-box p {
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.product-info-box svg,
.product-info-box i {
    color: #38bdf8 !important; /* رنگ آیکون‌ها هماهنگ با تم */
}

/* خطوط جداکننده داخل باکس مشخصات */
.product-info-box ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.single-product .theiaStickySidebar {
    background: transparent !important;
}


/* ===================================================
   حل مشکل دکمه سبز و باکس دریافت فایل‌ها (دقیقاً بر اساس Inspect)
   =================================================== */

/* 1. اصلاح باکس/دکمه "دانشجوی دوره هستید" (حذف سبز فسفری و جایگزینی با گرادیان سرمه‌ای-آبی شیک) */
.purchased-info-box,
.product-info-box .purchased-info-box {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    line-height: normal !important;
}
.purchased-info-box i,
.purchased-info-box svg {
    color: #ffffff !important;
    margin-right: 8px !important;
}

/* 2. رفع مشکل دورنگ بودن و دارک کردن کامل باکس "دریافت فایل های دوره" */
.product-single-aside ul.wcdlar_download_list,
ul.wcdlar_download_list,
.wcdlar_download_list {
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* آیتم عنوان و نوار کلیک آکاردئون */
.product-single-aside ul.wcdlar_download_list li,
ul.wcdlar_download_list li {
    background-color: #131c31 !important;
    border: none !important;
}

.product-single-aside ul.wcdlar_download_list li a.title,
ul.wcdlar_download_list li a.title {
    background-color: #131c31 !important;
    color: #e2e8f0 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    font-weight: 500 !important;
}

.product-single-aside ul.wcdlar_download_list li a.title:hover {
    background-color: #1a2642 !important;
    color: #38bdf8 !important;
}

/* آیکون فلش باز شونده */
.product-single-aside ul.wcdlar_download_list li a.title:after,
ul.wcdlar_download_list li a.title:after {
    color: #94a3b8 !important;
}

/* محتوای بازشونده زیرفایل‌ها */
ul.wcdlar_download_list li .sub_items {
    background-color: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    padding: 12px 18px !important;
}

ul.wcdlar_download_list li .sub_items a {
    color: #38bdf8 !important;
}


/* =========================================
   مشاوره و دوره‌های مرتبط
   ========================================= */

/* 3. دارک کردن باکس "درخواست مشاوره" */
#course-advice .advice-inner {
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
}
#course-advice .advice-content h3 {
    color: #f8fafc !important;
}
#course-advice .advice-content p {
    color: #cbd5e1 !important;
}
.advice-modal-opener {
    background-color: #f59e0b !important;
    color: #111827 !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    border: none !important;
}
.advice-modal-opener:hover {
    background-color: #d97706 !important;
}

/* 4. استایل کارت‌های "دوره‌های مرتبط" */
.single-product .products.list-view .course-item-inner {
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}
.single-product .products.list-view .course-content-holder {
    background-color: transparent !important;
}
.single-product .products.list-view .course-title a {
    color: #f8fafc !important;
    transition: color 0.3s ease !important;
}
.single-product .products.list-view .course-title a:hover {
    color: #38bdf8 !important;
}
.single-product .products.list-view .course-description,
.single-product .products.list-view .course-description p {
    color: #94a3b8 !important;
}

/* =========================================
   اصلاحات نهایی صفحه دوره (سرفصل‌ها، نظرات، قیمت، ضمانت)
   ========================================= */

/* 1. اصلاح باکس قیمت دوره که سفید مانده بود */
.product-single-aside .wcdlar_price_box,
.product-single-aside .course-price,
.product-single-aside .price-box,
.product-single-aside .price-wrapper,
.single-product .price-box {
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
}
.product-single-aside .wcdlar_price_box *,
.product-single-aside .course-price *,
.product-single-aside .price-box *,
.single-product .price-box * {
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important; /* خط چین وسط باکس قیمت */
}

/* 2. اصلاح فیلد دراپ‌داون (انتخاب تعداد دانشجو) */
.product-info-box select,
.course-teacher-details select,
.single-product select {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    outline: none !important;
}

/* 3. تاریک کردن بخش "سرفصل‌های دوره" (آکاردئون‌ها و دروس) */
.course-section {
    background-color: transparent !important;
}
/* هدر اصلی بخش سرفصل */
.course-section-title-elementory {
    background-color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
}
.course-section-title-elementory .gheadlinel span { color: #f8fafc !important; }
.course-section-title-elementory .subtitle-lesson { color: #94a3b8 !important; }

/* باکس هر جلسه (ردیف‌های آکاردئون) */
.course-panel-heading {
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    transition: all 0.3s ease !important;
}
.course-panel-heading:hover {
    background-color: #1e293b !important;
}
.course-panel-heading .title h4 { color: #e2e8f0 !important; }
.course-panel-heading .title .subtitle { color: #94a3b8 !important; }
.course-lesson-icon i { color: #38bdf8 !important; }

/* محتوای باز شده هر جلسه (ویدیو یا متن) */
.panel-content-inner {
    background-color: #0b1120 !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    padding: 15px !important;
}

/* 4. اصلاح باکس "ضمانت بازگشت وجه" (رفع مشکل ناخوانا بودن متن روی پس‌زمینه روشن) */
.single-product .elementor-widget-image-box .elementor-image-box-wrapper,
.elementor-element-38befc50 .elementor-widget-container {
    background-color: rgba(16, 185, 129, 0.05) !important; /* پس زمینه خیلی ملایم سبز تاریک */
    border: 1px solid rgba(16, 185, 129, 0.3) !important; /* حاشیه سبز ملایم */
    border-radius: 12px !important;
    padding: 20px !important;
}
.single-product .elementor-widget-image-box .elementor-image-box-title { 
    color: #34d399 !important; /* سبز روشن و خوانا برای تیتر */
}
.single-product .elementor-widget-image-box .elementor-image-box-description { 
    color: #cbd5e1 !important; 
}

/* 5. استایل‌دهی بخش "نظرات" (فرم کامنت‌ها) */
#commentform textarea,
#commentform input[type="text"],
#commentform input[type="tel"],
#commentform input[type="email"] {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
#commentform textarea:focus,
#commentform input:focus {
    border-color: #38bdf8 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2) !important;
}
#commentform label {
    color: #cbd5e1 !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
}
/* دکمه ارسال نظر */
#commentform .submit {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important; /* نارنجی شیک */
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 25px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
#commentform .submit:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

/* ========================================================
   اصلاح نهایی باکس قیمت و دکمه ثبت نام دوره
   ======================================================== */

/* 1. دارک کردن کل باکس قیمت (شامل زمینه سفید و فرورفتگی‌های دو طرف) */
.product-info-box .sell_course,
.product-single-aside .sell_course {
    background: #131c31 !important;
    background-color: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    box-shadow: none !important;
}

/* رفع سفیدی دندانه‌ها یا شبه‌عنصرهای دو طرف باکس کوپن/قیمت استادیار */
.product-info-box .sell_course::before,
.product-info-box .sell_course::after,
.sell_course::before,
.sell_course::after {
    background-color: #0b1120 !important; /* همرنگ پس‌زمینه اصلی صفحه */
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* اصلاح رنگ متن عنوان قیمت و عدد مبلغ */
.product-info-box .sell_course strong,
.product-info-box .sell_course p.price,
.product-info-box .sell_course .woocommerce-Price-amount,
.product-info-box .sell_course .woocommerce-Price-currencySymbol {
    color: #38bdf8 !important; /* فیروزه‌ای نئونی و درخشان */
    font-weight: 700 !important;
}
.product-info-box .sell_course strong {
    color: #94a3b8 !important; /* کلمه "قیمت :" خاکستری روشن ملایم */
}

/* خط جداکننده وسط قیمت */
.product-info-box .sell_course {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 2. مدرن‌سازی دکمه سبز "ثبت نام دوره" (تبدیل به گرادیانت سبز زمردی نئونی با هاور جذاب) */
.product-info-box .button,
.product-info-box .single_add_to_cart_button,
.product-single-aside .single_add_to_cart_button {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
    border-radius: 12px !important;
    height: 52px !important;
    line-height: 50px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* افکت هاور دکمه ثبت نام */
.product-info-box .button:hover,
.product-info-box .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #34d399, #10b981) !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* آیکون داخل دکمه ثبت‌نام */
.product-info-box .button i,
.product-info-box .button svg {
    color: #ffffff !important;
}

/* ========================================================
   اصلاح و دارک کردن اختصاصی باکس ضمانت بازگشت وجه (المنتور)
   ======================================================== */

/* 1. تیره کردن کل کانتینر ویجت ضمانت با حاشیه ظریف سبز زمردی */
.elementor-element-756c77f4,
.elementor-element-756c77f4 .elementor-widget-container,
.elementor-element-756c77f4 .elementor-image-box-wrapper {
    background: #131c31 !important; /* رنگ سرمه‌ای دارک هماهنگ با بقیه بخش‌ها */
    background-color: #131c31 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important; /* حاشیه سبز زمردی شیک */
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(16, 185, 129, 0.04) !important;
}

/* 2. عنوان ضمانت (سبز فسفری/زمردی نئونی با خوانایی بالا) */
.elementor-element-756c77f4 .elementor-image-box-title,
.elementor-element-756c77f4 .elementor-image-box-title a {
    color: #34d399 !important; /* سبز نئونی روشن */
    font-weight: 800 !important;
    font-size: 17px !important;
    margin-bottom: 8px !important;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.25) !important;
}

/* 3. متن توضیحات داخل باکس */
.elementor-element-756c77f4 .elementor-image-box-description,
.elementor-element-756c77f4 p.elementor-image-box-description {
    color: #cbd5e1 !important; /* سفید/طوسی روشن کاملاً خوانا */
    font-size: 13.5px !important;
    line-height: 1.8 !important;
}

/* 4. آیکون/لوگوی ۱۰۰٪ ضمانت */
.elementor-element-756c77f4 .elementor-image-box-img img {
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.35)) !important;
}

/* ========================================================
   اصلاح و دارک کردن بج تعداد دانشجوهای دوره (استادیار)
   ======================================================== */

.product-info-box .total_sales span,
.total_sales span {
    background-color: #1e293b !important; /* پس‌زمینه تیره هماهنگ با کارت */
    color: #38bdf8 !important;            /* عدد به رنگ فیروزه‌ای روشن و خوانا */
    border: 1px solid rgba(56, 189, 248, 0.25) !important; /* حاشیه شیشه‌ای ظریف */
    border-radius: 8px !important;
    padding: 3px 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* آیکون کلاه فارغ‌التحصیلی کنار تعداد دانشجو */
.product-info-box .total_sales i,
.product-info-box .total_sales svg {
    color: #38bdf8 !important;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4)) !important;
}

/* ========================================================
   اصلاح و دارک کردن کامل بخش نظرات و امتیازدهی (Select2)
   ======================================================== */

/* ۱. تبدیل دکمه ارسال دیدگاه از نارنجی به تم گرادیانت فیروزه‌ای نئونی سایت */
#commentform .submit,
#commentform input#submit,
.comment-respond .form-submit input#submit {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    border-radius: 10px !important;
    padding: 10px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35) !important;
    transition: all 0.3s ease !important;
}

#commentform .submit:hover,
#commentform input#submit:hover,
.comment-respond .form-submit input#submit:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.55) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* ۲. دارک کردن کادر انتخاب امتیاز دوره (حالت بسته) */
.comment-form-rating .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single {
    background-color: #0f172a !important; /* سرمه‌ای تیره */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
}

/* متن و عنوان داخل فیلد انتخاب امتیاز */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #cbd5e1 !important;
    line-height: 44px !important;
    padding-right: 14px !important;
    font-size: 13.5px !important;
}

/* آیکون فلش کنار فیلد امتیاز */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    left: 10px !important;
    right: auto !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #94a3b8 transparent transparent transparent !important;
}

/* ۳. دارک کردن منوی بازشونده (دراپ‌داون Select2) */
.select2-dropdown {
    background-color: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

/* حذف فیلد جستجوی پیش‌فرض داخل دراپ‌داون اگر وجود داشت */
.select2-dropdown .select2-search--dropdown {
    background-color: #0f172a !important;
    padding: 6px !important;
}
.select2-dropdown .select2-search__field {
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

/* گزینه‌های امتیازدهی (عالی، خوب، متوسط، ضعیف) */
.select2-results__option {
    background-color: #131c31 !important;
    color: #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    transition: all 0.2s ease !important;
}

/* حالت هاور یا انتخاب شده روی گزینه‌ها */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    font-weight: 600 !important;
}

/* ۴. دارک کردن ستاره‌های امتیاز و بج Reply دیدگاه‌ها */
.product-reviews .comment-reply-link,
.comment-respond a#cancel-comment-reply-link {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
}
.product-reviews .comment-reply-link:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
}

/* ========================================================
   طراحی دارک و نئونی صفحه تک‌نوشته / مقاله (Single Blog Post)
   ======================================================== */

/* ۱. بدنه و کانتینر اصلی مقاله */
.single-post .site-content-inner,
.blog-loop-inner.post-single {
    background: transparent !important;
}

/* باکس اصلی محتوای مقاله */
.blog-loop-inner.post-single > .post .post-inner {
    background: #0f172a !important; /* سرمه‌ای تیره هماهنگ با سایدبار */
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
    color: #cbd5e1 !important;
}

/* تیتر اصلی مقاله (H1) */
.blog-loop-inner.post-single > .post .post-inner .entry-header h1.entry-title {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 18px !important;
    margin-bottom: 18px !important;
}

/* متادیتای مقاله (تاریخ، نویسنده، دسته‌بندی، تعداد بازدید) */
.blog-loop-inner.post-single .entry-header .post-meta,
.blog-loop-inner.post-single .entry-header [class*="post-meta"] {
    color: #94a3b8 !important;
    font-size: 13px !important;
}
.blog-loop-inner.post-single .entry-header .post-meta a {
    color: #38bdf8 !important; /* فیروزه‌ای نئونی */
    transition: color 0.2s ease;
}
.blog-loop-inner.post-single .entry-header .post-meta a:hover {
    color: #0ea5e9 !important;
}
.blog-loop-inner.post-single .entry-header .post-meta i,
.blog-loop-inner.post-single .entry-header .post-meta .material-icons {
    color: #38bdf8 !important;
}

/* تصویر شاخص مقاله */
.blog-loop-inner.post-single .post-thumbnail img {
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

/* ۲. متن و تایپوگرافی داخل محتوای مقاله */
.blog-loop-inner.post-single .entry-content {
    color: #e2e8f0 !important;
    font-size: 15px !important;
    line-height: 2 !important;
}

.blog-loop-inner.post-single .entry-content p {
    color: #cbd5e1 !important;
    margin-bottom: 20px !important;
}

/* تیترهای داخل مقاله (H2, H3, H4) */
.blog-loop-inner.post-single .entry-content h2,
.blog-loop-inner.post-single .entry-content h3,
.blog-loop-inner.post-single .entry-content h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-top: 30px !important;
    margin-bottom: 14px !important;
}
.blog-loop-inner.post-single .entry-content h2 {
    font-size: 20px !important;
    border-right: 4px solid #0ea5e9 !important;
    padding-right: 12px !important;
}
.blog-loop-inner.post-single .entry-content h3 {
    font-size: 17px !important;
    color: #38bdf8 !important;
}

/* لینک‌های داخل متن مقاله */
.blog-loop-inner.post-single .entry-content a {
    color: #38bdf8 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}
.blog-loop-inner.post-single .entry-content a:hover {
    color: #7dd3fc !important;
}

/* لیست‌ها و نقل‌قول‌ها */
.blog-loop-inner.post-single .entry-content ul,
.blog-loop-inner.post-single .entry-content ol {
    color: #cbd5e1 !important;
    padding-right: 25px !important;
}
.blog-loop-inner.post-single .entry-content blockquote {
    background: rgba(14, 165, 233, 0.08) !important;
    border-right: 4px solid #0ea5e9 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #f1f5f9 !important;
    margin: 25px 0 !important;
}

/* ۳. برچسب‌ها و دکمه‌های اشتراک‌گذاری پایین مقاله */
.entry-tag-share {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 20px !important;
    margin-top: 30px !important;
}
.entry-tag-share .post-tags a,
.entry-tags a {
    background: #1e293b !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 5px 12px !important;
    font-size: 12.5px !important;
    transition: all 0.25s ease !important;
}
.entry-tag-share .post-tags a:hover,
.entry-tags a:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 3px 12px rgba(14, 165, 233, 0.4) !important;
}

/* ۴. باکس سایدبار مقالات (ابزارک‌ها) */
.sidebar .widget,
.blog-archive .sidebar .widget {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.12) !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 25px !important;
}
.sidebar .widget .widget-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}
.sidebar .widget ul li,
.sidebar .widget ul li a {
    color: #94a3b8 !important;
    transition: color 0.2s ease !important;
}
.sidebar .widget ul li a:hover {
    color: #38bdf8 !important;
    padding-right: 4px;
}

/* اینپوت جستجو در سایدبار */
.sidebar .widget input[type="search"],
.sidebar .widget input[type="text"] {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
}
.sidebar .widget input[type="search"]:focus {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3) !important;
}

/* ۵. باکس مطالب پیشنهادی / مرتبط انتهای مقاله */
.related-posts,
.single-post .related-posts-wrapper {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-top: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}
.related-posts .related-title,
.single-post .related-posts-wrapper h3 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}
.related-posts .post-item,
.related-posts .card {
    background: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
}
.related-posts .post-item:hover,
.related-posts .card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
}
.related-posts .post-title a {
    color: #e2e8f0 !important;
}
.related-posts .post-title a:hover {
    color: #38bdf8 !important;
}

/* ۶. فرم و بخش دیدگاه‌ها (Comments) */
#comments,
#respond {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-top: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}
#comments .comments-title,
#respond .comment-reply-title {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}
#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"] {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
}
#commentform textarea:focus,
#commentform input:focus {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.25) !important;
}
#commentform input[type="submit"],
#commentform #submit {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
#commentform input[type="submit"]:hover,
#commentform #submit:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important;
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* آیتم‌های لیست نظرات ثبت شده */
.comment-list .comment-body {
    background: #131c31 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
    color: #cbd5e1 !important;
}
.comment-list .comment-author .fn {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.comment-list .comment-metadata a {
    color: #64748b !important;
    font-size: 12px !important;
}

/* ========================================================
   استایل اختصاصی و نئونی برچسب‌ها (Tags) و شبکه‌های اجتماعی مقاله
   ======================================================== */

/* ۱. استایل کلی باکس برچسب‌ها */
.post-tags,
.post-single .post-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    background: #0f172a !important; /* سرمه‌ای تیره هماهنگ */
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    margin: 25px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

/* متن و آیکون "برچسب ها:" */
.post-tags > span {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.post-tags > span i,
.post-tags > span .material-icons {
    color: #38bdf8 !important;
    font-size: 18px !important;
}

/* لینک هر یک از برچسب‌ها */
.post-tags a,
.post-tags a[rel="tag"] {
    background: rgba(30, 41, 59, 0.8) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: normal !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* هاور برچسب‌ها (افکت نئونی فیروزه‌ای) */
.post-tags a:hover,
.post-tags a[rel="tag"]:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4) !important;
    transform: translateY(-2px) !important;
}


/* ۲. باکس‌های شبکه‌های اجتماعی (اینستاگرام، تلگرام، یوتیوب/آپارات) */
.blog-loop-inner.post-single .row > [class*="col-"] > .blog-single-social-box,
a.blog-single-social-box {
    background: #0f172a !important; /* حذف پس‌زمینه سفید */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
}

/* متن‌ها و برچسب‌های داخل باکس شبکه اجتماعی */
a.blog-single-social-box span,
a.blog-single-social-box div,
a.blog-single-social-box p {
    color: #ffffff !important;
}
a.blog-single-social-box span:first-child {
    font-size: 14px !important;
    font-weight: 700 !important;
}
a.blog-single-social-box span:last-child {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

/* آیکون یا بخش نماد گرافیکی */
a.blog-single-social-box .icon-box,
a.blog-single-social-box i,
a.blog-single-social-box svg {
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* هاور عمومی باکس‌ها */
a.blog-single-social-box:hover {
    transform: translateY(-3px) !important;
}

/* تم اختصاصی اینستاگرام */
a.blog-single-social-box-instagram {
    border-color: rgba(225, 48, 108, 0.25) !important;
}
a.blog-single-social-box-instagram:hover {
    border-color: #e1306c !important;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.35) !important;
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.12), #0f172a) !important;
}

/* تم اختصاصی تلگرام */
a.blog-single-social-box-telegram {
    border-color: rgba(0, 136, 204, 0.25) !important;
}
a.blog-single-social-box-telegram:hover {
    border-color: #0088cc !important;
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.35) !important;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.12), #0f172a) !important;
}

/* تم اختصاصی یوتیوب یا آپارات */
a.blog-single-social-box-youtube,
a.blog-single-social-box-aparat {
    border-color: rgba(239, 68, 68, 0.25) !important;
}
a.blog-single-social-box-youtube:hover,
a.blog-single-social-box-aparat:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.35) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), #0f172a) !important;
}

/* ========================================================
   اصلاح و زیباسازی اسلایدر مطالب مرتبط (Related Posts Slider)
   ======================================================== */

/* حذف استایل‌های تداخلی تصویر برای رفع بیرون‌زدگی لبه‌ها */
.post-inner-related .post-thumbnail img,
.owl-item .post-thumbnail img {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
}

/* ۱. استایل کلی هر کارت مطلب مرتبط */
.post-inner-related {
    background: #0f172a !important; /* پس‌زمینه یکپارچه دارک */
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 16px !important;
    overflow: hidden !important; /* برش قطعی لبه‌ها و جلوگیری از بیرون‌زدگی تصویر */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* کانتینر تصویر با overflow کنترل‌شده برای افکت زوم */
.post-inner-related .post-thumbnail {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    background: #090d16 !important;
}

/* افکت هاور روی کل کارت و تصویر */
.post-inner-related:hover {
    border-color: rgba(56, 189, 248, 0.45) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.2) !important;
}

.post-inner-related:hover .post-thumbnail img {
    transform: scale(1.06) !important;
}

/* ۲. بخش عنوان و متن پایین عکس */
.post-inner-related .post-content {
    background: transparent !important;
    padding: 16px 14px !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.post-inner-related .post-content h4,
.post-inner-related .post-content .entry-title,
.post-inner-related .post-content a {
    color: #e2e8f0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
    margin: 0 !important;
}

/* هاور عنوان */
.post-inner-related:hover .post-content a,
.post-inner-related .post-content a:hover {
    color: #38bdf8 !important;
}

/* ۳. شیک‌سازی دات‌های ناوبری اسلایدر در موبایل و دسکتاپ */
.blog-posts-holder .owl-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 18px !important;
}

.blog-posts-holder .owl-dots .owl-dot span {
    width: 9px !important;
    height: 9px !important;
    margin: 0 !important;
    background: rgba(148, 163, 184, 0.3) !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.blog-posts-holder .owl-dots .owl-dot.active span {
    width: 24px !important;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6) !important;
}


/* ========================================================
   طراحی فوق‌العاده مدرن، نئونی و دارک صفحه سبد خرید (Cart Page)
   هماهنگ کامل با تم سرمه‌ای و آبی نئونی دوره‌ها و مقالات
   ======================================================== */

/* ۱. استایل باکس‌های اصلی فرم سبد خرید و سایدبار صورت‌حساب */
.woocommerce-cart .woocommerce-cart-form, 
.woocommerce-cart .cart-collaterals-inner,
.woocommerce-cart .cart_totals {
    background: #0f172a !important; /* سرمه‌ای تیره هماهنگ */
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
    color: #e2e8f0 !important;
}

/* ۲. تیترها و برچسب‌های صفحه سبد خرید */
.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart-collaterals h2,
.woocommerce-cart .woocommerce-cart-form h2 {
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ۳. سرستون‌های جدول محصولات (نام، قیمت، تعداد، جمع) */
.woocommerce-cart-form__contents thead th {
    background: #131c31 !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-top: none !important;
}
.woocommerce-cart-form__contents thead tr th:first-child {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}
.woocommerce-cart-form__contents thead tr th:last-child {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}

/* ۴. ردیف هر محصول در سبد خرید */
.woocommerce-cart-form__contents tbody tr.cart_item {
    background: #131c31 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.25s ease !important;
}
.woocommerce-cart-form__contents tbody tr.cart_item:hover {
    background: #17223b !important;
}
.woocommerce-cart-form__contents tbody td {
    padding: 18px 14px !important;
    color: #cbd5e1 !important;
    vertical-align: middle !important;
}

/* عنوان دوره/محصول */
.woocommerce-cart .product-name a {
    color: #f8fafc !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.woocommerce-cart .product-name a:hover {
    color: #38bdf8 !important;
}

/* قیمت‌ها در جدول سبد خرید (فیروزه‌ای درخشان) */
.woocommerce-cart .product-price .woocommerce-Price-amount,
.woocommerce-cart .product-subtotal .woocommerce-Price-amount {
    color: #38bdf8 !important;
    font-weight: 800 !important;
    font-size: 15px !important;
}

/* عکس بندانگشتی دوره */
.woocommerce-cart .product-thumbnail img {
    border-radius: 12px !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    max-width: 75px !important;
    height: auto !important;
}

/* آیکون حذف محصول (ضربدر سرخ ملایم نئونی با هاور شیک) */
.woocommerce-cart td.product-remove a.remove {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 25px !important;
    text-align: center !important;
    display: inline-block !important;
    font-size: 18px !important;
    transition: all 0.25s ease !important;
}
.woocommerce-cart td.product-remove a.remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
    transform: scale(1.1) !important;
}

/* ۵. فیلدهای ورودی (کد تخفیف و تعداد) */
.woocommerce-cart input[type="text"],
.woocommerce-cart input[type="number"],
.woocommerce-cart .coupon input.input-text,
.woocommerce-cart .quantity input.qty {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    outline: none !important;
    transition: all 0.25s ease !important;
}
.woocommerce-cart input[type="text"]:focus,
.woocommerce-cart .coupon input.input-text:focus {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25) !important;
}
.woocommerce-cart .quantity input.qty {
    height: 42px !important;
    font-weight: 700 !important;
    color: #38bdf8 !important;
}

/* ۶. دکمه اصلی و لوکس "ادامه جهت تسویه حساب" (گرادیانت نئونی آبی-اقیانوسی) */
.woocommerce-cart .checkout-button,
.woocommerce-cart a.checkout-button.button.alt {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: 0 6px 22px rgba(14, 165, 233, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.3px !important;
}
.woocommerce-cart .checkout-button:hover,
.woocommerce-cart a.checkout-button.button.alt:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important;
    box-shadow: 0 8px 28px rgba(56, 189, 248, 0.6) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* ۷. دکمه‌های عملیاتی ثانویه (اعمال کوپن و بروزرسانی سبد خرید) */
.woocommerce-cart .coupon button.button,
.woocommerce-cart button[name="apply_coupon"],
.woocommerce-cart .button_update_cart,
.woocommerce-cart button[name="update_cart"] {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    transition: all 0.25s ease !important;
}
.woocommerce-cart .coupon button.button:hover,
.woocommerce-cart button[name="apply_coupon"]:hover,
.woocommerce-cart .button_update_cart:hover:not([disabled]),
.woocommerce-cart button[name="update_cart"]:hover:not([disabled]) {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35) !important;
    transform: translateY(-2px) !important;
}
/* حالت غیرفعال دکمه بروزرسانی */
.woocommerce-cart .button_update_cart[disabled],
.woocommerce-cart button[name="update_cart"][disabled] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* ۸. بخش جمع کل و فاکتور سبد خرید (Cart Totals Table) */
.woocommerce-cart .cart_totals table.shop_table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}
.woocommerce-cart .cart_totals table.shop_table tr th,
.woocommerce-cart .cart_totals table.shop_table tr td {
    padding: 14px 6px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-bottom: none !important;
    color: #cbd5e1 !important;
}
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    border-top: 2px solid rgba(56, 189, 248, 0.25) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}
.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount {
    color: #38bdf8 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.35) !important;
}

/* ۹. اصلاح پیام‌های ووکامرس (موفقیت، خطا و ...) */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    background: #1e293b !important; /* پس‌زمینه سرمه‌ای تیره */
    color: #e2e8f0 !important;      /* متن روشن */
    border: 1px solid rgba(56, 189, 248, 0.3) !important; /* حاشیه نئونی */
    border-radius: 12px !important;
    padding: 16px 24px !important;
    margin-bottom: 25px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* حذف رنگ سبز پیش‌فرض و تنظیم رنگ آیکون پیام موفقیت */
.woocommerce-message {
    border-top: 4px solid #38bdf8 !important; /* نوار بالایی فیروزه‌ای نئونی */
}

/* تنظیم رنگ متن و دکمه داخل پیام */
.woocommerce-message a.button {
    background: #38bdf8 !important;
    color: #0f172a !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}
.woocommerce-message a.button:hover {
    background: #ffffff !important;
}


/* ========================================================
   استایل دارک و نئونی صفحه پرداخت و تسویه حساب (Checkout)
   ======================================================== */

/* ۱. باکس‌های اصلی فرم و سایدبار (جایگزین سفیدی‌های پیش‌فرض) */
.woocommerce-checkout .inner-box,
.woocommerce-checkout #customer_details .inner-box,
.woocommerce-checkout .woocommerce-checkout-side .inner-box {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
    color: #e2e8f0 !important;
}

/* ۲. عنوان‌ها (جزئیات صورتحساب، سفارش شما و...) */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}

/* ۳. برچسب‌ها (Labels) */
.woocommerce-checkout label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
}

/* ۴. تمام فیلدهای متنی و ورودی‌ها (Inputs & Textarea) */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background-color: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    height: 48px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.woocommerce-checkout textarea {
    height: auto !important;
    padding: 12px !important;
}

/* حالت فوکوس فیلدها با افکت نئونی */
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout textarea:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
    outline: none !important;
}

/* ۵. کادر نوار بالا (کد تخفیف دارید؟) */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-right: 4px solid #38bdf8 !important;
    color: #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #38bdf8 !important;
    font-weight: bold !important;
}
.woocommerce-checkout form.checkout_coupon {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 14px !important;
    padding: 20px !important;
    color: #fff !important;
    margin-bottom: 25px !important;
}

/* ۶. جدول سفارش (Your Order Table) */
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border: none !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
    padding: 12px 6px !important;
    color: #cbd5e1 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
    border-top: none !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name {
    color: #f8fafc !important;
    font-weight: 500 !important;
}

.woocommerce-checkout .woocommerce-Price-amount {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

/* ۷. بخش انتخاب درگاه و توضیحات پرداخت */
.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 0 15px 0 !important;
}

.woocommerce-checkout #payment div.payment_box {
    background: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 10px !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #131c31 !important;
}

/* متن حریم خصوصی */
.woocommerce-checkout .woocommerce-privacy-policy-text p {
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
}

/* ۸. دکمه نهایی "ثبت سفارش / پرداخت" */
.woocommerce-checkout #place_order {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35) !important;
    transition: all 0.3s ease !important;
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #0284c7, #1d4ed8) !important;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.5) !important;
    transform: translateY(-2px) !important;
}


/* ========================================================
   استایل دارک و نئونی صفحه تکمیل سفارش (Order Received / Thank You)
   ======================================================== */

/* ۱. عنوان‌های بخش‌های صفحه (مشخصات سفارش، مشخصات کاربر و...) */
.woocommerce-order h2,
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
    padding-bottom: 10px !important;
}

/* ۲. باکس تبریک و خلاصه وضعیت سفارش بالای صفحه */
.woocommerce-order .order_summary {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
    color: #e2e8f0 !important;
}

.woocommerce-order .order_summary .congratulation,
.woocommerce-order .order_summary .congratulation p,
.woocommerce-order .order_summary li {
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-order .order_summary strong {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

/* ۳. باکس مشخصات سفارش و جدول صورتحساب */
.woocommerce-order section.woocommerce-order-details,
.woocommerce-order section.woocommerce-customer-details {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    border-radius: 18px !important;
    padding: 26px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* جدول سفارش */
.woocommerce-order table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce-order table.shop_table thead th {
    background: transparent !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: none !important;
    padding: 14px 10px !important;
    font-size: 14px !important;
}

.woocommerce-order table.shop_table tbody td,
.woocommerce-order table.shop_table tfoot th,
.woocommerce-order table.shop_table tfoot td {
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-bottom: none !important;
    padding: 16px 10px !important;
    color: #e2e8f0 !important;
    background: transparent !important;
}

/* نام محصول و قیمت‌ها */
.woocommerce-order table.shop_table td.product-name a {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

.woocommerce-order table.shop_table .amount,
.woocommerce-order table.shop_table tfoot td .amount {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

/* ۴. استایل باکس لینک تلگرام / دسترسی به دوره */
.woocommerce-order table.shop_table .product-name a.button,
.woocommerce-order table.shop_table .product-name .btn,
.woocommerce-order .button.access-course {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35) !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    margin-top: 8px !important;
}

.woocommerce-order table.shop_table .product-name a.button:hover {
    background: linear-gradient(135deg, #0284c7, #1d4ed8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5) !important;
}

/* توضیحات لینک اختصاصی زیر عنوان دوره */
.woocommerce-order table.shop_table .product-name p,
.woocommerce-order table.shop_table .product-name small {
    color: #94a3b8 !important;
    line-height: 1.8 !important;
    margin-top: 8px !important;
}

.woocommerce-order table.shop_table .product-name a[href*="t.me"] {
    color: #38bdf8 !important;
    font-weight: 600 !important;
    word-break: break-all !important;
}

/* ۵. مشخصات کاربر و آدرس (Customer Details) */
.woocommerce-order address {
    border: none !important;
    background: transparent !important;
    color: #cbd5e1 !important;
    padding: 0 !important;
    line-height: 2 !important;
    font-style: normal !important;
}


/* ========================================================
   استایل کامل و ریسپانسیو صفحه حساب کاربری (نسخه نهایی با اصلاح موبایل)
   ======================================================== */

/* ۱. بدنه سایدبار و محتوای اصلی */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account nav.woocommerce-MyAccount-navigation {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    border-radius: 20px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #e2e8f0 !important;
}

/* نام کاربر بالای منو */
.woocommerce-account nav.woocommerce-MyAccount-navigation .user-profile-name,
.woocommerce-account nav.woocommerce-MyAccount-navigation h3,
.woocommerce-account nav.woocommerce-MyAccount-navigation p {
    color: #ffffff !important;
}

/* ۲. رفع تداخل کامل آیکون‌ها و متن‌های منوی سایدبار */
.woocommerce-account nav.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 6px !important;
    border: none !important;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a {
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    padding: 12px 42px 12px 15px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
    background: transparent !important;
    line-height: 1.6 !important;
}

/* تنظیم دقیق جایگاه آیکون‌ها درون لینک سایدبار */
.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a::before,
.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a i {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    margin: 0 !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* حالت هاور لینک‌های سایدبار */
.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a:hover {
    color: #ffffff !important;
    background: rgba(56, 189, 248, 0.08) !important;
}

/* آیتم فعال در سایدبار (Active) */
.woocommerce-account nav.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    border-right: 4px solid #38bdf8 !important;
    font-weight: 700 !important;
}

/* ۳. باکس‌های آماری بالای پیشخوان */
.woocommerce-account .status-user-widget ul li:nth-child(4) {
    display: none !important;
}

.woocommerce-account .status-user-widget ul li:nth-child(1),
.woocommerce-account .status-user-widget ul li:nth-child(2),
.woocommerce-account .status-user-widget ul li:nth-child(3) {
    display: block !important;
    width: 33.333% !important;
    float: right !important; /* برای چیدمان صحیح */
}

/* استایل دارک باکس‌های آماری */
.woocommerce-account .status-user-widget ul li > div {
    background: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
    margin: 0 5px !important; /* فاصله بین باکس‌ها */
}

.woocommerce-account .status-user-widget ul li > div span,
.woocommerce-account .status-user-widget ul li > div p,
.woocommerce-account .status-user-widget ul li > div div {
    color: #cbd5e1 !important;
}

.woocommerce-account .status-user-widget ul li > div strong,
.woocommerce-account .status-user-widget ul li > div h4 {
    color: #38bdf8 !important;
}

/* ۴. باکس جدیدترین اطلاعیه‌ها */
.woocommerce-account .notifications-box {
    background: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin-top: 25px !important;
    position: relative !important;
}

.woocommerce-account .notifications-box h4.notifications {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
    font-size: 15px !important;
}

.woocommerce-account .notifications-box .notif-content .card {
    background: #17243c !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 10px !important;
    color: #e2e8f0 !important;
    padding: 15px !important;
}

.woocommerce-account .notifications-box .notif-content .card * {
    color: #e2e8f0 !important;
}

.woocommerce-account .notifications-box ul.list-unstyled li.announce-read {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    margin-bottom: 12px !important;
    color: #e2e8f0 !important;
    transition: all 0.25s ease !important;
}

.woocommerce-account .notifications-box ul.list-unstyled li.announce-read * {
    color: #cbd5e1 !important;
}

/* ۵. حفظ ظاهر شبکه‌های اجتماعی */
.woocommerce-account .woocommerce-MyAccount-content a[class*="social-box"] span,
.woocommerce-account .woocommerce-MyAccount-content a[class*="social-box"] p,
.woocommerce-account .woocommerce-MyAccount-content a[class*="social-box"] div {
    color: #ffffff !important;
}

/* ========================================================
   بخش اصلاح ریسپانسیو (مخصوص موبایل و تبلت)
   ======================================================== */
@media (max-width: 768px) {
    /* باکس‌های آماری در موبایل ۱۰۰ درصد عرض بگیرند (زیر هم) */
    .woocommerce-account .status-user-widget ul li:nth-child(1),
    .woocommerce-account .status-user-widget ul li:nth-child(2),
    .woocommerce-account .status-user-widget ul li:nth-child(3) {
        width: 100% !important;
        margin-bottom: 10px !important;
        float: none !important;
    }
    
    .woocommerce-account .status-user-widget ul li > div {
        margin: 0 !important; /* حذف فاصله جانبی در موبایل */
    }
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    display: none !important;
}

/* ========================================================
   ۷. استایل تم تیره دوره‌های خریداری شده (بدون تغییر در ساختار و سایز)
   ======================================================== */

/* ریست کردن پوسته بیرونی تا قاب اضافه ساخته نشود */
.woocommerce-account .products.list-view .course-item,
.woocommerce-account .course-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 25px !important;
}

/* اعمال رنگ پس‌زمینه و قاب اصلی روی بدنه کارت */
.woocommerce-account .course-item .course-item-inner {
    background: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.woocommerce-account .course-item .course-item-inner:hover {
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.12) !important;
}

/* شفاف کردن پس‌زمینه ستون محتوا */
.woocommerce-account .course-item .course-content-holder {
    background: transparent !important;
}

/* رنگ عنوان دوره‌ها */
.woocommerce-account .course-item h4.course-title,
.woocommerce-account .course-item h4.course-title a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-account .course-item h4.course-title a:hover {
    color: #38bdf8 !important;
}

/* رنگ متن توضیحات دوره */
.woocommerce-account .course-item .course-description,
.woocommerce-account .course-item .course-description p {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
}

/* رنگ متاتگ‌ها و اطلاعات جانبی (در صورت وجود مانند مدرس یا قیمت) */
.woocommerce-account .course-item .course-meta,
.woocommerce-account .course-item .course-meta span,
.woocommerce-account .course-item .course-meta a {
    color: #64748b !important;
}

/* دکمه‌های داخل کارت */
.woocommerce-account .course-item .button,
.woocommerce-account .course-item a.btn {
    background: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .course-item .button:hover,
.woocommerce-account .course-item a.btn:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
}

/* ========================================================
   ۸. استایل بخش علاقه‌مندی‌ها (YITH Wishlist) - تم تیره و یکپارچه
   ======================================================== */

/* کانتینر اصلی فرم علاقه‌مندی‌ها */
.woocommerce-account form#yith-wcwl-form,
.woocommerce-account .wishlist_table {
    background: transparent !important;
    border: none !important;
}

/* جدول علاقه‌مندی‌ها */
.woocommerce-account table.wishlist_table {
    width: 100% !important;
    background: #131c31 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 25px !important;
}

/* سربرگ جدول (Header) */
.woocommerce-account table.wishlist_table thead th {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
    border: none !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
    text-align: right !important;
}

/* ردیف‌ها و سلول‌های جدول */
.woocommerce-account table.wishlist_table tbody td {
    background: transparent !important;
    color: #cbd5e1 !important;
    padding: 18px 20px !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
}

/* حذف خط زیرین آخرین ردیف */
.woocommerce-account table.wishlist_table tbody tr:last-child td {
    border-bottom: none !important;
}

/* افکت هاور روی ردیف‌ها */
.woocommerce-account table.wishlist_table tbody tr {
    transition: background 0.2s ease !important;
}

.woocommerce-account table.wishlist_table tbody tr:hover {
    background: rgba(56, 189, 248, 0.04) !important;
}

/* عنوان و لینک محصول در جدول */
.woocommerce-account table.wishlist_table td.product-name a {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-account table.wishlist_table td.product-name a:hover {
    color: #38bdf8 !important;
}

/* تصویر بندانگشتی محصول */
.woocommerce-account table.wishlist_table td.product-thumbnail img {
    border-radius: 10px !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    max-width: 70px !important;
    height: auto !important;
    display: inline-block !important;
}

/* دکمه حذف از علاقه‌مندی‌ها (آیکون ضربدر قرمز) */
.woocommerce-account table.wishlist_table td.product-remove a.remove_from_wishlist,
.woocommerce-account table.wishlist_table td.product-remove a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account table.wishlist_table td.product-remove a:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* دکمه‌های افزودن به سبد خرید داخل لیست علاقه‌مندی‌ها (در صورت فعال بودن) */
.woocommerce-account table.wishlist_table td.product-add-to-cart a.button {
    background: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account table.wishlist_table td.product-add-to-cart a.button:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
}

/* قیمت و وضعیت موجودی در جدول */
.woocommerce-account table.wishlist_table td.product-price,
.woocommerce-account table.wishlist_table td.product-stock-status {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
}

/* فوتر جدول یا دکمه‌های اشتراک‌گذاری پایین جدول */
.woocommerce-account .yith_wcwl_wishlist_footer {
    background: transparent !important;
    border: none !important;
    padding-top: 10px !important;
}


/* ========================================================
   ۹. تم تیره و پاک‌سازی صفحه ویرایش حساب کاربری (Edit Account)
   ======================================================== */

/* کانتینر اصلی فرم ویرایش حساب */
.woocommerce-account form.woocommerce-EditAccountForm {
    background: transparent !important;
}

/* ۱. مخفی کردن فیلد ایمیل */
.woocommerce-account form.woocommerce-EditAccountForm p.woocommerce-form-row--wide:has(input[name="account_email"]),
.woocommerce-account form.woocommerce-EditAccountForm p:has(#account_email),
.woocommerce-account form.woocommerce-EditAccountForm .woocommerce-form-row:has(#account_email) {
    display: none !important;
}

/* ۲. مخفی کردن کامل عنوان و بخش تغییر رمز عبور */
.woocommerce-account form.woocommerce-EditAccountForm fieldset,
.woocommerce-account form.woocommerce-EditAccountForm legend,
.woocommerce-account form.woocommerce-EditAccountForm h3,
.woocommerce-account form.woocommerce-EditAccountForm h4,
.woocommerce-account form.woocommerce-EditAccountForm h5,
.woocommerce-account form.woocommerce-EditAccountForm .password-change-header,
.woocommerce-account form.woocommerce-EditAccountForm p:has(input[type="password"]) {
    display: none !important;
}

/* ۳. استایل لیبل‌های فرم (نام، نام خانوادگی و ...) */
.woocommerce-account form.woocommerce-EditAccountForm label {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.woocommerce-account form.woocommerce-EditAccountForm label .required {
    color: #38bdf8 !important;
}

/* ۴. استایل اینپوت‌ها (فیلدهای ورودی) هماهنگ با تم تیره */
.woocommerce-account form.woocommerce-EditAccountForm input.input-text {
    background: #0f172a !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account form.woocommerce-EditAccountForm input.input-text:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25) !important;
    outline: none !important;
}

/* ۵. استایل دکمه ذخیره تغییرات */
.woocommerce-account form.woocommerce-EditAccountForm button[name="save_account_details"],
.woocommerce-account form.woocommerce-EditAccountForm .button {
    background: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 15px !important;
}

.woocommerce-account form.woocommerce-EditAccountForm button[name="save_account_details"]:hover,
.woocommerce-account form.woocommerce-EditAccountForm .button:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4) !important;
}

/* ===================================================
   حل قطعی نوار سفید و هماهنگی کامل با پس‌زمینه تم دارک
   =================================================== */

/* 1. اصلاح رنگ والد اصلی (.wrap) و عنوان صفحه به رنگ دقیق تم */
body .wrap,
body .page-title,
body .page-title.style,
div.page-title {
    background-color: #161b26 !important;
    background-image: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* 2. تنظیم فاصله مناسب و حذف فضاهای اضافه */
body .page-title {
    padding: 16px 0 12px 0 !important;
    margin: 0 !important;
    min-height: auto !important;
}

/* 3. تراز کانتینر در راست */
body .page-title .container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    background: transparent !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 4. مخفی کردن تایتل بزرگ H1 */
body .page-title h1,
body .page-title .title-page {
    display: none !important;
}

/* 5. کپسول شیشه‌ای دارک نئونی (Breadcrumb) */
body .page-title .breadcrumbs,
body .page-title .woocommerce-breadcrumb,
body .page-title nav.woocommerce-breadcrumb,
body .studiare-breadcrumbs {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: auto !important;
    max-width: max-content !important;
    gap: 8px !important;
    
    background: rgba(22, 27, 38, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 999px !important;
    padding: 6px 18px !important;
    margin: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* 6. استایل لینک‌ها */
body .page-title .breadcrumbs a,
body .page-title .woocommerce-breadcrumb a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

body .page-title .breadcrumbs a:hover,
body .page-title .woocommerce-breadcrumb a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.8) !important;
}

/* 7. جداکننده‌ها و آیکون فلش */
body .page-title .breadcrumbs i,
body .page-title .woocommerce-breadcrumb i,
body .page-title .woocommerce-breadcrumb span.delimiter {
    color: #64748b !important;
    font-size: 11px !important;
    margin: 0 2px !important;
}

/* 8. متن آیتم جاری (آخرین مورد) */
body .page-title .breadcrumbs span:last-child,
body .page-title .woocommerce-breadcrumb span:last-child,
body .page-title .woocommerce-breadcrumb {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
}


/* ========================================================
   چیدمان ۳ ستونه و طراحی مینیمال و هماهنگ کارت‌های فروشگاه
   ======================================================== */

/* ۱. چیدمان شبکه: ۳ ستون در دسکتاپ */
.products.grid-view.courses-4-columns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ۲. بدنه هر کارت */
.products.grid-view.courses-4-columns .course-item {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.products.grid-view.courses-4-columns .course-item-inner {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #1e2430 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.products.grid-view.courses-4-columns .course-item-inner:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

/* ۳. تصویر بنر دوره */
.products.grid-view.courses-4-columns .course-thumbnail-holder {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    overflow: hidden !important;
    background: #131822 !important;
}

.products.grid-view.courses-4-columns .course-thumbnail-holder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.products.grid-view.courses-4-columns .video-button,
.products.grid-view.courses-4-columns .sale-perc-badge {
    position: absolute !important;
    top: 10px !important;
    z-index: 3 !important;
}
.products.grid-view.courses-4-columns .video-button { left: 10px !important; }
.products.grid-view.courses-4-columns .sale-perc-badge { right: 10px !important; }

/* ۴. محتوای داخلی کارت */
.products.grid-view.courses-4-columns .course-content-holder {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 16px 18px !important;
}

.products.grid-view.courses-4-columns .course-title {
    margin: 0 0 12px 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    height: 48px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.products.grid-view.courses-4-columns .course-title a {
    color: #f8fafc !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* مخفی کردن المان‌های اضافی و قیمت تکراری در بخش بالایی کارت */
.products.grid-view.courses-4-columns .average-rating-stars,
.products.grid-view.courses-4-columns .course-description,
.products.grid-view.courses-4-columns .screen-reader-text,
.products.grid-view.courses-4-columns .course-content-main .price {
    display: none !important;
}


/* بخش فروشگاه  */

/* ========================================================
   اصلاح دقیق مدرس: هم‌راستا شدن کامل آیکون و نام مدرس
   ======================================================== */
.products.grid-view.courses-4-columns .course-rating-teacher {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 15px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    width: 100% !important;
}

.products.grid-view.courses-4-columns .teacher-box {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important; /* تراز دقیق وسط به وسط آیکون و متن */
    gap: 8px !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
    float: none !important;
    width: 100% !important;
}

.products.grid-view.courses-4-columns .teacher-box i {
    color: #38bdf8 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    transform: translateY(1px) !important; /* رفع خطای بصری فونت آیکون */
}

.products.grid-view.courses-4-columns .teacher-box a.course_loop_teacher {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================================
   ۵. نوار انتهای کارت (اصلاح نمایش قیمت تخفیف‌دار و خوانایی کامل)
   ======================================================== */
.products.grid-view.courses-4-columns .course-content-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.products.grid-view.courses-4-columns .course-students {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.products.grid-view.courses-4-columns .course-price {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* استایل کانتینر قیمت: حذف هرگونه کادر یا پس‌زمینه سفید ناخواسته */
.products.grid-view.courses-4-columns .course-price .price {
    display: inline-flex !important;
    flex-direction: row-reverse !important; /* قیمت جدید راست، خط‌خورده چپ */
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* ریست کردن کلیه استایل‌های پیش‌فرض قالب روی تگ‌های قیمت */
.products.grid-view.courses-4-columns .course-price .price * {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ۱. قیمت تخفیف‌خورده (اصلی / قبلی) - خوانا و کم‌رنگ‌تر با خط روی آن */
.products.grid-view.courses-4-columns .course-price del,
.products.grid-view.courses-4-columns .course-price del .amount,
.products.grid-view.courses-4-columns .course-price del bdi {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    line-height: 1.2 !important;
}

/* ۲. قیمت نهایی (تخفیف‌دار) - سبز روشن و کاملاً بولد و برجسته */
.products.grid-view.courses-4-columns .course-price ins,
.products.grid-view.courses-4-columns .course-price ins .amount,
.products.grid-view.courses-4-columns .course-price ins bdi,
.products.grid-view.courses-4-columns .course-price > .amount {
    text-decoration: none !important;
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1.2 !important;
}

/* نماد تومان */
.products.grid-view.courses-4-columns .course-price .woocommerce-Price-currencySymbol {
    font-size: 11px !important;
    font-weight: normal !important;
}

/* ۶. واکنش‌گرایی */
@media (max-width: 992px) {
    .products.grid-view.courses-4-columns { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .products.grid-view.courses-4-columns { grid-template-columns: 1fr !important; }
}


/* --- Advice Section Styling --- */
.academy-advice-wrapper {
    margin: 50px 0;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.15), rgba(35, 39, 50, 0.8));
    padding: 2px;
}

.academy-advice-card {
    background: #11141b;
    border-radius: 18px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.academy-advice-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 0, 85, 0.08);
    filter: blur(50px);
    border-radius: 50%;
    z-index: 1;
}

.advice-content-area { position: relative; z-index: 2; }

.advice-badge {
    display: inline-block;
    background: rgba(255, 0, 85, 0.1);
    color: #ff0055;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 0, 85, 0.2);
}

.advice-heading { color: #ffffff !important; font-size: 22px !important; margin-bottom: 8px !important; font-weight: 800; }
.advice-subtext { color: #9ca3af; font-size: 14px; margin: 0; line-height: 1.6; }

.advice-action-area { position: relative; z-index: 2; flex-shrink: 0; }

.academy-phone-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #1a1e27;
    border: 1px solid #3a4254;
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-icon-box {
    font-size: 22px;
    background: rgba(255, 0, 85, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 85, 0.2);
    transition: all 0.3s ease;
}

.phone-text-col { display: flex; flex-direction: column; }
.phone-title-top { color: #ffffff; font-size: 12px; opacity: 0.85; margin-bottom: 2px; }
.phone-number-val { color: #ff0055; font-size: 19px; font-weight: 900; direction: ltr; letter-spacing: 0.5px; }

.academy-phone-btn:hover { border-color: #ff0055; background: #1f2430; box-shadow: 0 0 20px rgba(255, 0, 85, 0.35); transform: translateY(-3px); }
.academy-phone-btn:hover .phone-icon-box { background: #ff0055; transform: scale(1.05); }

@media (max-width: 768px) {
    .academy-advice-card { flex-direction: column; text-align: center; padding: 25px; }
    .academy-phone-btn { width: 100%; justify-content: center; }
    .advice-badge { display: none; }
}








/* =========================================================
   استایل یکپارچه کارت‌های محصولات (Loop Grid)
   ========================================================= */
/* ۱. هم‌ارتفاع کردن تمام کارت‌ها (فقط بدنه اصلی کارت، نه سکشن‌های داخلی) */
.elementor-loop-container .e-loop-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.elementor-loop-container .e-loop-item > .elementor-section-wrap,
.elementor-loop-container .e-loop-item > .elementor-section-wrap > .elementor-top-section,
.elementor-loop-container .e-loop-item > .elementor-section-wrap > .elementor-top-section > .elementor-container,
.elementor-loop-container .e-loop-item > .elementor-section-wrap > .elementor-top-section > .elementor-container > .elementor-top-column {
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.elementor-loop-container .e-loop-item > .elementor-section-wrap > .elementor-top-section > .elementor-container > .elementor-top-column > .elementor-widget-wrap {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* چسباندن آخرین سکشن کارت (تعداد دانشجو و قیمت) به کف کارت */
.elementor-loop-container .e-loop-item .elementor-top-column > .elementor-widget-wrap > .elementor-inner-section:last-child {
    margin-top: auto !important;
}

/* مخفی کردن کلمه «قیمت :» در همه دستگاه‌ها */
.elementor-loop-container .e-loop-item .sell_course strong {
    display: none !important;
}


/* ۲. محدودیت ۲ خط و استایل عنوان محصول */
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title {
    height: auto !important;
    min-height: 42px !important;
    margin-bottom: 6px !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title h1,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title h2,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title h3,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title h4,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title a,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title .elementor-heading-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    height: 42px !important;
    max-height: 42px !important;
    text-align: right !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title h4 a:hover,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-title a:hover {
    color: #38bdf8 !important;
}

/* ۳. استایل بخش قیمت و یکسان‌سازی ارتفاع قیمت تخفیف‌دار و عادی */
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price {
    width: auto !important;
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price .price,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price .elementor-widget-container {
    font-size: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    min-height: 38px !important; /* هم‌ارتفاع کردن باکس قیمت برای محصولات عادی و تخفیف‌دار */
    line-height: 1.2 !important;
    direction: ltr !important;
    text-align: left !important;
    gap: 2px !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* رفع زردی و پس‌زمینه‌های اضافه */
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price ins,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price del,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price mark,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price span,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price .woocommerce-Price-amount {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

/* سطر بالا: قیمت خط‌خورده */
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price del {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: line-through !important;
    text-decoration-color: #94a3b8 !important;
    opacity: 0.75 !important;
    margin: 0 !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price del .woocommerce-Price-amount {
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price del .woocommerce-Price-currencySymbol {
    font-size: 9px !important;
    color: #94a3b8 !important;
    margin-right: 2px !important;
    text-decoration: line-through !important;
}

/* سطر پایین: قیمت اصلی سبز */
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price ins {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price ins .woocommerce-Price-amount,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price .price > .woocommerce-Price-amount {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #10b981 !important;
    text-decoration: none !important;
}

.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price ins .woocommerce-Price-currencySymbol,
.elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price .price > .woocommerce-Price-currencySymbol {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #10b981 !important;
    margin-right: 2px !important;
}

/* ۴. تنظیمات موبایل (حالت ۲ ستونه بدون برش) */
@media (max-width: 767px) {
    .elementor-loop-container .e-loop-item {
        overflow: hidden !important;
    }

    .elementor-loop-container .e-loop-item .elementor-element-populated {
        padding: 8px !important;
    }

    .elementor-loop-container .e-loop-item .sell_course {
        font-size: 12px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 4px !important;
    }
}

/* ۵. قرار دادن درصد تخفیف (10%) در سمت راست مبلغ */
.elementor-loop-container .e-loop-item .elementor-element-5ac0058 > .elementor-widget-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

.elementor-loop-container .e-loop-item .elementor-element-5ac0058 .elementor-widget-shortcode {
    width: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.elementor-loop-container .e-loop-item .sabz-discount-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}
/* =========================================================
   ۶. اصلاح ردیف سطح دوره و تعداد دانشجو (در یک خط و بدون برش)
   ========================================================= */
.elementor-loop-container .e-loop-item .elementor-element-2614c79 > .elementor-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.elementor-loop-container .e-loop-item .elementor-element-d6b4904 {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.elementor-loop-container .e-loop-item .elementor-element-e34a04b {
    width: auto !important;
    flex: 0 0 auto !important;
}

/* استایل هماهنگ و مدرن برای «سطح دوره» */
.elementor-loop-container .e-loop-item .elementor-element-c27c9d0 .elementor-heading-title {
    display: inline-block !important;
    background-color: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* جلوگیری از شکستن و ستونی شدن عدد تعداد دانشجو */
.elementor-loop-container .e-loop-item .elementor-element-04bad78 .elementor-icon-box-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
}

.elementor-loop-container .e-loop-item .elementor-element-04bad78 .elementor-icon-box-icon {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.elementor-loop-container .e-loop-item .elementor-element-04bad78 .elementor-icon-box-icon i {
    color: #38bdf8 !important;
    font-size: 12px !important;
}

.elementor-loop-container .e-loop-item .elementor-element-04bad78 .elementor-icon-box-content {
    flex-shrink: 0 !important;
}

.elementor-loop-container .e-loop-item .elementor-element-04bad78 .elementor-icon-box-description {
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* =========================================================
   ۷. وسطچین شدن قیمت در دسکتاپ + تنظیمات کامل موبایل
   ========================================================= */
.elementor-loop-container .e-loop-item .elementor-element-5ac0058 {
    min-width: 0 !important;
    max-width: 100% !important;
}

.elementor-loop-container .e-loop-item .elementor-element-5ac0058 > .elementor-widget-wrap {
    justify-content: center !important; /* وسطچین کردن قیمت و تخفیف در دسکتاپ */
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 767px) {
    /* در موبایل بج تخفیف سمت راست و قیمت سمت چپ داخل کادر قرار میگیرد */
    .elementor-loop-container .e-loop-item .elementor-element-5ac0058 > .elementor-widget-wrap {
        justify-content: space-between !important;
        gap: 4px !important;
    }

    /* حفظ ردیف سطح دوره و تعداد دانشجو در یک خط با فاصله کمتر */
    .elementor-loop-container .e-loop-item .elementor-element-2614c79 > .elementor-container {
        gap: 4px !important;
    }

    /* نمایش کامل متن سطح دوره بدون ... و بدون برش */
    .elementor-loop-container .e-loop-item .elementor-element-c27c9d0 .elementor-heading-title {
        font-size: 9.5px !important;
        padding: 2px 5px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: center !important;
    }

    .elementor-loop-container .e-loop-item .elementor-element-04bad78 .elementor-icon-box-description {
        font-size: 11px !important;
    }

    .elementor-loop-container .e-loop-item .sabz-discount-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }

    .elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price ins .woocommerce-Price-amount,
    .elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price .price > .woocommerce-Price-amount {
        font-size: 11.5px !important;
    }

    .elementor-loop-container .e-loop-item .elementor-widget-woocommerce-product-price del .woocommerce-Price-amount {
        font-size: 10px !important;
    }
}


/* =========================================================
   استایل سکشن اول (Hero) و تصویر مدرس
   ========================================================= */

/* پس‌زمینه سکشن اول با محوشدن تدریجی و کامل به رنگ سکشن پایینی */
.hero-section-bg {
    background-color: #0b0f19 !important;
    background-image: 
        linear-gradient(180deg, rgba(11, 15, 25, 0) 60%, #161b26 100%),
        radial-gradient(circle at 15% 45%, rgba(56, 189, 248, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 85% 35%, rgba(139, 92, 246, 0.16) 0%, transparent 50%) !important;
    position: relative;
    padding-bottom: 70px !important;
    margin-bottom: 0 !important;
}

/* پرتو نوری باریک در محل اتصال دو سکشن */
.hero-section-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.5) 0%, rgba(129, 140, 248, 0.25) 45%, transparent 75%);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
    z-index: 2;
}

/* کانتینر تصویر مدرس */
.hero-teacher-image {
    position: relative;
    display: inline-block;
}

/* هاله نوری ملایم پشت سر مدرس */
.hero-teacher-image::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(129, 140, 248, 0.12) 45%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

/* حل کامل کات‌خوردگی عکس و حل شدن لبه‌ها */
.hero-teacher-image img {
    position: relative;
    z-index: 1;
    border: none !important;
    box-shadow: none !important;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 96%);
    mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 96%);
}

/* تنظیمات تمام‌عرض تصویر در موبایل */
@media only screen and (max-width: 767px) {
    .elementor-element-b78c7cc,
    .elementor-element-5088a45,
    .elementor-element-b78c7cc .elementor-widget-container,
    .elementor-element-5088a45 .elementor-widget-container {
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
        right: 50% !important;
        left: auto !important;
        transform: translateX(50%) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .elementor-element-b78c7cc img,
    .elementor-element-5088a45 img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        border-radius: 0 !important;
    }
}
