.header-nav {
    position: absolute !important;
    width: 100% !important;
}

.ajax-search-box {
    padding: 20px 0;
}

.thumbCategory img {
    width: 200px !important;
    max-width: unset !important;
    margin: 10px;
    margin-left: 20px;
    border-radius: 12px;
}

.single-page-category {
    max-height: 300px;
    overflow-y: auto;
}

.search-group-title {
    font-weight: 900;
    background: #c0c0c026;
    padding: 5px 10px;
}

.search-result-desc {
    display: none;
}

.search-result-item a {
    display: block;
    width: 100%;
}

.search-result-item {
    font-size: 12px;
    padding: 5px 20px;
    border: 1px solid #f6f6f6;
    border-top: none;
}

.search-results {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    text-align: right;
    width: 100%;
}

.search-form input {
    border: none;
    padding: 10px 20px;
    width: 100%;
    border-radius: 50px;
}

.search-form button {
    position: absolute;
    left: 10px;
    margin-top: 7px;
    border: none;
    background: none;
}

.maxtext h1 {
    font-size: 40px;
}

@media (max-width: 768px) {
    .maxtext h1 {
        font-size: 26px !important;
    }
}

.main-title h3 {
    font-size: 24px;
}

@media (max-width: 768px) {
    .main-title h3 {
        font-size: 21px !important;
    }
}

.divider-two h3 {
    font-size: 24px;
}

.top_courses .details .tc_content h5 {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .top_courses .details .tc_content h5 {
        font-size: 14px;
    }
}


.top_courses .details .tc_content p {
    font-size: 14px;
}


header.header-nav.menu_style_home_four .ace-responsive-menu > li {
    float: right;
}

.mm-listitem__btn {
    padding-right: 12px;
}

.mc-cycle {
    height: 70vh !important;
}

.mc-cycle-blog {
    height: 50vh !important; /* دسکتاپ */
}

@media screen and (max-width: 768px) {
    .mc-cycle-blog {
        height: 80vh !important; /* موبایل */
    }
}


@media screen and (max-width: 768px) {
    .home_icon_box.home4 .icon span {
        margin-left: 0px;
    }
}

.alpha-pag ul.option-set li {
    margin-left: unset;
}


@media screen and (max-width: 768px) {
    .top_courses .details .tc_footer .tc_price {
        font-size: 15px;
    }
}


/* .list-inline-item:not(:last-child) { */
.list-inline-item {
    margin-left: .3rem !important;
    font-size: 13px;
}

.blog_post_home4 .bph4_thumb {
    border-radius: 15px;
}

.top_courses img,
.top_courses .thumb:before {
    border-radius: 20px;
}

.top_courses:hover .thumb .overlay:before {
    border-radius: 20px;
}

.courses_list_content .top_courses.list .thumb {
    width: 300px;
}

.testimonial_item.home2 .details {
    border-radius: 15px;
}

.img_hvr_box {
    border-radius: 15px;
}

.blog_post {
    border-radius: 20px;
}

.breadcrumb-wrapper {
    text-align: center;
    margin-top: 15px;
}

.breadcrumb {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: none;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.breadcrumb-item {
    font-size: 14px;
    color: #ffffff !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #ffffff !important;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #ffffff !important;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.cart_btnes ul.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    /* فاصله بین آیکون‌ها */
}

.cart_btnes ul.cart li {
    list-style: none;
}

.consult-scope {
    --cs-primary: #204ce5;
    --cs-dark: #112337;
    --cs-muted: #686e77;
    --cs-bg: #ffffff;
    --cs-radius: 12px;
    --cs-border: #e6ecf5;

    direction: rtl;
    background: var(--cs-soft);
    font-family: inherit;
}

@media (max-width: 768px) {
    .consult-scope {
        padding: 24px 0px;
        /* مثلا نصف شود */
    }
}

.consult-scope * {
    box-sizing: border-box;
}

.consult-scope .cs-container {
    max-width: 1256px;
    margin: 0 auto;
}

.consult-scope .cs-header {
    /*text-align: center;*/
    margin-bottom: 24px;
}

.consult-scope .cs-header h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #0a0a0a;
    font-weight: 800;
}

@media (max-width: 768px) {
    .consult-scope .cs-header h2 {
        font-size: 18px;

    }
}

.consult-scope .cs-header p {
    /*margin: 0 auto;*/
    max-width: 820px;
    color: var(--cs-muted);
    line-height: 1.8;
}

.consult-scope .cs-card {
    background: var(--cs-bg);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 24px 20px;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
}

.consult-scope .cs-card h3 {
    margin: 20px 0 0;
    font-size: 18px;
    color: var(--cs-dark);
}

.consult-scope .cs-form {
    margin: 0;
}

.consult-scope .cs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .consult-scope .cs-grid {
        grid-template-columns: 1fr;
    }
}

.consult-scope .cs-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.consult-scope .cs-field span {
    font-size: 14px;
    color: var(--cs-dark);
}

.consult-scope .cs-field .cs-req {
    color: #e11d48;
    font-weight: 700;
}

.consult-scope .cs-field-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
}

.consult-scope .cs-input,
.consult-scope .cs-select {
    height: 44px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    /* padding: 3px; */
    background: #fff;
    font-size: 14px;
    color: var(--cs-dark);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.consult-scope .cs-input[readonly] {
    background: #f9fafc;
    color: #333;
}

.consult-scope .cs-input:focus,
.consult-scope .cs-select:focus {
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .12);
}

.consult-scope .cs-btn {
    margin: 18px auto 0 auto;
    /* auto for left & right = center */
    display: flex;
    /* keep flex for centering content */
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--cs-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s, background .2s;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
    .consult-scope .cs-btn {
        width: 100%;
    }
}

.consult-scope .cs-btn:hover {
    box-shadow: 0 8px 18px rgba(32, 76, 229, .18);
}

.consult-scope .cs-btn:active {
    transform: translateY(1px);
}

.sci {
    --sci-dark: #112337;
    --sci-muted: #686e77;
    --sci-radius: 12px;
    text-align: right;
    direction: rtl;
    background: var(--sci-soft);
    font-family: inherit;
    padding: 20px 0 !important;
    padding-bottom: 90px !important;
}

.sci * {
    box-sizing: border-box;
}

.sci .sci-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.sci .sci-text {
    flex: 1 1 360px;
    min-width: 300px;
}

.sci .sci-title {
    margin-top: 20px;
    font-size: 24px;
    color: #0a0a0a;
    margin: 0 0 16px 0;
    font-weight: 800;
}


.sci .sci-desc {
    font-size: 16px;
    color: var(--sci-muted);
    line-height: 1.9;
    margin: 0;
}

.sci .sci-image {
    flex: 1 0 450px;
    max-width: 450px;
}

@media (max-width: 768px) {
    .sci .sci-image {
        flex: 1 0 350px;
        max-width: 350px;
    }
}


.sci .sci-image-el {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--sci-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive only inside .sci */
@media (max-width: 768px) {
    .sci {
        padding: 36px 14px;
    }

    .sci .sci-title {
        font-size: 22px;
    }

    .sci .sci-container {
        gap: 24px;
    }
}


.row-form {
    display: flex;
    margin-right: -15px;
    margin-left: -15px;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.cs-field-full {
    grid-column: 1 / -1;
    /* گرفتن کل عرض فرم */
}


.cs-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.cs-input-container {
    width: 100%;
}

.cs-textarea {
    width: 100%;
    min-height: 180px;
    /* ارتفاع بزرگ‌تر شبیه وردپرس */
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    /* کاربر بتونه ارتفاع رو تغییر بده */
    background: #fff;
    color: #333;
}

.cs-textarea:focus {
    border-color: #204ce5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, .2);
}

.cs-field-full {
    grid-column: 1 / -1;
    /* گرفتن کل عرض فرم */
}

.cs-file {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    /* هماهنگ با بقیه باکس‌ها */
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.cs-file:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, .2);
}


/* استایل شیک برای ورودی آپلود فایل */
.cs-file {
    width: 100%;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.cs-file:focus {
    border-color: #204ce5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15);
}

/* دکمه داخلی آپلود */
.cs-file::file-selector-button {
    margin-inline-end: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #204ce5;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, background .2s ease;
}

.cs-file:hover::file-selector-button {
    opacity: .95;
}

.cs-file:active::file-selector-button {
    transform: translateY(1px);
}

/* حالت روشن/غیرفعال */
.cs-file:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* سازگاری وب‌کیت قدیمی */
.cs-file::-webkit-file-upload-button {
    margin-inline-end: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #204ce5;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, background .2s ease;
}

.cs-file:hover::-webkit-file-upload-button {
    opacity: .95;
}

.cs-file:active::-webkit-file-upload-button {
    transform: translateY(1px);
}


.upload-hint {
    font-size: 12px;
}

.upload-box {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.upload-container {
    border: 2px dashed #d8deea;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #fafbff;
    transition: border-color .3s, background .3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%
}

.upload-container:hover {
    border-color: #204ce5;
    background: #f0f3ff
}

.upload-hint {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px
}

.upload-desc {
    font-size: 12px;
    color: #888;
    margin-top: 8px
}

.cs-file {
    width: 100%;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s
}

.cs-file:focus {
    border-color: #204ce5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15)
}

.cs-file::file-selector-button {
    margin-inline-end: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #204ce5;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: transform .15s, opacity .15s
}

.cs-file:hover::file-selector-button {
    opacity: .95
}

.cs-file:active::file-selector-button {
    transform: translateY(1px)
}

.cs-file::-webkit-file-upload-button {
    margin-inline-end: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #204ce5;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: transform .15s, opacity .15s
}

.cs-file:hover::-webkit-file-upload-button {
    opacity: .95
}

.cs-file:active::-webkit-file-upload-button {
    transform: translateY(1px)
}


.section-p-0 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}


.cs_row_one .cs_title {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    font-size: 30px;
    font-weight: 800;
    color: #0f285e;
}

@media (max-width: 768px) {
    .cs_row_one .cs_title {
        font-size: 21px !important;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
}

.latest_articles_box {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
}

.latest_articles_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #112337;
}

.latest_articles_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.latest_articles_list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.latest_articles_list li:last-child {
    border-bottom: none;
}

.latest_articles_list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #112337;
    font-size: 14px;
    gap: 10px;
    width: 100%;
    transition: color 0.3s ease;
}

.latest_articles_list a:hover {
    color: #204ce5;
}

.latest_articles_list img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}


.tags_widget_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #112337;
}

.tags_widget_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags_widget_list li {
    display: inline-block;
}

.tags_widget_list a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    background: #f5f7fb;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #d8deea;
}

.tags_widget_list a:hover {
    background: #204ce5;
    color: #fff;
    border-color: #204ce5;
}

.blog_tag_widget .tag_list li {
}

.blog_tag_widget .tag_list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog_tag_widget .tag_list li {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #edeff7;
    padding: 0 10px;
    height: 28px;
}

.blog_tag_widget .tag_list li a {
    font-size: 13px;
    color: #204ce5;
    text-decoration: none;
}

.feature_course_widget {
    border-radius: 15px
}

/* ساختار هماهنگ با consult-scope */
#review-form .cs-card {
    padding: 20px;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff
}

#review-form .cs-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px
}

#review-form .cs-field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

#review-form .cs-field-full {
    grid-column: 1 / -1
}

#review-form .cs-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff
}

#review-form .cs-input:focus {
    outline: none;
    border-color: #204ce5;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15)
}

#review-form .cs-textarea {
    width: 100%;
    min-height: 160px;
    padding: 10px 12px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff
}

#review-form .cs-textarea:focus {
    outline: none;
    border-color: #204ce5;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15)
}

#review-form .cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    background: #204ce5;
    color: #fff;
    padding: 10px 18px;
    cursor: pointer
}

#review-form .cs-btn:hover {
    opacity: .95
}

/* امتیازدهی ستاره‌ای (Radio + CSS) */
#review-form .cs-rating {
    display: inline-flex;
    gap: 6px
}

#review-form .cs-rating input {
    display: none
}

#review-form .cs-rating label {
    width: 12px !important;
    /*width: 24px;*/
    height: 24px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

#review-form .cs-rating label::before {
    content: "★";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #c9cfdb;
    transition: color .2s;
}

#review-form .cs-rating input:checked ~ label::before {
    color: #c9cfdb
}

#review-form .cs-rating label:hover::before,
#review-form .cs-rating label:hover ~ label::before {
    color: #527EFF
}

#review-form .cs-rating input#star1:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star2:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star2:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star3:checked ~ label[for="star3"]::before,
#review-form .cs-rating input#star3:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star3:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star4:checked ~ label[for="star4"]::before,
#review-form .cs-rating input#star4:checked ~ label[for="star3"]::before,
#review-form .cs-rating input#star4:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star4:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star5:checked ~ label[for="star5"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star4"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star3"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star1"]::before {
    color: #204ce5
}

/* واکنش‌گرا */
@media (max-width: 768px) {
    #review-form .cs-grid {
        gap: 14px
    }
}

/* ساختار هماهنگ با consult-scope */
#review-form .cs-card {
    padding: 20px;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff
}

#review-form .cs-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px
}

#review-form .cs-field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

#review-form .cs-field-full {
    grid-column: 1 / -1
}

#review-form .cs-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff
}

#review-form .cs-input:focus {
    outline: none;
    border-color: #204ce5;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15)
}

#review-form .cs-textarea {
    width: 100%;
    min-height: 160px;
    padding: 10px 12px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff
}

#review-form .cs-textarea:focus {
    outline: none;
    border-color: #204ce5;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15)
}

#review-form .cs-btn {
    width: 50%;

}

@media (max-width: 768px) {
    #review-form .cs-btn {
        width: 100%;
        display: flex;
    }
}

#review-form .cs-btn:hover {
    opacity: .95
}

/* امتیازدهی ستاره‌ای (Radio + CSS) */
#review-form .cs-rating {
    display: inline-flex;
    gap: 6px
}

#review-form .cs-rating input {
    display: none
}

#review-form .cs-rating label {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

#review-form .cs-rating label::before {
    content: "★";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #c9cfdb;
    transition: color .2s;
}

#review-form .cs-rating input:checked ~ label::before {
    color: #c9cfdb
}

#review-form .cs-rating label:hover::before,
#review-form .cs-rating label:hover ~ label::before {
    color: #527EFF
}

#review-form .cs-rating input#star1:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star2:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star2:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star3:checked ~ label[for="star3"]::before,
#review-form .cs-rating input#star3:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star3:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star4:checked ~ label[for="star4"]::before,
#review-form .cs-rating input#star4:checked ~ label[for="star3"]::before,
#review-form .cs-rating input#star4:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star4:checked ~ label[for="star1"]::before {
    color: #204ce5
}

#review-form .cs-rating input#star5:checked ~ label[for="star5"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star4"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star3"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star2"]::before,
#review-form .cs-rating input#star5:checked ~ label[for="star1"]::before {
    color: #204ce5
}

/* واکنش‌گرا */
@media (max-width: 768px) {
    #review-form .cs-grid {
        gap: 14px
    }
}

.cs_row_two .cs_overview {
    border-width: 1px;
    border-radius: 12px;
}

.feature_course_widget {
    border-width: 1px;
}

.cs-overview p {
    font-size: 14px;
    line-height: 1.8;
    color: #202020;
    margin-bottom: 15px;
}

.cs-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--cs-dark);
}

.cs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.cs-list li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* تیک سبز برای موارد آموزشی */
.cs-checklist li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: var(--cs-primary);
    font-weight: bold;
}

/* دایره برای الزامات */
.cs-requirements li::before {
    content: "●";
    position: absolute;
    right: 0;
    color: #999;
    font-size: 10px;
}

.course_meta_box {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.course_meta_title {
    font-size: 16px;
    font-weight: 600;
    color: #112337;
    margin: 0 0 12px;
}

.course_meta_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.course_meta_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f7;
    font-size: 14px;
    color: #384152;
}

.course_meta_list li:last-child {
    border-bottom: none;
}

.course_meta_list span {
    color: #204ce5;
    font-weight: 500;
}

.col-lg-4.col-xl-3 {
    position: sticky;
    top: 20px;
    /* ارتفاع هدر + کمی فاصله */
    align-self: flex-start;
    height: fit-content;
    padding-right: 10px;

}

@media (max-width: 768px) {
    .col-lg-4.col-xl-3 {
        /*padding-right: 0 !important;*/
        padding: 20px;
    }
}

.cs_row_six .sfeedbacks {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 20px;
}

.cs_row_six .aii_title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #112337
}

.aii_title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #112337
}

/* هر نظر */
.cs_row_six .comment.media.csv1 {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cs_row_six .comment.media.csv1 > img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e6ecf5;
}

/* سر خط: نام + ستاره‌ها */
.cs_row_six .c-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.cs_row_six .c-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #112337
}

.cs_row_six .c-title {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

/* ستاره‌ها */
.cs_row_six .c-stars {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;

}

.cs_row_six .c-stars li {
    display: inline-block;
}

.cs_row_six .c-stars i.fa-star {
    color: #ffb400;
    font-size: 16px;
    line-height: 1
}

.cs_row_six .c-stars i.fa-star-o {
    color: #cbd5f5;
    font-size: 16px;
    line-height: 1;
}

/* تاریخ */
.cs_row_six .c-date {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #686e77;
    text-decoration: none
}

/* متن نظر */
.cs_row_six .c-text {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #333
}

/* اکشن‌ها */
.cs_row_six .c-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px
}

.cs_row_six .c-reply {
    background: transparent;
    border: none;
    color: #204ce5;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
}

.cs_row_six .c-like {
    color: #204ce5;
    text-decoration: none;
    font-size: 13px
}

.cs_row_six .c-like i {
    margin-left: 4px
}

/* جداکننده‌ها */
.cs_row_six .c-sep,
.cs_row_six .c-hr {
    border: 0;
    height: 1px;
    background: #f0f2f7;
    margin: 12px 0
}

/* ریپلای (تو در تو) */
.cs_row_six .comment.reply.media.csv1 {
    margin-top: 12px;
    padding-right: 52px;
    position: relative;
}

.cs_row_six .comment.reply.media.csv1::before {
    content: "";
    position: absolute;
    right: 24px;
    top: 8px;
    width: 2px;
    height: calc(100% - 16px);
    background: #e6ecf5;
    border-radius: 2px;
}

.cs_row_six .comment.reply.media.csv1 > img {
    width: 40px;
    height: 40px
}

.cs_row_six .c-replies {
    margin-top: 10px;
}

.cs_row_six .comment-reply-form-wrap {
    display: none;
    margin-top: 16px;
}

.cs_row_six .comment-reply-form-wrap.is-open {
    display: block;
}

.cs_row_six .comment-reply-form-wrap .cs-form {
    background: #f8faff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 16px;
}

.cs_row_six .comment-reply-form-wrap textarea {
    min-height: 90px;
    resize: vertical;
}

/* دکمه بیشتر */
.cs_row_six .more-review-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

.cs_row_six .more-review-btn:hover {
    opacity: .95
}

.cs_row_six .c-footer {
    text-align: center;
    margin-top: 10px
}

.comment-summary {
    background: #ffffff;
    border-radius: 16px;
}

.comment-summary .score-value {
    font-size: 36px;
    font-weight: 700;
    color: #204ce5;
}

.comment-summary .score-stars .c-stars {
    justify-content: center;
}

