/* Former WPCode 9490: classic page width. */
/* Match the homepage's outer width on classic content pages. */
body:is(.page-id-3, .page-id-4153, .page-id-4461, .page-id-36, .page-id-4508) .entry-content {
  box-sizing: border-box;
  width: min(100%, calc(100vw - 32px));
  max-width: 1600px;
}
@media (max-width: 767px) {
  body:is(.page-id-3, .page-id-4153, .page-id-4461, .page-id-36, .page-id-4508) .entry-content {
    width: min(100%, calc(100vw - 24px));
  }
}

/* Former WPCode 9491: replace AJAX Add to cart with View cart. */
/* WooCommerce inserts "View cart" beside the original AJAX add button.
   Keep the price and one action on the same row in Blocksy Type 2 cards. */
body.home .elementor-38 ul.products[data-products="type-2"] > li.product > .ct-woo-card-actions:has(> a.added_to_cart) > a.add_to_cart_button,
body.woocommerce:not(.single-product) ul.products[data-products="type-2"] > li.product > .ct-woo-card-actions:has(> a.added_to_cart) > a.add_to_cart_button,
body ul.products[data-products="type-2"] > li.product > .ct-woo-card-actions > a.add_to_cart_button.added {
  display: none !important;
}
body ul.products[data-products="type-2"] > li.product > .ct-woo-card-actions > a.added_to_cart {
  margin-left: auto !important;
}
