/* ==========================================================================
   style.css — design tokens, komponen bersama, menu pelanggan, landing page
   Palet: charcoal + putih + hijau emerald; aksen oranye untuk status pesanan.
   ========================================================================== */
:root {
  --bg: #f6f4f3; --surface: #ffffff; --surface-2: #faf8f7; --surface-3: #f3efee;
  --text: #1f1614; --text-2: #4c413e; --muted: #726663; --border: #e8e3e1; --border-2: #d8d2cf;
  --primary: #e11d2e; --primary-600: #c2121f; --primary-700: #9b0f1a; --primary-soft: #fdecee; --on-primary: #fff;
  --orange: #f59e0b; --orange-soft: #fff4dc; --orange-700: #b45309;
  --red: #ef4444; --red-soft: #fde8e8; --red-700: #b91c1c;
  --blue: #3b82f6; --blue-soft: #e3eefe; --blue-700: #1d4ed8;
  --purple: #8b5cf6; --purple-soft: #efe9fe;
  --ok: #16a34a; --ok-soft: #dcfce7; --ok-700: #15803d; --green-700: #15803d;
  --price: #e0482b;
  --charcoal: #171210; --charcoal-2: #221b18; --charcoal-3: #2f2623;
  --shadow-sm: 0 1px 2px rgba(32,16,17, .06); --shadow: 0 6px 20px rgba(32,16,17, .08); --shadow-lg: 0 18px 50px rgba(32,16,17, .18);
  --radius: 14px; --radius-sm: 10px; --radius-lg: 20px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #120e0c; --surface: #1d1614; --surface-2: #231c1a; --surface-3: #2b2220;
  --text: #efe9e7; --text-2: #cfc6c3; --muted: #a09490; --border: #332926; --border-2: #453834;
  --primary: #e11d2e; --primary-600: #ff5a47; --primary-700: #ffb08a; --primary-soft: #3b1418;
  --orange-soft: #3a2c0c; --orange-700: #fbbf24; --red-soft: #3c1618; --red-700: #fca5a5; --blue-soft: #14274a; --blue-700: #93c5fd; --purple-soft: #2a1f4d;
  --ok-soft: #11361f; --ok-700: #86efac; --green-700: #86efac; --price: #ff7a59;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 8px 24px rgba(0, 0, 0, .35); --shadow-lg: 0 20px 60px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background .25s var(--ease), color .25s var(--ease); }
img { max-width: 100%; display: block; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(225,29,46,0.55); outline-offset: 2px; border-radius: 6px; }
.no-scroll { overflow: hidden; }
i[data-lucide], svg.lucide { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; stroke-width: 2; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.text-danger { color: var(--red); } .text-success { color: var(--ok-700); } .text-warn { color: var(--orange-700); }
.ta-r { text-align: right; } .ta-c { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 600; font-size: 14.5px; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 4px 14px rgba(225,29,46,0.35); }
.btn-primary:hover:not(:disabled) { background: var(--primary-600); }
.btn-soft { background: var(--primary-soft); color: var(--primary-700); }
.btn-soft:hover:not(:disabled) { background: var(--primary-soft); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-outline:hover:not(:disabled) { background: var(--surface-3); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #dc2626; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; } .btn-row.stack { flex-direction: column; } .btn-stack { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; background: transparent; color: var(--text-2); border-radius: 12px; transition: background .2s, color .2s; text-decoration: none !important; position: relative; }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 9px; font-size: 14px; }
.icon-btn.danger:hover { background: var(--red-soft); color: var(--red); }
.icon-btn.ok:hover { background: var(--ok-soft); color: var(--ok-700); }
.icon-btn.on { background: var(--primary-soft); color: var(--primary-600); }
.link { font-weight: 600; font-size: 13.5px; } .link-danger { background: none; border: 0; color: var(--red); font-weight: 600; font-size: 13.5px; padding: 4px 6px; }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { min-width: 0; } .field.span2, .span2 { grid-column: 1 / -1; } .field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
label, .lbl { display: block; font-weight: 600; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.lbl { margin-top: 14px; } .req { color: var(--red); }
input[type=text], input[type=number], input[type=search], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=datetime-local], input[type=password], input:not([type]), select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 11px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(225,29,46,0.22); }
input::placeholder, textarea::placeholder { color: var(--muted); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2362736b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.hint { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; } .hint.ok { color: var(--ok-700); font-weight: 600; }
.err { display: block; color: var(--red); font-size: 12.5px; min-height: 0; margin-top: 4px; font-weight: 500; } .err:empty { display: none; }
.form-error { background: var(--red-soft); color: var(--red-700); padding: 10px 12px; border-radius: 10px; font-size: 13.5px; }
.input-group { display: flex; } .input-group input { border-radius: 0 11px 11px 0; min-width: 0; } .input-group .addon + input:not(:last-child) { border-radius: 0; }
.addon { display: inline-flex; align-items: center; padding: 0 12px; background: var(--surface-3); border: 1px solid var(--border-2); border-right: 0; border-radius: 11px 0 0 11px; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.input-group input + .addon { border: 1px solid var(--border-2); border-left: 0; border-radius: 0 11px 11px 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.slider { width: 42px; height: 24px; border-radius: 999px; background: var(--border-2); position: relative; flex: none; transition: background .2s; }
.slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + .slider { background: var(--primary); } .switch input:checked + .slider::after { transform: translateX(18px); }
.switch input:focus-visible + .slider { outline: 3px solid rgba(225,29,46,0.50); outline-offset: 2px; }
.switch input:disabled + .slider { opacity: .5; }
.switch.sm .slider { width: 36px; height: 21px; } .switch.sm .slider::after { width: 15px; height: 15px; } .switch.sm input:checked + .slider::after { transform: translateX(15px); }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; max-height: 190px; overflow: auto; padding: 10px; border: 1px solid var(--border-2); border-radius: 11px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; font-size: 14px; } .check input { width: 17px; height: 17px; accent-color: var(--primary); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; } .radio { margin: 0; } .radio input { position: absolute; opacity: 0; }
.radio span { display: inline-flex; padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 999px; font-weight: 600; font-size: 13.5px; transition: .15s; }
.radio input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; } .radio input:focus-visible + span { outline: 3px solid rgba(225,29,46,0.50); }
.img-field .img-prev { height: 150px; border: 1.5px dashed var(--border-2); border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); color: var(--muted); }
.img-field .img-prev img { width: 100%; height: 100%; object-fit: cover; } .img-field .img-prev span { display: grid; place-items: center; gap: 4px; }
.img-field .img-actions { display: flex; gap: 8px; margin: 10px 0 4px; } .img-field.loading { opacity: .5; pointer-events: none; }
.search-in { position: relative; flex: 1 1 220px; min-width: 0; } .search-in i, .search-in svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-in input { padding-left: 38px; } .search-in.sm input { min-height: 38px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; } .toolbar select { width: auto; min-width: 150px; flex: 0 1 auto; }
.inline-f { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; } .inline-f input { width: auto; }
.seg { display: inline-flex; padding: 3px; background: var(--surface-3); border-radius: 12px; gap: 2px; } .seg.full { display: flex; } .seg.full button { flex: 1; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); margin: -4px 0 18px; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs button.on { color: var(--primary-600); border-color: var(--primary); }

/* ---------- badge, chip, tag ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge.success { background: var(--ok-soft); color: var(--ok-700); } .badge.warn { background: var(--orange-soft); color: var(--orange-700); }
.badge.danger { background: var(--red-soft); color: var(--red-700); } .badge.info { background: var(--blue-soft); color: var(--blue-700); } .badge.blue { background: var(--blue-soft); color: var(--blue-700); }
.badge.orange { background: #ffe7cc; color: #b45309; } :root[data-theme=dark] .badge.orange { background: #3e2a10; color: #fdba74; }
.badge.purple { background: var(--purple-soft); color: #6d28d9; } :root[data-theme=dark] .badge.purple { color: #c4b5fd; } .badge.muted { background: var(--surface-3); color: var(--muted); }
.badge i, .badge svg { width: 13px; height: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.chip-table { background: var(--primary-soft); color: var(--primary-700); border-color: transparent; } .chip-soft { background: rgba(225,29,46, .15); color: #ffb08a; border-color: transparent; }
.count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/18px var(--font); text-align: center; font-style: normal; }
.tag { padding: 3px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 700; }
.tag-promo { background: var(--orange); color: #3a2600; } .tag-sold { background: rgba(20, 20, 20, .82); color: #fff; } .tag-pop { background: var(--primary); color: #fff; } .tag-low { background: var(--red-soft); color: var(--red-700); }

/* ---------- modal / toast / state ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(14,10,8, .55); opacity: 0; transition: opacity .18s; overflow-y: auto; }
.overlay.in { opacity: 1; }
.dialog { width: 100%; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-height: calc(100dvh - 32px); transform: translateY(14px) scale(.98); transition: transform .22s var(--ease); }
.overlay.in .dialog { transform: none; }
.dialog-sm { max-width: 440px; } .dialog-md { max-width: 620px; } .dialog-lg { max-width: 860px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 12px 22px; border-bottom: 1px solid var(--border); } .dialog-head h3 { font-size: 17px; }
.dialog-body { padding: 18px 22px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.confirm { display: flex; gap: 14px; align-items: flex-start; } .confirm p { color: var(--text-2); }
.confirm-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-700); font-size: 20px; } .confirm-ic.danger { background: var(--red-soft); color: var(--red); }
#toasts { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--charcoal); color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; transform: translateY(12px); opacity: 0; transition: .25s var(--ease); pointer-events: auto; border-left: 4px solid var(--primary); }
.toast.in { transform: none; opacity: 1; } .toast i, .toast svg { margin-top: 2px; }
.toast-error { border-color: var(--red); } .toast-warn { border-color: var(--orange); } .toast-info { border-color: var(--blue); }
.state { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 36px 16px; color: var(--muted); }
.state h4 { color: var(--text); font-size: 16px; } .state p { max-width: 380px; font-size: 14px; }
.state-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-3); font-size: 24px; color: var(--muted); } .state-error .state-ic { background: var(--red-soft); color: var(--red); }
.skeleton-wrap { display: grid; gap: 14px; } .skeleton { height: 96px; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface-3) 30%, var(--surface-2) 50%, var(--surface-3) 70%); background-size: 300% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -150% 0; } }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 14px; background: var(--blue-soft); color: var(--blue-700); }
.notice.warn { background: var(--orange-soft); color: var(--orange-700); } .notice.danger { background: var(--red-soft); color: var(--red-700); } .notice a { font-weight: 700; text-decoration: underline; }
.notice > i, .notice > svg { margin-top: 2px; }

/* ---------- kartu, tabel ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); min-width: 0; }
.card.flat { box-shadow: none; } .card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .card-head h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.table-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; } .tbl tbody tr:last-child td { border-bottom: 0; } .tbl tbody tr:hover { background: var(--surface-2); }
.tbl th.ta-r { text-align: right; } .tbl th.ta-c { text-align: center; }
.sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 320px; }
.thumb { width: 52px; height: 42px; object-fit: cover; border-radius: 9px; background: var(--surface-3); } .thumb.sm { width: 40px; height: 34px; }
.cell-flex { display: flex; align-items: center; gap: 10px; }
.row-actions { display: inline-flex; gap: 2px; align-items: center; justify-content: center; }
.table-foot { margin-top: 12px; color: var(--muted); font-size: 13px; }
.mini-tbl { width: 100%; border-collapse: collapse; } .mini-tbl td { padding: 7px 0; border-bottom: 1px dashed var(--border); } .mini-tbl tr.sep td { border-top: 1px solid var(--border-2); padding-top: 10px; } .mini-tbl tr.total td { font-weight: 800; font-size: 16px; border-bottom: 0; }
.stat-grid { display: grid; gap: 14px; margin-bottom: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; gap: 12px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
.stat > div { min-width: 0; } .stat small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; } .stat b { display: block; font-size: 21px; letter-spacing: -.02em; overflow-wrap: anywhere; line-height: 1.2; }
.stat em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; } .stat em.up { color: var(--primary-600); font-weight: 600; } .stat em.down { color: var(--red); font-weight: 600; }
.stat-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--primary-soft); color: var(--primary-600); }
.stat-ic.green { background: #dcfce7; color: #15803d; } .stat-ic.amber { background: var(--orange-soft); color: var(--orange-700); } .stat-ic.blue { background: var(--blue-soft); color: var(--blue-700); } .stat-ic.red { background: var(--red-soft); color: var(--red); } .stat-ic.slate { background: var(--surface-3); color: var(--text-2); }
:root[data-theme=dark] .stat-ic.green { background: #11361f; color: #86efac; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-bottom: 14px; } .kv-grid small { display: block; color: var(--muted); font-size: 12.5px; } .kv-grid b { font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; } .grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; } .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.span-2 { grid-column: 1 / -1; }
.sec-h { font-size: 15px; margin: 22px 0 12px; } .sec-h small { color: var(--muted); font-weight: 500; font-size: 13px; }
.sec-title { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 18px 0 12px; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .rank li { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--border); } .rank li:last-child { border: 0; }
.rank-n { width: 24px; height: 24px; border-radius: 8px; background: var(--surface-3); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted); } .rank li:nth-child(1) .rank-n { background: var(--primary); color: #fff; }
.rank-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usage { margin: 12px 0; } .usage > div:first-child { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; } .bar { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--primary); border-radius: 99px; } .bar i.hot { background: var(--red); }
.check-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; font-size: 14px; } .check-list li { display: flex; gap: 8px; align-items: flex-start; } .check-list .ok { color: var(--ok-700); } .check-list .todo { color: var(--muted); }
.dev-card { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.est .est-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); } .est .total { border: 0; font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.danger-zone { border-color: rgba(239,68,68,.3); }

/* ---------- grafik ---------- */
.chart { width: 100%; height: auto; display: block; } .ch-grid { stroke: var(--border); stroke-width: 1; } .ch-ax { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.ch-bar { fill: var(--primary); transition: opacity .15s; } .ch-bar:hover { opacity: .75; } .ch-big { font-size: 22px; font-weight: 800; fill: var(--text); font-family: var(--font); } .ch-ring-empty { fill: none; stroke: var(--surface-3); stroke-width: 18; }
.donut { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; } .donut svg { width: 150px; height: 150px; flex: none; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 13.5px; flex: 1; min-width: 130px; } .legend li { display: flex; align-items: center; gap: 8px; } .legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .legend span { flex: 1; } .legend b { color: var(--text-2); }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .hb-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; margin-bottom: 5px; } .hb-top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hb-track { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; } .hb-fill { height: 100%; background: var(--primary); border-radius: 99px; }

/* ---------- ringkasan harga & stepper ---------- */
.summary { margin-top: 14px; padding-top: 4px; } .sum-row { display: flex; justify-content: space-between; padding: 5px 0; color: var(--text-2); font-size: 14.5px; } .sum-row.disc { color: var(--primary-600); } .sum-row.total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border-2); font-size: 18px; color: var(--text); font-weight: 800; }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--surface-3); border-radius: 999px; padding: 3px; } .stepper b { min-width: 26px; text-align: center; font-size: 14px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; color: var(--text); box-shadow: var(--shadow-sm); } .stepper button:hover:not(:disabled) { background: var(--primary); color: #fff; }
.stepper.lg button { width: 40px; height: 40px; } .stepper.lg b { min-width: 40px; font-size: 18px; }

/* ==========================================================================
   MENU PELANGGAN (menu.html, order.html)
   ========================================================================== */
.cust-body { background: var(--bg); } #app.cust-app { max-width: 720px; margin: 0 auto; min-height: 100dvh; background: var(--bg); position: relative; }
.cust-shell { padding-bottom: 150px; }
.cust-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.cust-brand { display: flex; align-items: center; gap: 12px; min-width: 0; } .cust-brand h1 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cust-brand p { font-size: 12.5px; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.cust-brand > div { min-width: 0; } .cust-logo { width: 46px; height: 46px; flex: none; border-radius: 14px; overflow: hidden; background: var(--primary-soft); display: grid; place-items: center; border: 1px solid var(--border); } .cust-logo img { width: 100%; height: 100%; object-fit: cover; } .logo-ph { color: var(--primary-600); font-size: 22px; display: grid; place-items: center; }
.cust-actions { display: flex; gap: 2px; flex: none; }
.cust-sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 4px; flex-wrap: wrap; } .open-now { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.search-bar { margin: 8px 16px 0; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 14px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; } .search-bar input { border: 0; box-shadow: none !important; background: transparent; padding-left: 4px; } .search-bar > i, .search-bar > svg { color: var(--muted); }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; scroll-snap-type: x proximity; } .cat-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--text-2); scroll-snap-align: start; transition: .15s; } .pill.on { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(225,29,46,0.35); }
.food-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 4px 16px; }
.food-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; } .food-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.food-img { position: relative; aspect-ratio: 4 / 3; background: var(--surface-3); overflow: hidden; } .food-img img { width: 100%; height: 100%; object-fit: cover; } .tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.food-card.is-sold .food-img img { filter: grayscale(1) brightness(.75); } .food-card.is-sold { opacity: .85; cursor: default; }
.food-body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; } .food-body h3 { font-size: 15px; line-height: 1.25; } .food-body p { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.food-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.price { display: flex; flex-direction: column; line-height: 1.15; } .price b { color: var(--price); font-size: 15px; font-weight: 800; } .price s { color: var(--muted); font-size: 11.5px; } .price.big b { font-size: 20px; }
.add-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(225,29,46,0.40); font-size: 18px; transition: transform .15s; } .add-btn:active { transform: scale(.9); }
.soldout-txt { font-size: 12px; color: var(--muted); font-weight: 600; }
.grid-empty { grid-column: 1 / -1; }
.cart-bar { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); width: min(688px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(225,29,46,0.45); animation: rise .3s var(--ease); }
.cart-bar .cb-l { display: inline-flex; gap: 8px; align-items: center; } @keyframes rise { from { transform: translate(-50%, 20px); opacity: 0; } }
.bottom-nav { position: fixed; z-index: 45; left: 50%; transform: translateX(-50%); bottom: 0; width: min(720px, 100%); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
.bottom-nav button { position: relative; border: 0; background: none; display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: var(--muted); font-size: 11.5px; font-weight: 600; } .bottom-nav button i, .bottom-nav button svg { width: 22px; height: 22px; } .bottom-nav button.on { color: var(--primary-600); }
.bottom-nav .count { top: 0; right: calc(50% - 22px); }
.demo-note { display: flex; gap: 8px; align-items: flex-start; margin: 16px; padding: 10px 12px; border-radius: 12px; background: var(--surface-3); color: var(--muted); font-size: 12.5px; }
.pad { padding: 4px 16px 16px; } .foot-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 20px; }
.home-hero { margin: 12px 16px; padding: 22px; border-radius: 22px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #e11d2e 0%, #6e0b14 55%, #1f0b0d 100%); } .home-hero h2 { font-size: 24px; margin: 10px 0 6px; } .home-hero p { opacity: .85; margin-bottom: 16px; font-size: 14.5px; }
.info-card { margin: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; display: grid; gap: 8px; } .info-card p { display: flex; gap: 8px; color: var(--text-2); font-size: 14px; }
.hist-list { display: grid; gap: 12px; } .hist-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; color: inherit; text-decoration: none !important; display: block; } .hist-card.link:hover { border-color: var(--primary); }
.hist-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .hist-top small { display: block; color: var(--muted); font-size: 12.5px; } .hist-badges { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; } .hist-badges.col { flex-direction: column; align-items: flex-end; }
.hist-items { list-style: none; padding: 0; margin: 10px 0; color: var(--text-2); font-size: 14px; display: grid; gap: 3px; } .hist-items.big li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--border); } .hist-items small { display: block; color: var(--muted); }
.hist-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.more-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; } .more-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 14.5px; } .more-list li:last-child { border: 0; }
.more-list a, .more-list button { display: flex; gap: 12px; align-items: center; width: 100%; color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: none !important; } .more-list li > span, .more-list a > span, .more-list button > span { flex: 1; }
.dialog.sheet { max-width: 520px; } .dialog.sheet .dialog-body { padding: 0; }
.detail-img { aspect-ratio: 16 / 10; background: var(--surface-3); position: relative; } .detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 16px 20px 4px; display: grid; gap: 8px; } .detail-top { display: flex; justify-content: space-between; gap: 12px; } .detail-top h3 { font-size: 20px; } .cat-name { color: var(--primary-600); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.detail-desc { color: var(--text-2); } .detail-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .stock { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; } .stock.ok { background: var(--primary-soft); color: var(--primary-700); } .stock.low { background: var(--orange-soft); color: var(--orange-700); } .stock.out { background: var(--red-soft); color: var(--red-700); }
.detail-qty { display: flex; justify-content: center; margin: 10px 0 6px; } .dialog.sheet .dialog-foot { border: 0; padding: 12px 20px 18px; }
.pick-table { padding: 16px 20px 20px; display: grid; gap: 14px; } .table-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; } .tbl-btn { padding: 14px 6px; border: 1.5px solid var(--border-2); background: var(--surface); border-radius: 14px; font-weight: 700; } .tbl-btn.on, .tbl-btn:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-700); }
/* keranjang */
.dialog.cart-sheet { max-width: 560px; height: calc(100dvh - 32px); } .dialog.cart-sheet .dialog-body { display: flex; flex-direction: column; overflow: hidden; } #cartRoot { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); } .cs-head h2 { font-size: 18px; flex: 1; text-align: center; } .cs-body { flex: 1; overflow-y: auto; padding: 14px 18px; -webkit-overflow-scrolling: touch; } .cs-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: grid; gap: 8px; }
.cs-table { margin-bottom: 12px; } .cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cs-item { display: grid; grid-template-columns: 68px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); } .cs-item img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; } .cs-info { display: grid; gap: 6px; min-width: 0; }
.cs-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .cs-row b { font-size: 14.5px; } .line-total { font-weight: 800; }
.item-note { min-height: 36px !important; padding: 6px 10px !important; font-size: 13px; border-radius: 9px !important; }
.issue { display: flex; gap: 6px; font-size: 12.5px; color: var(--red-700); background: var(--red-soft); padding: 6px 10px; border-radius: 8px; } .cs-item.has-issue img { filter: grayscale(.8); }
.opt { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; } .opt summary { font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--text-2); } .opt-grid { display: grid; gap: 8px; margin: 10px 0; }
.success { padding: 34px 22px 26px; text-align: center; display: grid; gap: 8px; justify-items: center; overflow-y: auto; }
.success-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 42px; box-shadow: 0 0 0 10px rgba(22,163,74,.18); animation: pop .5s var(--ease); } @keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success h2 { font-size: 24px; margin-top: 10px; } .order-no { font-size: 38px; font-weight: 900; letter-spacing: -.02em; color: var(--text); } .order-no.sm { font-size: 28px; } .success-msg { color: var(--text-2); max-width: 340px; margin: 4px 0; }
.success-sum { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; font-size: 14px; text-align: left; margin: 6px 0; } .success-sum div { display: flex; justify-content: space-between; gap: 10px; } .success-sum .t { border-top: 1px solid var(--border-2); padding-top: 8px; font-size: 16px; font-weight: 800; }
.success .btn { margin-top: 4px; }
.track-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; margin-bottom: 14px; } .track { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; } .track li { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 16px; } .track li:last-child { padding-bottom: 0; }
.track li::before { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border-2); } .track li:last-child::before { display: none; } .track li i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface); display: grid; place-items: center; flex: none; font-size: 12px; color: #fff; z-index: 1; }
.track li.done i { background: var(--primary); border-color: var(--primary); } .track li.done::before { background: var(--primary); } .track li.cur i { border-color: var(--primary); box-shadow: 0 0 0 5px rgba(225,29,46,0.25); background: var(--surface); } .track li div b { font-size: 14px; } .track li div small { display: block; color: var(--muted); font-size: 12px; } .track li:not(.done):not(.cur) b { color: var(--muted); font-weight: 500; }
.card.flat h3 { font-size: 16px; margin-bottom: 8px; }
/* detail pesanan admin */
.od-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 12px; } .od h5 { margin: 16px 0 8px; font-size: 14px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .timeline li { display: flex; gap: 10px; } .timeline i { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--primary); flex: none; } .timeline small { display: block; color: var(--muted); font-size: 12.5px; }

