
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb\(FaNum\).eot');
    src: url('../fonts/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb\(FaNum\)_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb\(FaNum\)_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb\(FaNum\)_Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary-color: #2a9d8f;
    --primary-light-color: #47e3d1;
    --primary-gray: #f7f9fc;
    --milkycolor: #FFC300;
    --pallorange: #f4a261;
    --ocherred: #e76f51;
    --primary-red: #f22d33;
    --secondary-color: #ffffff;
    --primary-gray-color: #f8f8f8;
    --light-color: #f0eded;
    --darkgreen: #264653;
    --a-tag-color: #333;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-10: #F8F8F8;
    --bs-gray-50: #fafcfd;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
}


body {
    direction: rtl;
    margin: 0;
    color: var(--a-tag-color) !important;
    line-height: 1.7;
}

* {
    box-sizing: border-box;
    font-family: IRANSans,Vazir;
}

a {
    color: var(--a-tag-color);
}

h5, h6 {
    margin: 5px 0;
}

p {
    margin: 0;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    max-height: 100%;
}
/* دکمه موفقیت (Success) */
.btn-customsuccess {
    color: var(--secondary-color); /* متن */
    background-color: var(--primary-color); /* پس‌زمینه کمی پررنگ‌تر */
    border: 1px solid #2a9d8f;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

    .btn-customsuccess:hover {
        background-color: #5bb8ab;
    }

/* دکمه اطلاعات (Info) */
.btn-custominfo {
    color: var(--bs-gray-600); /* متن */
    background-color: var(--milkycolor);
    border: 1px solid #FFC300;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-custominfo:hover {
    background-color: #ffdb5c;
}

/* دکمه هشدار (Warning) */
.btn-customwarning {
    color: #d97706; /* متن نارنجی تیره */
    background-color: #ffd699; /* پس‌زمینه کمی پررنگ‌تر */
    border: 1px solid #d97706;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-customwarning:hover {
    background-color: #ffc266;
}

/* دکمه خطر (Danger) */
.btn-customdanger {
    color: #dc3545; /* متن قرمز */
    background-color: #f3aeb6; /* پس‌زمینه کمی پررنگ‌تر */
    border: 1px solid #dc3545;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-customdanger:hover {
    background-color: #ee8b96;
}


[data-overlay] {
    position: relative;
}

    [data-overlay]:before {
        position: absolute;
        content: '';
        background: #052044;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
    }

    [data-overlay] *:not(.container):not(.bg-img-holder) {
        z-index: 2;
    }

    [data-overlay].image--light:before {
        background: #fff;
    }

    [data-overlay].bg--primary:before {
        background: #4a90e2;
    }

[data-overlay="1"]:before {
    opacity: 0.1;
}

[data-overlay="2"]:before {
    opacity: 0.2;
}

[data-overlay="3"]:before {
    opacity: 0.3;
}

[data-overlay="4"]:before {
    opacity: 0.4;
}

[data-overlay="5"]:before {
    opacity: 0.5;
}

[data-overlay="6"]:before {
    opacity: 0.6;
}

[data-overlay="7"]:before {
    opacity: 0.7;
}

[data-overlay="8"]:before {
    opacity: 0.8;
}

[data-overlay="9"]:before {
    opacity: 0.9;
}

[data-overlay="10"]:before {
    opacity: 1;
}

[data-overlay="0"]:before {
    opacity: 0;
}
/* به روزرسانی شده و مدرن تر */
/* نسخه Premium با افکت درخشش ملایم (برای همه حالت‌ها یکدست) */
.site_state_green {
    color: #0CA678;
    background-color: rgba(12, 166, 120, .12);
    box-shadow: inset 0 0 20px rgba(12, 166, 120, .05);
    font-weight: 600;
}

.site_state_yello {
    color: #F59F00;
    background-color: rgba(245, 159, 0, .12);
    box-shadow: inset 0 0 20px rgba(245, 159, 0, .05);
    font-weight: 600;
}

.site_state_blue {
    color: #339AF0;
    background-color: rgba(51, 154, 240, .12);
    box-shadow: inset 0 0 20px rgba(51, 154, 240, .05);
    font-weight: 600;
}

.site_state_red {
    color: #E03131;
    background-color: rgba(224, 49, 49, .12);
    box-shadow: inset 0 0 20px rgba(224, 49, 49, .05);
    font-weight: 600;
}

.site_state_gray {
    color: #8d9bad;
    background-color: rgba(92, 111, 135, .4);
    box-shadow: inset 0 0 20px rgba(92, 111, 135, .04);
    font-weight: 600;
}

.site_state_purple {
    color: #845EF7;
    background-color: rgba(132, 94, 247, .12);
    box-shadow: inset 0 0 20px rgba(132, 94, 247, .05);
    font-weight: 600;
}

.text-left-align {
    text-align: left;
}

.text-right-align {
    text-align: right;
}

#tables {
    width: 100%;
    padding: 20px;
    text-align: center;
    border-spacing: 0;
}

    #tables thead {
        padding: 15px;
        border-collapse: 0;
    }

    #tables tbody {
        color: var(--bs-gray-600);
    }
#tables thead,
#tables tbody {
    width: 100%;
    display: table-header-group; /* thead */
    display: table-row-group; /* tbody */
}
    #tables th, #tables td {
        border-bottom: 1px solid #ddd;
        padding: 15px;
    }

    #tables table tr:last-child {
        border: none;
    }

    #tables tr:hover {
        background-color: var(--bs-gray-100);
        
    }

.operation-table-response {
    margin-left: 15px;
    border-radius: 5px;
    padding: 5px 10px;
    min-width: 140px !important;
}

.operation-table-Complate {
    color: var(--secondary-color);
    background-color: var(--primary-color);
}

.operation-table-TicketStateWaitingForReply {
    color: var(--bs-gray-500);
    background-color: var(--bs-gray-100);
}

.operation-table-TicketStateAnswered {
    color: var(--bs-gray-800);
    background-color: var(--bs-gray-200);
}
/* #tables tr:nth-child(even){background-color: var(--bs-gray-200);} */

/* #tables tr:hover {
    color: var(--bs-gray-600);
    background-color: var(--bs-gray-100);
} */
.success-field-table, .fail-field-table {
    border-radius: 7px;
}

.success-field-table {
    padding: 5px 20px;
    color: #155724;
    background-color: #d4edda;
}

.fail-field-table {
    padding: 5px 15px;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px !important;
}

.ml-30 {
    margin-left: 30px !important;
}

.ml-40 {
    margin-left: 40px !important;
}

.ml-50 {
    margin-left: 50px !important;
}

.ml-70 {
    margin-left: 71px !important;
}


.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mt-71 {
    margin-top: 71px !important;
}

.mt-80 {
    margin-top: 80px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-150 {
    margin-top: 150px;
}

.mr-20 {
    margin-right: 20px;
}

.mr-30 {
    margin-right: 30px;
}

.mr-40 {
    margin-right: 40px;
}

.mr-50 {
    margin-right: 50px;
}
.fw-400 {
    font-weight: 400 !important;
}
.fw-600 {
    font-weight: 600 !important;
}

.fw-800 {
    font-weight: 800 !important;
}
.df-ai-center {
    display: flex;
    align-items: center;
}

.fileUpload {
    width: 30%;
    text-align: center;
    overflow: hidden;
}

    .fileUpload input.upload {
        position: relative;
        top: -40px;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
        width: 100%;
    }

.btn--browse {
    border: 1px solid gray;
    border-left: 0;
    border-radius: 0 2px 2px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    height: 47px;
    padding: 10px 14px;
}

.f-input {
    height: 47px;
    float: left;
    padding: 0 14px;
}



.border-radius {
    border-radius: 5px;
}

.bg-withe {
    background-color: var(--secondary-color);
}

.bg-red {
    background-color: red;
}

.bg-green {
    background-color: var(--primary-color);
}

.bg-yellow {
    background-color: #f1992c;
}

.bg-lightgreen {
    background-color: #83ce36;
}

.btn-default {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: justify;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    box-shadow: 0 0 12px -2px #ddd;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    box-shadow: 0 0 12px -2px #ddd;
}

.alert p {
    font-weight: 500;
    margin: 0;
}

.alert i {
    font-size: 18px;
}

.text-justify {
    text-align: justify;
}

.text-primary-color {
    color: var(--primary-color) !important;
}

.text-success-color {
    color: #155724 !important;
}
.text-width-color {
    color: #fff !important;
}


.text-milk-color {
    color: var(--milkycolor) !important;
}

.text-danger-color {
    color: #721c24 !important;
}

.text-special-color {
    color: var(--primary-red) !important;
}

.display-none {
    display: none !important;
    transition-duration: .5s;
}

.display-block {
    display: block;
    transition-duration: .5s;
}

.conteiner-item-circle {
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    display: flex;
    background: #fff;
    border: 1px solid #eff1f5;
    border-radius: 50%;
    margin-left: 5px;
    font-size: 11px;
}

    .conteiner-item-circle i {
        color: var(--primary-color);
    }

.bax-shadow {
    box-shadow: 0 0 12px -2px #ddd;
}

.border-raduse {
    border-radius: 5px;
}

.text-center {
    text-align: center;
}

.navbar {
    z-index: 1000 !important;
    width: 100%;
    position: fixed;
    top: 0;
    background: var(--primary-gray-color);
    max-height: 90px;
}
/* Navbar Bottom ظریف و مدرن */
.navbar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px; /* ارتفاع ثابت */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 9999;
    display: flex;
    align-items: center; /* تراز عمودی کانتینر اصلی */
    justify-content: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
}

.container-navbar-bottom {
    display: flex;
    justify-content: space-around;
    align-items: center; /* تراز عمودی تمام دکمه‌ها */
    width: 100%;
    height: 100%; /* اشغال کل ارتفاع ناوبار */
    max-width: 500px;
    margin: 0 auto;
}

.nav-bottom-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* تراز عمودی محتوای داخلی (آیکون و متن) */
    color: #888;
    flex: 1;
    height: 100%; /* اشغال کل ارتفاع برای وسط‌چین شدن بهتر */
}

/* حذف مارجین‌های اضافی احتمالی از تگ p یا span */
.nav-bottom-item p,
.nav-bottom-item span {
    margin: 0 !important;
    font-size: 10px;
    line-height: 1.2;
}

.nav-bottom-item i {
    font-size: 20px;
    margin-bottom: 2px; /* فاصله بسیار کم بین آیکون و متن */
}

/* حالت فعال و هاور */
.nav-bottom-item.active,
.nav-bottom-item:hover {
    color: #27ae60; /* سبز برند شما */
}

/* استایل خاص برای سبد خرید */
.cart-item .cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e74c3c;
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 15px;
    text-align: center;
    border: 2px solid #fff;
}


.mobile-only {
    display: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo-title {
    margin-right: 10px;
}

    .navbar-logo-title p {
        font-size: 10px;
    }

.navbar-content {
    display: grid;
    grid-template-columns: 1.5fr 4fr 1.2fr;
    align-items: center;
    height: 70px;
}

.navbar-logo-img > a > img {
    width: 75px;
    max-height: 70px;
}

.navbar-logo-img > a {
    display: flex;
    align-items: center;
}

.nav-items {
    display: flex;
    justify-content: right;
    margin: 0;
    padding: 0;
}

    .nav-items
    .nav-item {
        padding: 21px 15px;
    }

    .nav-items
    .nav-link {
        font-weight: 500;
    }
/* کانتینر اصلی - هماهنگ با ارتفاع ناوبار */
/* کانتینر اصلی بخش */
.header-actions-container {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 70px; /* تنظیم دقیق با ارتفاع ناوبار شما */
    min-width: 0;
    max-width: 100%;
}

/* استایل کپسول (Pill) */
.auth-pill-wrapper {
    display: flex;
    align-items: center;
    background-color: #ffca28; /* رنگ زرد سمت راست */
    border-radius: 50px;
    overflow: hidden;
    height: 40px;
    flex-wrap: nowrap; /* جلوگیری از شکستن محتوا به خط بعد */
    flex-shrink: 0; /* مانع از کوچک شدن کپسول در صفحات کوچک */
}

.pill-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 100%;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    color: #2d3436;
    transition: all 0.3s ease;
    /* راه‌حل کلیدی برای تک خطی ماندن */
    white-space: nowrap;
    word-break: keep-all;
}

/* قسمت سمت چپ کپسول (نارنجی تیره در عکس) */
/* نکته: طبق کد HTML شما، کلاس‌های login-link و logout-link در سمت چپ/دوم هستند */
.login-link, .logout-link {
    background-color: #ffb300;
    color: #2d3436;
}

.pill-link:hover {
    filter: brightness(0.9); /* هاور ملایم بدون تغییر رنگ ناگهانی */
    color: #000;
}

/* بخش سبد خرید مدرن */
.cart-wrapper-modern {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    text-decoration: none;
    color: #2a9d8f !important; /* سبز زمردی */
    font-size: 24px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

    .cart-btn:hover {
        transform: scale(1.1);
    }

/* اصلاح عدد سبد خرید - برای اینکه دقیق و شیک باشد */
.cart-count-badge {
    position: absolute;
    top: -2px; /* کمی بالاتر */
    right: 5px; /* کمی متمایل به راست */
    background-color: #e74c3c; /* رنگ تیره برای تضاد بهتر طبق عکس */
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff; /* خط سفید دور عدد برای جدا شدن از آیکون */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* حذف هرگونه استایل اضافی مزاحم */
.auth-pill-wrapper, .cart-btn {
    border: none !important;
    outline: none !important;
}

/* //for mega menu */
/*  */
.navbar-nav {
    position: relative;
}

.mega-menu:hover .mega-submenu {
    visibility: visible;
    opacity: 1;
    top: 70px;
}

.mega-submenu {
    position: absolute;
    top: 100px;
    background-color: var(--secondary-color);
    /* نسیت به والد خودش که ناو بار هست مقادیر راست و چپ را در نظر میگیره */
    right: -50px;
    left: 0px;
    height: 400px;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    border-top: 5px solid var(--primary-color);
    visibility: hidden;
    opacity: 0;
    transition-duration: 0.7s;
}

.mega-submenu-categoris {
    padding: 10px;
    border-left: 1px solid var(--light-color);
}

    .mega-submenu-categoris h4,
    .mega-submenu-EducationCourses h4 {
        text-align: center;
        font-size: .95rem;
    }

    .mega-submenu-categoris strong {
        font-size: .9rem;
    }

.mega-submenu-category-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid transparent !important;
    border-radius: 3px;
    transition-duration: 0.5s;
}

    .mega-submenu-category-item:hover {
        border-color: var( --bs-gray-500) !important;
    }

    .mega-submenu-category-item strong {
        transition-duration: 0.5s;
    }

    .mega-submenu-category-item:hover strong,
    .mega-submenu-category-item.active strong {
        color: var(--primary-color);
    }

    .mega-submenu-category-item i {
        width: 35px;
        margin-left: 5px;
        padding: 5px;
        font-size: 20px;
        text-align: left;
    }

.mega-submenu-EducationCourses-item {
    padding: 0;
    height: 270px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
}

.mega-submenu-category-item img {
    width: 60px;
}

.mega-submenu-EducationCourses-item li {
    width: 250px;
}

    .mega-submenu-EducationCourses-item li a {
        display: inline-block;
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid var(--light-color);
        transition-duration: .5s;
        font-size: .9rem;
    }

        .mega-submenu-EducationCourses-item li a:hover {
            color: var(--primary-color);
            padding-right: 15px;
        }

.mega-submenu-EducationCourses-all {
    position: absolute;
    bottom: 20px;
    color: var(--milkycolor);
    transition-duration: 0.5s;
}

    .mega-submenu-EducationCourses-all:hover {
        color: #f4bc02;
    }

    .mega-submenu-EducationCourses-all i {
        font-size: 12px;
        padding-right: 2px;
    }

.tab-content {
    display: none;
}
    /* یعنی هر دو کلاس را باهم داره */
    .tab-content.active {
        display: block;
    }


.category-image {
    position: absolute;
    bottom: 0px;
    left: 5px
}

    .category-image img {
        max-width: 250px;
    }

/* دکمه منو */
#btn-bars {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8f8f8;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

#btn-bars:hover {
    transform: translateY(-2px);
    background: #fff3d6;
    color: #ff9800;
}

