/* Flyers & door hangers on the order page (Sept 28).
 *
 * Business cards choose a STOCK (Paper) and then Sides, each a short
 * segmented control. Flyers and door hangers have no stock choice — the size
 * is fixed by the design (shown, not chosen: .osec--size) — and fold their
 * one real choice (Print option / Paper & sides) into a single control that
 * also stands in for "Sides" (see card-page.js fixedMode, chooseMainOption).
 * That control's labels run long ("Full Colour Front + B&W Back"), too long
 * for the business-card Sides row's pill-shaped, equal-width flex layout
 * (app.css .osec__ctl .segctl), so this file restyles it as a stack of full-
 * width rows instead. Nothing here changes a business card: every rule is
 * scoped to the new classes card-page.js adds only in fixedMode
 * (.osec--size, .osec__ctl--mainopt), so an unmodified .osec__ctl (Paper,
 * Sides) is untouched.
 *
 * Needs a <link> in index.html, after css/app.css so its overrides win on
 * source order too (the selectors below are also specific enough to win
 * regardless) — see the agent report for the exact tag.
 */

/* ---------- size: shown, never chosen ---------- */

.osec--size .osec__lead--size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--workspace);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* ---------- the main option (Print option / Paper & sides) ---------- */

.osec__ctl--mainopt .segctl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.osec__ctl--mainopt .segctl__btn {
  display: flex;
  width: 100%;
  flex: none;
  min-height: 48px;
  padding: 10px 16px;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  white-space: normal;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--workspace);
  box-shadow: none;
}

.osec__ctl--mainopt .segctl__btn.is-on {
  border-color: var(--accent);
  background: var(--paper);
}

.osec__ctl--mainopt .segctl__label { flex: 1 1 auto; }
.osec__ctl--mainopt .segctl__sub { flex: none; white-space: nowrap; }

@media (max-width: 600px) {
  .osec__ctl--mainopt .segctl__btn { min-height: 44px; }
}
