/* TheWorkwear Bundle Wizard — slide-in sub-view of chat panel */
/* v1.34.220.138 — pill add-buttons + Gallery/Info pill icons + unified Team+Gender row */

/* v1.34.220.138 — "Add another garment type" + "Add a different size & colour"
   as ROUND PILLS, well-padded, cute, gradient green hint. */
.twwai-wz-addsplit, .twwai-wz-addtype-btn {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  border-radius: 999px !important;
  padding: 9px 18px !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border: 1.5px solid #bbf7d0 !important;
  color: #14532d !important;
  font-weight: 700 !important; font-size: 12.5px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(22,163,74,.08) !important;
  transition: all .15s ease !important;
  margin: 8px 4px !important;
  min-height: 34px !important;
}
.twwai-wz-addsplit:hover, .twwai-wz-addtype-btn:hover {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
  border-color: #16a34a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22,163,74,.18) !important;
}
/* Gallery + Info pill buttons with text labels */
.twwai-wz-pillbtn {
  display: inline-flex !important; align-items: center !important; gap: 4px !important;
  width: auto !important; height: auto !important;
  border-radius: 999px !important;
  padding: 5px 11px !important;
  background: #f7fafb !important;
  border: 1px solid #e5e8ec !important;
  color: #1d2733 !important;
  font-size: 11px !important; font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
  cursor: pointer;
  transition: all .15s ease !important;
  margin: 0 !important; min-height: 28px !important;
}
.twwai-wz-pillbtn:hover {
  background: #f0fdf4 !important; border-color: #16a34a !important;
  color: #14532d !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(22,163,74,.14) !important;
}
.twwai-wz-pillbtn-ico { font-size: 12px; line-height: 1; }
.twwai-wz-pillbtn-lbl { line-height: 1; letter-spacing: .1px; }
@media (max-width: 480px) {
  .twwai-wz-pillbtn { padding: 4px 9px !important; font-size: 10.5px !important; }
  .twwai-wz-pillbtn-ico { font-size: 11px; }
}

/* v1.34.220.138 — unified Team + Gender single card row */
.twwai-wz-teamrow {
  background: #fff !important;
  border: 1px solid #e5e8ec !important;
  border-radius: 16px !important;
  padding: 8px 12px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.02) !important;
  margin: 0 0 10px !important;
  display: flex !important; align-items: center !important;
  gap: 14px !important; flex-wrap: wrap !important;
}
.twwai-wz-teamrow > .twwai-wz-teamblock {
  margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important;
  box-shadow: none !important;
}
.twwai-wz-teamrow > .twwai-wz-teamblock + .twwai-wz-teamblock {
  border-left: 1px solid #e5e8ec !important;
  padding-left: 14px !important;
}
@media (max-width: 480px) {
  .twwai-wz-teamrow {
    flex-direction: column !important; align-items: stretch !important;
    gap: 8px !important;
  }
  .twwai-wz-teamrow > .twwai-wz-teamblock + .twwai-wz-teamblock {
    border-left: 0 !important; padding-left: 0 !important;
    border-top: 1px solid #e5e8ec !important; padding-top: 8px !important;
  }
}

