/* YCW Orderform 1.1.5 RC6. Visual sizing only; WHMCS controls and handlers remain intact. */
#order-ycw-of :is(a.btn, button.btn, input.btn, input[type="submit"].btn),
#order-ycw-of .wdes-ycw-of-order-btn,
#order-standard_cart :is(a.btn, button.btn, input.btn) {
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 0 auto;
  text-align: center;
}
#order-ycw-of :is(a.btn, button.btn),
#order-standard_cart :is(a.btn, button.btn) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: normal;
}
#order-ycw-of .products .product footer .btn {
  width: fit-content !important;
  min-width: 0 !important;
  margin: 0 !important;
}
#order-ycw-of .products .product footer {
  justify-content: flex-start !important;
  align-items: center !important;
}
/* A justified group remains usable as one segmented control. */
#order-ycw-of .btn-group-justified > .btn,
#order-standard_cart .btn-group-justified > .btn {
  width: 100% !important;
}
