/* Demonstração animada: cardápio no celular + PDV. Palco fixo de 960x680, escalado por fora. */
.tkd-stage { position: relative; width: 960px; height: 680px; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: #fafafa; -webkit-font-smoothing: antialiased; text-align: left; line-height: 1.3; }
.tkd-stage *, .tkd-stage *::before, .tkd-stage *::after { box-sizing: border-box; }
.tkd-stage svg { display: block; }
.tkd-stage p, .tkd-stage h3, .tkd-stage h4, .tkd-stage h5, .tkd-stage h6, .tkd-stage ol { margin: 0; padding: 0; }
.tkd-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tkd-cam { position: absolute; inset: 0; transform-origin: 0 0; }

/* ---------- celular ---------- */
.tkd-phone { position: absolute; left: 50px; top: 10px; width: 330px; height: 660px; border-radius: 48px; background: #1b1b1d; padding: 10px; box-shadow: 0 0 0 1.5px #3a3a3e, 0 30px 80px rgb(0 0 0 / .55), inset 0 0 0 2px #000; }
.tkd-screen { position: relative; width: 310px; height: 640px; border-radius: 39px; overflow: hidden; background: #111; }
.tkd-status { height: 30px; padding: 9px 26px 0; display: flex; justify-content: space-between; font-size: 12px; color: #fafafa; }
.tkd-status span { display: flex; gap: 3px; align-items: flex-end; }
.tkd-status i { width: 3px; background: #fafafa; border-radius: 1px; }
.tkd-status i:nth-child(1) { height: 5px; } .tkd-status i:nth-child(2) { height: 7px; } .tkd-status i:nth-child(3) { height: 9px; }
.tkd-status em { width: 20px; height: 9px; border: 1.5px solid #fafafa; border-radius: 3px; margin-left: 4px; background: linear-gradient(90deg, #fafafa 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.tkd-url { height: 34px; padding: 3px 14px 0; }
.tkd-url__pill { height: 26px; border-radius: 13px; background: #222; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #d4d4d4; }
.tkd-url__pill svg { width: 10px; height: 10px; color: #a3a3a3; }
.tkd-view { position: absolute; left: 0; right: 0; top: 64px; bottom: 0; overflow: hidden; background: #111; }
.tkd-scroll { position: absolute; left: 0; right: 0; top: 0; }

.tkd-head { text-align: center; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.tkd-banner { position: relative; height: 104px; overflow: hidden; }
.tkd-banner > svg { width: 100%; height: 100%; }
.tkd-bagbtn { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border-radius: 17px; background: rgb(17 17 17 / .55); border: 1px solid rgb(255 255 255 / .2); display: grid; place-items: center; color: #fff; }
.tkd-bagbtn svg { width: 16px; height: 16px; }
.tkd-bagcount { opacity: 0; position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: #FF8A00; color: #111; font: 800 9px/16px "Inter", sans-serif; text-align: center; font-style: normal; }
.tkd-logo { width: 86px; height: 86px; margin: -43px auto 0; position: relative; border-radius: 50%; border: 4px solid #111; box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 8px 24px rgb(0 0 0 / .5); overflow: hidden; background: #1a1410; }
.tkd-logo svg { width: 100%; height: 100%; }
.tkd-name { margin-top: 8px !important; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.tkd-open { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11px; font-weight: 500; color: #34d399; }
.tkd-open i { width: 6px; height: 6px; border-radius: 3px; background: #34d399; }
.tkd-slogan { margin-top: 5px !important; font-size: 12px; color: #d4d4d4; }
.tkd-info { margin-top: 6px !important; display: flex; justify-content: center; gap: 12px; font-size: 11px; color: #a3a3a3; }
.tkd-info span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: #FF8A00; margin-right: 5px; vertical-align: 1px; }

.tkd-nav { background: rgb(23 23 23 / .97); border-bottom: 1px solid #262626; padding: 10px 12px 10px; }
.tkd-search { height: 34px; border-radius: 11px; background: #262626; border: 1px solid #404040; display: flex; align-items: center; gap: 8px; padding: 0 11px; font-size: 12px; color: #a3a3a3; }
.tkd-search svg { width: 14px; height: 14px; }
.tkd-chips { position: relative; display: flex; gap: 6px; margin-top: 9px; }
.tkd-chips span { position: relative; z-index: 1; padding: 6px 11px; border-radius: 99px; background: #262626; font-size: 11.5px; font-weight: 600; color: #d4d4d4; white-space: nowrap; }
.tkd-nav:not(.tkd-stick) .tkd-chips span:first-child { background: #FF8A00; color: #111; }
.tkd-stick { position: absolute; left: 0; right: 0; top: 0; z-index: 5; opacity: 0; box-shadow: 0 6px 16px rgb(0 0 0 / .45); }
.tkd-stick .tkd-chips span { background: transparent; }
.tkd-stick .tkd-chips { }
.tkd-ind { position: absolute; z-index: 0; left: 0; top: 0; height: 100%; border-radius: 99px; background: #FF8A00; }
.tkd-stick .tkd-chips::before { content: ""; position: absolute; inset: 0; }
.tkd-chipbg { }

.tkd-sec { padding: 16px 14px 4px; font-size: 15px; font-weight: 700; color: #fafafa; }
.tkd-item { position: relative; display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #1f1f1f; }
.tkd-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tkd-item b { font-size: 14px; font-weight: 700; color: #fafafa; }
.tkd-item small { margin-top: 2px; font-size: 11px; line-height: 1.4; color: #a3a3a3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tkd-item strong { margin-top: 6px; font-size: 14px; font-weight: 800; color: #f59e0b; }
.tkd-foto { flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 1px solid #262626; }
.tkd-add { position: absolute; right: 100px; bottom: 12px; width: 26px; height: 26px; border-radius: 13px; background: #FF8A00; color: #111; display: grid; place-items: center; }
.tkd-add svg { width: 13px; height: 13px; }
.tkd-item--alvo::after { content: ""; position: absolute; inset: 4px 6px; border-radius: 14px; background: rgb(255 138 0 / .14); box-shadow: inset 0 0 0 1.5px rgb(255 138 0 / .6); opacity: var(--hl, 0); }

/* toque */
.tkd-tap { position: absolute; z-index: 30; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgb(255 255 255 / .35); box-shadow: 0 0 0 2px rgb(255 255 255 / .7); opacity: 0; pointer-events: none; }

/* barra da sacola */
.tkd-cartbar { position: absolute; z-index: 6; left: 12px; right: 12px; bottom: 14px; height: 48px; border-radius: 14px; background: #FF8A00; color: #111; display: flex; align-items: center; gap: 10px; padding: 0 14px; box-shadow: 0 10px 24px rgb(0 0 0 / .5); opacity: 0; }
.tkd-cartbar__n { width: 22px; height: 22px; border-radius: 11px; background: #111; color: #FFB300; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.tkd-cartbar b { flex: 1; font-size: 14px; }
.tkd-cartbar strong { font-size: 14px; font-weight: 800; }

.tkd-shade { position: absolute; z-index: 9; inset: 0; background: rgb(0 0 0 / .6); opacity: 0; }

/* folhas que sobem */
.tkd-sheet { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; background: #171717; border-radius: 22px 22px 0 0; border-top: 1px solid #2a2a2a; overflow: hidden; transform: translateY(105%); display: flex; flex-direction: column; }
.tkd-item-sheet { height: 540px; }
.tkd-sheet__foto { width: 100%; height: 150px; }
.tkd-sheet__body { flex: 1; padding: 14px 16px 0; }
.tkd-sheet h4 { font-size: 18px; font-weight: 700; }
.tkd-sheet__body > p { margin-top: 3px; font-size: 11.5px; color: #a3a3a3; }
.tkd-sheet h6 { margin-top: 14px; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: #fafafa; display: flex; justify-content: space-between; }
.tkd-sheet h6 small { font-weight: 500; color: #737373; font-size: 11px; }
.tkd-opt { display: flex; align-items: center; gap: 10px; height: 38px; border-bottom: 1px solid #262626; font-size: 12.5px; color: #e5e5e5; }
.tkd-opt em { margin-left: auto; font-style: normal; color: #f59e0b; font-weight: 600; font-size: 12px; }
.tkd-box { position: relative; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #525252; display: grid; place-items: center; }
.tkd-box svg { width: 13px; height: 13px; color: #111; position: relative; z-index: 1; opacity: 0; }
.tkd-box::before { content: ""; position: absolute; inset: -1.5px; border-radius: 6px; background: #FF8A00; transform: scale(var(--on, 0)); }
.tkd-obsfield { position: relative; height: 36px; border-radius: 10px; background: #262626; border: 1px solid #404040; font-size: 12px; }
.tkd-obsfield span { position: absolute; left: 11px; top: 0; line-height: 34px; white-space: nowrap; }
.tkd-obsph { color: #737373; }
.tkd-obstxt { color: #fafafa; clip-path: inset(0 100% 0 0); }
.tkd-sheet__foot { display: flex; gap: 10px; align-items: center; padding: 12px 14px 16px; border-top: 1px solid #262626; }
.tkd-qty { height: 42px; border-radius: 12px; border: 1px solid #404040; padding: 0 12px; display: grid; place-items: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tkd-addbtn { position: relative; flex: 1; height: 42px; border-radius: 12px; background: #FF8A00; color: #111; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 13px; font-weight: 800; }
.tkd-addbtn--full { justify-content: center; }
.tkd-prices { position: relative; width: 66px; height: 16px; }
.tkd-prices em { position: absolute; right: 0; top: 0; font-style: normal; white-space: nowrap; }
.tkd-pr1, .tkd-pr2 { opacity: 0; }

.tkd-cart { height: 410px; }
.tkd-line { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid #262626; }
.tkd-line > div { flex: 1; min-width: 0; }
.tkd-line b { display: block; font-size: 13px; }
.tkd-line small { font-size: 11px; color: #a3a3a3; }
.tkd-line strong { font-size: 13px; font-weight: 700; white-space: nowrap; }
.tkd-line--ent { position: relative; }
.tkd-line--ent::before { content: ""; position: absolute; inset: 3px -8px; border-radius: 10px; background: rgb(255 138 0 / .14); box-shadow: inset 0 0 0 1.5px rgb(255 138 0 / .55); opacity: var(--hl, 0); }
.tkd-total { display: flex; justify-content: space-between; padding: 12px 0 2px; font-size: 14px; }
.tkd-total b { font-size: 17px; color: #f59e0b; }
.tkd-pays { display: flex; gap: 6px; }
.tkd-pay { position: relative; padding: 8px 11px; border-radius: 10px; border: 1px solid #404040; font-size: 11.5px; font-weight: 600; color: #d4d4d4; white-space: nowrap; }
.tkd-pay--pix::before { content: ""; position: absolute; inset: -1px; border-radius: 10px; border: 2px solid #FF8A00; background: rgb(255 138 0 / .12); opacity: var(--on, 0); }

/* telas cheias (Pix e acompanhamento) */
.tkd-full { position: absolute; z-index: 12; inset: 0; background: #111; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateX(105%); }
.tkd-full h4 { font-size: 20px; font-weight: 700; }
.tkd-full > p { margin-top: 4px; font-size: 12px; color: #a3a3a3; }
.tkd-qr { margin-top: 22px; padding: 12px; border-radius: 16px; background: #fff; }
.tkd-qr img { display: block; width: 150px; height: 150px; }
.tkd-pix__val { margin-top: 16px; font-size: 26px; font-weight: 800; color: #f59e0b; }
.tkd-copy { position: relative; margin-top: 14px; width: 100%; height: 44px; border-radius: 12px; background: #FF8A00; color: #111; font-size: 13.5px; font-weight: 800; }
.tkd-copy em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-style: normal; }
.tkd-copy em svg { width: 14px; height: 14px; }
.tkd-copy1 { opacity: 0; background: #10b981; border-radius: 12px; color: #fff; }
.tkd-wait { position: relative; margin-top: 16px; width: 100%; height: 30px; font-size: 11.5px; }
.tkd-wait > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tkd-wait0 { color: #fbbf24; }
.tkd-wait0 i { width: 8px; height: 8px; border-radius: 4px; background: #fbbf24; }
.tkd-wait1 { color: #34d399; font-weight: 700; opacity: 0; }
.tkd-wait1 svg { width: 14px; height: 14px; }

.tkd-track { align-items: stretch; text-align: left; }
.tkd-track h4, .tkd-track > p { text-align: center; }
.tkd-steps { list-style: none; margin-top: 26px !important; display: grid; gap: 0; }
.tkd-steps li { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding-bottom: 20px; opacity: .38; }
.tkd-steps li::before { content: ""; position: absolute; left: 14px; top: 28px; bottom: 0; width: 2px; background: #333; }
.tkd-steps li:last-child::before { display: none; }
.tkd-steps b { font-size: 14px; font-weight: 700; align-self: center; }
.tkd-steps small { grid-column: 2; font-size: 11.5px; color: #a3a3a3; }
.tkd-dot { grid-row: span 2; width: 30px; height: 30px; border-radius: 15px; border: 2px solid #404040; display: grid; place-items: center; color: #111; background: #111; position: relative; z-index: 1; }
.tkd-dot svg { width: 15px; height: 15px; opacity: 0; }
.tkd-steps li.tkd-st4 .tkd-dot svg { color: #111; }
.tkd-bar { margin-top: 6px; height: 6px; border-radius: 3px; background: #262626; overflow: hidden; }
.tkd-bar i { display: block; height: 100%; width: 100%; background: #FF8A00; transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- PDV ---------- */
.tkd-pdv { position: absolute; left: 430px; top: 84px; width: 500px; height: 430px; border-radius: 14px; overflow: hidden; background: #f4f4f5; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 70px rgb(0 0 0 / .5); color: #18181b; }
.tkd-pdv__bar { height: 36px; background: #18181b; color: #d4d4d8; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.tkd-dots { display: flex; gap: 5px; }
.tkd-dots i { width: 9px; height: 9px; border-radius: 5px; background: #3f3f46; }
.tkd-pdv__title { flex: 1; }
.tkd-bell { width: 26px; height: 26px; border-radius: 13px; background: #27272a; display: grid; place-items: center; color: #fbbf24; transform-origin: 50% 20%; }
.tkd-bell svg { width: 15px; height: 15px; }
.tkd-alert { position: absolute; z-index: 4; left: 10px; right: 10px; bottom: 10px; height: 34px; border-radius: 10px; background: #dc2626; color: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; box-shadow: 0 8px 20px rgb(220 38 38 / .35); opacity: 0; }
.tkd-alert svg { width: 15px; height: 15px; }
.tkd-alert b { font-weight: 800; }
.tkd-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; height: calc(100% - 36px); }
.tkd-col { background: rgb(228 228 231 / .75); border: 1px solid rgb(212 212 216 / .9); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.tkd-col h4 { background: #fff; border-radius: 14px 14px 0 0; border-top: 4px solid var(--c); border-bottom: 1px solid #e4e4e7; padding: 9px 10px; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; }
.tkd-cnt { position: relative; min-width: 20px; height: 18px; border-radius: 9px; background: var(--c); color: #fff; font-size: 10px; }
.tkd-cnt em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; }
.tkd-n1, .tkd-p2, .tkd-s2 { opacity: 0; }
.tkd-card { background: #fff; border: 1px solid #e4e4e7; border-radius: 11px; margin: 0 7px; padding: 8px 9px; display: grid; gap: 4px; box-shadow: 0 1px 2px rgb(0 0 0 / .05); font-size: 10.5px; }
.tkd-card__top { display: flex; align-items: center; gap: 5px; padding-bottom: 4px; border-bottom: 1px solid #f4f4f5; }
.tkd-card__top b { font-size: 11.5px; font-weight: 900; }
.tkd-card__top em { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 700; color: #71717a; }
.tkd-tag { font-size: 7.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; border-radius: 5px; padding: 2px 5px; white-space: nowrap; }
.tkd-tag--site { background: #fef3c7; color: #92400e; } .tkd-tag--zap { background: #dcfce7; color: #166534; } .tkd-tag--ifood { background: #fee2e2; color: #991b1b; }
.tkd-card__name { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.tkd-card__name b { font-size: 11.5px; font-weight: 800; }
.tkd-card__name strong { font-size: 11.5px; font-weight: 900; color: #047857; }
.tkd-card p { color: #52525b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkd-card .tkd-obs { color: #b45309; font-weight: 600; }
.tkd-moto b { color: #7e22ce; }
.tkd-new { position: absolute; z-index: 3; left: 10px; top: 54px; width: calc((100% - 36px) / 3 - 14px); margin-left: 7px; margin-right: 0; opacity: 0; }
.tkd-card__pix { position: relative; height: 18px; }
.tkd-card__pix span { position: absolute; inset: 0; border-radius: 6px; display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.tkd-pixwait { background: #fef3c7; color: #92400e; }
.tkd-pixok { background: #d1fae5; color: #065f46; opacity: 0; }
.tkd-card__btn { position: relative; height: 26px; }
.tkd-card__btn > span { position: absolute; inset: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10.5px; font-weight: 800; }
.tkd-btn-confirm { background: #d97706; color: #fff; }
.tkd-btn-ok { background: #059669; color: #fff; opacity: 0; }
.tkd-btn-ok svg { width: 11px; height: 11px; }
.tkd-btn-moto { background: #9333ea; color: #fff; opacity: 0; }
.tkd-pointer { position: absolute; z-index: 8; left: 0; top: 0; width: 26px; height: 26px; opacity: 0; }
.tkd-pointer svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .35)); }

/* comanda */
.tkd-slipwrap { position: absolute; left: 690px; top: 514px; width: 200px; height: 166px; overflow: hidden; }
.tkd-slip { width: 180px; margin: 0 auto; background: #fbfbf8; color: #222; border-radius: 0 0 4px 4px; padding: 10px 12px 12px; font: 600 9px/1.45 "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace; display: flex; flex-direction: column; box-shadow: 0 10px 24px rgb(0 0 0 / .4); transform: translateY(-105%); white-space: pre; }
.tkd-slip b { font-weight: 800; text-align: center; }
.tkd-slip hr { border: 0; border-top: 1px dashed #999; margin: 4px 0; width: 100%; }
