.wpfnl-order-bump__template-style5 {
    background-color: transparent;
    border: 2px dashed $primary-color;
    border-radius: 10px;
    position: relative;
    margin: 20px 0;
    padding: 20px!important;

    .template-preview-wrapper {
        display: flex;
        flex-flow: row-reverse;

        .template-img {
            width: 100px;
            height: 100px;
            background-color: #F2F2F8;
            border-radius: 5px;
            position: relative;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            object-fit: cover;
        }

        .for-mobile {
            display: none;
            border-radius: 5px;
        }

        .template-content {
            width: calc(100% - 100px);
            padding-right: 14px;
        }
        .template-title {
            font-weight: 500;
            font-size: 18px;
            line-height: 1.2;
            color: #363B4E;
            margin: 0 0 7px 0;
        }
        .rating {
            color: #363B4E;
            font-weight: 600;
            display: flex;
            flex-flow: row wrap;
            align-items: center;
            line-height: 1;
            font-size: 15px;

            .star-rating {
                float: none;
                width: 86px;
                height: 15px;

                &::before {
                    content: "s s s s s";
                    font-size: 13px;
                    line-height: 1.2;
                    color: #EE8134;
                }

                span::before {
                    content: "S S S S S";
                    font-size: 13px;
                    line-height: 1.2;
                    color: #EE8134;
                }
            }
        }
        .subtitle {
            font-weight: 500;
            font-size: 14px;
            line-height: 16px;
            color: $primary-color;
            margin-bottom: 5px;
        }
        .description li,
        .description span,
        .description p,
        .description {
            font-size: 13px;
            line-height: 20px;
            color: #7A8B9A;
            margin: 0;
        }

        .template-price {
            line-height: 1;
            margin-bottom: 10px;
            width: 100%;
        }
        .product-price {
            display: inline-block;
            font-weight: 500;
            font-size: 16px;
            line-height: 15px;
            color: #EE8134;
            margin-left: auto;

            span {
                font-size: 16px;
                line-height: 15px;
                color: #EE8134;
                font-weight: 500;
            }

            ins {
                text-decoration: none;
                background: transparent;
            }
        }

    }

    .offer-checkbox {
        line-height: 1.2;
        padding: 0 0 16px 0;
        border-bottom: 1px solid #ddd;
        margin-bottom: 15px;

        .wpfnl-checkbox {
            display: block;

            label {
                display: block;
                color: $primary-color;
                font-size: 14px;
                font-weight: 500;
                line-height: 1.2;
                text-transform: uppercase;
                padding-left: 0;
                padding-right: 50px;

                &:before {
                    left: inherit;
                    right: 0;
                    top: -3px;
                    width: 43px;
                    height: 22px;
                    border-radius: 30px;
                    border-color: $primary-color;
                }
                &:after {
                    left: inherit;
                    right: 24px;
                    top: 1px;
                    width: 14px;
                    height: 14px;
                    border-radius: 30px;
                    transform: none;
                    border-bottom: none;
                    border-left: none;
                    background-color: $primary-color;
                    opacity: 1;
                    visibility: visible;
                }
            }

            input[type=checkbox]:checked + label::after {
                background-color: #fff;
                right: 4px;
            }
        }
    }

}

//-----RTL style------
body.rtl.et_divi_builder #et_builder_outer_content,
body.rtl {
    .wpfnl-order-bump__template-style5 .template-preview-wrapper .template-content {
        padding-right: 0;
        padding-left: 14px;
    }
}


//------responsive style-------
@media only screen and (max-width: 575px) {
    .wpfnl-order-bump__template-style5 .template-preview-wrapper {
        display: block;
    }
    .wpfnl-order-bump__template-style5 .template-preview-wrapper .template-img {
        width: auto;
        height: auto;
        background-image: none!important;
    }
    .wpfnl-order-bump__template-style5 .template-preview-wrapper .for-mobile {
        display: block;
        margin-bottom: 16px;
    }
    .wpfnl-order-bump__template-style5 .template-preview-wrapper .template-content {
        width: 100%;
        padding-left: 0;
    }
    .wpfnl-order-bump__template-style5 .template-preview-wrapper .template-title {
        max-width: 100%;
    }
    .wpfnl-order-bump__template-style5 .template-preview-wrapper .template-price {
        padding-left: 0;
        margin: 12px 0;
        width: 100%;
    }
    .wpfnl-order-bump__template-style5 .offer-checkbox {
        margin-left: 0;
        max-width: inherit;
    }

}