.comment-summary .progress {
    height: 6px;
    background-color: #eef2ff;
    border-radius: 999px;
    overflow: hidden;
}

.comment-summary .progress-bar {
    background: linear-gradient(90deg, #204ce5 0%, #4f46e5 100%);
}

.comment-summary .comment-progress-row:last-child {
    margin-bottom: 0;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .cs_row_six .sfeedbacks {
        padding: 16px
    }

    .cs_row_six .comment.media.csv1 {
        gap: 10px
    }

    .cs_row_six .comment.media.csv1 > img {
        width: 42px;
        height: 42px
    }
}


@media (min-width: 992px) {
    .pb-6rem {
        margin-bottom: 6rem !important;
    }
}


@media (min-width: 992px) {
    .mb-6rem {
        margin-bottom: 6rem !important;
    }
}

.shadow_box {
    border-radius: 12px;
}

.cs-filter-select {
    direction: rtl;
    display: inline-block;
    min-width: 260px;
}

/* شِل */
.cs-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
    overflow: hidden;
}

/* لیبل سمت راست داخل باکس */
.cs-select-wrap label {
    font-size: 13px;
    font-weight: 600;
    color: #112337;
    padding: 0 12px;
    white-space: nowrap;
    border-left: 1px solid #e6ecf5;
}

/* انتخابگر */
.cs-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    color: #112337;
    padding: 12px 12px;
    cursor: pointer;
    line-height: 1.2;
    text-align: right;
}

/* فلش سفارشی (سمت چپ به دلیل RTL) */
.cs-select-wrap::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 12px;
    height: 8px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0.59L6 5.17l4.59-4.58L12 2 6 8 0 2z' fill='%23686e77'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 8px;
    pointer-events: none;
}

/* فوکِس */
.cs-select-wrap:focus-within {
    border-color: #204ce5;
    box-shadow: 0 0 0 2px rgba(32, 76, 229, .15);
}

/* هاور */
.cs-select-wrap:hover {
    border-color: #cfd7e6;
}

/* غیرفعال */
.cs-select:disabled {
    color: #9aa3af;
    cursor: not-allowed;
}

/* موبایل تمام‌عرض */
@media (max-width: 576px) {
    .cs-filter-select {
        display: block;
        width: 100%;
    }
}

.label-mb0 {
    margin-bottom: 0px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rating-stars i.fa-star {
    color: #ffb400;
    font-size: 16px;
    line-height: 1;
}

.cs_review_enroll {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.cs_review_enroll .rating-stars {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.cs_review_enroll .rating-box {
    margin-right: auto;
    /* می‌فرسته سمت چپ در حالت RTL */
}

.rating-stars span {
    font-size: 13px;
    color: #444;
    margin-left: 5px;
}

/* ریسپانسیو */
@media (max-width: 576px) {

    .courses_list_content .top_courses.list .details .tc_footer,
    .top_courses .details .tc_footer {
        padding: 0px 0px !important;
    }
}

.courses_list_content .top_courses.list .details .tc_footer {
    padding-top: 17px !important;

}

.top_courses .details .tc_footer {
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 576px) {
    .cs_review_enroll .item-text {
        display: none;
    }
}

.courses_list_content .top_courses.list {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.courses_list_content .top_courses.list.shop-card {
    border: 1px solid #e8edf5;
    border-radius: 18px;
    background: #fff;
    padding: 16px;
    gap: 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    align-items: stretch;
}

.courses_list_content .top_courses.list.shop-card .thumb {
    width: 240px;
    flex: 0 0 240px;
    border-radius: 14px;
    overflow: hidden;
}

.courses_list_content .top_courses.list.shop-card .shop-card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.courses_list_content .top_courses.list.shop-card .details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.courses_list_content .top_courses.list.shop-card .details .tc_content {
    padding: 0;
}

.courses_list_content .top_courses.list.shop-card .details .tc_content h5 {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.courses_list_content .top_courses.list.shop-card .shop-card__excerpt {
    color: #6b7280;
    line-height: 1.9;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.courses_list_content .top_courses.list.shop-card .details .tc_footer {
    margin-top: auto;
    padding: 12px 0 0;
    border-top: 1px dashed #e8edf5;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    justify-content: space-between;
}

.courses_list_content .top_courses.list.shop-card .cs_review_enroll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0;
    padding: 0;
}

.courses_list_content .top_courses.list.shop-card .cs_review_enroll .list-inline-item {
    margin: 0;
}

.courses_list_content .top_courses.list.shop-card .rating-box {
    margin-right: auto;
}

.courses_list_content .top_courses.list.shop-card .rating-stars {
    display: flex;
    align-items: center;
    gap: 10px;
}

.courses_list_content .top_courses.list.shop-card .rating-stars__list {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .courses_list_content .top_courses.list.shop-card {
        flex-direction: column;
    }

    .courses_list_content .top_courses.list.shop-card .thumb {
        width: 100%;
        flex-basis: auto;
    }

    .courses_list_content .top_courses.list.shop-card .rating-box {
        margin-right: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

.cs-pagination {
    direction: rtl;
}

.cs-pagination__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.cs-pagination__item {
    display: inline-flex;
}

.cs-pagination__link {
    --h: 36px;
    --px: 12px;
    --r: 10px;
    --bd: #e6ecf5;
    --txt: #112337;
    --bg: #fff;
    --pri: #204ce5;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--h);
    min-width: var(--h);
    padding: 0 var(--px);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--bg);
    color: var(--txt);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, background .2s, color .2s;
}

.cs-pagination__item.is-active .cs-pagination__link {
    background: var(--pri);
    color: #fff;
    border-color: var(--pri);
    box-shadow: 0 4px 14px rgba(32, 76, 229, .18);
}

.cs-pagination__item.is-disabled .cs-pagination__link {
    opacity: .45;
    pointer-events: none;
}

.cs-pagination__link:hover {
    border-color: #cfd7e6;
    box-shadow: 0 2px 10px rgba(17, 35, 55, .06);
}

.cs-pagination__dots .cs-pagination__link {
    background: transparent;
    border-color: transparent;
    cursor: default;
    box-shadow: none;
}

.cs-pagination__link i {
    font-size: 12px;
}

.cs-pagination__link .cs-pagination__txt {
    margin: 0 6px;
}

/* فشرده در موبایل */
@media (max-width: 576px) {
    .cs-pagination__list {
        gap: 6px;
    }

    .cs-pagination__link {
        --h: 32px;
        --px: 10px;
        font-size: 13px;
    }

    .cs-pagination__dots {
        display: none;
    }
}

/* هماهنگی با محیط کارت‌ها/سایه‌های موجود */
.cs-pagination .cs-pagination__item:not(.is-active) .cs-pagination__link:active {
    transform: translateY(1px);
}

.row {
    margin-right: unset;
    margin-left: unset;
}

.courses_container .courses_list_content {
    padding: unset;
    padding-top: 20px;
    padding-bottom: 20px;
}

.col-12-p0 {
    padding-right: unset;
    padding-left: unset;
}


@media (max-width: 576px) {
    .col-4-p0 {
        padding: unset;

    }
}

.pt25 {
    padding-top: 25px;
}

.top_courses {
    border-radius: 22px;
}

.row.text-right .top_courses {
    padding: 10px 10px;
    border: 1px solid #eeeeee;
}

@media (max-width: 576px) {
    .row.text-right .top_courses {
        padding: 20px 10px;
    }
}


@media (max-width: 576px) {
    .col-lg-3 {
        padding-right: unset;
        padding-left: unset;
    }
}

@media (max-width: 576px) {
    .col-xl- {
        padding-right: unset;
        padding-left: unset;
    }
}

.top_courses .details .tc_content {
    padding: 15px 5px;
}

.tc_meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mxh400 {
    max-height: 400px;
}

.views-box a {
    display: flex;
    align-items: center;
    gap: 4px;
    /* فاصله کوچیک بین آیکون و عدد */
    text-decoration: none;
    color: inherit;
}

.views-box i {
    font-size: 15px;
}

.rating-box {
    margin-right: auto;
    /* در RTL میره سمت چپ */
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars span {
    font-size: 13px;
    color: #444;
    margin-left: 6px;
}

.rating-stars i {
    color: #ffb400;
    font-size: 15px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    margin: 0px 16px;
}

@media (max-width: 576px) {
    .course-footer {
        margin: unset;
    }
}

/* ====== متا ====== */
.course-footer .course-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    /* نذاره بشکنه */
}

.course-footer .course-meta li {
    min-width: 0;
    /* برای جلوگیری از فشار متن */
}

.course-footer .course-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    /* متن یک خطی بمونه */
    transition: color .2s;
}

.course-footer .course-meta a:hover {
    color: #2563eb;
}

/* ====== قیمت ====== */
.course-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
}

.course-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.course-price-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-discount-badge {
    background: #ff1053;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.course-old-price {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.course-final-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.course-currency {
    font-size: 13px;
    color: #6b7280;
}

.course-new-price {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

/* ====== موبایل ====== */
@media (max-width: 576px) {
    .course-footer {
        flex-direction: row;
        gap: 12px;
        padding-left: 8px;
    }

    .course-meta {
        flex: 1;
        justify-content: flex-start;
    }

    .course-pricing {
        flex: 1;
        justify-content: flex-end;
    }

    .course-price-block {
        align-items: flex-end;
    }

    .course-new-price {
        font-size: 18px;
    }

    /* فقط متن‌ها مخفی شوند */
    .meta-text {
        display: none;
    }
}

.courses_list_heading,
.my_course_content_header {
    padding: 12px;
}

.courses_list_content .top_courses.list .details .tc_content {
    padding: 0px 15px 1px 0px;
}

.free-price-color {
    color: #ff1053;
    font-size: 17px;

}

.btn-file {
    padding: 3px;
}

.consult-scope .cs-grid .cs-field:has(textarea) {
    grid-column: 1 / -1 !important;
}

.consult-scope .cs-grid .cs-field.upload-box {
    grid-column: 1 / -1;
}

/* همه ورودی‌ها به جز فایل */
.consult-scope .cs-input:not([type="file"]),
.consult-scope .cs-textarea,
.consult-scope .cs-select {
    width: 100%;
    padding: 14px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--cs-dark);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

/* placeholder */
.consult-scope .cs-input:not([type="file"])::placeholder,
.consult-scope .cs-textarea::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

/* textarea مخصوص */
.consult-scope .cs-textarea {
    min-height: 160px;
    line-height: 1.6;
    resize: vertical;
}

/* فلش آبی برای همه select ها */
.consult-scope .cs-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 2l5 5 5-5' stroke='%23204ce5' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    /* چون RTL هست */
    background-size: 12px 8px;
    padding-right: 12px;
    padding-left: 30px;
    /* جا برای فلش */
    cursor: pointer;
}


/* پایه فیلدها (به جز فایل) */
.consult-scope .cs-input:not([type="file"]),
.consult-scope .cs-textarea,
.consult-scope .cs-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    font-size: 14px;
    color: #112337;
    background: #fff;
    outline: 0;
    transition: border-color .2s, box-shadow .2s;
}

/* placeholder */
.consult-scope .cs-input::placeholder,
.consult-scope .cs-textarea::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

/* فلش آبی select (RTL) */
.consult-scope .cs-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 2l5 5 5-5' stroke='%23204ce5' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 12px 8px;
    padding-left: 30px;
    cursor: pointer;
}

/* فوکوس */
.consult-scope .cs-input:focus,
.consult-scope .cs-textarea:focus,
.consult-scope .cs-select:focus {
    border-color: #204ce5;
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .12);
}

/* textarea یا فیلدهای تمام‌عرض */
.consult-scope .cs-grid .cs-field:has(.cs-textarea),
.consult-scope .cs-grid .cs-field.cs-field-full {
    grid-column: 1 / -1;
}

.consult-scope .cs-featurebar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 4px 2px;
}

.consult-scope .cs-featurebar::-webkit-scrollbar {
    height: 6px
}

.consult-scope .cs-featurebar::-webkit-scrollbar-thumb {
    background: #e6ecf5;
    border-radius: 8px
}

/* چیک‌بوکس به‌صورت چیپ/قرص */
.consult-scope .cs-chip {
    --pri: #204ce5;
    --bd: #d8deea;
    --txt: #112337;
    position: relative;
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
}

.consult-scope .cs-chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.consult-scope .cs-chip .cs-chip-ui {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--bd);
    border-radius: 999px;
    background: #fff;
    color: var(--txt);
    font-size: 13px;
    line-height: 1;
    transition: border-color .2s, box-shadow .2s, background .2s, color .2s, transform .06s;
    white-space: nowrap;
}

.consult-scope .cs-chip .cs-chip-ui::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1.5px solid #9aa3af;
    border-radius: 4px;
    background: #fff;
    transition: all .2s;
}

/* Hover / Active */
.consult-scope .cs-chip:hover .cs-chip-ui {
    border-color: #cfd7e6;
    box-shadow: 0 2px 10px rgba(17, 35, 55, .06)
}

.consult-scope .cs-chip:active .cs-chip-ui {
    transform: translateY(1px)
}

/* Checked state */
.consult-scope .cs-chip input:checked + .cs-chip-ui {
    background: rgba(32, 76, 229, .08);
    border-color: var(--pri);
    color: var(--pri);
    box-shadow: 0 2px 10px rgba(32, 76, 229, .12);
}

.consult-scope .cs-chip input:checked + .cs-chip-ui::before {
    border-color: transparent;
    background: var(--pri);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="M11.3 3.7a1 1 0 0 1 0 1.4L6.2 10.2a1 1 0 0 1-1.4 0L2.7 8.1a1 1 0 1 1 1.4-1.4l1.6 1.6 4.1-4.1a1 1 0 0 1 1.4 0z" fill="%23fff"/></svg>') center/12px 12px no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="M11.3 3.7a1 1 0 0 1 0 1.4L6.2 10.2a1 1 0 0 1-1.4 0L2.7 8.1a1 1 0 1 1 1.4-1.4l1.6 1.6 4.1-4.1a1 1 0 0 1 1.4 0z" fill="%23fff"/></svg>') center/12px 12px no-repeat;
}

/* Focus (دسترسی‌پذیری) */
.consult-scope .cs-chip input:focus-visible + .cs-chip-ui {
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .18);
}

@media (max-width: 576px) {
    .consult-scope .cs-chip .cs-chip-ui {
        height: 34px;
        padding: 0 12px;
        font-size: 12.5px
    }
}

.consult-scope .cs-featurebar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 4px 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.consult-scope .cs-featurebar::-webkit-scrollbar {
    height: 6px
}

.consult-scope .cs-featurebar::-webkit-scrollbar-thumb {
    background: #e6ecf5;
    border-radius: 8px
}

/* موبایل: چند خطی، بدون اسکرول افقی */
@media (max-width: 576px) {
    .consult-scope .cs-featurebar {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 8px 10px
    }
}

/* چیپ‌ها */
.consult-scope .cs-chip {
    --pri: #204ce5;
    --bd: #d8deea;
    --txt: #112337;
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer
}

.consult-scope .cs-chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer
}

.consult-scope .cs-chip .cs-chip-ui {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--bd);
    border-radius: 999px;
    background: #fff;
    color: var(--txt);
    font-size: 13px;
    line-height: 1;
    transition: border-color .2s, box-shadow .2s, background .2s, color .2s, transform .06s;
    white-space: nowrap;
}

.consult-scope .cs-chip:hover .cs-chip-ui {
    border-color: #cfd7e6;
    box-shadow: 0 2px 10px rgba(17, 35, 55, .06)
}

.consult-scope .cs-chip:active .cs-chip-ui {
    transform: translateY(1px)
}

.consult-scope .cs-chip input:checked + .cs-chip-ui {
    background: rgba(32, 76, 229, .08);
    border-color: var(--pri);
    color: var(--pri);
    box-shadow: 0 2px 10px rgba(32, 76, 229, .12)
}

.consult-scope .cs-chip .cs-chip-ui::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1.5px solid #9aa3af;
    border-radius: 4px;
    background: #fff;
    transition: all .2s
}

.consult-scope .cs-chip input:checked + .cs-chip-ui::before {
    border-color: transparent;
    background: var(--pri);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="M11.3 3.7a1 1 0 0 1 0 1.4L6.2 10.2a1 1 0 0 1-1.4 0L2.7 8.1a1 1 0 1 1 1.4-1.4l1.6 1.6 4.1-4.1a1 1 0 0 1 1.4 0z" fill="%23fff"/></svg>') center/12px 12px no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="M11.3 3.7a1 1 0 0 1 0 1.4L6.2 10.2a1 1 0 0 1-1.4 0L2.7 8.1a1 1 0 1 1 1.4-1.4l1.6 1.6 4.1-4.1a1 1 0 0 1 1.4 0z" fill="%23fff"/></svg>') center/12px 12px no-repeat;
}

@media (max-width: 576px) {
    .consult-scope .cs-chip .cs-chip-ui {
        height: 34px;
        padding: 0 12px;
        font-size: 12.5px
    }
}

.faq_question_widget {
    border-width: 1px;
    border-radius: 15px;
}

.faq_according .panel-heading {
    background-color: rgb(236 247 255);
}

.error_page.footer_apps_widget h4 {
    font-size: 27px;
}


.consult-scope .cs-container-small {
    max-width: 500px !important;
    margin: 0 auto;
    padding: 10px;
}

.blog_grid_post .thumb:before {
    border-radius: 25px;
}

/*.img-fluid {*/
/*    border-radius: 25px;*/
/*}*/

.img-fluid1 {
    width: 100%;
    border-radius: 25px;
}

.alv-blog-card {
    --card-bg: #fff;
    --card-bd: #e7eaf0;
    --text: #111827;
    --muted: #6b7280;
    --accent: #3b82f6;
    --shadow: 0 12px 28px rgba(16, 24, 40, .08);
    --radius: 18px;
    --icon-gap: 6px;
    --desc-lines: 3;
    --desc-line-height: 1.9;
    direction: rtl;
    background: var(--card-bg);
    border: 1px solid var(--card-bd);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 5px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.alv-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, .12);
    border-color: #d9dfeb
}

/* Thumb (no hover effects on image) */
.alv-blog-card .thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.alv-blog-card .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: none;
    border-radius: 25px;
    padding-top: 0px;
}

.alv-blog-card .thumb::after {
    content: "";
    position: absolute;
    border-radius: 25px;
    inset: 0;
    pointer-events: none;
    /*background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .25));*/
    background: linear-gradient(180deg, transparent, #1e33cf63);
}

/* Tag */
.alv-blog-card .tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #d4d4d4;
    color: #222222;
    font-size: .78rem;
    padding: 0px 10px;
    border-radius: 10px;
}

/* Body */
.alv-blog-card .details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.alv-blog-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.06rem;
    line-height: 1.7;
    font-weight: 800
}

.alv-blog-card p {
    margin: 0;
    color: #374151;
    font-size: .94rem;
    line-height: var(--desc-line-height);
    max-height: calc(var(--desc-line-height) * 1em * var(--desc-lines));
    min-height: calc(var(--desc-line-height) * 1em * var(--desc-lines));
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: var(--desc-lines);
    -webkit-box-orient: vertical;
}

/* Meta (icon + text tight with standard gap) */
.alv-blog-card .post_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 4px 0 2px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .86rem;
}

