/* Bundle size choices reuse the LYA size radio controls with extra room for the longer legend. */
.category-lingerie-variants.bundle-size-choices {
  align-items: flex-start;
  gap: 10px 18px;
}
.category-lingerie-variants.bundle-size-choices fieldset {
  flex-wrap: wrap;
  min-width: 0;
  row-gap: 8px;
}
.category-lingerie-variants.bundle-size-choices legend {
  max-width: 100%;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.category-lingerie-variants.bundle-size-choices label {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #660000;
  border-radius: 18px;
  white-space: nowrap;
}
.category-lingerie-variants.bundle-size-choices input[type="radio"] {
  flex: 0 0 auto;
}
@media (max-width: 520px) {
  .category-lingerie-variants.bundle-size-choices {
    gap: 8px;
    margin-top: 9px;
    padding: 9px 0;
  }
  .category-lingerie-variants.bundle-size-choices fieldset {
    gap: 7px;
  }
  .category-lingerie-variants.bundle-size-choices legend {
    flex-basis: 100%;
    margin: 0 0 2px;
    font-size: 9px;
  }
  .category-lingerie-variants.bundle-size-choices label {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 11px;
  }
}
