.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table thead,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tbody,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot .cart-subtotal,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot .cart-subtotal.recurring-total,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot .recurring-totals,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot .order-total:not(.recurring-total) {
    display: table-header-group !important;
}

.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot th
{
    display: table-cell;
}

.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tr.shipping {
    display: none;
}

#checkout_payments {
    order: inherit;
    background-color: transparent;
}

.page-template-template-subscribe .kabu-plan-selection {
    margin-top: 0;
    background-color: transparent;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li label[for="payment_method_stripe"] img,
.page-template-template-subscribe .subscribe-left .wc_payment_methods .payment_method_paypal img {
    display: inline-block;
}

.page-template-template-subscribe #primary .subscribe-left .checkout-v-1 .woocommerce-checkout-review-order-table tfoot .order-total:not(.recurring-total) {
    display: block !important;
}

body.kabu-not-logged-in .subscribe-left .checkout-v-3 #customer_details {
    display: block !important;
}

body.kabu-not-logged-in.page-template-template-subscribe #primary .subscribe-left .checkout-v-3 .woocommerce-form-login-toggle .woocommerce-info {
    display: block !important;
}

.checkout-v-3 .woocommerce-checkout .woocommerce-privacy-policy-text {
    display: none;
}
.checkout-v-5 .woocommerce-checkout .woocommerce-privacy-policy-text {
    display: none;
}

.page-template-template-subscribe #primary .subscribe-left .checkout-v-3 .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) .woocommerce-Price-amount:before {
    content: none;
}

.page-template-template-subscribe #primary .subscribe-left .checkout-v-3 .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) .woocommerce-Price-amount:after {
    content: none;
}

.woocommerce-page.woocommerce-checkout .checkout-v-3 #payment #place_order:after {
    content: 'Pay Now';
}
.woocommerce-page.woocommerce-checkout .checkout-v-3 #payment #place_order.paypal-text {
    background-position: 166px;
}
.page-template-template-subscribe #primary .subscribe-left .checkout-v-3 #billing_email_field {
    width: 48%;
    padding-right: 3px;
}
.woocommerce-page.woocommerce-checkout .checkout-v-3 #customer_details {
    order: 1;
    margin-bottom: 0;
}
.woocommerce-page.woocommerce-checkout .checkout-v-3 .woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    order: 2;
    width: 100% !important;
    max-width: 540px;
}
.woocommerce-page.woocommerce-checkout .checkout-v-3 #checkout_payments {
    order: 3;
}
.page-template-template-subscribe #primary .subscribe-left .checkout-v-3 .woocommerce-account-fields {
    margin-top: 10px;
}
.page-template-template-subscribe #primary .subscribe-left .checkout-v-4 .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) .woocommerce-Price-amount:before,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) .woocommerce-Price-amount:before {
    content: none;
}

.page-template-template-subscribe #primary .subscribe-left .checkout-v-4 .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) .woocommerce-Price-amount:after,
.page-template-template-subscribe #primary .subscribe-left .checkout-v-5 .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) .woocommerce-Price-amount:after {
    content: none;
}
.woocommerce-page.woocommerce-checkout .checkout-v-4 #payment #place_order:after {
    content: "Start Membership Now";
}
.woocommerce-page.woocommerce-checkout .checkout-v-4 #payment #place_order.paypal-text:after {
    content: 'PayPal Checkout';
}
.page-template-template-subscribe .kabu-plan-selection label {
    width: 60%;
}
.page-template-template-subscribe .kabu-plan-selection label:last-of-type {
    width: 60%;
}

/*.woocommerce-page.woocommerce-checkout .checkout-v-3 #payment #place_order {*/
/*    font-family: Assistant, sans-serif;*/
/*    font-size: 22px;*/
/*    font-weight: bold;*/
/*    font-stretch: normal;*/
/*    font-style: normal;*/
/*    letter-spacing: 0.55px;*/
/*    text-align: center;*/
/*    color: #262828;*/
/*    height: auto;*/
/*}*/

.woocommerce-page.woocommerce-checkout .checkout-custom .cards-detail .cards-detail-about {
    display: none;
}

.page-template-template-subscribe .subscribe-main .cart-discount {
    display: none;
}

#checkout_payments {
    padding-bottom: 0;
}

