.widget_boldthemes_button_widget:has(.bt_bb_button:only-child) {
    margin-bottom: 15px !important;
}
/* Make the video fill the container properly */
.home .bt_bb_video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
/* Fix broken checkout button caused by PayPal plugin */

/* Remove PayPal-injected empty spans/dividers */
.wc-proceed-to-checkout .paypal-button-divider,
.wc-proceed-to-checkout .checkout-button span,
.wc-proceed-to-checkout .paypal-button-text {
    display: none !important;
}

/* Restore normal container behaviour */
.wc-proceed-to-checkout {
    display: block !important;
}

/* Restore theme’s button style */
.wc-proceed-to-checkout .checkout-button {
    display: inline-block !important;
    width: auto !important;
    padding: 0.8em 1.5em !important;
}
/* Match PayPal Smart Buttons width to WooCommerce checkout button */

/* Allow us to measure checkout button width */
.wc-proceed-to-checkout .checkout-button {
    display: inline-block !important;
}

/* Force PayPal wrapper to match the checkout button width */
.wc-proceed-to-checkout {
    width: max-content !important;
    margin: 0 auto !important;
}

/* Apply same width to PayPal buttons */
#paypal-button-container,
.wc-proceed-to-checkout .paypal-buttons,
.wc-proceed-to-checkout .ppc-button-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Make PayPal iframe adopt the inherited width */
#paypal-button-container iframe,
.wc-proceed-to-checkout .paypal-button iframe {
    width: 100% !important;
    max-width: 100% !important;
}
/* Fix narrow PayPal Hosted Fields on checkout */
.woocommerce-checkout #payment div.payment_box {
    width: 100% !important;
    max-width: 100% !important;
}

/* Force PayPal hosted fields (iframes) to full width */
.paypal-hosted-fields-card-number,
.paypal-hosted-fields-expiration-date,
.paypal-hosted-fields-cvv,
.paypal-hosted-fields-number,
.paypal-hosted-fields-name,
.paypal-hosted-fields-input,
.paypal-hosted-fields-field,
.paypal-hosted-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

/* Reset BoldThemes flex behaviour inside payment box */
.woocommerce-checkout #payment div.payment_box .form-row {
    display: block !important;
    width: 100% !important;
}
