.woocommerce .added_to_cart.wc-forward,
.add_to_cart_button + .added_to_cart {
  display: inline-block;
  margin: 10px 0 4px 12px;
}
@media (max-width: 767px) {
  .woocommerce-message:has(> .wc-forward) {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
    overflow-wrap: anywhere;
  }
  .woocommerce-message:has(> .wc-forward)::after { display: none; }
  .woocommerce-message > .wc-forward { float: none; margin: 0; }
  .woocommerce-cart .e-cart__container { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-cart :is(.e-cart__column, .e-cart__column-inner, .e-cart-section, .woocommerce-cart-form) {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .woocommerce-cart .e-cart-section { padding-inline: 14px; }
  .woocommerce-cart .cart_item .product-name { overflow-wrap: anywhere; }
  .woocommerce-cart :is(.e-apply-coupon, .checkout-button, .actions button) { white-space: normal; }
}
.single-product .boez-view-cart-action {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
  float: none;
}
@media (max-width: 767px) {
  .woocommerce-cart .elementor-element-2d84ca0 { padding-inline: 16px; }
}

.single-product .boez-cart-action-row { display: flex; justify-content: flex-end; width: 100%; padding-top: 12px; clear: both; }
.single-product form.cart .boez-cart-action-row > a { margin: 0; }

/* Keep the language menu behind the open cart drawer. */
.elementor-location-header:has(.elementor-menu-cart__container[aria-hidden="false"]) .boez-language-switcher {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