#btn-bars a {
    font-size: 24px;
    color: #FFC300;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* نمایش منوی موبایل */
#dropdown-menu.hide-dropdown-menu {
    display: none;
}

#dropdown-menu.show-dropdown-menu {
    display: block;
}

/* کانتینر منوی موبایل */
#dropdown-menu {
    
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 8px 0 30px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    padding: 20px 0;
}

    #dropdown-menu.show-dropdown-menu {
        transform: translateX(0);
    }

    /* عنوان منو */
    #dropdown-menu .site-title h2 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 18px;
        color: #222;
    }

/* لیست اصلی موبایل */
.mobile-navbar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mobile-navbar-menu > li {
        border-bottom: 1px solid #f2f2f2;
    }

        .mobile-navbar-menu > li > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            color: #333;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

            .mobile-navbar-menu > li > a:hover {
                background: #fff8ea;
                color: #ff9800;
            }

/* زیرمنوی دوره‌ها */
#accordion {
    position: relative;
}

    #accordion i {
        transition: transform 0.3s ease;
    }

    #accordion.open i {
        transform: rotate(180deg);
    }

#mobile-dropdown-menu-items.hide-mobile-dropdown-menu-items {
    display: none;
}

#mobile-dropdown-menu-items.show-mobile-dropdown-menu-items {
    display: block;
}

.mobile-dropdown-menu-item {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: #fcfcfc;
}

    .mobile-dropdown-menu-item li a {
        display: block;
        padding: 10px 18px 10px 22px;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

        .mobile-dropdown-menu-item li a:hover {
            background: #fff5dc;
            color: #ff9800;
        }

/* دکمه‌های ورود / ثبت نام / سبد خرید */
.mobile-btn-login-register {
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .mobile-btn-login-register a {
        display: block;
        text-align: center;
        padding: 12px 14px;
        border-radius: 12px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.3s ease;
        background: #f4f4f4;
        color: #333;
    }

        .mobile-btn-login-register a:hover {
            transform: translateY(-1px);
        }

    .mobile-btn-login-register .basket-btn {
        background: #ff9800;
        color: #fff;
    }

/* شبکه‌های اجتماعی */
.subscribe-web {
    padding: 16px;
    border-top: 1px solid #f2f2f2;
    margin-top: 10px;
}

    .subscribe-web h5 {
        font-size: 14px;
        color: #444;
        margin-bottom: 12px;
    }

.subscribe-web-items {
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .subscribe-web-items a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f7f7f7;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .subscribe-web-items a:hover {
            background: #ff9800;
            color: #fff;
        }

/* پایین صفحه موبایل */
.navbar-bottom {
    display: none;
}


/* 🔁 انیمیشن Pulse */
.pulse i {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#dropdown-menu {
    position: fixed;
    padding: 5px;
    height: 100vh;
    width: 300px;
    left: -300px;
    top: 70px;
    background-color: var(--secondary-color);
    transition: all 0.6s ease;
    color: #333;
    padding: 15px;
    box-shadow: 0 0 8px -2px #cccbcb;
}

.show-dropdown-menu {
    left: 0px !important;
}

.hide-dropdown-menu {
    left: -300px !important;
}

.mobile-navbar-menu {
    padding: 10px 15px;
}

    .mobile-navbar-menu li a {
        display: block;
        padding: 10px 0;
        text-align: center;
        border-bottom: 1px solid var(--light-color);
        transition-duration: 0.4s;
    }

        .mobile-navbar-menu li a:hover {
            background-color: var(--milkycolor);
            border-radius: 5px;
        }

.site-title {
    color: var(--primary-color);
}

.mobile-btn-login-register a {
    display: block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    padding: 8px 25px;
    margin: 15px;
    text-align: center;
    font-weight: 500;
}

.mobile-btn-login-register .basket-btn {
    background-color: var(--secondary-color);
    border: 2px solid var(--milkycolor);
    color: var(--a-tag-color);
    font-weight: 600;
}

.subscribe-web-items {
    padding: 0px 15px;
    display: flex;
    justify-content: space-around;
}

    .subscribe-web-items a {
        padding: 8px;
    }

        .subscribe-web-items a i {
            font-size: 25px;
            transition-duration: .5s;
        }

            .subscribe-web-items a i:hover {
                color: var(--milkycolor);
            }

#accordion i {
    color: var(--bs-gray);
}

.mobile-dropdown-menu-items {
    transition-duration: .2s;
}

.hide-mobile-dropdown-menu-items {
    max-height: 0;
    overflow: hidden;
}

.show-mobile-dropdown-menu-items {
    max-height: null;
    overflow: visible;
}

.mobile-dropdown-menu-item {
    display: block;
    padding-right: 0px;
}

    .mobile-dropdown-menu-item li a {
        display: flex;
        align-items: center;
        font-size: 14px;
    }

        .mobile-dropdown-menu-item li a i {
            margin-left: 8px;
        }

.shopping-cart {
    display: flex;
    align-content: end !important;
}

    .shopping-cart a {
        position: relative;
        display: flex;
        align-items: center;
    }

    .shopping-cart a i {
        font-size: 30px;
        font-weight: 600;
    }

        .shopping-cart a span, #item-cart-count,
        #item-cart-count bottom{
            position: absolute;
            top: -2px;
            right: 8px;
            font-size: 10px;
        }
/* تنظیمات پایه فوتر */
#main-footer {
    background: #ffffff;
    border-top: 1px solid #ececec;
    padding-top: 30px;
    color: #555;
    font-family: inherit;
}

/* نوار بالایی اطلاعات سریع */
.footer-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 35px;
}

.working-hours {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-box {
    text-decoration: none;
    color: #10b981; /* سبز زمردی */
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

/* چیدمان ستون‌ها */
.main-footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 30px;
    padding-bottom: 40px;
}
.footer-column {
    padding: 0 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: #10b981;
        border-radius: 2px;
    }

.about-text {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    color: #636e72;
}

/* لیست تماس */
.contact-list {
    list-style: none;
    padding: 0;
}

    .contact-list li {
        margin-bottom: 15px;
        display: flex;
        gap: 12px;
        font-size: 14px;
    }

    .contact-list i {
        color: #10b981;
        margin-top: 4px;
    }

    .contact-list a {
        color: #636e72;
        text-decoration: none;
        transition: 0.3s;
    }

.footer-phones {
    display: flex;
    gap: 8px;
    direction: ltr;
}

/* شبکه‌های اجتماعی مدرن */
.social-links-modern {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f1f2f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    text-decoration: none;
    transition: 0.3s;
}

    .social-icon:hover {
        background: #10b981;
        color: white;
        transform: translateY(-3px);
    }

/* نمادهای اعتماد */
.trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-item {
    width: 85px;
    height: 85px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: 0.3s;
}

    .badge-item img {
        max-width: 100%;
        max-height: 100%;
    }

/* بخش کپی رایت */
.copy-right-area {
    background: #f8f9fa;
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #95a5a6;
    border-top: 1px solid #eee;
}

    .copy-right-area span {
        color: #2d3436;
        font-weight: bold;
    }
#zarinpal {
    display: flex;
    align-items: center;
}
#zarinpal img {
    margin: auto 0;
    height: 65px !important;
}
/* ---------------------------------------------bridcrumb-------------------------------------------- */
/* ========================================
   BREADCRUMB - MODERN & PROFESSIONAL
   ======================================== */

.bridcrumb-container-checkout {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px 0;
    position: relative;
    overflow: hidden;
    margin-top: 71px;
}

    /* ===== خط بالایی متحرک ===== */
    .bridcrumb-container-checkout::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color, #2a9d8f) 0%, var(--milkycolor, #FFC300) 50%, var(--primary-color, #2a9d8f) 100% );
        background-size: 200% 100%;
        animation: breadcrumbShimmer 3s ease-in-out infinite;
    }

@keyframes breadcrumbShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ===== CONTAINER ===== */
.bridcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0;
    padding: 16px 0;
    list-style: none;
}

    /* ===== ITEMS ===== */
    .bridcrumb li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #6c757d;
        transition: all 0.3s ease;
    }

        /* ===== LINKS ===== */
        .bridcrumb li a {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #495057;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            padding: 6px 14px;
            border-radius: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
            position: relative;
        }

            .bridcrumb li a i {
                font-size: 15px;
                color: var(--primary-color, #2a9d8f);
                transition: all 0.3s ease;
            }

            .bridcrumb li a:hover {
                color: var(--primary-color, #2a9d8f);
                background: rgba(42, 157, 143, 0.08);
                transform: translateX(-4px);
            }

                .bridcrumb li a:hover i {
                    transform: scale(1.15) rotate(-6deg);
                }

            .bridcrumb li a:active {
                transform: scale(0.95);
            }

    /* ===== SEPARATOR ===== */
    .bridcrumb .separator {
        color: #ced4da;
        font-size: 16px;
        font-weight: 300;
        margin: 0 2px;
        user-select: none;
    }

    /* ===== LAST ITEM (CURRENT PAGE) ===== */
    .bridcrumb li:last-child {
        pointer-events: none;
    }

        .bridcrumb li:last-child p {
    position: relative;
    padding: 6px 0;
    background: transparent !important;
    border: none !important;
}

.bridcrumb li:last-child p {
    position: relative;
    padding: 6px 0;
    background: transparent !important;
    border: none !important;
}

.bridcrumb li:last-child p::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #2a9d8f), var(--milkycolor, #FFC300));
    border-radius: 3px;
    animation: lineGrow 0.6s ease-out;
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}
/*/////////////////////////////////////////////////////////// Design banner */

#showcase, .content-login-logo,
.user-login, .bridcrumb-container {
    margin-top: 71px;
}

.banner {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    align-items: center;
}

.banner-title h1 {
    color: var(--primary-color);
}

.banner-img {
    position: relative;
    padding: 0 50px;
}

.register-contactus .btn-register {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    transition-duration: 0.5s;
    box-shadow: 0 0 0 0 transparent inset;
}

    .register-contactus .btn-register:hover {
        box-shadow: 0 50px 0 0 var(--milkycolor) inset;
        color: var(--bs-gray);
    }
/* ////////////////////////////////////////////////////////////Why us */
#why-us {
    background-color: var(--primary-gray-color);
}

#container-why-us {
    display: flex;
    margin-bottom: 80px;
}

.why-us-img {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

    .why-us-img .list_crs_img img {
        border-radius: 5px;
        border: 2px solid var(--bs-gray-100);
    }

    .why-us-img .list_crs_img .elsio {
        max-width: 25%;
    }
/*.why-us-img .list_crs_img .cirl {
    position: absolute;
    right: 5%;
    top: 22%;
}
.why-us-img .list_crs_img .arrow {
    position: absolute;
    bottom: 10%;
    pright: 5%;
}
.why-us-img .list_crs_img .moon {
    position: absolute;
    left: 5%;
    top: 30%;
}*/
.list_crs_img .cirl {
    position: absolute;
    right: 5%;
    top: 10%;
}

.list_crs_img .arrow {
    position: absolute;
    bottom: 10%;
    right: 5%;
}

.list_crs_img .moon {
    position: absolute;
    left: 0%;
    top: 30%;
}

.why-us-content {
    width: 70%;
    padding: 20px;
}

    .why-us-content h2 {
        border-bottom: 3px solid var(--primary-color);
        display: inline-block;
        padding-bottom: 10px;
    }

    .why-us-content .contact-use-desc {
        margin-bottom: 40px;
    }

    .why-us-content .features {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

        .why-us-content .features .features-item {
            width: 48%;
            display: flex;
            background-color: var(--secondary-color);
            padding: 30px 15px;
            margin-bottom: 30px;
            border-radius: 5px;
        }

.features-item-icon {
    text-align: center;
}

    .features-item-icon i {
        color: var(--primary-color);
    }

.features-item-text {
    padding: 0 15px;
    text-align: justify;
}

    .features-item-text h3 {
        margin: 0;
    }

    .features-item-text p {
        line-height: 1.7;
    }
/* latest article */
.container-latestarticle-title {
    display: flex;
    justify-content: space-between;
}

    .container-latestarticle-title h2 {
        margin: 0;
    }

    .container-latestarticle-title a {
        padding: 10px 15px;
        border: 1px solid var(--primary-color);
    }

#latest-article .posts {
    display: flex;
}

.posts .post-full, .posts .post-half {
    width: 49%;
}

.post-full {
    padding: 25px;
    margin-left: 30px;
}

.post-full-hover-item, .post-half-hover-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .post-full-hover-item p, .post-half-hover-item p {
        margin: 0 10px 0 0;
    }

.post-full-img-container, .post-half-img-container {
    position: relative;
}

    .post-full-img-container img {
        width: 100%;
        height: 240px;
    }

.post-full-hover-items, .post-half-hover-items {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.post-full-img-container:hover .post-full-hover-items,
.post-half-img-container:hover .post-half-hover-items {
    bottom: 0;
    height: 100%;
}

.post-full-hover-items .item-animate,
.post-half-hover-items .item-animate {
    color: var(--bs-gray-600);
    font-size: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.post-full-hover-item {
    margin: 20px auto;
}

.post-full .post-full-articel-link,
.post-half .post-half-articel-link {
    font-weight: 600;
}

    .post-full .post-full-articel-link:hover {
        color: var(--primary-color);
    }

.post-full .post-full-articel-text,
.post-half .post-half-articel-text {
    text-align: justify;
}

.post-full .post-full-articel-category-link,
.post-half .post-half-articel-category-link {
    text-align: left;
}

.post-full-articel-category-link {
    margin-top: 15px;
}

    .post-full-articel-category-link a {
        padding: 5px 10px;
        border-radius: 15px;
        background: var(--primary-color);
        color: var(--secondary-color);
    }

.post-half-item {
    display: flex;
    padding: 30px 20px;
}

    .post-half-item:first-child {
        margin-bottom: 30px;
    }

.post-half-img-container {
    width: 30%;
    margin-left: 10px;
}

    .post-half-img-container img {
        height: 100%;
    }

.post-half-item-text-link {
    width: 70%;
}

.post-half-hover-item {
    margin-bottom: 5px;
}

.post-half-articel-text {
    margin: 20px 0;
}

.post-half-articel-category-link a {
    padding: 5px 10px;
    border-radius: 15px;
    background: var(--milkycolor);
    color: var(--secondary-color);
}



/* Consultation */  
#Consultation {
    text-align: center;
    background-color: var(--primary-gray-color);
    padding: 40px 0;
}

.container-btn-consultation {
    text-align: center;
}

    .container-btn-consultation a {
        padding: 15px;
        border: 5px;
        transition-duration: 0.7s;
        box-shadow: 0 0 0 0 transparent inset;
    }

        .container-btn-consultation a:hover {
            box-shadow: 0 80px 0 0 var(--milkycolor) inset;
            color: var(--bs-gray);
        }

/* Article Desighn */
.article-header {
    padding: 50px 0;
}

#article-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    margin-bottom: 50px;
}

.article-header-title-shortlink {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .article-header-title-shortlink h1 {
        margin: 0px;
    }

.article-header-shortlink {
    display: flex;
    align-items: center;
    border: 1px solid var(--bs-gray-400);
}

    .article-header-shortlink P {
        margin: 0px;
        padding: 10px;
        border-left: 1px solid var(--bs-gray-400);
        color: var(--bs-gray-500);
    }

    .article-header-shortlink span a {
        padding: 0 15px;
        transition-duration: .5s;
    }

        .article-header-shortlink span a:hover {
            color: var(--primary-color);
        }

#article-content .article-content-main {
    padding-left: 20px;
}

.article-content-main .content-main-Article-statistics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content-main-Article-statistics {
    padding: 10px 15px;
    border-radius: 5px;
}

    .content-main-Article-statistics span i {
        margin-left: 7px;
        color: var(--primary-color);
    }

#article-content-main-image-title {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.article-searchbox, .article-category, .related-product {
    padding: 5px;
    margin-bottom: 15px;
}

    .article-searchbox h4, .article-category h4, .related-article h4 {
        padding: 5px 0;
        margin: 0;
    }

    .article-searchbox div {
        display: flex;
        padding: 15px 7px;
    }

        .article-searchbox div input {
            align-items: center;
            border: 1px solid var(--bs-gray-500);
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
            padding: 5px 20px !important;
            width: 85%;
        }

        .article-searchbox div button {
            background-color: var(--primary-color);
            font-weight: 600;
            padding: 7px 10px;
            color: var(--secondary-color);
            border: none;
            width: 15%;
            margin: 0px;
        }

