.psc-container {
    @media (max-width: 991px) {
        position: relative;
        top: -40px;
        margin-bottom: 0 !important;
    }

    @media (max-width: 450px) {
        top: -15px;
        margin-bottom: 0 !important;
    }

    &>.vc_column-inner {
        &>.wpb_wrapper {
            display: flex;
            flex-direction: row;
        }
    }

    .slick-track {
        @media (max-width: 767px) {
            padding: 2rem 0px;
        }
    }

    .slick-arrow {
        background: #efeeeb !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 5px;
        top: 100%;

        @media (max-width: 991px) {
            background: #fff !important;
            top: calc(50% - 10px);
        }

        @media (max-width: 767px) {
            top: calc(45% - 10px);
        }

        @media (max-width: 600px) {
            top: calc(44% - 10px);
        }

        @media (max-width: 450px) {
            top: calc(49% - 10px);
        }

        i {
            &:before {
                filter: brightness(0) saturate(100%) invert(21%) sepia(10%) saturate(1940%) hue-rotate(260deg) brightness(92%) contrast(88%);
            }
        }
    }

    .slick-disabled {
        opacity: 0;
        visibility: hidden;
    }

    .slick-prev {
        position: absolute;
        left: calc(50% - 20px);
        transform: translatex(-50%);
        z-index: 2;
        border: none;
        padding: 0;

        &:before {
            content: "";
        }

        @media (max-width: 991px) {
            left: 31%
        }

        @media (max-width: 767px) {
            left: 27.6%
        }

        @media (max-width: 450px) {
            left: 26%;
        }
    }

    .slick-next {
        position: absolute;
        left: calc(50% + 20px);
        transform: translatex(-50%);
        z-index: 2;
        border: none;
        padding: 0;

        &:before {
            content: "";
        }

        @media (max-width: 991px) {
            left: 69%
        }

        @media (max-width: 767px) {
            left: 72%
        }

        @media (max-width: 450px) {
            left: 74%;
        }
    }

    // &:after {
    //     content: "";
    //     display: block;
    //     position: absolute;
    //     left: 0;
    //     right: 0;
    //     bottom: 0;
    //     border: 0;
    //     height: 0px;
    //     width: 100%;
    //     z-index: 9;
    // }
    // &:has(.g-product-card.slick-slide:hover):after {
    //     height: 60px;
    // }

    @media (max-width: 767px) {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: visible;
        position: relative;
        left: calc(-50.4vw + 276px);
        margin-bottom: 30px;

        .vc_column-inner {
            padding: 0 !important;
            width: 100%;
        }
    }

    @media (max-width: 600px) {
        left: 50%;
        transform: translatex(-50%);

        .vc_column-inner {
            padding: 0 !important;
            width: 100% !important;
        }
    }
}

