/* 外卖点餐页：沿用官网的“重庆夜色”（黑底、辣椒红、金色） */
.tk-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 16px 120px; }
.tk-title { font: 900 clamp(34px, 7vw, 56px)/1.1 var(--serif); margin: 6px 0 10px; letter-spacing: -.02em; }
.tk-lead { color: var(--muted); max-width: 640px; margin: 0 0 16px; font-size: 17px; }
.tk-gift-banner { display: inline-block; background: linear-gradient(135deg, rgba(240,182,90,.18), rgba(225,24,47,.18)); border: 1px solid rgba(240,182,90,.45);
  color: var(--gold-2); border-radius: 14px; padding: 12px 16px; font-weight: 600; margin-bottom: 18px; }
.tk-cats { position: sticky; top: 68px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin: 0 -16px 8px; padding-left: 16px; padding-right: 16px;
  background: rgba(13,8,7,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.tk-cats::-webkit-scrollbar { display: none; }
.tk-cat { flex: none; text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-weight: 600; font-size: 15px; color: var(--text); }
.tk-cat:hover { border-color: var(--gold); color: var(--gold-2); }
.tk-sec { scroll-margin-top: 130px; margin-top: 18px; }
.tk-sec-h { font: 900 26px var(--serif); color: var(--gold-2); margin: 10px 0 12px; }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tk-item { display: flex; gap: 12px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 10px; align-items: stretch; }
.tk-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; flex: none; background: var(--ink-3); }
.tk-item.off { opacity: .5; }
.tk-item-b { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tk-item-n { font-weight: 700; font-size: 16px; line-height: 1.3; }
.tk-item-zh { color: var(--muted); font-size: 14px; }
.tk-item-r { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.tk-price { font-weight: 800; color: var(--gold-2); font-size: 17px; }
.tk-out { color: var(--muted); font-size: 14px; }
.tk-step { display: flex; align-items: center; gap: 6px; }
.tk-add { border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 15px var(--sans); padding: 0 16px; min-height: 42px; cursor: pointer; }
.tk-pm { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-3); color: var(--text); font: 700 22px var(--sans); cursor: pointer; }
.tk-q { min-width: 24px; text-align: center; font-weight: 800; font-size: 17px; }

.tk-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: center; }
.tk-bar-btn { width: min(100%, 560px); min-height: 60px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 800 18px var(--sans);
  background: linear-gradient(135deg, var(--red-2), var(--red) 45%, var(--red-deep)); box-shadow: 0 14px 40px rgba(225,24,47,.5); }

.tk-sheet-shade { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 70; }
.tk-sheet { position: fixed; z-index: 71; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: linear-gradient(180deg, #1c110e, #0d0807);
  border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
@media (min-width: 700px) { .tk-sheet { left: 50%; width: 600px; margin-left: -300px; } }
body.tk-lock { overflow: hidden; }
.tk-sheet-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tk-sheet-h h2 { margin: 0; font: 900 24px var(--serif); }
.tk-x { border: 0; background: rgba(255,255,255,.08); color: var(--text); width: 44px; height: 44px; border-radius: 12px; font-size: 18px; cursor: pointer; }
.tk-back { border: 0; background: none; color: var(--muted); font: 600 16px var(--sans); cursor: pointer; padding: 8px 0; }
.tk-h2 { font: 900 24px var(--serif); margin: 4px 0 12px; }
.tk-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.tk-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tk-line-n { display: grid; } .tk-line-t { min-width: 70px; text-align: right; }
.tk-gift { border: 1px dashed rgba(240,182,90,.5); border-radius: 14px; padding: 12px 14px; margin: 8px 0 12px; color: var(--gold-2); }
.tk-gift p { margin: 0 0 8px; font-weight: 600; }
.tk-gift.ok { border-style: solid; background: rgba(240,182,90,.08); }
.tk-prog { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.tk-prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 99px; }
.tk-gift-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tk-gift-b, .tk-seg button, .tk-chips button { min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-3); color: var(--text); font: 700 16px var(--sans); cursor: pointer; padding: 0 12px; }
.tk-gift-b.sel, .tk-seg button.sel, .tk-chips button.sel { background: var(--red); border-color: var(--red); color: #fff; }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin: 12px 0 4px; }
.tk-total strong { font-size: 24px; color: var(--gold-2); }
.tk-pay { color: var(--muted); font-size: 15px; margin: 4px 0 10px; }
.tk-err { color: #ff8a8a; min-height: 1.2em; margin: 4px 0; font-weight: 600; }
.tk-wide { width: 100%; margin-top: 8px; }
.tk-form { display: grid; gap: 12px; }
.tk-form label { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.tk-form input, .tk-form textarea, .tk-sel { font: 17px var(--sans); color: var(--text); background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; padding: 14px; width: 100%; }
.tk-form input:focus, .tk-form textarea:focus, .tk-sel:focus { outline: 2px solid var(--red); border-color: transparent; }
.tk-lbl { color: var(--muted); font-size: 15px; margin-bottom: -4px; }
.tk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-chips button { min-height: 44px; }
.tk-hint { color: var(--gold); font-size: 14px; margin: -4px 0 0; }
.tk-closed { border: 1px dashed var(--line); border-radius: 14px; padding: 16px; color: var(--muted); }
.tk-closed a { color: var(--gold-2); font-weight: 700; }
.tk-done { text-align: left; }
.tk-check { width: 56px; height: 56px; border-radius: 50%; background: #2e7d32; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 8px; }
.tk-done h2 { font: 900 28px var(--serif); margin: 0 0 8px; }
.tk-code { font-size: 20px; } .tk-code strong { font-family: ui-monospace, monospace; letter-spacing: 2px; color: var(--gold-2); }
.tk-status { font-weight: 700; }
@media (max-width: 520px) { .tk-grid { grid-template-columns: 1fr; } .tk-item img { width: 84px; height: 84px; } }

/* 选锅底口味的弹窗：选中 = 红底白字带 ✓，没选 = 深色描边 */
.tk-pick-shade { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 80; }
.tk-pick { position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 440px); max-height: 90vh; overflow-y: auto;
  background: #1c110e; border: 1px solid var(--line); border-radius: 22px; padding: 20px 18px 18px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.tk-pick h3 { margin: 0 44px 14px 0; font: 900 22px/1.3 var(--serif); }
.tk-pick-x { position: absolute; top: 12px; right: 12px; }
.tk-pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tk-pick-b { min-height: 56px; border-radius: 14px; border: 2px solid rgba(255,228,200,.25); background: transparent; color: var(--text); font: 700 17px var(--sans); cursor: pointer; }
.tk-pick-b.sel { background: var(--red); border-color: var(--red); color: #fff; }
.tk-pick-b.sel::before { content: "✓ "; }
.tk-pick-left { color: var(--gold); min-height: 1.3em; margin: 10px 0 0; font-weight: 600; }
.tk-pick .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.tk-line-br { color: var(--gold-2); font-weight: 600; }
.tk-sauces { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.tk-sauces button { border: 1px solid rgba(255,255,255,.25); background: transparent; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.tk-sauces button.sel { background: #e1182f; border-color: #e1182f; color: #fff; }
.tk-sauces button.sel::before { content: "✓ "; }