.alv-blog-card .post_meta li {
    display: inline-flex;
    align-items: center;
    gap: var(--icon-gap);
    white-space: nowrap
}

.alv-blog-card .post_meta li .flaticon-profile,
.alv-blog-card .post_meta li .flaticon-comment,
.alv-blog-card .post_meta li .flaticon-calendar {
    font-size: 1rem;
    line-height: 1
}

.alv-blog-card .alv-read {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #ececec;
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 6px;
}

.alv-blog-card .alv-read a {
    margin-left: 0;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.alv-blog-card .alv-read a:hover {
    text-decoration: underline
}


/* Mobile */
@media (max-width: 576px) {
    .alv-blog-card {
        border-radius: 25px;
        padding: 5px;
        --desc-line-height: 1.8;
    }

    .alv-blog-card .details {
        padding: 12px
    }

    .alv-blog-card h3 {
        font-size: 1rem;
        line-height: 1.6
    }

    .alv-blog-card p {
        font-size: .9rem;
        line-height: 1.8
    }

    .alv-blog-card .post_meta {
        gap: 8px 10px;
        font-size: .82rem
    }

    .alv-blog-card {
        --icon-gap: 5px
    }
}


/* دکمه مشاهده همه: چپ‌چین + آیکن در سمت چپ متن (اسکوپ‌شده) */
.alv-view-all {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 16px;
    flex-direction: row-reverse;
}

.alv-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse;
    /* آیکن سمت چپ متن */
    padding: 10px 16px;
    border: 1px solid #e7eaf0;
    border-radius: 999px;
    background: #fff;
    color: #3452ff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1
}

.alv-btn-viewall .alv-btn-icon {
    font-size: 1rem;
    line-height: 1
}

.alv-btn-viewall:hover {
    background: #f9fafb
}

@media (max-width: 576px) {
    .alv-view-all {
        margin-top: 12px
    }

    .alv-btn-viewall {
        padding: 9px 14px;
        gap: 8px
    }
}

.blog_grid_post .details {
    /*padding: 20px 25px 0px 30px;*/
    padding: 20px 16px 8px 16px;
}

@media only screen and (max-width: 767.98px) {
    .blog_grid_post .details {
        padding: 15px 15px 0px 15px !important;
    }
}


.blog_grid_post .thumb .tag {
    right: 12px;
    top: 12px;
    color: rgb(31, 31, 31);
}

@media only screen and (max-width: 767.98px) {
    .blog_grid_post .details h3 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 767.98px) {
    .blog_grid_post .details p {
        font-size: 14px;
    }
}

.mbp_thumb_post .details h3 {
    margin-bottom: .5rem;
    margin-top: 1rem;
    font-size: 26px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mbp_thumb_post .details h3 {
        font-size: 20px;
    }
}

.main_blog_post_content .mbp_thumb_post .details h4 {
    font-size: 23px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .main_blog_post_content .mbp_thumb_post .details h4 {
        font-size: 18px;
    }
}


.main_blog_post_content .mbp_thumb_post .details p {
    font-size: 17px;
    line-height: 35px;
}

@media (max-width: 768px) {
    .hide-text-mobile .item-text {
        display: none;
    }

    /* چپ‌چین شدن در نسخه موبایل */
    .cs_review_enroll {
        display: flex;
        justify-content: flex-start;
    }

    .cs_review_enroll .hide-text-mobile {
        margin: 0 4px;
    }

}

@media (max-width: 768px) {
    .cs_review_enroll {
        display: flex;
        justify-content: flex-start;
    }

    .cs_review_enroll li.hide-text-mobile {
        margin: 0 2px !important;
    }
}

.mbp_thumb_post .thumb:before {
    border-radius: 25px;
}

.cs_row_one .cs_review_seller li:first-child a {
    padding: 0px 8px;
    width: unset;
    height: 28px;
}

.cs_row_one .cs_review_enroll li {
    margin-right: unset;
}

.rating-box {
    display: inline-flex;
    align-items: center;
}

.rating-stars {
    display: flex;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rating-stars li {
    display: inline-block;
}

.rating-stars i {
    color: #f5c518;
    font-size: 14px;
}

.no-review-box {
    border: 1px dashed #ddd;
    padding: 25px;
    text-align: center;
    border-radius: 6px;
    background: #fafafa;
    color: #666;
    font-size: 15px;
}


@media (max-width: 768px) {
    .padding-0 {
        padding: 0px;
    }
}

.cs-list li {
    display: list-item !important;
    width: 100% !important;
}

.cs-list li {
    display: block !important;
}

.main_blog_post_content .mbp_thumb_post .details {
    padding-top: unset;
}

/*
.row>[class*="col-"] {
    position: relative;
} */

.col-12-p0,
.col-4-p0 {
    padding-right: 0;
    padding-left: 0;
}

/* inline star list */
.rating-box {
    display: inline-flex;
    align-items: center
}

.rating-stars {
    display: flex;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none
}

.rating-stars i {
    color: #f5c518;
    font-size: 14px
}

/* hide texts on mobile for share/like */
@media (max-width: 768px) {
    .cs_review_enroll {
        display: flex;
        justify-content: flex-start;
        gap: 4px
    }

    .cs_review_enroll .hide-text-mobile .item-text {
        display: none
    }
}

/* align rating row */
#review-form .rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%
}

#review-form .rating-row .cs-rating {
    display: inline-flex;
    gap: 4px;
    margin: 0
}

/* COURSE OFFER (سبک متفاوت گلس+گرادیان-بوردِر) */
.course-offer {
    position: sticky;
    top: 24px;
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    isolation: isolate;
    margin-bottom: 2rem;
}

.course-offer::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    background: linear-gradient(135deg, #204ce5, #7a5cff, #00e0ff);
    z-index: -1;
    opacity: .25;
}

/* هدر قیمت */
.co-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.co-pill {
    justify-self: start;
    background: linear-gradient(135deg, #204ce5, #00e0ff);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.co-price {
    text-align: left;
}

.co-price-main {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.co-price-main .co-currency {
    font-size: 12px;
    font-weight: 600;
    opacity: .8;
    margin-right: 4px;
}

.co-price-sub {
    font-size: 12px;
    opacity: .6;
    text-decoration: line-through;
}

/* مشخصات */
.co-specs {
    list-style: none;
    padding: 0;
    margin: 10px 0 6px 0;
    gap: 10px;
}

.co-specs li {
    background: #fff;
    border: 1px solid #eef1ff;
    border-radius: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: 18px auto;
    align-items: center;
    gap: 8px;
}

.co-specs i {
    color: #204ce5;
    font-size: 16px;
}

.co-specs span {
    font-size: 12px;
    opacity: .7;
}

.co-specs b {
    font-size: 13px;
    justify-self: end;
}

/* جداکننده */
.co-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecff, transparent);
    margin: 14px 0;
}


.co-btn {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: .25s ease;
}

.co-primary {
    color: #fff;
    background: linear-gradient(135deg, #204ce5, #5b7bff);
    border: none;
}

.co-primary:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}


/* متا/مزایا */
.co-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.co-badge {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f6ff;
    color: #2a3ea0;
    border: 1px solid #e1e9ff;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .course-offer {
        position: relative;
        top: auto;
    }

    .co-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .co-actions {
        flex-direction: column;
    }
}

.course-offer {
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    margin-bottom: 2rem
}

.co-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.co-pill {
    background: linear-gradient(135deg, #204ce5, #00e0ff);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}

.co-price {
    text-align: left
}

.co-price-main {
    font-size: 22px;
    font-weight: 800
}

.co-currency {
    font-size: 12px;
    font-weight: 600;
    opacity: .8;
    margin-right: 4px
}

.co-price-sub {
    font-size: 12px;
    opacity: .6;
    text-decoration: line-through
}

.co-specs {
    margin: 0
}

.co-spec {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.co-spec i {
    color: #204ce5;
    font-size: 16px;
    margin-left: 8px
}

.co-spec span {
    font-size: 13px;
    opacity: .8;
    margin-left: auto;
    margin-right: 8px
}

.co-spec b {
    font-size: 13px;
    color: #333
}

.co-divider {
    height: 1px;
    background: #eee;
    margin: 14px 0
}


.co-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: .25s
}

.co-primary {
    background: #204ce5;
    color: #fff
}

.co-primary:hover {
    background: #163ab7
}

.co-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.co-badge {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f6ff;
    color: #2a3ea0;
    border: 1px solid #dce5ff
}

.co-head {
    display: none !important
}

/* جداکننده قبلی قابل استفاده است */
.co-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecff, transparent);
    margin: 12px 0
}

/* فوتر قیمت در پایین کارت */
.co-footer {
    display: flex;
    gap: 10px;
    background: #ff1053;
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12) inset, 0 6px 18px rgba(0, 0, 0, .08);
    flex-direction: row;
    justify-content: space-around;
}

/* سمت چپ: قیمت فعلی + قدیمی */
.co-footer-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.co-price-main {
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}

.co-price-main .co-currency {
    font-size: 12px;
    font-weight: 600;
    opacity: .85;
    margin-right: 4px;
}

.co-price-sub {
    font-size: 16px;
    opacity: 1;
    text-decoration: line-through;
}

/* بج (پیشنهاد ویژه) در فوتر */
.co-footer .co-pill {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #0b1220;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

/* موبایل: فوتر ستونی و فول‌ویدث */
@media (max-width: 768px) {
    .co-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 8px;
    }

    .co-footer-left {
        justify-content: center;
    }
}

aside.col-lg-4.col-xl-3.text-right.col-4-p0 {
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start !important;
    height: auto !important;
    z-index: 2;
}

.course-offer {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}


@media (min-width: 992px) {
    .col-md-12.col-lg-8.col-xl-9.col-12-p0 {
        padding-left: 5px !important;
    }

    aside.col-lg-4.col-xl-3.col-4-p0 {
        padding-right: 5px !important;
    }
}

/* دانلود کل دوره */
#course-content .cc-download {
    font-size: 13px;
    font-weight: 600;
    color: #204ce5;
    background: #f2f6ff;
    border: 1px solid #e1e9ff;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: .2s
}

#course-content .cc-download:hover {
    background: #204ce5;
    color: #fff
}

/* آکاردئون */
#course-content .acc {
    display: flex;
    flex-direction: column;
    gap: 10px
}

#course-content .acc-item {
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    background: #fff;
    overflow: hidden
}

#course-content .acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: none;
    cursor: pointer
}

#course-content .acc-title {
    font-size: 14px;
    font-weight: 700;
    color: #112337
}

#course-content .acc-caret {
    transition: transform .28s ease
}

#course-content .acc-item.is-open .acc-caret {
    transform: rotate(180deg)
}

#course-content .acc-body {
    /*height: 0;*/
    overflow: hidden
}

#course-content .acc-body.is-anim {
    transition: height .28s ease
}

/* لیست ویدیوها + دانلود هر آیتم */
#course-content .cc-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

#course-content .cc-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f1f4fa;
    border-radius: 10px;
    background: #fafbff;
    padding: 8px 10px;
    gap: 10px
}

#course-content .cc-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1
}

#course-content .cc-info i.fa-play {
    color: #204ce5;
    font-size: 14px
}

#course-content .cc-title {
    font-size: 13px;
    flex: 1
}

#course-content .cc-time {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap
}

#course-content .cc-chip {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f0ff;
    color: #204ce5;
    border: 1px solid #dbe6ff
}

#course-content .cc-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f2f6ff;
    border-radius: 8px;
    color: #204ce5;
    text-decoration: none;
    transition: .2s;
    flex-shrink: 0
}

#course-content .cc-dl:hover {
    background: #204ce5;
    color: #fff
}

@media (max-width: 768px) {
    #course-content .cc-chip {
        display: none
    }
}

button:focus {
    outline: none;
    /* حذف استایل پیش‌فرض */
    box-shadow: 0 0 0 3px rgba(32, 76, 229, 0.35);
    /* هاله آبی شیک */
    border-radius: 8px;
    /* گردی هماهنگ با استایل کارت‌ها */
    transition: box-shadow .25s ease;
}

/* آیتم قفل شده */
.cc-list li.locked {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    padding: 10px;
    color: #9ca3af;
    /* متن خاکستری */
}

.cc-list li.locked .cc-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-list li.locked .cc-info .cc-title {
    flex: 1;
    font-size: 13px;
    color: #6b7280;
}

.cc-list li.locked .cc-info .cc-time {
    font-size: 12px;
    color: #9ca3af;
}

.cc-list li.locked .cc-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 8px;
}

.cc-list li.locked .cc-lock i {
    color: #d32f2f;
    /* قفل قرمز */
    font-size: 14px;
}

/* ==== Checkout – استایل هماهنگ با قالب شما (RTL, کارت، گرد، تم آبی) ==== */
.shop-checkouts {
    direction: rtl;
    padding: 14px 0
}

.shop-checkouts .cart_page_form {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
    overflow: hidden
}

/* هدر جدول */
.shop-checkouts table {
    width: 100%;
    margin: 0
}

.shop-checkouts thead tr {
    background: #2441e7;
    color: white;
}

.shop-checkouts thead th.cartm_title {
    font-size: 13px;
    color: #ffffff;
    font-weight: 800;
    border-bottom: 1px solid #e6ecf5;
    padding: 14px 16px;
    white-space: nowrap;
    text-align: right;
}

/* بدنه جدول */
.shop-checkouts tbody tr {
    border-bottom: 1px solid #f0f2f7
}

.shop-checkouts tbody tr:last-child {
    border-bottom: 0
}

.shop-checkouts tbody td,
.shop-checkouts tbody th[scope="row"] {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 14px;
    color: #384152;
    background: #fff
}


/* ===== Fixes for Checkout (scoped) ===== */

/* برگردوندن گاتر بوت‌استرپ فقط اینجا */
.shop-checkouts .row {
    margin-right: -15px;
    margin-left: -15px;
}

/* دسکتاپ: پدینگ معقول */
.shop-checkouts tbody td,
.shop-checkouts tbody th[scope="row"] {
    padding: 14px 16px;
}

/* موبایل: جدول -> کارت (فقط گوشی‌ها، نه تبلت/لپ‌تاپ) */
@media (max-width: 575.98px) {

    .shop-checkouts thead {
        display: none;
    }

    .shop-checkouts table,
    .shop-checkouts tbody,
    .shop-checkouts tr,
    .shop-checkouts td,
    .shop-checkouts th[scope="row"] {
        display: block;
        width: 100%;
    }

    .shop-checkouts tbody tr {
        background: #fff;
        border: 1px solid #e6ecf5;
        border-radius: 12px;
        margin: 12px 0;
        padding: 12px;
        box-shadow: 0 6px 18px rgba(17, 35, 55, .05);
    }

    /* ردیف محصول بالای کارت */
    .shop-checkouts th[scope="row"] {
        padding: 0 0 10px 0 !important;
        border: 0;
        background: transparent;
    }

    /* چیدمان: عکس | عنوان | حذف */
    .shop-checkouts .cart_list {
        display: grid;
        grid-template-columns: 56px 1fr auto;
        align-items: center;
        gap: 10px;
    }

    .shop-checkouts .cart_list > li:first-child {
        order: 3;
    }

    /* دکمه حذف بره آخر */
    .shop-checkouts .cart_list img[alt="cart1.png"],
    .shop-checkouts .cart_list img[alt="cart2.png"] {
        width: 56px;
        height: 56px;
        border-radius: 10px;
        object-fit: cover;
        border: 1px solid #e6ecf5;
    }

    /* سطرهای قیمت/تعداد/جمع */
    .shop-checkouts tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0 !important;
        border: 0;
        background: transparent;
        white-space: normal;
        /* جلوگیری از اسکرول افقی */
    }

    .shop-checkouts tbody td::before {
        content: attr(data-label);
        color: #6b7280;
        font-size: 12px;
        margin-left: 8px;
        flex: 0 0 auto;
    }

    /* کنترل تعداد کوچیک و فیت */
    .qty-control {
        height: 38px;
    }

    .qty-btn {
        width: 34px;
        height: 38px;
        font-size: 18px;
    }

    .qty-input {
        width: 52px;
        height: 38px;
        font-size: 14px;
    }

    /* حذف آیتم جمع‌وجور */
    .remove-item {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    /* فرم کوپن فول‌ویدث */
    .shop-checkouts .checkout_coupon .form-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .shop-checkouts .checkout_coupon .form-control,
    .shop-checkouts .checkout_coupon .btn {
        height: 44px;
        width: 100%;
    }
}

/* روی گوشی‌ها nowrap رو غیرفعال کن (دسکتاپ دست‌نخورده) */
@media (max-width: 575.98px) {
    .shop-checkouts td {
        white-space: normal;
    }
}

/* لیست محصول داخل سلول اول */
.shop-checkouts .cart_list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none
}

.shop-checkouts .cart_list img[alt="cart1.png"],
.shop-checkouts .cart_list img[alt="cart2.png"] {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e6ecf5
}

.shop-checkouts .cart_list img[alt="close.png"] {
    width: 18px;
    height: 18px;
    opacity: .65;
    transition: .2s
}

.shop-checkouts .cart_list img[alt="close.png"]:hover {
    opacity: 1;
    transform: scale(1.05)
}

.shop-checkouts .cart_title {
    font-weight: 500;
    color: #112337;
    text-decoration: none;
    line-height: 1.7;
    text-align: right;

    display: -webkit-box;
    -webkit-line-clamp: 1; /* یا 2 خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.shop-checkouts .cart_title:hover {
    color: #204ce5
}

/* قیمت‌ها */
.shop-checkouts td {
    white-space: nowrap
}

.shop-checkouts .cart_total {
    font-weight: 800;
    color: #111827
}

/* ورودی تعداد */
.shop-checkouts .cart_count {
    width: 84px;
    height: 40px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    color: #112337;
    font-size: 14px;
    outline: 0;
    transition: border-color .2s, box-shadow .2s
}

.shop-checkouts .cart_count:focus {
    border-color: #204ce5;
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .12)
}

/* کوپن */
.shop-checkouts .checkout_form {
    margin-top: 14px
}

.shop-checkouts .checkout_coupon {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .04)
}

.shop-checkouts .checkout_coupon .form-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.shop-checkouts .checkout_coupon .form-control {
    flex: 1 1 220px;
    height: 44px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    padding: 0 12px;
    outline: 0
}

.shop-checkouts .checkout_coupon .form-control:focus {
    border-color: #204ce5;
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .12)
}

.shop-checkouts .checkout_coupon .btn {
    height: 44px;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
    background: blue;
    color: #ffffff;
    margin-right: 9px;
}

.shop-checkouts .checkout_coupon .btn.btn2 {
    background: #204ce5;
    color: #fff
}

.shop-checkouts .checkout_coupon .btn.btn2:hover {
    filter: brightness(.95)
}

.shop-checkouts .checkout_coupon .btn.btn3 {
    background: #f2f6ff;
    color: #204ce5;
    border: 1px solid #e1e9ff
}

.shop-checkouts .checkout_coupon .btn.btn3:hover {
    background: #e9efff
}

/* سایدبار جمع کل */
.shop-checkouts .order_sidebar_widget {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06)
}

.shop-checkouts .order_sidebar_widget .title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #112337;
    text-align: right;
}

.shop-checkouts .order_sidebar_widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.shop-checkouts .order_sidebar_widget li p {
    margin: 0;
    font-size: 14px;
    color: #384152;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.shop-checkouts .order_sidebar_widget .totals {
    font-weight: 800
}