/* ==========================================================================
   LANDING PAGE (index.html)
   ========================================================================== */
.land { background: var(--bg); }
.l-nav { position: fixed; z-index: 60; top: 0; left: 0; right: 0; padding: 12px 0; transition: background .25s, box-shadow .25s; } .l-nav.solid { background: rgba(16,12,10, .88); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; } .l-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-l { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none !important; } .brand-l span { color: var(--primary); } .brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #e11d2e, #9b0f1a); color: #fff; font-size: 20px; flex: none; }
.l-links { display: flex; gap: 4px; background: rgba(255, 255, 255, .08); padding: 4px; border-radius: 999px; } .l-links a { color: #e3dad7; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none !important; } .l-links a:hover, .l-links a.on { background: rgba(255, 255, 255, .14); color: #fff; }
.l-tools { display: flex; gap: 8px; align-items: center; } .l-tools .icon-btn { color: #fff; background: rgba(255, 255, 255, .1); border-radius: 999px; } .l-burger { display: none; }
.l-hero { position: relative; overflow: hidden; color: #fff; padding: 128px 0 56px; background: #100c0a; isolation: isolate; }
.l-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(40% 50% at 82% 28%, rgba(255, 170, 70, .34), transparent 70%), radial-gradient(30% 40% at 62% 12%, rgba(255, 200, 120, .25), transparent 70%), radial-gradient(35% 45% at 95% 70%, rgba(255, 140, 60, .22), transparent 70%), radial-gradient(60% 70% at 5% 100%, rgba(225,29,46, .22), transparent 70%), linear-gradient(120deg, #100c0a 0%, #201112 55%, #1b1710 100%); }
.l-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 10% 20%, rgba(255, 205, 140, .55) 0 2px, transparent 3px), radial-gradient(circle at 70% 18%, rgba(255, 205, 140, .6) 0 3px, transparent 4px), radial-gradient(circle at 88% 40%, rgba(255, 205, 140, .45) 0 2px, transparent 3px), radial-gradient(circle at 55% 8%, rgba(255, 205, 140, .5) 0 2px, transparent 3px), radial-gradient(circle at 93% 12%, rgba(255, 205, 140, .6) 0 3px, transparent 4px); opacity: .8; filter: blur(.5px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.hero-badge { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .45); color: #fecaca; font-size: 13px; font-weight: 600; } .hero-badge i, .hero-badge svg { width: 14px; height: 14px; color: #f87171; }
.hero-title { font-size: clamp(36px, 5.2vw, 64px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin: 20px 0 18px; } .hero-title em { font-style: normal; color: #ff5a47; }
.hero-sub { color: #dbd2d0; font-size: clamp(15px, 1.5vw, 18px); max-width: 560px; line-height: 1.6; } .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta .btn { min-height: 50px; padding: 0 24px; border-radius: 999px; } .btn-wa { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); } .btn-wa:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .3); } .btn-dark:hover { background: rgba(255, 255, 255, .14); }
.hero-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); } .hf { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #e1d8d6; line-height: 1.3; } .hf i, .hf svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(225,29,46, .18); border: 1px solid rgba(225,29,46, .5); color: #ff5a47; flex: none; } .hf b { display: block; color: #fff; font-size: 14px; }
.hero-visual { position: relative; min-height: 460px; }
.mock-laptop { position: absolute; right: 0; top: 40px; width: 88%; aspect-ratio: 16 / 10; background: #16100e; border: 6px solid #342d2b; border-radius: 14px 14px 4px 4px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 22% 1fr; font-size: 8px; }
.mock-laptop::after { content: ''; position: absolute; left: -8%; right: -8%; bottom: -14px; height: 10px; background: #342d2b; border-radius: 0 0 14px 14px; }
.ml-side { background: #100c0a; padding: 8px 6px; display: grid; gap: 4px; align-content: start; } .ml-side i { display: block; height: 8px; border-radius: 3px; background: rgba(255, 255, 255, .1); } .ml-side i:first-child { background: var(--primary); }
.ml-main { background: #f7f5f4; padding: 8px; display: grid; gap: 6px; align-content: start; color: #111; } .ml-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .ml-cards div { background: #fff; border-radius: 4px; padding: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); } .ml-cards b { display: block; font-size: 9px; } .ml-cards small { color: #667; font-size: 6px; }
.ml-bars { background: #fff; border-radius: 5px; height: 70px; display: flex; align-items: flex-end; gap: 3px; padding: 6px; } .ml-bars i { flex: 1; background: var(--primary); border-radius: 2px 2px 0 0; }
.mock-phone { position: absolute; left: 6%; bottom: 0; width: 38%; max-width: 230px; aspect-ratio: 9 / 18.5; background: #0f0c0b; border: 6px solid #28211f; border-radius: 30px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 2; color: #111; }
.mock-phone .mp-in { background: #fff; height: 100%; padding: 14px 8px 8px; display: grid; gap: 6px; align-content: start; font-size: 9px; } .mp-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 10px; } .mp-pills { display: flex; gap: 3px; } .mp-pills i { font-style: normal; padding: 3px 6px; border-radius: 99px; background: #eee; font-size: 7px; font-weight: 700; } .mp-pills i:first-child { background: var(--primary); color: #fff; }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; } .mp-card { border: 1px solid #ece7e5; border-radius: 8px; overflow: hidden; } .mp-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; } .mp-card div { padding: 3px 4px; font-size: 7px; font-weight: 700; line-height: 1.2; } .mp-card em { display: block; font-style: normal; color: #e0482b; font-size: 7px; }
.mock-qr { position: absolute; right: -2%; bottom: 14px; width: 34%; max-width: 190px; background: #fff; border-radius: 14px; padding: 12px 10px; text-align: center; color: #111; box-shadow: var(--shadow-lg); transform: rotate(3deg); z-index: 3; } .mock-qr img { width: 100%; border-radius: 6px; } .mock-qr b { display: block; font-size: 11px; margin-top: 4px; letter-spacing: .03em; } .mock-qr span { display: inline-block; margin-top: 4px; background: #e11d2e; color: #fff; font-weight: 800; padding: 3px 14px; border-radius: 7px; font-size: 13px; }
.l-section { padding: 84px 0; } .l-section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.l-head { text-align: center; max-width: 680px; margin: 0 auto 44px; } .l-head .eyebrow { display: inline-block; color: var(--primary-600); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; } .l-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; } .l-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; } .feat { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; } .feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(225,29,46,.4); }
.feat .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-600); font-size: 22px; margin-bottom: 14px; } .feat h3 { font-size: 17px; margin-bottom: 6px; } .feat p { color: var(--muted); font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: s; } .step { position: relative; padding: 22px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; } .step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 12px; } .step h3 { font-size: 15.5px; margin-bottom: 4px; } .step p { color: var(--muted); font-size: 14px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; } .phone-frame { width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 9 / 18; border: 9px solid #241d1a; border-radius: 40px; background: #000; overflow: hidden; box-shadow: var(--shadow-lg); } .phone-frame iframe { width: 100%; height: 100%; border: 0; background: var(--bg); }
.demo-copy h3 { font-size: 26px; margin-bottom: 10px; letter-spacing: -.02em; } .demo-copy p { color: var(--muted); margin-bottom: 14px; } .demo-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; } .demo-list li { display: flex; gap: 10px; align-items: flex-start; } .demo-list i, .demo-list svg { color: var(--primary-600); margin-top: 3px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } .preview { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; overflow: hidden; } .preview h3 { display: flex; gap: 8px; align-items: center; font-size: 17px; margin-bottom: 4px; } .preview > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.pv-admin { display: grid; grid-template-columns: 70px 1fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #f7f5f4; font-size: 11px; color: #1f1614; pointer-events: none; } .pv-side { background: #171210; padding: 10px 8px; display: grid; gap: 5px; align-content: start; } .pv-side i { height: 9px; border-radius: 3px; background: rgba(255, 255, 255, .12); } .pv-side i:first-child { background: var(--primary); }
.pv-main { padding: 10px; display: grid; gap: 8px; } .pv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .pv-stats div { background: #fff; border-radius: 8px; padding: 6px 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); } .pv-stats small { display: block; color: #667; font-size: 9.5px; } .pv-stats b { font-size: 13px; } .pv-chart { background: #fff; border-radius: 8px; padding: 6px; }
.pv-kitchen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #16100e; padding: 8px; border-radius: 12px; pointer-events: none; font-size: 10px; color: #fff; } .pv-kcol h4 { font-size: 9px; padding: 5px; border-radius: 6px; margin-bottom: 5px; } .pv-kcol:nth-child(1) h4 { background: #dc2626; } .pv-kcol:nth-child(2) h4 { background: #f59e0b; color: #111; } .pv-kcol:nth-child(3) h4 { background: #2563eb; } .pv-kcol:nth-child(4) h4 { background: #16a34a; } .pv-kcard { background: #251e1c; border-radius: 6px; padding: 5px; margin-bottom: 4px; } .pv-kcard b { display: block; font-size: 9px; } .pv-kcard small { color: #9ab; font-size: 8px; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; } .benefit { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); } .benefit .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-600); flex: none; } .benefit h3 { font-size: 16px; margin-bottom: 4px; } .benefit p { color: var(--muted); font-size: 14px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; } .price-card { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; display: flex; flex-direction: column; gap: 14px; } .price-card.featured { border: 2px solid var(--primary); box-shadow: 0 14px 40px rgba(225,29,46,0.22); transform: translateY(-6px); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 99px; } .price-card h3 { font-size: 20px; } .price-card .amt { font-size: 34px; font-weight: 900; letter-spacing: -.03em; } .price-card .amt small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; flex: 1; font-size: 14.5px; } .price-card li { display: flex; gap: 8px; align-items: flex-start; } .price-card li i, .price-card li svg { color: var(--primary-600); margin-top: 3px; } .limits { display: flex; flex-wrap: wrap; gap: 6px; } .limits span { font-size: 12px; background: var(--surface-3); padding: 3px 9px; border-radius: 99px; color: var(--text-2); font-weight: 600; }
.price-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; } .faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; } .faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; font-size: 22px; color: var(--primary-600); line-height: 1; transition: transform .2s; } .faq details[open] summary::after { transform: rotate(45deg); } .faq p { color: var(--text-2); padding: 0 0 16px; }
.l-cta { margin: 0 auto; padding: 56px 36px; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(100% 140% at 100% 0%, #e11d2e, #6e0b14 55%, #1a0a0b); } .l-cta h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; } .l-cta p { opacity: .85; max-width: 560px; margin: 0 auto 24px; } .l-cta .btn { border-radius: 999px; min-height: 50px; padding: 0 26px; } .l-cta .btn-light { background: #fff; color: #6e0b14; }
.l-footer { background: #100c0a; color: #baaeaa; padding: 48px 0 28px; } .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; } .l-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; } .l-footer a { color: #baaeaa; display: block; padding: 4px 0; font-size: 14px; } .l-footer a:hover { color: #fff; } .f-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.wa-float { position: fixed; z-index: 70; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 28px rgba(37, 211, 102, .5); text-decoration: none !important; transition: transform .2s; } .wa-float:hover { transform: scale(1.08); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* login */
.login-body { min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: radial-gradient(60% 60% at 80% 10%, rgba(225,29,46, .25), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(245, 158, 11, .15), transparent 70%), #100c0a; }
.login-card { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.login-aside { padding: 40px; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #e11d2e, #6e0b14 55%, #1a0a0b); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; } .login-aside h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 10px; } .login-aside p { opacity: .85; } .login-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; } .login-aside li { display: flex; gap: 8px; align-items: center; }
.login-form { padding: 40px; display: grid; gap: 16px; align-content: center; } .login-form h1 { font-size: 26px; } .demo-accounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .demo-accounts button { text-align: left; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); display: grid; gap: 1px; } .demo-accounts button:hover { border-color: var(--primary); background: var(--primary-soft); } .demo-accounts b { font-size: 13.5px; } .demo-accounts small { color: var(--muted); font-size: 12px; }
.pw-wrap { position: relative; } .pw-wrap .icon-btn { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; }

/* QRIS */
.qris-card { display: grid; gap: 8px; justify-items: center; text-align: center; }
.qris-head { display: grid; gap: 0; } .qris-head b { font-size: 22px; letter-spacing: .12em; } .qris-head small { color: var(--muted); font-size: 12px; }
.qris-merchant { font-weight: 800; font-size: 15px; margin: 4px 0 0; text-transform: uppercase; }
.qris-qr { width: min(280px, 78vw); aspect-ratio: 1; padding: 8px; background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.08)); } .qris-qr svg { width: 100%; height: 100%; display: block; }
.qris-amount { display: grid; gap: 0; } .qris-amount small { color: var(--muted); } .qris-amount b { font-size: 26px; color: var(--primary-700, #9b0f1a); }
.qris-set h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; } .qris-set textarea { font-family: ui-monospace, monospace; font-size: 12px; }

.brand-mark img, .k-logo img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 50%; }
.brand-mark, .k-logo { background: none !important; box-shadow: none !important; }
.cust-logo img { object-fit: contain; }