#article-category-items, #related-article-items {
    padding: 10px;
    margin: 0;
}

    #article-category-items li {
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
        transition-duration: .2s;
        align-items: center;
    }

        #article-category-items li div {
            display: flex;
        }

        #article-category-items li:hover a, #article-category-items li:hover span {
            color: var(--primary-color);
        }

        #article-category-items li i {
            margin-left: 6px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
        }

.stiky-class {
    position: sticky;
    top: 80px;
}

.related-product img {
    border-radius: 10px 10px 0 0;
}

.related-product a:hover {
    color: var(--primary-color);
}

#related-article-items {
    overflow-y: auto;
    scrollbar-color: var(--bs-gray-200) var(--bs-gray-100);
    max-height: 80vh;
}

.related-article-item {
    padding: 5px 3px;
}

    .related-article-item a {
        display: flex;
        gap: 5px;
    }


.article-item-activeted a:hover {
    cursor: text;
}

#related-article-submenu-items {
    padding-right: 12px;
}

    #related-article-submenu-items .related-article-submenu-item {
        font-size: 15px;
        padding: 2px 0;
        line-height: 1.7;
    }

        #related-article-submenu-items .related-article-submenu-item .unpin {
            color: var(--bs-gray-800);
            font-size: 9px;
        }

.article-item-activeted a {
    color: var(--primary-color);
}

.related-article-item .submenu-title {
    display: block;
    border-bottom: 2px solid var(--primary-color);
    background-color: var(--primary-gray);
    padding: 3px 5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-keywords {
    padding: 20px;
}

#article-keywords-items {
    display: flex;
    flex-wrap: wrap;
}

    #article-keywords-items li span {
        display: inline-block;
        margin: 7px 10px;
        padding: 7px 10px;
        background-color: var(--bs-gray-100);
        padding: 5px 15px;
        border-radius: 5px;
        transition-duration: .5s;
    }

    #article-keywords-items li a:hover {
        background-color: var(--primary-color);
        color: var(--secondary-color);
    }
/* comment */

#comments .comments-title {
    font-weight: 600;
    border-bottom: 1px solid var(--bs-gray);
    margin-bottom: 30px;
}

#comments-input-box {
    padding: 30px;
}

#comments-box-top {
    margin-bottom: 15px;
}

    #comments-box-top input, #comment-box-bottom textarea,
    .content-form-send input, .content-form-send textarea,
    .conteiner-login-register-item input,
    .consult-form-item input, .consult-form-item textarea {
        padding: 10px;
        border: 2px solid var(--bs-gray);
        border-radius: 3px;
    }

#comment-box-bottom textarea {
    width: 100%;
    resize: none;
    height: 100px;
}

.enter-comment,
.comments-container {
    padding: 30px 20px;
    border-radius: 3px;
}

.comments-body,
.reply-comments {
    display: flex;
    padding: 30px;
    margin-top: 20px;
}

#box-avatar {
    width: 80px;
    height: 80px;
    margin-left: 20px;
}

.comments-content {
    width: calc(100% - 100px);
}

.comments-user-info-time {
    display: flex;
    justify-content: space-between;
}

.comments-text {
    text-align: justify;
}

.comment-family {
    font-weight: 600;
}

.comment-time i {
    margin-left: 5px;
}

.reply-comments {
    margin-right: 30px;
}
/* admin login Design */

.content-login-logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px 100px;
    justify-self: center;
}

.content-admin-login, .content-admin-logo-login {
    padding: 100px 20px;
}

.content-admin-login {
    border-left: 1px solid var(--bs-gray);
    display: grid;
    gap: 20px;
}

    .content-admin-login input {
        padding: 10px;
        border-radius: 3px;
        border: 2px solid var(--bs-gray);
    }

    .content-admin-login h3, .content-admin-login p {
        text-align: center;
        margin: 0;
        padding: 0;
    }

.content-admin-logo-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .content-admin-logo-login img {
        width: 150px;
        margin: auto 5px;
    }
#content-articlecategory {
    margin-bottom: 50px;
}

.articlecategory-title {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
}

    .articlecategory-title .articlecategory-title-writer {
        text-align: left;
        font-weight: 600;
    }

    .articlecategory-title .articlecategory-title-desc span {
        font-weight: 600;
    }

.articlecategory-conteiner-items {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-bottom: 50px;
}

    .articlecategory-conteiner-items img {
        width: 100%;
        transition-duration: 0.5s;
        box-shadow: 0 0 0 0 transparent inset;
    }

        .articlecategory-conteiner-items img:hover {
            box-shadow: 0 226px 0px 0 var(--milkycolor) inset;
        }

.conteiner-item-title {
    margin: 0 0 20px 0;
    padding: 10px 15px;
}

    .conteiner-item-title span {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        padding: 5px 10px;
        border-radius: 5px;
        margin: 30px 0;
    }

    .conteiner-item-title P {
        margin-top: 20px;
    }

.conteiner-item-counter {
    border-top: 1px solid var(--bs-gray-200);
    padding: 10px;
    text-align: left;
}

    .conteiner-item-counter i {
        margin-left: 5px;
        color: var(--primary-color);
    }

.conteiner-items-info-articles {
    border-top: 1px solid var(--bs-gray-200);
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.conteiner-items-info-article {
    display: flex;
    align-items: center;
}
/* ؟/////////////////////////contactttttttttttttttttttttttttt//////////////////////////////////////////////// */
/* تنظیمات پایه */
*, *::before, *::after {
    box-sizing: border-box;
}

#contactus-aboutme-container {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

/* تب‌ها (دکمه‌های انتخاب) */
.contact-us-aboutme-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-content-contactus-container, .tab-content-aboutme-container {
    padding: 12px 40px;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid #eee;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

.active-tab-content-contactus, .active-tab-content-aboutus {
    background-color: var(--darkgreen) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(38, 70, 83, 0.2);
}

/* کارت اصلی (کانتینر فرم و اطلاعات) */
#content-contactus-container, #content-aboutus-container {
    display: flex;
    flex-wrap: nowrap; /* جلوگیری از شکستن در دسکتاپ */
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* تقسیم‌بندی ۵۰-۵۰ با دقت بالا */
.content-form-send, .content-contactus, .content-abouteus-message, .content-abouteus-logo {
    flex: 0 0 50%;
    padding: 50px;
}

    /* ظاهر فرم */
    .content-form-send input, .content-form-send textarea {
        width: 100%;
        padding: 16px;
        margin: 10px 0;
        background-color: #f8f8f8;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        transition: all 0.3s;
    }

        .content-form-send input:focus, .content-form-send textarea:focus {
            border-color: var(--primary-color);
            background-color: white;
            outline: none;
            box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
        }

    .content-form-send button {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 12px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.4s;
        width: 100%;
        margin-top: 10px;
    }

        .content-form-send button:hover {
            background-color: var(--darkgreen);
            transform: translateY(-2px);
        }

/* آیکون‌های تماس */
.content-contactus-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

    .content-contactus-item span {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f0f0f0;
        color: var(--primary-color);
        font-size: 18px;
        transition: 0.3s;
    }

    .content-contactus-item:hover span {
        background: var(--primary-color);
        color: white;
    }

/* استایل خاص بخش درباره ما و لوگو */
.content-abouteus-logo {
    background-color: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .content-abouteus-logo img {
        max-width: 180px;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* انیمیشن لوگو در دسکتاپ */
    .content-abouteus-logo:hover img {
        transform: scale(1.05) rotate(2deg);
    }
/* کانتینر اصلی کارت */
#content-contactus-container, #content-aboutus-container {
    display: flex;
    flex-wrap: nowrap; /* جلوگیری از شکستن در دسکتاپ */
    background: var(--bs-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    max-width: 1000px; /* محدود کردن عرض برای ظاهر حرفه‌ای */
    margin: 0 auto;
}

/* تقسیم‌بندی دقیق ۵۰-۵۰ */
.content-form-send, .content-contactus, .content-abouteus-message, .content-abouteus-logo {
    flex: 0 0 50%; /* اجبار به ۵۰ درصد */
    padding: 40px;
}

    /* ظاهر حرفه‌ای فرم */
    .content-form-send input, .content-form-send textarea {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 15px;
        border: 1px solid var(--bs-gray-300);
        border-radius: 6px;
        font-family: inherit;
    }

    .content-form-send button {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 6px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }

        .content-form-send button:hover {
            background-color: var(--darkgreen);
        }

/* اطلاعات تماس */
.content-contactus {
    background: var(--primary-gray);
    color: var(--bs-gray-800);
}

.content-contactus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .content-contactus-item span {
        color: var(--primary-color);
        font-size: 18px;
    }
/* Cunsult///////////////////////////////////////////////// */
.consult-help {
    display: flex;
    padding-top: 40px;
}

#consult-help-items {
    margin: 0;
    padding: 0;
}

    #consult-help-items li:first-child {
        margin-top: 0;
    }

.consult-help-text-items-left, .consult-help-text-items-right {
    width: 34%;
    text-align: center;
}

    .consult-help-text-items-right .consult-help-text-item,
    .consult-help-text-items-left .consult-help-text-item {
        display: inline-block;
        padding: 20px;
        border-radius: 15px;
        background-color: ar(--bs-gray-200);
        color: var(--bs-gray-500);
        border: 2px solid var(--bs-gray-400);
    }

        .consult-help-text-items-right .consult-help-text-item:nth-child(1) {
            margin-top: 5px;
        }

        .consult-help-text-items-right .consult-help-text-item:nth-child(2) {
            margin-top: 220px;
        }

        .consult-help-text-items-left .consult-help-text-item:nth-child(1) {
            margin-top: 175px;
        }

        .consult-help-text-items-left .consult-help-text-item:nth-child(2) {
            margin-top: 205px;
        }

.consult-help-text-item i {
    font-size: 18px;
    font-weight: 600;
    width: 35px;
    height: 35px;
    padding: 7px;
    border: 1px solid var(--bs-gray-300);
    border-radius: 50%;
    margin-left: 10px;
}

.consult-help-items-center {
    width: 20%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

#consult-help-items li {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    display: block;
    position: relative;
    color: var(--secondary-color);
    margin: 100px 10px;
    box-shadow: 0 0 12px -2px #ddd;
}

    #consult-help-items li::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 49%;
        width: 2px;
        height: 100px;
        background: var(--bs-gray-200);
        z-index: -1;
    }

    #consult-help-items li::before {
        content: '';
        position: absolute;
        top: 50%;
        height: 2px;
        background: var(--bs-gray-200);
        z-index: -1;
    }

    #consult-help-items li:nth-child(1)::before,
    #consult-help-items li:nth-child(3)::before,
    #consult-help-items li:nth-child(2)::before,
    #consult-help-items li:nth-child(4)::before {
        width: 70px;
    }

    #consult-help-items li:nth-child(1)::before {
        left: 80px;
    }

    #consult-help-items li:nth-child(3)::before {
        left: 80px;
    }

    #consult-help-items li:nth-child(2)::before {
        right: 80px;
    }

    #consult-help-items li:nth-child(4)::before {
        right: 80px;
    }

    #consult-help-items li:last-child::after {
        display: none;
    }

#consult-help-items .active {
    transition-duration: .5s;
    background: var(--primary-color);
}

    #consult-help-items .active ~ li {
        background: hsl(var(--primary-color) / .5);
        color: var(--bs-gray-400);
    }

        #consult-help-items .active ~ li::after {
            background: var(--bs-gray-200);
        }

        #consult-help-items .active ~ li::before {
            background: var(--bs-gray-200);
        }

.run-consult-help-right-key-arrow,
.run-consult-help-left-key-arrow {
    width: 5%;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 15px;
}

.run-consult-help-right-key-arrow {
    margin-left: 15px;
}

.run-consult-help-left-key-arrow {
    margin-right: 15px;
}

    .run-consult-help-right-key-arrow strong i,
    .run-consult-help-left-key-arrow strong i {
        font-weight: 800;
        line-height: 2;
        font-size: 35px;
        color: var(--bs-gray-800);
    }

        .run-consult-help-right-key-arrow strong i:hover,
        .run-consult-help-left-key-arrow strong i:hover {
            cursor: pointer;
            color: var(--primary-color);
        }

.active-consult-help-text-item {
    color: var(--secondary-color) !important;
    transition-duration: 0.5s;
    box-shadow: 0 200px 0px 0 var(--primary-color) inset;
    color: var(--bs-gray);
}

.active-consult-help-text-item-i {
    transition-duration: .5s;
    background-color: var(--milkycolor);
    color: var(--secondary-color);
}

.consult-form-item input, .consult-form-item textarea {
    width: 100%;
    margin: 15px 0;
}

.consult-form-item textarea {
    resize: none;
}

.consult-container {
    padding: 30px;
}

.consult-container-form {
    display: flex;
    flex-wrap: wrap;
    margin: 80px 0;
}

.consult-form, .cunsult-contact {
    width: 48%;
    padding: 20px 40px;
}

.consult-form {
    background-color: var(--bs-gray-100);
}

.consult-container-form .cunsult-contact {
    margin-right: 30px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

.cunsult-contact-checklist-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.cunsult-contact-checklist i {
    margin-left: 10px;
    color: var(--primary-color);
}

.cunsult-contact-checklist-item {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    padding: 10px 0;
}

    .cunsult-contact-checklist-item i {
        margin-left: 10px;
        border-radius: 50%;
        padding: 10px;
        border: 1px solid var(--bs-gray-500);
        color: var(--primary-color);
        font-weight: 600;
    }

.cunsult-contact-thanks {
    width: 100%;
    text-align: left;
}

.disable-arrow-key {
    cursor: default !important;
    color: var(--bs-gray-300) !important;
}

    .disable-arrow-key:hover {
        color: var(--bs-gray-100);
    }


/* ////////////////////////////////////////////===== CHECKOUT LAYOUT ////////////////////////////////////////////===== */
/* ========================================
   CHECKOUT AUTH SECTION - COMPLETE STYLES
   ======================================== */

/* ========================================
   CHECKOUT PAGE - COMPLETE STYLES
   ======================================== */

/* ========================================
   CHECKOUT LAYOUT
   ======================================== */

/* ===== ردیف اول: جدول + صورتحساب ===== */
.bridcrumb-container-checkout {
    margin-top: 71px;
}
/* ===== ردیف اول: جدول (تمام عرض) ===== */
.checkout-row-full {
    width: 100%;
    margin-bottom: 30px;
}

/* ===== ردیف دوم: دو ستونه ===== */
.checkout-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    margin: 50px 0;
}

