﻿/* ============================================ */
/* 1. RESET & BASE STYLES (استایل‌های پایه)     */
/* ============================================ */

img {
    display: inline-block;
    position: relative;
}

    /* تصویر پیش‌فرض برای عکس‌های لود نشده */
    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;
    }


/* ============================================ */
/* 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;
        }
}


/* ============================================ */
/* 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: 1200px) {
    .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;
    direction: rtl;
}

.price-table {
    width: 100%;
    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 th,
    .price-table td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .price-table th {
        font-size: 11px;
    }

    .price-table td {
        font-size: 11px;
    }
}

/* 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 {
        min-width: 100%;
        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 #e2e8f0 !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;
}

    .FieldTextBox: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 #e2e8f0 !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 !important;
    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 !important;
    font-size: 13px !important;
    display: inline-block !important;
    width: auto !important;
}

.ValidationRowLogin {
    color: #ef4444 !important;
    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: 100% !important;
    min-height: 200px !important;
}

/* برای اطمینان از هماهنگی با textbox های معمولی */
.FieldTextBox {
    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;
}
.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;
    }
}
