body .woocommerce-checkout #payment .wc_payment_methods .payment_method_woocommerce_payments_lighthouse_paypal_gateway label {
    /* display: flex;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row!important;  */

    display: block;
}
.woocommerce-checkout-payment label[for='payment_method_woocommerce_payments_lighthouse_paypal_gateway']{
    display: block;
}
/* #payment .wc_payment_methods .wc_payment_method label img {
    margin: 0 !important;
    margin-left: auto !important;
    float: right !important;
} */

.payment_method_woocommerce_payments_lighthouse_paypal_gateway .payment-title-icon>img {
    max-height: 25px;
}

.payment_method_woocommerce_payments_lighthouse_paypal_gateway .wc-ppcp-payment-method__container {
    width: 100%;
    text-align: center;
}

.payment_method_woocommerce_payments_lighthouse_paypal_gateway .wc-ppcp-payment-method__container .wc-ppcp-popup__container p {
    padding-top: 10px;
    padding-bottom: 3px;
    font-size: 14px;
}

.payment_method_woocommerce_payments_lighthouse_paypal_gateway .wc-ppcp-payment-method__container .wc-ppcp-popup__container img {

    max-height: 25px;
    max-width: 150px;
    width: 110px;
}

.woocommerce-checkout-payment label[for='payment_method_woocommerce_payments_lighthouse_paypal_gateway'] {
    font-size: 15px !important;
    font-size: medium;
    font-weight: 600 !important;
    color: var(--wd-title-color);
    text-transform: var(--wd-title-transform);
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
}

.woocommerce-checkout-payment label[for='payment_method_woocommerce_payments_lighthouse_paypal_gateway'] img {
    float: right;
    height: 23px;
    width: 85px;

}

@media only screen and (min-width: 769px) {
    .woocommerce-checkout-payment label[for='payment_method_woocommerce_payments_lighthouse_paypal_gateway'] img {

        height: 24px;
        width: 91px;
    }
}

.wc-ppcp-popup__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;

}

.payment_method_woocommerce_payments_lighthouse_paypal_gateway {

    padding-top: 20px !important;
}

.payment_method_woocommerce_payments_lighthouse_paypal_gateway img {
    float: right !important;

    padding: 0;
    border: 0;
}

.woocommerce-checkout-payment .place-order .lighthouse_paypal_bg {
    background-image: url(/wp-content/plugins/lighthouse-paypal-gateway/assets/images/pp.svg) !important;

    background-repeat: no-repeat !important;

    background-position: center !important;

    background-color: #ffc439 !important;
    background-size: 63px 20px;
    color: transparent !important;
    border-color: transparent !important;
    min-height: 52px;
}

.woocommerce-checkout-payment .place-order .lighthouse_paypal_bg::before {
    content: '' !important;
    /* 清除内容 */
    display: none !important;
    /* 隐藏伪元素 */
}

.woocommerce-checkout-payment  .place-order .button {
    width: 100% !important;
}


#pp-payment-iframe-container iframe {
    width: 450px !important;
    height: 680px !important;
}

@media (max-width: 768px) {
    #pp-payment-iframe-container iframe {

        width: 95% !important;
        height: 88% !important;
    }
}

.checkout-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 16px;
    height: 16px;
    opacity: 0.6;
    text-decoration: none;
    color: #fff;
}

.checkout-close:before {
    transform: rotate(45deg);
}

.checkout-close:before,
.checkout-close:after {
    position: absolute;
    left: 8px;
    content: ' ';
    height: 16px;
    width: 2px;
    background-color: #fff;
}

.checkout-close:after {
    transform: rotate(-45deg);
}