/* Keep Bricks' native quantity controls together inside bundled table cells. */
.brxe-product-add-to-cart .bundle_form { min-width: 0; max-width: 100%; }
.brxe-product-add-to-cart .bundle_form table.bundled_products .quantity {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}
.brxe-product-add-to-cart .bundle_form .bundled_item_qty_col .qty {
  width: 3em;
  min-width: 0;
  padding-inline: .25em;
}
/* Product rows remain editable and retain their native input labels. */
@media (max-width: 600px) {
  .brxe-product-add-to-cart .bundle_form table.bundled_products { width: 100%; }
  .brxe-product-add-to-cart .bundle_form table.bundled_products > thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .brxe-product-add-to-cart .bundle_form table.bundled_products > tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  }
  .brxe-product-add-to-cart .bundle_form table.bundled_products > tbody > tr > td {
    width: auto;
    min-width: 0;
    padding: .75em .5em;
  }
  .brxe-product-add-to-cart .bundle_form .bundled_item_qty_col { grid-column: 2; }
  .brxe-product-add-to-cart .bundle_form .bundled_product_title { overflow-wrap: anywhere; }
}
