.css_prefix-card {
    position: relative;
    transition: all 0.6s ease 0s;

    .link-overlay {
        position: relative;
        display: block;
        z-index: 9;
    }

    .block-images {
        backface-visibility: hidden;
        transform: translate3d(0, 0, 0);
        transition: all 0.6s ease 0s;
        overflow: hidden;

        >a {
            z-index: 99;
        }

        .image-box {
            border-radius: 0.1875em;
            overflow: hidden;
            position: relative;
            display: block;

            img {
                aspect-ratio: 2/2.8;
                object-fit: cover;
                border-radius: var(--bs-border-radius);
                mix-blend-mode: overlay;
                height: fit-content !important;
            }

            .product-new {
                position: absolute;
                top: .875em;
                left: .875em;
                background: var(--bs-primary);
                color: var(--bs-white);
                padding: .375em .625em;
                border-radius: .25em;
                font-size: 0.75em;
                font-weight: 600;
                text-transform: uppercase;
            }

            .product-premium {
                position: absolute;
                top: .875em;
                left: auto;
                right: 1em;
                background: var(--bs-warning);
                color: var(--bs-white);
                border-radius: 100%;
                height: 2em;
                width: 2em;
                line-height: 2em;
                text-align: center;
                z-index: 100;
                padding: 0;

                i {
                    font-size: 1em;
                }

                +.product-ppv {
                    top: 3.5em;
                }

                +.product-ppv-rented {
                    top: 3.5em;
                }
            }

            .product-ppv {
                position: absolute;
                top: 0.875em;
                left: auto;
                right: 1em;
                background: var(--bs-info);
                color: var(--bs-white);
                border-radius: 100%;
                height: 2em;
                width: 2em;
                line-height: 2em;
                text-align: center;
                z-index: 100;
                padding: 0;

                i {
                    font-size: 1em;
                }
            }

            .product-ppv-rented {
                position: absolute;
                top: 0.875em;
                left: auto;
                right: 1em;
                background: var(--bs-success);
                color: var(--bs-white);
                border-radius: 100%;
                height: 2em;
                width: 2em;
                line-height: 2em;
                text-align: center;
                z-index: 100;
                padding: 0;

                i {
                    font-size: 1em;
                }
            }
        }

        .card-description {
            position: absolute;
            left: 0;
            bottom: 0;
            width: auto;
            right: 0;
            padding: 1em 1em 0.625em;
            z-index: 9;
            transition: all 0.4s ease-in-out;
            transform: translate3d(0, 0, 0);
            -webkit-font-smoothing: antialiased;

            &.with-transition {
                bottom: -3em;
                opacity: 0;
                padding: 1em 0 0;
                visibility: hidden;
                transition: all 0.1s ease;
            }

            .css_prefix-title {
                margin: 0 0 .3em;
            }

            .genres-list {
                list-style: none;
                gap: .5em 2em;

                li {
                    position: relative;
                    font-weight: 600;

                    &::after {
                        content: "";
                        height: .3125em;
                        width: .3125em;
                        border-radius: 50%;
                        background-color: var(--bs-body-color);
                        position: absolute;
                        top: 50%;
                        transform: translateY(-50%);
                        right: -1.3125em;
                    }

                    &:last-child {
                        list-style: none;

                        &::after {
                            content: none;
                        }
                    }

                    a {
                        color: var(--bs-body-color);

                        &:hover {
                            color: var(--bs-primary);
                        }
                    }
                }
            }

            .movie-time-text {
                color: var(--bs-body-color);
                font-size: 0.75em;
            }

            .btn {
                padding: .625em 1.5em;

                &.watch-list-btn {
                    height: 2.5em;
                    width: 2.5em;
                    min-width: 2.5em;
                    line-height: 2.5em;
                    text-align: center;
                    padding: 0;
                    border-radius: 50%;
                    font-size: 1.1em;

                    &.in-watchlist {
                        background-color: var(--bs-primary) !important;
                    }
                }
            }
        }

        &::after {
            position: absolute;
            content: "";
            border: 1.25em solid var(--bs-gray-900);
            bottom: -4.2em;
            left: -1.20em;
            right: -1.20em;
            top: -1.20em;
            opacity: 0;
            transition: all 0.1s ease-in-out;
            visibility: hidden;
            background: transparent;
            border-radius: var(--bs-border-radius);
        }
    }
}

