﻿/* ============================================ */
/* 1. RESET & BASE STYLES (استایل‌های پایه)     */
/* ============================================ */

.BoxSizeAsli {
    max-width: 100% !important;
}

@media (max-width: 1240px) {
    .SlidePictureRight {
        display: block;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .RowDarsad {
        width: 100%;
        margin: 0;
    }
}

#owl-demo2 .item {
    box-shadow: 0px 0px 7px #888;
}

.DropDownListRelative1Box {
    display: none;
}

.FieldTextBoxOption {
    padding-top: 7px;
    padding-bottom: 10px;
}

.owl-theme .owl-controls .owl-buttons div, .StatusDetail {
    z-index: 998 !important;
}

.BoxSmallSearchIndex .BoxCenter {
    float: none;
    display: inline-block;
}

.HeaderRes {
    z-index: 999 !important;
}

.FactorRegisterCalcUnit {
    width: 60px !important;
}

.UserRes, .SearchRes, .TellMobile, .navLogin li {
    z-index: 9999 !important;
}

.FactorRegisterCalcRow2 {
    font-weight: 600;
}

.OrderDiscountBox, .FactorRegisterCalc {
    width: calc(100% - 2px) !important;
}

img {
    display: inline-block;
    position: relative;
}

.navCategory li .active {
    color: #ff0000;
}

.TextBoxAutoCapmlet {
    color: #000;
}

article {
    float: none;
}

.SearchBox {
    background-color: #fff;
    background-position: left center;
    background-repeat: no-repeat;
}

.CategorySpecialCategory .Itemn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* تصویر پیش‌فرض برای عکس‌های لود نشده */
img::before {
    content: "📷";
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    color: #999;
    font-size: 1.5rem;
}

img::after {
    content: "عکس یافت نشد";
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 12px;
    text-align: center;
}

.backtotop {
    bottom: 75px;
}

.BoxSmallSearchResButton {
    position: fixed;
    float: right;
    width: 110px;
    background-color: #ff0000;
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    bottom: 75px;
    right: 70px;
    z-index: 9999999999;
    border-radius: 15px;
}

@media (max-width: 1240px) {
    .BoxSmallSearchRes {
        text-align: center;
        float: none;
        display: none;
        position: fixed;
        height: calc(100% - 180px);
        right: 0;
        top: 60px;
        overflow: hidden;
        overflow-y: scroll;
        z-index: 99999999;
        padding-left: 30px;
        padding-bottom: 50px;
    }
}

header {
    min-height: 60px;
}
/* ============================================ */
/*  هدر ریسپانسیو موبایل                       */
/* ============================================ */
.HeaderTopMobileTop {
    display: none;
}

.HeaderTopMobile {
    display: none;
}

@media (max-width: 1240px) {

    .CopyRight
    {
        margin-bottom:70px;
    }
    .AutoCamplet {
        width: calc(100% - 2px);
        margin-right: 0;
    }

        .AutoCamplet .Item .TitleBox {
            width: calc(100% - 60px);
        }

    .AutoCampletProductBox {
        width: calc(50% - 2px);
    }

    .AutoCampletCategoryProductBox {
        width: 50%;
    }

    .AutoCampletProduct {
        width: 100%;
        border: 0;
    }

    .HeaderTop {
        display: none;
    }

    .LogoMobileNew {
        float: left;
        background-size: 100% 100%;
        height: 40px;
        width: 123px;
        margin-top: 10px;
        margin-left: 10px;
        background-image: url(../Administrator/Files/Design/Logo2.png);
    }

    .TellMobileNew {
        float: right;
        color: #fff;
        margin-top: 17px;
        margin-right: 10px;
    }

    .HeaderTopMobileTop {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        min-height: 60px;
        width: 100%;
        background: #777;
        border-top: solid 1px #aaa;
        z-index: 1000;
        direction: rtl;
        box-shadow: 0px -2px 12px rgba(0, 0, 0, 0.25);
    }

    .HeaderTopMobile {
        display: block;
        position: fixed;
        bottom: 0;
        right: 0;
        min-height: 60px;
        width: 100%;
        background: #fff;
        border-top: solid 1px #aaa;
        box-shadow: 0px -2px 12px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        direction: rtl;
        padding-top: 10px;
    }

        /* ===== منوی پایین ===== */
        .HeaderTopMobile .mobile-menu {
            display: flex;
            justify-content: space-around;
            align-items: center;
            height: 60px;
            padding: 0 10px;
            max-width: 600px;
            margin: 0 auto;
            background: #fff;
            border-radius: 16px 16px 0 0;
        }

            .HeaderTopMobile .mobile-menu a {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-decoration: none;
                color: #000;
                font-size: 13px;
                font-weight: 500;
                transition: all 0.3s ease;
                padding: 4px 8px;
                border-radius: 8px;
                min-width: 44px;
                position: relative;
                gap: 2px;
            }

                .HeaderTopMobile .mobile-menu a::before {
                    font-size: 20px;
                    display: block;
                }

                .HeaderTopMobile .mobile-menu a[href="/"]::before {
                    content: "🏠";
                }

                .HeaderTopMobile .mobile-menu a#btnCategoryMenu::before {
                    content: "📂";
                }

                .HeaderTopMobile .mobile-menu a[href*="OrderInsert"]::before {
                    content: "🛒";
                }

                .HeaderTopMobile .mobile-menu a#btnSearch::before {
                    content: "🔍";
                }

                .HeaderTopMobile .mobile-menu a[href*="UserEdit"]::before {
                    content: "👤";
                }

                .HeaderTopMobile .mobile-menu a:hover {
                    color: #007bff;
                    background: #f0f8ff;
                    transform: translateY(-2px);
                }

                .HeaderTopMobile .mobile-menu a:active {
                    transform: scale(0.95);
                }

                .HeaderTopMobile .mobile-menu a.active {
                    color: #007bff;
                    font-weight: 600;
                }

                    .HeaderTopMobile .mobile-menu a.active::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        width: 60%;
                        height: 3px;
                        background: #007bff;
                        border-radius: 0 0 4px 4px;
                    }

            .HeaderTopMobile .mobile-menu .cart-badge {
                position: absolute;
                top: -4px;
                right: 0px;
                background: #ff4444;
                color: white;
                border-radius: 50%;
                padding: 1px 6px;
                font-size: 10px;
                font-weight: bold;
                min-width: 18px;
                text-align: center;
                box-shadow: 0 2px 6px rgba(255,68,68,0.4);
            }

    /* ===== سایدبار منوی دسته‌بندی ===== */
    .category-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100%;
        background: #ffffff;
        z-index: 2000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        overflow-y: auto;
        direction: rtl;
        border-radius: 0 0 0 24px;
    }

        .category-sidebar.open {
            right: 0;
        }

    /* هدر سایدبار */
    .category-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        border-radius: 0 0 20px 20px;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0,123,255,0.3);
    }

        .category-sidebar-header .close-sidebar {
            background: rgba(255,255,255,0.2);
            border: none;
            color: #fff;
            font-size: 40px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

            .category-sidebar-header .close-sidebar:hover {
                background: rgba(255,255,255,0.35);
                transform: rotate(90deg);
            }

    /* بدنه سایدبار */
    .category-sidebar-body {
        padding: 8px 0 20px 0;
    }

        .category-sidebar-body .HeaderTopMobileCategoryUl {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            /* ===== استایل منوی دسته‌بندی ===== */
            .category-sidebar-body .HeaderTopMobileCategoryUl li {
                list-style: none;
                border-bottom: 1px solid #f0f0f0;
                position: relative;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                text-align: right;
            }

                .category-sidebar-body .HeaderTopMobileCategoryUl li:last-child {
                    border-bottom: none;
                }

        /* لینک اصلی - با flex:1 تا فضای باقی‌مونده رو بگیره */
        .category-sidebar-body .HeaderTopMobilemenu-link {
            flex: 1;
            padding: 14px 20px;
            color: #333;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.2s ease;
            background: #fff;
            border-radius: 0;
            min-width: 0;
            word-break: break-word;
            text-align: right;
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }

            .category-sidebar-body .HeaderTopMobilemenu-link:hover {
                background: #f5f9ff;
                color: #007bff;
            }

            .category-sidebar-body .HeaderTopMobilemenu-link:active {
                background: #e6f0ff;
            }

        /* دکمه باز/بسته کردن زیرمنو */
        .category-sidebar-body .toggle-submenu {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            background: transparent;
            border: none;
            border-left: 1px solid #eee;
            color: #666;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 4px 0;
            border-radius: 8px 0 0 8px;
            order: -1;
            /* دکمه رو به چپ می‌بره */
        }

            .category-sidebar-body .toggle-submenu:hover {
                background: #f0f4ff;
                color: #007bff;
            }

            .category-sidebar-body .toggle-submenu:active {
                transform: scale(0.9);
            }

        /* چرخش دکمه هنگام باز بودن زیرمنو */
        .category-sidebar-body .HeaderTopMobilehas-dropdown.open > .toggle-submenu {
            transform: rotate(180deg);
            color: #007bff;
        }

        /* ===== زیرمنوها ===== */
        .category-sidebar-body .HeaderTopMobilesubmenu {
            list-style: none;
            padding: 0;
            margin: 0;
            background: #f8faff;
            display: none;
            border-right: 3px solid #007bff;
            width: 100%;
            /* تمام عرض رو بگیره */
        }

            .category-sidebar-body .HeaderTopMobilesubmenu.open {
                display: block;
            }

            /* سطح دوم */
            .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilemenu-item {
                border-bottom: 1px solid #f0f4ff;
                padding-right: 15px;
                /* فاصله از راست برای سطح دوم */
            }

            .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilemenu-link {
                padding: 12px 30px;
                font-size: 14px;
                font-weight: 400;
                color: #444;
                background: #f8faff;
                text-align: right;
            }

                .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilemenu-link:hover {
                    background: #eef4ff;
                    color: #0056b3;
                }

            /* دکمه‌های سطح دوم */
            .category-sidebar-body .HeaderTopMobilesubmenu .toggle-submenu {
                border-left-color: #dce4f0;
                height: 42px;
                width: 40px;
                font-size: 13px;
                order: -1;
            }

            /* سطح سوم */
            .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu {
                background: #f0f5ff;
                border-right-color: #0056b3;
            }

                .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilemenu-item {
                    padding-right: 30px;
                    /* فاصله بیشتر برای سطح سوم */
                }

                .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilemenu-link {
                    padding: 10px 38px;
                    font-size: 13px;
                    background: #f0f5ff;
                    text-align: right;
                }

                    .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilemenu-link:hover {
                        background: #e3edff;
                    }

                /* دکمه‌های سطح سوم */
                .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .toggle-submenu {
                    border-left-color: #c8d8f0;
                    height: 38px;
                    width: 36px;
                    font-size: 12px;
                    order: -1;
                }

                /* سطح چهارم */
                .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu {
                    background: #e8f0ff;
                    border-right-color: #003d80;
                }

                    .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilemenu-item {
                        padding-right: 45px;
                        /* فاصله بیشتر برای سطح چهارم */
                    }

                    .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilemenu-link {
                        padding: 10px 46px;
                        font-size: 12px;
                        background: #e8f0ff;
                        color: #333;
                        text-align: right;
                    }

                        .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilemenu-link:hover {
                            background: #dce8ff;
                        }

                    /* دکمه‌های سطح چهارم */
                    .category-sidebar-body .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .HeaderTopMobilesubmenu .toggle-submenu {
                        border-left-color: #b8cce8;
                        height: 36px;
                        width: 34px;
                        font-size: 11px;
                        order: -1;
                    }

    /* ===== اوورلی ===== */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        display: none;
        opacity: 0;
        transition: opacity 0.35s ease;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

        .sidebar-overlay.show {
            display: block;
            opacity: 1;
        }
}

/* اسکرول‌بار برای سایدبار */
.category-sidebar::-webkit-scrollbar {
    width: 4px;
}

.category-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.category-sidebar::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

    .category-sidebar::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }


