/* Demo knob (demo builds only, build renders #demoKnob unless menu.json business.demo === false).
   Deliberately neutral: system font, near-black chip, never themed by the site's style/palette,
   so the owner reads it as a preview tool, not part of the zaak's site.
   Templates move it clear of their bottom bars via --knob-bottom (premium.css, basis order.css). */
.demo-knob,#demoPanel{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;color:#F4F5F7;letter-spacing:0;text-transform:none}
.demo-knob{position:fixed;left:max(12px,env(safe-area-inset-left));bottom:calc(var(--knob-bottom,16px) + env(safe-area-inset-bottom));z-index:45;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 12px;border:1px solid #3A3F47;border-radius:999px;background:#17191D;font-size:13px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 10px 24px -10px rgba(0,0,0,.55)}
.demo-knob svg{width:20px;height:20px;flex:none}
.demo-knob:hover{background:#23262B}
.demo-knob:focus-visible,#demoPanel :focus-visible{outline:2px solid #8AB4FF;outline-offset:2px}
.is-shot .demo-knob{display:none}
/* the warm-style add toast shares the bottom-left corner on phones: step aside while it shows */
:root:has(.cart-toast.is-on) .demo-knob{visibility:hidden}
@media(min-width:800px){.demo-knob{left:24px;bottom:24px}}

/* panel: native popover (Esc + outside click close for free), pinned above the knob */
#demoPanel{position:fixed;inset:auto auto calc(var(--knob-bottom,16px) + 56px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));margin:0;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 140px);overflow:auto;padding:14px;border:1px solid #3A3F47;border-radius:16px;background:#17191D;box-shadow:0 18px 40px -12px rgba(0,0,0,.6);font-size:14px;line-height:1.4}
@media(min-width:800px){#demoPanel{left:24px;bottom:80px}}
.dk-head{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.dk-title{flex:1;margin:0;font:inherit;font-size:15px;font-weight:700;color:#FFF}
.dk-tag{padding:3px 8px;border-radius:999px;background:#2E333B;color:#D5D9E0;font-size:12px;font-weight:600}
.dk-close{display:grid;place-items:center;width:44px;height:44px;margin:-10px -10px -10px 0;border:0;border-radius:999px;background:none;color:#D5D9E0;cursor:pointer}
.dk-close svg{width:20px;height:20px}
.dk-label{margin:12px 0 6px;font-size:12px;font-weight:600;color:#B9BFC8}
.dk-label:first-of-type{margin-top:0}
.dk-row{display:flex;flex-wrap:wrap;gap:6px}
.dk-chip{min-height:44px;padding:0 14px;border:1px solid #3A3F47;border-radius:999px;background:none;color:#F4F5F7;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.dk-chip[aria-pressed="true"]{background:#F4F5F7;border-color:#F4F5F7;color:#17191D}
/* color dot: 44px tap target, two-tone swatch (palettes.json swatch) inside */
.dk-dot{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:none;cursor:pointer}
.dk-dot[hidden]{display:none}
.dk-dot span{width:30px;height:30px;border-radius:999px;background:linear-gradient(135deg,var(--a) 0 55%,var(--b) 55% 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.dk-dot[aria-pressed="true"] span{box-shadow:0 0 0 2px #17191D,0 0 0 4px #F4F5F7}
.dk-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid #2E333B}
.dk-link{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:#D5D9E0;font-weight:600;text-decoration:underline;text-underline-offset:2px}