/* دکمه پرداخت */
.shop-checkouts .payment_widget_btn .btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #204ce5;
    color: #fff;
    font-weight: 800;
    transition: .2s;
    box-shadow: 0 8px 18px rgba(32, 76, 229, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-checkouts .payment_widget_btn .btn:hover {
    transform: translateY(-1px)
}

.shop-checkouts .payment_widget_btn .btn:active {
    transform: translateY(0)
}

/* ریسپانسیو – کارت‌محور در موبایل */
@media (max-width: 768px) {
    .shop-checkouts thead {
        display: none
    }

    .shop-checkouts table,
    .shop-checkouts tbody,
    .shop-checkouts tr,
    .shop-checkouts td,
    .shop-checkouts th[scope="row"] {
        display: block;
        width: 100%
    }

    .shop-checkouts tbody tr {
        background: #fff;
        border: 1px solid #e6ecf5;
        border-radius: 12px;
        margin: 10px 0;
        padding: 10px;
        box-shadow: 0 6px 18px rgba(17, 35, 55, .05)
    }

    .shop-checkouts tbody td,
    .shop-checkouts tbody th[scope="row"] {
        padding: 8px 0;
        border: 0
    }

    .shop-checkouts tbody td:before {
        content: attr(data-label);
        float: right;
        color: #6b7280;
        font-size: 14px;
        margin-left: 8px
    }

    .shop-checkouts .cart_list {
        gap: 10px
    }

    .shop-checkouts .cart_list img[alt="cart1.png"],
    .shop-checkouts .cart_list img[alt="cart2.png"] {
        width: 56px;
        height: 56px
    }

    .shop-checkouts .checkout_coupon .form-inline {
        flex-direction: column;
        align-items: stretch
    }
}


/* کانتینر دکمه‌ها */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8deea;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* دکمه‌ها */
.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f2f6ff;
    color: #204ce5;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.qty-btn:hover {
    background: #204ce5;
    color: #fff;
}

/* ورودی عدد */
.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #112337;
    outline: none;
}

/* دکمه حذف محصول */
.remove-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    /* قرمز خیلی روشن */
    border: 1px solid #ffbdd0;
    /* قرمز ملایم */
    border-radius: 8px;
    color: #ff1053;
    /* قرمز اصلی */
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease;
}

.remove-item:hover {
    background: #fc0047;
    color: #fff;
    border-color: #fc0047;
}

.remove-item i {
    pointer-events: none;
}

.cart_page_form tbody.table_body th .cart_list .cart_title {
    font-size: 15px;
}

.cart_page_form .table_body td,
.cart_page_form .table_body th {
    padding: 25px 5px;
}


.shop-checkouts tbody td,
.shop-checkouts tbody th[scope="row"] {
    padding: 15px;
}

/* برای کروم، سافاری، اج */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* برای فایرفاکس */
.qty-input {
    -moz-appearance: textfield;
}


@media (max-width: 768px) {
    .cart_page_form {
        border-style: unset;
        border-width: unset;
        border-color: unset;
        background-color: unset;
        margin-bottom: unset;
    }
}


@media (max-width: 768px) {
    .shop-checkouts .cart_page_form {
        background: unset;
        border: unset;
        border-radius: unset;
        box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .shop-checkouts .checkout_coupon .form-control {
        flex: unset;
    }
}

.checkout_form .checkout_coupon form input,
.checkout_form .checkout_coupon form button.btn2 {
    margin-bottom: 5px !important;
}

.checkout_form .checkout_coupon form button {
    margin-top: 5px !important;
}

.checkout_form .checkout_coupon form button.btn2 {
    margin-left: unset;
}

.order_sidebar_widget .subtitle .totals {
    color: #ff1053;
}

.color-pink {
    color: #ff1053;

}

@media (min-width: 769px) {
    .marginb-5-pc {
        margin-bottom: 8rem !important;
    }
}

@media (max-width: 768px) {
    .paddingb-5-mob {
        padding-bottom: 65px;
    }
}

.mb15 {
    margin: 7px;
}

.my_profile_select_box .dropdown.bootstrap-select button.btn {
    border-radius: 12px;
}

.payment_widget {
    border-radius: 12px;
}

.payment_widget .bt_details {
    display: none;
    margin: 8px 0 14px;
    color: #384152
}

.payment_widget .bt_details.is-active {
    display: block
}

/* فاصله/جداساز استاندارد داخل سایدبار سفارش */
.order_sidebar_widget li.os-block {
    margin-top: 14px;
    /* فاصله بیرونی بالا */
    padding-top: 12px;
    /* فاصله داخلی بالا */
    border-top: 1px dashed #e6ecf5;
    /* خط جداکننده ملایم */
}

/* جمع نهایی: فاصله و تاکید بیشتر */
.order_sidebar_widget li.os-grand {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 2px solid #dbe2ff;
}

.order_sidebar_widget li.os-grand .totals {
    font-size: 16px;
    /* کمی درشت‌تر */
    font-weight: 800;
}

/* ===== Callback (scoped) ===== */
.shop-order {
    direction: rtl;
    padding: 14px 0
}

.shop-order .row {
    margin-right: -15px;
    margin-left: -15px
}

/* بازگردانی گاتر فقط این صفحه */

/* کارت اصلی هم‌استایل با cs-card */
.shop-order .ocb-card {
    padding: 10px 5px
}

.shop-order .ocb-muted {
    color: #686e77
}

/* آمار سفارش (فلکس + وسط‌چین) */
.shop-order .ocb-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 16px auto 10px;
    justify-content: center;
    /* کل بلاک وسط */
    text-align: center;
    /* متن داخل باکس‌ها وسط */
}

/* دسکتاپ: 4 تا در هر ردیف (انعطاف‌پذیر) */
.shop-order .ocb-stats li {
    flex: 1 1 calc(25% - 12px);
    /* برای جلوگیری از خیلی ریز شدن روی نمایشگرهای بزرگ */
    min-width: 160px;
    background: #fafbff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* هم‌تراز وسط عمودی */
    align-items: center;
    /* هم‌تراز وسط افقی */
}

/* موبایل: دقیقا 2 تا در هر ردیف */
@media (max-width: 576px) {
    .shop-order .ocb-stats li {
        flex: 0 1 calc(50% - 12px);
        min-width: 0;
        /* اجازه بده دقیقا دو تا کنار هم جا بشن */
    }
}

.shop-order .ocb-stats .k {
    display: block;
    font-size: 12px;
    color: var(--cs-muted, #6b7280);
    margin-bottom: 6px;
}

.shop-order .ocb-stats b {
    font-size: 14px;
    color: #112337;
    font-weight: 800;
}

/* عنوان بخش‌ها */
.shop-order .ocb-title {
    margin: 10px 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #112337;
    text-align: right
}

/* لیست آیتم‌ها و جمع‌ها */
.shop-order .ocb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff
}

.shop-order .ocb-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f2f7
}

.shop-order .ocb-list li:last-child {
    border-bottom: 0
}

.shop-order .ocb-list .sep {
    padding: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecff, transparent);
    border: 0
}

.shop-order .ocb-list .grand b {
    color: #204ce5;
    font-weight: 800
}

.shop-order .ocb-list .note {
    align-items: flex-start
}

.shop-order .ocb-note {
    color: #384152
}

/* آدرس صورتحساب */
.shop-order .ocb-address {
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    margin: 0
}

.shop-order .ocb-address p {
    margin: 0 0 6px
}

/* فاصله بین بخش‌ها */
.shop-order .ocb-section {
    margin-top: 35px
}

.shop-order .ocb-section + .ocb-section {
    margin-top: 35px
}

/* اکشن‌ها */
.shop-order .ocb-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.shop-order .ocb-actions .ocb-outline {
    background: #f2f6ff;
    color: #204ce5;
    border: 1px solid #e1e9ff
}

.shop-order .ocb-actions .ocb-outline:hover {
    background: #e9efff
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .shop-order .ocb-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 576px) {
    .shop-order .ocb-stats {
        grid-template-columns: 1fr
    }

    .shop-order .ocb-actions {
        flex-direction: column
    }
}

/* آیکن کنار عنوان تأیید سفارش */
.shop-order .cs-header {
    text-align: center;
}

.shop-order .ocb-title-row {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.shop-order .ocb-icon-success {
    color: #22c55e;
    /* سبز موفقیت */
    font-size: 1.4em;
    filter: drop-shadow(0 2px 6px rgba(34, 197, 94, .25));
}

@media (max-width: 576px) {
    .shop-order .ocb-icon-success {
        font-size: 1.3em;
    }
}

.h2-green {
    font-size: 25px;
    color: #22c55e;
}

@media (max-width: 576px) {
    .h2-green {
        font-size: 20px;
        color: #22c55e;
    }
}

.h2-fail-red {
    font-size: 25px;
    color: #ff1053 !important;
}

@media (max-width: 576px) {
    .h2-fail-red {
        font-size: 20px;
        color: #ff1053 !important;
    }
}

.ocb-alert {
    border: 1px solid #ffbdd0 !important;
    color: #ff1053 !important;
}

/* ==== Author Details (Scoped) ==== */
.author-details {
    direction: rtl;
}

.author-details .cs-card {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
}

.author-details .cs-header {
    text-align: right;
    margin-bottom: 16px;
}

.author-details .cs-header h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #0a0a0a;
}

.author-details .cs-header p {
    margin: 0;
    color: var(--cs-muted, #686e77);
    line-height: 1.9;
}

/* فاصله‌بندی داخلی سکشن‌ها */
.author-details .ocb-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #e9edf7;
}

/* تیترهای درون کارت */
.author-details .ocb-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #112337;
}

/* لیست‌های اطلاعاتی (تحصیلات/تجربه) */
.author-details .cs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.author-details .cs-list li {
    position: relative;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.author-details .cs-list li b {
    color: #111827;
}

.author-details .cs-muted {
    color: #6b7280;
}

/* چیپ‌ها (از استایل عمومی‌ت استفاده میشه؛ فقط کمی فاصله) */
.author-details .cs-featurebar {
    margin-top: 12px;
}

/* Social icons (sidebar) */
.author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.author-socials li {
    display: inline-flex;
}

.as-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff;
    color: #112337;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(17, 35, 55, .06);
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.as-btn i {
    font-size: 18px;
    line-height: 1;
}

.as-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(17, 35, 55, .10);
    color: #fff;
    border-color: transparent;
}

.as-btn:active {
    transform: translateY(0);
}

/* Brand hovers */
.as-ig:hover {
    background: radial-gradient(circle at 30% 30%, #ffd86f, #f56040 40%, #dc2743 65%, #cc2366 80%, #bc1888);
}

.as-tw:hover {
    background: #1DA1F2;
}

.as-fb:hover {
    background: #1877F2;
}

.as-pt:hover {
    background: #E60023;
}

/* Focus ring (دسترسی‌پذیری) */
.as-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .25);
}

/* موبایل: کمی کوچک‌تر */
@media (max-width: 576px) {
    .as-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .as-btn i {
        font-size: 16px;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .author-details .cs-header h2 {
        font-size: 20px;
    }

    .author-details .ocb-title {
        font-size: 15px;
    }
}

/* === Author hero (avatar + intro) === */
.author-details .author-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.author-details .author-avatar {
    flex: 0 0 auto;
}

.author-details .author-avatar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e6ecf5;
    box-shadow: 0 6px 18px rgba(17, 35, 55, .06);
    background: #fff;
}

.author-details .author-intro {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.author-details .author-name {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0a0a0a;
}

.author-details .author-role {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* استفاده از استایل ستاره‌ها که از قبل داری */
.author-details .rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.author-details .rating-stars i {
    color: #ffb400;
    font-size: 16px;
}

.author-details .rating-stars span {
    font-size: 12px;
    color: #6b7280;
    margin-right: 6px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .author-details .author-hero {
        flex-direction: column;
        text-align: center;
    }

    .author-details .author-avatar img {
        width: 96px;
        height: 96px;
    }
}

/* مرکزچین‌کردن کامل باکس شبکه‌های اجتماعی */
.tags_widget_box {
    text-align: center;
    /* تیتر و متن وسط */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* محتوا وسطِ افقی */
}

/* تیتر باکس وسط */
.tags_widget_box .tags_widget_title {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

/* آیکن‌ها وسط */
.author-socials {
    justify-content: center;
    /* آیکن‌ها وسط */
}

/* اگر والد sidebar کلاس text-right دارد، این خط وسط‌چین را قطعی می‌کند */
aside .tags_widget_box {
    text-align: center;
}


@media (max-width: 768px) {
    .p-s-r {
        padding-left: 0px;
        padding-right: 0px;
    }

}

/* ==== Services Grid – variant card style (scoped) ==== */
.services-grid .svc-card {
    border: 1px solid #e6ecf5;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 35, 55, .06);
    transition: transform .12s ease, box-shadow .25s ease, border-color .25s ease;
}

.services-grid .svc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(17, 35, 55, .12);
    border-color: #dfe6f4;
}

/* head */
.services-grid .svc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
}

.services-grid .svc-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #112337;
    flex: 1;
}

.services-grid .svc-badge {
    background: #e6fff2;
    color: #10754a;
    border: 1px solid #c9f6df;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* icon in gradient ring */
.services-grid .svc-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    position: relative;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 16px rgba(32, 76, 229, .12);
}

.services-grid .svc-icon::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 180deg, #204ce5, #7a5cff, #00e0ff, #204ce5);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
}

.services-grid .svc-icon i {
    font-size: 22px;
    color: #204ce5;
}

/* body */
.services-grid .svc-desc {
    margin: 6px 0 10px;
    color: #384152;
    font-size: 14px;
    line-height: 1.9;
}

.services-grid .svc-bullets {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.services-grid .svc-bullets li {
    position: relative;
    padding-right: 22px;
    margin-bottom: 6px;
    font-size: 13.5px;
    color: #333;
}

.services-grid .svc-bullets li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .45em;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #204ce5;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="M11.3 3.7a1 1 0 0 1 0 1.4L6.2 10.2a1 1 0 0 1-1.4 0L2.7 8.1a1 1 0 1 1 1.4-1.4l1.6 1.6 4.1-4.1a1 1 0 0 1 1.4 0z" fill="%23fff"/></svg>') center/14px 14px no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="M11.3 3.7a1 1 0 0 1 0 1.4L6.2 10.2a1 1 0 0 1-1.4 0L2.7 8.1a1 1 0 1 1 1.4-1.4l1.6 1.6 4.1-4.1a1 1 0 0 1 1.4 0z" fill="%23fff"/></svg>') center/14px 14px no-repeat;
}

/* footer/meta/actions */
.services-grid .svc-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.services-grid .svc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.services-grid .svc-price {
    font-size: 13px;
    color: #111827;
}

.services-grid .svc-price b {
    font-size: 15px;
    font-weight: 800;
}

.services-grid .svc-currency {
    font-size: 12px;
    color: #6b7280;
    margin-right: 4px;
}

.services-grid .svc-time {
    font-size: 12.5px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.services-grid .svc-time i {
    font-size: 13px;
    color: #204ce5;
}

.services-grid .svc-actions {
    display: flex;
    gap: 10px;
}

.services-grid .co-btn {
    flex: 1;
    border-radius: 10px;
}

.services-grid .co-outline {
    background: #fff;
    color: #204ce5;
    border: 1px solid #e1e9ff;
    text-decoration: none;
}

.services-grid .co-outline:hover {
    background: #f2f6ff;
}

/* mobile tweaks */
@media (max-width: 576px) {
    .services-grid .svc-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .services-grid .svc-actions {
        flex-direction: column;
    }
}

/* ==== Services – image support (adds to previous services-grid styles) ==== */
.services-grid .svc-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f7fb;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(17, 35, 55, .06);
}

.services-grid .svc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.services-grid .svc-card:hover .svc-thumb img {
    transform: scale(1.045);
}

/* subtle gradient on hover */
.services-grid .svc-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .06));
    opacity: .0;
    transition: opacity .25s ease;
}

.services-grid .svc-card:hover .svc-thumb::after {
    opacity: 1;
}

/* ==== Podcasts – بدون تصویر، با تایم‌لاین ==== */
.podcasts {
    direction: rtl;
}

.pod-card {
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* هدر = دو ردیف: بالا (دسته+متا) / پایین (عنوان+پخش) */
.pod-headline {
    padding: 14px 14px 0 14px;
}

.pod-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.pod-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

/* دسته */
.pod-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    background: #f2f6ff;
    color: #204ce5;
    border: 1px solid #e1e9ff;
    text-decoration: none;
}

/* متا */
.pod-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 12.5px;
}

.pod-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pod-meta i {
    font-size: 13px;
}

/* عنوان */
.pod-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #112337;
}

.pod-title a {
    color: inherit;
    text-decoration: none;
}

.pod-title a:hover {
    color: #204ce5;
}

/* دکمه پخش – هم‌تراز با عنوان چون در .pod-title-row است */
.pod-play {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    border: none;
    background: #204ce5;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(32, 76, 229, .22);
    transition: transform .1s ease, filter .2s ease;
}

.pod-play i {
    font-size: 18px;
}

.pod-play:hover {
    filter: brightness(.95);
}

.pod-play:active {
    transform: translateY(1px);
}

.pod-play.is-playing i::before {
    content: "\f04c";
}

/* fa-pause */

.pod-desc {
    padding: 0 14px;
    margin: 0;
    font-size: 14px;
    color: #384152;
    line-height: 1.8;
}

/* Track + time */
.pod-track-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px 4px;
}

.pod-time {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.pod-track {
    position: relative;
    flex: 1;
    height: 6px;
    cursor: pointer;
    background: #eff3ff;
    border-radius: 999px;
    overflow: hidden;
}

.pod-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    height: 100%;
    background: #204ce5;
}

html[dir="rtl"] .pod-progress-bar {
    right: 0;
    left: auto;
}

.pod-foot {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 0 14px 14px;
}

.pod-foot .co-btn {
    flex: 1;
}

.ocb-outline {
    background: #f2f6ff;
    color: #204ce5;
    border: 1px solid #e1e9ff;
}

.ocb-outline:hover {
    filter: brightness(.97);
}

@media (max-width: 576px) {
    .pod-play {
        width: 48px;
        height: 48px;
    }

    .pod-title {
        font-size: 15px;
    }
}

a.co-primary:hover,
a.co-primary:focus {
    color: #fff;
}

/* ===== Single Podcast (scoped) ===== */
.pod-single2 {
    direction: rtl;
}

.pod-single2 .ps2-card {
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
    padding: 18px;
}

.ps2-cover {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}


@media (max-width: 576px) {
    .ps2-cover {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }
}

.pod-single2 .ps2-cover {
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;
}

@media (max-width: 576px) {
    .pod-single2 .ps2-cover {
        padding: 10px;

    }
}

.pod-single2 .ps2-cover img {
    display: block;
    width: 100%;
    height: auto
}

.pod-single2 .ps2-body {
    min-width: 0
}

.pod-single2 .ps2-meta-top {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #6b7280;
    font-size: 13px
}

.pod-single2 .ps2-meta-top li {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.pod-single2 .ps2-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    color: #112337
}


/* Player pill */
.pod-single2 .ps2-player {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(17, 35, 55, .06)
}

/* دکمه (بدون color) */
.pod-single2 .ps2-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f7ff;
    cursor: pointer;
    transition: background .2s ease;
}

