/* Ordering demo on top of ../shared/base.css */
.branch-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.branch-row .chips { flex: 1; }
/* loyalty: the one bold move, stamps in the brand colour */
.loyal { padding: 14px 16px; }
.loyal-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.stamps { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 8px; }
.stamps span { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--hair-strong); display: grid; place-items: center; color: #fff; }
.stamps span.on { background: var(--accent); border: 0; }
.stamps svg { width: 14px; height: 14px; stroke-width: 2.4; }
/* most ordered strip */
.strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; }
.pick { position: relative; flex: none; width: 150px; min-height: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; text-align: start;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); }
.pick .addbtn { position: absolute; bottom: 10px; inset-inline-end: 10px; }
.pick[disabled] { opacity: .55; }
.addbtn { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.addbtn svg { width: 16px; height: 16px; stroke-width: 2.2; }
/* menu */
.catbar { position: sticky; top: -4px; z-index: 3; background: var(--canvas); margin: 20px -16px 0; padding: 8px 16px; border-bottom: 1px solid var(--hair); }
.mcat { margin-top: 18px; scroll-margin-top: 64px; }
.mcat .t-title { margin-bottom: 10px; }
.mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; min-height: 76px; text-align: start; }
.mrow + .mrow { border-top: 1px solid var(--hair); }
.mrow .grow { min-width: 0; }
.mrow[disabled] { opacity: .6; }
.mprice { font-weight: 600; color: var(--ink); font-size: 14.5px; margin-top: 4px; }
.cartbar { justify-content: space-between; }
.cartbar .cnt { min-width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 13px; }
/* item sheet */
.sheet-foot { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty .iconbtn { border: 1px solid var(--hair-strong); }
.qty .iconbtn[disabled] { opacity: .35; }
.qty .t-title, .qty .t-label { min-width: 22px; text-align: center; }
.chips .num { font-weight: 400; opacity: .75; }
/* cart */
.tabs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--sunken); padding: 4px; border-radius: var(--r-md); }
.tabs3 button { min-height: 56px; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.tabs3 button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.warn-text { color: var(--warn); }
.bill { padding: 12px 16px; margin-top: 16px; }
.bill-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; color: var(--ink); }
.bill-row.total { border-top: 1px solid var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.bill .t-meta svg { vertical-align: -3px; }
.radio-row.card { border: 1px solid var(--hair); }
/* tracking */
.track-hero { padding: 8px 0 16px; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.bars span { height: 6px; border-radius: 6px; background: var(--hair); }
.bars span.on { background: var(--ink); }
.note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: var(--sunken); color: var(--ink); font-size: 14.5px; }
.ord { padding: 4px 6px 4px 4px; }
.ord-main { display: block; width: 100%; padding: 10px 12px; text-align: start; }
.ord-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.ord .btn-quiet { margin-inline-start: 4px; }
/* cafe */
.stats.four { grid-template-columns: 1fr 1fr; }
.stats.four > div:nth-child(3) { border-inline-start: 0; }
.stats.four > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
.kcard { padding: 14px 16px; }
.kmeta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; color: var(--ink); }
.klist { margin: 10px 0 0; padding: 10px 0 0; list-style: none; border-top: 1px dashed var(--hair-strong); display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 15px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three .btn { min-height: 46px; font-size: 15px; padding: 0; }
.fresh-card { border-color: var(--accent-line); background: var(--accent-soft); }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; vertical-align: 1px; }
.mimg { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; flex: none; background: var(--sunken); }