// .css_prefix-card .block-images .image-box .product-ppv {
//     position: absolute;
//     top: 0.875em;
//     left: auto;
//     right: 1em;
//     background: var(--bs-info);
//     color: var(--bs-white);
//     border-radius: 100%;
//     height: 2em;
//     width: 2em;
//     line-height: 2em;
//     text-align: center;
//     z-index: 100;
//     padding: 0;
// }

// .css_prefix-card .block-images .image-box .product-ppv-rent i {
//     font-size: 1em;
// }

// .css_prefix-card .block-images .image-box .product-ppv-rented {
//     position: absolute;
//     top: 0.875em;
//     left: auto;
//     right: 1em;
//     background: var(--bs-success);
//     color: var(--bs-white);
//     border-radius: 100%;
//     height: 2em;
//     width: 2em;
//     line-height: 2em;
//     text-align: center;
//     z-index: 100;
//     padding: 0;
// }

// .css_prefix-card .block-images .image-box .product-ppv-rented i {
//     font-size: 1em;
// }

.css_prefix-card-overlay {
    position: relative;
    transition: all 0.6s ease 0s;

    .block-images {
        position: relative;

        img {
            mix-blend-mode: overlay;
            aspect-ratio: 2/2.8;
            object-fit: cover;
            border-radius: var(--bs-border-radius);
            mix-blend-mode: overlay;
        }

        &::after {
            position: absolute;
            content: "";
            border: 1.25em solid var(--bs-gray-900);
            bottom: -3.2em;
            left: -1.2em;
            right: -1.2em;
            top: -1.2em;
            transition: all 0.1s ease-in-out;
            background: transparent;
            border-radius: var(--bs-border-radius);
        }

        .product-new {
            position: absolute;
            top: .875em;
            left: .875em;
            background: var(--bs-primary);
            color: var(--bs-white);
            padding: .375em .625em;
            border-radius: .25em;
            font-size: 0.75em;
            font-weight: 600;
            text-transform: uppercase;
        }

        .product-premium {
            position: absolute;
            top: .875em;
            left: auto;
            right: 1em;
            background: var(--bs-warning);
            color: var(--bs-white);
            border-radius: 100%;
            height: 2em;
            width: 2em;
            line-height: 2em;
            text-align: center;
            z-index: 100;
            padding: 0;

            i {
                font-size: 1em;
            }

            +.product-ppv {
                top: 3.5em;
            }

            +.product-ppv-rented {
                top: 3.5em;
            }
        }

        .product-ppv {
            position: absolute;
            top: 0.875em;
            left: auto;
            right: 1em;
            background: var(--bs-warning);
            color: var(--bs-white);
            border-radius: 100%;
            height: 2em;
            width: 2em;
            line-height: 2em;
            text-align: center;
            z-index: 100;
            padding: 0;

            i {
                font-size: 1em;
            }

        }

        .product-ppv-rented {
            position: absolute;
            top: 0.875em;
            left: auto;
            right: 1em;
            background: var(--bs-warning);
            color: var(--bs-white);
            border-radius: 100%;
            height: 2em;
            width: 2em;
            line-height: 2em;
            text-align: center;
            z-index: 100;
            padding: 0;

            i {
                font-size: 1em;
            }
        }
    }

    .card-description {
        position: absolute;
        bottom: -2em;
        left: 0;
        right: 0;
        background: var(--bs-gray-900);
        padding: 1em 0 0;

        .css_prefix-title {
            margin: 0 0 .3em;
        }

        .genres-list {
            list-style: none;
            gap: .5em 2em;

            li {
                position: relative;
                font-weight: 600;

                &::after {
                    content: "";
                    height: .3125em;
                    width: .3125em;
                    border-radius: 50%;
                    background-color: var(--bs-body-color);
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    right: -1.3125em;
                }

                &:last-child {
                    list-style: none;

                    &::after {
                        content: none;
                    }
                }

                a {
                    color: var(--bs-body-color);

                    &:hover {
                        color: var(--bs-primary);
                    }
                }
            }
        }

        .movie-time-text {
            color: var(--bs-body-color);
            font-size: 0.75em;
        }

        .btn {
            padding: .625em 1.5em;

            &.watch-list-btn {
                height: 2.5em;
                width: 2.5em;
                min-width: 2.5em;
                line-height: 2.5em;
                text-align: center;
                padding: 0;
                border-radius: 50%;
                font-size: 1.1em;

                &.in-watchlist {
                    background-color: var(--bs-primary) !important;
                }
            }
        }
    }
}