.checkout-row-top {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: flex-start;
    margin: 30px 0;
}

/* ===== ردیف دوم: ورود / ثبت نام ===== */
.checkout-row-bottom {
    margin: 0 0 30px 0;
    width: 100%;
}

/* ========================================
   CART TABLE
   ======================================== */
.cart-table {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px 30px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

#cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    #cart-table thead {
        background: #f8f9fa;
        border-radius: 10px;
    }

        #cart-table thead th {
            padding: 14px 12px;
            font-weight: 600;
            font-size: 13px;
            color: #555;
            text-align: center;
            border-bottom: 2px solid #e9ecef;
            white-space: nowrap;
        }

    #cart-table tbody td {
        padding: 16px 12px;
        border-bottom: 1px solid #f1f3f5;
        text-align: center;
        font-size: 13px;
        color: #2d3436;
        vertical-align: middle;
    }

    #cart-table tbody tr:last-child td {
        border-bottom: none;
    }

    #cart-table tbody tr:hover {
        background: #fafbfc;
    }

/* ===== DELETE BUTTON ===== */
.delete-cart-item {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 12px;
    color: #e74c3c;
    transition: all 0.2s ease;
    text-decoration: none;
    background: #fff;
    cursor: pointer;
}

    .delete-cart-item:hover {
        background: #e74c3c;
        color: #fff;
        border-color: #e74c3c;
    }

/* ========================================
   DISCOUNT SECTION
   ======================================== */
.discount-product {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
}

.discount-product-btn {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .discount-product-btn input {
        height: 40px;
        border-radius: 10px;
        border: 1.5px solid #e9ecef;
        padding: 0 14px;
        width: 200px;
        font-size: 13px;
        background: #fafbfc;
        transition: all 0.25s ease;
        outline: none;
    }

        .discount-product-btn input:focus {
            border-color: #2a9d8f;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.08);
        }

.discount-product-clearcart {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== DEFAULT BUTTON ===== */
.btn-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    height: 40px;
    border-radius: 10px;
    background: #f1f3f5;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    color: #2d3436;
    white-space: nowrap;
}

    .btn-default:hover {
        background: #e9ecef;
        transform: translateY(-1px);
    }

.discount-product-btn .btn-default {
    background: #2a9d8f;
    color: #fff;
    font-weight: 500;
}

    .discount-product-btn .btn-default:hover {
        background: #238b7e;
    }

.discount-product-clearcart .btn-default:first-child {
    background: #fff;
    color: #e74c3c;
    border: 1.5px solid #f5c6cb;
}

    .discount-product-clearcart .btn-default:first-child:hover {
        background: #e74c3c;
        color: #fff;
        border-color: #e74c3c;
    }

.discount-product-clearcart .btn-default:last-child {
    background: #f1f3f5;
    color: #2d3436;
    border: 1.5px solid #dee2e6;
}

    .discount-product-clearcart .btn-default:last-child:hover {
        background: #e9ecef;
    }

/* ========================================
   SUMMARY CARD (PAYMENT)
   ======================================== */
.cart-totalprice {
    position: relative;
}

.cart-totalprice-items {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px 30px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

    .cart-totalprice-items h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #2d3436;
        padding-bottom: 14px;
        border-bottom: 2px solid #f1f3f5;
    }

.cart-totalprice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f8f9fa;
}

    .cart-totalprice-item:last-of-type {
        border-bottom: none;
    }

    .cart-totalprice-item p {
        margin: 0;
        font-weight: 400;
    }

    .cart-totalprice-item span {
        font-weight: 500;
        color: #2d3436;
    }

.cart-totalprice-item-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed #dee2e6;
    font-size: 16px;
}

    .cart-totalprice-item-final strong {
        font-weight: 700;
        color: #2d3436;
    }

    .cart-totalprice-item-final span {
        font-weight: 700;
        color: #2a9d8f;
        font-size: 18px;
    }

.cart-totalprice-item-pay {
    margin-top: 22px;
}

    .cart-totalprice-item-pay button {
        width: 100%;
        height: 50px;
        border: none;
        border-radius: 12px;
        background: #2a9d8f;
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: inherit;
    }

        .cart-totalprice-item-pay button:hover {
            background: #238b7e;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(42, 157, 143, 0.3);
        }

        .cart-totalprice-item-pay button:active {
            transform: translateY(0);
        }

        .cart-totalprice-item-pay button#btnGoToAuth {
            background: #dfe6e9 !important;
            color: #636e72 !important;
            cursor: pointer !important;
        }

            .cart-totalprice-item-pay button#btnGoToAuth:hover {
                background: #b2bec3 !important;
                color: #2d3436 !important;
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            }

/* ===== CUSTOM DISCOUNT RESULT ===== */
#div-customdiscount .cart-totalprice-item {
    background: #f0fdf4;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 6px 0;
    border: 1px solid #bbf7d0;
}

#strong-customdiscountamount {
    color: #16a34a;
    font-weight: 600;
    font-size: 14px;
}

#custom-discount-row {
    transition: all 0.3s ease;
    margin: 6px 0 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
}

    #custom-discount-row p {
        margin: 0 !important;
    }

/* ========================================
   AUTH SECTION
   ======================================== */
.checkout-auth-wrapper {
    margin-top: 0;
}

.checkout-auth-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 25px 30px;
    border: 1px solid #ececec;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

    .checkout-auth-card h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
        color: #2d3436;
        letter-spacing: -0.3px;
    }

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: #f7f8fa;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #7f8c8d;
    font-family: inherit;
}

    .auth-tab:hover {
        background: rgba(0, 0, 0, 0.04);
        color: #2d3436;
    }

    .auth-tab.active {
        background: var(--primary-color, #2a9d8f);
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(42, 157, 143, 0.25);
    }

.auth-form {
    display: none;
    animation: authFadeIn 0.35s ease forwards;
}

    .auth-form.active {
        display: block;
    }

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-input {
    position: relative;
    margin-bottom: 14px;
}

    .auth-input input {
        width: 100%;
        height: 46px;
        border-radius: 10px;
        border: 1.5px solid #e3e3e3;
        padding: 0 42px 0 16px;
        font-size: 14px;
        background: #fafbfc;
        outline: none;
        transition: all 0.25s ease;
        color: #2d3436;
        font-family: inherit;
    }

        .auth-input input::placeholder {
            color: #b2bec3;
            font-size: 13px;
        }

        .auth-input input:focus {
            border-color: var(--primary-color, #2a9d8f);
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.08);
        }

    .auth-input i {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 15px;
        color: #b2bec3;
        transition: color 0.25s ease;
    }

    .auth-input .input-icon {
        right: 14px;
    }

    .auth-input .toggle-password {
        left: 14px;
        cursor: pointer;
        color: #b2bec3;
        z-index: 2;
    }

        .auth-input .toggle-password:hover {
            color: #636e72;
        }

    .auth-input .status-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        transition: all 0.3s ease;
        z-index: 1;
    }

        .auth-input .status-icon.fa-check-circle {
            color: #00b894;
        }

        .auth-input .status-icon.fa-times-circle {
            color: #e74c3c;
        }

.auth-input-container {
    margin-bottom: 16px;
}

    .auth-input-container .auth-input {
        margin-bottom: 4px;
    }

.strength-meter {
    width: 100%;
    height: 4px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 2px;
}

    .strength-meter .bar {
        height: 100%;
        width: 0%;
        border-radius: 4px;
        transition: width 0.4s ease, background 0.4s ease;
        background: #dfe6e9;
    }

        .strength-meter .bar.weak {
            background: #e74c3c;
            width: 25%;
        }

        .strength-meter .bar.medium {
            background: #fdcb6e;
            width: 60%;
        }

        .strength-meter .bar.strong {
            background: #00b894;
            width: 100%;
        }

.auth-error {
    background: #fef0ef;
    border: 1px solid #fadbd8;
    color: #e74c3c;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    display: none;
    text-align: right;
}

    .auth-error.show {
        display: block;
        animation: shakeError 0.4s ease;
    }

@keyframes shakeError {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.btn-auth-submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color, #2a9d8f);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
}

    .btn-auth-submit:hover {
        background: #238b7e;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(42, 157, 143, 0.3);
    }

    .btn-auth-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn-auth-submit.loading {
        color: transparent !important;
        pointer-events: none;
    }

        .btn-auth-submit.loading::after {
            content: '';
            position: absolute;
            width: 22px;
            height: 22px;
            top: 50%;
            left: 50%;
            margin: -11px 0 0 -11px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #ffffff;
            animation: spin 0.8s linear infinite;
        }

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.other-login-type-title {
    text-align: center;
    margin: 22px 0 14px;
    position: relative;
}

    .other-login-type-title::before,
    .other-login-type-title::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background: #e0e0e0;
    }

    .other-login-type-title::before {
        right: 0;
    }

    .other-login-type-title::after {
        left: 0;
    }

    .other-login-type-title strong {
        font-weight: 400;
        color: #b2bec3;
        font-size: 13px;
        background: #ffffff;
        padding: 0 14px;
        position: relative;
        z-index: 1;
    }

.login-by {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-btn {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    font-family: inherit;
    text-decoration: none;
}

    .social-btn i {
        font-size: 18px;
    }

    .social-btn.google {
        background: #f1f3f4;
        color: #3c4043;
        border: 1px solid #dadce0;
    }

        .social-btn.google:hover {
            background: #e8eaed;
            border-color: #c6c9cd;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .social-btn.google i {
            color: #ea4335;
        }

    .social-btn.github {
        background: #24292e;
        color: #ffffff;
        border: 1px solid #1b1f23;
    }

        .social-btn.github:hover {
            background: #1b1f23;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .social-btn.github i {
            color: #ffffff;
        }

.highlight-auth {
    animation: highlightPulse 0.8s ease 3;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(42, 157, 143, 0);
        border-color: #ececec;
    }

    25% {
        box-shadow: 0 0 0 6px rgba(42, 157, 143, 0.12);
        border-color: var(--primary-color, #2a9d8f);
    }

    50% {
        box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.06);
        border-color: #ececec;
    }

    75% {
        box-shadow: 0 0 0 6px rgba(42, 157, 143, 0.12);
        border-color: var(--primary-color, #2a9d8f);
    }
}
/*/////////////////////////////////*/ /*modal//////////////////////////////////////////////////*/
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 250px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    font-family: sans-serif;
    animation: slideIn 0.3s ease forwards;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.toast.info {
    background-color: #17a2b8;
}

.toast.warning {
    background-color: #ffc107;
    color: #000;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    animation: progressAnim linear forwards;
}

@keyframes progressAnim {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@-webkit-keyframes fl-y {
    0% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    100% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

@keyframes fl-y {
    0% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    100% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

/* کانتینر اصلی برای نگه داشتن دکمه ها در طرفین */
.slider-main-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.product-items-slider {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px !important; /* فاصله بین کارت ها */
    padding: 20px 5px !important;
    scrollbar-width: none;
    cursor: grab;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.product-items-slider::-webkit-scrollbar {
    display: none;
}

/* تنظیم نمایش دقیق ۳ کارت در دسکتاپ */
.product-slide-item {
    /* فرمول: (100% تقسیم بر 3) منهای (مقدار Gap) */
    flex: 0 0 calc(33.333% - 14px) !important;
    min-width: calc(33.333% - 14px) !important;
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* استایل دکمه‌های ناوبری */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
}

.slider-arrow:hover {
    background: #ffc107;
    color: #fff;
    border-color: #ffc107;
}

.prev-arrow {
    right: -22px;
}

.next-arrow {
    left: -22px;
}

/* استایل داخلی کارت محصول */
.product-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}
.product-item-img {
    position: relative; /* ← اگر این نباشه، تخفیف نسبت به صفحه نمایش قرار میگیره */
    overflow: hidden;
    background: #f0f2f5;
}

.product-item-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* دکمه‌های ورود و ثبت نام مدرن (دسکتاپ) */
.login-register #navbar-login {
    background: #f1f3f5;
    color: #495057 !important;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s;
    margin-left: 8px;
}

.login-register #navbar-register {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    transition: all 0.3s;
}

    .login-register #navbar-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    }

/* استایل‌های منوی موبایل و رفع مشکل رنگ خردلی */
.mobile-sidebar-menu > li > a:hover {
    background: #fff5e6 !important; /* رنگ خردلی ملایم و شیک */
    color: #e67e22 !important; /* رنگ متن نارنجی تیره */
}

.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
}

    .mobile-sidebar-overlay.active {
        display: block;
    }

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

    .mobile-sidebar.active {
        left: 0;
    }

/* دکمه‌های موبایل */
.mobile-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-auth-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
}

.mobile-login-btn {
    background: #f8f9fa;
    color: #333;
}

.mobile-register-btn {
    background: #ff9800;
    color: #fff;
}

/* زیرمنو */
.mobile-sidebar-submenu {
    display: none;
    background: #fafafa;
    list-style: none;
    padding: 0;
}

.mobile-has-submenu.open .mobile-sidebar-submenu {
    display: block;
}

.mobile-has-submenu.open .submenu-toggle-icon {
    transform: rotate(180deg);
}

/* پاک‌سازی و تنظیم منوی جدید */
#mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar-header {
    flex-shrink: 0;
}

.mobile-sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.mobile-sidebar-footer {
    flex-shrink: 0;
    padding: 15px;
    border-top: 1px solid #eee;
    background: #fff;
}

#mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    display: none;
}

.mobile-sidebar-overlay.active {
    display: block;
}

/* اصلاح رنگ ها (حذف خردلی جیغ) */
.mobile-sidebar-menu > li > a {
    padding: 15px 20px;
    color: #444;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-sidebar-menu > li > a:hover {
    background: #f8f9fa; /* خاکستری خیلی ملایم به جای خردلی */
    color: #ff9800 !important; /* نارنجی ملایم برای متن */
}

