$(document).ready(function () {
    
    $('.trustpilotProductReviews').slick({
        infinite: true,
        slidesToShow: 4,
        slidesToScroll: 4,
        prevArrow: '<i class="fa fa-chevron-left prevArrow" aria-hidden="true"></i>',
        nextArrow: '<i class="fa fa-chevron-right nextArrow" aria-hidden="true"></i>',
        autoplay: true,
        autoplaySpeed: 6000,
        responsive: [
        {
            breakpoint: 1024,
            settings: {
                slidesToShow: 3,
                slidesToScroll: 3,
            }
        },
        {
            breakpoint: 880,
            settings: {
                slidesToShow: 2,
                slidesToScroll: 2
            }
        },
        {
            breakpoint: 630,
            settings: {
                slidesToShow: 2,
                slidesToScroll: 2
            }
        }
        ]
    });

    $('.trustpilotProductReviews2').slick({
        infinite: true,
        slidesToShow: 2,
        slidesToScroll: 2,
        prevArrow: '<i class="fa fa-chevron-left prevArrow" aria-hidden="true"></i>',
        nextArrow: '<i class="fa fa-chevron-right nextArrow" aria-hidden="true"></i>',
        autoplay: true,
        autoplaySpeed: 6000
    });

    $('.trustpilotOverlay').mtcOverlay({
        'contentClass' : 'trustpilotPopup'
    });

});