/* ============================================ */
/*  سایدبار جستجو (تمام صفحه)                  */
/* ============================================ */

.SearchBoxBox {
    display: block;
}

/* سایدبار جستجو - تمام صفحه */
.search-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 3000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    direction: rtl;
    display: flex;
    flex-direction: column;
}

    .search-sidebar.open {
        right: 0;
    }

/* هدر سایدبار جستجو */
.search-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
    flex-shrink: 0;
}

    .search-sidebar-header .close-search {
        background: rgba(255,255,255,0.2);
        border: none;
        color: #fff;
        font-size: 28px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

        .search-sidebar-header .close-search:hover {
            background: rgba(255,255,255,0.35);
            transform: rotate(90deg);
        }

/* بدنه سایدبار جستجو */
.search-sidebar-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8faff;
}



/* اوورلی مخصوص جستجو */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

    .search-overlay.show {
        display: block;
        opacity: 1;
    }

/* ===== اسکرول‌بار برای سایدبار جستجو ===== */
.search-sidebar::-webkit-scrollbar {
    width: 4px;
}

.search-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.search-sidebar::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

    .search-sidebar::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }

/* ===== تنظیمات ریسپانسیو برای صفحه‌های کوچک ===== */
@media (max-width: 480px) {
    .search-sidebar-body {
        padding: 15px;
    }
}
/* ============================================ */
/* 2. FAQ SECTION (بخش سوالات متداول)           */
/* ============================================ */

.faq-item {
    border: 1px solid #4CAF50;
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px;
    background: #f9fff9;
}

.faq-question {
    margin: 0;
    cursor: pointer;
    color: #2e7d32;
    text-align: justify;
}

    .faq-question:hover {
        color: #1b5e20;
    }

.faq-answer {
    display: none;
    margin-top: 8px;
    color: #333;
}

.faq-item.active .faq-answer {
    display: block;
    text-align: justify;
}


/* ============================================ */
/* 3. CTA BUTTONS (دکمه‌های دعوت به اقدام)      */
/* ============================================ */