.woocommerce-form-coupon-toggle, .woocommerce-form-coupon {
    padding: 0 40px 8px;
    box-sizing: border-box;
    max-width: 540px;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li img {
    height: 20px;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li label {
    font-weight: 600;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods .payment_method_paypal {
    left: 172px;
}

.woocommerce-checkout input[type="radio"] + *:before {
    border-width: 2px;
    border-color: #007999;
    top: 2px;
    height: 22px;
    width: 22px;
}

.woocommerce-checkout input[type="radio"] + *:after {
    width: 10px;
    height: 10px;
    background-color: #007999;
    left: 6px;
    top: 8px;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li label[for="payment_method_stripe"]:before {
    top: 0
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li label[for="payment_method_stripe"]:after {
    top: 6px
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods {
    min-height: 156px;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal {
    left: -172px;
    top: 51px;
    padding: 0;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal p {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal br {
    display: none;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal strong {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal a {
    color: #007999;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal a:hover {
    text-decoration: underline;
}

.page-template-template-subscribe #primary .subscribe-left input, .wc-stripe-elements-field, .wc-stripe-iban-element-field {
    border: solid 1.1px #007999;
    margin: 0;
    padding: 11px 10px;
    border-radius: 2px;
    height: 40px;
}

.page-template-template-subscribe form .form-row-first {
    width: 48%;
    margin-right: 8px;
    display: inline-block;
    float: none;
    padding: 0 0 0 3px;
    margin-bottom: 0;
}

.page-template-template-subscribe form .form-row-last {
    width: 48%;
    display: inline-block;
    float: none;
    padding: 0;
    margin-bottom: 0;
}

.page-template-template-subscribe form .form-row-last button {
    padding: 0 16px;
    width: 100%;
    line-height: 40px;
    background-color: #98e0f9;
    border: none;
}

.page-template-template-subscribe form .form-row-last button:hover {
    background-color: #98e0f9;
}

.woocommerce-form-coupon-toggle {
    font-size: 18px;
    font-weight: 600;
    color: #007999;
}

.woocommerce-form-coupon-toggle .showcoupon {
    color: #007999;
}

.woocommerce-form-coupon-toggle .showcoupon:hover {
    opacity: .7;
}

.cards-detail {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cards-detail-title, .kabu-plan-selection b {
    font-size: 18px;
    font-weight: 700;
}

.cards-detail-title {
    text-transform: uppercase;
}

.page-template-template-subscribe .subscribe-left .wc_payment_methods li img.cards-detail-icon {
    height: 12px;
    margin: 0 8px 0 0;
}

.cards-detail-icon-list {
    display: flex;
}

.page-template-template-subscribe .kabu-plan-selection {
    padding-top: 20px;
}

.page-template-template-subscribe .kabu-plan-selection label {
    padding-left: 28px;
}

.page-template-template-subscribe .kabu-plan-selection label:first-of-type p {
    margin-bottom: 22px;
}

.page-template-template-subscribe .kabu-plan-selection label:first-of-type:after {
    top: 26px;
    left: 36px;
    clip-path: none;
    background-color: #007999;
    border-radius: 4px;
    line-height: 20px;
    padding: 0 8px;
    font-size: 14px;
    height: 20px;
    width: 88px;
}

.page-template-template-subscribe .kabu-plan-selection label sub {
    line-height: 1;
    font-size: 15px;
    font-weight: 600;
}

.page-template-template-subscribe .kabu-plan-selection label small {
    font-weight: 600;
}

.cards-detail-title-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.cards-detail-about {
    display: inline-block;
    margin-left: 8px;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23394649' d='M0 12C0 18.6274 5.37259 24 12 24C18.6274 24 24 18.6274 24 12C24 5.37257 18.6274 0 12 0C5.37259 0 0 5.37257 0 12ZM22.7999 12C22.7999 17.9646 17.9646 22.7999 12 22.7999C6.03533 22.7999 1.20001 17.9646 1.20001 12C1.20001 6.03531 6.03533 1.2 12 1.2C17.9646 1.2 22.7999 6.03531 22.7999 12ZM10.8 17.9999C10.8 17.3371 11.3373 16.8 12 16.8C12.6628 16.8 13.2 17.3371 13.2 17.9999C13.2 18.6627 12.6628 19.2 12 19.2C11.3373 19.2 10.8 18.6627 10.8 17.9999ZM9 9.44209C9 8.30159 9.34652 7.44577 9.86897 6.88116C10.3891 6.31908 11.1246 5.99999 12 5.99999C12.9062 5.99999 13.6499 6.2795 14.1615 6.75817C14.6674 7.23144 15 7.94889 15 8.93683C15 9.8385 14.5786 10.459 13.9862 11.0375C13.7687 11.2499 13.5464 11.4399 13.3143 11.6383V11.6383L13.3142 11.6384C13.2171 11.7214 13.1183 11.8058 13.0174 11.894C12.6944 12.1763 12.3538 12.4943 12.1035 12.8631C11.8067 13.3005 11.6202 13.6584 11.5156 14.0131C11.4098 14.3716 11.4 14.6876 11.4 15C11.4 15.3313 11.6686 15.6 12 15.6C12.3314 15.6 12.6 15.3313 12.6 15C12.6 14.7123 12.6116 14.5389 12.6665 14.3527C12.7226 14.1626 12.8361 13.9205 13.0965 13.5369C13.2534 13.3057 13.4913 13.0736 13.8071 12.7975C13.8874 12.7274 13.9738 12.6535 14.0639 12.5765C14.3069 12.3687 14.5767 12.1381 14.8246 11.8961C15.5286 11.2086 16.2001 10.2975 16.2001 8.93683C16.2001 7.6624 15.7612 6.61144 14.9813 5.88188C14.2073 5.15772 13.1509 4.79999 12 4.79999C10.8183 4.79999 9.75379 5.2388 8.98819 6.06616C8.22492 6.89103 7.80001 8.05627 7.80001 9.44209C7.80001 9.77345 8.06865 10.0421 8.40001 10.0421C8.73139 10.0421 9 9.77345 9 9.44209Z'%3E%3C/path%3E%3C/svg%3E");
}

.cards-detail-about-body {
    display: none;
    position: absolute;
    left: -10px;
    bottom: calc(100% + 10px);
    margin: 0;
    z-index: 9;
    width: 265px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 8px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(180, 184, 184, 1);
}
.kabu-not-logged-in .checkout-v-3 #billing_first_name_field, .kabu-not-logged-in .checkout-v-3 #billing_last_name_field {
    display: none;
}

.cards-detail-about:hover .cards-detail-about-body {
    display: block;
}

#checkout_payments, .woocommerce-form-coupon-toggle, .woocommerce-form-coupon, .page-template-template-subscribe .kabu-plan-selection {
    background-color: #fff;
}

/* installment option */
.kabu-installment-selection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    order: 3;
    padding: 30px 43px;
    background: #fff;
    max-width: 540px;
    margin-top: 24px;
}
.kabu-installment-selection strong {
    display: block;
    width: 100%;
    font-family: Assistant,sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: left;
    color: #1d333b;
    margin-bottom: 10px;
}
.kabu-installment-selection label {
    position: relative;
    padding-left: 28px;
}
.kabu-installment-selection label p {
    font-family: Assistant,sans-serif;
    font-size: 19px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: .95px;
    text-align: left;
    color: #1d333b;
    padding: 2px 0;
    display: block;
    margin-bottom: 0;
}
.kabu-installment-selection input[type="radio"] + ::before {
    border-width: 2px;
    border-color: #007999;
    top: 2px;
    height: 22px;
    width: 22px;
    content: '';
    position: absolute;
    left: 0;
    border-radius: 50%;
}

.kabu-installment-selection input[type="radio"]:checked + ::after {
    opacity: 1;
}

.kabu-installment-selection input[type="radio"] + ::after {
    width: 10px;
    height: 10px;
    background-color: #007999;
    left: 6px;
    top: 8px;
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}

.kabu-installment-selection label:first-of-type p {
    margin-bottom: 20px;
}
@media only screen and (max-width: 768px) {
    .kabu-installment-selection label p {
        font-size: 17px;
    }
    .kabu-installment-selection {
        padding: 16px 20px;
    }
    .kabu-order-total {
        font-size: 24px;
        line-height: 26px;
        margin-top: 14px;
    }
}
/* END installment option */

@media only screen and (max-width: 768px) {
    .cards-detail-title, .kabu-plan-selection b {
        font-size: 15px;
    }

    .page-template-template-subscribe .subscribe-left .wc_payment_methods li label[for="payment_method_stripe"] {
        width: 100%;
        padding-bottom: 46px;
    }

    .page-template-template-subscribe .subscribe-left .wc_payment_methods .payment_method_paypal {
        left: 0;
        top: 32px;
    }

    .page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal {
        left: 0;
        top: 44px;
        min-width: 292px;
    }

    .page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal p {
        max-width: 292px;
    }

    .page-template-template-subscribe .subscribe-left .wc_payment_methods {
        min-height: 186px;
    }

    .woocommerce-form-coupon-toggle {
        font-size: 16px;
    }

    .woocommerce-form-coupon-toggle, .woocommerce-form-coupon {
        padding: 0 15px;
    }

    .page-template-template-subscribe .kabu-plan-selection {
        padding: 20px 15px;
    }

    .page-template-template-subscribe .kabu-plan-selection label:last-of-type {
        margin-bottom: 0;
    }

    #checkout_payments {
        padding-left: 15px;
        padding-right: 15px;
    }

}

@media only screen and (max-width: 450px) {
    .page-template-template-subscribe form .form-row-first {
        width: 100%;
        margin: 0 0 8px;
    }

    .page-template-template-subscribe form .form-row-last {
        width: 100%;
    }
}

@media only screen and (max-width: 380px) {
    .page-template-template-subscribe .subscribe-left .wc_payment_methods .payment_method_paypal {
        left: 10px;
    }

    .page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal {
        left: 10px;
    }
}

@media only screen and (max-width: 360px) {
    .page-template-template-subscribe .subscribe-left .wc_payment_methods{
        min-height: 208px;
    }
    .page-template-template-subscribe .subscribe-left .wc_payment_methods li .payment_box.payment_method_paypal {
        min-width: 262px;
    }
}