#add-to-cart-or-refresh [data-container-express-checkout][data-paypal-source-page="product"] {
  float: none !important;
  margin: 10px 0 0 auto !important;
  max-width: 100%;
}
#add-to-cart-or-refresh [data-paypal-source-page="product"] [paypal-button-container] {
  width: 100% !important;
  max-width: 100%;
}
#add-to-cart-or-refresh [data-container-express-checkout][data-paypal-source-page="product"]:not([data-bh-paypal-ready="1"]) {
  pointer-events: none !important;
  opacity: 0.5;
}

/* Cart only: follow the width of the existing checkout actions. */
body#cart .cart-summary [data-container-express-checkout][data-paypal-source-page="cart"],
body#cart .cart-summary [data-paypal-source-page="cart"] [paypal-button-container] {
  width: 100% !important;
  max-width: 100%;
}

/* Equal visible spacing between the three cart actions. */
body#cart .cart-summary .js-cart-detailed-actions > .text-xs-center > .batta-checkout-btn {
  margin: 0 !important;
}
body#cart .cart-summary .js-cart-detailed-actions [data-container-express-checkout][data-paypal-source-page="cart"] {
  margin: 12px 0 0 !important;
}
body#cart .cart-summary .js-cart-detailed-actions > .text-xs-center + .text-xs-center {
  margin-top: 12px;
}
body#cart .cart-summary [data-paypal-source-page="cart"] [paypal-button-container] {
  line-height: 0;
  font-size: 0;
}
body#cart .cart-summary [data-paypal-source-page="cart"] .paypal-buttons {
  display: block !important;
}
