.sales-products .sales-products-pagination {
    display: none;
}

.sales-products .zoom-container {
    position: relative;
    overflow: hidden; /* جلوگیری از بیرون زدن تصویر */
    cursor: zoom-in;
}

.sales-products .zoom-image {
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    will-change: transform; /* کمک به عملکرد */
}

.sales-products .productsSwiper {
    width: 90%;
}

.sales-products .section-header {
    margin-bottom: 1.5rem !important;
}

.sales-products .swiper-button-next:after, .sales-products .swiper-rtl .swiper-button-next:after {
    content: 'next';
    color: #CCC;
}

.sales-products .swiper-button-prev:after, .sales-products .swiper-rtl .swiper-button-next:after {
    content: 'prev';
    color: #CCC;
}

.sales-products .sales-products-info .card {
    border: none;
}

.sales-products .sales-products-info .card-product-title {
    padding-top: 5px;
}

.sales-products .card-product-title .card-body {
    padding: 0;
}

.sales-products .card-product-link .card-body {
    padding: 0;
    text-align: left;
}

.sales-products #sp-title {
    font-size: 1rem;
    font-weight: 600;
}

.sales-products #sp-link {
    font-size: 12px;
    color: #212529;
    text-decoration: none;
    border: 1px solid #212529;
    font-weight: bold;
    padding: 5px 10px;
}

.sales-products #sp-link:hover {
    text-decoration: underline;
}

.sales-products-info {
    width: 90%;
    margin: 0 auto;
}

@media (max-width: 576px) {

    /* اسلایدر و کارت‌ها کمی باریک‌تر و متناسب با موبایل */
    .sales-products .productsSwiper,
    .sales-products-info {
        width: 100%;
        margin: 0 auto;
    }

    /* عنوان محصول کمی کوچک‌تر و جمع‌وجورتر */
    .sales-products #sp-title {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* لینک دکمه‌ای کوچکتر شود */
    .sales-products #sp-link {
        font-size: 11px;
        padding: 4px 8px;
    }

    /* فاصله عمودی کارت‌ها کمتر شود */
    .sales-products .sales-products-info .alpha.beta {
        margin-bottom: 0.4rem;
    }

    /* اگر می‌خواهی دو کارت دقیقاً زیر هم و با فاصله‌ی کم باشند */
    .sales-products .sales-products-info .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* متن لینک چپ‌چین بماند (برای راست‌به‌چپ تغییری نمی‌دهیم) */
    .sales-products .card-product-link .card-body {
        text-align: left;
    }

    /* دکمه‌های چپ و راست در موبایل مخفی شوند */
    .sales-products .swiper-button-prev,
    .sales-products .swiper-button-next {
        display: none;
    }

    /* نقطه‌ها در موبایل نمایش داده شوند */
    .sales-products .sales-products-pagination {
        display: block;
        position: static;
        margin-top: 12px;
        text-align: center;
    }

    /* استایل نقطه‌های عادی */
    .sales-products .sales-products-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #ccc;
        opacity: 1;
        margin: 0 4px !important;
        transition: all 0.2s ease;
        border-radius: 999px;
    }

    /* نقطه‌ی فعال درشت‌تر شود */
    .sales-products .sales-products-pagination .swiper-pagination-bullet-active {
        width: 16px;
        height: 8px;
        background: #212529;
    }
}