/* رنگ پیش‌فرض آیکن */
.pod-single2 .ps2-btn i,
.pod-single2 .ps2-btn .fa,
.pod-single2 .ps2-btn svg {
    color: #112337;
    fill: currentColor;
    /* برای SVG */
    transition: color .2s ease, fill .2s ease;
}

/* هاور: فقط آیکن سفید شود */
.pod-single2 .ps2-btn:hover {
    background: #204ce5;
}

.pod-single2 .ps2-btn:hover i,
.pod-single2 .ps2-btn:hover .fa,
.pod-single2 .ps2-btn:hover svg {
    color: #fff;
    /* فقط روی هاور سفید */
}

/* اگر دکمه پلی حالت در حال پخش دارد */
.pod-single2 .ps2-btn.ps2-play.is-playing {
    background: #204ce5;
}

.pod-single2 .ps2-btn.ps2-play.is-playing i {
    color: #fff;
}

.pod-single2 .ps2-play {
    background: #204ce5;
    color: #fff;
    box-shadow: 0 8px 18px rgba(32, 76, 229, .22)
}

.pod-single2 .ps2-play.is-playing i:before {
    content: "\f04c"
}

/* fa-pause */
.pod-single2 .ps2-track {
    position: relative;
    flex: 1 1 320px;
    height: 8px;
    background: #eff3ff;
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
}

.pod-single2 .ps2-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: #21c17a;
    /* سبز ملایم */
}

html[dir="rtl"] .pod-single2 .ps2-bar {
    right: 0;
    left: auto
}

.pod-single2 .ps2-time {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap
}

.pod-single2 .ps2-dl {
    text-decoration: none
}

/* لینک آیکونی */
.pod-single2 .ps2-excerpt {
    margin: 14px 0 0;
    color: #384152;
    line-height: 1.9;
    font-size: 14px
}

/* تمرکز و هاور */
.pod-single2 .ps2-btn:hover {
    filter: brightness(.97)
}

.pod-single2 .ps2-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2)
}

.pod-single2 .ps2-track:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 76, 229, .12);
    border-radius: 999px
}

/* موبایل: فشرده‌تر */
@media (max-width: 768px) {
    .pod-single2 .ps2-player {
        gap: 10px
    }

    .pod-single2 .ps2-track {
        flex-basis: 200px
    }
}


/* پلیر */
.pod-single2 .ps2-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(17, 35, 55, .06);
    flex-wrap: wrap;
    width: 100%;
    /* پر کنه کل ستون متن */
}

/* دکمه‌ها */
.ps2-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #204ce5;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}

.ps2-btn:hover {
    background: #1639b9;
}

.ps2-btn i {
    font-size: 16px;
}

/* نوار پیشرفت */
.ps2-track {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: #eff3ff;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.ps2-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    height: 100%;
    background: #204ce5;
}

/* زمان */
.ps2-time {
    font-size: 13px;
    color: #6b7280;
    min-width: 80px;
    text-align: center;
}

/* کاور */
.ps2-cover img {
    width: 100%;
    max-width: 220px;
    border-radius: 12px;
}

/* ===== Single Podcast (Flex layout – mobile first) ===== */
.pod-single2 .ps2-card {
    padding: 16px;
}


.pod-single2 .ps2-cover {
    align-self: center;
}

.pod-single2 .ps2-cover img {
    width: 100%;
    height: auto;
    max-width: 320px;
    border-radius: 12px;
}


@media (min-width: 1200px) {
    .pod-single2 .ps2-cover {
        flex-basis: 360px;
    }

    .pod-single2 .ps2-cover img {
        max-width: 330px;
        margin-left: 25px;
    }
}

/* پلیر (pill) */
.pod-single2 .ps2-player {
    direction: rtl;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* اجازه‌ی رفتن به ردیف بعد */
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(17, 35, 55, .06);
}

@media (max-width: 768px) {
    .pod-single2 .ps2-player {
        direction: rtl;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
        padding: 10px 14px;
        background: #fff;
        border: 1px solid #e6ecf5;
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(17, 35, 55, .06);
    }
}

/* دکمه‌ها – آیکن فقط در هاور سفید شود */
.pod-single2 .ps2-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f7ff;
    color: #112337;
    /* رنگ آیکن در حالت عادی */
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.pod-single2 .ps2-btn:hover {
    background: #204ce5;
    color: #fff;
}

/* فقط روی هاور سفید */
.pod-single2 .ps2-play {
    background: #204ce5;
    color: #fff;
    box-shadow: 0 8px 18px rgba(32, 76, 229, .22);
}

.pod-single2 .ps2-play.is-playing i:before {
    content: "\f04c";
}

/* fa-pause */

/* نوار پیشرفت و زمان */
.pod-single2 .ps2-time {
    order: 2;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    flex: 0 0 auto;
}

.pod-single2 .ps2-track {
    order: 3;
    position: relative;
    flex: 1 1 360px;
    /* min-width: 140px; */
    height: 8px;
    background: #eff3ff;
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
}

.pod-single2 .ps2-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: #21c17a;
}

html[dir="rtl"] .pod-single2 .ps2-bar {
    right: 0;
    left: auto;
}

/* چیدمان دکمه‌های چپ */
.pod-single2 .ps2-mute {
    order: 4;
    margin-inline-start: auto;
}

/* می‌فرسته سمت چپ */
.pod-single2 .ps2-dl {
    order: 5;
    display: inline-flex;
    text-decoration: none;
}

/* موبایل: دو ردیف تمیز */
@media (max-width: 576px) {
    .pod-single2 .ps2-player {
        gap: 10px;
    }

    .pod-single2 .ps2-play {
        order: 1;
    }

    .pod-single2 .ps2-time {
        order: 2;
    }

    .pod-single2 .ps2-track {
        order: 3;
        flex-basis: 100%;
    }

    /* نوار یک‌خط کامل */
    .pod-single2 .ps2-mute {
        order: 4;
        margin-inline-start: 0;
        margin-right: auto;
    }

    .pod-single2 .ps2-dl {
        order: 5;
    }

    .pod-single2 .ps2-btn {
        width: 38px;
        height: 38px;
    }
}

/* ===== Global fix: Tags widget box (site-wide) ===== */
.tags_widget_box,
.sidebar .tags_widget_box,
.widget_tags,
.blog_tag_widget {
    border: 1px solid #e6ecf5 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box;
}

/* عنوان و لیست داخل باکس برچسب‌ها */
.tags_widget_title {
    font-size: 16px;
    font-weight: 600;
    color: #112337;
    margin: 0 0 12px !important;
}

.tags_widget_list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags_widget_list li {
    display: inline-block;
}

.tags_widget_list a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    background: #f5f7fb;
    border: 1px solid #d8deea;
    color: #112337;
    text-decoration: none;
    transition: .2s;
}

.tags_widget_list a:hover {
    background: #204ce5;
    color: #fff;
    border-color: #204ce5;
}

/* موبایل (برای اطمینان از دیده شدن کادر) */
@media (max-width: 576px) {
    .tags_widget_box {
        padding: 12px !important;
        border-width: 1px !important;
    }
}

/* cat + rating side-by-side */
.pod-top,
.pod-top + .cs_review_seller {
    display: inline-flex;
    gap: 10px;
    vertical-align: middle;
    flex-direction: row;
    align-items: baseline;
}

/* خود بلوک امتیاز */
.pod-top + .cs_review_seller {
    margin: 0 8px 0 0;
    /* فاصله‌ی کوچک از چیپ دسته */
    padding: 0;
    list-style: none;
}

/* ستاره‌ها و متن امتیاز */
.pod-top + .cs_review_seller .rating-stars {
    display: inline-flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.pod-top + .cs_review_seller .list-inline-item {
    margin: 0;
}

.pod-top + .cs_review_seller a {
    font-size: 12.5px;
    color: #6b7280;
    text-decoration: none;
}

/* اگر جایی این کلاس باعث می‌شد به چپ هل داده شود، خنثی‌اش کن */
.pod-top + .cs_review_seller .rating-box {
    margin-right: 0 !important;
}

/* موبایل: اجازه بده عناصر راحت به خط بعد بروند */
@media (max-width: 576px) {

    .pod-top,
    .pod-top + .cs_review_seller {
        gap: 8px;
    }
}

/* ریست هر مارجین پیش‌فرض روی آیکن‌های قالب داخل این ردیف */
.cs_review_enroll [class^="flaticon-"],
.cs_review_enroll [class*=" flaticon-"] {
    margin: 0 !important;
    line-height: 1;
}

/* فاصله استاندارد بین آیکن و متن، مستقل از نوع آیکن */
.cs_review_enroll a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /* فاصله ثابت بین آیکن و متن */
}

/* اگر gap نمی‌خوای/یا پشتیبانی مرورگر مهمه، اینو بذار: */
.cs_review_enroll a > [class^="flaticon-"],
.cs_review_enroll a > i {
    display: inline-block;
    margin-left: 4px;
    /* RTL: فاصله‌ی سمت چپ آیکن */
}

.cs_row_one .cs_review_enroll li a {
    font-size: 13px;
}

/* ==== Latest Podcasts (sidebar) ==== */
.latest_podcasts_box {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
}

.latest_podcasts_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #112337;
}

.latest_podcasts_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    /* خطوط جداکننده کار می‌کند */
}

.latest_podcasts_list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.latest_podcasts_list li:last-child {
    border-bottom: none;
}

.latest_podcasts_list a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    /* اجازه ellipsis */
    text-decoration: none;
    color: #112337;
    transition: color .2s ease;
}

.latest_podcasts_list a:hover {
    color: #204ce5;
}

.latest_podcasts_list img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e6ecf5;
    background: #f5f7fb;
}

.lp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lp-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-meta {
    font-size: 12px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-meta i {
    font-size: 12px;
    color: #204ce5;
}

/* موبایل کمی فشرده‌تر */
@media (max-width: 576px) {
    .latest_podcasts_list img {
        width: 46px;
        height: 46px;
    }

    .lp-title {
        font-size: 13px;
    }
}

.pod-mini-box {
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
}

.pod-mini-title {
    font-size: 16px;
    font-weight: 700;
    color: #112337;
    margin-bottom: 8px;
}

.pod-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pod-mini-list > li {
    border-bottom: 1px solid #f0f2f7;
    padding: 3px;
}

.pod-mini-list > li:last-child {
    border-bottom: none;
}

/* آیتم کاملاً لینک */
.pdl-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    /* کاور | متن | فلش */
    gap: 10px;
    align-items: center;
    padding: 10px 2px;
    border-radius: 10px;
    text-decoration: none;
    background: transparent;
    transition: background .2s ease, box-shadow .2s ease, transform .06s ease;
}


/* کاور */
.pdl-cover {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6ecf5;
    background: #f5f7fb;
    box-shadow: 0 3px 10px rgba(17, 35, 55, .06);
}

.pdl-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* متن */
.pdl-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}


/* متا */
.pdl-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdl-chip {
    font-size: 11.5px;
    font-weight: 700;
    color: #204ce5;
    background: #f2f6ff;
    border: 1px solid #e1e9ff;
    border-radius: 999px;
    padding: 3px 8px;
}

.pdl-time {
    font-size: 12px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* فلش */
.pdl-arrow {
    color: #9aa3af;
}


/* موبایل */
@media (max-width: 576px) {
    .pdl-item {
        grid-template-columns: 48px 1fr auto;
        gap: 8px;
    }

    .pdl-cover {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .pdl-title {
        font-size: 13px;
    }

}

.pdl-body:hover {
    color: #204ce5;
}

/*.maximage-no-hero{*/
/*    background-color: #ebeef4;*/
/*}*/

/*.menu_style_home_four {*/
/*    background: #f9fafc;*/
/*}*/

.login__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.login__input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.login__button {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #007bff, #0056d2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login__button:hover {
    background: linear-gradient(135deg, #0056d2, #0041a8);
    transform: translateY(-2px);
}

.login__button:active {
    transform: translateY(0);
    opacity: 0.9;
}

#alvand-auth-root {
    padding: 20px;
    text-align: right;
    direction: rtl;
}

#alvand-auth-root .underline {
    float: left;
    background: #e8f0fe;
    border: unset;
    color: #0063e2;
    padding: 2px 15px;
    border-radius: 10px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

.cs-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d8deea;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    color: #333;
}

.cs-btn {
    background: #204ce5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
}

/* ===== Pod Top ===== */
.pod-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

/* category badge */
.pod-cat {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.pod-cat:hover {
    background: rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
}

/* rating + comments */
.cs_review_seller {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 12.5px;
    color: #588cff;
}

.cs_review_seller li {
    display: inline-flex;
    align-items: center;
    gap: 4px;

}

.rating-box svg,
.rating-box i {
    font-size: 14px;
}

/* ===== Meta info row ===== */
.cs_review_enroll {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 13px;
    color: #6b7280;
}

.cs_review_enroll li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* icons */
.cs_review_enroll span[class^="flaticon"],
.cs_review_enroll .icon-clock {
    font-size: 14px;
    color: #9ca3af;
}

/* links */
.cs_review_enroll a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cs_review_enroll a:hover {
    color: #2563eb;
}

/* favorite state */
.js-favorite-toggle.is-favorited {
    color: #ef4444;
}

.js-favorite-toggle.is-favorited span[class^="flaticon"] {
    color: #ef4444;
}

/* mobile tweaks */
@media (max-width: 640px) {
    .pod-top {
        display: flex;
        justify-content: flex-start;
        align-content: center;
    }

    .hide-text-mobile .item-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-nav {
        position: absolute !important;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1000;
    }

    /* این selector را با wrapper واقعی سکشن اولت جایگزین کن */
    .page-content > :first-child,
    .inner_page_breadcrumb,
    .maximage-no-hero {
        padding-top: 82px !important; /* برابر ارتفاع واقعی هدر موبایل */
    }
}

.bt-breadcrumb {
    font-size: 30px;
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .bt-breadcrumb {
        font-size: 22px;

    }
}

.consult-scope {
    overflow: hidden;
}

.consult-scope * {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.consult-scope img,
.consult-scope video,
.consult-scope iframe {
    max-width: 100%;
    height: auto;
}

.consult-scope table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

@media (max-width: 991.98px) {
    #menu .mobile-nav-root,
    #menu .mobile-nav-root ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #menu .mobile-nav-root > li {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    #menu a {
        display: block;
        padding: 12px 14px;
        text-decoration: none;
    }

    #menu .submenu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    #menu .submenu-head > a {
        flex: 1;
        padding-left: 8px;
    }

    #menu .submenu-toggle {
        border: 0;
        background: transparent;
        width: 36px;
        height: 36px;
        cursor: pointer;
        line-height: 1;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #menu .submenu-toggle .chev {
        display: inline-block;
        transition: transform .2s ease;
        font-size: 16px;
    }

    #menu li.has-submenu.open > .submenu-head .chev {
        transform: rotate(180deg);
    }

    #menu .submenu-list {
        display: none;
        padding-right: 10px; /* RTL indent */
    }

    #menu li.has-submenu.open > .submenu-list {
        display: block;
    }

    #menu .submenu-list li a {
        padding: 10px 14px;
        opacity: .95;
    }
}

/* ===== FIX: Blog sidebar sticky issue on mobile ===== */
/* desktop only sticky */
@media (min-width: 992px) {
    .blog_post_container .col-lg-4.col-xl-3.col-4-p0,
    .blog_post_container aside.col-lg-4.col-xl-3.col-4-p0 {
        position: sticky !important;
        top: 20px !important;
        align-self: flex-start !important;
        height: fit-content !important;
        z-index: 2 !important;
    }
}

/* mobile/tablet: disable sticky completely */
@media (max-width: 991.98px) {
    .blog_post_container .col-lg-4.col-xl-3.col-4-p0,
    .blog_post_container aside.col-lg-4.col-xl-3.col-4-p0 {
        position: static !important;
        top: auto !important;
        align-self: auto !important;
        height: auto !important;
        z-index: auto !important;
    }

    /* ensure normal flow layering */
    .blog_post_container .latest_articles_box,
    .blog_post_container .main_blog_post_content,
    .blog_post_container .alv-blog-card {
        position: relative;
        z-index: 1;
    }
}

/*@media only screen and (max-width: 520px) {*/
/*    .our-courses.pt90, section {*/
/*        padding: 30px 10px !important;*/
/*    }*/
/*}*/
.ui_kit_checkbox {
    line-height: 35px;
}

#accordion a {
    font-size: 15px;
}

.category-description-box {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
}

.category-description-box h2 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.9;
}

.category-description-content {
    line-height: 2.1;
    color: #4b5563;
}

.category-description-content p:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .p-mob0 {
        padding: 0px !important;
    }
}

/* =========================
   Desktop
========================= */

#course-single .cs-overview p,
#course-single .cs-overview span {
    font-size: 17px;
    line-height: 35px;
}

#course-single .cs-overview h2 {
    font-size: 30px;
    font-weight: 600;
    color: var(--cs-dark);
}

#course-single .cs-overview h3 {
    margin-bottom: .5rem;
    margin-top: 1rem;
    font-size: 26px;
    font-weight: 700;
    color: var(--cs-dark);
}

#course-single .cs-overview h4 {
    font-size: 23px;
    font-weight: 600;
    color: var(--cs-dark);
}

#course-single .cs-overview h5 {
    font-size: 21px;
    font-weight: 500;
    color: var(--cs-dark);
}


/* =========================
   Mobile (≤ 768px)
========================= */

@media (max-width: 768px) {

    #course-single .cs-overview p,
    #course-single .cs-overview span {
        font-size: 15px;
        line-height: 30px;
    }

    #course-single .cs-overview h2 {
        font-size: 24px;
    }

    #course-single .cs-overview h3 {
        font-size: 21px;
        margin-top: .8rem;
        margin-bottom: .4rem;
    }

    #course-single .cs-overview h4 {
        font-size: 19px;
    }

    #course-single .cs-overview h5 {
        font-size: 17px;
    }

}

/* سلول تعداد */
.ci-cell[data-label="تعداد"] {
    white-space: nowrap;
}

/* کنترل تعداد */
.ci-qty {
    --h: 36px;
    --radius: 10px;
    --line: #e5e7eb;
    --text: #111827;
    --muted: #6b7280;
    --bg: #ffffff;
    --hover: #f9fafb;

    display: inline-flex;
    align-items: center;
    height: var(--h);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    overflow: hidden;
}