/* اصلاح دکمه‌های ورود و ثبت نام */
.mobile-auth-btn {
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-login-btn {
    background: #e9ecef;
    color: #333;
}

.mobile-register-btn {
    background: #ff9800;
    color: #fff;
}

.mobile-auth-btn:hover {
    opacity: 0.9;
}

/* رفع مشکل نمایش دوره‌ها */
.mobile-sidebar-submenu {
    display: none; /* مخفی در حالت عادی */
    padding-right: 15px;
    background: #fdfdfd;
}

.mobile-has-submenu.open .mobile-sidebar-submenu {
    display: block; /* نمایش در حالت باز */
}
/* ========================================
   PRODUCT CARD - FOOTER & DISCOUNT ENHANCEMENTS
   ======================================== */

/* ===== PRODUCT ITEM FOOTER - بهبود یافته ===== */
.product-item-footer {
    padding: 14px 16px 18px;
    margin-top: auto;
    border-top: 1px solid #f0f2f5;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.01) 100%);
}

.product-item-footer-teacher-price {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== TEACHER SECTION - بهبود یافته ===== */
.product-item-footer-teacher {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-item:hover .product-item-footer-teacher {
    background: rgba(42, 157, 143, 0.05);
    border-color: rgba(42, 157, 143, 0.1);
}

.product-item-footer-teacher i {
    color: var(--primary-color, #2a9d8f);
    font-size: 14px;
    width: 20px;
    text-align: center;
    background: rgba(42, 157, 143, 0.1);
    padding: 4px;
    border-radius: 6px;
}

.product-item-footer-teacher p {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ===== PRICE & VIDEO - بهبود یافته ===== */
.product-item-footer-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.product-item-footer-price-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

    .product-item-footer-price-item:first-child {
        flex: 0.7;
    }

    .product-item-footer-price-item:last-child {
        flex: 1.3;
        background: rgba(42, 157, 143, 0.06);
    }

.product-item:hover .product-item-footer-price-item {
    background: rgba(42, 157, 143, 0.04);
}

    .product-item:hover .product-item-footer-price-item:last-child {
        background: rgba(42, 157, 143, 0.1);
    }

.product-item-footer-price-item i {
    font-size: 13px;
    color: var(--primary-color, #2a9d8f);
}

.product-item-footer-price-item strong {
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
}

/* ===== PRICE WITH DISCOUNT - بهبود یافته ===== */
.product-item-footer-price-item:last-child strong {
    color: var(--primary-color, #2a9d8f);
    font-weight: 700;
    font-size: 14px;
}

/* قیمت با تخفیف - خط خورده */
.product-item-footer-price-item:last-child .old-price {
    text-decoration: line-through;
    color: #adb5bd !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    margin-left: 4px;
}
/* ========================================
   DISCOUNT BADGE - MINIMAL & ELEGANT
   ======================================== */

.product-item-img-discount {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    min-width: 54px;
    min-height: 54px;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.35);
    z-index: 5;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== هاور ساده ===== */
.product-item:hover .product-item-img-discount {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.5);
}

/* ===== متن "تخفیف" ===== */
.product-item-img-discount .discount-text {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ===== عدد تخفیف ===== */
.product-item-img-discount .discount-value {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

    .product-item-img-discount .discount-value::after {
        content: '%';
        font-size: 11px;
        font-weight: 600;
    }

/* ========================================
   VARIANT 2 - دایره‌ای
   ======================================== */
.product-item-img-discount-circle {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #c0392b);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.35);
    z-index: 5;
    border: 3px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-item:hover .product-item-img-discount-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.5);
}

.product-item-img-discount-circle .discount-text {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.product-item-img-discount-circle .discount-value {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

    .product-item-img-discount-circle .discount-value::after {
        content: '%';
        font-size: 10px;
        font-weight: 600;
    }

/* ========================================
   VARIANT 3 - ریبون (نوار) 🌟
   ======================================== */
.product-item-img-discount-ribbon {
    position: absolute;
    top: 10px;
    right: -10px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff4757, #c0392b);
    color: #fff;
    padding: 6px 16px 6px 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.35);
    z-index: 5;
    border-radius: 0 8px 8px 0;
}

    /* ===== دم ریبون ===== */
    .product-item-img-discount-ribbon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -10px;
        width: 10px;
        height: 100%;
        background: linear-gradient(135deg, #ff4757, #c0392b);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    /* ===== گوشه ریبون ===== */
    .product-item-img-discount-ribbon::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 10px;
        width: 8px;
        height: 8px;
        background: #a93226;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
    }

.product-item:hover .product-item-img-discount-ribbon {
    transform: translateX(-4px);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.5);
}

.product-item-img-discount-ribbon i {
    font-size: 14px;
}

/* ========================================
   VARIANT 4 - مدرن با خط زیرین
   ======================================== */
.product-item-img-discount-modern {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    min-width: 52px;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-item:hover .product-item-img-discount-modern {
    transform: scale(1.05);
    background: rgba(255, 71, 87, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-item-img-discount-modern .discount-text {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.product-item-img-discount-modern .discount-value {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

    .product-item-img-discount-modern .discount-value::after {
        content: '%';
        font-size: 11px;
        font-weight: 600;
    }

/* ===== خط زیرین مدرن ===== */
.product-item-img-discount-modern::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4757, transparent);
    border-radius: 2px;
}

.product-item h2 {
    font-size: 15px;
    font-weight: 700;
    color: #2d3436;
    padding: 14px 16px 8px;
    margin: 0;
    line-height: 1.6;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.3px;
}

    /* ===== خط زیرین عنوان ===== */
    .product-item h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 16px;
        width: 30px;
        height: 2px;
        background: var(--primary-color, #2a9d8f);
        border-radius: 2px;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

/* ===== هاور روی کارت - عنوان ===== */
.product-item:hover h2 {
    color: var(--primary-color, #2a9d8f);
    transform: translateY(-1px);
}

    .product-item:hover h2::after {
        opacity: 1;
        width: 50px;
    }

/* ========================================
   VARIANT 2 - با شماره/آیکون
   ======================================== */
.product-item h2.has-icon {
    padding-right: 32px;
}

    .product-item h2.has-icon::before {
        content: '📚';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        opacity: 0.3;
        transition: all 0.3s ease;
    }

.product-item:hover h2.has-icon::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* ========================================
   VARIANT 3 - با نقطه شروع
   ======================================== */
.product-item h2.with-dot {
    padding-right: 20px;
}

    .product-item h2.with-dot::before {
        content: '';
        position: absolute;
        right: 4px;
        top: 18px;
        width: 6px;
        height: 6px;
        background: var(--primary-color, #2a9d8f);
        border-radius: 50%;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

.product-item:hover h2.with-dot::before {
    opacity: 1;
    transform: scale(1.3);
}

/* ========================================
   VARIANT 4 - با خط کناری
   ======================================== */
.product-item h2.with-border {
    padding-right: 16px;
    padding-left: 16px;
}

    .product-item h2.with-border::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: var(--primary-color, #2a9d8f);
        border-radius: 3px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

.product-item:hover h2.with-border::before {
    height: 60%;
}

/* ========================================
   STICKY ADD TO CART BUTTON
   ======================================== */
/* ========================================
   STICKY ADD TO CART - DESKTOP
   ======================================== */

.sticky-add-to-cart-desktop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    padding: 16px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 420px;
    width: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(0);
    opacity: 1;
}

    /* ===== حالت مخفی ===== */
    .sticky-add-to-cart-desktop.hidden {
        transform: translateY(120px);
        opacity: 0;
        pointer-events: none;
    }

    /* ===== هاور ===== */
    .sticky-add-to-cart-desktop:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
    }

/* ===== اطلاعات محصول ===== */
.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

    .sticky-product-info img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        object-fit: cover;
        border: 1px solid #f0f0f0;
    }

.sticky-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 160px;
}

.sticky-product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #2a9d8f);
}

    .sticky-product-price .price-old {
        font-size: 11px;
        font-weight: 400;
        color: #adb5bd;
        text-decoration: line-through;
    }

/* ===== دکمه ===== */
.btn-sticky-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color, #2a9d8f), #238b7e);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

    .btn-sticky-add:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(42, 157, 143, 0.4);
        background: linear-gradient(135deg, #238b7e, #1a6b61);
    }

    .btn-sticky-add:active {
        transform: translateY(0);
    }

    .btn-sticky-add i {
        font-size: 16px;
    }

/* ========================================
   STICKY ADD TO CART - MOBILE (پایین صفحه)
   ======================================== */
/* ========================================
   STICKY ACTION BOX - برای همه حالات
   ======================================== */

.sticky-action-box {
    position: fixed;
    bottom: 69px;
    right: 0px;
    z-index: 9999;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 460px;
    width: auto;
    min-width: 280px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(0);
    opacity: 1;
}

    /* ===== حالت مخفی ===== */
    .sticky-action-box.hidden {
        transform: translateY(120px);
        opacity: 0;
        pointer-events: none;
    }

    /* ===== هاور ===== */
    .sticky-action-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
    }

/* ===== محتوا ===== */
.sticky-action-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   حالت ۱: افزودن به سبد خرید
   ======================================== */
.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    padding-right: 26px;
}

    .sticky-product-info img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        object-fit: cover;
        border: 1px solid #f0f0f0;
    }

.sticky-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 160px;
}

.sticky-product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #2a9d8f);
}

    .sticky-product-price .price-old {
        font-size: 11px;
        font-weight: 400;
        color: #adb5bd;
        text-decoration: line-through;
    }

/* ========================================
   حالت ۲: پیشرفت دوره
   ======================================== */
.sticky-progress-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    margin-right: 25px;
}

    .sticky-progress-info i {
        color: var(--primary-color, #2a9d8f);
        font-size: 18px;
    }

.sticky-progress-bar {
    flex: 1;
    min-width: 100px;
    height: 15px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.sticky-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #2a9d8f), #4ade80);
    border-radius: 10px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
    min-width: 30px;
}

/* ========================================
   حالت ۳: آزمون
   ======================================== */
.sticky-exam-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    flex: 1;
}

    .sticky-exam-info i {
        color: #f59e0b;
        font-size: 18px;
    }

.sticky-exam-buttons {
    display: flex;
    gap: 8px;
}

/* ========================================
   حالت ۴: مدرک
   ======================================== */
.sticky-certificate-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    flex: 1;
}

    .sticky-certificate-info i {
        color: #10b981;
        font-size: 18px;
    }

/* ========================================
   دکمه‌های عمومی
   ======================================== */
.btn-sticky-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
    background: linear-gradient(135deg, var(--primary-color, #2a9d8f), #238b7e);
    color: #ffffff;
}

    .btn-sticky-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(42, 157, 143, 0.4);
    }

    .btn-sticky-action:active {
        transform: translateY(0);
    }

    .btn-sticky-action i {
        font-size: 16px;
    }

    /* ===== دکمه‌های خاص ===== */
    .btn-sticky-action.btn-exam {
        background: linear-gradient(135deg, #f59e0b, #ffb300);
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }

        .btn-sticky-action.btn-exam:hover {
            box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
        }

    .btn-sticky-action.btn-questions {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

        .btn-sticky-action.btn-questions:hover {
            box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
        }

    .btn-sticky-action.btn-certificate {
        background: linear-gradient(135deg, #10b981, #059669);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }

        .btn-sticky-action.btn-certificate:hover {
            box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
        }
.sticky-close-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: 14px;
    z-index: 10;
}

.sticky-close-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    transform: rotate(90deg);
}

.sticky-close-btn:active {
    transform: scale(0.9);
}

/* ===== حالت بسته شده توسط کاربر ===== */
.sticky-action-box.closed {
    display: none !important;
}

@media only screen and (min-width: 1600px) {
    #products {
        background-image: url(../images/banner/mainpage-product-baner.webp);
        background-repeat: no-repeat;
        background-position: right;
    }
}

@media only screen and (min-width: 1201px) and (max-width: 1500px) {
    .why-us-content .features .features-item {
        width: 49%;
        margin-bottom: 10px;
        padding: 0 15px;
    }

    .why-us-content p {
        margin-bottom: 20px;
    }
    
}





/* //اگه بزرگتر از 1200 بود */
@media only screen and (min-width: 1201px) {
    .container {
        width: calc(1200px - 17px);
    }

    #dropdown-menu {
        display: none;
    }

    .category-image {
        display: inline-block;
    }

    .mega-submenu-category-item img {
        display: inline-block;
    }
    .product-slide-item {
        flex: 0 0 calc(25% - 20px); /* در دسکتاپ 4 عدد */
        scroll-snap-align: start; /* قفل شدن از سمت راست/شروع */
    }
   
}


@media only screen and (min-width:1201px) and (max-width: 1500px) {
    .why-us-content p {
        display: none;
    }

    .why-us-content .features .features-item {
        margin-bottom: 25px;
        padding: 5px 15px;
    }
    .product-slide-item {
        flex: 0 0 calc(25% - 20px); /* در دسکتاپ 4 عدد */
        scroll-snap-align: start; /* قفل شدن از سمت راست/شروع */
    }
    
}

@media only screen and (max-width: 1200px) {
    .why-us-content {
        width: 60%;
    }

    .why-us-img {
        width: 40%;
    }

    .why-us-content .features .features-item {
        width: 98%;
        margin-bottom: 15px;
        padding: 15px;
    }

    .why-us-content p {
        display: none;
    }

    .features-item-text h3 {
        margin: 5px 0;
    }

    .features-item-text {
        margin: 5px;
    }

    .why-us-content {
        width: 60%;
    }

    .why-us-img {
        width: 40%;
    }

    .consult-container {
        display: none;
    }



    .navbar-content .profile-navbar {
        grid-template-columns: 1fr !important;
        justify-content: left !important;
    }



    .navbar-logo {
        justify-content: right;
    }

    .profile-panel {
        z-index: 10001;
        display: none;
        width: 0;
        position: fixed;
        padding: 10px 5px !important;
        height: 100vh;
        width: 340px !important;
        left: -300px !important;
        top: 50px !important;
        box-shadow: 0 0 12px -2px #ddd;
        margin: 20px 0 !important;
        border-radius: 0px !important;
    }

    .profile-details {
        width: 100% !important;
        margin-right: 10px;
    }

    .profile-img-details {
        margin-top: 0px !important;
    }

    #tables {
        display: inline-table ;
        white-space: nowrap !important;
        padding: 0px !important;
        width: 100% !important;
        max-height: 300px !important; /* optional */
        overflow: auto !important;
    }
   
}

@media only screen and (max-width: 1070px) {
    .articlecategory-conteiner-items {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 1024px) {
    .product-slide-item {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .container {
        width: calc(85% - 17px);
    }

    .navbar-content {
        grid-template-columns: 1.5fr 3fr 1.6fr;
    }

    #dropdown-menu {
        display: none;
    }

    .main-footer-bottom {
        padding-left: 15px;
    }

    .mega-submenu-EducationCourses {
        padding: 10px 0px;
    }

    .mega-submenu-EducationCourses-item {
        height: 250px;
    }

    .category-image {
        display: none;
    }

    .mega-submenu-category-item img {
        display: inline-block;
    }

    #latest-article .posts {
        grid-template-columns: 1fr 1fr;
    }

    .article-content-main {
        padding-left: 0px;
    }

    .conteiner-items-info-articles i, .conteiner-items-info-articles span {
        font-size: 13px;
    }

    .post-full-articel-text, .post-half-articel-text {
        display: none;
    }

    .post-half-articel-category-link {
        margin-top: 55px;
    }

    #dropdown-menu {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .checkout-row-top {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .checkout-row-bottom {
        margin-top: 30px;
    }

    .cart-totalprice-items {
        position: static !important;
    }

    .checkout-auth-wrapper {
        margin-top: 0 !important;
    }
    .container-cart {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 20px 15px 40px;
    }

    .checkout-left-column {
        gap: 20px;
    }

    .checkout-right-column {
        gap: 20px;
    }

    .checkout-auth-wrapper {
        margin-top: 0 !important;
    }

    .cart-totalprice-items {
        position: static !important;
    }
    .slider-arrow {
        display: none;
    }
    /* مخفی سازی دکمه ها در موبایل */

    .container-cart {
        grid-template-columns: 1fr;
    }

    .cart-totalprice-items {
        position: static;
    }

    .discount-product {
        flex-direction: column;
    }

    .discount-product-btn {
        width: 100%;
        padding: 0 15px;
    }

    .discount-product-btn input {
        width: 75%;
    }
    .discount-product-btn a {
        width: 20%;
        text-align: center;
    }
    .checkout-auth-card {
        padding: 22px 18px 24px;
    }

    .checkout-auth-card h3 {
        font-size: 18px;
    }

    .auth-tab {
        height: 40px;
        font-size: 13px;
    }

    .auth-input input {
        height: 42px;
        font-size: 13px;
        padding: 0 38px 0 14px;
    }

    .btn-auth-submit {
        height: 44px;
        font-size: 14px;
    }

    .social-btn {
        height: 40px;
        font-size: 13px;
    }

    .other-login-type-title::before,
    .other-login-type-title::after {
        width: 25%;
    }
    .discount-product-clearcart {
        margin: 15px 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .product-item-wrapper {
        width: calc(50% - 15px) !important;
    }
    .product-slide-item {
        flex: 0 0 calc(50% - 20px); /* در تبلت 2 عدد */
    }
    .container {
        width: 98%;
    }

    .navbar-content {
        grid-template-columns: 1.6fr 3fr 1.8fr;
    }

    .navbar-logo-title {
        margin-left: 2px;
    }

    .nav-items .nav-item {
        padding: 21px 10px;
    }

    .mega-submenu {
        right: -100px;
        left: -50px;
        grid-template-columns: 2.2fr 3fr;
    }

    .mega-submenu-EducationCourses {
        padding: 10px 12px;
    }

    .mega-submenu-EducationCourses {
        padding: 10px 5px;
    }

    #dropdown-menu {
        display: inline-block;
    }

    .main-footer-bottom {
        flex-wrap: wrap;
    }

    .main-footer-bottom-item {
        width: 100%;
    }

    .mega-submenu-EducationCourses-item {
        height: 280px;
    }

    .category-image {
        display: none;
    }

    .mega-submenu-category-item img {
        display: none;
    }

    .article-header-title-shortlink {
        display: inline-block;
    }

    .article-header-shortlink-container {
        display: inline-block;
        margin-top: 20px;
    }

    #article-content {
        grid-template-columns: 1fr;
    }

    .article-content-main {
        padding-left: 0px !important;
    }

    .ralated-products {
        display: flex;
        gap: 20px;
        margin-bottom: 50px;
    }

    #comments {
        padding: 20px 0;
    }

    #container-why-us {
        flex-wrap: wrap;
    }

    .banner-img .list_crs_img .moon {
        left: 10%;
        top: 20%;
    }

    .posts .post-full {
        width: 45%;
    }

    .posts .post-half {
        width: 55%;
    }

    .post-full {
        margin-left: 15px;
    }

    .post-half-item:first-child {
        margin-bottom: 40px;
    }

    .post-full-articel-text, .post-half-articel-text {
        display: none;
    }

    .post-half-articel-category-link {
        margin-top: 50px;
    }

    .main-footer-bottom {
        text-align: center;
    }

    .main-footer-bottom-item .socials-networks, .certificate-item {
        justify-content: center;
    }

    #dropdown-menu {
        display: none !important;
    }

    .container-orders, .container-user {
        padding: 15px !important;
    }

    .form-group-profile-input-item, .form-group-tiket select {
        width: 100% !important;
    }

    .container-cart {
        flex-wrap: wrap;
    }

    .cart-table {
        padding: 0;
    }

    .cart-totalprice {
        margin-top: 50px;
    }

    .cart-table, .cart-totalprice {
        width: 100%;
    }

    .product-item-img img {
        height: 250px;
    }
}