.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.cta-button {
    background: linear-gradient(135deg, #3aa2e0, #36c57d);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

    .cta-button:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        color: #ffff00 !important;
    }

.cta-secondary {
    background: linear-gradient(135deg, #36c57d, #3aa2e0);
}


/* ============================================ */
/* 4. TABLE STYLES (استایل‌های جدول)            */
/* ============================================ */

.Box table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    text-align: center;
    background-color: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .Box table tr {
        border-bottom: 1px solid #ccc;
    }

    .Box table th,
    .Box table td {
        padding: 12px 15px;
        border: 1px solid #ddd;
    }

    .Box table th {
        background-color: #36c57d;
        color: #fff;
        font-weight: bold;
    }

    .Box table tr:nth-child(even) {
        background-color: #f3f9f5;
    }

    .Box table tr:hover {
        background-color: #e0f2e9;
        transition: background-color 0.3s ease;
    }

/* جدول ریسپانسیو */
@media screen and (max-width: 768px) {
    .Box table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

        .Box table th,
        .Box table td {
            display: table-cell;
        }

        .Box table::after {
            display: block;
            text-align: center;
            font-size: 11px;
            color: #999;
            padding: 8px 0 4px 0;
        }
}


/* ============================================ */
/* 5. VIDEO STYLES (استایل‌های ویدئو)           */
/* ============================================ */

video {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
    background: #000;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    border: 2px solid rgba(255,255,255,0.08);
}

    video:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 60px rgba(0,255,160,0.4);
        border-color: rgba(0,255,200,0.3);
    }

    video::before {
        content: "▶";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 70px;
        color: rgba(255,255,255,0.85);
        background: rgba(0,0,0,0.3);
        border-radius: 50%;
        padding: 25px 35px 25px 45px;
        transition: all 0.3s ease-in-out;
        opacity: 1;
        pointer-events: none;
    }

    video::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 140px;
        height: 140px;
        background: radial-gradient(circle, rgba(0,255,180,0.3) 0%, rgba(0,0,0,0) 70%);
        transform: translate(-50%, -50%);
        opacity: 0.7;
        filter: blur(15px);
        border-radius: 50%;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    video:hover::before {
        color: #00ffd5;
        text-shadow: 0 0 20px #00ffd5;
        transform: translate(-50%, -50%) scale(1.1);
    }

    video:hover::after {
        opacity: 1;
        filter: blur(25px);
    }

    video:focus::before,
    video:active::before {
        opacity: 0;
    }

/* ویدئو ریسپانسیو */
@media (max-width: 600px) {
    video {
        max-width: 95%;
        border-radius: 14px;
        margin: 25px auto;
    }

        video::before {
            font-size: 50px;
            padding: 20px 28px 20px 38px;
        }
}





/* ============================================ */
/* 7. COLOR & SIZE SELECTION (انتخاب رنگ و سایز) */
/* ============================================ */

.SizeTitleItem {
    float: right;
    width: 60px;
    margin-left: 10px;
    margin-top: 1px;
    border: 1px solid #DDD;
    padding-left: 10px;
    cursor: pointer;
    width: 108px;
    padding-bottom: 1px;
    padding-top: 2px;
    background-color: #fff;
}

.SizeTitleItem2 {
    background-color: #eee;
}

.FieldRadioRang {
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    float: none !important;
}

    .FieldRadioRang tr {
        border: 0 !important;
    }

        .FieldRadioRang tr:hover {
            background-color: transparent !important;
            transition: none !important;
        }

    .FieldRadioRang td {
        padding: 0 !important;
        border: 0 !important;
        margin-left: 2px;
        margin-right: 2px;
        display: inline-block;
        font-size: 8pt;
        cursor: pointer;
        color: #333;
        margin-top: 2px;
        width: 64px;
        background-color: #fff;
        margin: 3px 3px 40px 3px;
    }

        .FieldRadioRang td input {
            cursor: pointer;
            display: none;
        }

        .FieldRadioRang td:hover {
            color: #ff0000;
        }

        .FieldRadioRang td label {
            width: 100%;
            float: right;
            text-align: center;
            cursor: pointer;
            border: solid 2px #ddd;
            border-radius: 50%;
            width: 56px;
            height: 56px;
            padding: 2px;
        }

            .FieldRadioRang td label:hover {
                border: solid 2px #ff0000;
            }

    .FieldRadioRang .ColorDetail,
    .ColorDetail {
        width: 56px;
        height: 56px;
        display: inline-block;
        background-repeat: no-repeat;
        cursor: pointer;
        position: relative;
        background-size: 100% 100%;
        border-radius: 50%;
    }

    .FieldRadioRang .Title {
        float: right;
        width: 100%;
        text-align: center;
        font-size: 8pt;
    }

.SizeTitle2 {
    width: calc(100% - 10px) !important;
    text-align: center !important;
}

.FieldRadio2 {
    font-size: 11pt;
}

.ColorItem {
    width: 10px;
    height: 10px;
    float: right;
    margin-top: 4px;
    margin-left: 5px;
    margin-right: 2px;
    border: 1px solid #ccc;
    cursor: pointer;
}


/* ============================================ */
/* 8. TABLE OF CONTENTS (فهرست مطالب)           */
/* ============================================ */

.table-of-contents {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.toc-title {
    font-size: 1.2rem;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.toc-list {
    list-style: decimal;
    padding-right: 20px;
    margin: 0;
}

.toc-item {
    margin-bottom: 8px;
}

    .toc-item a {
        text-decoration: none;
        color: #0066cc;
    }

        .toc-item a:hover {
            text-decoration: underline;
        }


/* ============================================ */
/* 9. TYPOGRAPHY & HEADINGS (تایپوگرافی)       */
/* ============================================ */

article h2 {
    padding: 5px 15px;
    background: #fff2ec;
    border-right: 3px solid #ff6925;
    max-width: max-content;
    width: auto;
    text-align: right !important;
    line-height: 240%;
}


/* ============================================ */
/* 10. OTHER COMPONENTS (سایر کامپوننت‌ها)      */
/* ============================================ */

.BastanMenu {
    background-color: #ff0000;
    color: #fff;
    padding: 5px 15px;
    margin: 10px 0;
    border-radius: 10px;
}

article img {
    width: auto !important;
    max-width: 100% !important;
}

.ProductShowColor {
    margin-top: 0;
}

.ProductCompareItemTitle {
    font-weight: bold;
    color: #000;
}

.CategorySpecialProduct .ItemImage {
    height: 190px !important;
}

.HeaderTopMenu {
    box-shadow: 0px 5px 10px #ccc;
}

#owl-demo .item img {
    width: 70px;
    height: 70px;
}

.OrderRepairStep .Item {
    margin-top: 11px !important;
}



/* ============================================ */
/* 9. گالری لینک    */
/* ============================================ */


/* گالری لینک - نمایش خودکار باکس‌ها کنار هم */
.link-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    justify-content: flex-start;
    direction: rtl;
}

.link-card {
    flex: 1 1 calc(25% - 20px); /* پیش‌فرض 4 تا در هر ردیف */
    min-width: 200px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

    .link-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.link-icon {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f5f5f5;
}

.link-card h4 {
    margin: 10px 0;
    font-size: 16px;
}

    .link-card h4 a {
        color: #333;
        text-decoration: none;
    }

        .link-card h4 a:hover {
            color: #0066cc;
        }

.link-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 10px 0;
}

/* استایل جدید برای نمایش قیمت */
.link-price {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 13pt;
    font-weight: bold;
    margin: 8px 2px;
}

/* استایل جدید برای دکمه‌ها - جایگزین .link-more قدیمی */
.link-more {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13pt;
    font-weight: bold;
    transition: all 0.3s ease;
}

    /* دکمه مشاهده (آبی) */
    .link-more.btn-view {
        background: #0066cc;
        color: #fff;
    }

        .link-more.btn-view:hover {
            background: #0052a3;
            text-decoration: none;
            transform: translateY(-2px);
        }

    /* دکمه خرید (گرادیانت سبز با افکت) */
    .link-more.btn-buy {
        display: inline-block;
        background: #28a745;
        color: #fff;
        padding: 6px 16px;
        border-radius: 5px;
        font-size: 13pt;
        font-weight: bold;
        margin: 8px 2px;
    }

        .link-more.btn-buy:hover {
            transform: translateY(-2px);
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(40,167,69,0.4);
        }

/* ریسپانسیو برای نمایش تعداد مناسب در هر دستگاه */
@media (max-width: 1240px) {
    .link-card {
        flex: 1 1 calc(33.33% - 20px); /* 3 تا در هر ردیف */
    }

    .link-icon {
        height: 170px;
    }
}

@media (max-width: 992px) {
    .link-card {
        flex: 1 1 calc(50% - 20px); /* 2 تا در هر ردیف */
    }

    .link-icon {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .link-card {
        flex: 1 1 100%; /* 1 تا در هر ردیف (موبایل) */
    }

    .link-icon {
        height: 200px;
    }
}


/* ============================================ */
/* گالری تصویر و ویدئو - نسخه نهایی با چیدمان کامل در موبایل */
/* ============================================ */

/* عنوان گالری */
.gallery-main-title {
    border-radius: 10px !important;
    padding: 10px 20px !important;
    text-align: right !important;
    margin: 20px 0 !important;
    font-size: 14pt !important;
    font-weight: bold !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* استایل گالری تصویر و ویدئو */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
    direction: rtl;
    text-align: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.image-gallery-item {
    flex: 1 1 auto;
    min-width: 200px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    box-sizing: border-box;
}

    .image-gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* یکسان سازی ارتفاع و ابعاد تصاویر */
.gallery-image-img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
}

/* استایل عنوان زیر ویدئو/تصویر */
.video-title-overlay {
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== ریسپانسیو ========== */

/* صفحه بزرگ (دسکتاپ) - 4 ستون */
@media (min-width: 1201px) {
    .image-gallery {
        gap: 20px;
    }

    .image-gallery-item {
        flex: 0 1 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

/* تبلت افقی و صفحه متوسط - 3 ستون */
@media (max-width: 1200px) and (min-width: 769px) {
    .image-gallery {
        justify-content: center;
        gap: 20px;
    }

    .image-gallery-item {
        flex: 0 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }

    .gallery-image-img {
        height: 200px;
    }
}

/* تبلت عمودی - 2 ستون */
@media (max-width: 768px) and (min-width: 481px) {
    .image-gallery {
        justify-content: center;
        gap: 15px;
    }

    .image-gallery-item {
        flex: 0 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
        min-width: 150px;
    }

    .gallery-image-img {
        height: 180px;
    }

    .video-title-overlay {
        font-size: 12px;
        padding: 8px;
    }
}

/* موبایل - 1 ستون (عرض کامل با حذف فضای خالی کناری) */
@media (max-width: 480px) {
    .image-gallery {
        justify-content: center;
        gap: 15px;
        padding: 0;
        margin: 20px 0;
    }

    .image-gallery-item {
        flex: 0 1 calc(100% - 0px);
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .gallery-image-img {
        height: 220px;
        width: 100%;
        border-radius: 10px;
    }

    .video-title-overlay {
        font-size: 14px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 360px) {
    .gallery-image-img {
        height: 180px;
    }
}

/* ========== پشتیبانی از RTL ========== */
.image-gallery {
    justify-content: center;
}

/* رفع مشکل نامیزانی تصاویر با ابعاد مختلف */
.image-gallery-item {
    position: relative;
}

.gallery-image-img {
    aspect-ratio: 16 / 9;
}


/* ============================================ */
/* ریسپانسیو برای دستگاه‌های مختلف              */
/* ============================================ */

/* تبلت و دستگاه�های متوسط */
@media (max-width: 992px) {
    .media-gallery-item {
        flex: 1 1 calc(33.33% - 20px);
    }

    .gallery-media-img {
        height: 200px;
    }
}

/* موبایل بزرگ */
@media (max-width: 768px) {
    .media-gallery-item {
        flex: 1 1 calc(50% - 15px);
        min-width: 160px;
    }

    .gallery-media-img {
        height: 180px;
    }

    .video-play-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* موبایل کوچک */
@media (max-width: 576px) {
    .media-gallery {
        gap: 12px;
    }

    .media-gallery-item {
        flex: 1 1 100%;
        min-width: auto;
    }

    .gallery-media-img {
        height: 220px;
    }
}

/* ============================================ */
/* پاپ‌آپ گالری (ونوباکس/لایت‌باکس) - در صورت نیاز */
/* ============================================ */

/* اگر از پلاگین venobox استفاده می‌کنید */
.popup-media {
    cursor: pointer;
}

/* حالت فوکوس برای دسترسی بهتر */
.media-gallery-item:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}


/* ============================================ */
/* استایل نظرات مشتریان - نسخه اصلاحی */
/* ============================================ */

/* بخش اصلی نظرات */
.testimonials-section {
    margin: 40px 0;
    direction: rtl;
}

/* شبکه کارت‌ها */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: flex-start;
    margin: 30px 0;
    direction: rtl;
}

/* کارت نظر */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    box-sizing: border-box;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

/* هدر کارت */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* عکس پروفایل */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4757;
}

/* جایگزین عکس (وقتی عکس وجود ندارد) */
.testimonial-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

/* اطلاعات نویسنده */
.testimonial-info {
    flex: 1;
}

    .testimonial-info h4 {
        margin: 0 0 5px 0;
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }

    .testimonial-info span {
        font-size: 12px;
        color: #888;
        display: block;
    }

/* امتیاز ستاره‌ای */
.testimonial-rating {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 2px;
    direction: ltr;
    unicode-bidi: normal;
}

/* متن نظر */
.testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* تاریخ نظر */
.testimonial-date {
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: left;
    direction: ltr;
}

/* ========== ریسپانسیو ========== */

/* دسکتاپ بزرگ - 3 ستون */
@media (min-width: 1200px) {
    .testimonials-grid {
        gap: 25px;
    }

    .testimonial-card {
        width: calc(33.333% - 17px);
        flex: none;
    }
}

/* دسکتاپ متوسط - 3 ستون */
@media (min-width: 992px) and (max-width: 1199px) {
    .testimonials-grid {
        gap: 20px;
    }

    .testimonial-card {
        width: calc(33.333% - 14px);
        flex: none;
    }
}

/* تبلت افقی - 2 ستون */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonials-grid {
        gap: 20px;
    }

    .testimonial-card {
        width: calc(50% - 10px);
        flex: none;
    }

    .testimonial-header {
        gap: 12px;
    }

    .testimonial-avatar,
    .testimonial-avatar-placeholder {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* تبلت عمودی - 1 ستون */
@media (min-width: 576px) and (max-width: 767px) {
    .testimonials-grid {
        gap: 15px;
    }

    .testimonial-card {
        width: 100%;
        flex: none;
    }

    .testimonial-header {
        gap: 12px;
    }

    .testimonial-avatar,
    .testimonial-avatar-placeholder {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* موبایل - 1 ستون */
@media (max-width: 575px) {
    .testimonials-section {
        margin: 25px 0;
    }

    .testimonials-grid {
        gap: 15px;
        margin: 20px 0;
    }

    .testimonial-card {
        width: 100%;
        flex: none;
        padding: 18px;
    }

    .testimonial-header {
        gap: 10px;
    }

    .testimonial-avatar,
    .testimonial-avatar-placeholder {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .testimonial-info h4 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .testimonial-info span {
        font-size: 11px;
    }

    .testimonial-rating {
        font-size: 12px;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .testimonial-date {
        font-size: 11px;
        padding-top: 12px;
    }
}

/* ============================================ */
/* گالری لینک ساده (مطالب مشابه) */
/* ============================================ */

.simple-link-gallery {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    direction: rtl;
}

    .simple-link-gallery li {
        border-bottom: 1px solid #f0f0f0;
    }

        .simple-link-gallery li:last-child {
            border-bottom: none;
        }

        .simple-link-gallery li a {
            display: block;
            padding: 14px 20px;
            color: #2c3e50;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.2s ease;
            background: #fff;
        }

            .simple-link-gallery li a:hover {
                background: #f8f9fa;
                color: #0066cc;
                padding-right: 25px;
            }










/* ============================================ */
/*-------------------------AdsHomePageGallery - Modern Version-------------------------*/
/* ============================================ */

/*-------------------------AdsHomePageGallery - Modern Version-------------------------*/
.ProductShow {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

    .ProductShow > .ItemAds {
        display: flex !important;
        flex-direction: column !important;
        width: 240px !important;
        max-width: calc(100% - 10px) !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
        margin: 0 !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

        .ProductShow > .ItemAds:hover {
            transform: translateY(-5px) !important;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
        }

        .ProductShow > .ItemAds .ItemImage {
            width: 100% !important;
            height: 200px !important;
            object-fit: cover !important;
            transition: transform 0.3s ease !important;
            display: block !important;
            background: #f0f0f0 !important;
            flex-shrink: 0 !important;
        }

        .ProductShow > .ItemAds:hover .ItemImage {
            transform: scale(1.05) !important;
        }

        .ProductShow > .ItemAds .ItemTitle {
            font-size: 14px !important;
            font-weight: 600 !important;
            color: #1a1a1a !important;
            margin: 10px 10px 5px 10px !important;
            padding: 0 !important;
            line-height: 1.4 !important;
            text-align: right !important;
            word-wrap: break-word !important;
            word-break: break-word !important;
            white-space: normal !important;
            height: auto !important;
            width: auto !important;
        }

        .ProductShow > .ItemAds:hover .ItemTitle {
            color: #e11d48 !important;
        }

        .ProductShow > .ItemAds .ItemTitle2 {
            font-size: 12px !important;
            font-weight: 400 !important;
            color: #6c757d !important;
            margin: 0 10px 12px 10px !important;
            padding: 0 !important;
            line-height: 1.5 !important;
            text-align: center !important;
            width: auto !important;
            float: none !important;
            word-wrap: break-word !important;
            word-break: break-word !important;
            white-space: normal !important;
            height: auto !important;
        }

/* موبایل */
@media (max-width: 640px) {
    .ProductShow {
        gap: 12px !important;
        padding: 10px !important;
        justify-content: space-between !important;
    }

        .ProductShow > .ItemAds {
            width: calc(50% - 8px) !important;
            min-width: 140px !important;
            max-width: calc(50% - 8px) !important;
            height: auto !important;
        }

            .ProductShow > .ItemAds .ItemImage {
                height: 160px !important;
            }

            .ProductShow > .ItemAds .ItemTitle {
                font-size: 12px !important;
                margin: 8px 8px 4px 8px !important;
            }

            .ProductShow > .ItemAds .ItemTitle2 {
                font-size: 11px !important;
                margin: 0 8px 10px 8px !important;
                line-height: 1.45 !important;
            }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .ProductShow > .ItemAds {
        width: calc(50% - 6px) !important;
        min-width: 130px !important;
    }

        .ProductShow > .ItemAds .ItemImage {
            height: 140px !important;
        }

        .ProductShow > .ItemAds .ItemTitle2 {
            font-size: 10px !important;
            line-height: 1.4 !important;
        }
}

/* ============================================ */
/*-------------------------RepeaterIndexItem - Modern Version-------------------------*/
/* ============================================ */



.RepeaterIndexItem {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    height: auto !important;
}

    .RepeaterIndexItem .ItemAds {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 190px !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        margin: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

        .RepeaterIndexItem .ItemAds:hover {
            transform: translateY(-4px) !important;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
        }

    .RepeaterIndexItem .ItemImage {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        display: block !important;
        object-fit: cover !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .RepeaterIndexItem .ItemAds:hover .ItemImage {
        transform: scale(1.03) !important;
    }

    .RepeaterIndexItem .ItemTitle {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 12px 0 6px 0 !important;
        padding: 0 !important;
        line-height: 1.4 !important;
        text-align: center !important;
        width: 100% !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        white-space: normal !important;
        background: transparent !important;
    }

    .RepeaterIndexItem .ItemAds:hover .ItemTitle {
        color: #e11d48 !important;
    }

    .RepeaterIndexItem .ItemDesc {
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #64748b !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.5 !important;
        text-align: center !important;
        width: 100% !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        white-space: normal !important;
        background: transparent !important;
    }

/* تبلت */
@media (max-width: 768px) {
    .RepeaterIndexItem {
        gap: 16px !important;
        padding: 8px !important;
    }

        .RepeaterIndexItem .ItemAds {
            width: calc(33.33% - 12px) !important;
            min-width: 160px !important;
            padding: 10px !important;
        }

        .RepeaterIndexItem .ItemTitle {
            font-size: 13px !important;
            margin: 10px 0 4px 0 !important;
        }

        .RepeaterIndexItem .ItemDesc {
            font-size: 11px !important;
        }
}

/* موبایل */
@media (max-width: 640px) {
    .RepeaterIndexItem {
        gap: 12px !important;
        justify-content: space-between !important;
    }

        .RepeaterIndexItem .ItemAds {
            width: calc(50% - 8px) !important;
            min-width: 140px !important;
            padding: 10px !important;
        }

        .RepeaterIndexItem .ItemTitle {
            font-size: 12px !important;
            margin: 8px 0 4px 0 !important;
        }

        .RepeaterIndexItem .ItemDesc {
            font-size: 10px !important;
            line-height: 1.4 !important;
        }
}

/* موبایل خیلی کوچک */
@media (max-width: 400px) {
    .RepeaterIndexItem .ItemAds {
        width: calc(50% - 6px) !important;
        min-width: 130px !important;
        padding: 8px !important;
    }
}


/*-------------------------Owl Carousel Support for RepeaterIndexItem-------------------------*/

/* تنظیم کانتینر اصلی */
.RepeaterIndexItem {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

    /* تنظیم owl-carousel برای نمایش افقی */
    .RepeaterIndexItem .owl-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 20px !important;
        padding: 10px 15px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }

        /* مخفی کردن اسکرولبار در Webkit (اختیاری) */
        .RepeaterIndexItem .owl-carousel::-webkit-scrollbar {
            height: 4px !important;
        }

        .RepeaterIndexItem .owl-carousel::-webkit-scrollbar-track {
            background: #f1f1f1 !important;
            border-radius: 10px !important;
        }

        .RepeaterIndexItem .owl-carousel::-webkit-scrollbar-thumb {
            background: #c1c1c1 !important;
            border-radius: 10px !important;
        }

            .RepeaterIndexItem .owl-carousel::-webkit-scrollbar-thumb:hover {
                background: #a8a8a8 !important;
            }

        /* آیتم‌های داخل carousel */
        .RepeaterIndexItem .owl-carousel .ItemAds {
            flex: 0 0 auto !important;
            width: 190px !important;
            scroll-snap-align: start !important;
        }

        /* حذف استایل‌های اضافی owl که ممکنه تداخل کنن */
        .RepeaterIndexItem .owl-carousel .owl-stage,
        .RepeaterIndexItem .owl-carousel .owl-stage-outer,
        .RepeaterIndexItem .owl-carousel .owl-wrapper,
        .RepeaterIndexItem .owl-carousel .owl-item {
            display: flex !important;
            flex-wrap: nowrap !important;
        }

        .RepeaterIndexItem .owl-carousel .owl-stage-outer {
            overflow: visible !important;
            width: 100% !important;
        }

        .RepeaterIndexItem .owl-carousel .owl-item {
            float: none !important;
            width: auto !important;
        }

    /* دکمه‌های قبلی/بعدی owl (اگه وجود داره) */
    .RepeaterIndexItem .owl-nav {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }

        .RepeaterIndexItem .owl-nav button {
            pointer-events: auto !important;
            background: rgba(0,0,0,0.5) !important;
            color: white !important;
            border: none !important;
            border-radius: 50% !important;
            width: 36px !important;
            height: 36px !important;
            font-size: 20px !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
        }

            .RepeaterIndexItem .owl-nav button:hover {
                background: rgba(0,0,0,0.8) !important;
                transform: scale(1.05) !important;
            }

/* ریسپانسیو برای موبایل */
@media (max-width: 640px) {
    .RepeaterIndexItem .owl-carousel {
        gap: 12px !important;
        padding: 8px 12px !important;
    }

        .RepeaterIndexItem .owl-carousel .ItemAds {
            width: 160px !important;
        }

    .RepeaterIndexItem .owl-nav button {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
}


/* ========== استایل‌های جدول قیمت ========== */
/* ========== استایل‌های جدول قیمت ========== */
.price-table-container {
    margin: 30px 0;
    overflow-x: auto;
    overflow-y: visible;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch; /* برای اسکرول نرم در iOS */
    position: relative;
}

    /* اضافه کردن اسکرول‌بار برای نمایش بهتر */
    .price-table-container::-webkit-scrollbar {
        height: 8px;
    }

    .price-table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .price-table-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .price-table-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.price-table {
    width: 100%;
    min-width: 600px; /* حداقل عرض برای حفظ ساختار */
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

    .price-table thead tr {
        background: linear-gradient(135deg, #ff4757, #ff6b81);
    }

    .price-table th {
        color: #fff;
        padding: 15px;
        font-size: 15px;
        font-weight: bold;
        white-space: nowrap;
    }

    .price-table tbody tr {
        transition: all 0.3s ease;
    }

        .price-table tbody tr:hover td {
            background: rgba(46, 213, 115, 0.2) !important;
            transform: scale(1.01);
        }

    .price-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

    .price-table tbody tr:last-child td {
        border-bottom: none;
    }

/* ============================================================
   استایل اختصاصی برای موبایل
   ============================================================ */
@media (max-width: 768px) {
    .price-table-container {
        margin: 20px 0;
        border-radius: 12px;
        border: 1px solid #eee;
        background: #fafafa;
        padding: 5px 0;
    }

    .price-table {
        min-width: 500px;
        border-radius: 12px;
    }

        .price-table th,
        .price-table td {
            padding: 8px 12px;
            font-size: 12px;
            white-space: nowrap;
        }

        .price-table th {
            font-size: 11px;
            padding: 10px 12px;
        }

        .price-table td {
            font-size: 11px;
            padding: 8px 12px;
        }

    /* نمایش اسکرول‌بار در موبایل */
    .price-table-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

        /* راهنمای اسکرول برای کاربر */
        .price-table-container::after {
            content: "↔ برای دیدن بقیه جدول اسکرول کنید";
            display: block;
            text-align: center;
            font-size: 11px;
            color: #999;
            padding: 8px 0 4px 0;
            font-family: IRANSans, Tahoma, sans-serif;
        }
}

/* برای صفحه‌های بسیار کوچک (عرض کمتر از 480px) */
@media (max-width: 480px) {
    .price-table {
        min-width: 400px;
    }

        .price-table th,
        .price-table td {
            padding: 6px 8px;
            font-size: 10px;
        }

        .price-table th {
            font-size: 10px;
        }

        .price-table td {
            font-size: 10px;
        }
}

/* counter-styles.css */
.counter-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .counter-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
        pointer-events: none;
    }

.counter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.counter-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

    .counter-item:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.2);
    }

.counter-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ff4757;
    display: inline-block;
    transition: transform 0.3s ease;
}

.counter-item:hover .counter-icon {
    transform: scale(1.1);
}

.counter-number-wrapper {
    margin-bottom: 15px;
}

.counter-number {
    font-size: 48px;
    font-weight: 800;
    color: #ff4757;
    line-height: 1;
    display: inline-block;
}

.counter-suffix {
    font-size: 32px;
    font-weight: 700;
    color: #ff4757;
    margin-right: 5px;
}

.counter-label {
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 500;
    margin-top: 10px;
}

.counter-progress {
    width: 80%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin: 15px auto 0;
    overflow: hidden;
}

.counter-progress-bar {
    width: 0%;
    height: 100%;
    background: #ff4757;
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

@media (max-width: 768px) {
    .counter-section {
        padding: 40px 15px;
    }

    .counter-number {
        font-size: 32px;
    }

    .counter-suffix {
        font-size: 24px;
    }

    .counter-icon {
        font-size: 40px;
    }

    .counter-label {
        font-size: 13px;
    }

    .counter-item {
        padding: 15px 10px;
        min-width: 150px;
    }
}

/* ========== استایل‌های پکیج قیمت (Pricing Card) ========== */

/* بخش اصلی پکیج‌ها */
.pricing-section {
    margin: 50px 0;
    padding: 20px;
    direction: rtl;
}

/* کانتینر پکیج‌ها */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    direction: rtl;
}

/* کارت پکیج */
.pricing-card {
    flex: 1;
    min-width: 220px;
    max-width: calc(20% - 25px);
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

    /* هاور افکت */
    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

/* کارت ویژه (پیشنهاد ویژه) */
.pricing-card-featured {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff, #fff9f0);
    transform: scale(1.02);
}

    .pricing-card-featured:hover {
        transform: translateY(-10px) scale(1.02);
    }

/* نشان ویژه */
.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ffd700;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* آیکون پکیج */
.pricing-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* عنوان پکیج */
.pricing-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ff4757;
}

/* قیمت */
.pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: #ff4757;
    margin-bottom: 5px;
}

/* دوره (ماهانه/سالانه) */
.pricing-period {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

/* لیست ویژگی‌ها */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: right;
}

    .pricing-features li {
        padding: 8px 0;
        font-size: 14px;
        color: #555;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

        /* تیک (ویژگی موجود) */
        .pricing-features li .check {
            color: #28a745;
            font-size: 18px;
            font-weight: bold;
        }

        /* ضربدر (ویژگی ناموجود) */
        .pricing-features li .cross {
            color: #dc3545;
            font-size: 18px;
            font-weight: bold;
        }

/* دکمه خرید */
.pricing-btn {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: none;
    cursor: pointer;
}

    .pricing-btn:hover {
        background: #e03a4a;
        transform: scale(1.05);
        color: #fff;
        text-decoration: none;
    }

/* دکمه در کارت ویژه */
.pricing-card-featured .pricing-btn {
    background: #ffd700;
    color: #333;
}

    .pricing-card-featured .pricing-btn:hover {
        background: #ffc107;
        transform: scale(1.05);
    }

/* ========== ریسپانسیو ========== */

/* تبلت (بین 768 تا 1200 پیکسل) */
@media (max-width: 1200px) {
    .pricing-card {
        min-width: 280px;
        max-width: calc(33.33% - 25px);
    }
}

/* موبایل (کمتر از 768 پیکسل) */
@media (max-width: 768px) {
    .pricing-card {
        max-width: 100%;
    }

    .pricing-section {
        padding: 10px;
    }

    .pricing-price {
        font-size: 28px;
    }

    .pricing-title {
        font-size: 20px;
    }

    .pricing-icon {
        font-size: 40px;
    }

    .pricing-features li {
        font-size: 13px;
        padding: 6px 0;
    }

    .pricing-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* موبایل خیلی کوچک (کمتر از 480 پیکسل) */
@media (max-width: 480px) {
    .pricing-card {
        padding: 15px;
    }

    .pricing-price {
        font-size: 24px;
    }

    .pricing-title {
        font-size: 18px;
    }

    .pricing-icon {
        font-size: 32px;
    }
}

/* ========== انیمیشن‌ها ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

    /* تاخیر در انیمیشن برای کارت‌ها */
    .pricing-card:nth-child(1) {
        animation-delay: 0s;
    }

    .pricing-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .pricing-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .pricing-card:nth-child(4) {
        animation-delay: 0.3s;
    }

    .pricing-card:nth-child(5) {
        animation-delay: 0.4s;
    }
/*-------------------------FieldDynamic - Modern Version (Only Visual, No Layout Change)-------------------------*/

/* فقط ظاهر فیلدها - بدون تغییر در float یا display */
.FieldTitle {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    letter-spacing: 0.3px !important;
}

.FieldTextBox {
    background: #ffffff !important;
    border: 1px solid #aaa !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    max-width: calc(100% - 7px);
}

.FieldTextBoxAddress {
    float: right;
    margin-right: 5px;
    background: #ffffff !important;
    border: 1px solid #aaa !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    width: 800px !important;
    max-width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
}

    .FieldTextBox:focus, .FieldTextBoxAddress:focus {
        outline: none !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
    }

.FieldTextBoxArea {
    border-radius: 8px !important;
    font-family: inherit !important;
    resize: vertical !important;
}

.FieldTextBoxNumber {
    text-align: center !important;
}

.FieldDropDownList {
    background: #ffffff !important;
    border: 1px solid #aaa !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

    .FieldDropDownList:focus {
        outline: none !important;
        border-color: #3b82f6 !important;
    }

.FieldRadioButton,
.FieldCheckBox {
    accent-color: #3b82f6 !important;
    cursor: pointer !important;
}

    .FieldRadioButton label,
    .FieldCheckBox label {
        color: #475569 !important;
        font-size: 13px !important;
    }

.FieldButton {
    background: #1e293b !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    width: auto !important;
}

    .FieldButton:hover {
        background: #0f172a !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    }

.FieldButtonDownload {
    background: #10b981 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

    .FieldButtonDownload:hover {
        background: #059669 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
        color: #ffffff !important;
    }

.FieldFileUpload {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

    .FieldFileUpload:hover {
        border-color: #3b82f6 !important;
        background: #eff6ff !important;
    }

.FieldCaptcha {
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    border: 1px solid #e2e8f0 !important;
}

.Validation, .ValidationNormal {
    color: #ef4444;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.ValidationRow {
    background: #fef2f2 !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
    color: #dc2626;
    font-size: 13px !important;
    display: inline-block !important;
    width: auto !important;
}

.ValidationRowLogin {
    color: #ef4444;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.FieldUnit {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

.SpanMoney {
    background: #ecfdf5 !important;
    color: #10b981 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.SpanTitleSearch {
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.SpanRegister {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/*-------------------------FieldDynamic - Fix TextArea Width-------------------------*/

/* تنظیم عرض textarea مثل textbox های دیگر */
.FieldTextBoxArea {
    width: 250px !important;
    max-width: 100% !important;
    min-height: 80px !important;
    resize: vertical !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

/* اگر textarea داخل کلاس خاصی هست */
textarea.FieldTextBox {
    width: 800px !important;
    max-width: calc(100% - 20px) !important;
    min-height: 200px !important;
}

/* برای اطمینان از هماهنگی با textbox های معمولی */
.FieldTextBoxFormsaz {
    width: 250px !important;
    box-sizing: border-box !important;
}

/* ریسپانسیو برای موبایل - عرض کامل بشه */
@media (max-width: 640px) {
    .FieldTextBoxArea,
    textarea.FieldTextBox,
    .FieldTextBox {
        width: calc(100% - 26px) !important;
        max-width: 100% !important;
    }
}










.CommentFaceBook .DivForm .TextBoxTitle {
    display: inline-block !important;
}

textarea.TextBoxTitle {
    min-height: 120px;
}




blockquote {
    background: linear-gradient(135deg, #f3f9f5 0%, #d0ebe0 100%);
    border-left: 8px solid #4a90e2;
    border-radius: 16px;
    padding: 20px 18px;
    font-size: 12pt;
    color: #1e2a3a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
    max-width: 95%;
    margin: 20px auto;
    line-height: 200%;
}

    blockquote:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 30px rgba(0,0,0,0.15);
    }

    /* استایل متن داخل بلاک‌کوت */
    blockquote p {
        margin: 0;
    }

/* ============================================ */
/* 6. PRODUCT INDEX REPEATER (تکرارکننده محصول) */
/* ============================================ */

.ProductIndexRepeaterDataList .Item .ItemImageLink {
    height: auto !important;
    margin-top: 5px !important;
}

.ProductIndexRepeaterDataList .Item .ItemImage {
    width: 95% !important;
    max-height: none !important;
    border-radius: 10px 10px 0 0 !important;
    min-height: 100px !important;
    max-width: none !important;
}

.ProductIndexRepeaterDataList .Item {
    height: 328px !important;
    display: inline-block !important;
}

    .ProductIndexRepeaterDataList .Item .CheckBoxMoghayese {
        width: 63px !important;
    }

@media (max-width: 600px) {
    .ProductIndexRepeaterDataList .Item .ItemImage {
        min-height: 150px !important;
    }
}



.ProductIndexRepeaterDataList .Item .ItemType2Box .ItemImageLink .ItemImage2 {
    display: none !important;
}

.ProductIndexRepeaterDataList .Item .ItemType2Box:hover .ItemImageLink .ItemImage {
    display: none !important;
}

.ProductIndexRepeaterDataList .Item .ItemType2Box:hover .ItemImageLink .ItemImage2 {
    display: inline-block !important;
}

.ProductIndexRepeaterDataList .Item .ItemTitle2 {
    display: block !important;
}


.CategorySpecialProduct .Item .ItemImage2 {
    display: none;
}

.CategorySpecialProduct .Item:hover .ItemImage {
    display: none !important;
}

.CategorySpecialProduct .Item:hover .ItemImage2 {
    display: inline-block !important;
}

.CategorySpecialProduct .ItemImage {
    max-width: calc(100% - 20px) !important;
}


.ProductIndexRepeaterDataList {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(194px, 1fr)) !important;
    gap: 5px 5px !important; /* 20px عمودی - 10px افقی */
    row-gap: 15px !important; /* فقط فاصله عمودی بین سطرها */
    direction: rtl !important;
}


@media (max-width: 480px) {
    .ProductIndexRepeaterDataList {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 10px !important; /* 20px عمودی - 10px افقی */
        row-gap: 25px !important; /* فقط فاصله عمودی بین سطرها */
    }

        .ProductIndexRepeaterDataList .Item {
            width: auto !important;
            height: auto !important;
            float: none !important;
            border: solid 2px #eee !important;
        }
}


.ProductIndexRepeaterDataList .Item {
    display: flex !important;
    flex-direction: column !important;
    min-height: 200px;
    height: 100% !important;
    width: auto !important;
    margin: 0 !important;
    padding-bottom: 10px !important;
}

    /* هم اندازه کردن محتوای داخل */
    .ProductIndexRepeaterDataList .Item .ItemType2Box {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .ProductIndexRepeaterDataList .Item .ItemTitle {
        font-weight: 500 !important;
        color: #000 !important;
        width: calc(100% - 10px) !important;
        padding: 0 5px !important;
    }

    .ProductIndexRepeaterDataList .Item .ItemPrice1 {
        height: auto !important;
        font-weight: 600 !important;
        font-size: 12pt !important;
    }

    .ProductIndexRepeaterDataList .Item .ItemTitle2 {
        line-height: 150% !important;
        height: auto !important;
        width: calc(100% - 10px) !important;
        padding: 0 5px !important;
        margin-top: 5px !important;
        color: #555 !important;
    }

    .ProductIndexRepeaterDataList .Item .ItemTitle3 {
        color: #f49020 !important;
    }
/* استایل پیجینگ - در یک خط زیر محصولات */
.Paging {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    direction: rtl !important;
    margin-top: 30px !important;
    display: block !important;
    width: 100% !important;
}



.ProductIndexRepeaterDataList .Item .GiftProduct2 {
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    width: 34px !important;
    z-index: 2 !important;
    top: 70px !important;
    right: 15px !important;
}

.ProductIndexRepeaterDataList .Item .GiftProduct3 {
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    width: 34px !important;
    z-index: 2 !important;
    top: 120px !important;
    right: 15px !important;
}

.ProductIndexRepeaterDataList .Item .GiftProduct4 {
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    width: 34px !important;
    z-index: 2 !important;
    top: 120px !important;
    left: 15px !important;
}


.CategorySpecialProduct .Item .GiftProduct2 {
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    width: 34px !important;
    z-index: 2 !important;
    top: 70px !important;
    right: 15px !important;
}

.CategorySpecialProduct .Item .GiftProduct3 {
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    width: 34px !important;
    z-index: 2 !important;
    top: 120px !important;
    right: 15px !important;
}

.CategorySpecialProduct .Item .GiftProduct4 {
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    width: 34px !important;
    z-index: 2 !important;
    top: 120px !important;
    left: 15px !important;
}

footer {
    float: none !important;
}

.CategorySpecialProduct .Item {
    padding-bottom: 10px !important;
}

.ProductIndexRepeaterDataList .Item .SpecialHaraji {
    right: calc(50% - 16px) !important;
}

.CategorySpecialProduct .Item .SpecialHaraji {
    right: calc(50% - 16px) !important;
}

.ProductIndexRepeaterDataList {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    direction: rtl !important;
}

.ProductShowColorItem {
    margin-top: 10px !important;
}

.ProductShowColor {
    height: auto !important;
}
/* تبلت - ۴ تا */
@media (max-width: 1200px) {
    .ProductIndexRepeaterDataList {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* تبلت کوچک - ۳ تا */
@media (max-width: 992px) {
    .ProductIndexRepeaterDataList {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* موبایل بزرگ - ۲ تا */
@media (max-width: 768px) {
    .ProductIndexRepeaterDataList {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* موبایل کوچک - ۱ تا (اختیاری) */
@media (max-width: 480px) {
    .ProductIndexRepeaterDataList {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}




/* ============================================
   استایل‌های مشترک صفحات احراز هویت
   (ورود، ثبت‌نام، ویرایش، فراموشی رمز)
   ============================================ */

/* ---------- کانتینر اصلی ---------- */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    direction: rtl;
}

/* ---------- تب‌ها ---------- */
.auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    user-select: none;
}

    .auth-tab.active {
        color: #4a90e2;
        border-bottom-color: #4a90e2;
        background: #fff;
    }

    .auth-tab:hover:not(.active) {
        color: #4a90e2;
        background: #f1f3f5;
    }

/* ---------- پنل‌ها ---------- */
.auth-panel {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

.auth-panelEdit {
    display: block;
}

.auth-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- عنوان ---------- */
.auth-title {
    font-size: 20px;
    font-weight: bold;
    color: #2d3748;
    padding: 25px 30px 0 30px;
    text-align: center;
}

    .auth-title i {
        color: #4a90e2;
        margin-left: 10px;
    }

/* ---------- توضیحات ---------- */
.auth-desc {
    color: #718096;
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.8;
    padding: 15px;
    background: #f7fafc;
    border-radius: 12px;
    border-right: 4px solid #4a90e2;
}

/* ---------- فیلدهای فرم ---------- */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 8px;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74,144,226,0.1);
    }

    .form-control:disabled {
        background: #f7fafc;
        cursor: not-allowed;
    }

/* ---------- دکمه‌ها ---------- */
.btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .btn-auth:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(74,144,226,0.3);
    }

    .btn-auth:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

/* ---------- پیام‌ها ---------- */
.error-msg {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.success-msg {
    color: #38a169;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.warning-msg {
    color: #e67e22;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.text-danger {
    color: #e53e3e;
}

/* ---------- کپچا ---------- */
.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .captcha-row .form-control {
        flex: 1;
    }

.captcha-img {
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #e2e8f0;
}

    .captcha-img:hover {
        border-color: #4a90e2;
    }

/* ---------- فوتر ---------- */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #718096;
}

    .auth-footer a {
        color: #4a90e2;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

/* ---------- سوئیچ (چک‌باکس حقوقی) ---------- */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-right: 10px;
    vertical-align: middle;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: #fff;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #4a90e2;
}

    input:checked + .slider:before {
        transform: translateX(24px);
    }



/* ---------- بخش حقوقی ---------- */
.divLegal {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 10px;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 600px) {
    .auth-container {
        margin: 20px;
    }

    .auth-panel {
        padding: 20px;
    }

    .auth-title {
        font-size: 18px;
        padding: 20px 20px 0 20px;
    }

    .auth-tab {
        padding: 14px 15px;
        font-size: 14px;
    }

    .auth-desc {
        font-size: 13px;
        padding: 12px;
    }
}



/* ========================================
   استایل‌های نوار کناری سبد خرید
   ======================================== */

/* ---- نوار کناری ---- */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -480px; /* پنهان در ابتدا */
    width: 420px;
    height: 100%;
    background: #ffffff;
    box-shadow: 3px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

    /* حالت باز */
    .cart-sidebar.active {
        left: 0;
    }

    /* ---- اسکرول ---- */
    .cart-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .cart-sidebar::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 10px;
    }

    .cart-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

/* ---- هدر ---- */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 2px solid #f3f4f6;
    background: #fafafa;
    flex-shrink: 0;
}

.cart-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.3px;
}

.cart-close {
    font-size: 30px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0 8px;
    transition: all 0.25s ease;
    line-height: 1;
    user-select: none;
}

    .cart-close:hover {
        color: #ef4444;
        transform: rotate(90deg);
    }

/* ---- محتوای آیتم‌ها ---- */
.cart-items-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

/* ---- آیتم محصول ---- */
.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
    transition: background 0.2s ease;
}

    .cart-item:hover {
        background: #fafbfc;
        margin: 0 -12px;
        padding: 14px 12px;
        border-radius: 8px;
    }

.cart-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #f9fafb;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-meta {
    font-size: 13px;
    color: #6b7280;
}

.cart-item-price {
    color: #059669;
    font-weight: 600;
}

.cart-item-color,
.cart-item-size {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

/* ---- پیام خالی ---- */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.cart-empty-icon {
    font-size: 52px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.cart-empty p {
    font-size: 15px;
    margin: 0;
    color: #9ca3af;
}

/* ---- فوتر با جمع کل و دکمه‌ها ---- */
.cart-footer {
    flex-shrink: 0;
    padding: 18px 24px 22px;
    border-top: 2px solid #f3f4f6;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    padding: 0 4px;
}

.cart-total-price {
    color: #059669;
    font-size: 18px;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-item-color .ColorDetail {
    width: 18px !important;
    height: 18px !important;
    border: solid 1px #000 !important;
}

/* ---- دکمه مشاهده و ویرایش ---- */
.btn-cart-view {
    flex: 1;
    padding: 12px 16px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: center;
    font-family: inherit;
}

    .btn-cart-view:hover {
        background: #e5e7eb;
        border-color: #9ca3af;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .btn-cart-view:active {
        transform: translateY(0);
    }

/* ---- دکمه تسویه ---- */
.btn-cart-checkout {
    flex: 1;
    padding: 12px 16px;
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s ease;
    text-align: center;
    font-family: inherit;
}

    .btn-cart-checkout:hover {
        background: #047857;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    }

    .btn-cart-checkout:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
    }

/* ---- دکمه افزودن به سبد خرید (درون محصول) ---- */
.btn-add-to-cart {
    padding: 10px 28px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .btn-add-to-cart:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }

    .btn-add-to-cart:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    }

    .btn-add-to-cart:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
    }

/* ---- overlay ---- */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease;
}

    .cart-overlay.active {
        display: block;
    }

/* ---- انیمیشن‌ها ---- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   ریسپانسیو (موبایل و تبلت)
   ======================================== */

/* تبلت و موبایل بزرگ */
@media screen and (max-width: 768px) {
    .cart-sidebar {
        width: 340px;
        left: -380px;
    }

    .cart-header {
        padding: 14px 18px;
    }

    .cart-title {
        font-size: 16px;
    }

    .cart-items-wrapper {
        padding: 12px 16px;
    }

    .cart-item {
        padding: 12px 0;
    }

    .cart-item-image {
        width: 52px;
        height: 52px;
    }

    .cart-item-title {
        font-size: 13px;
    }

    .cart-footer {
        padding: 14px 18px 18px;
    }

    .cart-total {
        font-size: 14px;
    }

    .cart-total-price {
        font-size: 16px;
    }

    .cart-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-cart-view,
    .btn-cart-checkout {
        padding: 11px 14px;
        font-size: 12px;
    }
}

/* موبایل کوچک */
@media screen and (max-width: 375px) {
    .cart-sidebar {
        width: 100%;
        left: -100%;
        border-radius: 0;
    }

        .cart-sidebar.active {
            left: 0;
        }

    .cart-header {
        padding: 12px 16px;
    }

    .cart-title {
        font-size: 15px;
    }

    .cart-items-wrapper {
        padding: 10px 14px;
    }

    .cart-item {
        padding: 10px 0;
        gap: 10px;
    }

    .cart-item-image {
        width: 48px;
        height: 48px;
    }

    .cart-item-title {
        font-size: 12px;
    }

    .cart-item-meta {
        font-size: 11px;
    }

    .cart-footer {
        padding: 12px 14px 16px;
    }

    .cart-total {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .cart-total-price {
        font-size: 15px;
    }

    .btn-cart-view,
    .btn-cart-checkout {
        padding: 10px 12px;
        font-size: 11px;
        border-radius: 6px;
    }

    .cart-empty-icon {
        font-size: 40px;
    }

    .cart-empty p {
        font-size: 13px;
    }
}

/* ---- تخفیف ---- */
.cart-item-discount {
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
    margin-top: 2px;
}

/* ---- آپشن‌ها ---- */
.cart-item-options {
    margin-top: 4px;
}

.cart-item-option {
    font-size: 11px;
    color: #6b7280;
    padding: 2px 0;
}

.cart-item-options-relative {
    margin-top: 2px;
}

.cart-item-option-relative {
    font-size: 11px;
    color: #6b7280;
    padding: 2px 0;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin: 2px 0;
}

/* ---- آیتم کامل با جزئیات بیشتر ---- */
.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start; /* تغییر از center به flex-start */
    transition: background 0.2s ease;
}

    .cart-item:hover {
        background: #fafbfc;
        margin: 0 -12px;
        padding: 14px 12px;
        border-radius: 8px;
    }

.cart-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #f9fafb;
    margin-top: 4px;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-meta {
    font-size: 13px;
    color: #6b7280;
}

.cart-item-price {
    color: #059669;
    font-weight: 600;
}

.cart-item-color,
.cart-item-size {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.cart-item-discount {
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
    margin-top: 2px;
}

.cart-item-options {
    margin-top: 4px;
}

.cart-item-option {
    font-size: 11px;
    color: #6b7280;
    padding: 2px 0;
}

.cart-item-options-relative {
    margin-top: 2px;
}

.cart-item-option-relative {
    font-size: 11px;
    color: #6b7280;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    display: inline-block;
    margin: 2px 4px 2px 0;
}


/* ---- تسویه نهایی ---- */

.address-shipping-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}

.address-section,
.shipping-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    min-width: 0; /* جلوگیری از سرریز شدن */
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
}

/* ریسپانسیو برای موبایل */
@media screen and (max-width: 768px) {
    .address-shipping-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .address-section,
    .shipping-section {
        padding: 15px;
        width: 100% !important;
        margin: 0 !important;
    }
}

/* برای موبایل‌های خیلی کوچک */
@media screen and (max-width: 480px) {
    .address-shipping-wrapper {
        padding: 5px;
        gap: 10px;
    }

    .address-section,
    .shipping-section {
        padding: 10px;
        border-radius: 5px;
    }
}



/* ============================================
   استایل‌های روش‌های ارسال - Shipping Methods
   ============================================ */

/* کانتینر اصلی روش‌های ارسال */
.shipping-methods-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

/* هر آیتم روش ارسال */
.shipping-method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .shipping-method-item:hover {
        border-color: #c0c0c0;
        background: #fafafa;
    }

/* حالت فعال (انتخاب شده) */
.shipping-method-active {
    border-color: #4CAF50 !important;
    background: #f0faf0 !important;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.15);
}

/* تصویر روش ارسال */
.shipping-method-pic {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .shipping-method-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* اطلاعات روش ارسال */
.shipping-method-info {
    flex: 1;
    min-width: 0;
}

.shipping-method-radio {
    display: none;
}

.shipping-method-info label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: block;
    margin-bottom: 4px;
}

.shipping-method-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* بخش قیمت */
.shipping-method-price {
    flex: 0 0 auto;
    text-align: left;
    min-width: 80px;
}

.shipping-price-label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 2px;
}

.shipping-price-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.shipping-method-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: block;
    margin-bottom: 4px;
}
/* ============================================
   ریسپانسیو برای موبایل
   ============================================ */

@media screen and (max-width: 768px) {
    .shipping-method-item {
        flex-wrap: wrap;
        padding: 12px 15px;
        gap: 10px;
    }

    .shipping-method-pic {
        flex: 0 0 45px;
        width: 45px;
        height: 45px;
    }

    .shipping-method-info {
        flex: 1 1 100%;
        order: 2;
        text-align: center;
    }

        .shipping-method-info label {
            font-size: 14px;
        }

    .shipping-method-desc {
        font-size: 12px;
    }

    .shipping-method-price {
        flex: 0 0 auto;
        order: 1;
        margin-right: auto;
    }

    .shipping-price-value {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .shipping-method-item {
        padding: 10px 12px;
        gap: 8px;
    }

    .shipping-method-pic {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .shipping-method-info label {
        font-size: 13px;
    }

    .shipping-method-desc {
        font-size: 11px;
    }

    .shipping-price-value {
        font-size: 13px;
    }
}

/* استایل پیام خطا */
.ErrorUserAddress2 {
    display: none;
    color: #dc3545;
    font-size: 14px;
    padding: 10px 15px;
    background: #fde8e8;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-bottom: 15px;
}



/* استایل بخش تخفیف */
.discount-box {
    margin-bottom: 20px;
}

.discount-header {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

    .discount-header:hover {
        background-color: #f0f0f0;
    }

.discount-toggle-icon {
    float: left;
    transition: transform 0.3s ease;
    font-size: 14px;
    margin-right: 10px;
}

    .discount-toggle-icon.open {
        transform: rotate(180deg);
    }

.discount-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

    /* انیمیشن باز و بسته شدن */
    .discount-content.open {
        display: block !important;
        animation: slideDown 0.3s ease;
    }

    .discount-content.closed {
        display: none !important;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}





/* ============================================
   دکمه پرداخت و تکمیل خرید
   ============================================ */

.payment-button-wrapper {
    text-align: center;
    margin: 20px 0 10px 0;
    width: 100%;
}

.payment-submit-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 14px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    width: 100%;
    max-width: 100%;
}

    .payment-submit-btn:hover {
        background: #218838;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
        transform: translateY(-2px);
    }

    .payment-submit-btn:active {
        transform: translateY(0px);
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }

    .payment-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
    }

.payment-btn-subtext {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

/* ریسپانسیو */
@media screen and (max-width: 768px) {
    .payment-submit-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .payment-submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}










.btn-official-factor-user {
    display: inline-block;
    background: #8e44ad;
    color: #fff;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .btn-official-factor-user:hover {
        background: #732d91;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
        text-decoration: none;
    }
