/* Guest app: order status, bill clarity, quantity limit, before-arrival welcome, preferences form */

/* order status line */
.ostat { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #e6eef1; color: var(--teal-dark); font-weight: 600; }
.ostat.st-new { background: #fbf1dc; color: #7a5410; }
.ostat.st-delivered { background: #e6f1ea; color: #1f5a40; }
.track .s { overflow-wrap: anywhere; }
.plustip { font-weight: 400; color: var(--muted); font-size: 0.85em; white-space: nowrap; }
.order .tot .num { text-align: right; }

/* cart sum + quantity limit */
.sumline { padding: 6px 0 8px; font-size: 0.98rem; }
.sumline strong { font-weight: 600; }
.step button.atmax { opacity: 0.4; }
.limitnote { color: var(--warn); font-style: normal; font-weight: 600; }

/* bill totals */
.btot .tipsblock { background: var(--sand-light); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.btot .tipsblock .tipsum { font-weight: 600; padding-top: 0; }
.btot .tipsblock .hint { margin-top: 8px; }
.btot .sumrow.total { font-size: 1.1rem; }

/* before arrival */
.welcome { background: var(--white); border: 1px solid var(--sand); }
.welcome h2 { margin: 0 0 8px; font-size: var(--fs-h3); line-height: 1.25; }
.welcome .wdates { margin: 0 0 4px; color: var(--navy); }
.welcome .wroom { margin: 0 0 14px; font-weight: 600; }
.prefsbtn { min-height: 52px; font-size: 1.05rem; }
.prefsbtn.done { background: #e6f1ea; color: #1f5a40; border: 1px solid #b9d8c7; }

/* preferences form */
.pf-back { position: fixed; inset: 0; z-index: 90; background: var(--cream); display: flex; justify-content: center; }
.pf-box { width: 100%; max-width: 560px; display: flex; flex-direction: column; height: 100%; background: var(--cream); }
.pf-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--sand); }
.pf-head h2 { margin: 0; font-size: var(--fs-h3); }
.pf-head .x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--navy); }
.pf-body { flex: 1; overflow-y: auto; padding: 14px 16px 24px; -webkit-overflow-scrolling: touch; }
.pf-intro { margin: 0 0 14px; color: var(--muted); }
.pf-sec { margin-bottom: 22px; }
.pf-sec h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--teal); }
.pf-lab { font-size: 0.9rem; color: var(--muted); margin: 0 0 6px; }
.pf-sec .field small.hint { display: block; margin-top: 4px; }
.pf-step { margin-bottom: 14px; }
.pf-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sand); background: var(--cream); }
.pf-thanks { padding-top: 40px; }

/* bill clarity + shop wording */
.adj .adjh { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--teal); }
.adj .sumrow > span:first-child { min-width: 0; padding-right: 10px; }
.adj .adjm { display: block; font-size: 0.82rem; color: var(--muted); }
.adjnote { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }
.shopnote { color: var(--teal); }
