.wpfnl-order-bump__template-style8 {
    margin-bottom: 20px;
    position: relative;

    .template-preview-wrapper {
        padding: 15px 15px;
        border: 2px dashed $primary-color;

        .template-title {
            margin: 0 0 9px 0;
            font-weight: 500;
            font-size: 14px;
            line-height: 16px;
            color: #363B4E;
        }
        .subtitle {
            font-weight: 500;
            font-size: 14px;
            line-height: 16px;
            color: $primary-color;
            margin-bottom: 14px;
            text-transform: uppercase;
            text-decoration: underline;
        }
        .description li,
        .description span,
        .description p,
        .description {
            font-size: 13px;
            line-height: 20px;
            color: #7A8B9A;
            margin: 0;
        }

    }

    .offer-checkbox {
        padding: 8px 15px;
        margin-bottom: 15px;
        background-color: $primary-color;
        display: flex;
        flex-flow: row wrap;
        align-items: flex-start;
        border: none;

        .nav-arrow {
            margin-right: 10px;
            display: inherit;
            line-height: normal;
            position: relative;
            top: 2px;
        }

        .wpfnl-checkbox {
            line-height: normal;
            display: inherit;
            width: calc(100% - 30px);
        }
        .wpfnl-checkbox label {
            margin: 0;
            padding: 0 0 0 20px;
            font-weight: 500;
            color: #d9d9d9;
            font-size: 12px;
            line-height: 14px;
        }
        .wpfnl-checkbox label:before {
            top: 2px;
            border: none;
            width: 12px;
            height: 12px;
        }
        .wpfnl-checkbox label:after {
            left: 2px;
            top: 5px;
            width: 8px;
            height: 5px;
            border-bottom-color: $primary-color;
            border-left-color: $primary-color;
        }
        .wpfnl-checkbox input[type=checkbox]:checked + label::before {
            background-color: #fff;
            border-color: #ffffff;
        }

        .product-price {
            margin-left: auto;
            display: inline-block;
            font-weight: 500;
            font-size: 12px;
            line-height: 14px;
            color: #EE8134;

            span {
                font-size: 12px;
                line-height: 14px;
                color: #EE8134;
                font-weight: 500;
                line-height: normal;
            }

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

        }
    }
}

//-----RTL style------
body.rtl.et_divi_builder #et_builder_outer_content,
body.rtl {
    .wpfnl-order-bump__template-style8 .offer-checkbox .wpfnl-checkbox label {
        padding: 0 26px 0 0;
    }
    .wpfnl-order-bump__template-style8 .offer-checkbox .wpfnl-checkbox label:before {
        left: inherit;
        right: 0;
    }
    .wpfnl-order-bump__template-style8 .offer-checkbox .wpfnl-checkbox label:after {
        left: inherit;
        right: 2px;
    }

    .wpfnl-order-bump__template-style8 .offer-checkbox .nav-arrow {
        margin-left: 10px;
        margin-right: 0;
        transform: rotate(-180deg);
    }
    .wpfnl-order-bump__template-style8 .offer-checkbox .product-price {
        margin-left: 0;
        margin-right: auto;
    }
    
}

//------responsive style-------
@media only screen and (max-width: 460px) {
    .wpfnl-order-bump__template-style2 .template-preview-wrapper {
        padding: 15px;
        display: block;
    }
    .wpfnl-order-bump__template-style2 .template-preview-wrapper .template-img {
        width: auto;
        height: auto;
        background-image: none!important;
    }
    .wpfnl-order-bump__template-style2 .template-preview-wrapper .for-mobile {
        margin-bottom: 16px;
        display: block;
        border-radius: 10px;
    }
    .wpfnl-order-bump__template-style2 .template-preview-wrapper .template-content {
        padding-left: 0;
        width: 100%;
    }
    .wpfnl-order-bump__template-style2 .offer-checkbox {
        padding: 9px 15px 13px;
    }
}