/* v1.34.90 — Order scope (Just me / Team) + team-size stepper */
.twwai-wz-scope { margin: 6px 0 14px; }
.twwai-wz-scope-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.twwai-wz-scope-opt {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: all .15s;
}
.twwai-wz-scope-opt:hover { border-color: var(--twwai-header, #075e54); }
.twwai-wz-scope-opt.on {
  border-color: var(--twwai-header, #075e54);
  background: var(--twwai-header, #075e54);
  color: #fff;
  box-shadow: 0 3px 8px rgba(7, 94, 84, 0.18);
}
.twwai-wz-scope-lbl { font-size: 13px; font-weight: 700; line-height: 1.2; }
.twwai-wz-scope-sub { font-size: 11px; opacity: 0.75; margin-top: 2px; line-height: 1.2; }
.twwai-wz-scope-opt.on .twwai-wz-scope-sub { color: #d1fae5; opacity: 1; }
.twwai-wz-teamsize {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding: 10px 12px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
}
.twwai-wz-teamsize-lbl { font-size: 13px; font-weight: 700; color: #15803d; }
.twwai-wz-teamsize-ctl {
  display: flex; align-items: center; gap: 6px;
}
.twwai-wz-teamsize-ctl button {
  background: #fff; border: 1.5px solid #15803d; border-radius: 6px;
  width: 28px; height: 28px; font-size: 16px; font-weight: 700;
  color: #15803d; cursor: pointer;
}
.twwai-wz-teamsize-ctl button:hover { background: #ecfdf5; }
.twwai-wz-tsv {
  width: 56px; text-align: center; font-size: 15px; font-weight: 800;
  border: 1.5px solid #15803d; border-radius: 6px; padding: 4px 6px;
  color: #064e3b;
}
.twwai-wz-tsv:focus { outline: none; box-shadow: 0 0 0 3px rgba(21, 128, 61, .15); }

/* v1.34.220.8 — Are-you-a-team toggle at top of Stage 2 (Quantities). */
.twwai-wz-teamblock {
  background: #f9fafb; border: 1.5px solid #e5e8ec; border-radius: 16px;
  padding: 12px 14px; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 10px;
}
/* v1.34.220.73 — Stage 5 reservation timer (1h FOMO band at top of checkout).
   Matches the vibrant-green brand palette + readable typography. */
.twwai-wz-stage5-timer {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #fff; border-radius: 14px;
  padding: 11px 16px; margin: 0 0 14px;
  box-shadow: 0 6px 18px rgba(22,163,74,.22);
}
.twwai-wz-stage5-timer-l {
  font-weight: 800; font-size: 13.5px; letter-spacing: .2px;
  flex: 0 0 auto;
}
.twwai-wz-stage5-timer-r {
  font-weight: 900; font-size: 16px; font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,.18); padding: 4px 11px; border-radius: 999px;
  flex: 0 0 auto;
}
.twwai-wz-stage5-timer-sub {
  font-size: 12px; font-weight: 600; opacity: .92;
  flex: 1 1 100%;
  line-height: 1.35;
}
.twwai-wz-stage5-timer--expired {
  background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
  box-shadow: 0 4px 12px rgba(75,85,99,.18);
}
@media (max-width: 480px) {
  .twwai-wz-stage5-timer { padding: 10px 12px; gap: 8px; }
  .twwai-wz-stage5-timer-l { font-size: 12.5px; }
  .twwai-wz-stage5-timer-r { font-size: 15px; padding: 3px 9px; }
  .twwai-wz-stage5-timer-sub { font-size: 11.5px; }
}

/* v1.34.220.58 — compact variant: label + buttons on ONE row, smaller padding */
.twwai-wz-teamblock--compact {
  flex-direction: row; align-items: center; gap: 10px;
  padding: 7px 12px !important; margin: 0 !important;
  border-radius: 12px;
  flex-wrap: wrap; /* v1.34.220.78 — team stepper wraps below instead of overflowing */
}
.twwai-wz-teamblock--compact .twwai-wz-teamblock-q {
  font-size: 12.5px !important; flex: 0 0 auto;
  white-space: nowrap;
}
.twwai-wz-teamblock--compact .twwai-wz-teamblock-opts { flex: 1 1 auto; gap: 5px; }
.twwai-wz-teamblock--compact .twwai-wz-teamblock-opt {
  padding: 6px 10px !important; font-size: 12px !important;
  box-shadow: none !important;
}
/* v1.34.220.60 — compact stepper (no "How many people?" label, smaller buttons) */
.twwai-wz-teamsize--compact {
  margin: 0 0 0 6px !important;
  padding: 0 !important; background: transparent !important; border: 0 !important;
}
.twwai-wz-teamsize--compact .twwai-wz-teamsize-ctl button {
  width: 26px !important; height: 26px !important; min-width: 26px !important;
  font-size: 13px !important; padding: 0 !important;
}
.twwai-wz-teamsize--compact .twwai-wz-tsv {
  /* v1.34.220.70 — wider so the team-size number is actually visible */
  width: 44px !important; height: 26px !important; font-size: 13px !important;
  text-align: center !important; padding: 0 4px !important;
}
@media (max-width: 480px) {
  /* v1.34.220.78 — keep stepper inline beside Yes (was forced to its own row,
     adding height). It wraps only if the row genuinely runs out of width. */
  .twwai-wz-teamsize--compact { margin: 0 0 0 6px !important; align-self: center; }
}

/* v1.34.220.58 — both compact blocks side by side on desktop, stacked on mobile */
.twwai-wz-teamrow {
  display: flex; gap: 8px; margin: 0 0 12px; flex-wrap: wrap;
}
.twwai-wz-teamrow > .twwai-wz-teamblock { flex: 1 1 220px; min-width: 0; }
@media (max-width: 480px) {
  /* v1.34.220.78 — Imran "Stage 2 taking too much space". The two blocks stack
     (Team row, then Sizes row) but each stays a SINGLE tight row: label left,
     buttons fill the rest. No more label-on-top/buttons-below (that doubled the
     height of each block). Result = 2 short rows instead of 4. */
  .twwai-wz-teamrow { gap: 6px; flex-direction: column; }
  .twwai-wz-teamrow > .twwai-wz-teamblock { flex: 1 1 100%; }
  .twwai-wz-teamblock--compact {
    flex-direction: row !important; align-items: center !important;
    gap: 8px !important; padding: 7px 12px !important;
  }
  .twwai-wz-teamblock--compact .twwai-wz-teamblock-q { white-space: nowrap; flex: 0 0 auto; }
  .twwai-wz-teamblock--compact .twwai-wz-teamblock-opts { gap: 6px; flex: 1 1 auto; }
  .twwai-wz-teamblock--compact .twwai-wz-teamblock-opt {
    padding: 8px 6px !important; font-size: 12.5px !important; min-height: 34px;
  }
}
.twwai-wz-teamblock-q {
  font-size: 14px; font-weight: 800; color: #1d2733;
}
.twwai-wz-teamblock-opts {
  display: flex; gap: 8px;
}
.twwai-wz-teamblock-opt {
  flex: 1;
  border: 1.5px solid #d8dce2 !important;
  background: #fff !important;
  border-radius: 999px !important;
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #1d2733 !important;
  cursor: pointer;
  letter-spacing: .2px;
  transition: border-color .12s, background .12s, box-shadow .12s, transform .12s, color .12s;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.twwai-wz-teamblock-opt:hover {
  border-color: var(--twwai-accent, #00d96b);
  transform: translateY(-1px);
}
.twwai-wz-teamblock-opt.on {
  background: var(--twwai-header, #075e54) !important;
  border-color: var(--twwai-header, #075e54) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(7,94,84,.20) !important;
  transform: translateY(-1px);
}

/* v1.34.90 — Team-of-X banner above Stage 2 quantities */
.twwai-wz-foot-amt--ghost { color: #6b7280 !important; font-weight: 600 !important; opacity: .85; } /* v1.34.220.75 — WCAG AA contrast (was #9aa3ad ~3.7:1, now 4.83:1) */
/* v1.34.220.22 — Compact extras strip shown at top of stages 2-5 */
.twwai-wz-extras-strip {
  background: #f1f9f5; border: 1px solid #d2e7dc; border-radius: 14px;
  padding: 10px 14px; margin: 0 0 12px;
}
.twwai-wz-extras-strip-head {
  display: flex; align-items: center; gap: 8px;
}
.twwai-wz-extras-strip-ico { font-size: 14px; }
.twwai-wz-extras-strip-lbl {
  flex: 1 1 auto; font-weight: 800; font-size: 12.5px;
  color: var(--twwai-header, #075e54);
}
.twwai-wz-extras-strip-amt {
  font-weight: 800; font-size: 12.5px;
  color: var(--twwai-header, #075e54);
  background: #fff; padding: 3px 10px; border-radius: 999px;
}
.twwai-wz-extras-strip-list {
  margin-top: 6px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 11.5px; color: #1d2733;
}
.twwai-wz-extras-strip-item {
  display: flex; justify-content: space-between; gap: 8px;
  padding-left: 18px;
}
.twwai-wz-extras-strip-item span:last-child { color: #6b7480; font-variant-numeric: tabular-nums; }
.twwai-wz-sumline--rich { margin: 4px 0; padding: 6px 8px; border-radius: 8px; background: #fafbfc; }
.twwai-wz-sumline-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.twwai-wz-sumline-lbl { font-weight: 700; color: #1d2733; font-size: 13px; }
.twwai-wz-sumline-detail { margin-top: 3px; font-size: 11.5px; color: #6b7480; padding-left: 2px; }

.twwai-wz-team-banner {
  background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 4px solid #15803d;
  border-radius: 10px; padding: 10px 14px; margin: 0 0 12px;
  font-size: 12.5px; color: #14532d; line-height: 1.45; font-weight: 600;
}

/* v1.34.90 — Stage 2 quick "+10 / -10" buttons */
.twwai-wz-qm10, .twwai-wz-qp10 {
  background: #f8fafc; border: 1px solid #cbd5e1; color: #475569;
  border-radius: 6px; padding: 0 7px; height: 28px; font-size: 11px;
  font-weight: 700; cursor: pointer; min-width: 32px;
}
.twwai-wz-qm10:hover, .twwai-wz-qp10:hover { background: #e2e8f0; }

/* v1.34.90 — Notes char counter */
.twwai-wz-notes-counter {
  /* v1.34.220.75 — WCAG AA contrast: #94a3b8 (3.43:1) → #6b7280 (4.83:1) */
  text-align: right; font-size: 11px; color: #6b7280; margin-top: 3px;
}

/* v1.34.75 — wizard NO LONGER overrides the chat panel size. The panel stays
   the SAME size whether you're on the Customer service tab or the Build a quote
   tab. No jumping between sizes. The chat.css default (720×fits-viewport) wins. */

.twwai-wizard {
  /* v1.34.69 — initial offset is conservative (large enough to never overlap tabs).
     wizard.js then measures the actual head+tabs height on open and adjusts. The
     CSS fallback only matters if JS measurement fails for any reason. */
  position: absolute; top: 120px; right: 0; bottom: 0; left: 0; z-index: 6;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9f7 100%);
  display: flex; flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  animation: twwai-wz-in .3s cubic-bezier(.34, 1.4, .6, 1);
}
@keyframes twwai-wz-in {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* v1.34.72 — HIDE the wizard's own header entirely. The chat panel header above
   (the one with the brand name + min/max/close + tab strip) is the SINGLE source
   of chrome. No more confusing two-headers stack. The wizard close/maximise/restart
   are now exposed inside the body as a thin inline strip + via the chat panel's
   own header controls. */
.twwai-wz-head { display: none; }

/* Inline progress + restart strip at top of wizard body */
.twwai-wz-progress-strip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 6px; background: #fafbfd;
  border-bottom: 1px solid #eef2f7;
}
.twwai-wz-progress-strip .twwai-wz-title {
  /* v1.34.220.104 — Imran 2026-06-17: v.103 said the title was sr-only but
     it was still rendering visually. Now properly hidden via clip-rect
     pattern but kept in DOM for screen reader heading + focus target. */
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.twwai-wz-progress-strip .twwai-wz-progress {
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 auto; justify-content: flex-end;
}
.twwai-wz-progress-strip .twwai-wz-pdot {
  width: 14px; height: 3px; margin: 0; background: #d1d5db;
}
.twwai-wz-progress-strip .twwai-wz-pdot.on { background: var(--twwai-accent-dark, #128c7e); }
.twwai-wz-progress-strip .twwai-wz-pdot.active { background: var(--twwai-header, #075e54); }
.twwai-wz-progress-strip .twwai-wz-pstep {
  font-size: 11px; margin-left: 4px; color: #64748b; font-weight: 600;
}
.twwai-wz-progress-strip .twwai-wz-restart-mini {
  background: transparent; border: 1px solid #cbd5e1;
  border-radius: 6px; padding: 2px 8px;
  font-size: 13px; color: #475569; cursor: pointer;
  transition: all 0.15s;
}
.twwai-wz-progress-strip .twwai-wz-restart-mini:hover { background: #f1f5f9; }

/* v1.34.220.100 — labelled 5-step stepper (Garments › Quantity › Customise › Size › Pay).
   Each stage shown with a numbered chip + label; active highlighted, done ✓, rest grey. */
/* v1.34.220.102 — INLINE STEPPER: title + stepper share ONE row (Imran 2026-06-17
   "keep it next to the text, not two lines"). Title sits left, the colourful
   numbered stepper fills the rest of the row. Labels only show the ACTIVE step so
   the 5 chips + title never collide in the narrow (~360-400px) wizard panel —
   identical behaviour on mobile, just a single tidy line. */
.twwai-wz-progress-strip--steps {
  flex-direction: row; align-items: center; gap: 10px;
  flex-wrap: nowrap;
}
.twwai-wz-steps-head { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; min-width: 0; }
/* v1.34.220.102 — Imran 2026-06-17: drop the visible step title ("Pick your
   garments" etc.) — the colourful stepper alone is enough. Keep the node
   screen-reader-only so a11y heading + render() focus target still work. */
.twwai-wz-steps-head .twwai-wz-title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.twwai-wz-steps {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2px; flex: 1 1 auto; min-width: 0;
}
/* Inline row: chips stay dots, only the active step keeps its label so the whole
   strip fits beside the title on one line (phone + desktop). */
/* v1.34.220.105 — Imran 2026-06-17: show ALL stage labels at all times so users
   see what's next. Active label uses the brand colour, done uses darker grey,
   upcoming stays light grey (existing rules below). Was: only active label
   visible (display:none on others). Now all 5 chips + labels render together. */
.twwai-wz-progress-strip--steps .twwai-wz-stp-l { display: block; font-size: 10px; }

/* v1.34.220.113 — Imran 2026-06-17: Stage 2 per-garment CARD with minimal shadow.
   Compact header (emoji + name + qty stepper inline + right-corner icons cluster).
   Slightly smaller size +/− buttons. Brand pill at lower-right. */
.twwai-wz-gcard {
  background: #fff; border: 1px solid #e5e8ec; border-radius: 14px;
  margin: 0 0 10px; padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.02);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.twwai-wz-gcard:hover {
  border-color: #cfe8dd;
  box-shadow: 0 4px 12px rgba(22,163,74,.08);
}
.twwai-wz-qrow--compact {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 0 !important; margin: 0 0 6px !important;
}
.twwai-wz-qrow--compact .twwai-wz-qlbl {
  flex: 1 1 auto; font-weight: 700; font-size: 13.5px; color: #1d2733;
  min-width: 0; white-space: normal; line-height: 1.25;
}
.twwai-wz-qctl--compact {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f7fafb; border-radius: 999px; padding: 2px;
}
.twwai-wz-qctl--compact .twwai-wz-qm,
.twwai-wz-qctl--compact .twwai-wz-qp {
  width: 26px !important; height: 26px !important;
  border-radius: 50% !important;
  border: 0 !important; background: #fff !important;
  font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.08) !important;
  cursor: pointer; padding: 0 !important;
}
.twwai-wz-qctl--compact .twwai-wz-qm:hover,
.twwai-wz-qctl--compact .twwai-wz-qp:hover {
  background: #f0fdf4 !important; color: #16a34a !important;
}
.twwai-wz-qctl--compact .twwai-wz-qval {
  min-width: 20px; text-align: center; font-weight: 800; font-size: 13px;
  font-variant-numeric: tabular-nums; padding: 0 4px;
}
.twwai-wz-gcard-actions {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  margin-left: auto !important; /* v.117: push action icons to right corner */
}
.twwai-wz-qctl--inline {
  flex: 0 0 auto !important;
  margin-left: 0 !important; /* v.117: keep stepper inline with name, NOT pushed right */
}
.twwai-wz-gcard-actions .twwai-wz-galbtn:not(.twwai-wz-pillbtn) {
  /* v1.34.220.114 — round 32px circles with subtle shadow, cuter than chip look */
  margin: 0 !important; width: 32px !important; height: 32px !important;
  border-radius: 50% !important;
  background: #f7fafb !important; border: 1px solid #e5e8ec !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
  font-size: 14px !important;
  transition: all .15s ease;
}
.twwai-wz-gcard-actions .twwai-wz-galbtn:not(.twwai-wz-pillbtn):hover {
  background: #f0fdf4 !important; border-color: #16a34a !important;
  transform: scale(1.08); box-shadow: 0 2px 8px rgba(22,163,74,.18) !important;
}
/* v1.34.220.139 — Imran 2026-06-18: when galbtn is ALSO a pill (Info/Gallery with
   text label) keep it as an auto-width pill so icon + label sit side-by-side, not
   crammed into a 32px circle on top of each other. */
.twwai-wz-gcard-actions .twwai-wz-galbtn.twwai-wz-pillbtn {
  width: auto !important; height: auto !important; border-radius: 999px !important;
  font-size: 11px !important;
}
.twwai-wz-gcard-actions .twwai-wz-rowdel {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fef2f2; border: 1px solid #fecaca; color: #b32d2e;
  font-weight: 800; cursor: pointer;
}
.twwai-wz-gcard-actions .twwai-wz-rowdel:hover { background: #fee2e2; }
/* Slightly smaller size +/− buttons inside cards */
.twwai-wz-gcard .twwai-wz-szrow {
  padding: 6px 0 4px !important; margin: 0;
}
.twwai-wz-gcard .twwai-wz-szcell-m,
.twwai-wz-gcard .twwai-wz-szcell-p {
  /* v1.34.220.116 — even smaller (Imran 2026-06-17) — 16px circles */
  width: 16px !important; height: 16px !important; font-size: 10px !important;
}
.twwai-wz-gcard .twwai-wz-szcell {
  min-width: 50px !important; padding: 4px 6px !important;
}
.twwai-wz-gcard .twwai-wz-szcell-lbl { font-size: 10px !important; }
.twwai-wz-gcard .twwai-wz-szcell-v { font-size: 11px !important; }
/* Smaller brand pills inside cards (v.116) */
.twwai-wz-gcard .twwai-wz-brandpill {
  padding: 4px 10px !important; min-height: 26px !important;
  font-size: 11px !important;
}
.twwai-wz-gcard .twwai-wz-brandpill-mark {
  width: 16px !important; height: 16px !important; font-size: 9.5px !important;
}
.twwai-wz-gcard .twwai-wz-brandpill-name { font-size: 11px !important; }
.twwai-wz-gcard .twwai-wz-brandpill-up { font-size: 9.5px !important; }
/* v1.34.220.131 — SPLIT ORDER: multiple colour/size rows per garment card */
.twwai-wz-splitrow.is-split {
  border: 1px dashed #d6dde4; border-radius: 10px;
  padding: 6px 8px; margin: 0 0 7px; background: #fafcfd;
}
.twwai-wz-splitrow-hd {
  display: flex; align-items: center; gap: 7px; margin: 0 0 4px;
}
.twwai-wz-splitrow-sw {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15); flex: 0 0 auto;
}
.twwai-wz-splitrow-nm {
  flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 11.5px; color: #1d2733;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.twwai-wz-splitrow-del {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  background: #fef2f2; border: 1px solid #fecaca; color: #b32d2e;
  font-weight: 800; font-size: 13px; line-height: 1; cursor: pointer; padding: 0;
}
.twwai-wz-splitrow-del:hover { background: #fee2e2; }
/* v1.34.220.135 — Imran 2026-06-18: both add-buttons are now rounded PILLS in the
   chat-window colour (green/teal accent) instead of dashed amber/green boxes. */
.twwai-wz-addsplit {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 2px 0 0; padding: 8px 16px;
  background: var(--twwai-accent, #00d96b); border: 1px solid var(--twwai-accent-dark, #1f8a4f);
  border-radius: 999px;
  color: #fff; font-weight: 700; font-size: 12px; cursor: pointer;
  transition: all .15s ease;
}
.twwai-wz-addsplit:hover {
  background: var(--twwai-accent-dark, #1f8a4f); transform: translateY(-1px);
}
/* v1.34.220.132 — Imran 2026-06-18: "Add another garment type" inline picker */
.twwai-wz-addtype { margin: 14px 0 6px; text-align: center; }
.twwai-wz-addtype-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; width: auto; min-width: 60%; justify-content: center; margin: 0 auto;
  background: var(--twwai-accent, #00d96b); border: 1px solid var(--twwai-accent-dark, #1f8a4f);
  border-radius: 999px;
  color: #fff; font-weight: 800; font-size: 13px; cursor: pointer;
  transition: all .15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.twwai-wz-addtype-btn:hover { background: var(--twwai-accent-dark, #1f8a4f); transform: translateY(-1px); }
.twwai-wz-addtype-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px;
}
.twwai-wz-addtype-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px 10px; background: #fff; border: 1px solid #e5e8ec;
  border-radius: 12px; cursor: pointer; font-size: 12px; font-weight: 600;
  color: #1f2937; transition: all .15s ease;
}
.twwai-wz-addtype-tile:hover { border-color: #1e2a4a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.twwai-wz-addtype-img { width: 48px; height: 48px; object-fit: contain; }
.twwai-wz-addtype-emo { font-size: 30px; line-height: 1; }
.twwai-wz-addtype-lbl { text-align: center; line-height: 1.15; }
@media (max-width: 480px) { .twwai-wz-addtype-grid { grid-template-columns: repeat(2, 1fr); } }
.twwai-wz-gcard .twwai-wz-szcolrow {
  padding: 4px 0 6px !important; margin: 0;
}
.twwai-wz-gcard .twwai-wz-brandrow--inline {
  padding: 4px 0 0 !important; margin: 0;
}
.twwai-wz-brandrow--lowerright {
  justify-content: flex-end !important;
}
/* v1.34.220.119 — Imran 2026-06-17: tunic + matching trouser toggle */
.twwai-wz-tuntoggle {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  background: #f9fafb; border: 1px solid #e5e8ec; border-radius: 12px;
  padding: 8px 12px; margin: 8px 0; user-select: none;
  transition: all .15s ease;
}
.twwai-wz-tuntoggle:hover { border-color: #16a34a; background: #f0fdf4; }
.twwai-wz-tuntoggle.is-on {
  border-color: #16a34a; background: #f0fdf4;
  box-shadow: 0 2px 6px rgba(22,163,74,.12);
}
.twwai-wz-tuntoggle input[type=checkbox] {
  margin: 0; cursor: pointer; accent-color: #16a34a;
  width: 16px; height: 16px;
}
.twwai-wz-tuntoggle-lbl { flex: 1 1 auto; font-weight: 700; font-size: 12.5px; color: #1d2733; }
.twwai-wz-tuntoggle-px {
  font-weight: 800; font-size: 12.5px; color: #16a34a;
  background: #fff; padding: 3px 10px; border-radius: 999px;
  border: 1px solid #bbf7d0;
}
/* v1.34.220.114 — Imran 2026-06-17: colour swatches BIGGER + clearly circular.
   Was 26px (small) → 34px (prominent). !important wins against any cascade.
   Selected = green ring + slight scale. */
.twwai-wz-szcol {
  width: 34px !important; height: 34px !important;
  border-radius: 50% !important;
  border: 2.5px solid #fff !important;
  cursor: pointer !important; padding: 0 !important;
  box-shadow: 0 0 0 1.5px #e5e8ec, 0 2px 6px rgba(0,0,0,.10) !important;
  transition: all .15s ease !important;
  background-clip: padding-box !important;
  display: inline-block !important;
}
.twwai-wz-szcol:hover { transform: scale(1.1) !important; }
.twwai-wz-szcol.is-on {
  box-shadow: 0 0 0 3px #16a34a, 0 5px 14px rgba(22,163,74,.35) !important;
  transform: scale(1.14) !important;
}

/* v1.34.220.106 — Imran 2026-06-17: Stage 2 inline size cells (qty + sizes merger).
   Per-garment qty row + size cells row. (Allocate evenly chip removed in v.113.) */
.twwai-wz-szrow {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px 12px 4px 38px;
  margin-bottom: 4px;
}
.twwai-wz-szcell {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff; border: 1.5px solid #e5e8ec; border-radius: 12px;
  padding: 6px 8px; min-width: 64px; flex: 0 0 auto;
  transition: all .15s ease;
}
.twwai-wz-szcell.is-on {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 2px 8px rgba(22,163,74,.12);
}
.twwai-wz-szcell-lbl {
  font-size: 11px; font-weight: 800; color: #6b7280; line-height: 1;
  letter-spacing: .3px;
}
.twwai-wz-szcell.is-on .twwai-wz-szcell-lbl { color: #14532d; }
.twwai-wz-szcell-ctl {
  display: flex; align-items: center; gap: 4px;
}
.twwai-wz-szcell-m, .twwai-wz-szcell-p {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #d8dde2; background: #fff; color: #1d2733;
  font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
}
.twwai-wz-szcell-m:hover, .twwai-wz-szcell-p:hover {
  border-color: #16a34a; background: #f0fdf4;
}
.twwai-wz-szcell-v {
  min-width: 18px; text-align: center; font-weight: 800; font-size: 13px;
  color: #1d2733; font-variant-numeric: tabular-nums;
}
.twwai-wz-allocrow {
  padding: 0 12px 12px 38px; margin-bottom: 8px;
}
/* v1.34.220.107 — colour swatches row in Stage 2 (above sizes) */
.twwai-wz-szcolrow {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 12px 6px 38px;
}
.twwai-wz-szcol {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #fff; cursor: pointer;
  box-shadow: 0 0 0 1.5px #e5e8ec, 0 2px 5px rgba(0,0,0,.08);
  transition: all .15s ease;
  padding: 0;
}
.twwai-wz-szcol:hover { transform: scale(1.1); }
.twwai-wz-szcol.is-on {
  box-shadow: 0 0 0 2.5px #16a34a, 0 4px 10px rgba(22,163,74,.30);
  transform: scale(1.12);
}
.twwai-wz-allocbtn {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b; color: #78350f;
  border-radius: 999px !important; padding: 6px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 6px rgba(245,158,11,.14);
}
.twwai-wz-allocbtn:hover {
  filter: brightness(1.05); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,.22);
}

/* v1.34.220.107 — Imran 2026-06-17: Team toggle + gender segmented control —
   both in ONE compact row. Team = single slide pill (Solo↔Team), gender = 3-pill
   segmented control with sliding active indicator. Saves ~40% vertical space. */
.twwai-wz-teamblock--toggle {
  display: inline-flex; align-items: center;
  background: #f9fafb; border: 1.5px solid #e5e8ec; border-radius: 999px;
  padding: 4px 6px; margin: 0;
}
.twwai-wz-slidetoggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 0; cursor: pointer;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  font-weight: 800; font-size: 13px; color: #1d2733;
  font-family: inherit;
}
.twwai-wz-slidetoggle-track {
  position: relative; display: inline-block;
  width: 38px; height: 22px; border-radius: 999px;
  background: #d1d5db;
  transition: background .2s ease;
}
.twwai-wz-slidetoggle-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.twwai-wz-slidetoggle.is-on .twwai-wz-slidetoggle-track {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}
.twwai-wz-slidetoggle.is-on .twwai-wz-slidetoggle-thumb {
  transform: translateX(16px);
}
.twwai-wz-slidetoggle-lbl { white-space: nowrap; }

.twwai-wz-seg {
  position: relative; display: inline-flex;
  background: #f1f5f9; border-radius: 999px;
  padding: 3px; gap: 0;
  overflow: hidden;
}
.twwai-wz-seg-indicator {
  position: absolute; top: 3px; left: 3px;
  width: calc((100% - 6px) / 3); height: calc(100% - 6px);
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  box-shadow: 0 2px 6px rgba(22,163,74,.25);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
/* v1.34.220.160 — pills were touching with cramped text. Bumped padding +
   added min-width + letter-spacing so Men/Women/Mixed breathe. */
.twwai-wz-seg-opt {
  position: relative; z-index: 1;
  background: transparent; border: 0; cursor: pointer;
  padding: 11px 22px; font-family: inherit;
  font-weight: 700; font-size: 13px; color: #475569;
  display: inline-flex; align-items: center; gap: 0;
  flex: 1 1 0; justify-content: center;
  border-radius: 999px;
  transition: color .2s ease;
  letter-spacing: .3px;
  min-width: 70px;
  text-align: center;
}
.twwai-wz-seg { gap: 2px !important; padding: 4px !important; }
.twwai-wz-seg-opt.is-on { color: #fff; }
/* v1.34.220.152 — icon span now hidden (empty content) but keep selectors for backwards compat in case JS re-adds. */
.twwai-wz-seg-opt-ico { display: none; }
.twwai-wz-seg-opt-ico:not(:empty) { display: inline; font-size: 13px; line-height: 1; margin-right: 4px; opacity: .85; }
.twwai-wz-seg-opt-lbl { line-height: 1; }
@media (max-width: 480px) {
  .twwai-wz-slidetoggle-lbl { font-size: 12px; }
  /* v1.34.220.120 — Imran 2026-06-17: gender icons looked horrible/un-tappable on
     mobile (tiny 6×8 padding, labels hidden). Keep labels visible, give each
     option a proper 44px touch target with generous padding + breathing room. */
  .twwai-wz-seg { padding: 4px; gap: 0; width: 100%; }
  .twwai-wz-seg-indicator { top: 4px; left: 4px; width: calc((100% - 8px) / 3); height: calc(100% - 8px); }
  .twwai-wz-seg-opt { padding: 11px 10px; min-height: 44px; font-size: 12px; }
  .twwai-wz-seg-opt-lbl { display: inline; }
  .twwai-wz-seg-opt-ico { font-size: 16px; }
}
@media (max-width: 480px) {
  .twwai-wz-szrow { padding-left: 12px; gap: 5px; }
  .twwai-wz-szcell { min-width: 58px; padding: 5px 6px; }
  .twwai-wz-szcell-lbl { font-size: 10.5px; }
  .twwai-wz-szcell-v { font-size: 12px; }
  .twwai-wz-allocrow { padding-left: 12px; }
}
.twwai-wz-stp {
  flex: 1 1 0; min-width: 0; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
/* connector line between chips */
.twwai-wz-stp::before {
  content: ''; position: absolute; top: 11px; right: 50%; left: -50%;
  height: 2px; background: #d8dee8; z-index: 0;
}
.twwai-wz-stp:first-child::before { display: none; }
.twwai-wz-stp.done::before,
.twwai-wz-stp.active::before { background: var(--twwai-accent-dark, #128c7e); }
.twwai-wz-stp-n {
  position: relative; z-index: 1;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; line-height: 1;
  background: #e2e8f0; color: #94a3b8;
  border: 2px solid #e2e8f0; transition: all .18s;
}
.twwai-wz-stp.done .twwai-wz-stp-n {
  background: var(--twwai-accent-dark, #128c7e); color: #fff;
  border-color: var(--twwai-accent-dark, #128c7e);
}
.twwai-wz-stp.active .twwai-wz-stp-n {
  background: var(--twwai-header, #075e54); color: #fff;
  border-color: var(--twwai-header, #075e54);
  box-shadow: 0 0 0 3px rgba(7,94,84,.18);
}
.twwai-wz-stp-l {
  /* v1.34.220.105 — slate-500 for upcoming labels (4.83:1 contrast vs WCAG fail
     of slate-400). All labels visible per Imran 2026-06-17. */
  font-size: 10px; font-weight: 600; color: #6b7280; line-height: 1.15;
  letter-spacing: .1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.twwai-wz-stp.done .twwai-wz-stp-l { color: #475569; }
.twwai-wz-stp.active .twwai-wz-stp-l { color: var(--twwai-header, #075e54); font-weight: 700; }
/* v1.34.220.105 — Imran 2026-06-17: show ALL labels on mobile too. To keep 5
   labels from colliding on a ~340px panel, shrink font + clamp width + allow
   ellipsis. Done labels darker grey, upcoming light grey, active brand colour. */
@media (max-width: 420px) {
  .twwai-wz-stp-l { font-size: 8.5px; padding: 0 1px; }
  .twwai-wz-stp-n { width: 20px; height: 20px; font-size: 10px; }
}
/* v1.34.220.101 — COLOURFUL STEPPER: each step its own hue so the bar reads as a
   genuine colourful progress bar instead of a single flat green one
   (Imran 2026-06-17 "colorful progress bar"). */
.twwai-wz-stp:nth-child(1).done .twwai-wz-stp-n,.twwai-wz-stp:nth-child(1).active .twwai-wz-stp-n{background:#7c3aed;border-color:#7c3aed}
.twwai-wz-stp:nth-child(2).done .twwai-wz-stp-n,.twwai-wz-stp:nth-child(2).active .twwai-wz-stp-n{background:#2563eb;border-color:#2563eb}
.twwai-wz-stp:nth-child(3).done .twwai-wz-stp-n,.twwai-wz-stp:nth-child(3).active .twwai-wz-stp-n{background:#0891b2;border-color:#0891b2}
.twwai-wz-stp:nth-child(4).done .twwai-wz-stp-n,.twwai-wz-stp:nth-child(4).active .twwai-wz-stp-n{background:#f59e0b;border-color:#f59e0b}
.twwai-wz-stp:nth-child(5).done .twwai-wz-stp-n,.twwai-wz-stp:nth-child(5).active .twwai-wz-stp-n{background:#db2777;border-color:#db2777}
.twwai-wz-stp:nth-child(2).done::before,.twwai-wz-stp:nth-child(2).active::before{background:#2563eb}
.twwai-wz-stp:nth-child(3).done::before,.twwai-wz-stp:nth-child(3).active::before{background:#0891b2}
.twwai-wz-stp:nth-child(4).done::before,.twwai-wz-stp:nth-child(4).active::before{background:#f59e0b}
.twwai-wz-stp:nth-child(5).done::before,.twwai-wz-stp:nth-child(5).active::before{background:#db2777}
.twwai-wz-stp:nth-child(1).active .twwai-wz-stp-n{box-shadow:0 0 0 3px rgba(124,58,237,.22)}
.twwai-wz-stp:nth-child(2).active .twwai-wz-stp-n{box-shadow:0 0 0 3px rgba(37,99,235,.22)}
.twwai-wz-stp:nth-child(3).active .twwai-wz-stp-n{box-shadow:0 0 0 3px rgba(8,145,178,.22)}
.twwai-wz-stp:nth-child(4).active .twwai-wz-stp-n{box-shadow:0 0 0 3px rgba(245,158,11,.22)}
.twwai-wz-stp:nth-child(5).active .twwai-wz-stp-n{box-shadow:0 0 0 3px rgba(219,39,119,.22)}
.twwai-wz-stp.active .twwai-wz-stp-l{color:#0f172a}
.twwai-wz-head--sleek {
  position: relative;
}
.twwai-wz-head-row {
  display: flex; align-items: center; gap: 8px; min-height: 28px;
}
.twwai-wz-head .twwai-wz-title {
  font-weight: 700; font-size: 14px; padding-right: 0;
  flex: 0 0 auto;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .twwai-wz-head .twwai-wz-title { font-size: 13px; max-width: 38vw; }
}
.twwai-wz-progress--inline {
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-right: 4px;
}
.twwai-wz-progress--inline .twwai-wz-pdot {
  width: 16px; height: 3px; margin: 0;
}
.twwai-wz-progress--inline .twwai-wz-pstep {
  font-size: 11px; margin-left: 4px;
}
.twwai-wz-head .twwai-wz-controls {
  position: static; display: inline-flex; gap: 4px;
}
.twwai-wz-head .twwai-wz-ctl {
  width: 24px; height: 24px;
}
.twwai-wz-controls {
  position: absolute; top: 6px; right: 7px;
  display: flex; gap: 4px; z-index: 2;
}
.twwai-wz-ctl {
  background: rgba(255,255,255,.14); border: 0; color: #fff;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 14px; line-height: 1; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .12s, transform .12s;
}
.twwai-wz-ctl:hover { background: rgba(255,255,255,.28); transform: translateY(-1px); }
.twwai-wz-min { font-size: 18px; padding-bottom: 3px; }
.twwai-wz-max { font-size: 13px; }
.twwai-wz-close { font-size: 18px; }
.twwai-wz-close:hover { background: rgba(239,68,68,.85); }
.twwai-wz-ask { font-size: 13px; }
.twwai-wz-ask:hover { background: var(--twwai-accent, #00d96b); }
@media (max-width: 480px) {
  .twwai-wz-head { padding: 8px 12px 6px; gap: 5px; }
  .twwai-wz-controls { top: 5px; right: 5px; gap: 3px; }
  .twwai-wz-ctl { width: 24px; height: 24px; font-size: 13px; }
  .twwai-wz-min { font-size: 16px; padding-bottom: 2px; }
  .twwai-wz-close { font-size: 16px; }
}

/* Maximised state — wizard takes nearly the full viewport */
@media (min-width: 480px) {
  .twwai-panel.twwai-panel--max {
    position: fixed !important;
    inset: 12px !important;
    top: 12px !important; left: 12px !important; right: 12px !important; bottom: 12px !important;
    width: calc(100vw - 24px) !important;
    height: calc(100vh - 24px) !important;
    max-width: none !important; max-height: none !important;
    border-radius: 16px !important;
    transition: width .2s ease, height .2s ease, inset .2s ease, border-radius .2s ease;
  }
}
@media (max-width: 479px) {
  /* On mobile, "max" goes fully edge-to-edge for the best workflow experience */
  .twwai-panel.twwai-panel--max {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important; height: 100vh !important; height: 100dvh !important;
    max-width: none !important; max-height: none !important;
    border-radius: 0 !important;
  }
}
.twwai-wz-title { font-weight: 700; font-size: 14px; letter-spacing: .15px; padding-right: 100px; }
@media (max-width: 480px) { .twwai-wz-title { font-size: 12.5px; padding-right: 90px; } }
.twwai-wz-progress {
  display: flex; align-items: center; gap: 6px;
}
.twwai-wz-pdot {
  display: inline-block; width: 24px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.25);
  transition: background .3s;
}
.twwai-wz-pdot.on { background: rgba(255,255,255,.85); }
.twwai-wz-pdot.active { background: #f4d03f; }
.twwai-wz-pstep { font-size: 11px; color: rgba(255,255,255,.8); margin-left: 8px; font-weight: 500; letter-spacing: .3px; }

/* Body — scrollable card */
.twwai-wz-body {
  flex: 1; overflow-y: auto;
  padding: 14px 16px 14px;
}
.twwai-wz-intro h3 { margin: 4px 0 4px; font-size: 16px; font-weight: 700; color: #1a1f2e; }
.twwai-wz-intro p { margin: 0 0 14px; font-size: 13px; color: #6b7280; line-height: 1.45; }
/* v1.34.69 — compact intro variant: just the step title, no subtitle paragraph */
.twwai-wz-intro--compact { margin: 0 0 8px; }
.twwai-wz-intro--compact h3 { margin: 0; font-size: 15px; }
.twwai-wz-intro--compact p { display: none; }

/* Step 1 — tiles */
/* v1.34.29 — Step 1 tiles redesigned · denser, more professional · image-fill + label overlay */
.twwai-wz-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}
.twwai-wz-tile {
  position: relative;
  background: #f4f5f7;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;             /* v1.34.39 — perfect square, image edge-to-edge */
  display: block;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
.twwai-wz-tile-emo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.1));
  background: linear-gradient(180deg, #eef1f5 0%, #d8dde2 100%);
}
.twwai-wz-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;     /* v1.34.39 — pull image to top to remove perceived gap */
  display: block;
  padding: 0;
  background: #f4f5f7;
  transition: transform .15s ease;
}
.twwai-wz-tile:hover .twwai-wz-tile-img { transform: scale(1.05); }
/* v1.34.55 — cuter, nicer font. Drop uppercase + heavy weight. */
.twwai-wz-tile-lbl {
  /* v1.34.220.95 — Imran 2026-06-17: labels were chunky (700/13px). Softer weight
     (550) + slightly smaller (12px) + tighter letter-spacing + Inter Display
     reads as eye-friendly without looking weak. */
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 8px 8px;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont,
               'Segoe UI', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 550;
  color: #fff;
  text-align: center;
  letter-spacing: .15px;
  text-transform: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,.30) 25%,
    rgba(0,0,0,.68) 55%,
    rgba(0,0,0,.92) 100%
  );
  text-shadow:
    0 1px 2px rgba(0,0,0,.9),
    0 2px 5px rgba(0,0,0,.6);
  line-height: 1.15;
  white-space: normal;             /* allow 2-line wrap so "Softshell Gilet" doesn't truncate */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 600px) {
  .twwai-wz-tile-lbl { font-size: 10.5px; font-weight: 550; padding: 26px 4px 7px; letter-spacing: .2px; }
}
/* v1.34.41 — tile shadow uses the chat theme colour as a true gradient glow.
   Hover: soft tinted lift. Selected: bigger glow with inner brand-tinted ring. */
.twwai-wz-tile:hover {
  border-color: var(--twwai-accent, #00d96b);
  transform: translateY(-2px);
  box-shadow:
    0 8px 18px -4px var(--twwai-header, #075e54),
    0 4px 10px -2px rgba(0,0,0,.08);
}
.twwai-wz-tile.on {
  border-color: var(--twwai-header, #075e54);
  background: linear-gradient(180deg, #ecfdf3 0%, #d0fbe2 100%);
  box-shadow:
    0 10px 24px -6px var(--twwai-header, #075e54),
    0 4px 10px -2px var(--twwai-accent, #00d96b),
    inset 0 0 0 1px var(--twwai-header, #075e54);
}
.twwai-wz-tile-check {
  position: absolute; top: 5px; right: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--twwai-header, #075e54);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  z-index: 2;
}
/* v1.34.220.47 — Stage-1 grouping: Bottoms / Headwear group tiles + their members.
   Group tile carries a subtle dashed accent so it reads as "tap to expand"; an
   expanded member sits slightly inset with a softer frame so the nesting is clear. */
.twwai-wz-tile--group { border-style: dashed; }
.twwai-wz-tile--group.on { border-style: solid; }
/* v1.34.220.54 — plain full-width group heading (replaces tap-to-expand tile) */
.twwai-wz-tiles-group-hd {
  grid-column: 1 / -1;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #475569; padding: 8px 2px 2px; margin-top: 2px;
  border-top: 1px solid #e5e7eb;
}
.twwai-wz-tile--member {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #fbfdff 0%, #f1f5f9 100%);
}
.twwai-wz-tile--member .twwai-wz-tile-lbl { font-weight: 600; }
@media (max-width: 600px) {
  .twwai-wz-tiles { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 5px; }
  .twwai-wz-tile-lbl { font-size: 10.5px; padding: 12px 3px 4px; }
}
.twwai-wz-hint { text-align: center; font-size: 12px; color: #6b7280; margin: 6px 0 0; }

/* Step 2 — quantity rows */
.twwai-wz-qrow {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 12px;
  margin-bottom: 8px;
}
.twwai-wz-qemo { font-size: 24px; }
.twwai-wz-qlbl { flex: 1; font-weight: 600; font-size: 14px; color: #1a1f2e; }
.twwai-wz-qctl { display: flex; align-items: center; gap: 4px; }
.twwai-wz-qm, .twwai-wz-qp {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid #d1d5db; background: #fff;
  font-size: 18px; font-weight: 700; cursor: pointer;
  color: #075e54;
}
.twwai-wz-qm:hover, .twwai-wz-qp:hover { background: #dcfce7; border-color: #075e54; }
.twwai-wz-qval {
  min-width: 38px; text-align: center;
  font-weight: 700; font-size: 16px; color: #1a1f2e;
}
.twwai-wz-nudge {
  margin-top: 10px; padding: 10px 14px;
  background: linear-gradient(135deg, #fef3c7, #dcfce7);
  border-radius: 10px; font-size: 13px; font-weight: 600; color: #1a1f2e;
}

/* Step 3 — embroidery */
.twwai-wz-emrow {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 12px; margin-bottom: 10px;
}
.twwai-wz-emhead { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.twwai-wz-emo { font-size: 20px; }
.twwai-wz-emlbl { font-weight: 700; font-size: 14px; color: #1a1f2e; }
.twwai-wz-eopts { display: flex; flex-direction: column; gap: 4px; }
/* v1.34.136 — slimmer tile (Imran 2026-06-14): less padding, tighter gap */
.twwai-wz-eopt {
  display: flex; align-items: center; gap: 10px;
  background: #f9fafb; border: 1.5px solid #e5e7eb;
  border-radius: 8px; padding: 6px 12px;
  cursor: pointer; transition: all .15s;
  text-align: left; font-family: inherit;
  min-height: 38px;
}
.twwai-wz-eopt:hover { border-color: #25d366; }
.twwai-wz-eopt.on { border-color: #075e54; background: #dcfce7; }
.twwai-wz-eopt-radio { font-size: 18px; color: #075e54; flex-shrink: 0; }
/* v1.34.135 — compact mode: title + subtitle INLINE so each tile is a
   single short row. Helps tall builds (10+ garments) fit the viewport.
   On narrow screens the subtitle wraps under the title. */
.twwai-wz-eopt-text {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.twwai-wz-eopt-lbl { font-size: 13.5px; color: #1a1f2e; font-weight: 600; line-height: 1.3; }
.twwai-wz-eopt-hint {
  font-size: 11.5px; color: #6b7280; font-weight: 500; line-height: 1.3;
  position: relative;
}
.twwai-wz-eopt-hint::before {
  content: '·';
  margin-right: 6px;
  color: #c5cad1;
  font-weight: 600;
}
@media (max-width: 460px) {
  .twwai-wz-eopt-hint::before { content: none; }
  .twwai-wz-eopt-text { gap: 1px 0; }
  .twwai-wz-eopt-hint { font-size: 11px; flex-basis: 100%; }
}
/* v1.34.136 — compact price wrap: amount + "per garment" inline → one line */
.twwai-wz-eopt-pxwrap {
  display: flex; align-items: baseline; gap: 5px;
  flex-shrink: 0;
  text-align: right;
}
.twwai-wz-eopt-px { font-size: 15.5px; color: #075e54; font-weight: 800; line-height: 1; }
.twwai-wz-eopt-pxsub { font-size: 10.5px; color: #6b7280; font-weight: 500; line-height: 1.35; }
.twwai-wz-eopt-pxsub + .twwai-wz-eopt-pxsub { margin-top: 1px; color: #9ca3af; }
/* v1.34.137 — slimmer wizard across all stages (Imran 2026-06-14) */
.twwai-wz-emtotal {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #075e54; font-weight: 600;
  margin-top: 6px; padding-top: 6px; border-top: 1px dashed #e5e7eb;
}
.twwai-wz-emtotal-amt { font-size: 13.5px; font-weight: 800; color: #075e54; }
.twwai-wz-grandstrip {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, #075e54 0%, var(--twwai-accent-dark) 100%);
  color: #fff; padding: 9px 14px; border-radius: 10px;
  margin: 6px 0 4px;
  box-shadow: 0 3px 12px rgba(7,94,84,.22);
}
.twwai-wz-grandlbl { font-size: 12.5px; font-weight: 600; letter-spacing: .2px; opacity: .95; }
.twwai-wz-grandsub { font-size: 10.5px; opacity: .75; margin-top: 1px; }
.twwai-wz-grandamt { font-size: 19px; font-weight: 800; letter-spacing: -.3px; line-height: 1; }
.twwai-wz-tipbody { font-size: 12px; line-height: 1.55; }
.twwai-wz-tipbody strong { display: block; margin-bottom: 4px; color: #78350f; }

/* v1.34.8 — two-section placement + arm structure (slimmed v1.34.137) */
.twwai-wz-section {
  margin-top: 10px;
}
.twwai-wz-section:first-of-type { margin-top: 2px; }
.twwai-wz-sectionlbl {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  color: #075e54; text-transform: uppercase;
  margin-bottom: 5px; padding-left: 2px;
}

/* v1.34.10 — Multi-logo upload with per-logo notes */
.twwai-wz-extralogos {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #d1d5db;
}
.twwai-wz-extralogos-hint {
  font-size: 11.5px; font-weight: 400; color: #6b7280; letter-spacing: 0; text-transform: none;
}
.twwai-wz-extrarow {
  background: #fafbfd; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.twwai-wz-extrahead {
  display: flex; justify-content: space-between; align-items: center;
}
.twwai-wz-extralbl {
  font-size: 12.5px; font-weight: 700; color: #075e54; letter-spacing: .2px;
}
.twwai-wz-extra-rm {
  background: transparent; border: 0; color: #b32d2e;
  font-size: 11.5px; cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.twwai-wz-extra-rm:hover { background: #fee2e2; }
.twwai-wz-extra-have {
  display: flex; align-items: center; gap: 10px;
}
.twwai-wz-extra-fn {
  font-size: 12px; color: #16a34a; font-weight: 600;
}
.twwai-wz-extra-note {
  width: 100%; box-sizing: border-box;
  border: 1px solid #e5e7eb; border-radius: 6px;
  padding: 8px 10px; font-size: 12.5px; font-family: inherit;
  resize: vertical; min-height: 50px; color: #1a1a1a; background: #fff;
  outline: 0; transition: border-color .15s;
}
.twwai-wz-extra-note:focus { border-color: #075e54; }
.twwai-wz-extra-add {
  display: block; width: 100%;
  background: #fff; color: #075e54;
  border: 1.5px dashed #075e54; border-radius: 8px;
  padding: 10px 12px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; margin-top: 6px;
  transition: background .15s;
}
.twwai-wz-extra-add:hover { background: #f0fdf4; }

/* v1.34.9 — Arm checkbox toggle (collapsed by default) — slimmed v1.34.137 */
.twwai-wz-armsection {
  margin-top: 8px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 6px 12px;
  background: #fafbfd;
}
/* v1.34.220.140 — DTF box made PROMINENT so the cheaper-print option can't be
   missed on hi-vis vests (Imran 2026-06-18 "I don't see dtf toggle"). */
.twwai-wz-dtfsection {
  margin-top: 10px;
  border: 2px solid #f5b301;
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff4d6 100%);
  box-shadow: 0 1px 4px rgba(245,179,1,.18);
}
.twwai-wz-dtfsection .twwai-wz-armcheck-lbl { color: #7a4f00; }
.twwai-wz-dtfsection .twwai-wz-dtfcheck input[type="checkbox"] { accent-color: #f5b301; }
.twwai-wz-armcheck {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
}
.twwai-wz-armcheck input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #075e54;
  cursor: pointer; flex-shrink: 0;
}
/* v1.34.135 — inline title + subtitle to match the placement tiles */
.twwai-wz-armcheck-text {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.twwai-wz-armcheck-lbl {
  font-size: 13.5px; font-weight: 600; color: #1a1f2e; line-height: 1.3;
}
.twwai-wz-armcheck-hint {
  font-size: 11.5px; color: #6b7280; font-weight: 500; line-height: 1.3;
  position: relative;
}
.twwai-wz-armcheck-hint::before {
  content: '·';
  margin-right: 6px;
  color: #c5cad1;
  font-weight: 600;
}
@media (max-width: 460px) {
  .twwai-wz-armcheck-hint::before { content: none; }
  .twwai-wz-armcheck-text { gap: 1px 0; }
  .twwai-wz-armcheck-hint { font-size: 11px; flex-basis: 100%; }
}
.twwai-wz-armopts {
  margin-top: 10px;
  animation: twwai-armslide .15s ease-out;
}
@keyframes twwai-armslide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.twwai-wz-breakdown {
  margin-top: 14px; padding: 12px 14px;
  background: #fafbfd; border: 1px solid #e5e7eb; border-radius: 10px;
  font-size: 13px; color: #374151;
}
.twwai-wz-bdrow {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
}
.twwai-wz-bdtotal {
  margin-top: 6px; padding-top: 8px;
  border-top: 1px dashed #d1d5db;
  font-weight: 700; color: #075e54; font-size: 14px;
}
.twwai-wz-bdgrand {
  margin-top: 4px; font-weight: 800; color: #1a1f2e; font-size: 14.5px;
}
.twwai-wz-pricetip {
  display: flex; gap: 8px; align-items: flex-start;
  background: #fffbea; border: 1px solid #fde68a;
  border-radius: 8px; padding: 10px 12px; margin: 4px 0 14px;
  font-size: 12.5px; color: #92400e; line-height: 1.5;
}
.twwai-wz-pricetip > span:first-child { font-size: 15px; flex-shrink: 0; }

/* Step 4 — sizes + colours · v1.34.220.5 tighter (Imran 2026-06-16) */
.twwai-wz-sgblock {
  background: #fff; border: 1px solid #e5e8ec; border-radius: 12px;
  padding: 8px 10px; margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.twwai-wz-sgh { display: flex; gap: 7px; align-items: center; margin-bottom: 4px; }
.twwai-wz-sgname { font-weight: 700; font-size: 13.5px; color: #1a1f2e; }
.twwai-wz-srow {
  background: #fafbfc; border-radius: 9px; padding: 5px 7px;
  margin-bottom: 4px;
}
/* v1.34.220.17 — Brand pills REDESIGNED.
   New look: small flat clean pill with brand name + tiny inline upcharge.
   Size guide icon (📏) becomes a separate tappable chip after the row of
   brand pills, not crammed into each one. Cleaner, lower visual noise. */
/* v1.34.220.88 — Brand pill UNIVERSAL + COMPACT (Imran 2026-06-17). Previous
   .87 was too big; static hi-vis/hospitality badges were beautiful but oversized.
   New: compact-cute size that works for ALL garments — multi-brand pills AND
   single-brand static badges share the exact same look. 10×14 padding, 36px
   min-height, vibrant green selected. Fully rounded (999px) per Imran's hard rule. */
.twwai-wz-brandrow {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 12px 0;
  align-items: center;
}
.twwai-wz-brandpill {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1.5px solid #e3e7eb;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit; color: #1d2733;
  line-height: 1;
  transition: all .18s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  min-height: 36px;
}
.twwai-wz-brandpill:hover {
  border-color: #16a34a;
  background: #f0fdf4;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(22,163,74,.10);
}
.twwai-wz-brandpill.on {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  border-color: #16a34a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(22,163,74,.26);
}
.twwai-wz-brandpill-mark {
  display: inline-flex; align-items: center; justify-content: center;
  /* v1.34.220.88 — monogram shrunk to match compact pill (was 22px) */
  /* v1.34.220.91 — monogram made fully round (was 6px square) per Imran:
     the square letter-badge inside the rounded pills was the "two not-round
     corners" he kept seeing. Circle matches the 999px pill. */
  width: 18px; height: 18px; border-radius: 50%;
  font-weight: 900; font-size: 10.5px; line-height: 1;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.twwai-wz-brandpill.on .twwai-wz-brandpill-mark {
  box-shadow: 0 0 0 2px rgba(255,255,255,.55), 0 1px 2px rgba(0,0,0,.18);
}
.twwai-wz-brandpill-name {
  /* v1.34.220.88 — slightly smaller label to match compact pill */
  font-weight: 800; font-size: 12.5px;
  letter-spacing: -.1px;
}
.twwai-wz-brandpill-tag {
  display: none; /* "Standard" badge is now implicit via selected state */
}
.twwai-wz-brandpill-up {
  font-size: 11px; font-weight: 700;
  opacity: .75;
  padding: 0;
  background: transparent;
  color: inherit;
}
.twwai-wz-brandpill.on .twwai-wz-brandpill-up { opacity: .9; }
/* Tiny inline size-guide affordance — sits inside the pill but visually distinct */
.twwai-wz-brandpill-guide {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.04); color: inherit;
  text-decoration: none;
  font-size: 11px; line-height: 1;
  margin-left: 2px;
  transition: background .12s, transform .12s;
}
.twwai-wz-brandpill.on .twwai-wz-brandpill-guide {
  background: rgba(255,255,255,.18);
}
.twwai-wz-brandpill-guide:hover {
  background: rgba(0,0,0,.10);
  transform: scale(1.1);
}
.twwai-wz-brandpill.on .twwai-wz-brandpill-guide:hover {
  background: rgba(255,255,255,.28);
}

/* v1.34.220.80 — Static (preselected, non-clickable) brand badge for single-
   brand garments. Reuses the green ".on" pill look but no hover lift / pointer. */
.twwai-wz-brandpill--static { cursor: default; }
.twwai-wz-brandpill--static:hover { transform: none; }

/* v1.34.220.16 — Mobile brand dropdown. Pills wrap badly in the narrow chat
   panel on phones, so < 480px we hide them and show a native <select>.
   v1.34.220.88 (Imran 2026-06-17 hard rule) — all buttons/pills must be FULLY
   rounded. Native select can take 999px without breaking the dropdown arrow.
   Padding bumped + min-height 46px to match WCAG 2.5.5 touch target. */
.twwai-wz-brandselwrap { display: none; }
.twwai-wz-brandsel {
  /* v1.34.220.94 — native <select> ignored border-radius:999px on iOS Safari +
     Android Chrome (OS-level chrome forced rounded-rect). Override appearance
     to none + custom dropdown chevron painted as background-image SVG so the
     pill shape is forced on every browser (Imran 2026-06-17). */
  flex: 1 1 auto; min-width: 0; font: inherit; font-weight: 700; font-size: 13.5px;
  color: #1d2733; background: #fff;
  border: 1.5px solid #d8dce2; border-radius: 999px;
  padding: 12px 38px 12px 18px; min-height: 46px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23475569' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px 7px;
}
.twwai-wz-brandsel:focus { outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.twwai-wz-brandsel-guide {
  white-space: nowrap; font-size: 12px; font-weight: 800;
  color: #16a34a; text-decoration: none;
  background: #f0fdf4; border-radius: 999px; padding: 11px 16px;
  min-height: 46px; display: inline-flex; align-items: center;
  border: 1.5px solid #bbf7d0;
}
@media (max-width: 480px) {
  .twwai-wz-brandrow { display: none; }
  .twwai-wz-brandselwrap { display: flex; align-items: center; gap: 8px; margin: 4px 0 9px 0; }
  /* v1.34.220.82 — single-brand garments have NO <select> fallback, only the
     static badge. The blanket .twwai-wz-brandrow display:none above was hiding
     the preselected brand on phones (Imran 2026-06-17 "No brand visible").
     Keep the static badge row visible on mobile. */
  .twwai-wz-brandrow.twwai-wz-brandrow--static { display: flex !important; }
}

/* v1.34.220.7 — Size guide overlay positioned INSIDE the chat panel */
.twwai-wz-sg-overlay--in-chat {
  position: absolute; inset: 0; z-index: 999;
  background: rgba(15, 23, 31, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.twwai-wz-sg-sheet {
  background: #fff; border-radius: 18px;
  width: 100%; max-width: 380px; max-height: 90%;
  display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.28);
}
.twwai-wz-sg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1px solid #e5e8ec;
  background: #f9fafb;
}
.twwai-wz-sg-title { font-weight: 800; font-size: 13.5px; color: #1d2733; }
.twwai-wz-sg-x {
  background: #f1f4f7; border: 0; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; font-size: 13px;
  color: #1d2733;
}
.twwai-wz-sg-x:hover { background: #e5e8ec; }
.twwai-wz-sg-iframe-wrap { flex: 1; overflow: auto; }
.twwai-wz-sg-frame { width: 100%; min-height: 360px; border: 0; }
.twwai-wz-sg-chart { padding: 12px 14px; overflow: auto; }
.twwai-wz-sg-units { font-size: 11px; color: #6b7480; margin-bottom: 8px; text-align: right; }
.twwai-wz-sg-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.twwai-wz-sg-table th, .twwai-wz-sg-table td { padding: 6px 8px; border: 1px solid #e5e8ec; text-align: center; }
.twwai-wz-sg-table th { background: #eef7f2; color: var(--twwai-header, #075e54); font-weight: 800; }
.twwai-wz-sg-fallback { padding: 18px; text-align: center; color: #6b7480; font-size: 13px; }
.twwai-wz-sg-fallback p { margin: 8px 0; }
.twwai-wz-sg-disclaimer {
  margin: 12px 4px 6px 4px;
  padding: 10px 12px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  font-size: 11px; line-height: 1.45; color: #7a5d00;
}
/* v1.34.220.83 — 📷 gallery icon (per garment) + gallery popup body. The button
   sits on the right of the garment header (margin-left:auto groups it with ×). */
.twwai-wz-galbtn {
  margin-left: auto; align-self: center;
  background: #eef7f2; border: 1px solid #cfe8dd; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; font-size: 14px; line-height: 1;
  padding: 0; transition: background .15s, transform .15s;
}
.twwai-wz-galbtn:hover { background: #dcfce7; transform: scale(1.08); }
.twwai-wz-galbtn + .twwai-wz-rowdel--stage { margin-left: 4px; } /* × sits beside 📷, not pushed away */
.twwai-wz-gal-body { padding: 14px; overflow: auto; }
.twwai-wz-gal-hero {
  width: 100%; background: #f6f8fa; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px; margin-bottom: 12px; min-height: 200px;
  position: relative;
  /* v1.34.220.94 — click-to-zoom: cursor hint + tap target (Imran 2026-06-17) */
  cursor: zoom-in;
  transition: box-shadow .15s ease;
}
.twwai-wz-gal-hero::after {
  /* small 🔍 affordance bottom-right so users know it's clickable */
  content: '🔍'; position: absolute; bottom: 10px; right: 14px;
  background: rgba(255,255,255,.92); padding: 4px 9px; border-radius: 999px;
  font-size: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.10);
  pointer-events: none;
}
.twwai-wz-gal-hero:hover { box-shadow: inset 0 0 0 2px rgba(22,163,74,.35); }
.twwai-wz-gal-img { max-width: 100%; max-height: 320px; border-radius: 10px; object-fit: contain; }
/* v1.34.220.94 — full-screen zoom overlay opened when hero is clicked */
.twwai-wz-gal-zoom {
  position: absolute; inset: 0; z-index: 9999;
  background: rgba(8, 12, 18, .92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.twwai-wz-gal-zoom-img {
  max-width: 96%; max-height: 88%; object-fit: contain;
  border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.55);
  cursor: zoom-out;
}
.twwai-wz-gal-zoom-x {
  position: absolute; top: 14px; right: 16px;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 0; color: #fff;
  font-size: 18px; cursor: pointer; font-weight: 700;
}
.twwai-wz-gal-zoom-x:hover { background: rgba(255,255,255,.28); }
.twwai-wz-gal-zoom-hint {
  margin-top: 14px; color: rgba(255,255,255,.7); font-size: 12px;
}
/* v1.34.220.95 — ℹ️ Spec popup styling */
.twwai-wz-specbtn { background: #fff7e6 !important; border-color: #fcd34d !important; }
.twwai-wz-specbtn:hover { background: #fef3c7 !important; }
/* v1.34.220.96 — Imran 2026-06-17: ℹ️ + 📷 sat MILES apart because both had
   margin-left:auto (each one absorbed all available flex space). Fix: only the
   FIRST .twwai-wz-galbtn floats right; the sibling spec icon hugs it directly. */
.twwai-wz-galbtn ~ .twwai-wz-galbtn { margin-left: 0 !important; }
/* v1.34.220.96 — bullet-proof brand pill/select roundness — !important against
   any user-agent/theme override (iOS Safari + Android Chrome were stubborn). */
.twwai-wz-brandpill { border-radius: 999px !important; }
.twwai-wz-brandsel { border-radius: 999px !important; }
/* v1.34.220.98 — Brand pill padding bumped — letters R/T/etc were touching the
   pill edges. 8px 18px gives proper breathing room (Imran 2026-06-17). */
.twwai-wz-brandpill { padding: 8px 18px !important; }
.twwai-wz-brandpill-name { padding: 0 2px; }
/* v1.34.220.98 — GOLD RULE (Imran 2026-06-17): every button in the wizard MUST
   have rounded corners. Targets the "Use my logo" upload/remove buttons + any
   future buttons that get added without this rule baked in. !important wins
   against per-class radii. */
.twwai-wz-logo-pick,
.twwai-wz-logo-rm,
.twwai-wz-itemlogo-opt,
.twwai-wz-extra-rm,
.twwai-wz-extra-add,
.twwai-wz-applyall,
.twwai-wz-tab-cta,
.twwai-wz-back,
.twwai-wz-next,
.twwai-wz-pay {
  border-radius: 999px !important;
}
/* The remove (✕) button on the uploaded-logo row was a flat text button — give
   it a proper pill so it matches the rest of the wizard. */
.twwai-wz-logo-rm {
  background: #fef2f2 !important; color: #b32d2e !important;
  padding: 6px 14px !important; font-weight: 700 !important;
  border: 1px solid #fecaca !important; min-height: 32px;
}
.twwai-wz-spec-body { padding: 14px; max-height: 70vh; overflow: auto; }
.twwai-wz-spec-loading { text-align: center; color: #6b7480; font-size: 13px; padding: 22px 0; }
.twwai-wz-spec-desc { font-size: 13px; line-height: 1.55; color: #1d2733; margin-bottom: 14px; }
.twwai-wz-spec-desc p { margin: 0 0 8px; }
.twwai-wz-spec-desc ul, .twwai-wz-spec-desc ol { margin: 0 0 8px 18px; padding: 0; }
.twwai-wz-spec-desc li { margin-bottom: 4px; }
.twwai-wz-spec-h { font-size: 12px; font-weight: 800; color: #16a34a; margin: 10px 0 6px; letter-spacing: .3px; text-transform: uppercase; }
.twwai-wz-spec-row { font-size: 13px; margin: 4px 0; color: #1d2733; }
.twwai-wz-spec-row strong { color: #6b7480; font-weight: 700; }
.twwai-wz-spec-table { width: 100%; }
.twwai-wz-spec-table th { text-align: left; font-weight: 700; color: #6b7480; padding: 5px 8px 5px 0; vertical-align: top; width: 35%; }
.twwai-wz-spec-table td { padding: 5px 0; color: #1d2733; }
.twwai-wz-spec-link {
  display: inline-block; margin-top: 12px; padding: 9px 16px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #fff; text-decoration: none; border-radius: 999px;
  font-weight: 700; font-size: 12.5px;
  box-shadow: 0 4px 12px rgba(22,163,74,.22);
}
.twwai-wz-spec-link:hover { box-shadow: 0 6px 18px rgba(22,163,74,.32); transform: translateY(-1px); }
.twwai-wz-spec-fallback { font-size: 13px; color: #1d2733; }
.twwai-wz-spec-fallback p { color: #6b7480; margin: 0 0 10px; font-size: 12.5px; }
.twwai-wz-gal-noimg { font-size: 72px; }
/* v1.34.220.84 — real multi-image gallery thumbnail strip */
.twwai-wz-gal-count { font-size: 11px; font-weight: 800; color: #075e54; margin: -4px 0 8px; }
.twwai-wz-gal-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px;
  margin-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.twwai-wz-gal-thumb {
  flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border-radius: 10px;
  border: 2px solid #e5e7eb; background: #fff; cursor: pointer; overflow: hidden;
  transition: border-color .15s, transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.twwai-wz-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.twwai-wz-gal-thumb:hover { transform: translateY(-1px); }
.twwai-wz-gal-thumb.is-on { border-color: #1faa59; box-shadow: 0 2px 8px rgba(31,170,89,.35); }
.twwai-wz-gal-strap {
  font-size: 12px; font-weight: 800; color: #075e54;
  background: #eef7f2; border-radius: 999px; padding: 5px 12px;
  display: inline-block; margin-bottom: 10px;
}
.twwai-wz-gal-clabel { font-size: 12px; font-weight: 700; color: #4b5563; margin-bottom: 8px; }
.twwai-wz-gal-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.twwai-wz-gal-sw { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 60px; }
.twwai-wz-gal-chip {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.twwai-wz-gal-cname { font-size: 10px; color: #6b7280; text-align: center; line-height: 1.2; }
.twwai-wz-srlbl { font-size: 11.5px; font-weight: 700; color: #075e54; margin-bottom: 4px; }
.twwai-wz-swatches { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.twwai-wz-sw {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #e5e7eb; cursor: pointer;
  padding: 0;
}
.twwai-wz-sw:hover { transform: scale(1.1); }
.twwai-wz-sw.on { border-color: #075e54; box-shadow: 0 0 0 1px #fff, 0 0 0 3px #075e54; }
/* v1.34.220.35 — two-tone swatches get a crisp white hairline along the diagonal split
   + a darker ring so the dual-colour garment reads at a glance (Imran 2026-06-16). */
.twwai-wz-sw--duo { border-color: #9ca3af; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.twwai-wz-sizes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 4px;
  margin-bottom: 5px;
}
.twwai-wz-szcell { display: flex; flex-direction: column; align-items: center; gap: 1px; background: #fff; border-radius: 8px; padding: 3px; }
.twwai-wz-szlbl { font-size: 10px; font-weight: 700; color: #6b7280; letter-spacing: .3px; }
.twwai-wz-szctl { display: flex; align-items: center; gap: 1px; }
.twwai-wz-szm, .twwai-wz-szp {
  width: 20px; height: 20px; border-radius: 7px;
  border: 1px solid #d1d5db; background: #fff; cursor: pointer;
  font-size: 11.5px; font-weight: 700; color: #075e54;
}
.twwai-wz-szm:hover, .twwai-wz-szp:hover { background: #dcfce7; border-color: #075e54; }
.twwai-wz-szv { font-size: 12.5px; font-weight: 700; min-width: 16px; text-align: center; color: #1a1f2e; }
.twwai-wz-srtotal { font-size: 11.5px; font-weight: 600; }
.twwai-wz-srtotal.ok { color: #16a34a; }
.twwai-wz-srtotal.warn { color: #d97706; }
.twwai-wz-rem { font-size: 12px; font-weight: 700; margin: 3px 0; }
.twwai-wz-rem.ok { color: #16a34a; }
.twwai-wz-rem.warn { color: #d97706; }
.twwai-wz-rmrow {
  background: transparent; border: 0; color: #b32d2e; font-size: 11px; cursor: pointer; padding: 2px 6px;
}
.twwai-wz-addrow {
  background: transparent; border: 1.5px dashed #d1d5db;
  border-radius: 10px; padding: 6px 12px; cursor: pointer;
  font-size: 12px; font-weight: 600; color: #075e54; width: 100%;
}
/* v1.34.137 — row actions wrapper + applyall pills (were unstyled flat buttons) */
/* v1.34.178 — applyall pills are now rounded green CTAs (white text on green). */
.twwai-wz-rowactions {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 4px;
}
.twwai-wz-rowactions .twwai-wz-addrow { flex-basis: 100%; }
.twwai-wz-applyall {
  flex: 1; min-width: 110px;
  background: linear-gradient(135deg, #075e54 0%, var(--twwai-accent-dark, #064e46) 100%);
  border: 0; border-radius: 999px; padding: 7px 14px;
  font-size: 11.5px; font-weight: 700; color: #fff;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 8px rgba(7,94,84,.22);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.twwai-wz-applyall:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(7,94,84,.3); }
.twwai-wz-addrow:hover { border-color: #075e54; background: #f9fafb; }

/* v1.34.178 — one-size garments (caps/beanies): compact inline qty beside swatches */
.twwai-wz-srow--onesize .twwai-wz-oneline {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.twwai-wz-srow--onesize .twwai-wz-swatches { flex: 1 1 auto; margin-bottom: 0; }
.twwai-wz-oneqty {
  display: flex; align-items: center; gap: 7px; flex: 0 0 auto;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 999px;
  padding: 4px 6px 4px 12px;
}
.twwai-wz-oneqty-lbl {
  font-size: 10px; font-weight: 700; color: #6b7280;
  text-transform: uppercase; letter-spacing: .3px;
}
.twwai-wz-szcell--compact { flex-direction: row; padding: 0; background: transparent; }
.twwai-wz-srow--onesize .twwai-wz-srtotal { margin-top: 5px; }

/* Step 5 — form + summary */
.twwai-wz-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.twwai-wz-finput { display: flex; flex-direction: column; gap: 4px; }
.twwai-wz-finput label { font-size: 11px; color: #6b7280; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.twwai-wz-finput input {
  border: 1.5px solid #e5e7eb; border-radius: 9px;
  padding: 12px 14px;
  /* font-size 16px+ prevents iOS auto-zoom on focus — critical for mobile UX */
  font-size: 16px; font-family: inherit;
  outline: 0; transition: border-color .15s, box-shadow .15s;
  /* Make sure inputs are tappable + above any siblings */
  position: relative; z-index: 1;
  -webkit-appearance: none; appearance: none;
  background: #fff; color: #1a1a1a;
  width: 100%; box-sizing: border-box;
  min-height: 44px; /* iOS tap-target minimum */
}
.twwai-wz-finput input:focus { border-color: #075e54; box-shadow: 0 0 0 3px rgba(7,94,84,.12); }
.twwai-wz-finput input::placeholder { color: #9ca3af; }

/* Smart-auth block */
.twwai-wz-authwrap { margin: 8px 0 12px; }
.twwai-wz-authmsg { font-size: 12.5px; color: #6b7280; padding: 8px; text-align: center; }
.twwai-wz-authbox {
  background: #f0f9ff; border: 1.5px solid #bae0fd; border-radius: 12px;
  padding: 12px 14px; margin: 8px 0;
}
.twwai-wz-authbox--existing { background: #dcfce7; border-color: #86efac; }
.twwai-wz-authh { font-weight: 700; font-size: 14px; color: #1a1f2e; margin-bottom: 4px; }
.twwai-wz-authp { font-size: 12.5px; color: #4b5563; margin: 0 0 10px; line-height: 1.45; }
.twwai-wz-authopts { display: flex; gap: 6px; flex-wrap: wrap; }
.twwai-wz-authopt {
  flex: 1; min-width: 120px;
  background: #fff; border: 1.5px solid #d1d5db; border-radius: 10px;
  padding: 10px 12px; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; color: #1a1f2e;
  transition: all .15s;
  text-align: center;
}
.twwai-wz-authopt:hover { border-color: #075e54; background: #f9fafb; }
.twwai-wz-authopt.on { border-color: #075e54; background: #075e54; color: #fff; }
/* Primary action variant — the "Log in & pay" button does it all in one tap */
.twwai-wz-authopt--primary {
  background: linear-gradient(135deg, #075e54 0%, var(--twwai-accent-dark) 100%); color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(7,94,84,.25);
}
.twwai-wz-authopt--primary:hover {
  background: linear-gradient(135deg, var(--twwai-accent-dark) 0%, #075e54 100%);
  color: #fff; border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(7,94,84,.32);
}
.twwai-wz-authforgot { display: inline-block; margin-top: 8px; font-size: 11.5px; color: #075e54; text-decoration: underline; }
.twwai-wz-logo {
  background: #fff; border: 1.5px dashed #d1d5db; border-radius: 10px;
  padding: 14px; text-align: center;
  margin-bottom: 12px; cursor: pointer;
  position: relative;
}
.twwai-wz-logo:hover { border-color: #075e54; background: #f9fafb; }
.twwai-wz-logo input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.twwai-wz-logo-pick { font-size: 13px; font-weight: 700; color: #075e54; }
.twwai-wz-logo-or { font-size: 11.5px; color: #6b7280; margin-top: 6px; line-height: 1.4; }
.twwai-wz-logo-have { display: flex; align-items: center; justify-content: space-between; }
.twwai-wz-logo-rm { background: transparent; border: 0; color: #b32d2e; font-size: 12px; cursor: pointer; }

/* v1.34.137 — slimmed summary block */
.twwai-wz-summary {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 9px 12px; margin-bottom: 8px;
}
.twwai-wz-sumh { font-weight: 700; font-size: 12.5px; color: #075e54; margin-bottom: 5px; padding-bottom: 4px; border-bottom: 1px solid #f3f4f6; }
.twwai-wz-sumline { display: flex; justify-content: space-between; font-size: 12.5px; color: #1a1f2e; margin: 2px 0; }
.twwai-wz-sumsub { display: flex; justify-content: space-between; font-size: 12.5px; color: #6b7280; margin: 5px 0 3px; padding-top: 4px; border-top: 1px solid #f3f4f6; }
.twwai-wz-sumdisc { display: flex; justify-content: space-between; font-size: 12px; color: #16a34a; font-weight: 600; }
.twwai-wz-sumdel { display: flex; justify-content: space-between; font-size: 12.5px; color: #6b7280; margin: 2px 0; }
.twwai-wz-sumtot { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; color: #1a1f2e; padding-top: 4px; margin-top: 3px; border-top: 1.5px solid #075e54; }

/* v1.34.137 — slim breakdown box too */
.twwai-wz-breakdown {
  margin-top: 8px; padding: 8px 12px;
  font-size: 12.5px;
}
.twwai-wz-bdrow { padding: 2px 0; }
.twwai-wz-bdtotal { margin-top: 4px; padding-top: 5px; font-size: 13px; }
.twwai-wz-bdgrand { margin-top: 2px; font-size: 13.5px; }
.twwai-wz-pricetip { padding: 6px 10px; margin: 3px 0 8px; font-size: 12px; }

.twwai-wz-pay {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 54px; background: linear-gradient(135deg, #25d366 0%, #075e54 100%);
  color: #fff; border: 0; padding: 15px 18px; border-radius: 14px;
  font-size: 15.5px; font-weight: 800; letter-spacing: .2px; line-height: 1.2; cursor: pointer;
  box-shadow: 0 8px 22px rgba(7,94,84,.34), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .14s ease, box-shadow .16s ease, filter .16s ease;
  margin-bottom: 6px;
}
.twwai-wz-pay:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7,94,84,.42), inset 0 1px 0 rgba(255,255,255,.18); }
.twwai-wz-pay.disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.twwai-wz-foot-note { font-size: 11px; color: #6b7280; text-align: center; line-height: 1.45; margin-top: 8px; }

/* ── v1.31.0 additions ── */

/* Section headers inside Step 5 */
.twwai-wz-section-h {
  font-weight: 700; font-size: 13px; color: #075e54;
  margin: 14px 0 8px;
}

/* Per-placement logo upload rows */
.twwai-wz-logo-section {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px;
}
.twwai-wz-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #374151; margin: 6px 0 12px;
  cursor: pointer; user-select: none;
}
.twwai-wz-toggle input { width: 16px; height: 16px; accent-color: #075e54; }
.twwai-wz-logo-row {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 10px 0; border-top: 1px dashed #eef;
}
.twwai-wz-logo-row:first-of-type { border-top: 0; padding-top: 0; }
.twwai-wz-logo-lbl {
  flex: 0 0 100px; font-size: 12.5px; font-weight: 600; color: #1a1f2e;
}
.twwai-wz-logo-pick {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #075e54 100%);
  border: 0; padding: 16px 22px;
  border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(7,94,84,.28);
  letter-spacing: .2px;
  min-height: 56px;
  width: 100%;
  text-align: center;
  transition: filter .15s ease, transform .12s ease, box-shadow .15s ease;
}
.twwai-wz-logo-pick:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(7,94,84,.32); }
.twwai-wz-logo-pick:active { transform: translateY(0); filter: brightness(.96); }
.twwai-wz-logo-input { display: none; }
.twwai-wz-logo-status { font-size: 11.5px; color: #6b7280; }
.twwai-wz-logo-have { display: flex; align-items: center; gap: 10px; flex: 1; }
.twwai-wz-logo-ok { font-size: 12px; color: #16a34a; font-weight: 600; }
.twwai-wz-logo-thumb {
  width: 44px; height: 44px; object-fit: contain;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 3px;
}
.twwai-wz-logo-or {
  font-size: 11px; color: #6b7280; margin-top: 8px;
  padding-top: 8px; border-top: 1px dashed #eef; line-height: 1.5;
}

/* v1.34.220.164 — Marketing consent checkbox at Stage 4 (Imran 2026-06-18) */
.twwai-wz-marketing-consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 12px 0 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.twwai-wz-marketing-consent:hover { background: #f1f5f9; border-color: #cbd5e1; }
.twwai-wz-marketing-consent input[type="checkbox"] {
  flex-shrink: 0; margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: #0f7a3e;
  cursor: pointer;
}
.twwai-wz-marketing-consent-txt {
  font-size: 12.5px; color: #475569; line-height: 1.45; flex: 1;
}

/* Notes textarea */
.twwai-wz-notes-block {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px;
}
.twwai-wz-notes {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #e5e7eb; border-radius: 9px;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  resize: vertical; min-height: 70px; color: #1a1a1a;
  background: #fff; outline: 0;
  transition: border-color .15s;
}
.twwai-wz-notes:focus { border-color: #075e54; }

/* v1.34.39 — Wizard promo wrap + internal countdown clock */
.twwai-wz-promo-wrap {
  margin: 6px 12px -2px;
  display: flex; flex-direction: column; gap: 4px;
}
.twwai-wz-clock {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 4px 8px;
  background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.55) 100%);
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}
.twwai-wz-clock-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .25px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
  font-family: 'Inter', system-ui, sans-serif;
}
.twwai-wz-clock-digits {
  display: inline-flex; align-items: baseline; gap: 2px;
}
.twwai-wz-clock .twwai-sb-digit {
  font-size: 13px;
  padding: 3px 5px;
  min-width: 22px;
  border-radius: 4px;
}
.twwai-wz-clock .twwai-sb-colon {
  font-size: 13px;
}
@media (max-width: 480px) {
  .twwai-wz-promo-wrap { margin: 4px 10px -2px; gap: 3px; }
  .twwai-wz-clock { padding: 3px 6px; gap: 5px; }
  .twwai-wz-clock-label { font-size: 10px; letter-spacing: .15px; }
  .twwai-wz-clock .twwai-sb-digit { font-size: 11.5px; padding: 2px 4px; min-width: 18px; }
  .twwai-wz-clock .twwai-sb-colon { font-size: 11.5px; }
}

/* Bundle Wizard promo banner — top of every step */
.twwai-wz-promo {
  margin: 0; padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1px;
  text-align: center; line-height: 1.35;
  background: rgba(255,255,255,.18); color: #ffffff;
  border: 1px solid rgba(255,255,255,.28);
  transition: background .25s ease, border-color .25s ease;
}
@media (max-width: 480px) {
  .twwai-wz-promo { font-size: 10.5px; padding: 5px 8px; }
}
.twwai-wz-promo--mid {
  background: linear-gradient(135deg, #f5c842 0%, #f29f1a 100%);
  color: #1a1f2e; border-color: rgba(0,0,0,.08);
  text-shadow: none;
}
.twwai-wz-promo--max {
  background: linear-gradient(135deg, #25d366 0%, var(--twwai-accent-dark) 100%);
  color: #ffffff; border-color: rgba(0,0,0,.18);
  box-shadow: 0 3px 10px rgba(31,138,79,.35);
}

/* Cart-behaviour toggle in Step 5 */
.twwai-wz-cart-block {
  background: #fafbfd; border: 1px dashed #d8dbe0; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
}
.twwai-wz-cart-block .twwai-wz-toggle { margin: 0 0 4px; }
.twwai-wz-cart-hint {
  font-size: 11.5px; color: #6b7280; line-height: 1.45;
  padding-left: 24px;
}

/* Shipping country chips (v1.34.64) */
.twwai-wz-ship-block { margin-bottom: 12px; }
.twwai-wz-ship-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px;
}
/* v1.34.195 — Rounder + livelier shipping chip. Selected state was a
 * dark slab; now a vibrant emerald with proper depth. */
.twwai-wz-ship-chip {
  background: #fff; border: 1.5px solid #d8dce2; border-radius: 22px;
  padding: 14px 18px; cursor: pointer; text-align: left;
  min-height: 64px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: all .18s ease;
}
.twwai-wz-ship-chip:hover { border-color: #0ea75c; background: #f0fdf4; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,167,92,.14); }
.twwai-wz-ship-chip:focus-visible { outline: none; border-color: #0ea75c; box-shadow: 0 0 0 3px rgba(14,167,92,.25); }
.twwai-wz-ship-chip.is-on {
  border-color: #047857;
  background: linear-gradient(135deg, #0ea75c 0%, #047857 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 6px 16px rgba(14,167,92,.32);
}
.twwai-wz-ship-chip.is-on .twwai-wz-ship-chip-s { color: #d1fae5; }
.twwai-wz-ship-chip-l { font-weight: 600; font-size: 13px; }
.twwai-wz-ship-chip-s { font-size: 11px; color: #6b7280; margin-top: 2px; }

/* GDPR / PECR opt-in (v1.34.64) */
.twwai-wz-gdpr-block {
  background: #fafbfd; border: 1px dashed #d8dbe0; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
}
.twwai-wz-gdpr-block .twwai-wz-toggle { margin: 0 0 4px; }
.twwai-wz-gdpr-hint {
  font-size: 11.5px; color: #6b7280; line-height: 1.45;
  padding-left: 24px;
}

/* Email-quote button (secondary CTA below Pay) */
/* v1.34.140 — inline email input + button on one row for mobile-friendly UX */
.twwai-wz-emailinline {
  display: flex; gap: 6px; margin-top: 10px;
  flex-wrap: wrap;
}
.twwai-wz-emailinline-input {
  flex: 1 1 180px; min-width: 0;
  border: 1.5px solid #d1d5db; border-radius: 9px;
  padding: 11px 12px;
  font-size: 16px; font-family: inherit;
  outline: 0; transition: border-color .15s;
  background: #fff; color: #1a1a1a;
}
.twwai-wz-emailinline-input:focus { border-color: #075e54; box-shadow: 0 0 0 3px rgba(7,94,84,.12); }
.twwai-wz-emailquote {
  flex: 0 0 auto;
  background: #fff; color: #075e54; border: 1.5px solid #075e54;
  padding: 10px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.twwai-wz-emailquote:hover { background: #075e54; color: #fff; }
.twwai-wz-emailquote:disabled { opacity: .6; cursor: not-allowed; }
/* v1.34.162 — Download as PDF button (sibling of emailquote, same styling) */
.twwai-wz-pdfquote {
  flex: 0 0 auto;
  background: #fff; color: #6d28d9; border: 1.5px solid #6d28d9;
  padding: 10px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.twwai-wz-pdfquote:hover { background: #6d28d9; color: #fff; }
.twwai-wz-pdfquote:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 460px) { .twwai-wz-pdfquote { flex: 1 1 100%; } }
/* v1.34.163 — Inline delete-row button used on stage 2 garment rows AND on
   stage 3 size/colour rows so customers can fully remove items mid-build
   instead of having to drop qty to 0 manually. */
.twwai-wz-rowdel {
  background: transparent; border: 0; color: #6b7280; /* v1.34.220.75 — WCAG AA */
  font-size: 17px; line-height: 1; cursor: pointer;
  padding: 4px 6px; border-radius: 50%;
  transition: background .15s, color .15s;
}
.twwai-wz-rowdel:hover { background: #fee2e2; color: #c11313; }
/* v1.34.171 — Stage 3/4 header delete chip, lined up to the right */
.twwai-wz-rowdel--stage {
  margin-left: auto; align-self: center;
  font-size: 19px; padding: 4px 8px;
}
.twwai-wz-emailquote-status {
  font-size: 12.5px; text-align: center; margin: 6px 0 0;
  line-height: 1.4;
}
@media (max-width: 460px) {
  .twwai-wz-emailquote { flex: 1 1 100%; }
}

/* Sticky footer */
.twwai-wz-foot {
  background: #fff; border-top: 1px solid #e5e7eb;
  padding: 10px 14px; display: flex; align-items: center; gap: 8px;
}
/* v1.34.220.41 — footer rearrange: Back + Next keep their natural width
   (never squeezed), the subtotal sits in the MIDDLE on the flexible track so
   it can never be hidden behind the buttons. */
.twwai-wz-back, .twwai-wz-next {
  border: 0; cursor: pointer; padding: 10px 16px; border-radius: 9px;
  font-weight: 700; font-size: 13.5px; font-family: inherit;
  flex: 0 0 auto; white-space: nowrap;
}
/* v1.34.94 — Back button: same shape as Next but lighter (outlined, brand-tinted) */
.twwai-wz-back {
  background: #fff;
  color: var(--twwai-header, #075e54);
  border: 1.5px solid var(--twwai-header, #075e54);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.twwai-wz-back:hover { background: var(--twwai-header, #075e54); color: #fff; }
.twwai-wz-back:active { transform: translateY(1px); }
/* v1.34.95 — Start-over link in footer, between Back and total */
.twwai-wz-startover {
  background: transparent;
  border: 0;
  color: #6b7280; /* v1.34.220.75 — WCAG AA contrast */
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  margin: 0;
  transition: all 0.15s;
  flex: 0 1 auto; min-width: 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.twwai-wz-startover:hover { color: #dc2626; background: #fef2f2; }

/* v1.34.96 UX #11 — Trust strip on Stage 5 */
.twwai-wz-trust-strip {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 8px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px;
  padding: 10px 14px; margin: 10px 0 14px;
  font-size: 11.5px; color: #14532d; font-weight: 600;
}
.twwai-wz-trust-item { white-space: nowrap; }

/* v1.34.96 UX #3 — Social proof toast on Stage 1 (fades in once) */
.twwai-wz-social-proof {
  display: flex; align-items: center; gap: 8px;
  background: #fafbfd; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 8px 12px; margin: 12px 0 2px;
  font-size: 12px; color: #475569; font-weight: 600;
  opacity: 0; animation: twwai-fade-in 600ms ease-out 800ms forwards, twwai-pulse-out 800ms ease-in 8000ms forwards;
}
.twwai-wz-social-proof-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex: 0 0 8px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .55);
  animation: twwai-dot-pulse 1.8s infinite;
}
.twwai-wz-social-proof-text { font-size: 12px; }
@keyframes twwai-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes twwai-pulse-out { to { opacity: 0.35; } }
@keyframes twwai-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.twwai-wz-back:hover { background: #f3f4f6; color: #1a1f2e; }
.twwai-wz-next {
  background: linear-gradient(135deg, #25d366 0%, #075e54 100%);
  color: #fff; margin-left: auto;
  box-shadow: 0 4px 12px rgba(7,94,84,.25);
}
.twwai-wz-next:hover { filter: brightness(1.06); }
.twwai-wz-next.disabled { opacity: .5; cursor: not-allowed; }
/* v1.34.220.41 — subtotal is the flexible MIDDLE track: grows to fill the gap,
   centred between Back and Next, never crushed to zero / hidden behind buttons. */
.twwai-wz-foot-total { flex: 1 1 auto; min-width: 0; text-align: center; white-space: nowrap; }
.twwai-wz-foot-sub { font-size: 10.5px; color: #6b7280; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.twwai-wz-foot-amt { font-size: 16px; font-weight: 800; color: #075e54; }

/* Mobile compaction */
@media (max-width: 600px) {
  .twwai-wz-tiles { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); }
  .twwai-wz-tile { padding: 12px 4px 10px; font-size: 11px; }
  .twwai-wz-tile-emo { font-size: 24px; }
  .twwai-wz-sizes { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
  .twwai-wz-pay { font-size: 14px; padding: 12px; }
}

/* v1.34.53 — pricing now SITS WITHIN the bottom gradient overlay, ABOVE the
   garment label. No background chip — purely text with shadow for readability.
   Stops the dark teal chip from hiding faces in product photos. */
.twwai-wz-tile-px {
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  z-index: 2;
  display: block;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(0,0,0,1),
    0 2px 5px rgba(0,0,0,.85),
    0 0 8px rgba(0,0,0,.6);
  letter-spacing: .25px;
  pointer-events: none;
}
.twwai-wz-tile-px-from {
  font-size: 9.5px;
  font-weight: 700;
  opacity: .92;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.twwai-wz-tile-px-amt {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .2px;
}
@media (max-width: 600px) {
  .twwai-wz-tile-px { bottom: 24px; }
  .twwai-wz-tile-px-from { font-size: 8.5px; }
  .twwai-wz-tile-px-amt { font-size: 12px; }
}

/* v1.34.41 — running subtotal pills on step 1 */
.twwai-wz-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  margin-right: 6px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #075e54;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}
.twwai-wz-hint-pill.twwai-wz-hint-sub {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #78350f;
  border-color: #fcd34d;
}

/* v1.34.41 — Step 5 live savings preview block */
.twwai-wz-savings {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
}
.twwai-wz-savings strong { color: #047857; font-weight: 800; }
.twwai-wz-savings-nudge {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
  border-color: #fcd34d;
  font-weight: 600;
}

/* v1.34.47 — per-garment logo block inside Step 4 (sizes+colours+artwork) */
.twwai-wz-logo-garment {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.twwai-wz-logo-gh {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
}
.twwai-wz-logo-count {
  font-size: 11.5px;
  font-weight: 600;
  color: #075e54;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #6ee7b7;
}
.twwai-wz-logo-hint {
  margin-top: 6px;
  font-size: 11.5px;
  color: #6b7280;
  font-style: italic;
}

/* v1.34.47 — Step 5 artwork summary card */
.twwai-wz-logo-summary {
  margin: 12px 0;
  padding: 12px 14px;
  background: #f0fdf4;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
}
.twwai-wz-logo-summary-warn {
  background: #fffbeb;
  color: #92400e;
  padding: 10px 12px;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
}
.twwai-wz-logo-summary-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 10px;
}
.twwai-wz-logo-summary-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
}
.twwai-wz-logo-summary-item img.twwai-wz-logo-thumb {
  width: 22px; height: 22px; object-fit: cover; border-radius: 50%;
}
.twwai-wz-logo-summary-edit {
  background: transparent;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}
.twwai-wz-logo-summary-edit:hover { background: #d1fae5; }

/* v1.34.220.161 — Imran 2026-06-19 ("looks shit - add padding"): Stage 4
   cards were too tall + dead space heavy. Tightened padding, smaller gaps,
   condensed typography so the customer doesn't have to scroll past 4 huge
   panels to reach the Pay button. */
.twwai-wz-loggedin-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #6ee7b7;
  border-radius: 12px;
}
.twwai-wz-loggedin-icon { font-size: 22px; line-height: 1; }
.twwai-wz-loggedin-body { flex: 1; min-width: 0; }
.twwai-wz-loggedin-name { font-size: 13.5px; font-weight: 800; color: #065f46; margin-bottom: 1px; line-height: 1.25; }
.twwai-wz-loggedin-email { font-size: 12px; color: #047857; margin-bottom: 2px; word-break: break-all; line-height: 1.25; }
.twwai-wz-loggedin-switch { font-size: 11px; color: #065f46; text-decoration: underline; }
/* Tighten the "Existing customer — your logo is on file" note + edit button */
.twwai-wz-existing-note { padding: 10px 14px !important; margin: 8px 0 !important; line-height: 1.4 !important; font-size: 13px !important; }
.twwai-wz-existing-note + button,
.twwai-wz-existing-note button { margin-top: 6px !important; padding: 6px 14px !important; font-size: 12px !important; }

/* v1.34.55 — text-only embroidery textarea hint */
.twwai-wz-text-only-input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 90px;
  line-height: 1.4;
}
.twwai-wz-text-only-hint {
  margin-top: 6px;
  font-size: 11.5px;
  color: #64748b;
  font-style: italic;
}

/* v1.34.55 — Remove background option */
.twwai-wz-removebg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #075985;
}
.twwai-wz-removebg input { width: 16px; height: 16px; }
.twwai-wz-removebg-lbl { flex: 1 1 auto; }
.twwai-wz-removebg-hint {
  flex: 1 0 100%;
  margin-left: 24px;
  font-size: 11px;
  font-weight: 500;
  color: #0c4a6e;
  font-style: italic;
}

/* v1.34.55 — Reuse saved logo banner */
.twwai-wz-reuse-logo {
  margin-top: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 12px;
}
.twwai-wz-reuse-h {
  font-size: 13.5px;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 8px;
}
.twwai-wz-reuse-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: #92400e;
}
.twwai-wz-reuse-preview img {
  width: 44px; height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #f59e0b;
  padding: 3px;
}
.twwai-wz-reuse-actions {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.twwai-wz-reuse-yes {
  flex: 1 1 auto;
  padding: 9px 14px;
  background: var(--twwai-header, #075e54);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.twwai-wz-reuse-yes:hover { filter: brightness(1.07); }
.twwai-wz-reuse-no {
  padding: 9px 14px;
  background: transparent;
  color: #78350f;
  border: 1.5px solid #fcd34d;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}
.twwai-wz-reuse-no:hover { background: rgba(255, 255, 255, .4); }

/* v1.34.55 — Step 1 customer-type required warn */
.twwai-wz-warn {
  margin: 8px 0;
  padding: 10px 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #78350f;
  text-align: center;
}

/* v1.34.53 — Step 1 new vs existing customer selector */
.twwai-wz-custtype {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}
.twwai-wz-custtype-h {
  font-size: 13px;
  font-weight: 800;
  color: #075985;
  margin-bottom: 8px;
}
.twwai-wz-custtype-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) {
  .twwai-wz-custtype-opts { grid-template-columns: 1fr; }
}
/* v1.34.99 — Scope chips reveal smoothly after customer-type pick */
.twwai-wz-scope-reveal {
  margin-top: 8px !important;
  animation: twwai-fade-down 250ms ease-out;
}
@keyframes twwai-fade-down {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* v1.34.71 — ULTRA-compact single-row chip layout (label removed, smaller buttons) */
.twwai-wz-custtype--compact { margin-bottom: 8px; }
.twwai-wz-custtype--compact .twwai-wz-custtype-h { display: none; }
.twwai-wz-custtype-opts--row { grid-template-columns: 1fr 1fr; gap: 6px; }
.twwai-wz-custtype--compact .twwai-wz-custtype-opt {
  padding: 6px 10px; text-align: center; min-height: 0;
  border-radius: 8px;
}
.twwai-wz-custtype--compact .twwai-wz-custtype-lbl {
  font-size: 12.5px; font-weight: 700; margin: 0;
}
.twwai-wz-custtype--compact .twwai-wz-custtype-sub { display: none; }

/* v1.34.64 — blank workwear toggle (Stage 3 / step4 embroidery page) */
.twwai-wz-blank-block {
  background: #fef3c7; border: 1px dashed #f59e0b; border-radius: 10px;
  padding: 12px 14px; margin: 0 0 16px;
}
.twwai-wz-blank-toggle { font-weight: 700; color: #78350f; }
/* v1.34.102 — tiny variant: parked at bottom, quiet, doesn't compete with embroidery */
.twwai-wz-blank-block--tiny {
  background: transparent; border: 0; padding: 0; margin: 22px 0 4px;
  text-align: center; opacity: 0.55;
}
.twwai-wz-blank-block--tiny:hover { opacity: 1; }
.twwai-wz-blank-toggle--tiny {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; color: #6b7280;
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px;
  cursor: pointer;
}
.twwai-wz-blank-toggle--tiny input[type="checkbox"] {
  width: 12px; height: 12px; margin: 0; cursor: pointer; accent-color: #9ca3af;
}
.twwai-wz-blank-toggle--tiny .twwai-wz-blank-toggle-lbl { color: #6b7280; }
.twwai-wz-blank-hint {
  font-size: 12px; color: #78350f; line-height: 1.5; margin-top: 4px; padding-left: 24px;
}
.twwai-wz-blank-summary {
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px;
  padding: 18px 20px; text-align: center; margin: 12px 0;
}
.twwai-wz-blank-summary-h { font-weight: 800; font-size: 16px; color: #15803d; }
.twwai-wz-blank-summary-sub { font-size: 13px; color: #4d7c0f; margin-top: 6px; }

/* v1.34.64 — happy confirmation when artwork section is skipped */
.twwai-wz-logo-summary-ok {
  background: #ecfdf5; border-left: 4px solid #10b981;
  padding: 12px 14px; border-radius: 10px;
  font-size: 13px; color: #065f46; line-height: 1.55;
}

/* v1.34.68 — Digitising fee transparency from Stage 2 */
.twwai-wz-digi-callout {
  display: flex; align-items: center; gap: 10px;
  background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid #ea580c;
  border-radius: 10px; padding: 10px 14px; margin: 10px 0 4px;
}
.twwai-wz-digi-icon { font-size: 20px; }
.twwai-wz-digi-text { flex: 1; }
.twwai-wz-digi-lbl { font-weight: 700; font-size: 13px; color: #9a3412; line-height: 1.3; }
.twwai-wz-digi-sub { font-size: 11.5px; color: #c2410c; margin-top: 2px; line-height: 1.4; }
.twwai-wz-digi-amt { font-weight: 800; font-size: 14px; color: #9a3412; }
.twwai-wz-digi-waived {
  background: #ecfdf5; border-left: 4px solid #16a34a;
  border-radius: 10px; padding: 10px 14px; margin: 10px 0 4px;
  font-weight: 700; font-size: 13px; color: #14532d;
}
.twwai-wz-custtype-opt {
  text-align: left;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.twwai-wz-custtype-opt:hover { border-color: var(--twwai-header, #075e54); transform: translateY(-1px); }
.twwai-wz-custtype-opt.on {
  border-color: var(--twwai-header, #075e54);
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  box-shadow: 0 0 0 3px rgba(7, 94, 84, .14);
}
.twwai-wz-custtype-lbl {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}
.twwai-wz-custtype-sub {
  font-size: 11.5px;
  color: #475569;
  margin-top: 3px;
  font-weight: 500;
  line-height: 1.4;
}

/* v1.34.195 — Pill + vibrant. "Continue as guest", "Continue to checkout",
 * "Apply", etc. Was 14px corners (flat-looking); now full 999px pill with
 * a punchier emerald->lime gradient and deeper glow. !important so Rey/Astra
 * theme button{} resets can't squash it. */
.twwai-wz-tab-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  padding: 16px 26px !important;
  background: linear-gradient(135deg, #0ea75c 0%, #047857 50%, #064e3b 100%);
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: .4px;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  box-shadow:
    0 10px 28px -6px rgba(14,167,92,.55),
    0 4px 10px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -2px 0 rgba(0,0,0,.08);
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.twwai-wz-tab-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08) saturate(1.12);
  box-shadow:
    0 16px 36px -6px rgba(14,167,92,.65),
    0 6px 14px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -2px 0 rgba(0,0,0,.08);
}
.twwai-wz-tab-cta:active { transform: translateY(0); filter: brightness(.96); }
.twwai-wz-tab-cta.disabled, .twwai-wz-tab-cta:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* v1.34.53 — Logo design upsell on Step 4 */
.twwai-wz-no-logo-wrap {
  margin-top: 14px;
  padding: 12px 14px;
  background: #faf5ff;
  border: 1px solid #d8b4fe;
  border-radius: 10px;
}
.twwai-wz-no-logo-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: #581c87;
}
.twwai-wz-no-logo-toggle input { width: 16px; height: 16px; }
.twwai-wz-design-options {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.twwai-wz-design-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #e9d5ff;
  border-radius: 8px;
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  font-weight: 600;
  color: #1e293b;
}
.twwai-wz-design-opt.on { border-color: #7c3aed; background: #faf5ff; box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.twwai-wz-design-opt-emo { font-size: 22px; }
.twwai-wz-design-opt-body { flex: 1; }
.twwai-wz-design-opt-name { font-weight: 800; }
.twwai-wz-design-opt-sub { font-size: 11.5px; color: #64748b; font-weight: 500; margin-top: 2px; }
.twwai-wz-design-opt-px { font-size: 13px; font-weight: 800; color: #7c3aed; }
.twwai-wz-text-only-input {
  width: 100%;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

/* v1.34.103 — Unified artwork-mode radio (top of artwork section) */
.twwai-wz-artwork-modes {
  margin: 0 0 16px;
  padding: 14px;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border: 1px solid #99f6e4;
  border-radius: 12px;
}
.twwai-wz-artwork-modes-h {
  font-size: 13px; font-weight: 800; color: #0f766e;
  margin-bottom: 10px; letter-spacing: .2px;
}
.twwai-wz-artwork-mode {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fff;
  border: 1.5px solid #cffafe;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: #0f172a;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.twwai-wz-artwork-mode:hover { border-color: #5eead4; transform: translateY(-1px); }
.twwai-wz-artwork-mode.on {
  border-color: #14b8a6;
  background: #f0fdfa;
  box-shadow: 0 0 0 3px rgba(20,184,166,.16);
}
.twwai-wz-artwork-mode-emo { font-size: 22px; flex-shrink: 0; }
.twwai-wz-artwork-mode-body { flex: 1; }
.twwai-wz-artwork-mode-name { font-weight: 800; font-size: 13.5px; }
.twwai-wz-artwork-mode-sub { font-size: 11.5px; color: #64748b; font-weight: 500; margin-top: 2px; line-height: 1.4; }
.twwai-wz-artwork-mode-px {
  font-size: 12.5px; font-weight: 800; padding: 4px 9px;
  border-radius: 999px; flex-shrink: 0;
}
.twwai-wz-artwork-mode-px.free { color: #15803d; background: #dcfce7; }
.twwai-wz-artwork-mode-px.paid { color: #fff; background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }

.twwai-wz-artwork-later-note,
.twwai-wz-artwork-design-note,
.twwai-wz-artwork-svc-note,
.twwai-wz-artwork-redesign-note {
  margin-top: 8px;
  padding: 10px 12px;
  background: #fff;
  border-left: 3px solid #14b8a6;
  border-radius: 8px;
  font-size: 12px;
  color: #0f172a;
  line-height: 1.5;
}
.twwai-wz-artwork-later-email { margin-top: 6px; font-weight: 600; }
.twwai-wz-artwork-later-emaillink { color: #0d9488; text-decoration: underline; }
.twwai-wz-artwork-later-emaillink:hover { color: #0f766e; }
.twwai-wz-next-blocked {
  margin: 14px 0 6px;
  padding: 10px 14px;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #78350f;
  line-height: 1.5;
}
.twwai-wz-checkout-tip {
  margin: 8px 0;
  padding: 10px 14px;
  background: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: 8px;
  font-weight: 700;
  color: #78350f;
  font-size: 13.5px;
  text-align: center;
  animation: twwai-tip-pop .25s ease;
}
@keyframes twwai-tip-pop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.twwai-wz-checkout-mirror {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%) !important;
  box-shadow: 0 4px 14px rgba(67,56,202,.32) !important;
}
.twwai-wz-checkout-mirror:hover { filter: brightness(1.08); }
.twwai-wz-text-only-preview {
  margin-top: 8px;
  padding: 10px 14px;
  background: #fffbeb;
  border: 1.5px dashed #f59e0b;
  border-radius: 8px;
  font-family: 'Courier New', Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #78350f;
  white-space: pre-line;
  text-align: center;
  line-height: 1.6;
}
.twwai-wz-artwork-upload-arrow {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f0fdf4;
  border: 1.5px dashed #25d366;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #075e54;
  text-align: center;
}
.twwai-wz-artwork-design-note { border-left-color: #a855f7; }
.twwai-wz-artwork-redesign-note { border-left-color: #f59e0b; }
.twwai-wz-artwork-svc-note { border-left-color: #22c55e; margin-bottom: 4px; }

.twwai-wz-sum-artworklater {
  background: #f0fdfa;
  border-radius: 6px;
  padding: 4px 8px;
}

/* v1.34.52 — auth-mode switch links (Already have an account? Log in instead →) */
.twwai-wz-authswitch {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  font-size: 12.5px;
  color: #475569;
  text-align: center;
}
.twwai-wz-authswitch-action,
.twwai-wz-authhint-action {
  background: transparent;
  border: 0;
  color: var(--twwai-header, #075e54);
  font-size: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
.twwai-wz-authswitch-action:hover,
.twwai-wz-authhint-action:hover { filter: brightness(.85); }

/* v1.34.51 — Polish for new field-builder + per-tab auth */
.twwai-wz-req { color: #dc2626; font-weight: 800; }
.twwai-wz-fhint {
  margin-top: 4px;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}
.twwai-wz-authtab-lbl { display: block; font-weight: 800; font-size: 13.5px; line-height: 1.25; }
.twwai-wz-authtab-sub {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  opacity: .55;
}
.twwai-wz-authtab.on .twwai-wz-authtab-sub { opacity: .8; }
@media (max-width: 480px) {
  .twwai-wz-authtab-lbl { font-size: 12px; }
  .twwai-wz-authtab-sub { display: none; }  /* drop ugly small caps on mobile */
  .twwai-wz-authtab { padding: 9px 6px; }
}

/* v1.34.48 — Step 5 explicit 3-tab auth UI */
.twwai-wz-authwrap { margin: 12px 0 14px; }
.twwai-wz-authhint {
  font-size: 12.5px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}
.twwai-wz-authtabs {
  display: flex;
  gap: 6px;
  background: #eef2f7;
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.06);
}
.twwai-wz-authtab {
  flex: 1 1 0;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  background: transparent;
  border: 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.twwai-wz-authtab:hover { color: #0f172a; background: rgba(255,255,255,.55); }
.twwai-wz-authtab.on {
  background: #fff;
  color: var(--twwai-header, #075e54);
  box-shadow: 0 2px 8px rgba(7,94,84,.16), inset 0 0 0 1.5px rgba(7,94,84,.22);
  transform: translateY(-1px);
}
.twwai-wz-authbody {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
}
.twwai-wz-authbody .twwai-wz-authp {
  margin: 0 0 10px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}
.twwai-wz-authbody .twwai-wz-finput { margin-bottom: 0; }
.twwai-wz-authbody .twwai-wz-finput label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.twwai-wz-authbody .twwai-wz-finput input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.twwai-wz-authbody .twwai-wz-finput input:focus {
  outline: none;
  border-color: var(--twwai-header, #075e54);
  box-shadow: 0 0 0 3px rgba(7,94,84,.10);
}
.twwai-wz-authforgot {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--twwai-header, #075e54);
  text-decoration: underline;
}

/* v1.34.41 — Step 5 £10 digitising fee transparency block */
.twwai-wz-digitise {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: #fff7ed;
  border: 1px dashed #fdba74;
  border-radius: 10px;
}
.twwai-wz-digitise-h {
  font-size: 13.5px;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 4px;
}
.twwai-wz-digitise-b {
  font-size: 12.5px;
  color: #7c2d12;
  line-height: 1.5;
}
.twwai-wz-digitise-b strong { color: #ea580c; }

/* ───────────────────────────────────────────────────────────
   v1.34.179 — Rounder buttons pass
   Several buttons were still rendering with squared-off (6–9px)
   corners. Unify clickable buttons to a friendlier radius.
   Pills (999px) and circular controls (50%) are left untouched.
   ─────────────────────────────────────────────────────────── */
.twwai-wz-back,
.twwai-wz-next,
.twwai-wz-extra-add,
.twwai-wz-reuse-yes,
.twwai-wz-reuse-no,
.twwai-wz-emailquote,
.twwai-wz-pdfquote {
  border-radius: 12px;
}
.twwai-wz-teamsize-ctl button,
.twwai-wz-tsv {
  border-radius: 9px;
}
.twwai-wz-extra-rm {
  border-radius: 8px;
}

/* ── v1.34.180 — Stage 1 "Extra services" toggle + panel ────────────────── */
.twwai-wz-extra { margin: 14px 0 4px; }
.twwai-wz-extra-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  background: #f4f5f7;
  border: 1.5px dashed #cbd2da;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.twwai-wz-extra-toggle:hover { border-color: var(--twwai-accent-dark, #128c7e); background: #eef7f2; }
.twwai-wz-extra-toggle.is-open { border-style: solid; border-color: var(--twwai-header, #075e54); background: #eef7f2; }
.twwai-wz-extra-toggle-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.twwai-wz-extra-toggle-ico { font-size: 18px; }
.twwai-wz-extra-toggle-l > span:nth-child(2) { font-weight: 700; font-size: 14px; color: #1d2733; }
.twwai-wz-extra-toggle-sub { font-size: 11px; color: #6b7480; flex-basis: 100%; }
.twwai-wz-extra-chev { font-size: 11px; color: var(--twwai-header, #075e54); }
.twwai-wz-extra-panel {
  border: 1px solid #e5e7eb; border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 12px;
  margin-top: -4px;
  background: #fff;
  animation: twwai-wz-extra-in .18s ease;
}
@keyframes twwai-wz-extra-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.twwai-wz-extra-intro { font-size: 12px; color: #54606e; margin-bottom: 10px; }
/* v1.34.187 — back to a TWO-COLUMN box grid (Imran 2026-06-14). Each service is
   a compact vertical box: emoji top-left · price top-right · label · blurb. The
   v1.34.186 full-width single-column rectangles are reverted. */
/* v1.34.220.10 — extras tiles: CUTER rounded boxes (26px radius), clearly
   visible soft shadow, generous padding for cute pillowy look. */
.twwai-wz-extra-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  align-items: start;
}
/* v1.34.220.18 — Extras tile redesign (real this time). New layout: icon
   chip top-left (44px rounded square), title bold beside it, blurb under,
   price pill bottom-left, satisfying pop-in checkmark top-right when selected.
   Selected state has subtle green gradient + lifted shadow. */
.twwai-wz-extra-tile {
  position: relative;
  display: flex !important; flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 14px !important;
  padding: 9px 14px !important;
  min-height: 0 !important;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
  transition: border-color .15s, background .15s;
}
.twwai-wz-extra-tile-head {
  display: flex; align-items: center; gap: 12px;
  flex: 1 1 auto; min-width: 0;   /* v1.34.220.28 — let the title column grow + shrink so it never gets crushed on mobile */
  text-align: left;
}
.twwai-wz-extra-tile-text {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1 1 auto; min-width: 0;
  text-align: left !important;
}
.twwai-wz-extra-tile-text > * { text-align: left !important; }
.twwai-wz-extra-tile:hover {
  border-color: #b8c6c0 !important;
  transform: none !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.06) !important;
}
.twwai-wz-extra-tile.on {
  border-color: var(--twwai-header, #075e54) !important;
  background: #f1f9f5 !important;
  box-shadow: inset 0 0 0 1.5px var(--twwai-header, #075e54), 0 2px 8px rgba(7,94,84,.08) !important;
}
.twwai-wz-extra-tile-emo {
  flex: 0 0 auto;
  width: 32px !important; height: 32px !important;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f3;
  border-radius: 10px !important;
  font-size: 16px !important; line-height: 1;
}
.twwai-wz-extra-tile.on .twwai-wz-extra-tile-emo {
  background: #fff;
  box-shadow: 0 1px 3px rgba(7,94,84,.12);
}
.twwai-wz-extra-tile-lbl {
  font-weight: 700 !important; font-size: 13px !important;
  color: #0f1a26; line-height: 1.2;
  letter-spacing: -.1px;
  text-align: left !important;
}
.twwai-wz-extra-tile-blurb {
  font-size: 10.5px !important; color: #6b7480; line-height: 1.3;
  text-align: left !important;
  margin-top: 1px;
}
.twwai-wz-extra-tile-price {
  position: static !important;
  align-self: center !important;
  margin: 0 !important;
  font-size: 11.5px !important; font-weight: 800; color: var(--twwai-header, #075e54);
  background: rgba(7,94,84,.10);
  border-radius: 999px; padding: 3px 10px !important;
  white-space: nowrap;
  flex: 0 0 auto;
}
.twwai-wz-extra-tile.on .twwai-wz-extra-tile-price {
  background: var(--twwai-header, #075e54); color: #fff;
}
.twwai-wz-extra-tile-check {
  position: static !important;
  flex: 0 0 auto;
  width: 22px !important; height: 22px !important;
  border-radius: 50%;
  background: var(--twwai-header, #075e54); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px !important; font-weight: 800;
  box-shadow: 0 2px 4px rgba(7,94,84,.20) !important;
  margin-left: 4px;
  animation: twwai-wz-extra-pop .2s ease-out;
}
@keyframes twwai-wz-extra-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
.twwai-wz-extra-form {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid #eceef1;
  display: flex; flex-direction: column; gap: 8px;
}
.twwai-wz-extra-form-h { font-weight: 700; font-size: 13px; color: #1d2733; }
/* v1.34.181 — fixed price line + quantity tier table in the quote form */
.twwai-wz-extra-price-line {
  font-size: 16px; font-weight: 800; color: var(--twwai-header, #075e54);
}
.twwai-wz-extra-tiers {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 10px;
  background: #f4f5f7; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 10px 12px;
}
.twwai-wz-extra-tier {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; border-bottom: 1px dashed #e0e3e7; padding: 3px 0;
}
.twwai-wz-extra-tier-q { color: #54606e; }
.twwai-wz-extra-tier-p { font-weight: 800; color: #1d2733; }
.twwai-wz-extra-artwork { font-size: 12px; color: #6b7480; }
.twwai-wz-extra-input, .twwai-wz-extra-details {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #d8dde2; border-radius: 10px;
  padding: 10px 12px; font-size: 13px; font-family: inherit;
  background: #fff; color: #1d2733;
}
.twwai-wz-extra-input:focus, .twwai-wz-extra-details:focus {
  outline: none; border-color: var(--twwai-header, #075e54);
}
.twwai-wz-extra-details { resize: vertical; min-height: 64px; }
.twwai-wz-extra-send {
  align-self: flex-start;
  background: var(--twwai-header, #075e54); color: #fff;
  border: none; border-radius: 12px;
  padding: 10px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: filter .15s;
}
.twwai-wz-extra-send:hover { filter: brightness(1.08); }
.twwai-wz-extra-send:disabled { opacity: .6; cursor: default; }
.twwai-wz-extra-status { font-size: 12px; min-height: 14px; }
.twwai-wz-extra-sent { font-size: 13px; color: #0a7a3e; font-weight: 600; line-height: 1.4; }
.twwai-wz-extra-again {
  align-self: flex-start; margin-top: 10px;
  background: none; border: none; color: var(--twwai-header, #075e54);
  font-size: 12px; font-weight: 600; cursor: pointer; padding: 0;
}

/* ── v1.34.220.6 — tile + quantity + artwork stacked, both fully rounded ── */
.twwai-wz-extra-tile-wrap {
  display: flex; flex-direction: column; gap: 6px;
}
.twwai-wz-extra-tile-wrap .twwai-wz-extra-tile { width: 100%; }
.twwai-wz-extra-tierpick {
  display: flex; align-items: center; gap: 8px;
  background: #eef7f2;
  border: 1.5px solid var(--twwai-header, #075e54);
  border-radius: 22px;
  padding: 9px 14px;
  box-shadow: 0 4px 12px rgba(7,94,84,.12);
}
.twwai-wz-extra-tierpick-lbl {
  font-size: 11px; font-weight: 800; color: var(--twwai-header, #075e54);
  white-space: nowrap;
}
.twwai-wz-extra-tier-sel {
  flex: 1 1 auto; box-sizing: border-box;
  border: 1.5px solid #d8dde2; border-radius: 14px;
  padding: 6px 10px; font-size: 12px; font-family: inherit;
  background: #fff; color: #1d2733; cursor: pointer;
}
.twwai-wz-extra-tier-sel:focus { outline: none; border-color: var(--twwai-header, #075e54); }
.twwai-wz-extra-tile-wrap .twwai-wz-extra-artwork {
  font-size: 11px; color: #6b7480;
  padding: 2px 6px 0 6px;
}
/* v1.34.220.97 — pill-style artwork hint (Mugs etc) — tidy tinted box, not
   orphan grey text. Mirrors the redesign-upload panel look but compact. */
.twwai-wz-extra-artwork--pill {
  display: flex !important; align-items: center; gap: 8px;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 8px 12px !important;
  font-size: 12px !important; color: #14532d !important;
  margin: 6px 0 2px;
  font-weight: 600;
}
.twwai-wz-extra-artwork-ico { font-size: 13px; flex-shrink: 0; }
/* v1.34.220.32 — Logo Redesign extra: inline upload + instructions box */
.twwai-wz-extra-redesign {
  display: flex; flex-direction: column; gap: 8px;
  background: #f7fbf9;
  border: 1.5px solid var(--twwai-header, #075e54);
  border-radius: 16px;
  padding: 12px 14px;
}
.twwai-wz-extra-redesign-h {
  font-size: 12px; font-weight: 800; color: var(--twwai-header, #075e54);
}
.twwai-wz-extra-redesign-skip { font-size: 11px; color: #6b7480; }
.twwai-wz-extra-redesign-notes {
  box-sizing: border-box; width: 100%;
  border: 1.5px solid #d8dde2; border-radius: 12px;
  padding: 9px 11px; font-size: 13px; font-family: inherit;
  background: #fff; color: #1d2733; resize: vertical; min-height: 64px;
}
.twwai-wz-extra-redesign-notes:focus { outline: none; border-color: var(--twwai-header, #075e54); }
/* v1.34.220.93 — Logo-source picker for items with logoSourceable:true (mugs etc).
   Reuses .twwai-wz-extra-redesign panel; this styles the 3-option pill row. */
.twwai-wz-itemlogo-opts {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.twwai-wz-itemlogo-opt {
  flex: 1 1 auto; min-height: 36px;
  border: 1.5px solid #d8dde2; background: #fff; color: #1d2733;
  border-radius: 999px; padding: 7px 12px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: all .15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.twwai-wz-itemlogo-opt:hover {
  border-color: #16a34a; background: #f0fdf4;
}
.twwai-wz-itemlogo-opt.on {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  border-color: #16a34a; color: #fff;
  box-shadow: 0 4px 12px rgba(22,163,74,.22);
}
@media (max-width: 480px) {
  .twwai-wz-itemlogo-opt { flex: 1 1 100%; }
}
.twwai-wz-extra-tally {
  margin-top: 12px; padding: 10px 12px;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px;
}
.twwai-wz-extra-tally-line {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: #1d2733; padding: 3px 0;
}
.twwai-wz-extra-tally-tot {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 800; color: var(--twwai-header, #075e54);
  border-top: 1px dashed #d8dde2; margin-top: 4px; padding-top: 6px;
}
.twwai-wz-extra-note { font-size: 11.5px; color: #6b7480; margin-top: 8px; line-height: 1.4; }
/* Service line in the Stage 5 summary */
.twwai-wz-sum-service span:first-child { color: #0e7490; }

/* ── v1.34.180 — Stage 5 coupon code field ─────────────────────────────── */
.twwai-wz-coupon { margin: 4px 0 12px; }
.twwai-wz-coupon-row { display: flex; gap: 8px; }
.twwai-wz-coupon-input {
  flex: 1 1 auto; box-sizing: border-box;
  border: 1.5px solid #d8dde2; border-radius: 10px;
  padding: 11px 12px; font-size: 13px; font-family: inherit;
  letter-spacing: .5px; background: #fff; color: #1d2733;
}
.twwai-wz-coupon-input:focus { outline: none; border-color: var(--twwai-header, #075e54); }
.twwai-wz-coupon-input:disabled { background: #eef7f2; color: #4a5560; }
.twwai-wz-coupon-btn {
  flex: 0 0 auto;
  background: #1d2733; color: #fff;
  border: none; border-radius: 10px;
  padding: 11px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: filter .15s;
}
.twwai-wz-coupon-btn:hover { filter: brightness(1.15); }
.twwai-wz-coupon-btn:disabled { opacity: .6; cursor: default; }
.twwai-wz-coupon-status { font-size: 12px; min-height: 14px; margin-top: 6px; }

/* ═══════════════════════════════════════════════════════════════════════
   v1.34.220.17 — WIZARD MOBILE AUDIT (Imran 2026-06-16)
   Stage-1 extra services were a cramped 2-up grid in the narrow chat panel;
   on phones they stack to one clean full-width column. Plus a sweep of the
   whole wizard for touch targets, overflow, and panel padding on <=480px.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Stage 1 — extra services: single column, calmer radius/padding */
  .twwai-wz-extra-grid { grid-template-columns: 1fr; gap: 10px; }
  .twwai-wz-extra-tile { border-radius: 18px; padding: 13px 15px; min-height: 0; }
  .twwai-wz-extra-tile-lbl { font-size: 13px; }
  .twwai-wz-extra-tile-blurb { font-size: 11px; }
  .twwai-wz-extra-tierpick { border-radius: 16px; padding: 9px 12px; }
  .twwai-wz-extra-tier-sel { min-height: 44px; font-size: 13px; }
  .twwai-wz-extra-toggle-sub { font-size: 11px; }

  /* Stage 4 — brand dropdown: full-width tap target */
  .twwai-wz-brandsel { min-height: 46px; font-size: 14px; }
  .twwai-wz-brandsel-guide { padding: 11px 12px; }

  /* No horizontal overflow anywhere in the panel */
  .twwai-wz-extra-grid, .twwai-wz-extra-tile, .twwai-wz-extra-tile-wrap { max-width: 100%; }
  .twwai-wz-extra-tile-blurb, .twwai-wz-extra-tile-lbl { overflow-wrap: anywhere; }

  /* Tally + coupon: comfortable spacing on small screens */
  .twwai-wz-extra-tally { padding: 11px 13px; }
  .twwai-wz-coupon-btn { padding: 12px 16px; }
}

/* ── v1.34.220.25 — FOMO 50%-off banner + struck pricing (Stage-1 extras ONLY) ──
   Chunky always-on banner at top of Stage-1 extras: bold badge, big tabular clock. */
.twwai-wz-fomo{display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:linear-gradient(135deg,#15151b 0%,#262633 60%,#1a1a22 100%);
  border:2px solid #ffd400;border-radius:18px;padding:16px 18px;margin:0 0 16px;
  box-shadow:0 6px 22px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,212,0,.12);}
.twwai-wz-fomo-badge{background:#ffd400;color:#111;font-weight:900;font-size:16px;
  letter-spacing:.5px;padding:8px 15px;border-radius:999px;white-space:nowrap;
  box-shadow:0 2px 8px rgba(255,212,0,.35);}
.twwai-wz-fomo-txt{color:#fff;font-size:14px;line-height:1.35;flex:1 1 170px;}
.twwai-wz-fomo-txt strong{display:block;color:#fff;font-size:15.5px;font-weight:800;}
.twwai-wz-fomo-sub{color:#ffd400;font-size:12.5px;font-weight:600;}
/* Segmented digit clock — each unit a chunky yellow tile with a label under it */
.twwai-wz-fomo-clock{display:flex;align-items:flex-start;gap:5px;white-space:nowrap;}
.twwai-wz-fomo-seg{display:flex;flex-direction:column;align-items:center;gap:3px;}
.twwai-wz-fomo-num{font-variant-numeric:tabular-nums;font-weight:900;font-size:24px;
  color:#111;background:#ffd400;border-radius:9px;padding:7px 9px;min-width:42px;
  text-align:center;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.25);}
.twwai-wz-fomo-lbl{color:#ffd400;font-size:9.5px;font-weight:700;letter-spacing:.6px;
  text-transform:uppercase;}
.twwai-wz-fomo-colon{color:#ffd400;font-weight:900;font-size:22px;line-height:1;
  align-self:center;margin-top:-12px;}
.twwai-wz-fomo{animation:twwaiFomoGlow 2.2s ease-in-out infinite;}
@keyframes twwaiFomoGlow{0%,100%{box-shadow:0 6px 22px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,212,0,.12),0 0 0 0 rgba(255,212,0,.45);}50%{box-shadow:0 6px 22px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,212,0,.12),0 0 0 6px rgba(255,212,0,0);}}
.twwai-wz-extra-tile-price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1;}
.twwai-wz-extra-was{color:#7a7a7a;text-decoration:line-through;font-size:12px;font-weight:600;}
.twwai-wz-extra-now{color:#111;font-weight:800;font-size:15px;}
/* v1.34.220.71 — when the tile is SELECTED (green background), the dark-grey
   "was £100" strikethrough was unreadable. Now: white with .85 opacity for
   contrast, white-now-price still bold + visible. (Imran 2026-06-16 a11y) */
.twwai-wz-extra-tile.on .twwai-wz-extra-was{color:rgba(255,255,255,.85) !important;}
.twwai-wz-extra-tile.on .twwai-wz-extra-now{color:#ffffff !important;}
/* v1.34.220.28 — drop the per-tile corner "50% OFF" badge: it floated over the
   price pill and squeezed the title on mobile. The FOMO banner + struck "was"
   price already signal the discount on every row, so the badge was redundant. */
.twwai-wz-extra-tile-saveb{display:none !important;}
.twwai-wz-extra-tile{position:relative;}
/* v1.34.220.34 — countdown clock mobile alignment (Imran 2026-06-16): on
   small screens the badge + text + clock fought in one row and the clock sat
   off-centre. Fix: stack the banner, centre the badge/text, give the clock its
   own full-width centred row with evenly-spaced tiles so it reads cleanly. */
@media (max-width:480px){
  .twwai-wz-fomo{padding:14px 13px;gap:12px;justify-content:center;text-align:center;}
  .twwai-wz-fomo-badge{order:1;}
  .twwai-wz-fomo-txt{order:2;flex:1 1 100%;text-align:center;}
  .twwai-wz-fomo-clock{order:3;flex:1 1 100%;justify-content:center;gap:7px;}
  .twwai-wz-fomo-num{font-size:21px;min-width:40px;padding:7px 8px;}
  .twwai-wz-fomo-colon{font-size:19px;margin-top:-13px;}
}

/* ── v1.34.220.33 — extras card redesign (Imran 2026-06-16): on mobile the
   title was crushed when a tile was tapped because emoji+title+price+check all
   fought for one narrow row. Fix: the row now WRAPS — title keeps its space,
   price drops to its own full-width line on small screens, and the card gently
   expands (more padding + soft lift) when selected so it feels premium, not
   squeezed. ───────────────────────────────────────────────────────────────── */
.twwai-wz-extra-tile{
  flex-wrap:wrap !important;
  row-gap:8px;
  transition:border-color .18s,background .18s,padding .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
.twwai-wz-extra-tile-head{flex:1 1 60% !important;}
.twwai-wz-extra-tile-price{margin-left:auto !important;}
/* expand-on-select: a touch more breathing room + lift, no layout jump */
.twwai-wz-extra-tile.on{
  padding-top:14px !important; padding-bottom:14px !important;
  transform:translateY(-1px);
}
@media (max-width:480px){
  /* title never shrinks below readable width; emoji + title + check share row 1 */
  .twwai-wz-extra-tile{padding:15px 16px !important; row-gap:10px;}
  .twwai-wz-extra-tile.on{padding-top:17px !important; padding-bottom:17px !important;}
  .twwai-wz-extra-tile-head{flex:1 1 auto !important; order:1;}
  .twwai-wz-extra-tile-check{order:2;}
  .twwai-wz-extra-tile-lbl{font-size:14px !important; line-height:1.25;}
  .twwai-wz-extra-tile-blurb{font-size:11.5px !important;}
  /* price gets its own full-width line, laid out horizontally + left-aligned */
  .twwai-wz-extra-tile-price{
    order:3; flex:1 1 100% !important; margin-left:0 !important;
    flex-direction:row !important; align-items:baseline !important;
    justify-content:flex-start !important; gap:9px;
    background:transparent !important; padding:0 !important;
  }
  .twwai-wz-extra-was{font-size:13px;}
  .twwai-wz-extra-now{font-size:17px;}
  /* don't break words mid-letter now that there's room */
  .twwai-wz-extra-tile-blurb,.twwai-wz-extra-tile-lbl{overflow-wrap:normal !important; word-break:normal !important;}
}

/* v1.34.220.37 — A11Y: global keyboard focus ring. :focus-visible only fires for
   keyboard/AT navigation (not mouse clicks) so it never adds visual noise for
   pointer users, but guarantees every interactive control shows a clear, WCAG-2.2
   (2.4.7 Focus Visible / 2.4.11 Focus Appearance) compliant outline for keyboard
   and screen-reader users. Scoped to the wizard so it can't affect the host theme. */
.twwai-panel :focus-visible,
.twwai-wz-body :focus-visible,
.twwai-wz-foot :focus-visible {
  outline: 3px solid #0ea75c;
  outline-offset: 2px;
  border-radius: 4px;
}
/* The step heading is programmatically focused on step change — it's not an
   interactive control, so suppress the ring there (focus is moved for SR/keyboard
   landing only, the green outline would read as a spurious "clickable" cue). */
.twwai-wz-title:focus,
.twwai-wz-title:focus-visible { outline: none; }

/* v1.34.220.121 — GLOBAL LOGO-PLACEMENT PRESETS (Stage-4, Imran 2026-06-17) */
.twwai-wz-global { margin: 0 0 16px; padding: 12px; border: 1.5px solid #e3e8f0; border-radius: 14px; background: linear-gradient(135deg,#f7f9ff,#eef3ff); }
.twwai-wz-global-h { font-weight: 800; font-size: 13.5px; color: #1a2b4a; margin-bottom: 10px; }
.twwai-wz-gopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.twwai-wz-gopt { display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px 12px; border: 1.5px solid #d8dee8; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; }
.twwai-wz-gopt:hover { border-color: #9fb4d8; }
.twwai-wz-gopt:active { transform: scale(.98); }
.twwai-wz-gopt.on { border-color: #2d7a3a; box-shadow: 0 0 0 2px rgba(45,122,58,.18); background: #f3fbf4; }
.twwai-wz-gopt-radio { font-size: 15px; color: #2d7a3a; flex: 0 0 auto; }
.twwai-wz-gopt-text { flex: 1 1 auto; min-width: 0; }
.twwai-wz-gopt-lbl { font-weight: 700; font-size: 13px; color: #1a2b4a; line-height: 1.2; }
.twwai-wz-gopt-hint { font-size: 11px; color: #6b7280; line-height: 1.25; margin-top: 1px; }
.twwai-wz-gopt-px { font-weight: 800; font-size: 12.5px; color: #2d7a3a; flex: 0 0 auto; }
.twwai-wz-gplaced { display: flex; align-items: center; gap: 7px; padding: 8px 0 2px; font-size: 13px; }
.twwai-wz-gplaced-tick { color: #2d7a3a; font-weight: 800; }
.twwai-wz-gplaced-lbl { font-weight: 700; color: #1a2b4a; }
.twwai-wz-gplaced-note { font-size: 11px; color: #9099a8; }
/* v1.34.220.125 — Imran 2026-06-17: keep the logo-placement presets as a tight
   2×2 grid on mobile too (was collapsing to 1 column). Front | Back / Front+Back |
   Custom — saves vertical space. Drop the hint line + tighten padding so two cells
   fit a phone width. */
@media (max-width: 420px) {
  .twwai-wz-gopts { grid-template-columns: 1fr 1fr; gap: 6px; }
  .twwai-wz-gopt { padding: 8px 9px; gap: 5px; }
  .twwai-wz-gopt-hint { display: none; }
  .twwai-wz-gopt-lbl { font-size: 12px; }
  .twwai-wz-gopt-px { font-size: 11.5px; }
}