@media only screen and (max-width: 767px) {
    sticky-action-box {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 12px 16px;
        padding-right: 40px;
        max-width: 100%;
        min-width: unset;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    }

    .sticky-action-content {
        flex-wrap: wrap;
        gap: 0px;
        justify-content: flex-start;
    }

    /* ===== نمایش کامل نام در موبایل ===== */
    .sticky-product-name {
        max-width: 100%;
        white-space: normal;
        -webkit-line-clamp: 2;
        font-size: 13px;
    }

    .sticky-product-info {
        flex: 1 1 100%;
        padding-right: 20px;
    }

    .sticky-product-info img {
        width: 40px;
        height: 40px;
    }

    .sticky-product-price {
        font-size: 12px;
    }

    .btn-sticky-action {
        padding: 10px 14px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
        min-width: 100px;
    }

    .sticky-progress-info {
        margin-right: 25px;
        font-size: 12px;
        flex: 1 1 100%;
    }

    .sticky-progress-bar {

        margin-right: 25px;
        min-width: 60px;
        height: 8px;
        flex: 1;
    }

    .sticky-progress-percent {
        font-size: 12px;
        min-width: 35px;
    }

    .sticky-exam-info {
        font-size: 12px;
        flex: 1 1 100%;
    }

    .sticky-exam-buttons {
        width: 100%;
        gap: 6px;
    }

    .sticky-exam-buttons .btn-sticky-action {
        flex: 1;
        padding: 10px 12px;
        font-size: 12px;
    }

    .sticky-certificate-info {
        font-size: 12px;
        flex: 1 1 100%;
    }

    .sticky-close-btn {
        top: 3px;
        right: 3px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .btn-sticky-action {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .sticky-progress-info {
        font-size: 12px;
    }

    .sticky-progress-bar {
        min-width: 80px;
        height: 20px;
    }

    .sticky-exam-info {
        font-size: 12px;
    }

    .sticky-exam-buttons {
        width: 100%;
    }

    .sticky-exam-buttons .btn-sticky-action {
        flex: 1;
    }

    .sticky-certificate-info {
        font-size: 12px;
    }
    .product-item h2 {
        font-size: 13px;
        min-height: 40px;
        padding: 10px 12px 6px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .product-item h2::after {
        right: 12px;
        width: 20px;
        height: 2px;
    }

    .product-item:hover h2::after {
        width: 30px;
    }

    .product-item h2.with-dot::before {
        top: 14px;
        width: 4px;
        height: 4px;
    }

    .product-item h2.has-icon::before {
        font-size: 12px;
    }
    .product-item-img-discount {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 10px;
    }

    .product-item-img-discount .discount-text {
        font-size: 7px;
    }

    .product-item-img-discount .discount-value {
        font-size: 16px;
    }

    .product-item-img-discount .discount-value::after {
        font-size: 9px;
    }

    /* ===== دایره‌ای ===== */
    .product-item-img-discount-circle {
        width: 50px;
        height: 50px;
    }

    .product-item-img-discount-circle .discount-text {
        font-size: 6px;
    }

    .product-item-img-discount-circle .discount-value {
        font-size: 15px;
    }

    /* ===== ریبون ===== */
    .product-item-img-discount-ribbon {
        font-size: 11px;
        padding: 4px 12px 4px 16px;
    }

    /* ===== مدرن ===== */
    .product-item-img-discount-modern {
        padding: 6px 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .product-item-img-discount-modern .discount-text {
        font-size: 7px;
    }

    .product-item-img-discount-modern .discount-value {
        font-size: 16px;
    }
    .product-item-footer {
        padding: 10px 12px 14px;
    }

    .product-item-footer-teacher {
        padding: 5px 8px;
        border-radius: 8px;
    }

    .product-item-footer-teacher i {
        font-size: 12px;
        width: 16px;
        padding: 3px;
    }

    .product-item-footer-teacher p {
        font-size: 11px;
    }

    .product-item-footer-price-item {
        padding: 4px 8px;
        border-radius: 8px;
    }

    .product-item-footer-price-item strong {
        font-size: 11px;
    }

    .product-item-footer-price-item:last-child strong {
        font-size: 12px;
    }

    .product-item-footer-price-item i {
        font-size: 11px;
    }

    .product-item-img-discount {
        top: 8px;
        right: 8px;
        padding: 5px 8px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 10px;
    }

    .product-item-img-discount .discount-text {
        font-size: 7px;
    }

    .product-item-img-discount .discount-value {
        font-size: 14px;
    }

    .product-item-img-discount .discount-value::after {
        font-size: 9px;
    }
    .bridcrumb-container-checkout {
        padding: 4px 0;
    }

    .bridcrumb {
        padding: 12px 0;
        gap: 4px 8px;
    }

    .bridcrumb li {
        font-size: 13px;
        gap: 6px;
    }

    .bridcrumb li a {
        font-size: 13px;
        padding: 4px 10px;
        border-radius: 8px;
    }

    .bridcrumb li a i {
        font-size: 13px;
    }

    .bridcrumb li:last-child p {
        font-size: 13px;
        padding: 4px 14px;
        border-radius: 8px;
    }

    .bridcrumb .separator {
        font-size: 14px;
    }

    .bridcrumb li:last-child p::before {
        font-size: 11px;
    }
    .checkout-row-two-col {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .checkout-row-full {
        margin-bottom: 20px;
    }

    .cart-totalprice-items {
        position: static !important;
    }
    .checkout-row-top {
        gap: 25px;
    }

    .checkout-row-bottom {
        margin-top: 25px;
    }
    .container-cart {
        gap: 25px;
        padding: 15px 10px 30px;
    }

    .checkout-left-column {
        gap: 15px;
    }

    .checkout-right-column {
        gap: 15px;
    }
    .checkout-auth-wrapper {
        margin-top: 0 !important;
    }

    .checkout-sidebar {
        gap: 20px;
    }
    .cart-totalprice-items {
        position: static !important;
        padding: 20px 16px 22px !important;
        border-radius: 12px !important;
    }
    .container-cart {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 15px 40px;
    }

    .cart-table {
        padding: 16px 12px 20px;
        border-radius: 12px;
       
    }

    #cart-table {
       
        font-size: 12px;
    }

    #cart-table thead th,
    #cart-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* ===== DISCOUNT SECTION ===== */
    .discount-product {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .discount-product-btn {
        flex-direction: column;
        width: 100%;
    }

    .discount-product-btn input {
        width: 100%;
        height: 38px;
    }

    .discount-product-btn .btn-default {
        width: 100%;
        height: 38px;
    }

    .discount-product-clearcart {
        flex-direction: column;
        width: 100%;
    }

    .discount-product-clearcart .btn-default {
        width: 100%;
        height: 38px;
    }

    /* ===== SUMMARY CARD ===== */
    .cart-totalprice-items {
        position: static;
        padding: 20px 16px 22px;
        border-radius: 12px;
    }

    .cart-totalprice-items h3 {
        font-size: 16px;
    }

    .cart-totalprice-item {
        font-size: 13px;
        padding: 8px 0;
    }

    .cart-totalprice-item-final {
        font-size: 15px;
    }

    .cart-totalprice-item-final span {
        font-size: 16px;
    }

    .cart-totalprice-item-pay button {
        height: 46px;
        font-size: 15px;
    }

    /* ===== AUTH WRAPPER ===== */
    .checkout-auth-wrapper {
        margin-top: 0;
    }
    .container-cart {
        grid-template-columns: 1fr;
    }
    .product-slide-item {
        flex: 0 0 85% !important;
        min-width: 85% !important;
    }

    .slider-arrow {
        display: none !important;
    }
    
    .nav-buttons-container {
        display: none;
    }
    .navbar-bottom {
        display: block;
    }
    .navnar-login-register-cart {
        margin-left: 20px;
        justify-content: left;
    }
    .desktop-only, .shopping-cart {
        display: none;
    }
    
    .mobile-only {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .mobile-only i {
        font-size: 20px;
        color: var(--milkycolor);
    }
    .banner {
        padding: 40px 20px;
    }

    .navbar-content {
        grid-template-columns: 3fr 1fr;
    }

    .navbar-logo {
       
        justify-content: right;
    }
    /* مخفی سازی کپی رایت برای اینکه زیر منو نرود */
    .copy-right {
        margin-bottom: 60px !important;
    }
    #dropdown-menu {
        display: block;
    }
    
    .articlecategory-conteiner-items, .article-header-title-shortlink,
    .article-sidebar-content, .article-content-main, .bridcrumb,
    .Consultation-item {
        margin: 0 20px;
    }

    #latest-article .posts {
        flex-wrap: wrap;
    }

    .post-full, .post-half {
        width: 100% !important;
        margin: 20px;
    }

    #article-content {
        grid-template-columns: 1fr;
    }

    .article-content-main {
        padding-left: 0px !important;
    }

    .ralated-products {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .article-header-title-shortlink {
        margin: 0 20px 0 0;
        display:block;
    }
    
    .article-header-shortlink-container {
        display: block;
        margin-top: 20px;
        margin-left: 20px;
    }
    

    #comments {
        padding: 20px 0;
    }

    #container-why-us, .form-group-tiket, .form-group-resetpass-items,
    .form-group-tiket-response-ticket-details, .form-group-profile, .bridcrumb {
        flex-wrap: wrap !important;
    }

    .why-us-img {
        width: 40%;
    }

    .why-us-content {
        width: 60%;
    }

    .why-us-img .list_crs_img .cirl {
        right: 5%;
        top: 30%;
    }

    .why-us-img .list_crs_img .arrow {
        bottom: 20%;
        right: 10%;
    }

    .why-us-img .list_crs_img .moon {
        left: 5%;
        top: 40%;
    }

    .why-us-content .features .features-item {
        width: 100%;
    }

    #Consultation {
        text-align: justify;
    }

        #Consultation h2 {
            text-align: center;
        }

    .post-full-articel-text, .post-half-articel-text{
        display: none;
    }

    .post-half-articel-category-link {
        margin-top: 50px;
    }

    .main-footer-bottom {
        text-align: center;
    }

    .main-footer-bottom-item .socials-networks, .certificate-item {
        justify-content: center;
    }

    .consult-form, .cunsult-contact {
        width: 100%;
    }

    .content-contactus, .content-form-send,
    .content-abouteus-logo, .content-abouteus-message {
        width: 100%;
    }

    .container-orders, .container-user {
        padding: 10px !important;
    }

    .profile-menu-container {
        margin-top: 20px !important;
        padding: 10px !important;
    }

    #tables th, #tables td {
        display: none;
    }

    .profile-details {
        margin-right: 0px !important;
    }

    .bridcrumb-profile {
        padding: 0 0px !important;
        margin: 0px !important;
    }

    .container-orders, .container-user {
        margin: 40px 0 30px 0px !important;
    }

    .form-group-profile-input-item, .form-group-tiket select, .form-group-resetpass-item,
    .form-group-tiket-response-ticket-details h4 {
        width: 100% !important;
    }

    .form-group-response-ticket-items {
        margin-right: 15px !important;
    }

    .form-group-request-ticket-items {
        margin-left: 2px !important;
    }

    .form-group-tiket-response-ticket-ReReuqest,
    .form-group-tiket-response-ticket-details {
        width: 100% !important;
    }

    .form-group-tiket-response-ticket-details,
    .form-group-tiket-response-ticket-ReReuqest {
        text-align: center !important;
        justify-content: center !important;
    }

        .form-group-tiket-response-ticket-ReReuqest a {
            margin: 15px 10px !important;
        }

    .container-cart {
        flex-wrap: wrap;
        margin: 0 20px;
    }

    .cart-table {
        padding: 0;
    }

    .cart-totalprice {
        margin-top: 50px;
    }

    .cart-table, .cart-totalprice {
        width: 100%;
    }

    .discount-product,
    .product-items {
        flex-wrap: wrap;
    }

    .discount-product-btn,
    .discount-product-clearcart {
        width: 100%;
    }

    .discount-product {
        margin-top: 30px !important;
    }

    .product-title, .product-items {
        margin: 0 20px;
    }

    .product-items {
        gap: 10px;
        margin: 0 20px;
        justify-content: space-between;
    }

        .product-items a {
            width: 48%;
        }

            .product-items a:last-child {
                margin-top: 30px;
            }
    .footer-top-bar {
        flex-direction: column;
        gap: 15px;
    }

    .main-footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-phones {
        direction: rtl;
    }

    .social-links-modern, .trust-badges {
        justify-content: center;
    }
    #content-contactus-container, #content-aboutus-container {
        flex-wrap: wrap; /* در موبایل بشکند و زیر هم برود */
    }

    .content-form-send, .content-contactus, .content-abouteus-message, .content-abouteus-logo {
        flex: 0 0 100%; /* در موبایل ۱۰۰ درصد شود */
    }
    
}

@media only screen and (min-width: 701px) and (max-width: 767px) {
    .container {
        width: 100%;
    }

    .navbar-content .profile-navbar {
        grid-template-columns: 3fr 1fr;
    }

    .navbar-nav {
        display: none;
    }

    
    #btn-bars {
        display: inline-block;
    }

    .main-footer-bottom {
        flex-wrap: wrap;
        padding: 0px 10px;
    }

    .main-footer-bottom-item {
        width: 100%;
    }

    .article-keywords {
        flex-wrap: wrap;
    }

    .discount-product-clearcart {
        gap: 20px;
        text-align: center;
        margin-top: 50px;
    }

    .discount-product-btn {
        text-align: center;
    }
    .copy-right {
        margin-bottom: 60px;
    }
}