/* دکمه‌ها */
.ci-qty .qty-btn {
    width: 34px;
    height: var(--h);
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.ci-qty .qty-btn:hover {
    background: var(--hover);
    color: var(--text);
}

.ci-qty .qty-btn:active {
    transform: translateY(1px);
}

/* ورودی عدد */
.ci-qty .qty-input {
    width: 52px;
    height: calc(var(--h) - 2px);
    border: 0;
    border-inline: 1px solid var(--line);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    outline: none;
    padding: 0 6px;
    appearance: textfield;
    -moz-appearance: textfield;
}

/* حذف فلش پیش‌فرض input number در کروم */
.ci-qty .qty-input::-webkit-outer-spin-button,
.ci-qty .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* فوکوس قابل دید */
.ci-qty:focus-within {
    border-color: #d1d5db;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .06);
}

/* حالت غیرفعال */
.ci-qty .qty-btn:disabled,
.ci-qty .qty-input:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.btdelete {
    padding: 5px 10px !important;
    /* display: flex; */
    background: #fef2f2;
    border: 1px solid #ffbdd0;
    border-radius: 8px;
}

.table thead th {
    border-bottom: 2px solid #ffffff;
    font-size: 13px;
}

/* موبایل: دکمه حذف بالا-راست کارت */
@media (max-width: 768px) {
    .shop-checkouts tbody tr.cart_item {
        position: relative;
        padding: 44px 15px 15px 15px;
    }

    /* سلول حذف رو از flow عادی خارج کن */
    .shop-checkouts tbody tr.cart_item > td.text-center {
        position: absolute !important;
        top: 10px;
        right: 10px; /* بالا-راست */
        left: auto !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 3;
        display: block !important;
        background: transparent !important;
        border: 0 !important;
    }

    /* لیبل ::before برای سلول حذف نمایش داده نشه */
    .shop-checkouts tbody tr.cart_item > td.text-center::before {
        content: none !important;
        display: none !important;
    }

    /* خود دکمه حذف */
    .shop-checkouts .btdelete,
    .shop-checkouts .js-cart-remove {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fef2f2;
        border: 1px solid #ffbdd0;
        color: #ff1053;
        padding: 0 !important;
        line-height: 1;
    }
}

.dflex-center {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .mr-50 {
        margin: 0px 50px 0px 0px !important;
    }
}

.bt-c-r {
    background: #E91E63 !important;
    color: #ffffff !important;
}

.bt-c-b {
    background: #5a7fff !important;
    color: #ffffff !important;
}

.form-control {
    height: 44px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    padding: 0 12px;
    direction: rtl;
}

/* Coupon row: always keep input + button in one row (mobile included) */
.js-checkout-coupon-form .input-group {
    display: flex;
    flex-wrap: nowrap !important;
    width: 100%;
}

.js-checkout-coupon-form .input-group .form-control {
    min-width: 0; /* خیلی مهم برای جلوگیری از شکستن در flex */
    flex: 1 1 auto;
}

.js-checkout-coupon-form .input-group .input-group-append {
    display: flex;
    flex: 0 0 auto;
}

.js-checkout-coupon-form .input-group .btn {
    white-space: nowrap; /* متن دکمه دو خط نشود */
}

/* فقط برای موبایل: کمی جمع‌وجورتر */
@media (max-width: 576px) {
    .js-checkout-coupon-form .input-group .form-control {
        font-size: 14px;
        padding: .375rem .5rem;
    }

    .js-checkout-coupon-form .input-group .btn {
        font-size: 14px;
        padding: .375rem .65rem;
    }
}

@media (max-width: 576px) {
    .js-checkout-coupon-form .input-group {
        flex-direction: row !important;
    }
}

.br10 {
    border-radius: 10px !important;
}

.bg-blue50 {
    background: #f0f9ff;
}

/* RTL fix for dismiss icon in checkout alerts */
.checkout_flash_messages .alert.alert-dismissible {
    position: relative;
    padding-right: 2.75rem;
    padding-left: 1rem;
    text-align: right;
    border-radius: 10px;

}

.checkout_flash_messages .alert .close {
    position: absolute;
    top: 50%;
    right: .75rem;
    left: auto;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    float: none;
    line-height: 1;
    z-index: 2;
}

.alert-danger {
    border-radius: 10px;
}

/* ===== FORCE RTL + MOBILE FIX (OVERRIDE SAFE) ===== */
.col-xl-8 .application_statics {
    direction: rtl !important;
    text-align: right !important;
    background: #fff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 14px !important;
    padding: 18px !important;
    box-shadow: 0 8px 24px rgba(16, 42, 67, .06) !important;
}

/* هد کارت */
.col-xl-8 .application_statics .app-card__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    text-align: right !important;
}

.col-xl-8 .application_statics .app-card__title {
    margin: 0 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: #102a43 !important;
    line-height: 1.9 !important;
    text-align: right !important;
}

.col-xl-8 .application_statics .app-card__badge {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-size: .76rem !important;
    font-weight: 700 !important;
    color: #2f6bff !important;
    background: #edf3ff !important;
    border: 1px solid #dbe7ff !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
}

/* لیست لینک‌ها */
.col-xl-8 .application_statics .quick-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.col-xl-8 .application_statics .quick-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.col-xl-8 .application_statics .quick-links a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    text-decoration: none !important;
    color: #1f3552 !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    border: 1px solid #ebf0f7 !important;
    background: #fbfdff !important;
    border-radius: 12px !important;
    padding: 10px 14px 10px 36px !important; /* RTL: right text + left breathing */
}


/* آمار */
.col-xl-8 .application_statics .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.col-xl-8 .application_statics .stat-item {
    border: 1px solid #ebf0f6 !important;
    background: #fbfdff !important;
    border-radius: 12px !important;
    padding: 12px !important;
    text-align: right !important;
}

.col-xl-8 .application_statics .stat-item__label {
    display: block !important;
    color: #526581 !important;
    font-size: .9rem !important;
    line-height: 1.8 !important;
}

.col-xl-8 .application_statics .stat-item__value {
    display: block !important;
    margin-top: 4px !important;
    color: #123d7a !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    text-align: right !important;
    direction: ltr !important; /* برای نمایش عدد */
    unicode-bidi: plaintext !important;
}

/* موبایل */
@media (max-width: 767.98px) {
    .col-xl-8 .application_statics {
        padding: 14px !important;
        border-radius: 12px !important;
    }

    .col-xl-8 .application_statics .app-card__head {
        margin-bottom: 10px !important;
    }

    .col-xl-8 .application_statics .app-card__title {
        font-size: .95rem !important;
    }

    .col-xl-8 .application_statics .app-card__badge {
        font-size: .72rem !important;
        padding: 3px 8px !important;
    }

    .col-xl-8 .application_statics .quick-links {
        gap: 8px !important;
    }

    .col-xl-8 .application_statics .quick-links a {
        font-size: .92rem !important;
        border-radius: 10px !important;
        padding: 9px 12px 9px 34px !important;
    }

    .col-xl-8 .application_statics .quick-links a::before {
        right: 10px !important;
    }

    .col-xl-8 .application_statics .stats-grid {
        grid-template-columns: 1fr !important; /* تک‌ستونه موبایل */
        gap: 8px !important;
    }

    .col-xl-8 .application_statics .stat-item {
        border-radius: 10px !important;
        padding: 10px !important;
    }
}

/* ===== Quick Links / Reminders - precise RTL + mobile spacing ===== */

/* کارت‌ها */
.col-xl-8 .application_statics {
    direction: rtl;
    text-align: right;
}

/* فاصله ردیف quick links در دسکتاپ */
.col-xl-8 .application_statics .row.g-3 {
    --bs-gutter-x: 1rem; /* فاصله افقی ستون‌ها */
    --bs-gutter-y: 1rem; /* فاصله عمودی ردیف‌ها */
}

/* خود لیست */
.col-xl-8 .application_statics .quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* آیتم لینک */
.col-xl-8 .application_statics .quick-links li {
    margin: 0;
}

.col-xl-8 .application_statics .quick-links a {
    position: relative;
    display: block;
    width: 100%;
    text-align: right;
    text-decoration: none;
    color: #1f3552;
    font-weight: 600;
    line-height: 1.9;
    border: 1px solid #ebf0f7;
    background: #fbfdff;
    border-radius: 12px;

    /* چون فلش باید چپ باشد */
    padding: 10px 14px 10px 36px;
    transition: all .2s ease;
}

/* فلش سمت چپ و اشاره به چپ */
.col-xl-8 .application_statics .quick-links a::after {
    content: "←";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-52%);
    color: #7f90aa;
    font-size: 1rem;
    line-height: 1;
}

/* hover ظریف */
.col-xl-8 .application_statics .quick-links a:hover {
    border-color: #dbe7ff;
    background: #f4f8ff;
    color: #123d7a;
}

/* ===== Stats grid ===== */
.col-xl-8 .application_statics .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* ===== Mobile ===== */
@media (max-width: 767.98px) {

    /* مهم: فاصله بین دو col-md-6 در موبایل تا به هم نچسبند */
    .col-xl-8 .application_statics .row.g-3 {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .9rem;
        margin-right: 0;
        margin-left: 0;
    }

    .col-xl-8 .application_statics .row.g-3 > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    /* اگر quick-links دو ستون زیر هم می‌افتد، این فاصله تضمین می‌کند نچسبند */
    .col-xl-8 .application_statics .row.g-3 > .col-md-6 + .col-md-6 {
        margin-top: 10px;
    }

    .col-xl-8 .application_statics .quick-links {
        gap: 8px;
    }

    .col-xl-8 .application_statics .quick-links a {
        font-size: .92rem;
        border-radius: 10px;
        padding: 9px 12px 9px 34px; /* جا برای فلش چپ */
    }

    .col-xl-8 .application_statics .quick-links a::after {
        left: 10px;
    }

    /* آمار در موبایل تک‌ستونه */
    .col-xl-8 .application_statics .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ===== Recent Orders Card ===== */
.col-xl-4 .recent_job_activity {
    direction: rtl;
    text-align: right;
    background: #fff;
    border: 1px solid #e9eef6;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.05);
}

/* تیتر کارت */
.col-xl-4 .recent_job_activity > .title {
    margin: 0 0 14px;
    font-size: 1.02rem;
    font-weight: 800;
    color: #132a46;
    line-height: 1.8;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5ecf6;
}

/* هر ردیف سفارش */
.col-xl-4 .recent_job_activity .grid {
    background: #f9fbff;
    border: 1px solid #eaf0fa;
    border-radius: 12px;
    padding: 10px 12px;
    transition: all .2s ease;
}

.col-xl-4 .recent_job_activity .grid + .grid {
    margin-top: 10px;
}

.col-xl-4 .recent_job_activity .grid:hover {
    background: #f3f8ff;
    border-color: #dbe7fb;
}

/* حذف استایل پیش‌فرض ul */
.col-xl-4 .recent_job_activity .grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* عنوان سفارش */
.col-xl-4 .recent_job_activity .grid .title {
    margin: 0;
    color: #16355c;
    font-weight: 750;
    font-size: .95rem;
    line-height: 1.9;
}

/* وضعیت + تاریخ */
.col-xl-4 .recent_job_activity .grid p {
    margin: 2px 0 0;
    color: #5f7390;
    font-size: .86rem;
    line-height: 1.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* نقطه وضعیت (دایره کوچک) */
.col-xl-4 .recent_job_activity .grid p::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #93a8c7;
    flex: 0 0 7px;
}

/* حالت بدون سفارش */
.col-xl-4 .recent_job_activity .grid.mb0 {
    background: #fffdf7;
    border-color: #f4e7ba;
}

.col-xl-4 .recent_job_activity .grid.mb0 .title {
    color: #7a6420;
    font-weight: 700;
}

/* اگر کلاس‌های قدیمی وجود دارند، خنثی شوند */
.col-xl-4 .recent_job_activity .bb_none {
    border-bottom: 0 !important;
}

.col-xl-4 .recent_job_activity .pb0 {
    padding-bottom: 0 !important;
}

/* ===== Mobile ===== */
@media (max-width: 1199.98px) {
    .col-xl-4 .recent_job_activity {
        margin-top: 14px; /* چون کنار col-xl-8 بوده، در موبایل زیرش میاد */
    }
}

@media (max-width: 767.98px) {
    .col-xl-4 .recent_job_activity {
        border-radius: 14px;
        padding: 12px;
    }

    .col-xl-4 .recent_job_activity > .title {
        font-size: .96rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .col-xl-4 .recent_job_activity .grid {
        border-radius: 10px;
        padding: 9px 10px;
    }

    .col-xl-4 .recent_job_activity .grid .title {
        font-size: .9rem;
        line-height: 1.8;
    }

    .col-xl-4 .recent_job_activity .grid p {
        font-size: .81rem;
        line-height: 1.8;
    }
}

.recent_job_activity .grid ul {
    border-bottom: unset;
}

.our-dashbord {
    background-color: unset;
}

.breadcrumb_widgets {
    border-radius: 10px;
    background-color: rgb(36 65 231);
}

.breadcrumb_widgets .title {
    color: rgb(255 255 255) !important;
}

/* =========================
   Mobile/Tablet Nav Only
   ========================= */
@media (max-width: 1199.98px) {

    /* ظرف اصلی */
    .dashboard_mobile_nav {
        display: block;
        margin: 0 0 14px;
        direction: rtl;
    }

    /* اسکرول افقی نرم */
    .dashboard_mobile_nav__scroller {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 8px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: thin;
    }

    /* اسکرول‌بار وبکیت */
    .dashboard_mobile_nav__scroller::-webkit-scrollbar {
        height: 6px;
    }

    .dashboard_mobile_nav__scroller::-webkit-scrollbar-thumb {
        background: #d7e3f7;
        border-radius: 99px;
    }

    .dashboard_mobile_nav__scroller::-webkit-scrollbar-track {
        background: transparent;
    }

    /* آیتم‌ها */
    .dashboard_mobile_nav__item {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 38px;
        padding: 7px 12px;
        border: 1px solid #e3eaf5;
        border-radius: 999px;
        background: #fff;
        color: #112337;
        text-decoration: none;
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
        transition: all .2s ease;
    }

    .dashboard_mobile_nav__item span[class*="flaticon"] {
        font-size: 14px;
        line-height: 1;
    }

    .dashboard_mobile_nav__item:active,
    .dashboard_mobile_nav__item:focus {
        color: #0d6efd;
        border-color: #cfe0ff;
        background: #f5f9ff;
        text-decoration: none;
        outline: none;
    }

    .dashboard_mobile_nav__item.active {
        color: #fff;
        background: #0d6efd;
        border-color: #0d6efd;
    }

    /* از چسبیدن به کارت بعدی در موبایل جلوگیری کن */
    .dashboard_mobile_nav + .breadcrumb_widgets {
        margin-top: 8px;
    }

    /* دسکتاپ ناوبری در موبایل مخفی بماند */
    .dashboard_desktop_nav {
        display: none !important;
    }
}

/* پیش‌فرض امن: اول موبایل رو مخفی کن */
.dashboard_mobile_nav {
    display: none !important;
}

/* پیش‌فرض امن: دسکتاپ منو نمایش داشته باشه */
.dashboard_desktop_nav {
    display: block !important;
}

/* فقط زیر 1200px (موبایل/تبلت): موبایل نمایش، دسکتاپ مخفی */
@media (max-width: 1199.98px) {
    .dashboard_mobile_nav {
        display: block !important;
        margin: 0 0 14px;
        direction: rtl;
    }

    .dashboard_desktop_nav {
        display: none !important;
    }

    .dashboard_mobile_nav__scroller {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 8px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: thin;
    }

    .dashboard_mobile_nav__scroller::-webkit-scrollbar {
        height: 6px;
    }

    .dashboard_mobile_nav__scroller::-webkit-scrollbar-thumb {
        background: #d7e3f7;
        border-radius: 99px;
    }

    .dashboard_mobile_nav__scroller::-webkit-scrollbar-track {
        background: transparent;
    }

    .dashboard_mobile_nav__item {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 38px;
        padding: 7px 12px;
        border: 1px solid #e3eaf5;
        border-radius: 999px;
        background: #fff;
        color: #112337;
        text-decoration: none;
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
    }

    .dashboard_mobile_nav__item span[class*="flaticon"] {
        font-size: 14px;
        line-height: 1;
    }

    .dashboard_mobile_nav__item.active {
        color: #fff;
        background: #0d6efd;
        border-color: #0d6efd;
    }
}

/* فقط از 1200px به بالا (دسکتاپ): دوباره تأکید */
@media (min-width: 1200px) {
    .dashboard_mobile_nav {
        display: none !important;
    }

    .dashboard_desktop_nav {
        display: block !important;
    }
}

/* حالت پایه */
.dashboard_mobile_nav {
    display: none !important;
}

.dashboard_desktop_nav {
    display: block !important;
}

/* زیر 1200: موبایل/تبلت */
@media (max-width: 1199.98px) {
    .dashboard_mobile_nav {
        display: block !important;
    }

    .dashboard_desktop_nav {
        display: none !important;
    }
}

/* از 1200 به بالا: دسکتاپ */
@media (min-width: 1200px) {
    .dashboard_mobile_nav {
        display: none !important;
    }

    .dashboard_desktop_nav {
        display: block !important;
    }
}

/* ==============================
   Dashboard Mobile Menu (RTL)
   بدون تغییر HTML
================================= */

/* فقط موبایل/تبلت */
@media (max-width: 1199px) {
    .dashboard_navigationbar {
        position: relative;
        z-index: 40;
        margin-bottom: 14px;
    }

    .dashboard_navigationbar .dropdown {
        position: relative;
    }

    /* دکمه باز کردن منو */
    .dashboard_navigationbar .dropbtn {
        width: 100%;
        height: 46px;
        border: 1px solid #d8deea;
        border-radius: 12px;
        background: #fff;
        color: #112337;
        font-size: 14px;
        font-weight: 700;
        text-align: right;
        padding: 0 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(17, 35, 55, .06);
        transition: border-color .2s, box-shadow .2s, background .2s;
    }

    .dashboard_navigationbar .dropbtn:hover {
        border-color: #c8d2e6;
        background: #fbfcff;
    }

    .dashboard_navigationbar .dropbtn:focus {
        outline: none;
        border-color: #204ce5;
        box-shadow: 0 0 0 3px rgba(32, 76, 229, .14);
    }

    .dashboard_navigationbar .dropbtn i {
        font-size: 16px;
        color: #204ce5;
        margin-left: 8px; /* چون RTL */
        padding-left: 0 !important; /* اگر pl10 از قبل گذاشتی */
    }

    /* پنل منو */
    .dashboard_navigationbar .dropdown-content {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: none; /* با JS کلاس show نمایش می‌گیره */
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid #e6ecf5;
        border-radius: 14px;
        box-shadow: 0 14px 34px rgba(17, 35, 55, .14);
        padding: 8px;
        margin: 0;
        list-style: none;
        max-height: min(62vh, 430px);
        overflow-y: auto;
        z-index: 60;
        animation: dashMenuIn .18s ease;
    }

    .dashboard_navigationbar .dropdown-content.show {
        display: block;
    }

    @keyframes dashMenuIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* آیتم‌ها */
    .dashboard_navigationbar .dropdown-content li {
        margin: 0;
    }

    .dashboard_navigationbar .dropdown-content li + li {
        margin-top: 4px;
    }

    .dashboard_navigationbar .dropdown-content li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 10px;
        color: #243245;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        transition: background .2s, color .2s, transform .06s;
    }

    .dashboard_navigationbar .dropdown-content li a:hover {
        background: #f2f6ff;
        color: #204ce5;
    }

    .dashboard_navigationbar .dropdown-content li a:active {
        transform: translateY(1px);
    }

    /* آیکن‌ها */
    .dashboard_navigationbar .dropdown-content li a span {
        float: none !important;
        font-size: 17px;
        width: 20px;
        text-align: center;
        color: #204ce5;
        flex: 0 0 20px;
    }

    /* آیتم فعال */
    .dashboard_navigationbar .dropdown-content li.active a {
        background: #204ce5;
        color: #fff;
        box-shadow: 0 8px 18px rgba(32, 76, 229, .22);
    }

    .dashboard_navigationbar .dropdown-content li.active a span {
        color: #fff;
    }

    /* آیتم خروج */
    .dashboard_navigationbar .dropdown-content li:last-child a {
        color: #ff1053;
    }

    .dashboard_navigationbar .dropdown-content li:last-child a span {
        color: #ff1053;
    }

    .dashboard_navigationbar .dropdown-content li:last-child a:hover {
        background: #fff1f5;
    }
}

/* دسکتاپ: همین منوی موبایل پنهان بماند */
@media (min-width: 1200px) {
    .dashboard_navigationbar.db-1199 {
        display: none !important;
    }
}

/* ظرف دکمه‌ها */
.fav-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .fav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap; /* در موبایل اگر جا کم بود، بشکنه */
        justify-content: center;
    }
}

