/* ==================== جعبه تایمر ==================== */
        .product-countdown-container {
            background: #fff8e1;
            border-radius: 10px;
            padding: 12px 5px !important;
            margin-bottom: 14px;
            border: 1px dashed #ffb300;
            display: flex !important;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .product-countdown-container label {
            display: flex !important;
            align-items: center;
            gap: 6px;
            color: #e65100 !important;
            font-size: 13px;
            font-weight: bold;
            margin: 0 !important;
        }

        .product-countdown-container label::before {
            content: '⏰';
            font-size: 15px;
        }

        .product-countdown-container .product-countdown {
            background: linear-gradient(120deg, #ff6b6b, #ff4757);
            color: #fff !important;
            padding: 8px 8px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: bold;
            text-align: center;
            display: inline-block;
            box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
            margin: 0 !important;
            border: none;
        }

        /* ==================== فرم خرید ==================== */
        .amazing-form-row {
            display: flex !important;
            flex-direction: row !important;
            align-items: center;
            gap: 10px;
            flex-wrap: nowrap !important;
            width: 100%;
            margin-top: 10px;
        }

        .amazing-qty-group {
            display: inline-flex !important;
            align-items: center;
            border: 2px solid #24ae4e;
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
            height: 38px;
            margin: 0 !important;
            flex: 0 0 auto !important;
        }

        .qty-btn {
            width: 34px;
            height: 100%;
            background: #f0fff4;
            border: none;
            color: #24ae4e;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            line-height: 1;
            padding: 0;
            outline: none;
            user-select: none;
        }

        .qty-btn:hover {
            background: #24ae4e;
            color: #fff;
        }

        .qty-btn:active {
            transform: scale(0.95);
        }

        .amazing-qty-input {
            width: 50px !important;
            height: 100% !important;
            border: none !important;
            text-align: center;
            font-size: 16px !important;
            font-weight: bold;
            color: #222 !important;
            background: #fff !important;
            outline: none;
            margin: 0 !important;
            padding: 0 !important;
            box-shadow: none !important;
            border-radius: 0 !important;
            box-sizing: border-box !important;
            line-height: 34px;
        }

        /* دکمه خرید */
        .amazing-cart-btn {
            flex: 0 0 auto !important;
            height: 38px !important;
            padding: 0 18px !important;
            margin: 0 !important;
            background: linear-gradient(120deg, #24ae4e, #1a8a3c) !important;
            color: #fff !important;
            border: none !important;
            border-radius: 8px !important;
            font-size: 14px !important;
            font-weight: bold !important;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 3px 10px rgba(36, 174, 78, 0.3);
            white-space: nowrap;
            text-transform: none !important;
        }

        .amazing-cart-btn:hover:not([disabled]) {
            background: linear-gradient(120deg, #1a8a3c, #0f6b2e) !important;
            transform: translateY(-1px);
            color: #fff !important;
            box-shadow: 0 6px 18px rgba(36, 174, 78, 0.45);
        }

        .amazing-cart-btn i {
            font-size: 16px;
        }

        .amazing-cart-btn[disabled] {
            background: #999 !important;
            cursor: not-allowed;
            box-shadow: none;
        }

        /* ==================== موبایل ==================== */
        @media (max-width: 576px) {
            .amazing-form-row {
                gap: 6px;
            }

            .amazing-qty-group {
                height: 36px;
            }

            .qty-btn {
                width: 28px;
                font-size: 18px;
            }

            .amazing-qty-input {
                width: 40px !important;
                font-size: 14px !important;
                line-height: 32px;
            }

            .amazing-cart-btn {
                height: 36px !important;
                font-size: 12px !important;
                padding: 0 12px !important;
            }
        }

        /* ============================================================ */
        /* ============ رفع کشیدگی تصویر گالری ============ */
        /* ============================================================ */

        /* جلوگیری از sticky شدن و کشیده شدن گالری */
        .product-gallery.product-gallery-vertical,
        .product-gallery.product-gallery-sticky,
        .amazing-gallery-col {
            position: relative !important;
            top: auto !important;
            align-self: flex-start !important;
            height: auto !important;
            max-height: none !important;
        }

        /* رفع کشیدگی تصویر */
        .product-single-swiper {
            width: 100% !important;
            overflow: hidden;
        }

        .product-single-swiper .swiper-wrapper {
            align-items: flex-start !important;
        }

        .amazing-product-image {
            display: flex !important;
            align-items: flex-start;
            justify-content: center;
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
            height: auto !important;
            overflow: hidden;
            border-radius: 12px;
        }

        .amazing-product-image img {
            width: 100% !important;
            height: auto !important;
            max-height: 480px !important;
            object-fit: contain !important;
            display: block !important;
            border-radius: 12px !important;
        }

        /* رفع کشیدگی در موبایل */
        /*@media (max-width: 768px) {*/
        /*.amazing-product-image img {*/
        /*max-height: 320px !important;*/
        /*}*/
        /*}*/

        /* ============================================================ */
        /* ============ رفع اسکرول و پرش لینک ============ */
        /* ============================================================ */

        /* لینک عنوان — بدون پرش */
        .amazing-title-link {
            display: inline-block;
            cursor: pointer;
            transition: color 0.25s ease;
        }

        .amazing-title-link:not(.amazing-title-expired):hover {
            color: #24ae4e !important;
        }

        /* عنوان منقضی — غیر قابل کلیک */
        .amazing-title-expired {
            cursor: default !important;
            color: #888 !important;
            opacity: 0.7;
        }

        .amazing-title-expired:hover {
            color: #888 !important;
        }

        /* ============================================================ */
        /* ============ رفع اسکرول خودکار صفحه ============ */
        /* ============================================================ */

        /* اطمینان از عدم سرریز در همه بخش‌های داخلی */
        .deals-wrapper .product-details,
        .deals-wrapper .amazing-form-row,
        .deals-wrapper .amazing-qty-group,
        .deals-wrapper .amazing-cart-btn {
            max-width: 100% !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }

        /* ==================== عنوان محصول ==================== */
        .product-title.mb-1 {
            margin-bottom: 14px !important;
            padding: 0;
            border-bottom: none !important;
            position: relative;
            width: 100%;
            font-family: "Sahel";
        }

        /* خود لینک عنوان — تمام عرض */
        .product-title.mb-1 a {
            display: block;
            width: 100%;
            font-size: 19px !important;
            font-weight: 800 !important;
            color: #1a3d20 !important;
            line-height: 1.7 !important;
            text-decoration: none !important;
            outline: none !important;
            padding: 12px 20px !important;
            border-radius: 10px;
            position: relative;
            box-sizing: border-box;
            transition: all 0.3s ease;
            background: linear-gradient(120deg, #f0fff4 0%, #e8f5e9 100%);
            border-right: 4px solid #24ae4e;
            box-shadow: 0 2px 8px rgba(36, 174, 78, 0.08);
        }

        /* افکت هاور — ملایم */
        .product-title.mb-1 a:hover {
            color: #0f6b2e !important;
            background: linear-gradient(120deg, #e8f5e9 0%, #d4edda 100%);
            border-right-color: #1a8a3c;
            box-shadow: 0 4px 14px rgba(36, 174, 78, 0.15);
            transform: translateX(-3px);
        }

        /* موبایل */
        @media (max-width: 768px) {
            .product-title.mb-1 {
                margin-bottom: 10px !important;
            }

            .product-title.mb-1 a {
                font-size: 16px !important;
                line-height: 1.6 !important;
                padding: 10px 14px !important;
                border-radius: 8px;
            }
        }

        @media (max-width: 576px) {
            .product-title.mb-1 a {
                font-size: 15px !important;
                padding: 9px 12px !important;
            }
        }





        /* ===== خط سبز اختصاصی فقط برای این عنوان ===== */
        .custom-underline-green::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, #2ecc71, #27ae60);
            border-radius: 4px;
        }

        /* ===== سایر استایل‌های اختصاصی این بخش ===== */
        /* بهبود نمایش در موبایل */
        @media (max-width: 576px) {
            .courses-section {
                padding: 30px 0 !important;
            }
            .course-card {
                padding: 20px 14px 18px !important;
            }
            .custom-underline-green {
                font-size: 1.8rem !important;
            }
        }

        /* انیمیشن ورود آیکون‌ها */
        .course-card .fas {
            transition: transform 0.3s ease, color 0.3s ease;
        }
        .course-card:hover .fas {
            transform: scale(1.15) rotate(5deg);
        }

        /* رفع مشکل overflow */
        .full-width-section {
            overflow: hidden;
        }
        .swiper-container {
            padding-bottom: 10px;
        }
        .swiper-pagination-bullet-active {
            background: #2ecc71 !important;
        }

        /* ===== انیمیشن نور روی خود اسلاید (swiper-slide) ===== */

        /* اسلاید باید position relative و overflow hidden داشته باشد */
        .swiper-slide-animatiom {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
        }

        /* خط نور که از روی اسلاید رد می‌شود */
        .swiper-slide-animatiom::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(
                    120deg,
                    rgba(255, 255, 255, 0) 0%,
                    rgba(255, 255, 255, 0.55) 50%,
                    rgba(255, 255, 255, 0) 100%
            );
            transform: skewX(-25deg);
            pointer-events: none;
            z-index: 10;
            animation: slideShine 3.5s infinite ease-in-out;
        }

        /* حرکت خط نور از چپ به راست */
        @keyframes slideShine {
            0% {
                left: -100%;
            }
            60% {
                left: 130%;
            }
            100% {
                left: 130%;
            }
        }

        /* تأخیر پله‌ای بین اسلایدها برای حس طبیعی */
        .swiper-slide-animatiom:nth-child(1)::before { animation-delay: 0s; }
        .swiper-slide-animatiom:nth-child(2)::before { animation-delay: 0.35s; }
        .swiper-slide-animatiom:nth-child(3)::before { animation-delay: 0.7s; }
        .swiper-slide-animatiom:nth-child(4)::before { animation-delay: 1.05s; }
        .swiper-slide-animatiom:nth-child(5)::before { animation-delay: 1.4s; }
        .swiper-slide-animatiom:nth-child(6)::before { animation-delay: 1.75s; }


        .swiper-slide-animatiom:hover::after {
            opacity: 1;
        }

        @keyframes slideRotateGlow {
            from { transform: rotate(0deg); }
            to   { transform: rotate(360deg); }
        }

        /* روی موبایل سبک‌تر شود */
        @media (max-width: 576px) {
            .swiper-slide-animatiom::after {
                display: none;
            }
            .swiper-slide-animatiom::before {
                animation-duration: 4.5s;
            }
        }

        /* احترام به تنظیمات کاهش انیمیشن */
        @media (prefers-reduced-motion: reduce) {
            .swiper-slide-animatiom::before,
            .swiper-slide-animatiom::after {
                animation: none;
            }
        }



        .scrollMessage {
            padding-top: 10px;
        }

        .scrollMessage > .title {
            position: relative;
            font-size: 26px;
            font-weight: 800;
            color: #2b542c;
            padding-bottom: 14px;
            margin-bottom: 35px !important;
            letter-spacing: -.5px;
        }
        .scrollMessage > .title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 90px;
            height: 4px;
            background: linear-gradient(90deg, #2b542c, #24ae4e, #2b542c);
            border-radius: 10px;
        }
       .scrollMessage > .title::before {
            content: "✦";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            color: #24ae4e;
            font-size: 14px;
            background: #fff;
            padding: 0 8px;
            z-index: 1;
        }