/* =========================================================
   COPEK — Design System
   Mobile-first (app/PWA) · Desktop (website) ≥ 900px
   ========================================================= */
:root {
  --green: #12813A;
  --green-600: #0F6F32;
  --green-700: #0B5A28;
  --green-500: #16A34A;
  --green-400: #22C55E;
  --green-100: #E7F6EC;
  --green-50: #F2FBF5;
  --yellow: #FACC15;
  --orange: #F97316;
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --teal: #14B8A6;
  --pink: #EC4899;
  --red: #EF4444;
  --amber: #F59E0B;

  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E8EDF2;
  --line-2: #F1F5F9;
  --bg: #F6F8FA;
  --card: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 6px 24px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .25);
  --shadow-green: 0 12px 30px -10px rgba(18, 129, 58, .45);

  --header-h: 72px;
  --bottom-nav-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::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(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
small { font-size: 12px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic-star { fill: var(--amber); stroke: var(--amber); width: 14px; height: 14px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-danger { color: var(--red) !important; }
.text-right { text-align: right; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.flex { display: flex; align-items: center; gap: 8px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.sep { color: var(--muted-2); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.logo-text { font-weight: 800; font-size: 22px; letter-spacing: .02em; color: var(--green); }
.logo-light, .logo-light .logo-text { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 12px; font-weight: 700; font-size: 14px; border: 1.5px solid transparent; transition: .18s ease;
  white-space: nowrap; user-select: none;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--green-600); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-ghost { background: var(--green-100); color: var(--green); }
.btn-light { background: #fff; color: var(--green); }
.btn-dark-green { background: var(--green-700); color: #fff; }
.btn-danger { background: #FEF2F2; color: var(--red); border-color: #FECACA; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--ink-2); }
.icon-btn:hover { background: var(--line-2); }
.dot-badge { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }

.link { display: inline-flex; align-items: center; gap: 2px; color: var(--green); font-weight: 600; font-size: 13px; }
.link .ic { width: 16px; height: 16px; }

/* ---------- Avatar ---------- */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; background: hsl(var(--h, 140) 55% 88%); color: hsl(var(--h, 140) 55% 28%); font-weight: 700; object-fit: cover; flex: none; }
.avatar-sm { width: 36px; height: 36px; font-size: 13px; }
.avatar-md { width: 48px; height: 48px; font-size: 16px; }
.avatar-lg { width: 72px; height: 72px; font-size: 24px; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pill-green { background: var(--green-100); color: var(--green); }
.pill-blue { background: #EAF2FF; color: #1D4ED8; }
.pill-amber { background: #FEF3C7; color: #B45309; }
.pill-red { background: #FEE2E2; color: #B91C1C; }
.pill-gray { background: var(--line-2); color: var(--muted); }
.pill-orange { background: #FFEDD5; color: #C2410C; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card-pad { padding: 16px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card + .card { margin-top: 12px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label, .label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s; font-size: 14px;
}
.textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18, 129, 58, .12); }
.input-icon { position: relative; }
.input-icon > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.input-icon .input { padding-left: 42px; }
.input-icon .toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.error-text { font-size: 12px; color: var(--red); margin-top: 4px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Segmented (Motor/Mobil) */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--line-2); padding: 4px; border-radius: 14px; gap: 4px; }
.segmented input { display: none; }
.segmented label { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 11px; font-weight: 700; color: var(--muted); cursor: pointer; transition: .15s; font-size: 14px; }
.segmented input:checked + label { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }

/* Option chips (nominal etc.) */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip-opt input { display: none; }
.chip-opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14px; background: #fff; cursor: pointer; transition: .15s; text-align: center; }
.chip-opt span small { font-weight: 500; color: var(--muted); }
.chip-opt input:checked + span { border-color: var(--green); background: var(--green-50); color: var(--green); box-shadow: 0 0 0 3px rgba(18, 129, 58, .1); }

/* Payment selector */
.pay-list { display: grid; gap: 8px; }
.pay-opt input { display: none; }
.pay-opt > span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: .15s; }
.pay-opt input:checked + span { border-color: var(--green); background: var(--green-50); }
.pay-opt .pay-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.pay-opt input:checked + span .pay-check { border-color: var(--green); background: var(--green); }
.pay-opt input:checked + span .pay-check::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.pay-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.pay-name { font-weight: 700; font-size: 14px; display: block; }
.pay-desc { font-size: 12px; color: var(--muted); }

/* Promo input */
.promo-input { display: flex; gap: 8px; }
.promo-input .input { text-transform: uppercase; }
.promo-msg { font-size: 12px; margin-top: 6px; }
.promo-msg.ok { color: var(--green); } .promo-msg.err { color: var(--red); }
.promo-suggest { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.promo-suggest button { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--green-100); color: var(--green); border: 1px dashed var(--green); }

/* ---------- Service icon ---------- */
.svc-ic { display: inline-grid; place-items: center; border-radius: 16px; background: var(--s); color: var(--c); flex: none; }
.svc-ic .ic { width: 55%; height: 55%; stroke-width: 2.1; }
.svc-ic-sm { width: 40px; height: 40px; border-radius: 12px; }
.svc-ic-md { width: 46px; height: 46px; border-radius: 14px; }
.svc-ic-lg { width: 58px; height: 58px; border-radius: 18px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.svc-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 4px; border-radius: var(--radius); transition: .18s; }
.svc-card .svc-ic-lg { background: var(--c); color: #fff; box-shadow: 0 10px 22px -10px var(--c); }
.svc-card strong { font-size: 13px; font-weight: 700; }
.svc-card small { font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: -4px; }
.svc-card:hover { background: #fff; }

/* ---------- Thumbs ---------- */
.thumb { position: relative; overflow: hidden; border-radius: 14px; background: var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-emoji { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, hsl(var(--h, 30) 95% 92%), hsl(var(--h, 30) 85% 80%)); }
.thumb-emoji[style*="--tc"] { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--tc) 18%, #fff), color-mix(in srgb, var(--tc) 38%, #fff)); }
.thumb-emoji span { font-size: 2.6em; filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); line-height: 1; }

.rating { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 12.5px; color: var(--ink); }
.meta-row { display: flex; align-items: center; gap: 4px; font-size: 12.5px; flex-wrap: wrap; }
.meta-row .ic { width: 14px; height: 14px; color: var(--muted); }

/* Merchant card */
.merchant-list { display: grid; gap: 12px; }
.merchant-card { display: flex; gap: 12px; padding: 10px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: .18s; }
.merchant-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.merchant-media { position: relative; width: 96px; flex: none; }
.thumb-merchant { width: 96px; height: 96px; font-size: 15px; }
.merchant-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.merchant-body strong { font-size: 15px; }
.ribbon { position: absolute; left: 6px; bottom: 6px; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.closed-tag { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,23,42,.55); color: #fff; font-weight: 700; border-radius: 14px; }
.is-closed { opacity: .8; }

/* ---------- Section ---------- */
.section, .container.section { padding-top: 28px; padding-bottom: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 12px; }
.section-head h3 { font-size: 17px; font-weight: 800; }
.section-head a { display: inline-flex; align-items: center; color: var(--green); font-size: 13px; font-weight: 600; }
.section-head a .ic { width: 16px; height: 16px; }
.section-title { font-size: 26px; font-weight: 800; }
.section-sub { color: var(--muted); margin-top: 6px; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

.h-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }

/* Promo card */
.promo-card { position: relative; flex: none; width: 260px; min-height: 120px; padding: 16px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; display: flex; justify-content: space-between; gap: 8px;
  background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 70%, #000)); box-shadow: 0 14px 28px -16px var(--pc); }
.promo-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.1); }
.promo-card b { display: block; font-size: 22px; font-weight: 800; }
.promo-card span { display: block; font-weight: 700; font-size: 14px; }
.promo-card small { display: block; opacity: .85; margin-top: 6px; font-size: 11.5px; line-height: 1.35; max-width: 170px; }
.promo-card i { font-style: normal; font-size: 54px; align-self: flex-end; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }

/* ---------- Site header (desktop) ---------- */
.site-header { display: none; }
.site-footer { display: none; }
.page-hero { display: none; }

/* ---------- App bar (mobile) ---------- */
.appbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.appbar-back { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.appbar-back:active { background: var(--line-2); }
.appbar-title { min-width: 0; flex: 1; }
.appbar-title h1 { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-title p { font-size: 12px; color: var(--muted); }
.appbar-right { display: flex; gap: 4px; }

/* ---------- Bottom nav ---------- */
.bottom-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: calc(var(--bottom-nav-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted-2); font-size: 11px; font-weight: 600; position: relative; }
.bottom-nav a .ic { width: 23px; height: 23px; }
.bottom-nav a.active { color: var(--green); }
.bottom-nav a.active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--green); }
.main { min-height: 60vh; padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 20px); }
.no-bottom-nav .main { padding-bottom: 24px; }

/* Sticky action bar (mobile checkout) */
.action-bar { position: sticky; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom)); z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(15,23,42,.25); margin: 16px -16px 0; }
.no-bottom-nav .action-bar { bottom: var(--safe-bottom); }
.action-bar .price b { display: block; font-size: 19px; font-weight: 800; }
.action-bar .price small { color: var(--muted); }
.action-bar .btn { margin-left: auto; min-width: 150px; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; z-index: 100; left: 50%; transform: translateX(-50%); top: calc(12px + env(safe-area-inset-top, 0px)); width: min(440px, calc(100% - 24px)); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 600; animation: toastIn .35s cubic-bezier(.2,.9,.3,1.2); pointer-events: auto; }
.toast .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.18); }
.toast-success { background: var(--green); } .toast-error { background: #DC2626; } .toast-info { background: #1E40AF; }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-14px); } }

/* ---------- Install banner ---------- */
.install-banner { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px); display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: toastIn .4s; }
.install-banner div { flex: 1; min-width: 0; }
.install-banner strong { display: block; font-size: 14px; }
.install-banner small { color: var(--muted); }

/* ---------- Splash (PWA standalone) ---------- */
.splash { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, #1BA24C 0%, var(--green) 45%, var(--green-700) 100%); }
.splash.show { display: flex; }
.splash.hide { animation: fadeOut .45s forwards; }
.splash-inner { text-align: center; animation: pop .6s cubic-bezier(.2,.9,.3,1.3); }
.splash-title { font-size: 44px; font-weight: 800; letter-spacing: .03em; margin-top: 4px; }
.splash-sub { font-size: 16px; opacity: .9; margin-top: 8px; }
.splash-dots { position: absolute; bottom: calc(48px + var(--safe-bottom)); display: flex; gap: 8px; }
.splash-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); animation: blink 1s infinite; }
.splash-dots i:nth-child(2) { animation-delay: .15s; } .splash-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes blink { 50% { background: #fff; } }

/* ---------- Dropdown ---------- */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; animation: toastIn .2s; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.dropdown-menu a:hover { background: var(--line-2); }
.dropdown-menu a .ic { width: 18px; height: 18px; color: var(--muted); }
.dropdown-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-head strong { display: block; font-size: 14px; }
.dropdown-head small { color: var(--green); font-weight: 600; }

/* =========================================================
   HOME — APP
   ========================================================= */
.home-app { padding: 0 16px; }
.home-top { margin: 0 -16px; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 18px; background: linear-gradient(180deg, #fff 0%, #fff 70%, rgba(255,255,255,0) 100%); }
.home-top-row { display: flex; justify-content: space-between; align-items: center; }
.home-top-actions { display: flex; align-items: center; gap: 6px; }
.greet { margin-top: 14px; color: var(--muted); font-size: 14px; }
.greet-name { font-size: 21px; font-weight: 800; }
.addr-chip { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.addr-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-chip .ic { width: 16px; height: 16px; color: var(--green); }
.addr-chip .ic:last-child { color: var(--muted); }

.wallet-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, var(--green-700), var(--green) 60%, var(--green-500)); box-shadow: var(--shadow-green); margin-bottom: 14px; }
.ws-left { display: flex; align-items: center; gap: 10px; }
.ws-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ws-left small { display: block; opacity: .85; font-size: 11.5px; }
.ws-left strong { font-size: 17px; font-weight: 800; }
.ws-actions { display: flex; gap: 14px; }
.ws-actions span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ws-actions .ic { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.18); }
.ws-actions small { font-size: 10.5px; font-weight: 600; }

.hero-promo { position: relative; display: flex; align-items: center; min-height: 140px; padding: 18px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px;
  background: radial-gradient(120% 140% at 100% 0%, #6EE7A0 0%, #34C46C 35%, #1C9A4C 100%); color: #fff; box-shadow: var(--shadow-green); }
.hero-promo::after { content: ""; position: absolute; right: -30px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.12); }
.hero-promo-text { position: relative; z-index: 2; max-width: 58%; }
.hero-promo h3 { font-size: 16px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.hero-promo-art { position: absolute; right: -6px; bottom: -4px; width: 52%; max-width: 230px; z-index: 1; }

.active-order { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.active-order div { flex: 1; min-width: 0; }
.active-order small { color: var(--muted); display: block; }
.active-order strong { font-size: 14px; }
.active-order > .ic { color: var(--muted); }

/* =========================================================
   SERVICE PAGES
   ========================================================= */
.page { padding: 16px; }
.page-grid { display: grid; gap: 16px; }
.searchbar { position: relative; }
.searchbar .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.searchbar input { width: 100%; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px 0 42px; outline: none; font-size: 14px; }
.searchbar input:focus { border-color: var(--green); }

.cat-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cat span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); font-size: 26px; transition: .15s; }
.cat.active span { border-color: var(--c, var(--green)); background: var(--s, var(--green-100)); box-shadow: 0 8px 18px -10px var(--c, var(--green)); }
.cat.active { color: var(--c, var(--green)); }
.cat .ic { width: 24px; height: 24px; }

/* Map mock */
.map-mock { position: relative; height: 230px; border-radius: var(--radius-lg); overflow: hidden; background: #EEF2F0; border: 1px solid var(--line); }
.map-mock svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: #fff; padding: 6px 12px; border-radius: 12px; box-shadow: var(--shadow); text-align: center; font-size: 12px; line-height: 1.2; }
.map-badge b { display: block; font-size: 15px; }
.map-route { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-pulse { animation: pulse 1.8s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.map-driver { transition: transform 1s ease; }

/* Location inputs (ride) */
.loc-box { position: relative; padding: 4px 14px; }
.loc-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.loc-row + .loc-row { border-top: 1px dashed var(--line); }
.loc-dot { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--green); background: #fff; flex: none; }
.loc-dot.dest { border-color: var(--red); }
.loc-row .grow label { margin: 0; font-size: 12px; font-weight: 700; color: var(--ink); }
.loc-row input { width: 100%; border: 0; outline: none; background: transparent; font-size: 13.5px; color: var(--ink-2); padding: 2px 0; }
.loc-line { position: absolute; left: 20px; top: 34px; bottom: 34px; border-left: 2px dotted var(--muted-2); }
.loc-swap { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--line-2); color: var(--ink-2); }
.recent-dest { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.recent-dest button { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.recent-dest .ic { width: 14px; height: 14px; color: var(--muted); }

.fare-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fare-box b { font-size: 22px; font-weight: 800; }
.fare-box small { color: var(--muted); display: block; }
.fare-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; color: var(--ink-2); }
.fare-line.total { font-weight: 800; color: var(--ink); font-size: 15px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.fare-line.disc span:last-child { color: var(--green); font-weight: 700; }

.vehicle-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vehicle-cards input { display: none; }
.vehicle-cards label { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; margin: 0; transition: .15s; }
.vehicle-cards label .ic { width: 30px; height: 30px; padding: 5px; border-radius: 10px; background: var(--green-100); color: var(--green); }
.vehicle-cards label b { display: block; font-size: 14px; }
.vehicle-cards label small { color: var(--muted); }
.vehicle-cards input:checked + label { border-color: var(--green); background: var(--green-50); box-shadow: 0 0 0 3px rgba(18,129,58,.1); }

.why-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.why-item { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.why-item .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green-100); color: var(--green); }
.why-item b { color: var(--ink); font-size: 13px; }

/* Food merchant page */
.merchant-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.merchant-hero .thumb { height: 180px; border-radius: 0; font-size: 26px; }
.merchant-info { margin-top: -36px; position: relative; padding: 16px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); margin-left: 10px; margin-right: 10px; }
.merchant-info h2 { font-size: 20px; font-weight: 800; }
.merchant-stats { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.merchant-stats b { color: var(--ink); }

.menu-list { display: grid; gap: 10px; }
.menu-item { display: flex; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.menu-item .thumb { width: 84px; height: 84px; font-size: 13px; flex: none; }
.menu-item .grow b { display: block; font-size: 14.5px; }
.menu-item .grow p { font-size: 12.5px; color: var(--muted); margin: 2px 0 6px; line-height: 1.35; }
.menu-item .price { font-weight: 800; font-size: 14.5px; }
.badge-pop { font-size: 10.5px; font-weight: 700; color: var(--orange); background: #FFF1E6; padding: 2px 7px; border-radius: 6px; margin-left: 4px; vertical-align: middle; }

.qty { display: inline-flex; align-items: center; gap: 10px; }
.qty button { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--green); color: #fff; }
.qty button.minus { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.qty button .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.add-btn { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.add-btn .ic { stroke-width: 2.6; }

/* Cart bar */
.cart-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 10px); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--green); color: #fff; box-shadow: var(--shadow-green); animation: toastIn .3s; }
.cart-bar .ic { width: 22px; height: 22px; }
.cart-bar div { flex: 1; }
.cart-bar b { display: block; font-size: 15px; }
.cart-bar small { opacity: .85; }
.cart-bar .btn { background: #fff; color: var(--green); height: 38px; }

/* Bottom sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(15,23,42,.45); opacity: 0; pointer-events: none; transition: .25s; }
.sheet { position: fixed; z-index: 81; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 8px 16px calc(16px + var(--safe-bottom)); transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.9,.3,1); }
.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .sheet { transform: none; }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 6px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h3 { font-size: 18px; font-weight: 800; }
.cart-lines { display: grid; gap: 10px; margin-bottom: 12px; }
.cart-line { display: flex; align-items: center; gap: 10px; }
.cart-line .grow b { display: block; font-size: 14px; }
.cart-line .grow small { color: var(--muted); }

/* Product grid (mart) */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.product-card .thumb { height: 110px; font-size: 18px; margin-bottom: 8px; }
.product-card b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.product-card small { color: var(--muted); }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.product-card .price { font-weight: 800; font-size: 14px; }

/* Clean */
.clean-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #E6FAF7, #CCF3EC); overflow: hidden; }
.clean-hero h3 { font-size: 17px; font-weight: 800; color: #0F766E; }
.clean-hero p { font-size: 13px; color: #0F766E; opacity: .8; margin: 4px 0 12px; }
.clean-hero .art { font-size: 64px; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 26px -12px var(--teal); }
.clean-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.clean-card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 6px; transition: .15s; }
.clean-card.selected { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.clean-card .thumb { height: 100px; font-size: 18px; }
.clean-card b { font-size: 13.5px; }
.clean-card small { color: var(--muted); }
.clean-card .price { font-weight: 800; font-size: 13.5px; color: #0F766E; }

/* Bills */
.bill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.bill-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 600; padding: 8px 2px; border-radius: var(--radius); }
.bill-card span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; font-size: 28px; background: color-mix(in srgb, var(--bc) 12%, #fff); border: 1px solid color-mix(in srgb, var(--bc) 20%, #fff); }
.bill-card:hover { background: #fff; }
.bill-banner { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff; }
.bill-banner .art { font-size: 54px; }
.bill-banner b { font-size: 17px; display: block; }
.token-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 800; letter-spacing: .06em; background: var(--green-50); border: 1.5px dashed var(--green); border-radius: 12px; padding: 12px; text-align: center; color: var(--green-700); }

/* =========================================================
   ORDERS
   ========================================================= */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--line-2); padding: 4px; border-radius: 14px; }
.tabs a { text-align: center; padding: 9px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs a.active { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.filter-chips a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.filter-chips a.active { background: var(--green); border-color: var(--green); color: #fff; }

.order-card { display: block; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .15s; }
.order-card + .order-card { margin-top: 10px; }
.order-card:hover { box-shadow: var(--shadow); }
.order-card-top { display: flex; align-items: center; gap: 12px; }
.order-card-top .grow b { display: block; font-size: 14.5px; }
.order-card-top .grow small { color: var(--muted); }
.order-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; }
.order-card-bottom b { font-size: 15px; }

.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .art { font-size: 64px; margin-bottom: 8px; }
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* Tracking */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stepper::before { content: ""; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); border-radius: 2px; }
.stepper .bar { position: absolute; top: 17px; left: 12.5%; height: 3px; background: var(--green); border-radius: 2px; transition: width .6s ease; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.step i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); color: var(--muted-2); z-index: 1; transition: .3s; }
.step i .ic { width: 16px; height: 16px; stroke-width: 2.8; }
.step.done i { background: var(--green); border-color: var(--green); color: #fff; }
.step.current i { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 6px rgba(18,129,58,.14); }
.step.done, .step.current { color: var(--ink); }

.status-banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.status-banner .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--green); }
.status-banner b { display: block; font-size: 15px; }
.status-banner small { color: var(--muted); }
.status-banner.cancel { background: #FEF2F2; border-color: #FEE2E2; }
.status-banner.cancel .ic { color: var(--red); }

.driver-card { display: flex; align-items: center; gap: 12px; }
.driver-card .grow b { display: block; }
.driver-card .grow small { color: var(--muted); display: block; }
.round-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green); }
.round-btn .ic { width: 18px; height: 18px; }
.plate { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; margin-top: 4px; }

.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.route-list { display: grid; gap: 14px; position: relative; }
.route-item { display: flex; gap: 12px; }
.route-item .grow small { color: var(--muted); display: block; font-size: 12px; }
.route-item .grow b { font-size: 13.5px; font-weight: 600; }

.stars-input { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.stars-input input { display: none; }
.stars-input label { margin: 0; cursor: pointer; color: var(--line); }
.stars-input label .ic { width: 32px; height: 32px; fill: currentColor; stroke: currentColor; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--amber); }

/* =========================================================
   WALLET & ACCOUNT
   ========================================================= */
.balance-card { position: relative; overflow: hidden; padding: 20px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(130deg, var(--green-700) 0%, var(--green) 55%, #1FAE55 100%); box-shadow: var(--shadow-green); }
.balance-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.1); }
.balance-card::before { content: ""; position: absolute; right: 40px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.07); }
.balance-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.balance-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.balance-amount { font-size: 30px; font-weight: 800; margin-top: 8px; position: relative; z-index: 1; letter-spacing: -.01em; }
.balance-card .btn-light { position: relative; z-index: 1; }
.wallet-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.wallet-action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12.5px; font-weight: 600; }
.wallet-action .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--green-100); color: var(--green); }

.list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line-2); transition: background .15s; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: var(--bg); }
.list-item .grow b { display: block; font-size: 14px; font-weight: 600; }
.list-item .grow small { color: var(--muted); display: block; }
.list-item > .ic:last-child { color: var(--muted-2); width: 18px; height: 18px; }
.list-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--line-2); color: var(--ink-2); flex: none; }
.list-ic .ic { width: 19px; height: 19px; }
.tx-amount { font-weight: 800; font-size: 14px; white-space: nowrap; }
.tx-in { color: var(--green); } .tx-out { color: var(--ink); }
.list-title { font-size: 15px; font-weight: 800; margin: 20px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.list-title a { color: var(--green); font-size: 13px; font-weight: 600; }

.profile-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.profile-card .grow b { font-size: 17px; display: block; }
.profile-card .grow small { color: var(--muted); display: block; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.stat-row div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.stat-row b { display: block; font-size: 18px; font-weight: 800; color: var(--green); }
.stat-row small { color: var(--muted); }
.help-card { display: flex; align-items: center; gap: 12px; padding: 14px; margin-top: 16px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.help-card .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--green); color: #fff; }
.help-card b { display: block; }
.help-card small { color: var(--muted); }

/* Auth */
.auth-wrap { min-height: 100vh; display: grid; }
.auth-side { display: none; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 24px 20px calc(24px + var(--safe-bottom)); background: #fff; }
.auth-card { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--line); margin-bottom: 22px; }
.auth-tabs a { text-align: center; padding: 10px; font-weight: 700; color: var(--muted); margin-bottom: -2px; border-bottom: 2px solid transparent; }
.auth-tabs a.active { color: var(--green); border-color: var(--green); }
.auth-card h2 { font-size: 22px; font-weight: 800; }
.auth-card .sub { color: var(--muted); margin: 4px 0 20px; font-size: 14px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 12px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-box { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--green-50); border: 1px dashed var(--green); font-size: 12.5px; color: var(--ink-2); }
.demo-box b { color: var(--green-700); }
.demo-box button { color: var(--green); font-weight: 700; text-decoration: underline; font-size: 12.5px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.auth-foot a { color: var(--green); font-weight: 700; }

/* Promo list page */
.promo-list { display: grid; gap: 12px; }
.promo-row { display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promo-row-art { width: 96px; flex: none; display: grid; place-items: center; font-size: 40px; background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 65%, #000)); position: relative; }
.promo-row-art::after { content: ""; position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); transform: translateY(-50%); }
.promo-row-body { padding: 12px 14px; flex: 1; min-width: 0; }
.promo-row-body b { display: block; font-size: 14.5px; }
.promo-row-body p { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
.code-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; border: 1.5px dashed var(--green); color: var(--green); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; background: var(--green-50); cursor: pointer; }
.code-chip .ic { width: 14px; height: 14px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.faq details + details { margin-top: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 14px; color: var(--muted); font-size: 14px; }

.notif-item { display: flex; gap: 12px; padding: 14px; background: #fff; border-bottom: 1px solid var(--line-2); }
.notif-item.unread { background: var(--green-50); }
.notif-item .grow b { display: block; font-size: 14px; }
.notif-item .grow p { font-size: 13px; color: var(--muted); }
.notif-item .grow small { color: var(--muted-2); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; }
.alert .ic { flex: none; margin-top: 1px; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info { background: #EFF6FF; color: #1E3A8A; border: 1px solid #BFDBFE; }
.alert-success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }

.only-desktop { display: none !important; }
.only-mobile { display: block; }

/* =========================================================
   DESKTOP ≥ 900px — tampilan website
   ========================================================= */
@media (min-width: 900px) {
  body { background: #fff; font-size: 15px; }
  .only-desktop { display: block !important; }
  .only-mobile { display: none !important; }
  .bottom-nav, .appbar, .install-banner { display: none !important; }
  .main { padding-bottom: 0; min-height: calc(100vh - var(--header-h)); }
  .container { padding: 0 32px; }

  .site-header { display: block; position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.9); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
  .site-header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
  .site-nav { display: flex; gap: 4px; margin-left: 20px; }
  .site-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); position: relative; }
  .site-nav a:hover { color: var(--green); }
  .site-nav a.active { color: var(--green); }
  .site-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--green); }
  .site-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .header-search { position: relative; }
  .header-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
  .header-search input { width: 210px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: 0 12px 0 36px; outline: none; font-size: 13px; transition: .2s; }
  .header-search input:focus { width: 260px; background: #fff; border-color: var(--green); }
  .user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
  .user-chip .ic { width: 16px; height: 16px; color: var(--muted); }

  .site-footer { display: block; background: #0B3D21; color: #D1FAE5; margin-top: 40px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
  .footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
  .footer-grid a { display: block; font-size: 13.5px; color: #A7F3D0; padding: 4px 0; opacity: .85; }
  .footer-grid a:hover { opacity: 1; color: #fff; }
  .footer-brand p { margin-top: 10px; font-size: 13.5px; opacity: .8; }
  .socials { display: flex; gap: 8px; margin-top: 16px; }
  .socials a { width: 34px; height: 34px; display: grid !important; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 700; padding: 0 !important; }
  .muted-light { font-size: 13px; opacity: .75; margin-bottom: 12px; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 22px; font-size: 12.5px; opacity: .7; }

  /* Page hero */
  .page-hero { display: block; --hc: var(--green); background: radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--hc) 70%, #fff) 0%, var(--hc) 45%, color-mix(in srgb, var(--hc) 75%, #000) 100%); color: #fff; position: relative; overflow: hidden; }
  .page-hero::after { content: ""; position: absolute; right: 8%; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
  .page-hero-inner { display: flex; align-items: center; gap: 20px; padding-top: 30px; padding-bottom: 30px; position: relative; z-index: 1; }
  .page-hero-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
  .page-hero-ic .ic { width: 34px; height: 34px; }
  .page-hero h1 { font-size: 30px; font-weight: 800; }
  .page-hero p { opacity: .9; margin-top: 4px; }
  .page-hero-art { margin-left: auto; font-size: 84px; filter: drop-shadow(0 14px 20px rgba(0,0,0,.25)); }
  .crumbs { display: flex; align-items: center; gap: 4px; font-size: 12.5px; opacity: .8; margin-bottom: 6px; }
  .crumbs .ic { width: 14px; height: 14px; }

  .page { padding: 28px 32px 40px; max-width: 1200px; margin: 0 auto; }
  .page-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
  .page-grid .sticky-col { position: sticky; top: calc(var(--header-h) + 20px); }
  .action-bar { position: static; margin: 16px 0 0; box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius); }

  .card-pad { padding: 20px; }
  .map-mock { height: 340px; }

  /* Home hero */
  .hero { background: linear-gradient(180deg, #F2FBF5 0%, #fff 100%); overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 560px; padding-top: 30px; padding-bottom: 30px; }
  .eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--green-100); color: var(--green); font-weight: 700; font-size: 12.5px; }
  .eyebrow .ic { width: 15px; height: 15px; }
  .hero-copy h1 { font-size: 52px; font-weight: 800; line-height: 1.08; margin: 18px 0; letter-spacing: -.02em; }
  .hero-copy p { color: var(--muted); font-size: 16.5px; max-width: 520px; }
  .hero-cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
  .store-badge { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--ink); color: #fff; text-align: left; }
  .store-badge .ic { width: 22px; height: 22px; fill: #fff; stroke: none; }
  .store-badge span { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; line-height: 1.1; }
  .store-badge small { font-size: 10px; font-weight: 500; opacity: .75; }
  .store-badge .ic[href], .store-badge svg use[href="#i-smartphone"] { stroke: #fff; }
  .hero-stats { display: flex; gap: 32px; margin-top: 34px; }
  .hero-stats strong { display: block; font-size: 24px; font-weight: 800; }
  .hero-stats span { color: var(--muted); font-size: 13px; }

  .hero-visual { position: relative; height: 520px; }
  .hero-blob { position: absolute; right: 0; top: 30px; width: 460px; height: 460px; border-radius: 46% 54% 42% 58%; background: radial-gradient(circle at 30% 30%, #4ADE80, var(--green) 60%, var(--green-700)); opacity: .95; animation: blob 12s ease-in-out infinite alternate; }
  @keyframes blob { to { border-radius: 58% 42% 56% 44%; transform: rotate(8deg); } }
  .hero-visual .phone-mock { position: absolute; left: 40px; top: 20px; transform: rotate(-4deg); }
  .hero-rider { position: absolute; right: -10px; bottom: 10px; width: 330px; }
  .floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; animation: float 4s ease-in-out infinite; }
  .floating-card .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green-100); color: var(--green); }
  .floating-card b { display: block; } .floating-card small { color: var(--muted); }
  .fc-1 { left: -40px; bottom: 60px; z-index: 3; } .fc-2 { right: 10px; top: 20px; animation-delay: -2s; }
  @keyframes float { 50% { transform: translateY(-10px); } }
  .hero-script { position: absolute; right: 30px; top: 140px; color: #fff; font-weight: 800; font-style: italic; font-size: 20px; line-height: 1.25; text-align: right; text-shadow: 0 4px 14px rgba(0,0,0,.2); transform: rotate(-6deg); }

  /* Phone mockup */
  .phone-mock { width: 250px; height: 500px; border-radius: 40px; background: #0F172A; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #334155; z-index: 2; }
  .phone-notch { position: absolute; left: 50%; transform: translateX(-50%); top: 16px; width: 80px; height: 20px; border-radius: 12px; background: #0F172A; z-index: 3; }
  .phone-screen { height: 100%; border-radius: 31px; background: #F6F8FA; overflow: hidden; padding: 36px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
  .pm-top { display: flex; justify-content: space-between; align-items: center; }
  .pm-top .logo-text { font-size: 14px; }
  .pm-dot { width: 22px; height: 22px; border-radius: 50%; background: #FDE68A; }
  .pm-search { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px; padding: 8px; font-size: 10px; color: var(--muted); }
  .pm-search .ic { width: 12px; height: 12px; }
  .pm-promo { position: relative; background: linear-gradient(135deg, #34C46C, var(--green)); color: #fff; border-radius: 12px; padding: 10px; }
  .pm-promo b { display: block; font-size: 15px; } .pm-promo small { font-size: 10px; }
  .pm-promo span { position: absolute; right: 8px; bottom: 2px; font-size: 32px; }
  .pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pm-grid div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .pm-grid span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; }
  .pm-grid span .ic { width: 18px; height: 18px; }
  .pm-grid small { font-size: 9px; font-weight: 700; }
  .pm-list { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 10px; padding: 7px; }
  .pm-list i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; background: #FFF1E6; border-radius: 8px; font-size: 18px; }
  .pm-list b { display: block; font-size: 10.5px; } .pm-list small { font-size: 9px; color: var(--muted); }

  .svc-grid-wide { grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: -10px; }
  .svc-grid-wide .svc-card { background: #fff; border: 1px solid var(--line); padding: 20px 12px; box-shadow: var(--shadow-sm); }
  .svc-grid-wide .svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .svc-grid-wide .svc-card .svc-ic-lg { background: var(--s); color: var(--c); box-shadow: none; width: 62px; height: 62px; }

  .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
  .feature { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--bg); }
  .feature span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green); flex: none; }
  .feature b { display: block; margin-bottom: 4px; }
  .feature p { font-size: 13px; color: var(--muted); }

  .promo-banner { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 34px 44px; border-radius: var(--radius-xl); color: #fff; overflow: hidden; background: radial-gradient(120% 160% at 100% 0%, #34C46C 0%, var(--green) 45%, var(--green-700) 100%); }
  .promo-tag { display: inline-block; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 8px; font-size: 26px; font-weight: 800; }
  .promo-banner h3 { font-size: 22px; font-weight: 700; margin: 8px 0; }
  .promo-banner p { opacity: .9; margin-bottom: 18px; }
  .promo-banner .code-chip { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }
  .promo-banner-art { display: flex; gap: 10px; font-size: 90px; filter: drop-shadow(0 18px 20px rgba(0,0,0,.25)); }
  .promo-banner-art span:nth-child(2) { transform: translateY(-20px); }

  .popular-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .popular-card { display: block; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s; }
  .popular-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
  .popular-art { height: 130px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #fff, var(--s)); font-size: 64px; margin-bottom: 12px; }
  .popular-card b { display: block; }
  .popular-card small { color: var(--muted); }

  .merchant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .merchant-grid .merchant-card { flex-direction: column; padding: 0; overflow: hidden; }
  .merchant-grid .merchant-media { width: 100%; }
  .merchant-grid .thumb-merchant { width: 100%; height: 150px; border-radius: 0; font-size: 20px; }
  .merchant-grid .merchant-body { padding: 12px 14px 14px; }
  .merchant-grid .closed-tag { border-radius: 0; }

  .download-cta { position: relative; display: grid; grid-template-columns: 220px 1fr 160px; align-items: center; gap: 24px; padding: 0 44px; height: 220px; border-radius: var(--radius-xl); background: radial-gradient(120% 160% at 0% 100%, #34C46C 0%, var(--green) 45%, var(--green-700) 100%); color: #fff; overflow: hidden; }
  .dl-phone { position: relative; height: 100%; }
  .dl-phone .phone-mock { position: absolute; top: 24px; transform: scale(.62) rotate(-8deg); transform-origin: top left; }
  .dl-copy h3 { font-size: 26px; font-weight: 800; }
  .dl-copy p { opacity: .9; margin-top: 6px; }
  .dl-copy .hero-cta { margin-top: 16px; }
  .store-badge-dark { background: #0B3D21; }
  .dl-mark { width: 140px; height: 140px; border-radius: 34px; background: #fff; display: grid; place-items: center; transform: rotate(8deg); box-shadow: var(--shadow-lg); }

  /* Food desktop */
  .merchant-list.as-grid { grid-template-columns: repeat(2, 1fr); }
  .cat { width: 84px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .clean-grid { grid-template-columns: repeat(3, 1fr); }
  .bill-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .bill-card { background: #fff; border: 1px solid var(--line); padding: 20px 10px; }
  .menu-list { grid-template-columns: repeat(2, 1fr); }
  .merchant-hero .thumb { height: 260px; }
  .cart-bar { left: auto; right: 32px; bottom: 24px; width: 380px; }
  .sheet { left: 50%; right: auto; width: 480px; transform: translate(-50%, 105%); border-radius: 24px; bottom: 50%; margin-bottom: -40vh; max-height: 80vh; }
  .sheet-open .sheet { transform: translate(-50%, 0); }
  .tabs { max-width: 420px; }
  .orders-wrap, .narrow { max-width: 760px; margin: 0 auto; }
  .toast-stack { top: calc(var(--header-h) + 12px); }

  /* Auth desktop */
  .auth-wrap { grid-template-columns: 1fr 1fr; }
  .auth-side { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; padding: 40px; position: relative; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, #1BA24C 0%, var(--green) 45%, var(--green-700) 100%); }
  .auth-side h2 { font-size: 34px; font-weight: 800; margin-top: 10px; letter-spacing: .03em; }
  .auth-side p { opacity: .9; font-size: 18px; margin-top: 6px; }
  .auth-side .rider-art { width: 340px; margin-top: 30px; }
  .auth-side .city { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; opacity: .25; }
  .auth-main { padding: 40px; }
}

@media (min-width: 1200px) {
  .hero-copy h1 { font-size: 58px; }
}

@media (max-width: 380px) {
  .svc-card small { display: none; }
  .ws-actions { gap: 8px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
}

/* Standalone (installed PWA) tweaks */
@media (display-mode: standalone) {
  .install-banner, [data-install] { display: none !important; }
}

/* Services list page */
.svc-list { display: grid; gap: 12px; }
.svc-row { display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .18s; }
.svc-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-row .grow b { display: block; font-size: 15px; color: var(--c); }
.svc-row .grow small { color: var(--muted); font-weight: 600; }
.svc-row .grow p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.svc-row > .ic { color: var(--c); }
@media (min-width: 900px) {
  .svc-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc-row { flex-direction: column; align-items: flex-start; padding: 22px; background: linear-gradient(160deg, var(--s), #fff 60%); }
  .svc-row > .ic { align-self: flex-end; margin-top: -10px; }
}

/* Mobile fixed action bar */
@media (max-width: 899px) {
  .action-bar { position: fixed; left: 0; right: 0; margin: 0; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom)); }
  .page:has(.action-bar) { padding-bottom: 96px; }
  .recent-dest { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .recent-dest button { flex: none; }
  .page:has(#cartBar:not([hidden])) { padding-bottom: 90px; }
}
.plate { flex-wrap: wrap; }

/* =========================================================
   v2 — Header hijau (website & app bar)
   ========================================================= */
.appbar { background: linear-gradient(120deg, var(--green-700), var(--green) 60%, #1BA24C); border-bottom: 0; color: #fff; box-shadow: 0 6px 18px -12px rgba(11,90,40,.6); }
.appbar-back { color: #fff; }
.appbar-back:active { background: rgba(255,255,255,.15); }
.appbar-title p { color: rgba(255,255,255,.82); }
.appbar .svc-ic { background: #fff; }
.appbar .icon-btn { color: #fff; }

.home-top { background: radial-gradient(120% 140% at 100% 0%, #2BB864 0%, var(--green) 45%, var(--green-700) 100%); color: #fff; border-radius: 0 0 26px 26px; padding-bottom: 54px; margin-bottom: -38px; }
.home-top .logo, .home-top .logo-text { color: #fff; }
.home-top .icon-btn { color: #fff; }
.home-top .icon-btn:hover { background: rgba(255,255,255,.12); }
.home-top .greet { color: rgba(255,255,255,.85); }
.home-top .addr-chip { color: #fff; background: rgba(255,255,255,.16); padding: 6px 10px; border-radius: 999px; }
.home-top .addr-chip .ic { color: #FDE68A !important; }
.home-top .dot-badge { border-color: var(--green); }
.home-app .wallet-strip { position: relative; z-index: 2; background: #fff; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
.home-app .wallet-strip .ws-ic { background: var(--green); }
.home-app .wallet-strip .ws-left small { color: var(--muted); opacity: 1; }
.home-app .wallet-strip .ws-left strong { color: var(--ink); }
.home-app .wallet-strip .ws-actions .ic { background: var(--green-100); color: var(--green); }
.home-app .wallet-strip .ws-actions small { color: var(--ink-2); }
.home-app .home-top + .hero-promo { position: relative; z-index: 2; }

@media (min-width: 900px) {
  .site-header { background: linear-gradient(100deg, var(--green-700) 0%, var(--green) 55%, #1BA24C 100%); border-bottom: 0; box-shadow: 0 8px 24px -16px rgba(11,90,40,.7); }
  .site-header .logo, .site-header .logo-text { color: #fff; }
  .site-nav a { color: rgba(255,255,255,.85); }
  .site-nav a:hover, .site-nav a.active { color: #fff; }
  .site-nav a.active::after { background: var(--yellow); height: 3px; bottom: -4px; }
  .header-search input { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; }
  .header-search input::placeholder { color: rgba(255,255,255,.75); }
  .header-search .ic { color: rgba(255,255,255,.85); }
  .header-search input:focus { background: #fff; color: var(--ink); border-color: #fff; }
  .header-search input:focus + .ic, .header-search:focus-within .ic { color: var(--muted); }
  .site-header .icon-btn { color: #fff; }
  .site-header .icon-btn:hover { background: rgba(255,255,255,.12); }
  .site-header .dot-badge { border-color: var(--green); }
  .site-header .user-chip { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.1); }
  .site-header .user-chip .ic { color: rgba(255,255,255,.8); }
  .site-header .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
  .site-header .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
  .site-header .btn-primary { background: #fff; color: var(--green); box-shadow: none; }
  .site-header .btn-primary:hover { background: #F0FDF4; }
  .site-header .btn-mitra { background: var(--yellow); color: #0B3D21; }
  .hero { background: linear-gradient(180deg, #E7F6EC 0%, #fff 100%); }
}

/* =========================================================
   v2 — Peta interaktif (Leaflet)
   ========================================================= */
.map-mock.is-live { background: #E5ECE7; }
.leaflet-holder { position: absolute; inset: 0; z-index: 1; }
.map-mock .map-badge, .map-mock .map-ctl { z-index: 500; }
.map-ctl { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.map-ctl button { width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--green); }
.map-hint { position: absolute; left: 12px; bottom: 12px; z-index: 500; background: rgba(15,23,42,.78); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 10px; max-width: 70%; }
.mk-wrap { background: none; border: 0; }
.mk { display: grid; place-items: center; width: 34px; height: 34px; }
.mk-pickup::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 6px solid var(--green); box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.mk-dest svg { width: 34px; height: 34px; fill: #EF4444; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.mk-driver, .mk-store { font-size: 20px; background: #fff; border-radius: 50%; border: 3px solid var(--green); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.mk-store { border-color: var(--orange); }
.mk-me::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #3B82F6; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(59,130,246,.25); }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { font-size: 9px !important; }

.geo-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 900; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto; padding: 4px; }
.geo-suggest button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 10px; align-items: flex-start; }
.geo-suggest button:hover { background: var(--green-50); }
.geo-suggest .ic { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.geo-suggest b { display: block; font-size: 13.5px; font-weight: 600; }
.geo-suggest small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.has-geo .input { padding-right: 48px; }
.geo-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--green); background: var(--green-100); z-index: 2; }
.geo-btn .ic { width: 18px; height: 18px; }
.geo-ok { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 4px; }

.geo-sheet { position: fixed; inset: 0; z-index: 120; background: rgba(15,23,42,.5); display: flex; align-items: flex-end; justify-content: center; }
.geo-sheet-card { width: 100%; max-width: 640px; background: #fff; border-radius: 24px 24px 0 0; padding: 14px 16px calc(16px + var(--safe-bottom)); animation: toastIn .25s; }
.geo-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.geo-sheet-head b { font-size: 17px; }
.geo-search { margin-bottom: 10px; }
.geo-map { height: 46vh; min-height: 280px; }
.geo-center-pin { position: absolute; left: 50%; top: 50%; z-index: 600; width: 34px; height: 34px; margin: -32px 0 0 -17px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6 7-12a7 7 0 1 0-14 0c0 6 7 12 7 12z' fill='%23EF4444' stroke='white' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='white'/%3E%3C/svg%3E") center/contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); font-size: 13px; gap: 6px; }
.map-fallback span { font-size: 40px; }
.geo-foot { margin-top: 12px; }
.geo-addr { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 600; min-height: 40px; }
.geo-addr .ic { color: var(--red); flex: none; }
.geo-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 10px; }
@media (min-width: 900px) { .geo-sheet { align-items: center; } .geo-sheet-card { border-radius: 24px; } }
@media (min-width: 900px) and (max-width: 1180px) { .header-search { display: none; } .site-nav { margin-left: 0; } .site-nav a { padding: 8px 10px; } }

/* =========================================================
   v2 — Chat & notifikasi
   ========================================================= */
.chat-panel { position: fixed; inset: 0; z-index: 110; background: rgba(15,23,42,.45); display: flex; align-items: flex-end; justify-content: center; }
.chat-card { width: 100%; max-width: 520px; height: 82vh; background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; overflow: hidden; animation: toastIn .25s; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(120deg, var(--green-700), var(--green)); color: #fff; }
.chat-head small { display: block; opacity: .8; }
.chat-head .icon-btn { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #F1F5F3; display: flex; flex-direction: column; gap: 8px; }
.chat-empty { text-align: center; color: var(--muted); font-size: 13px; margin: auto; max-width: 240px; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.4; background: #fff; box-shadow: var(--shadow-sm); align-self: flex-start; border-bottom-left-radius: 4px; word-wrap: break-word; }
.bubble.mine { align-self: flex-end; background: var(--green); color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.bubble small { display: block; font-size: 10.5px; opacity: .65; margin-top: 3px; text-align: right; }
.chat-quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; scrollbar-width: none; }
.chat-quick button { flex: none; font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + var(--safe-bottom)); }
.chat-form .btn { width: 46px; padding: 0; height: 46px; }
.chat-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.round-btn { position: relative; }
@media (min-width: 900px) { .chat-panel { align-items: center; } .chat-card { border-radius: 24px; height: 640px; max-height: 86vh; } }
.page-grid { grid-template-columns: minmax(0, 1fr); }
.page-grid > * { min-width: 0; }
@media (min-width: 900px) { .page-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); } }
.ptype-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ptype input { display: none; }
.ptype > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: .15s; background: #fff; }
.ptype i { font-style: normal; font-size: 30px; }
.ptype b { font-size: 14px; }
.ptype small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.ptype input:checked + span { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 18%, transparent); }
@media (min-width: 900px) { .ptype-grid { grid-template-columns: repeat(4, 1fr); } }
.mitra-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding: 34px 40px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #FEFCE8, #ECFDF3); border: 1px solid var(--green-100); }
.mitra-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mitra-cta-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .2s; }
.mitra-cta-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mitra-cta-grid i { font-style: normal; font-size: 40px; }
.mitra-strip { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--radius); background: linear-gradient(120deg, #FEF9C3, #DCFCE7); border: 1px solid #FDE68A; }
.mitra-strip i { font-style: normal; font-size: 30px; }
.mitra-strip div { flex: 1; } .mitra-strip b { display: block; } .mitra-strip small { color: var(--ink-2); }
.map-mock { isolation: isolate; }
.chat-panel, .geo-sheet { z-index: 1200; }
.toast-stack { z-index: 1300; }
.site-nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1380px) { .header-search { display: none; } }
.promo-suggest button.is-voucher { background: #FEF3C7; color: #92400E; border-color: #F59E0B; }

/* v3 — Pembayaran */
.pay-hero { text-align: center; padding: 22px 16px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.pay-amount { font-size: 32px; font-weight: 800; color: var(--green); margin: 4px 0; }
.pay-timer { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 13px; margin-bottom: 6px; }
.pay-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-channels span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.pay-channels b { display: block; font-size: 13.5px; } .pay-channels small { color: var(--muted); }
.sim-box { text-align: center; }
.fake-qr { width: 180px; height: 180px; margin: 0 auto 6px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.fake-qr i { background: #0F172A; border-radius: 2px; }
.await-pay { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: #FFFBEB; border: 1px solid #FDE68A; } .await-pay > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: #D97706; } .await-pay b { display: block; } .await-pay small { color: var(--muted); }
.social-login { display: grid; gap: 10px; }
.otp-row { display: flex; gap: 8px; }
.otp-row .btn { flex: none; height: 46px; }
.otp-input { font-size: 22px; letter-spacing: .5em; text-align: center; font-weight: 800; }
.otp-info { margin: -4px 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--green-50); border: 1px dashed var(--green); font-size: 13px; color: var(--green-700); }
.otp-info b { font-size: 16px; letter-spacing: .15em; }

/* v3 — Loyalitas */
.points-card { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(120% 140% at 100% 0%, #FDBA74 0%, #F97316 45%, #C2410C 100%); box-shadow: 0 14px 30px -14px #F97316; }
.points-big { font-size: 34px; font-weight: 800; line-height: 1.1; margin: 4px 0; }
.points-big span { font-size: 15px; font-weight: 600; opacity: .9; }
.points-star { font-size: 64px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.ref-card { text-align: center; padding: 24px 18px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(120% 140% at 50% 0%, #A78BFA 0%, #7C3AED 45%, #5B21B6 100%); box-shadow: 0 14px 30px -14px #7C3AED; }
.ref-gift { font-size: 60px; }
.ref-card h2 { font-size: 22px; margin: 6px 0; }
.ref-card p { opacity: .9; font-size: 14px; }
.ref-code { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.15); border: 2px dashed rgba(255,255,255,.7); cursor: pointer; }
.ref-code span { font-size: 12px; opacity: .85; } .ref-code b { font-size: 22px; letter-spacing: .08em; }
.loyal-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.loyal-row a { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.loyal-row b { font-size: 16px; } .loyal-row small { color: var(--muted); }

/* v3 — Ulasan */
.review-block { padding: 12px 0; border-bottom: 1px dashed var(--line); } .review-block:last-of-type { border-bottom: 0; }
.review-who { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; } .review-who > span { font-size: 26px; } .review-who b { display: block; } .review-who small { color: var(--muted); }
.tag-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.tag-picks input { position: absolute; opacity: 0; pointer-events: none; }
.tag-picks span { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; cursor: pointer; background: #fff; }
.tag-picks input:checked + span { background: var(--green-100); border-color: var(--green); color: var(--green-700, #0b6b2d); font-weight: 600; }
.photo-pick { display: block; margin-top: 10px; } .photo-pick input { display: none; } .photo-pick span { display: block; padding: 12px; text-align: center; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--muted); cursor: pointer; font-size: 13.5px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; } .tag-list span { padding: 3px 9px; border-radius: 99px; background: var(--green-100); color: var(--green); font-size: 11.5px; font-weight: 600; }
.review-photo { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; margin-top: 6px; }
.review-reply { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #F3F4F6; border-left: 3px solid var(--green); font-size: 13px; } .review-reply p { margin: 2px 0 0; color: var(--text, #111); }
.review-mine + .review-mine { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rv-summary { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.rv-avg { text-align: center; } .rv-avg b { font-size: 40px; line-height: 1; display: block; } .rv-avg .st { color: var(--amber); } .rv-avg small { color: var(--muted); }
.rv-bar { display: grid; grid-template-columns: 26px 1fr 30px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin: 3px 0; }
.rv-bar i { display: block; height: 7px; border-radius: 99px; background: #F3F4F6; overflow: hidden; } .rv-bar i em { display: block; height: 100%; background: var(--amber); }
.rv-item { padding: 14px 0; border-bottom: 1px solid var(--line); } .rv-item:last-child { border-bottom: 0; }
.rv-head { display: flex; gap: 10px; align-items: center; } .rv-head b { display: block; font-size: 14px; } .rv-head small { color: var(--muted); font-size: 12px; } .rv-head .st { margin-left: auto; color: var(--amber); white-space: nowrap; }
.rv-item p { margin: 6px 0 0; font-size: 13.5px; }
.rv-hidden { opacity: .5; }

/* v3 — Banner carousel & chip loyalitas */
.loyal-chips { display: flex; gap: 8px; margin: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
.loyal-chips a { flex: none; padding: 7px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; box-shadow: 0 2px 8px -4px rgba(0,0,0,.12); }
.bn-carousel { position: relative; margin: 16px 16px 0; }
.bn-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.bn-track::-webkit-scrollbar, .loyal-chips::-webkit-scrollbar { display: none; }
.bn-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 128px; padding: 18px; border-radius: var(--radius-lg); color: #fff; overflow: hidden;
  background: radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--bc) 55%, #fff) 0%, var(--bc) 50%, color-mix(in srgb, var(--bc) 70%, #000) 100%); }
.bn-copy { position: relative; z-index: 1; max-width: 68%; } .bn-copy b { display: block; font-size: 17px; line-height: 1.25; } .bn-copy small { display: block; opacity: .9; margin-top: 4px; font-size: 12.5px; }
.bn-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.2); font-size: 12.5px; font-weight: 700; } .bn-cta .ic { width: 14px; height: 14px; }
.bn-art { font-size: 66px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.25)); } .bn-img { position: absolute; inset: 0 0 0 auto; width: 45%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 35%); mask-image: linear-gradient(to right, transparent, #000 35%); }
.bn-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; } .bn-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: var(--line); transition: .2s; } .bn-dots button.active { width: 20px; background: var(--green); }
.bn-wide { margin: 0; } .bn-wide .bn-slide { min-height: 220px; padding: 34px 44px; } .bn-wide .bn-copy b { font-size: 30px; } .bn-wide .bn-copy small { font-size: 16px; } .bn-wide .bn-cta { font-size: 15px; padding: 10px 18px; } .bn-wide .bn-art { font-size: 130px; }
.promo-row-body > .flex.between { flex-wrap: wrap; gap: 8px; }
.promo-row-body .btn-sm { padding: 6px 10px; }

/* ===== v4 — Responsive hardening ===== */
.bottom-nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.bottom-nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.list-item .grow { min-width: 0; }
.list-item .grow .pill { display: inline-block; }
.list-item > .pill, .list-item > form, .list-item > .btn, .list-item > .tx-amount { flex: none; }
.tx-amount, .price { white-space: nowrap; }
img, video, svg, canvas { max-width: 100%; }
.input, select.input, textarea.input { min-width: 0; max-width: 100%; }
input[type=date].input, input[type=time].input { min-height: 46px; }
.row-2 > *, .grid-2 > * { min-width: 0; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; }
@media (max-width: 420px) {
  .stat-row b { font-size: 16px; }
  .page-hero-art { display: none; }
  .btn-lg { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 360px) {
  .svc-grid { gap: 8px; }
  .bottom-nav a { font-size: 10px; }
}
.clean-card .price { white-space: normal; }

/* v4 — Live tracking */
.track-box { position: relative; }
.track-tools { position: absolute; right: 10px; bottom: 10px; z-index: 500; display: flex; gap: 6px; }
.track-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 99px; background: #fff; color: var(--text, #111); font: inherit; font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(0,0,0,.3); cursor: pointer; }
.track-btn .ic { width: 16px; height: 16px; } .track-btn.on { background: var(--green); color: #fff; }
.live-panel { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.live-panel b { display: block; font-size: 14.5px; } .live-panel small { color: var(--muted); font-size: 12px; }
.live-dot { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; background: #FEE2E2; color: #DC2626; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: #DC2626; animation: livePulse 1.4s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.6); } 70% { box-shadow: 0 0 0 7px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }
.live-eta { flex: none; text-align: center; padding-left: 12px; border-left: 1px solid var(--line); } .live-eta b { font-size: 22px; line-height: 1; color: var(--green); } .live-eta small { display: block; }

/* v4 — Web Push card */
.push-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: linear-gradient(135deg, #F0FDF4, #fff); border: 1px solid var(--green-100); }
.push-card .grow { min-width: 0; } .push-card b { display: block; font-size: 14.5px; } .push-card small { display: block; color: var(--muted); font-size: 12.5px; }
.push-card .push-state { margin-top: 2px; font-weight: 700; color: #B45309; } .push-card.on .push-state { color: var(--green); }
.push-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--green); color: #fff; }
.push-card.on .push-ic { animation: bellRing 2.4s ease-in-out 1; }
.push-actions { flex: none; display: flex; flex-direction: column; gap: 6px; }
@keyframes bellRing { 0%,100% { transform: rotate(0); } 10%,30% { transform: rotate(14deg); } 20%,40% { transform: rotate(-14deg); } 50% { transform: rotate(0); } }
@media (max-width: 360px) { .push-card { flex-wrap: wrap; } .push-actions { flex-direction: row; width: 100%; } .push-actions .btn { flex: 1; } }

/* v4 — Alamat favorit */
.saved-places { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 8px; padding-bottom: 2px; }
.saved-places::-webkit-scrollbar { display: none; }
.saved-places button, .saved-places .sp-add { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--green-100); background: var(--green-50); color: var(--green-700, #0b6b2d); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.saved-places button .ic, .saved-places .sp-add .ic { width: 15px; height: 15px; }
.saved-places button.on { background: var(--green); color: #fff; border-color: var(--green); }
.saved-places .sp-add { padding: 0 9px; background: #fff; border-style: dashed; }
.fav-list { display: grid; gap: 10px; }
.fav-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fav-item .grow { min-width: 0; } .fav-item b { display: block; } .fav-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; overflow-wrap: anywhere; }
.fav-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--green-100); color: var(--green); }
.fav-warn { color: #B45309 !important; font-weight: 600; }
.fav-act { flex: none; display: flex; gap: 4px; }
.icon-btn.danger { color: #DC2626; }
.fav-icons .chip-opt span .ic { width: 20px; height: 20px; display: block; margin: 0 auto 2px; }
/* Jadwal */
.when-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: var(--line-2); }
.when-seg input { position: absolute; opacity: 0; pointer-events: none; }
.when-seg label { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.when-seg label .ic { width: 17px; height: 17px; }
.when-seg input:checked + label { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.when-pick { margin-top: 10px; } .when-pick[hidden] { display: none; }
.sched-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: #EEF2FF; color: #4338CA; font-size: 12px; font-weight: 700; }
.sched-badge .ic { width: 14px; height: 14px; }
.reorder-btn { display: inline-flex; align-items: center; gap: 6px; }
.order-reorder { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 7px 12px; border-radius: 99px; background: var(--green-100); color: var(--green); font-size: 12.5px; font-weight: 700; }
.order-reorder .ic { width: 15px; height: 15px; }