/* ظاهر کلی دکمه‌ها */
.fav-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    transition: all .2s ease;
    white-space: nowrap;
}

/* آیکن‌ها */
.fav-actions .btn .fa,
.fav-actions .btn [class^="flaticon-"],
.fav-actions .btn [class*=" flaticon-"] {
    font-size: 12px;
    margin: 0 !important; /* جلوی ml-1 قدیمی را می‌گیرد */
}

/* هاور ظریف */
.fav-actions .btn:hover {
    transform: translateY(-1px);
}

/* حالت فوکوس بهتر */
.fav-actions .btn:focus {
    box-shadow: 0 0 0 .15rem rgba(0, 123, 255, .15);
}

/* موبایل */
@media (max-width: 576px) {
    .fav-actions {
        gap: 6px;
    }

    .fav-actions .btn {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 9px;
    }
}

/* ===== Orders - shared ===== */
.order-status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

/* ===== Mobile cards ===== */
.orders-mobile-list {
    padding: 4px 0 0;
}

.order-mobile-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

.order-mobile-card.active {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(99, 102, 241, .12);
}

.order-mobile-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.order-mobile-card__thumb {
    width: 56px;
    min-width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.order-mobile-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-mobile-card__title-wrap {
    min-width: 0;
    flex: 1;
}

.order-mobile-card__title {
    display: block;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.order-mobile-card__meta {
    font-size: 12px;
    color: #64748b;
}

.order-mobile-card__rows {
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    padding: 8px 0;
    margin: 8px 0 10px;
}

.order-mobile-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.order-mobile-card__row:last-child {
    margin-bottom: 0;
}

.order-mobile-card__row .label {
    font-size: 12px;
    color: #64748b;
}

.order-mobile-card__row .value {
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
    text-align: left;
}

.order-mobile-card__actions .btn {
    width: 100%;
}

/* ===== Desktop table tune ===== */
@media (min-width: 768px) {
    .orders-desktop-table .table td,
    .orders-desktop-table .table th {
        vertical-align: middle;
    }
}

/* =========================
 Base
 ========================= */
.order-details-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.order-details-modal.is-open {
    display: flex;
}

.order-details-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.order-details-modal__dialog {
    position: relative;
    direction: rtl;
    background: #fff;
    width: min(1100px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 24px 24px 18px;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

.order-details-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto !important;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

.order-details-modal__close:hover {
    background: #e2e8f0;
}

/* فاصله هدر مودال از دکمه بستن */
.order-details-modal .my_setting_content_header {
    padding-right: 52px;
}

.order-details-modal .my_setting_content_header .my_sch_title {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* RTL */
    justify-content: flex-start;
    gap: 6px;
    text-align: right;
    margin: 0;
}

#js-selected-order-status {
    white-space: nowrap;
}

.my_course_content_container,
.my_setting_content,
.my_setting_content_details {
    overflow: visible;
}

.cart_page_form .table {
    margin-bottom: 0;
}

.cart_page_form .table td,
.cart_page_form .table th {
    vertical-align: middle;
}

.table_body tr.active {
    background: #f8fbff;
}

.table_body tr.active td,
.table_body tr.active th {
    border-color: #dbeafe;
}

.cart_list img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.cart_title {
    display: inline-block;
    max-width: 320px;
    line-height: 1.8;
    word-break: break-word;
}

.js-order-details-btn {
    min-width: 86px;
    border-radius: 999px;
    font-weight: 600;
}

.my_setting_content_details thead th {
    font-weight: 500;
}

.table thead th {
    font-size: 15px;
}

.cart_page_form tr.carttable_row th.cartm_title {
    padding-right: 0;
}

.pr10 {
    padding-right: 10px !important;
}

/* =========================
   Desktop (>= 992px)
   ========================= */
@media (min-width: 992px) {
    .cart_page_form.style2 .table,
    .cart_page_form.style3 .table {
        table-layout: fixed;
    }

    .cart_page_form.style2 .table td,
    .cart_page_form.style2 .table th,
    .cart_page_form.style3 .table td,
    .cart_page_form.style3 .table th {
        white-space: normal;
    }

    /* هماهنگی کامل هدر/بدنه جدول جزئیات داخل مودال */
    .order-details-modal .cart_page_form.style3 table.table {
        direction: rtl !important;
        width: 100%;
        table-layout: fixed;
    }

    .order-details-modal .cart_page_form.style3 table.table thead th,
    .order-details-modal .cart_page_form.style3 table.table tbody th,
    .order-details-modal .cart_page_form.style3 table.table tbody td {
        text-align: right !important;
        direction: rtl !important;
        vertical-align: middle;
    }

    .order-details-modal .cart_page_form.style3 table.table tbody th[scope="row"] {
        text-align: right !important;
    }

    .order-details-modal .cart_page_form.style3 .cart_list {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .order-details-modal .cart_page_form.style3 .cart_list .list-inline-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    .order-details-modal .cart_page_form.style3 .cart_total {
        text-align: right !important;
    }
}

/* =========================
   Mobile / Tablet (<= 991.98px)
   ========================= */
@media (max-width: 991.98px) {
    .dashboard_main_content .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .my_setting_content {
        border-radius: 12px;
    }

    .my_setting_content_header,
    .my_setting_content_details {
        padding-left: 12px;
        padding-right: 12px;
    }

    .breadcrumb_widgets .title {
        float: none !important;
        margin-bottom: 8px;
    }

    .breadcrumb_widgets .breadcrumb {
        float: none !important;
        margin-bottom: 0;
    }

    .cart_page_form.style2 .table-responsive,
    .cart_page_form.style3 .table-responsive {
        overflow: visible;
    }

    .cart_page_form.style2 table.table,
    .cart_page_form.style3 table.table {
        border: 0;
        width: 100%;
    }

    .cart_page_form.style2 table.table thead,
    .cart_page_form.style3 table.table thead {
        display: none;
    }

    .cart_page_form.style2 table.table tbody,
    .cart_page_form.style3 table.table tbody {
        display: block;
        width: 100%;
    }

    .cart_page_form.style2 table.table tbody tr,
    .cart_page_form.style3 table.table tbody tr {
        display: block;
        width: 100%;
        background: #fff;
        border: 1px solid #e9eef5;
        border-radius: 14px;
        padding: 10px;
        margin-bottom: 12px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    }

    .cart_page_form.style2 table.table tbody tr.active {
        border-color: #bfdbfe;
        box-shadow: 0 8px 18px rgba(59, 130, 246, 0.12);
    }

    .cart_page_form.style2 table.table tbody tr > th,
    .cart_page_form.style2 table.table tbody tr > td,
    .cart_page_form.style3 table.table tbody tr > th,
    .cart_page_form.style3 table.table tbody tr > td {
        display: flex;
        width: 100%;
        padding: 8px 4px;
        border: 0 !important;
        text-align: right !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        font-size: 13px;
        line-height: 1.8;
    }


    .cart_page_form.style2 table.table tbody tr > th[scope="row"] {
        align-items: flex-start;
        padding-top: 4px;
    }

    .cart_page_form.style2 .cart_list,
    .cart_page_form.style3 .cart_list {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        width: 100%;
    }

    .cart_page_form.style2 .cart_list .list-inline-item,
    .cart_page_form.style3 .cart_list .list-inline-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    .cart_page_form.style2 .cart_title {
        max-width: unset;
        font-size: 14px;
        font-weight: 700;
    }

    .cart_page_form.style3 .cart_title {
        font-size: 13px;
        font-weight: 700;
    }

    .cart_page_form.style2 .cart_total {
        font-weight: 700;
        color: #0f172a;
    }

    .cart_page_form.style2 .js-order-details-btn {
        width: 100%;
        min-height: 38px;
        border-radius: 10px;
    }

    /* مودال موبایل */
    .order-details-modal {
        align-items: flex-end;
    }

    .order-details-modal__dialog {
        width: 100vw;
        max-width: 100vw;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        padding: 14px 12px 12px;
    }

    .order-details-modal__close {
        top: 10px;
        right: 10px !important;
        left: auto !important;
        width: 34px;
        height: 34px;
        font-size: 20px;
        z-index: 10;
    }

    .order-details-modal .my_setting_content_header {
        padding-right: 56px;
        padding-left: 0;
    }

    .order-details-modal .my_setting_content_header .my_sch_title {
        display: block;
    }

    .order-details-modal .my_setting_content_header .my_sch_title h4 {
        font-size: 14px;
        line-height: 1.9;
        word-break: break-word;
        width: 100%;
        text-align: right !important;
        margin: 0;
    }

    #js-selected-order-id {
        direction: ltr;
        display: inline-block;
    }

    #js-selected-order-status {
        padding: 5px 9px !important;
        font-size: 11px !important;
    }

    /* لیبل‌ها: جدول جزئیات مودال */
    .cart_page_form.style3 table.table tbody tr > td:nth-child(2)::before {
        content: "تاریخ سفارش";
        font-weight: 700;
        color: #64748b;
    }

    .cart_page_form.style3 table.table tbody tr > td:nth-child(3)::before {
        content: "کد کوپن";
        font-weight: 700;
        color: #64748b;
    }

    .cart_page_form.style3 table.table tbody tr > td:nth-child(4)::before {
        content: "تعداد";
        font-weight: 700;
        color: #64748b;
    }

    .cart_page_form.style3 table.table tbody tr > td:nth-child(5)::before {
        content: "مبلغ";
        font-weight: 700;
        color: #64748b;
    }

    .cart_page_form.style3 table.table tbody tr > td:nth-child(6)::before {
        content: "وضعیت سفارش";
        font-weight: 700;
        color: #64748b;
    }

    .cart_page_form table .text-center {
        justify-content: center !important;
        text-align: center !important;
        font-size: 13px;
        color: #64748b;
    }
}

/* =========================
   Small phones (<= 360px)
   ========================= */
@media (max-width: 360px) {
    .cart_list img {
        width: 52px;
        height: 52px;
    }

    .cart_page_form.style2 .cart_title,
    .cart_page_form.style3 .cart_title {
        font-size: 12.5px;
    }

    .js-order-details-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}

.btn-outline-primary {
    color: #ffffff;
    background: #007bff;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Forms Submissions Table (Scoped) ===== */
.forms-submissions-table {
    direction: rtl;
}

.forms-submissions-table .fs-card {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
    overflow: hidden;
}

.forms-submissions-table .fs-table-wrap {
    width: 100%;
}

.forms-submissions-table .fs-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px; /* دسکتاپ/تبلت: از خرد شدن ستون‌ها جلوگیری می‌کند */
}

.forms-submissions-table .fs-table thead tr {
    background: #2441e7;
}

.forms-submissions-table .fs-table thead th {
    color: #fff !important;
    font-weight: 800;
    font-size: 13px;
    border: 0;
    white-space: nowrap;
    padding: 14px 16px;
    text-align: right;
}

.forms-submissions-table .fs-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-top: 1px solid #f0f2f7;
    color: #384152;
    background: #fff;
}

.forms-submissions-table .fs-table tbody tr:first-child td {
    border-top: 0;
}

.forms-submissions-table .fs-id {
    color: #112337;
    font-weight: 800;
}

.forms-submissions-table .fs-form-title {
    color: #112337;
    font-weight: 600;
}

.forms-submissions-table .fs-empty {
    padding: 20px !important;
    color: #6b7280;
}

/* Badge normalization (اگر کلاس‌های badge-* پروژه‌ات کامل نباشند) */
.forms-submissions-table .badge {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* موبایل: جدول به کارت تبدیل شود تا هیچ آیتمی مخفی نشود */
@media (max-width: 767.98px) {
    .forms-submissions-table .fs-card {
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .forms-submissions-table .fs-table {
        min-width: 100%;
    }

    .forms-submissions-table .fs-table thead {
        display: none;
    }

    .forms-submissions-table .fs-table,
    .forms-submissions-table .fs-table tbody,
    .forms-submissions-table .fs-table tr,
    .forms-submissions-table .fs-table td {
        display: block;
        width: 100%;
    }

    .forms-submissions-table .fs-table tbody tr {
        background: #fff;
        border: 1px solid #e6ecf5;
        border-radius: 12px;
        margin: 0 0 12px 0;
        padding: 10px 12px;
        box-shadow: 0 6px 18px rgba(17, 35, 55, .05);
    }

    .forms-submissions-table .fs-table tbody td {
        border: 0;
        padding: 8px 0;
        text-align: right !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        white-space: normal;
    }

    .forms-submissions-table .fs-table tbody td::before {
        content: attr(data-label);
        color: #6b7280;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        margin-left: 10px;
        flex: 0 0 auto;
    }

    .forms-submissions-table .fs-table tbody td .badge {
        padding: 6px 12px !important;
    }

    .forms-submissions-table .fs-empty {
        text-align: center !important;
        display: block !important;
    }

    .forms-submissions-table .fs-empty::before {
        display: none;
        content: none;
    }
}

.cart_page_form table.table.table-responsive {
    border-radius: 12px 12px 0 0;
}

.cart_page_form {
    border-radius: 12px;
}

.cart_page_form.style2 .table_body td, .cart_page_form.style2 .table_body th {
    padding: 20px 0px;
}

.cart_page_form {
    border-style: solid;
    border-width: unset;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e6ecf5;
    box-shadow: 0 6px 24px rgba(17, 35, 55, .06);
}

}

.pl10 {
    padding-left: 10px !important;
}

.bor999 {
    border-radius: 999px !important;
}

/* ناموفق / لغو شده */
.badge-failed {
    color: #fff;
    background-color: #dc3545;
}

.badge-pending-payment {
    color: #856404;
    background-color: #fff3cd;
}

.fs15 {
    font-size: 15px !important;
}

.fs12 {
    font-size: 12px !important;

}

.cart_page_form.style2 .table_body td, .cart_page_form.style2 .table_body th {
    padding: 30px 0px;
}

/* Mobile table labels (show column title for each cell) */
@media (max-width: 767.98px) {
    .table thead {
        display: none !important;
    }

    .table tbody tr {
        display: block;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        margin-bottom: 10px;
        background: #fff;
    }

    .table tbody td {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        text-align: left !important; /* مقدار سمت چپ */
        border: 0 !important;
        border-bottom: 1px solid #f1f3f5 !important;
        padding: 10px 12px !important;
    }

    .table tbody td:last-child {
        border-bottom: 0 !important;
    }

    .table tbody td::before {
        content: attr(data-label) !important; /* عنوان ستون */
        display: inline-block !important;
        min-width: 96px;
        text-align: right !important; /* عنوان سمت راست */
        font-weight: 700;
        color: #495057;
        flex: 0 0 96px;
    }

    /* اگر هنوز جایی th داخل tbody داشتی */
    .table tbody th {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        border: 0 !important;
        border-bottom: 1px solid #f1f3f5 !important;
        padding: 10px 12px !important;
        text-align: left !important;
    }

    .table tbody th::before {
        content: attr(data-label) !important;
        min-width: 96px;
        text-align: right !important;
        font-weight: 700;
        color: #495057;
        flex: 0 0 96px;
    }
}

@media (max-width: 767.98px) {
    td.hide-on-mobile,
    th.hide-on-mobile {
        display: none !important;
    }
}

.js-only-order-detail-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: .5rem 1.2rem !important;
    line-height: 1.2 !important;
    font-size: 75%;
    font-weight: 700 !important;
}

@media (max-width: 767.98px) {
    .js-only-order-detail-btn {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-bottom: .1rem !important;
        padding-top: .1rem !important;
        font-size: 70%;
        font-weight: 700 !important;
    }
}

@media (max-width: 767.98px) {
    .table tbody td[data-label]::before {
        content: attr(data-label);
        display: inline-block;
        min-width: 90px;
        margin-left: 10px;
        font-weight: 700;
    }
}

@media (max-width: 767.98px) {
    .order-row-thumb-mobile-hide {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .odetails-thumb-mobile-hide {
        display: none !important;
    }
}

/* =========================================================
   Reviews Unified Style (Desktop + Mobile)
   Scope: .reviews-mobile-scope
   ========================================================= */

/* Base (all sizes) */
.reviews-mobile-scope .cs_row_six.csv2.style2 {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 14px 14px 6px;
}

.reviews-mobile-scope .mbp_first.media.csv1.style2 {
    position: relative;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    padding: 14px 14px 12px;
    margin-bottom: 12px !important;
    transition: all .2s ease;
}

.reviews-mobile-scope .mbp_first .media-body {
    width: 100%;
    min-width: 0;
}

.reviews-mobile-scope .mbp_first .sub_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    color: #1f2937;
}

.reviews-mobile-scope .mbp_first .sub_title .sspd_review {
    float: none !important;
    flex: 0 0 auto;
}

.reviews-mobile-scope .mbp_first .sub_title .sspd_review ul {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.reviews-mobile-scope .mbp_first .sub_title .sspd_review i {
    font-size: 14px;
    vertical-align: middle;
}

.reviews-mobile-scope .mbp_first .sspd_postdate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 10px;
}

.reviews-mobile-scope .mbp_first .sspd_postdate:hover {
    color: #374151;
    text-decoration: underline;
}

.reviews-mobile-scope .mbp_first .fz15.mt20 {
    margin-top: 8px !important;
    margin-bottom: 0;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    color: #374151;
    line-height: 2;
    word-break: break-word;
}

.reviews-mobile-scope .mbp_first .ssp_reply {
    float: none !important;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 999px;
    padding: 6px 10px;
}

.reviews-mobile-scope .mbp_first .ssp_reply .flaticon-consulting-message {
    line-height: 1;
}

.reviews-mobile-scope .alert.alert-info {
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Desktop only enhancements */
@media (min-width: 992px) {
    .reviews-mobile-scope .cs_row_six.csv2.style2 {
        padding: 18px 18px 6px;
        border-radius: 14px;
    }

    .reviews-mobile-scope .mbp_first.media.csv1.style2 {
        padding: 16px 18px 14px;
        margin-bottom: 14px !important;
    }

    .reviews-mobile-scope .mbp_first.media.csv1.style2:hover {
        border-color: #d9e2ec;
        box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
        transform: translateY(-1px);
    }

    .reviews-mobile-scope .mbp_first.media.csv1.style2::before {
        content: "";
        position: absolute;
        right: 0;
        top: 12px;
        bottom: 12px;
        width: 3px;
        border-radius: 6px;
        background: #4e73df;
        opacity: .85;
    }

    .reviews-mobile-scope .mbp_first .sub_title {
        font-size: 16px;
        gap: 14px;
        padding-left: 6px;
    }

    .reviews-mobile-scope .mbp_first .sspd_postdate {
        padding-left: 6px;
    }
}

/* Mobile tuning */
@media (max-width: 767.98px) {
    .reviews-mobile-scope .cs_row_six.csv2.style2 {
        padding: 10px 10px 4px;
        border-radius: 12px;
    }

    .reviews-mobile-scope .mbp_first.media.csv1.style2 {
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 10px !important;
    }

    .reviews-mobile-scope .mbp_first .sub_title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 15px;
    }

    .reviews-mobile-scope .mbp_first .sub_title .sspd_review {
        order: 2;
    }

    .reviews-mobile-scope .mbp_first .sspd_postdate {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .reviews-mobile-scope .mbp_first .fz15.mt20 {
        margin-top: 10px !important;
        line-height: 1.95;
        font-size: 14px;
    }

    .reviews-mobile-scope .mbp_first .ssp_reply {
        margin-top: 10px;
        font-size: 11px;
        padding: 5px 9px;
    }
}

.mbp_first.media.csv1.style2:before {
    background-color: unset;
}

/* =========================
   Profile Settings Scope
   ========================= */
.profile-settings-scope {
    direction: rtl;
    text-align: right;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.05);
    overflow: hidden;
}

/* Header blocks */
.profile-settings-scope .my_setting_content_header {
    padding: 18px 22px;
    background: #f8fbff;
    border-bottom: 1px solid #edf0f5;
}

.profile-settings-scope .my_setting_content_header.style2 {
    margin-top: 8px;
    background: #f5f9ff;
}

.profile-settings-scope .my_setting_content_header.style3 {
    height: 1px;
    padding: 0;
    margin: 4px 0 10px;
    background: #edf0f5;
    border: 0;
}

.profile-settings-scope .my_sch_title h4 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
    color: #1f2937;
}