@media only screen and (max-width: 700px) {
    .sticky-add-to-cart-desktop {
        display: flex !important;
    }

    .sticky-add-to-cart-mobile {
        display: none !important;
    }
    .product-item-wrapper {
        width: calc(100% - 15px) !important;
    }
    .container {
        width: 100%;
    }
    .copy-right {
        margin-bottom: 60px;
    }
    .navbar-content {
        grid-template-columns:1fr;
    }

    .navbar-nav {
        display: none;
    }

    #btn-bars {
        display: inline-block;
    }

    .banner {
        display: block;
    }

    .banner-title {
        text-align: center;
    }

    .banner-img {
        display: none;
    }

    .content-login-logo {
        grid-template-columns: 1fr;
    }

    .content-admin-logo-login {
        display: none;
    }

    .content-admin-login {
        border-left: none;
    }

    .content-login-logo {
        padding: 30px 10px;
    }

    .articlecategory-conteiner-items {
        grid-template-columns: repeat(1,1fr);
    }

    .why-us-content {
        width: 100%;
    }

        .why-us-content h2 {
            margin-bottom: 50px;
        }

        .why-us-content p {
            display: none;
        }

    .why-us-img {
        display: none;
    }

    .post-half-img-container {
        width: 40%;
    }

    .post-half-item-text-link {
        width: 60%;
    }

    .post-half-articel-category-link {
        margin-top: 30px;
    }

    .why-us-content .features .features-item {
        justify-content: center;
        margin-top: 30px;
    }

    .features-item {
        margin-bottom: 50px !important;
        display: flex;
        flex-wrap: wrap;
        box-shadow: 0 0 12px -2px #ddd;
    }

    .features-item-icon i {
        width: 95px;
        height: 95px;
        color: var(--secondary-color);
        padding: 20px;
        position: relative;
        top: -62px;
        border-radius: 50%;
        border: 1px solid var(--bs-gray-300);
        background-color: var(--primary-color);
        align-items: center;
        box-shadow: 0 0 12px -2px #ddd;
    }

    .features-item-icon {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #cart-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        #cart-table tr, #cart-table td, #cart-table thead tr {
            border: 3px solid var(--bs-gray-200);
        }

    .features-item-text {
        position: absolute;
        margin-top: 50px;
    }

    .discount-product-clearcart {
        gap: 20px;
        text-align: center;
        margin-top: 50px;
    }

    .discount-product-btn {
        text-align: center;
    }

    .discount-product-clearcart {
        padding: 0 17px;
    }
    }

@media only screen and (min-width: 601px) and (max-width: 700px) {

    .main-footer-bottom {
        flex-wrap: wrap;
        padding: 0px 10px;
    }

    .main-footer-bottom-item {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .checkout-auth-card {
        padding: 18px 14px 20px;
        border-radius: 12px;
    }

        .checkout-auth-card h3 {
            font-size: 16px;
            margin-bottom: 16px;
        }

    .auth-tabs {
        gap: 4px;
        padding: 3px;
        margin-bottom: 18px;
    }

    .auth-tab {
        height: 36px;
        font-size: 12px;
        border-radius: 6px;
    }

    .auth-input {
        margin-bottom: 12px;
    }

        .auth-input input {
            height: 38px;
            font-size: 12px;
            padding: 0 34px 0 12px;
            border-radius: 8px;
        }

        .auth-input i {
            font-size: 13px;
        }

        .auth-input .input-icon {
            right: 12px;
        }

        .auth-input .toggle-password {
            left: 12px;
        }

    .btn-auth-submit {
        height: 40px;
        font-size: 13px;
        border-radius: 8px;
    }

    .login-by {
        flex-direction: column;
        gap: 8px;
    }

    .social-btn {
        height: 38px;
        font-size: 12px;
        border-radius: 8px;
    }

        .social-btn i {
            font-size: 16px;
        }

    .other-login-type-title {
        margin: 16px 0 10px;
        font-size: 12px;
    }

        .other-login-type-title::before,
        .other-login-type-title::after {
            width: 20%;
        }

        .other-login-type-title strong {
            font-size: 12px;
            padding: 0 10px;
        }

    .auth-error {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 6px;
    }

    #registerStrengthText {
        font-size: 10px;
    }
}

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */


@media (min-width: 1024px) {
    .product-slide-item {
        flex: 0 0 calc(25% - 20px);
        scroll-snap-align: start;
    }
}
@media only screen and (min-width: 500px) and (max-width: 600px) {
    .main-footer-bottom {
        flex-wrap: wrap;
        padding: 0px 10px;
    }

    .main-footer-bottom-item {
        width: 100%;
    }

    #latest-article .posts {
        grid-template-columns: 1fr;
    }

    .ralated-products {
        display: inline-block;
    }

    #comments-box-top input {
        width: 100%;
        margin-bottom: 20px;
    }

    .comments-body #box-avatar, .reply-comments #box-avatar {
        display: none;
    }

    .comments-content {
        width: 100%;
    }

    .related-products .related-product {
        width: 100% !important;
    }

    .container-latestarticle-title {
        flex-wrap: wrap;
        justify-content: center;
    }

        .container-latestarticle-title h2 {
            margin: 15px 20px;
            width: 100%;
            text-align: center;
        }

        .container-latestarticle-title a {
            text-align: center;
            width: 100%;
            margin: 0 20px;
        }

    .features-item-icon {
        height: 120px;
    }

    .features-item-text h3 {
        margin: 0;
        padding: 0 10px;
        text-align: center;
    }

    .product-details-header-state {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media only screen and (min-width: 351px) and (max-width: 499px) {
    .container-navbar-bottom i {
        font-size: 18px;
    }

    .container-navbar-bottom p {
        font-size: 12px;
    }
    .main-footer-bottom {
        flex-wrap: wrap;
        padding: 0px 10px;
    }

    .main-footer-bottom-item {
        width: 100%;
    }

    .main-footer-top {
        display: block;
        padding: 10px;
    }

    #latest-article .posts {
        grid-template-columns: 1fr;
    }

    .content-main-Article-statistics {
        flex-wrap: wrap;
    }

    .ralated-products {
        display: inline-block;
    }


    #comments-box-top input {
        width: 100%;
        margin-bottom: 20px;
    }

    .container-logo h2 {
        font-size: 20px;
    }

    .comments-body #box-avatar, .reply-comments #box-avatar {
        display: none;
    }

    .comments-content {
        width: 100%;
    }

    .container-latestarticle-title {
        flex-wrap: wrap;
        justify-content: center;
    }

        .container-latestarticle-title h2 {
            margin: 15px 20px;
            width: 100%;
            text-align: center;
        }

        .container-latestarticle-title a {
            text-align: center;
            width: 100%;
            margin: 0 20px;
        }

    .post-half-hover-item {
        margin-bottom: 1px;
    }

    .features-item-text h3 {
        margin: 0;
        padding: 0 10px;
    }

    .product-details-header-state {
        flex-wrap: wrap;
        gap: 30px;
    }

    .product-details-header-state {
        flex-wrap: wrap;
        gap: 30px;
    }

    .discount-product-clearcart,
    .discount-product-btn {
        display: flex;
    }

       

    #inp-customdiscount {
        width: 100%;
    }

    .discount-product-btn a {
        width: 30%;
    }

    .discount-product-btn a {
        width: 50%;
    }
}

@media only screen and (max-width: 350px) {

    .product-item h2 {
        font-size: 12px;
        min-height: 36px;
        padding: 8px 10px 4px;
        line-height: 1.3;
    }

    .product-item h2::after {
        right: 10px;
        width: 15px;
        height: 1.5px;
    }

    .product-item:hover h2::after {
        width: 25px;
    }
    .product-item-img-discount {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        min-width: 38px;
        min-height: 38px;
        border-radius: 8px;
    }

    .product-item-img-discount .discount-text {
        font-size: 6px;
    }

    .product-item-img-discount .discount-value {
        font-size: 14px;
    }

    .product-item-img-discount .discount-value::after {
        font-size: 8px;
    }
    .product-item-footer {
        padding: 8px 10px 12px;
    }

    .product-item-footer-teacher {
        padding: 4px 6px;
        gap: 6px;
    }

    .product-item-footer-teacher p {
        font-size: 10px;
    }

    .product-item-footer-price-item {
        padding: 3px 6px;
    }

    .product-item-footer-price-item strong {
        font-size: 10px;
    }

    .product-item-footer-price-item:last-child strong {
        font-size: 11px;
    }

    .product-item-footer-price-item i {
        font-size: 10px;
    }

    .product-item-img-discount {
        top: 6px;
        right: 6px;
        padding: 4px 6px;
        min-width: 34px;
        min-height: 34px;
        border-radius: 8px;
    }

    .product-item-img-discount .discount-text {
        font-size: 6px;
    }

    .product-item-img-discount .discount-value {
        font-size: 12px;
    }

    .product-item-img-discount .discount-value::after {
        font-size: 8px;
    }
    .bridcrumb li a {
        font-size: 11px;
        padding: 2px 6px;
    }

    .bridcrumb li:last-child p {
        font-size: 11px;
        padding: 2px 10px;
        max-width: 100px;
    }

    .bridcrumb li a i {
        font-size: 11px;
    }

    .bridcrumb .separator {
        font-size: 10px;
    }

    .bridcrumb li:last-child p::before {
        content: '\f105'; /* آیکون chevron-left */
        font-family: 'FontAwesome';
        font-size: 14px;
        margin-left: 8px;
        color: var(--primary-color, #2a9d8f);
    }
    .container-cart {
        padding: 15px 10px 30px;
        gap: 20px;
    }

    .cart-table {
        padding: 12px 8px 16px;
        border-radius: 10px;
    }

    #cart-table {
        min-width: 500px;
        font-size: 11px;
    }

    #cart-table thead th {
        padding: 8px 6px;
        font-size: 11px;
    }

    #cart-table tbody td {
        padding: 10px 6px;
        font-size: 11px;
    }

    .delete-cart-item {
        padding: 4px 10px;
        font-size: 10px;
    }

    .discount-product {
        gap: 10px;
        padding-top: 16px;
    }

    .discount-product-btn input {
        height: 36px;
        font-size: 12px;
        padding: 0 12px;
    }

    .discount-product-btn .btn-default,
    .discount-product-clearcart .btn-default {
        height: 36px;
        font-size: 12px;
        padding: 0 14px;
    }

    .cart-totalprice-items {
        padding: 16px 14px 18px;
        border-radius: 10px;
    }

    .cart-totalprice-items h3 {
        font-size: 15px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .cart-totalprice-item {
        font-size: 12px;
        padding: 6px 0;
    }

    .cart-totalprice-item-final {
        font-size: 14px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .cart-totalprice-item-final span {
        font-size: 15px;
    }

    .cart-totalprice-item-pay {
        margin-top: 16px;
    }

    .cart-totalprice-item-pay button {
        height: 42px;
        font-size: 14px;
        border-radius: 10px;
    }

    #div-customdiscount .cart-totalprice-item {
        font-size: 12px;
        padding: 8px 12px;
    }

    #strong-customdiscountamount {
        font-size: 12px;
    }
    .container-navbar-bottom i {
        font-size: 16px;
    }
    .container-navbar-bottom p {
        font-size: 13px;
    }
    .main-footer-bottom {
        flex-wrap: wrap;
        padding: 0px 10px;
    }

    .main-footer-bottom-item {
        width: 100%;
    }

    .main-footer-top {
        display: block;
        padding: 10px;
    }

    #latest-article .posts {
        grid-template-columns: 1fr;
    }

    .content-main-Article-statistics {
        flex-wrap: wrap;
    }

    .ralated-products {
        display: inline-block;
    }

    #comments-box-top input {
        width: 100%;
        margin-bottom: 20px;
    }

    .conteiner-items-info-articles {
        flex-wrap: wrap;
    }

    .conteiner-items-info-article {
        margin-bottom: 5px;
    }

    .comments-body #box-avatar, .reply-comments #box-avatar {
        display: none;
    }

    .comments-content {
        width: 100%;
    }

    .post-half-hover-item {
        margin-bottom: 0;
    }

    .container-latestarticle-title {
        flex-wrap: wrap;
        justify-content: center;
    }

        .container-latestarticle-title h2 {
            margin: 15px 20px;
            width: 100%;
            text-align: center;
        }

        .container-latestarticle-title a {
            text-align: center;
            width: 100%;
            margin: 0 20px;
        }

    .features-item-text h3 {
        margin: 0;
        padding: 0 10px;
        text-align: center;
    }

    .features-item-icon {
        height: 120px;
    }

    .loginpage-register-link div {
        width: 100%;
        margin-bottom: 20px;
    }

    .tab-content-contactus-container, .tab-content-aboutme-container {
        padding: 10px;
    }

    .product-details-header-state {
        flex-wrap: wrap;
        gap: 30px;
    }

    .discount-product-clearcart,
    .discount-product-btn {
        display: flex;
    }

        .discount-product-clearcart a {
            width: 50% !important;
        }

    #inp-customdiscount {
        width: 50%;
    }

    .discount-product-btn a {
        width: 50%;
    }

    .product-item-img img {
        height: 150px;
    }
}
/* ریسپانسیو */
@media (max-width: 991px) {
    .navbar-nav,
    .desktop-only {
        display: none !important;
    }

    #btn-bars {
        display: flex !important;
        margin-right: 15px !important;
        
    }

    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar-logo {
        flex: 1;
        min-width: 0;
    }

    .navbar-bottom {
        display: block;
    }
}

