/* Demo-only chrome. The pages themselves use the real app styles. */
.oml-demo-banner { align-items: center; background: linear-gradient(100deg, var(--oml-color-charcoal) 0%, var(--oml-color-primary-dark) 100%); border-bottom: 3px solid var(--oml-color-secondary); color: var(--oml-color-white); display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; padding: 10px 18px; position: relative; z-index: 80; }
.oml-demo-banner__lead { align-items: center; display: flex; gap: 10px; min-width: 0; }
.oml-demo-banner__badge { background: var(--oml-color-lime); border-radius: var(--oml-radius-pill); color: #1f3004; flex-shrink: 0; font: 800 12px var(--oml-font-body); letter-spacing: 0.02em; padding: 5px 11px; }
.oml-demo-banner p { color: rgba(255, 255, 255, 0.92); font-size: 14px; margin: 0; }
.oml-demo-banner__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.oml-demo-banner__btn { align-items: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--oml-radius-pill); color: var(--oml-color-white); cursor: pointer; display: inline-flex; font: 600 13px var(--oml-font-body); justify-content: center; line-height: 1.1; min-height: 36px; padding: 0 16px; text-align: center; text-decoration: none; transition: background 120ms ease, transform 120ms ease; }
.oml-demo-banner__btn:hover { background: rgba(255, 255, 255, 0.2); }
.oml-demo-banner__btn--solid { background: var(--oml-color-secondary); border-color: var(--oml-color-secondary); box-shadow: 0 6px 16px rgba(214, 65, 97, 0.4); font-weight: 700; order: 4; }
.oml-demo-banner__btn--solid:hover { background: var(--oml-color-secondary-dark); }
.oml-demo-banner__btn:active { opacity: 0.75; transform: scale(0.97); }
/* Phone: the note on its own line, "Start selling" full width under it, then the three smaller buttons side by side. */
.oml-is-mobile .oml-demo-banner { gap: 8px; padding: 10px 14px 12px; }
.oml-is-mobile .oml-demo-banner__lead { width: 100%; }
.oml-is-mobile .oml-demo-banner p { font-size: 13px; }
.oml-is-mobile .oml-demo-banner__actions { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); width: 100%; }
.oml-is-mobile .oml-demo-banner__btn { font-size: 13px; padding: 0 8px; }
.oml-is-mobile .oml-demo-banner__btn--solid { grid-column: 1 / -1; order: -1; }
.oml-install-banner { display: none !important; }
/* Kitchen / Customer switch in the demo bar. */
.oml-demo-switch { background: rgba(255, 255, 255, 0.14); border-radius: var(--oml-radius-pill); display: inline-flex; padding: 3px; }
.oml-demo-switch__option { border-radius: var(--oml-radius-pill); color: var(--oml-color-white); font: 700 13px var(--oml-font-body); line-height: 1; min-height: 32px; padding: 9px 20px; text-align: center; text-decoration: none; transition: background 120ms ease; }
.oml-demo-switch__option:hover { background: rgba(255, 255, 255, 0.18); }
.oml-demo-switch__option[aria-current="page"] { background: var(--oml-color-white); color: var(--oml-color-charcoal); cursor: default; }
.oml-is-mobile .oml-demo-switch { display: flex; width: 100%; }
.oml-is-mobile .oml-demo-switch__option { flex: 1; padding: 11px 8px; }
/* The hint under the page heading in the customer demo. */
.oml-demo-note { color: var(--oml-color-ink, #221d2e); font-size: 14px; margin: 0 auto 16px; max-width: 60ch; text-align: center; }
/* The sign in links in the page header would send a demo visitor away; the bar above already offers the way out. */
.oml-demo-banner ~ .oml-navbar--guest .oml-navbar__actions { display: none; }
/* The demo has its own Kitchen / Customer switch in the bar at the top, so the dashboard's own switch is not shown. */
.oml-demo-banner ~ .oml-app-shell .oml-mode-switch { display: none; }

/* The demo bar always wears the app's own colours. A kitchen's brand colours (set on the page when you open its menu) must not change it. */
.oml-demo-banner { --oml-color-primary: #6a5b94; --oml-color-primary-dark: #554879; --oml-color-secondary: #d64161; --oml-color-secondary-dark: #b93151; }

/* Customer demo on a phone: Reset demo sits on the left and Main menu on the right. */
.oml-is-mobile .oml-demo-banner__actions--two { grid-template-columns: repeat(2, 1fr); }