/* Body rows */
.profile-settings-scope .my_setting_content_details {
    padding: 18px 22px;
}

.profile-settings-scope .my_setting_content_details.pb0 {
    padding-bottom: 0 !important;
}

/* Form groups */
.profile-settings-scope .form-group {
    margin-bottom: 14px;
}

.profile-settings-scope label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Inputs / Select / Textarea */
.profile-settings-scope .form-control {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d7deea;
    background: #fff;
    color: #111827;
    font-size: 14px;
    padding: 10px 12px;
    text-align: right;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.profile-settings-scope textarea.form-control {
    height: auto;
    min-height: 140px;
    resize: vertical;
    line-height: 1.8;
}

.profile-settings-scope .form-control::placeholder {
    color: #9aa4b2;
}

.profile-settings-scope .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    background: #fff;
    outline: 0;
}

/* Phone/email readonly-like feel if needed */
.profile-settings-scope input[type="email"],
.profile-settings-scope input[type="text"] {
    direction: rtl;
}

.profile-settings-scope input#exampleInputEmail,
.profile-settings-scope input#exampleInputPhone {
    direction: ltr;
    text-align: left;
}

/* Alerts */
.profile-settings-scope .alert {
    border-radius: 10px;
    border: 0;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.8;
}

.profile-settings-scope .alert-success {
    background: #eafaf0;
    color: #166534;
}

.profile-settings-scope .alert-danger {
    background: #fff1f2;
    color: #9f1239;
}

/* Buttons */
.profile-settings-scope .my_setting_savechange_btn.btn,
.profile-settings-scope .btn.btn-thm {
    min-height: 44px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.profile-settings-scope .my_setting_savechange_btn.btn:hover,
.profile-settings-scope .btn.btn-thm:hover {
    transform: translateY(-1px);
}

.profile-settings-scope .my_setting_savechange_btn.btn:active,
.profile-settings-scope .btn.btn-thm:active {
    transform: translateY(0);
}

/* File uploader (same HTML, better look) */
.profile-settings-scope .wrap-custom-file {
    position: relative;
    height: 180px;
    border: 1px dashed #cfd8e6;
    border-radius: 12px;
    background: #f8fbff;
    overflow: hidden;
}

.profile-settings-scope .wrap-custom-file input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
}

.profile-settings-scope .wrap-custom-file label {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.profile-settings-scope .wrap-custom-file label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #d2dbeb;
    background: #fff;
    padding: 0 14px;
}

/* Password block visual separation */
.profile-settings-scope .password_change_form {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    padding: 16px;
}

/* spacing helpers */
.profile-settings-scope .mb30 {
    margin-bottom: 24px !important;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1199.98px) {
    .profile-settings-scope .my_setting_content_header,
    .profile-settings-scope .my_setting_content_details {
        padding-right: 16px;
        padding-left: 16px;
    }

    .profile-settings-scope .wrap-custom-file {
        height: 150px;
        margin-bottom: 14px;
    }

    .profile-settings-scope .password_change_form {
        margin-top: 6px;
    }
}

@media (max-width: 767.98px) {
    .profile-settings-scope {
        border-radius: 12px;
    }

    .profile-settings-scope .my_sch_title h4 {
        font-size: 16px;
    }

    .profile-settings-scope .form-control {
        height: 42px;
        font-size: 13px;
    }

    .profile-settings-scope textarea.form-control {
        min-height: 120px;
    }

    .profile-settings-scope .my_setting_savechange_btn.btn,
    .profile-settings-scope .btn.btn-thm {
        width: 100%;
        justify-content: center;
    }

    .profile-settings-scope .my_setting_content_header,
    .profile-settings-scope .my_setting_content_details {
        padding-right: 12px;
        padding-left: 12px;
    }

    .profile-settings-scope .wrap-custom-file {
        height: 130px;
    }
}

.df-center {
    display: flex;
    justify-content: center;
}

.br-unset {
    border-radius: unset !important;
}

@media (min-width: 500px) {
    .hide-pc {
        display: none !important;

    }
}

/* =====================================
   MOBILE CART - CLEAN (NO QTY BUTTON UI)
   ===================================== */
@media (max-width: 768px) {

    /* هدر جدول در موبایل */
    thead.mcart-thead,
    thead.carttable_row {
        display: none !important;
    }

    /* هر ردیف = کارت */
    tr.mcart-mobile-scope {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
      "title remove"
      "price price"
      "qty qty"
      "total total" !important;
        gap: 10px !important;
        padding: 12px !important;
        margin: 0 0 10px !important;
        border: 1px solid #e8edf3 !important;
        border-radius: 12px !important;
        background: #fff !important;
        text-align: right !important;
        position: relative !important;

    }

    /* سلول‌ها */
    tr.mcart-mobile-scope > th.mcart-cell,
    tr.mcart-mobile-scope > td.mcart-cell {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: right !important;
        vertical-align: middle !important;
        min-width: 0 !important;
        overflow: visible !important;
        margin-bottom: 15px !important;
    }

    /* نواحی گرید */
    tr.mcart-mobile-scope .mcart-cell-title {
        grid-area: title !important;
    }

    tr.mcart-mobile-scope .mcart-cell-price {
        grid-area: price !important;
    }

    tr.mcart-mobile-scope .mcart-cell-qty {
        grid-area: qty !important;
    }

    tr.mcart-mobile-scope .mcart-cell-total {
        grid-area: total !important;
    }

    tr.mcart-mobile-scope .mcart-cell-remove {
        grid-area: remove !important;
        width: auto !important;
        justify-self: end !important;
        align-self: start !important;
        z-index: 5 !important; /* همیشه روی بقیه */
    }

    /* عنوان‌ها با data-label */
    tr.mcart-mobile-scope td.mcart-cell[data-label] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    tr.mcart-mobile-scope td.mcart-cell[data-label]::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        color: #64748b;
        margin-left: 8px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    /* برای سلول حذف لیبل نشان نده */
    tr.mcart-mobile-scope .mcart-cell-remove[data-label]::before {
        display: none !important;
    }

    /* لیست عنوان */
    tr.mcart-mobile-scope .mcart-list {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    tr.mcart-mobile-scope .mcart-thumb-wrap {
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    tr.mcart-mobile-scope .mcart-thumb img {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        border: 1px solid #eef2f7 !important;
        display: block !important;
    }

    tr.mcart-mobile-scope .cart_title {
        min-width: 0 !important;
    }

    tr.mcart-mobile-scope .cart_title span {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        line-height: 1.7 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1f2937 !important;
        text-align: right !important;
        word-break: break-word !important;
    }

    /* قیمت */
    tr.mcart-mobile-scope .cart_price {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #374151 !important;
    }

    /* ===== فقط input تعداد (بدون استایل plus/minus) ===== */
    tr.mcart-mobile-scope .mcart-cell-qty .cart_count,
    tr.mcart-mobile-scope .mcart-qty-wrap .cart_count,
    tr.mcart-mobile-scope .js-qty-wrap .cart_count {
        width: 96px !important;
        max-width: 100% !important;
        height: 38px !important;
        text-align: center !important;
        border: 1px solid #d8e1ec !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 6px 8px !important;
        background: #fff !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    tr.mcart-mobile-scope .cart_count:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /* اگر دکمه‌های + و - وجود دارند، در موبایل مخفی شوند */
    tr.mcart-mobile-scope .qty-btn,
    tr.mcart-mobile-scope .qty-plus,
    tr.mcart-mobile-scope .qty-minus,
    tr.mcart-mobile-scope .js-qty-plus,
    tr.mcart-mobile-scope .js-qty-minus {
        display: none !important;
    }

    /* اگر wrapper کنترل تعداد بوده، خنثی شود */
    tr.mcart-mobile-scope .mcart-qty-control,
    tr.mcart-mobile-scope .qty-control,
    tr.mcart-mobile-scope .js-qty-wrap {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        border: 0 !important;
        background: transparent !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    /* جمع */
    tr.mcart-mobile-scope .cart_total {
        display: inline-block !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f766e !important;
        background: #ecfeff !important;
        border: 1px solid #ccfbf1 !important;
        border-radius: 10px !important;
        padding: 6px 10px !important;
    }

    /* دکمه حذف: حتماً دیده شود */
    tr.mcart-mobile-scope .mcart-remove-btn,
    tr.mcart-mobile-scope .js-cart-remove.btdelete {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 10px !important;
        background: #fff1f2 !important;
        border: 1px solid #ffe4e6 !important;
        color: #e11d48 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    tr.mcart-mobile-scope .mcart-remove-btn i,
    tr.mcart-mobile-scope .js-cart-remove.btdelete i {
        font-size: 14px !important;
        line-height: 1 !important;
        display: inline-block !important;
    }
}

@media (max-width: 380px) {
    tr.mcart-mobile-scope {
        padding: 10px !important;
        gap: 8px !important;
    }

    tr.mcart-mobile-scope .cart_title span {
        font-size: 13px !important;
    }

    tr.mcart-mobile-scope .mcart-cell-qty .cart_count,
    tr.mcart-mobile-scope .mcart-qty-wrap .cart_count,
    tr.mcart-mobile-scope .js-qty-wrap .cart_count {
        width: 84px !important;
    }
}

/* فقط برای همین لیست محصول */
.mcart-list {
    direction: rtl;
}

/* موبایل */
@media (max-width: 768px) {
    .mcart-list {
        display: flex !important;
        flex-direction: row !important; /* ترتیب راست به چپ */
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    /* آیتم تصویر: سمت راست بماند */
    .mcart-list .mcart-thumb-wrap {
        order: 1;
        margin-right: 0 !important;
        margin-left: 0 !important;
        flex: 0 0 auto;
    }

    /* آیتم عنوان: بعد از تصویر */
    .mcart-list .cart_title {
        order: 2;
        margin: 0 !important;
        text-align: right;
        min-width: 0;
        flex: 1 1 auto;
    }

    .mcart-list .cart_title span {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .shop-checkouts .mcart-list {
        flex-direction: row !important;
    }

    .shop-checkouts .mcart-list .mcart-thumb-wrap {
        order: 1 !important;
    }

    .shop-checkouts .mcart-list .cart_title {
        order: 2 !important;
    }
}

.shop-checkouts .btdelete {
    position: static !important;
    transform: none !important;
}

/* =========================
   Cart Remove Cell Fix
   ========================= */

/* فقط برای جلوگیری از بهم‌ریختگی همین سلول */
td.mcart-cell.mcart-cell-remove {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    padding: 10px 8px !important;
    vertical-align: middle !important;
    text-align: center !important;
    position: relative;
    box-sizing: border-box;
}

/* اگر کلاس text-center از فریم‌ورک override شد */
td.mcart-cell.mcart-cell-remove.text-center {
    text-align: center !important;
}

/* دکمه حذف: کاملاً وسط‌چین با اندازه ثابت */
td.mcart-cell.mcart-cell-remove .mcart-remove-btn {
    --btn-size: 34px;

    width: var(--btn-size);
    height: var(--btn-size);
    min-width: var(--btn-size);
    min-height: var(--btn-size);

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px;

    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background: transparent !important;
    cursor: pointer;
    transition: transform .15s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}

/* آیکن ضربدر */
td.mcart-cell.mcart-cell-remove .mcart-remove-btn i {
    font-size: 16px;
    line-height: 1;
    display: block;
    pointer-events: none;
}

/* hover/focus حرفه‌ای */
td.mcart-cell.mcart-cell-remove .mcart-remove-btn:hover {
    background: rgba(220, 53, 69, .1) !important;
    transform: scale(1.05);
}

td.mcart-cell.mcart-cell-remove .mcart-remove-btn:focus-visible {
    outline: 2px solid rgba(220, 53, 69, .35);
    outline-offset: 2px;
    background: rgba(220, 53, 69, .12) !important;
}

/* active */
td.mcart-cell.mcart-cell-remove .mcart-remove-btn:active {
    transform: scale(.96);
}

/* disabled */
td.mcart-cell.mcart-cell-remove .mcart-remove-btn:disabled,
td.mcart-cell.mcart-cell-remove .mcart-remove-btn[aria-disabled="true"] {
    opacity: .5;
    cursor: not-allowed;
}

/* =========================
   Mobile Card/Table Mode Support
   ========================= */
@media (max-width: 767.98px) {
    td.mcart-cell.mcart-cell-remove {
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 8px 10px !important;
    }

    /* وقتی td ها block می‌شوند، این سلول دکمه را دقیق راست/چپ کنترل می‌کند */
    .mcart-cell-remove {
        display: flex !important;
        align-items: center;
        justify-content: flex-end; /* اگر چپ می‌خوای: flex-start */
        gap: 8px;
    }

    /* اگر data-label با ::before نمایش می‌دهی، فاصله درست بگیرد */
    .mcart-cell-remove::before {
        margin-inline-end: 10px;
    }

    td.mcart-cell.mcart-cell-remove .mcart-remove-btn {
        --btn-size: 32px;
        margin-inline-start: auto !important;
        margin-inline-end: 0 !important;
    }
}

/* ============================
   Scoped Header Layer Fix Only
   (فقط برای همین هدر)
============================ */

/* 1) خود هدر اصلی فقط */
header.header-nav.menu_style_home_four.stricky.main-menu {
    position: relative;
    z-index: 2140;
}

/* 2) فقط nav داخل همین هدر */
header.header-nav.menu_style_home_four.stricky.main-menu > .container,
header.header-nav.menu_style_home_four.stricky.main-menu nav {
    position: relative;
    z-index: 2141;
    overflow: visible; /* مهم برای دیده‌شدن dropdown */
}

/* 3) منوی دسکتاپ همین هدر */
header.header-nav.menu_style_home_four.stricky.main-menu #respMenu {
    position: relative;
    z-index: 2142;
}

/* 4) فقط زیرمنوی همین هدر */
header.header-nav.menu_style_home_four.stricky.main-menu #respMenu .sub-menu {
    position: absolute;
    z-index: 2145;
}

/* 5) فقط dropdown سبد خرید همین هدر */
header.header-nav.menu_style_home_four.stricky.main-menu .cart_btnes {
    position: relative;
    z-index: 2143;
}

header.header-nav.menu_style_home_four.stricky.main-menu .cart_btnes .cart > li {
    position: relative;
}

header.header-nav.menu_style_home_four.stricky.main-menu .cart_btnes .dropdown_content {
    position: absolute;
    z-index: 2146;
}

/* 6) اگر هدر sticky/fixed شد (کلاس‌های رایج) */
header.header-nav.menu_style_home_four.stricky.main-menu.stricky-fixed,
header.header-nav.menu_style_home_four.stricky.main-menu.is-sticky {
    z-index: 2147 !important;
}

/
.category-info-section {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.category-info-section .category-info-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.category-info-section .category-info-card {
    width: 100%;
    border-radius: 12px;
}

.category-info-section .category-info-image {
    display: block;
    margin: 0 auto 12px;
    max-width: 260px;
    width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .category-info-section {
        padding: 0 14px;
    }

    .category-info-section .category-info-image {
        max-width: 220px;
    }
}

.des-cat {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

/* حالت جمع‌شده: حدود 5 خط */
.category-desc-wrap {
    position: relative;
    overflow: hidden;
    max-height: 9.8em; /* 5 خط تقریبی با line-height:2 */
    transition: max-height .3s ease;
}

.category-desc-wrap.is-expanded {
    max-height: 2000px; /* باز کامل */
}

/* محو انتهای متن در حالت بسته */
.category-desc-wrap.is-collapsed::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 42px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
}

.category-desc-toggle {
    font-size: 13px;
    text-decoration: none !important;
}

/* دکمه مطالعه بیشتر / بستن */
.category-desc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #0077ff;
    background: #d0e6ff;
    color: #1f2937 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 8px 12px !important;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all .2s ease;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

/* آیکن فلش کوچک */
.category-desc-toggle::before {
    content: "⌄";
    font-size: 12px;
    transform: translateY(-1px);
    transition: transform .2s ease;
}

/* هاور */
.category-desc-toggle:hover {
    background: #eef2f7;
    border-color: #cfd8e3;
    color: #111827 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 24, 40, .08);
}

/* حالت فوکوس برای دسترسی‌پذیری */
.category-desc-toggle:focus,
.category-desc-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .20),
    0 1px 2px rgba(16, 24, 40, .06);
}

/* حالت باز: رنگ کمی متفاوت + چرخش فلش */
.category-desc-toggle[aria-expanded="true"] {
    background: #eef6ff;
    border-color: #bfdbfe;
    color: #1d4ed8 !important;
}

.category-desc-toggle[aria-expanded="true"]::before {
    transform: rotate(180deg) translateY(1px);
}

/* حالت کلیک */
.category-desc-toggle:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

/* موبایل */
@media (max-width: 767.98px) {
    .category-desc-toggle {
        font-size: 12px;
        padding: 7px 10px;
        border-radius: 9px;
    }
}

.item-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .p20-0 {
        padding: 20px 0px !important;
    }
}

.pb0{
    padding-bottom: 0px;
}
/* موبایل: اول کارت‌های مقاله، بعد سایدبار */
@media (max-width: 991.98px) {
    .blog_post_container .row.text-right > .col-lg-8.col-xl-9.p-0 {
        order: 1 !important;
    }

    .blog_post_container .row.text-right > .col-lg-4.col-xl-3.col-4-p0 {
        order: 2 !important;
        margin-top: 12px;
    }

    /* اگر خواستی فاصله بین سه باکس سایدبار در موبایل بهتر شود */
    .blog_post_container .col-lg-4.col-xl-3.col-4-p0 .latest_articles_box {
        margin-bottom: 12px;
    }
}
@media (max-width: 991.98px) {
    .our-team .row > [class*="col-"] {
        margin-bottom: 16px;
    }
}

.logo1 {
    max-width: 185px;
}