.psc-carousel-item {
    z-index: 2;
    position: relative;
    transition: .2s ease;
    transform: scale(1);

    .ult-content-box-anchor {
        text-decoration: none;
    }

    .ult-content-box {
        position: relative;
        min-height: 200px;
        padding: 70px 20px 0px 20px;
        text-align: center;
        display: flex;
        align-items: end;
        justify-content: center;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center 90% !important;
        border-radius: 10px !important;
        overflow: hidden;
        background-color: #ebeae8 !important;
        margin: 90px 5px 100px 5px !important;
        box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, 0) !important;

        &:not(.psc-product-content-hover) {
            background-position: center -50px !important;
        }

        @media (max-width: 767px) {
            margin: 42px 5px 48px 5px !important;

            &:not(.psc-product-content-hover) {
                background-position: center -25px !important;
            }
        }

        @media (max-width: 600px) {
            min-height: 170px;
        }

        @media (max-width: 450px) {
            min-height: 110px;
        }

        .new-title-font {
            color: #3b3e39;
            transition: .2s ease;
            font-size: 19px;
            margin-top: 0;
            margin-bottom: 0.25rem;
            line-height: 20px;

            @media (max-width: 450px) {
                font-size: 14px;
                margin-bottom: 0;
            }
        }

        .g-product-card-subtitle {
            font-size: 10px;
            text-transform: uppercase;
            font-weight: 500;
            line-height: normal;
            color: #53344d;
            margin-bottom: 10px;
            transition: .2s ease;

            @media (max-width: 991px) {
                font-size: 12px;
            }

            @media (max-width: 767px) {
                font-size: 11px;
            }

            @media (max-width: 450px) {
                font-size: 9px;
                margin-bottom: 14px;
            }
        }

        &:after {
            content: "";
            display: block;
            position: absolute;
            left: 0;
            right: 0;
            border: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.7105217086834734) 0%, rgba(0, 0, 0, 0) 85%, rgba(255, 255, 255, 0) 100%);
            opacity: 0;
            transition: .2s ease;
            z-index: 3;
        }

        .wpb_text_column {
            z-index: 4;
        }

        &:hover {
            @media (min-width: 768px) {
                background-position: center 90% !important;
            }

            @media (min-width: 991px) {
                &:after {
                    opacity: 1;
                }

                .new-title-font {
                    color: #fff;
                }

                .g-product-card-subtitle {
                    color: #fff;
                }
            }

        }

        &.psc-product-content-hover {
            @media (max-width: 991px) {
                .new-title-font {
                    color: #fff;
                }

                .g-product-card-subtitle {
                    color: #fff;
                }
            }
        }
    }

    &.tertiary-active-left {
        transform: scale(0.9) translatex(-10px);
        z-index: 2 !important;

        .ult-content-box {
            box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, .05) !important;
        }
    }

    &.tertiary-active-right {
        transform: scale(0.9) translatex(10px);
        z-index: 2 !important;

        .ult-content-box {
            box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, .05) !important;
        }
    }

    &.secondary-active {
        transform: scale(1.2);
        z-index: 3;

        &.left {
            transform: scale(1.2) translatex(-40px);

            @media (max-width: 1200px) {
                transform: scale(1) translatex(0px);
            }

            @media (max-width: 600px) {
                transform: scale(1.1) translatex(-8px);
            }
        }

        &.right {
            transform: scale(1.2) translatex(40px);

            @media (max-width: 1200px) {
                transform: scale(1) translatex(0px);
            }

            @media (max-width: 600px) {
                transform: scale(1.1) translatex(8px);
            }
        }

        .ult-content-box {
            box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, .2) !important;
        }
    }



    @media (max-width: 991px) {
        .psc-change-background {
            content: "";
            background-color: #53334d;
            border: 1px solid #53334d;
            display: block;
            position: absolute;
            bottom: 45px;
            left: 50%;
            transform: translatex(-50%);
            border-radius: 5px;
            width: 37px;
            height: 37px;
            z-index: 5;
            opacity: 0;
            transition: .2s ease;

            @media (max-width: 767px) {
                width: 32px;
                height: 32px;
                bottom: 14px;
            }

            @media (max-width: 450px) {
                width: 28px;
                height: 28px;
                bottom: 15px;
            }

            &:after {
                content: "";
                -webkit-mask-image: url(/wp-content/plugins/product-swatch-carousel/images/camera.svg);
                mask-image: url(/wp-content/plugins/product-swatch-carousel/images/camera.svg);
                -webkit-mask-size: 18px;
                mask-size: 18px;
                -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
                -webkit-mask-position: center;
                mask-position: center;
                background: #fff;
                display: block;
                position: absolute;
                bottom: 0px;
                left: 50%;
                transform: translatex(-50%);
                width: 35px;
                height: 35px;
                z-index: 6;
                transition: .2s ease;

                @media (max-width: 767px) {
                    -webkit-mask-size: 15px;
                    mask-size: 15px;
                    width: 31px;
                    height: 31px;
                }

                @media (max-width: 450px) {
                    -webkit-mask-size: 15px;
                    mask-size: 15px;
                    width: 28px;
                    height: 28px;
                }
            }

            &.active {
                background: #fff;

                &:after {
                    background: #53334d;
                }
            }
        }
    }

    &.primary-active {
        transform: scale(1.6);
        z-index: 4 !important;

        .ult-content-box {
            box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, .3) !important;
        }

        @media (max-width: 1200px) {
            transform: scale(1.4);
        }

        @media (max-width: 991px) {
            transform: scale(1.2);

            .psc-change-background {
                opacity: 1;
            }
        }
    }

    &.slick-active {
        @media (max-width: 991px) {
            transform: scale(1) translatex(0px);
        }

        @media (max-width: 767px) {
            transform: scale(1) translatex(0px);
        }
    }

    &.slick-current {
        @media (max-width: 991px) {
            transform: scale(1.2) translatex(0px);
            z-index: 4 !important;

            .ult-content-box {
                box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, .2) !important;
            }
        }

        @media (max-width: 767px) {
            transform: scale(1.3) translatex(0%);
            z-index: 4 !important;

            .ult-content-box {
                box-shadow: 0px 0px 15px -7px rgba(0, 0, 0, .2) !important;
            }
        }

        @media (max-width: 450px) {
            transform: scale(1.5) translatex(0%);
        }
    }
}