// .css_prefix-card-overlay .block-images .product-ppv {
//     position: absolute;
//     top: 0.875em;
//     left: auto;
//     right: 1em;
//     background: var(--bs-warning);
//     color: var(--bs-white);
//     border-radius: 100%;
//     height: 2em;
//     width: 2em;
//     line-height: 2em;
//     text-align: center;
//     z-index: 100;
//     padding: 0;
// }

// .css_prefix-card-overlay .block-images .product-ppv-rented {
//     position: absolute;
//     top: 0.875em;
//     left: auto;
//     right: 1em;
//     background: var(--bs-warning);
//     color: var(--bs-white);
//     border-radius: 100%;
//     height: 2em;
//     width: 2em;
//     line-height: 2em;
//     text-align: center;
//     z-index: 100;
//     padding: 0;
// }

.cloned-item {
    position: absolute;
    z-index: 999;
    // pointer-events: none;
    transition: all 0.3s ease-in-out;
    /* Smooth transform effect */
}

.hidden-hover-data+.css_prefix-card {
    .block-images {
        &::after {
            display: none;
        }
    }
}

// card hover style start
.card-hover {
    &:hover {
        .block-images {
            z-index: 99;
            transform: scale3d(1.1, 1.1, 1) translate3d(0, 0, 0) perspective(31.25em);
            transform-origin: 50% 50%;
            transition: all 0.6s ease 0s;
            box-shadow: none;
            transition-delay: 0.2s;
            overflow: visible;

            .image-box {
                background: transparent;

                img {
                    mix-blend-mode: inherit;
                }

                &::before {
                    opacity: 1;
                }
            }

            .card-description {
                background: var(--bs-gray-900);

                &.with-transition {
                    opacity: 1;
                    visibility: visible;
                    transition-delay: 0.2s;
                }
            }

            &::after {
                opacity: 1;
                transition: all 0.2s ease-in-out;
                visibility: visible;
                transition-delay: 0.2s;
            }
        }
    }
}

// landscape-card
.landscape-card {
    .block-images {
        .image-box {
            img {
                aspect-ratio: 4.5/2.8;
            }
        }
    }
}

.landscape-card-hover {
    .css_prefix-card-overlay {
        .block-images {
            img {
                aspect-ratio: 5/4.5;
            }
        }
    }
}

.grid-view {
    .css_prefix-card {
        &.landscape-card {
            .block-images {
                .card-description.with-transition {
                    bottom: -8em;
                }

                &::after {
                    bottom: -9.2em;
                }
            }
        }
    }
}

.cloned-item {
    position: absolute;
    z-index: 999;
    transition: transform 0.3s ease;
}

.title {
    margin-bottom: 1.5em;

    .title-tag {
        margin: 0;
    }
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .css_prefix-card {
        &:hover {
            .block-images {
                &::after {
                    opacity: 0;
                }

                .card-description {
                    &.with-transition {
                        opacity: 0;
                    }
                }
            }
        }
    }

    .slick-item {
        &.first {
            .card-hover {
                &:hover {
                    .block-images {
                        transform: scale3d(1.1, 1.1, 1) translate3d(5%, 0, 0) perspective(31.25em);
                    }
                }
            }
        }

        &.last {
            .card-hover {
                &:hover {
                    .block-images {
                        transform: scale3d(1.1, 1.1, 1) translate3d(-5%, 0, 0) perspective(31.25em);
                    }
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .title {
        .title-tag {
            font-size: 1.125em;
        }
    }
}

@media (max-width: 575px) {
    .title {
        margin-bottom: .8em;

        .title-tag {
            font-size: .875em;
        }
    }
}