/* /fitur/kasir — kasir gelap, PIN & shift, pembayaran, nota, promo, offline */
.kx-stage { padding: 0 0 34px; }

/* kasir gelap (hero) */
.kx-pos { font-size: 12px; }
.kx-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-bottom: 1px solid #223135; color: #a9bfc3; font-size: 11.5px; }
.kx-who { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.kx-ava { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 9.5px; font-weight: 800; }
.kx-on { display: inline-flex; align-items: center; gap: 6px; color: #7fd7a0; font-weight: 700; }
.kx-on i { width: 7px; height: 7px; border-radius: 50%; background: #34c46b; }
.kx-body { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 320px; }
.kx-left { padding: 14px; border-right: 1px solid #223135; min-width: 0; }
.kx-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #1a2629; color: #8ba3a8; white-space: nowrap; overflow: hidden; }
.kx-search [data-lucide] { width: 15px; height: 15px; }
.kx-cats { display: flex; gap: 6px; margin: 12px 0; flex-wrap: wrap; }
.kx-cats > * { padding: 4px 10px; border-radius: 999px; background: #1a2629; color: #a9bfc3; font-weight: 600; font-size: 11px; }
.kx-cats b { background: var(--orange); color: #1a1006; }
.kx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kx-tile { border-radius: 10px; padding: 9px; min-height: 70px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.kx-tile b { font-size: 11.5px; line-height: 1.25; }
.kx-tile small { font-size: 10.5px; opacity: .85; margin-top: 2px; }
.kx-tile.t1 { background: #2f8796; } .kx-tile.t2 { background: #c2560a; } .kx-tile.t3 { background: #1b5c67; }
.kx-tile.t4 { background: #5d7a2a; } .kx-tile.t5 { background: #a64808; } .kx-tile.t6 { background: #23707d; }
.kx-cart { padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.kx-cart .mock-row { border-color: #2a3a3e; color: #d5e2e4; }
.kx-cart .mock-row em { font-style: normal; color: #8ba3a8; }
.kx-cart .kx-disc { color: #f8b46a; }
.kx-cart .kx-cust { color: #9fd6df; }
.kx-cart .kx-cust [data-lucide] { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.kx-cart-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 6px; }
.kx-cart-h b { color: #fff; font-size: 13px; }
.kx-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; font-size: 13px; color: #a9bfc3; }
.kx-total b { font-size: 19px; color: #fff; letter-spacing: -.02em; }
.kx-acts { display: grid; grid-template-columns: auto 1fr; gap: 6px; margin-top: 10px; }
.kx-acts span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 10px; border-radius: 10px; background: #1a2629; color: #cfe0e3; font-weight: 700; font-size: 11.5px; }
.kx-acts span [data-lucide] { width: 13px; height: 13px; }
.kx-acts .go { background: var(--orange-600); color: #fff; font-weight: 800; }
.kx-fn1 { left: -22px; bottom: 0; }

/* PIN & tutup shift */
.kx-shift { position: relative; padding: 0 0 70px; max-width: 570px; margin: 0 auto; }
.kx-lock { width: 300px; background: linear-gradient(160deg, #1b2f34, #10181a 70%); }
.kx-lock-in { padding: 22px 22px 24px; text-align: center; color: #d7e8eb; }
.kx-lock-t { font-size: 11px; color: #8ba3a8; font-weight: 600; }
.kx-staff { display: flex; justify-content: center; gap: 12px; margin: 16px 0 14px; }
.kx-staff span { display: grid; justify-items: center; gap: 5px; font-size: 11px; color: #a9bfc3; font-weight: 600; }
.kx-staff i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: #22343a; color: #cfe0e3; font-size: 12px; }
.kx-staff .on i { background: var(--orange); color: #1a1006; box-shadow: 0 0 0 3px rgba(245, 137, 30, .3); }
.kx-staff .on { color: #fff; }
.kx-dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.kx-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #5d7a80; }
.kx-dots i.f { background: #fff; border-color: #fff; }
.kx-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kx-keys span { display: grid; place-items: center; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 15px; color: #fff; }
.kx-keys span.g { background: transparent; }
.kx-keys [data-lucide] { width: 18px; height: 18px; color: #a9bfc3; }
.kx-recap { position: absolute; right: 0; bottom: 0; width: 270px; }
.kx-recap-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.kx-recap-h b { font-size: 14px; }
.kx-diff { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 6px; padding: 9px 11px; border-radius: 10px; background: #fdecec; color: var(--danger); font-weight: 700; }
.kx-diff b { font-size: 15px; }
.kx-recap small { font-size: 11px; }
.kx-note { margin-top: 18px; }

/* pembayaran */
.kx-paybox { max-width: 440px; margin: 0 auto; }
.kx-paytot { text-align: center; padding: 6px 0 14px; }
.kx-paytot small { display: block; color: var(--muted); font-size: 12px; }
.kx-paytot b { font-size: 30px; letter-spacing: -.03em; }
.kx-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kx-methods span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 12px; color: var(--ink-2); }
.kx-methods span.on { border-color: var(--teal); background: var(--teal-50); color: var(--teal-900); }
.kx-methods [data-lucide] { width: 20px; height: 20px; }
.kx-split { margin-top: 14px; padding: 4px 12px; border-radius: 12px; background: var(--bg-soft); }
.kx-split [data-lucide] { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 6px; color: var(--teal); }
.kx-paid { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px; border-radius: 12px; background: var(--ok-50); color: var(--ok); font-weight: 800; }
.kx-paid [data-lucide] { width: 18px; height: 18px; }

/* nota: 4 saluran */
.kx-nota-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kx-ch { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.kx-ch h3 { margin-top: 16px; font-size: 18px; }
.kx-ch p { margin: 8px 0 14px; color: var(--muted); font-size: 14.5px; }
.kx-phones { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; margin-top: 64px; }
.kx-ph-col { justify-self: center; }
.kx-phone { background: #f4f7f7; }
.kx-enota { font-size: 11.5px; }
.kx-en-h { display: grid; justify-items: center; gap: 4px; padding: 14px 12px 16px; background: var(--teal-700); color: #fff; text-align: center; }
.kx-en-h b { font-size: 14px; }
.kx-en-h small { opacity: .8; font-size: 10.5px; }
.kx-en-b { padding: 10px; display: grid; gap: 8px; }
.kx-en-c { background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 1px 2px rgba(13, 59, 67, .08); }
.kx-en-c.center { text-align: center; }
.kx-en-c small { display: block; color: var(--muted); font-size: 10.5px; }
.kx-en-c .big { display: block; font-size: 22px; letter-spacing: -.02em; margin: 2px 0 4px; }
.kx-ln { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.kx-ln.m { color: var(--orange-700); }
.kx-ln.t { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 5px; font-weight: 800; }
.kx-en-c.pts { background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: #fff; }
.kx-en-c.pts small { color: #bfe0e5; letter-spacing: .08em; font-weight: 700; }
.kx-en-c.pts b { font-size: 18px; }
.kx-stars { display: flex; justify-content: center; gap: 3px; margin-top: 5px; color: var(--orange); }
.kx-stars [data-lucide] { width: 18px; height: 18px; fill: currentColor; }
.kx-en-c.vou { background: var(--orange-50); }
.kx-en-c .code { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 16px; letter-spacing: .12em; margin: 3px 0; }
.kx-h3 { font-size: 24px; }
.kx-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.kx-cmp-c { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kx-cmp-c.o { border-color: var(--orange-100); }
.kx-cmp-c h4 { margin-top: 12px; }
.kx-cmp-c p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.kx-mt { margin-top: 22px; }

/* promo */
.kx-promos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kx-pr { display: grid; gap: 12px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kx-pr .card-icon { width: 40px; height: 40px; border-radius: 11px; }
.kx-pr .card-icon [data-lucide] { width: 20px; height: 20px; }
.kx-pr b { display: block; font-size: 15px; }
.kx-pr small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.45; }

/* offline */
.kx-off { max-width: 420px; margin: 0 auto; background: #10181a; border: 1px solid #223135; border-radius: 18px; padding: 18px; color: #d7e8eb; font-size: 13px; box-shadow: var(--shadow-lg); }
.kx-off-h { display: flex; gap: 12px; align-items: center; }
.kx-off-h small { display: block; color: #8ba3a8; font-size: 12px; }
.kx-off-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 137, 30, .16); color: var(--orange); }
.kx-off-ic [data-lucide] { width: 20px; height: 20px; }
.kx-off-q { display: flex; gap: 14px; align-items: center; margin: 16px 0 12px; padding: 14px; border-radius: 12px; background: #172225; }
.kx-off-q > b { font-size: 34px; line-height: 1; color: var(--orange); }
.kx-off-q small { display: block; color: #8ba3a8; font-size: 12px; }
.kx-off-l div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; border-bottom: 1px dashed #2a3a3e; color: #c4d6d9; }
.kx-off-l div:last-child { border-bottom: 0; }
.kx-off-s { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #7fd7a0; font-weight: 700; }
.kx-off-s [data-lucide] { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .kx-nota-grid { grid-template-columns: repeat(2, 1fr); }
  .kx-promos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .kx-phones { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .kx-body { grid-template-columns: 1fr; }
  .kx-left { border-right: 0; border-bottom: 1px solid #223135; }
  .kx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kx-tile { min-height: 58px; padding: 7px; }
  .kx-tile b { font-size: 10.5px; }
  .kx-shift { padding-bottom: 0; display: grid; gap: 16px; justify-items: center; }
  .kx-lock { width: 100%; max-width: 300px; }
  .kx-recap { position: static; width: 100%; max-width: 300px; }
  .kx-nota-grid, .kx-cmp { grid-template-columns: 1fr; }
  .kx-promos { grid-template-columns: 1fr 1fr; }
  .kx-methods span { font-size: 11px; }
  .kx-h3 { font-size: 21px; }
}
@media (max-width: 400px) { .kx-promos { grid-template-columns: 1fr; } }

/* opsi & topping: modal pilihan (gelap) + tiket dapur */
.kx-ops { display: block; margin-top: 2px; font-size: 10.5px; color: #8ba3a8; }
.kx-opt-stage { max-width: 520px; margin: 0 auto; width: 100%; padding-bottom: 130px; }
.kx-opt { width: 88%; font-size: 12px; background: linear-gradient(160deg, #1b2f34, #10181a 70%); }
.kx-opt-h { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 16px 12px; border-bottom: 1px solid #223135; color: #fff; }
.kx-opt-h b { display: block; font-size: 15px; }
.kx-opt-h small { color: #8ba3a8; font-size: 12px; }
.kx-opt-h [data-lucide] { width: 18px; height: 18px; color: #8ba3a8; }
.kx-og { padding: 12px 16px 0; }
.kx-og-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #d7e8eb; }
.kx-og-t span { color: #8ba3a8; font-size: 11px; }
.kx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.kx-chips span { padding: 6px 10px; border-radius: 999px; border: 1.5px solid #2a3a3e; color: #cfe0e3; font-weight: 600; font-size: 11.5px; }
.kx-chips span.on { border-color: var(--orange); background: rgba(245, 137, 30, .16); color: #fff; }
.kx-chips span.out { color: #6b8085; text-decoration: line-through; }
.kx-chips em { font-style: normal; color: #f8b46a; font-weight: 700; margin-left: 2px; }
.kx-chips span.out em { color: #f19a9a; text-decoration: none; display: inline-block; }
.kx-memo { display: flex; align-items: center; gap: 8px; margin: 14px 16px 0; padding: 9px 12px; border-radius: 10px; background: #1a2629; color: #a9bfc3; }
.kx-memo [data-lucide] { width: 14px; height: 14px; }
.kx-opt-f { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 14px 16px 16px; }
.kx-qty { display: inline-flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 10px; background: #1a2629; color: #fff; }
.kx-qty i { font-style: normal; color: #a9bfc3; font-weight: 800; font-size: 15px; }
.kx-opt-f .go { display: grid; place-items: center; padding: 11px; border-radius: 10px; background: var(--orange-600); color: #fff; font-weight: 800; }
.kx-tix { position: absolute; right: 0; bottom: 0; width: 230px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 12px; display: grid; gap: 3px; }
.kx-tix-h { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 7px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.kx-tix-h span { color: var(--muted); font-size: 11px; }
.kx-tix small { color: var(--ink-2); font-size: 11.5px; }
.kx-tix small.n { color: var(--orange-700); }
@media (max-width: 640px) {
  .kx-opt-stage { padding-bottom: 0; display: grid; gap: 14px; }
  .kx-opt { width: 100%; }
  .kx-tix { position: static; width: 100%; }
}

/* ---------- 18 Okt: diskon & persetujuan, mode kasir ---------- */
.kx-promos.kx-promos4 { grid-template-columns: repeat(4, 1fr); }
.kx-addon { font-size: 11px; font-weight: 800; padding: 2px 8px; }
.kx-foot { display: grid; gap: 2px; }
.kx-ap { position: relative; display: grid; gap: 14px; max-width: 460px; margin: 0 auto; }
.kx-ap-set { width: 300px; }
.kx-sw { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.kx-sw:last-child { border-bottom: 0; }
.kx-tg { width: 34px; height: 20px; border-radius: 999px; background: var(--line); position: relative; flex: none; }
.kx-tg i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.kx-tg.on { background: var(--teal); }
.kx-tg.on i { left: 17px; }
.kx-in { min-width: 46px; text-align: center; padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; }
.kx-ap-pin { width: 280px; justify-self: end; margin-top: -16px; background: linear-gradient(160deg, #1b2f34, #10181a 70%); }
.kx-ap-in { padding: 20px; text-align: center; color: #d7e8eb; display: grid; justify-items: center; gap: 4px; }
.kx-ap-in small { color: #a9bfc3; font-size: 11.5px; }
.kx-ap-in .kx-staff { margin: 10px 0 8px; }
.kx-ap-in .kx-dots { margin-bottom: 0; }
.kx-ap-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 137, 30, .16); color: var(--orange); }
.kx-ap-note { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; box-shadow: var(--shadow); }
.kx-ap-note [data-lucide] { width: 16px; height: 16px; color: var(--teal); flex: none; }
.kx-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kx-md { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.kx-md h3 { font-size: 18px; margin-top: 6px; }
.kx-md p { color: var(--ink-2); font-size: 15px; }
.kx-md small { margin-top: auto; font-size: 13px; }
@media (max-width: 1100px) { .kx-promos.kx-promos4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .kx-modes { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .kx-ap-set, .kx-ap-pin { width: 100%; max-width: 320px; }
  .kx-ap-pin { justify-self: start; margin-top: 0; }
  .kx-md { padding: 22px; }
}
@media (max-width: 400px) { .kx-promos.kx-promos4 { grid-template-columns: 1fr; } }
/* 18 Okt — HP: ilustrasi pendamping disembunyikan (ilustrasi utama tiap bagian tetap) */
@media (max-width: 640px) {
  .kx-lock, .kx-ap-set, .kx-tix { display: none; }
  .kx-phones { margin-top: 32px; gap: 28px; }
}