@media (min-width: 992px) {
    .sticky-add-to-cart {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        max-width: 360px;
    }

    .sticky-product-info img {
        width: 40px;
        height: 40px;
    }

    .sticky-product-name {
        font-size: 12px;
        max-width: 120px;
    }

    .btn-sticky-add {
        padding: 8px 16px;
        font-size: 13px;
    }
    .product-item-img-discount {
        top: 10px;
        right: 10px;
        padding: 8px 10px;
        min-width: 50px;
        min-height: 50px;
        border-radius: 14px;
    }

    .product-item-img-discount .discount-text {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .product-item-img-discount .discount-value {
        font-size: 18px;
    }

    .product-item-img-discount .discount-value::after {
        font-size: 10px;
    }
    .product-item-footer {
        padding: 12px 14px 16px;
    }

    .product-item-footer-teacher {
        padding: 6px 10px;
    }

    .product-item-footer-teacher p {
        font-size: 12px;
    }

    .product-item-footer-price-item {
        padding: 4px 10px;
    }

    .product-item-footer-price-item strong {
        font-size: 12px;
    }

    .product-item-footer-price-item:last-child strong {
        font-size: 13px;
    }

    .product-item-img-discount {
        padding: 6px 10px;
        min-width: 48px;
        min-height: 48px;
        border-radius: 12px;
    }

    .product-item-img-discount .discount-text {
        font-size: 8px;
    }

    .product-item-img-discount .discount-value {
        font-size: 16px;
    }

    .product-item-img-discount .discount-value::after {
        font-size: 10px;
    }
    .checkout-row-top {
        grid-template-columns: 1fr 340px;
        gap: 25px;
    }
    checkout-row-two-col {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .container-cart {
        grid-template-columns: 1fr 340px;
        gap: 25px;
        padding: 30px 0 50px;
    }

    #cart-table {
        font-size: 13px;
    }

    #cart-table thead th,
    #cart-table tbody td {
        padding: 12px 8px;
    }

    .cart-totalprice-items {
        padding: 22px 18px 24px;
    }
    .checkout-auth-card {
        padding: 22px 18px 24px;
    }

    .checkout-auth-card h3 {
        font-size: 18px;
    }

    .auth-tab {
        height: 40px;
        font-size: 13px;
    }

    .auth-input input {
        height: 42px;
        font-size: 13px;
        padding: 0 38px 0 14px;
    }

    .btn-auth-submit {
        height: 44px;
        font-size: 14px;
    }

    .social-btn {
        height: 40px;
        font-size: 13px;
    }

    .other-login-type-title::before,
    .other-login-type-title::after {
        width: 25%;
    }


    #dropdown-menu {
        display: none !important;
    }

    #btn-bars {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .product-item h2 {
        font-size: 14px;
        min-height: 44px;
        padding: 12px 14px 6px;
        line-height: 1.5;
    }

    .product-item h2::after {
        right: 14px;
        width: 20px;
    }

    .product-item:hover h2::after {
        width: 35px;
    }
    .bridcrumb-container-checkout {
        padding: 2px 0;
        margin-top: 65px;
    }

    .bridcrumb-container-checkout::before {
        height: 2px;
    }

    .bridcrumb {
        padding: 10px 0;
        gap: 4px 6px;
    }

    .bridcrumb li {
        font-size: 12px;
        gap: 4px;
    }

    .bridcrumb li a {
        font-size: 12px;
        padding: 3px 8px;
        border-radius: 6px;
        gap: 4px;
    }

    .bridcrumb li a i {
        font-size: 12px;
    }

    .bridcrumb li:last-child p {
        font-size: 12px;
        padding: 3px 12px;
        border-radius: 6px;
        gap: 4px;
    }

    .bridcrumb .separator {
        font-size: 12px;
        margin: 0 1px;
    }

    .bridcrumb li:last-child p::before {
        font-size: 10px;
    }

    /* اگر خیلی طولانی شد */
    .bridcrumb li a {
        white-space: nowrap;
    }

    .bridcrumb li:last-child p {
        white-space: nowrap;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .checkout-row-two-col {
        gap: 20px;
    }
    .checkout-row-top {
        gap: 20px;
    }

    .checkout-row-bottom {
        margin-top: 20px;
    }

    .checkout-auth-card {
        padding: 18px 14px 20px !important;
        border-radius: 12px !important;
    }

        .checkout-auth-card h3 {
            font-size: 16px !important;
            margin-bottom: 16px !important;
        }

    .auth-tabs {
        gap: 4px !important;
        padding: 3px !important;
        margin-bottom: 18px !important;
    }

    .auth-tab {
        height: 36px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }

    .auth-input {
        margin-bottom: 12px !important;
    }

        .auth-input input {
            height: 38px !important;
            font-size: 12px !important;
            padding: 0 34px 0 12px !important;
            border-radius: 8px !important;
        }

        .auth-input i {
            font-size: 13px !important;
        }

        .auth-input .input-icon {
            right: 12px !important;
        }

        .auth-input .toggle-password {
            left: 12px !important;
        }

    .btn-auth-submit {
        height: 40px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    .login-by {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .social-btn {
        height: 38px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

        .social-btn i {
            font-size: 16px !important;
        }

    .other-login-type-title {
        margin: 16px 0 10px !important;
        font-size: 12px !important;
    }

        .other-login-type-title::before,
        .other-login-type-title::after {
            width: 20% !important;
        }

        .other-login-type-title strong {
            font-size: 12px !important;
            padding: 0 10px !important;
        }

    .auth-error {
        font-size: 12px !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
    }

    #registerStrengthText {
        font-size: 10px !important;
    }
    .container-cart {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 20px 15px 40px;
    }

    .checkout-right-column {
        gap: 20px;
    }

    .checkout-auth-wrapper {
        margin-top: 0 !important;
    }
}
/* تنظیمات کلی موبایل */
@media (max-width: 991px) {
    /* لایه مشکی پشت منو */
    .mobile-sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.6) !important; /* رنگ حاله */
        backdrop-filter: blur(3px) !important; /* افکت ماتی پشت */
        z-index: 1000000 !important; /* یک میلیون - لایه زیرین منو */
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-sidebar-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }

    /* خودِ منوی جانبی */
    .mobile-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: -300px !important; /* از سمت راست */
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 1000001 !important; /* یک میلیون و یک - حتما بالاتر از overlay باشد */
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
    }

    .mobile-sidebar.active {
        right: 0 !important;
    }

    /* دکمه باز کننده منو (همبرگری) */
    #btn-bars {
        z-index: 10000 !important; /* باید کمتر از منو باشد تا زیر منو بماند */
    }

    /* هدر منو */
    .mobile-sidebar-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-sidebar-logo-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .mobile-sidebar-logo-wrapper img {
            width: 45px;
            height: 45px;
            border-radius: 10px;
        }

    .header-text h6 {
        margin: 0;
        font-size: 15px;
        font-weight: bold;
        color: #333;
    }

    .header-text p {
        margin: 0;
        font-size: 11px;
        color: #777;
    }

    .close-sidebar {
        border: none;
        background: #f5f5f5;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        color: #888;
    }

    /* بدنه و آیتم‌ها */
    .mobile-sidebar-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px 0;
    }

    .mobile-sidebar-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .mobile-sidebar-menu li a {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: #444;
            font-size: 14px;
            text-decoration: none;
            transition: 0.3s;
            position: relative;
            border-right: 3px solid transparent;
        }

            /* هاور سبز مدرن */
            .mobile-sidebar-menu li a:hover,
            .mobile-sidebar-menu li.open > .parent-link {
                background: rgba(46, 204, 113, 0.1); /* سبز بسیار ملایم در پس زمینه */
                color: #27ae60; /* سبز زمردی */
                border-right-color: #27ae60;
            }

    /* زیر منو */
    .mobile-sidebar-submenu {
        display: none;
        background: #fafafa;
        list-style: none;
        padding: 5px 0;
    }

    .mobile-has-submenu.open .mobile-sidebar-submenu {
        display: block;
    }

    .mobile-sidebar-submenu li a {
        padding-right: 40px;
        font-size: 13px;
        border: none;
    }

        .mobile-sidebar-submenu li a i {
            font-size: 8px;
            margin-left: 8px;
            color: #27ae60;
        }

    /* فلش زیرمنو */
    .submenu-arrow {
        margin-right: auto;
        font-size: 12px;
        transition: 0.3s;
    }

    .mobile-has-submenu.open .submenu-arrow {
        transform: rotate(180deg);
        color: #27ae60;
    }

    /* فوتر و دکمه‌ها */
    .mobile-sidebar-footer {
        padding: 20px;
        border-top: 1px solid #eee;
    }

    .auth-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .btn-sidebar-auth {
        display: block;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        font-size: 13px;
        text-decoration: none;
        transition: 0.3s;
    }

    .login {
        background: #f1f2f6;
        color: #2f3542;
    }

    .register {
        background: #27ae60;
        color: #fff;
    }

        .register:hover {
            background: #219150;
        }

    .profile {
        background: #27ae60;
        color: #fff;
        width: 100%;
    }

    .copy-right-area {
        
        margin-bottom: 65px; /* فضا برای نوار پایین موبایل */
    }
    
}
@media (max-width: 576px) and (prefers-color-scheme: dark) {
    .checkout-auth-card {
        background: #1a1a2e;
        border-color: #2a2a44;
    }

    .auth-tabs {
        background: #25253a;
    }

    .auth-input input {
        background: #25253a;
        border-color: #353550;
    }

    .auth-input input:focus {
        background: #2a2a44;
    }

    .social-btn.google {
        background: #25253a;
        border-color: #353550;
    }

    .social-btn.github {
        background: #16161a;
        border-color: #25252a;
    }
}
/* ===== DARK MODE FIXES ===== */
@media (prefers-color-scheme: dark) {
    .sticky-action-box {
        background: rgba(30, 30, 46, 0.95);
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    }

    .sticky-product-name {
        color: #e8e8f0;
    }

    .sticky-product-price {
        color: #4ade80;
    }

    .sticky-product-price .price-old {
        color: #6a6a88;
    }

    .sticky-progress-info {
        color: #e8e8f0;
    }

    .sticky-exam-info {
        color: #e8e8f0;
    }

    .sticky-certificate-info {
        color: #e8e8f0;
    }

    .sticky-progress-bar {
        background: #2a2a3e;
    }

    .sticky-close-btn {
        color: #a0a0b8;
        background: rgba(255, 255, 255, 0.05);
    }

    .sticky-close-btn:hover {
        background: rgba(231, 76, 60, 0.15);
        color: #f5a0a0;
    }

    .sticky-progress-bar {
        background: #2a2a3e;
    }

    .btn-sticky-action {
        background: linear-gradient(135deg, #2a9d8f, #1a6b61);
    }

    .btn-sticky-action:hover {
        background: linear-gradient(135deg, #238b7e, #0f5a50);
    }

    .btn-sticky-action.btn-exam {
        background: linear-gradient(135deg, #d97706, #b45309);
    }

    .btn-sticky-action.btn-questions {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
    }

    .btn-sticky-action.btn-certificate {
        background: linear-gradient(135deg, #059669, #047857);
    }

    .btn-sticky-add {
        background: linear-gradient(135deg, #2a9d8f, #1a6b61);
    }

    .btn-sticky-add:hover {
        background: linear-gradient(135deg, #238b7e, #0f5a50);
    }

    .sticky-add-to-cart-mobile {
        background: rgba(30, 30, 46, 0.98);
        border-top-color: rgba(255, 255, 255, 0.05);
    }

    .sticky-mobile-price {
        color: #4ade80;
    }

    .sticky-mobile-price .price-old {
        color: #6a6a88;
    }

    .btn-sticky-mobile-add {
        background: linear-gradient(135deg, #2a9d8f, #1a6b61);
    }
    .product-item h2 {
        color: #e8e8f0;
    }

    .product-item:hover h2 {
        color: #4ade80;
    }

    .product-item h2::after {
        background: #4ade80;
    }

    .product-item h2.with-dot::before {
        background: #4ade80;
    }

    .product-item h2.with-border::before {
        background: #4ade80;
    }

    .product-item h2.has-icon::before {
        opacity: 0.5;
    }

    .product-item:hover h2.has-icon::before {
        opacity: 1;
    }
    .product-item-img-discount {
        background: linear-gradient(135deg, #ff6b6b, #c0392b, #ff6b6b);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .product-item-img-discount-bottom {
        background: rgba(0, 0, 0, 0.85);
        border-color: rgba(255, 255, 255, 0.05);
    }

    .product-item:hover .product-item-img-discount-bottom {
        background: rgba(238, 90, 36, 0.85);
    }
    .cart-table {
        background: #1e1e2e;
        border-color: #2d2d44;
    }

    #cart-table thead {
        background: #2a2a3e;
    }

        #cart-table thead th {
            color: #a0a0b8;
            border-bottom-color: #3d3d5a;
        }

    #cart-table tbody td {
        color: #e8e8f0;
        border-bottom-color: #2d2d44;
    }

    #cart-table tbody tr:hover {
        background: #2a2a3e;
    }

    .delete-cart-item {
        background: #2a2a3e;
        border-color: #3d3d5a;
        color: #f5a0a0;
    }

        .delete-cart-item:hover {
            background: #e74c3c;
            color: #fff;
        }

    .discount-product {
        border-top-color: #2d2d44;
    }

    .discount-product-btn input {
        background: #2a2a3e;
        border-color: #3d3d5a;
        color: #e8e8f0;
    }

        .discount-product-btn input:focus {
            border-color: #2a9d8f;
            background: #2f2f46;
        }

    .btn-default {
        background: #2a2a3e;
        color: #e8e8f0;
    }

        .btn-default:hover {
            background: #33334a;
        }

    .discount-product-btn .btn-default {
        background: #2a9d8f;
        color: #fff;
    }

        .discount-product-btn .btn-default:hover {
            background: #238b7e;
        }

    .discount-product-clearcart .btn-default:first-child {
        background: #2a1a1a;
        color: #f5a0a0;
        border-color: #4a2a2a;
    }

        .discount-product-clearcart .btn-default:first-child:hover {
            background: #e74c3c;
            color: #fff;
        }

    .discount-product-clearcart .btn-default:last-child {
        background: #2a2a3e;
        color: #e8e8f0;
        border-color: #3d3d5a;
    }

        .discount-product-clearcart .btn-default:last-child:hover {
            background: #33334a;
        }

    .cart-totalprice-items {
        background: #1e1e2e;
        border-color: #2d2d44;
    }

        .cart-totalprice-items h3 {
            color: #e8e8f0;
            border-bottom-color: #2d2d44;
        }

    .cart-totalprice-item {
        color: #a0a0b8;
        border-bottom-color: #2a2a3e;
    }

        .cart-totalprice-item span {
            color: #e8e8f0;
        }

    .cart-totalprice-item-final {
        border-top-color: #3d3d5a;
    }

        .cart-totalprice-item-final strong {
            color: #e8e8f0;
        }

        .cart-totalprice-item-final span {
            color: #4ade80;
        }

    .cart-totalprice-item-pay button {
        background: #2a9d8f;
    }

        .cart-totalprice-item-pay button:hover {
            background: #238b7e;
        }

        .cart-totalprice-item-pay button#btnGoToAuth {
            background: #2a2a3e !important;
            color: #6a6a88 !important;
        }

            .cart-totalprice-item-pay button#btnGoToAuth:hover {
                background: #3d3d5a !important;
                color: #a0a0b8 !important;
            }

    #div-customdiscount .cart-totalprice-item {
        background: #1a2a1a;
        border-color: #2a4a2a;
    }

    #strong-customdiscountamount {
        color: #4ade80;
    }
    .product-item-footer {
        border-top-color: rgba(255, 255, 255, 0.05);
        background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 100%);
    }

    .product-item-footer-teacher {
        background: rgba(255, 255, 255, 0.04);
    }

    .product-item:hover .product-item-footer-teacher {
        background: rgba(74, 222, 128, 0.05);
        border-color: rgba(74, 222, 128, 0.08);
    }

    .product-item-footer-teacher i {
        background: rgba(74, 222, 128, 0.1);
    }

    .product-item-footer-teacher p {
        color: #a0a0b8;
    }

    .product-item-footer-price-item {
        background: rgba(255, 255, 255, 0.04);
    }

    .product-item:hover .product-item-footer-price-item {
        background: rgba(255, 255, 255, 0.06);
    }

    .product-item-footer-price-item strong {
        color: #e8e8f0;
    }

    .product-item-footer-price-item:last-child {
        background: rgba(74, 222, 128, 0.06);
    }

    .product-item:hover .product-item-footer-price-item:last-child {
        background: rgba(74, 222, 128, 0.1);
    }

    .product-item-footer-price-item:last-child strong {
        color: #4ade80;
    }

    .product-item-footer-price-item:last-child .old-price {
        color: #6a6a88 !important;
    }

    .product-item-img-discount {
        background: linear-gradient(145deg, #e74c3c, #a93226);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .product-item-img-discount-bottom {
        background: rgba(0, 0, 0, 0.8);
    }
    .bridcrumb-container-checkout {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .bridcrumb li {
        color: #a0a0b8;
    }

    .bridcrumb li a {
        color: #c8c8e0;
    }

    .bridcrumb li a:hover {
        background: rgba(42, 157, 143, 0.15);
        color: #4ade80;
    }

    .bridcrumb li a i {
        color: #4ade80;
    }

    .bridcrumb .separator {
        color: #4a4a6a;
    }

    .bridcrumb li:last-child p {
        color: #4ade80;
        background: rgba(42, 157, 143, 0.12);
        border-color: rgba(42, 157, 143, 0.15);
    }
    #custom-discount-row.success {
        background: #1a2a1a !important;
        border-color: #2a4a2a !important;
    }

    #custom-discount-row.error {
        background: #2a1a1a !important;
        border-color: #4a2a2a !important;
    }
}
