/* Quantity Breaks · Stacked — layout-specific overrides on top of _shared.css. */

.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-tiers {
	flex-direction: column;
}

.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-tier {
	width: 100%;
}

/* A variable anchor prices every tier as a range on both lines, and _shared.css
   makes that width unshrinkable, so it eats the title column. Cap it at half the row. */
.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-tier-prices {
	max-width: 50%;
	min-width: min-content;
	margin-left: auto;
}

/* …and the other half of that fight, on the name side: `flex: 1 1 auto` bases the
   meta on its max-content, so basis 0 makes the line-break question the honest one. */
.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-tier-meta {
	flex: 1 1 0;
	min-width: min-content;
}

/* Per-unit variant picker. _shared.css stretches the button to the full row so a
   narrow multi-column card cannot overflow; in Stacked the row is the whole widget. */
.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-qb-unit .wffn-bundles-variant {
	flex: 0 1 auto;
}

.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-qb-unit .wffn-bundles-variant-open {
	width: auto;
}

/* Keep the buttons' left edge straight: "#1" measures 3px narrower than "#2" in
   fonts without tabular figures (BeTheme's), which the stretched button hid. */
.wffn-bundles-qb--stacked.wffn-bundles-qb--stacked .wffn-bundles-qb-unit-label {
	min-width: 2.5ch;
}
