@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');

:root {
  --primary: #0073CF;
  --primary-hover: #005FA8;
  --accent: #7AB800;
  --navy: #0b2a4a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e8eef5;
  --bg: #f3f7fb;
  --surface: #fff;
  --ord-w: 540px;
  --font: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
a, a:hover, a:focus { text-decoration: none !important; }
[hidden] { display: none !important; }

.ord-body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 280px at 50% -80px, rgba(0, 115, 207, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ord-body h1,
.ord-body h2,
.ord-body h3,
.ord-body h4,
.ord-body strong,
.ord-body b {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: normal;
}

.ord-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--primary);
  border-bottom: 1px solid var(--primary-hover);
}
.ord-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--ord-w);
  margin: 0 auto;
  padding: 8px 16px;
  padding-top: calc(8px + env(safe-area-inset-top));
}
.ord-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
}
.ord-brand img {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 6px;
}
.ord-brand-txt { min-width: 0; line-height: 1.15; }
.ord-brand-txt b {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}
.ord-brand-txt small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.ord-top-acts { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ord-link { color: #fff; font-weight: 700; font-size: 0.78rem; }
.ord-link-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--primary);
}
.ord-link-ic svg { display: block; }
.ord-link-ic:hover { background: rgba(255, 255, 255, 0.88); }

.ord-main { max-width: var(--ord-w); margin: 0 auto; padding: 12px 16px 8px; }
.ord-alert {
  background: #fee2e2;
  color: #991b1b;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ord-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 6px 10px;
  box-shadow: 0 8px 20px rgba(11, 42, 74, 0.05);
}
.ord-step-btn {
  flex: 1;
  position: relative;
  border: 0;
  background: none;
  padding: 0 2px;
  cursor: pointer;
  font-family: inherit;
  color: #94a3b8;
  min-width: 0;
}
.ord-step-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 13px;
  left: calc(50% + 14px);
  width: calc(100% - 28px);
  height: 2px;
  background: #d7e4ef;
  z-index: 0;
}
.ord-step-btn.is-done:not(:last-child)::after {
  background: var(--accent);
}
.ord-step-num {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  margin: 0 auto 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background: #eef3f8;
  box-shadow: 0 0 0 3px #fff;
}
.ord-step-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.ord-step-btn.is-on { color: var(--primary); }
.ord-step-btn.is-on .ord-step-num {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(0, 115, 207, 0.16);
}
.ord-step-btn.is-done { color: #4d7c0f; }
.ord-step-btn.is-done .ord-step-num {
  background: var(--accent);
  color: #fff;
}

.ord-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}
.ord-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ord-pane-head .ord-title { margin: 0; }
.ord-pane-head .ord-back { margin: 0; flex: 0 0 auto; padding: 0; }
.ord-title { margin: 0 0 2px; font-size: 1.05rem; font-weight: 700; }
.ord-sub { margin: 0 0 8px; color: var(--muted); font-size: 0.78rem; font-weight: 500; }

.ord-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.ord-search {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #f8fbfe;
}
.ord-search:focus,
.ord-field input:focus,
.ord-field select:focus,
.ord-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 115, 207, 0.12);
  background: #fff;
}

.ord-kats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ord-kats::-webkit-scrollbar { display: none; }
.ord-kat {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.ord-kat.is-on { background: var(--primary); color: #fff; border-color: var(--primary); }

.ord-jenis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ord-kat-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  box-shadow: 0 6px 16px rgba(11, 42, 74, 0.05);
}
.ord-kat-card.is-in { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0,115,207,.18); }
.ord-kat-photo {
  height: 110px;
  background: #d7ebf8 center/cover no-repeat;
}
.ord-kat-meta { padding: 8px 9px 10px; }
.ord-kat-meta strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}
.ord-kat-meta span { display: block; margin-top: 2px; font-size: 0.68rem; color: var(--muted); font-weight: 600; }

.ord-prod-list { display: flex; flex-direction: column; gap: 8px; }
.ord-prod {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.ord-prod.is-in { border-color: var(--primary); background: #f4f9fd; }
.ord-svc-body { min-width: 0; }
.ord-svc-kat { font-size: 0.72rem; font-weight: 700; color: var(--primary); }
.ord-svc-nama { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin: 2px 0 3px; }
.ord-svc-harga { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.ord-svc-coret { color: #94a3b8; font-weight: 600; text-decoration: line-through; margin-right: 4px; font-size: 0.76rem; }
.ord-back {
  display: inline-flex;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0 0 12px;
  cursor: pointer;
}
.ord-qty-add {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}
.ord-empty { text-align: center; color: var(--muted); padding: 28px 8px; font-size: 0.88rem; }

.ord-cart {
  margin-top: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.ord-cart h4 { margin: 0 0 8px; font-size: 0.86rem; }
.ord-cart-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.ord-cart-row:last-child { border-bottom: 0; }
.ord-cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ord-cart-info strong { font-size: 0.82rem; }
.ord-cart-sub { font-size: 0.8rem; font-weight: 700; color: var(--primary); }
.ord-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe4f6;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}
.ord-qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: #e8f3fc;
  color: var(--primary);
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
}
.ord-qty span { min-width: 26px; text-align: center; font-size: 0.88rem; font-weight: 700; }
.ord-cart-del { border: 0; background: none; color: #ef4444; cursor: pointer; font-size: 1.1rem; }
.ord-hint { display: block; margin-top: 4px; color: var(--muted); font-size: 0.75rem; }

.ord-field { margin-bottom: 12px; }
.ord-field label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 5px; color: #334155; }
.ord-field input,
.ord-field select,
.ord-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
}
.ord-grid { display: grid; gap: 10px; }
.ord-grid-2 { grid-template-columns: 1fr; }

.ord-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ord-pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.ord-pill.is-on { background: #e8f3fc; border-color: var(--primary); color: var(--primary); }
.ord-pill.is-full { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }

.ord-slots { display: grid; gap: 8px; }
.ord-slot {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.ord-slot strong { display: block; font-size: 0.9rem; }
.ord-slot span { color: var(--muted); font-size: 0.76rem; }
.ord-slot.is-on { border-color: var(--primary); background: #e8f3fc; }

.ord-rek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4f9fd;
}
.ord-rek small { display: block; color: var(--muted); font-size: 0.74rem; }
.ord-rek strong { display: block; margin-top: 2px; font-size: 1.05rem; letter-spacing: 0.04em; }
.ord-rek .ord-btn-brand {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.ord-pay {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.ord-pay.is-on { border-color: var(--primary); background: #f4f9fd; }
.ord-pay-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.ord-pay strong { display: block; }
.ord-pay-amt {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ord-pay.is-on .ord-pay-amt { color: var(--primary); }
.ord-pay small { display: block; margin-top: 4px; color: var(--muted); }

.ord-review { display: flex; flex-direction: column; gap: 10px; }
.ord-rv-blok {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px 8px;
  background: #fff;
}
.ord-rv-head {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.ord-rv-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}
.ord-rv-item:first-of-type { border-top: 0; padding-top: 0; }
.ord-rv-item b {
  display: inline-block;
  min-width: 22px;
  color: var(--primary);
}
.ord-rv-item em { font-style: normal; font-weight: 700; white-space: nowrap; }
.ord-rv-empty { color: var(--muted); font-size: 0.82rem; padding-bottom: 4px; }
.ord-rv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}
.ord-rv-meta { min-width: 0; padding: 4px 0 8px; }
.ord-rv-meta span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
}
.ord-rv-meta strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  word-break: break-word;
}
.ord-rv-alamat { grid-column: 1 / -1; }
.ord-rv-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b2a4a 0%, #0073CF 100%);
  color: #fff;
}
.ord-rv-total span { font-size: 0.76rem; font-weight: 700; opacity: .85; }
.ord-rv-total b { font-size: 1.08rem; }

.ord-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--ord-w);
  bottom: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 20px rgba(11, 42, 74, 0.05);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ord-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ord-bar-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.ord-bar-info small { color: var(--muted); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.ord-bar-info b { font-size: 1.05rem; white-space: nowrap; }
.ord-bar-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ord-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.88rem;
}
.ord-btn-ghost { background: #f1f5f9; color: #334155; }
.ord-btn-brand { background: var(--primary); color: #fff; }
.ord-btn-brand:disabled { opacity: .55; cursor: not-allowed; }

.ord-foot {
  display: none;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--ord-w);
  margin: 8px auto 0;
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 0.75rem;
}
.ord-foot a { color: var(--primary); font-weight: 700; }

.ord-body.has-gami { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }
.ord-body.is-sukses { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

.ord-ok { padding: 6px 0 8px; }
.ord-ok-head { text-align: center; padding: 10px 8px 18px; }
.ord-ok-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #8fd014 0%, var(--accent) 100%);
  box-shadow: 0 8px 20px rgba(122, 184, 0, 0.28);
}
.ord-ok-eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
}
.ord-ok h1 {
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 6px 0 8px;
  color: var(--navy);
}
.ord-ok-lead {
  margin: 0 auto;
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.ord-ok-ticket {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
}
.ord-ok-kode-wrap {
  text-align: center;
  padding: 16px 16px 4px;
  background:
    radial-gradient(circle at top, rgba(0, 115, 207, 0.08), transparent 58%),
    #fff;
}
.ord-ok-kode-wrap span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}
.ord-ok-kode {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e8f3fc;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
}

.ord-ok-handover {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px 16px 8px;
}
.ord-ok-qr { padding: 0; text-align: center; }
.ord-ok-qr-frame {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed #b7d4ea;
  box-shadow: inset 0 0 0 6px #f4f9fd;
}
.ord-ok-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ord-ok-unik {
  display: block;
  margin-top: 10px;
  letter-spacing: 0.28em;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b2a4a;
}
.ord-ok-qr small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.ord-ok .hg-garansi {
  padding: 12px 14px;
  border: 1px solid #f3d2a4;
  border-radius: 14px;
  background: #fffaf2;
  text-align: left;
}
.ord-ok .hg-garansi h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #9a3412;
}
.ord-ok .hg-garansi ol { margin: 0; padding-left: 18px; }
.ord-ok .hg-garansi li {
  margin: 0 0 8px;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
}
.ord-ok .hg-garansi li:last-child { margin-bottom: 0; }
.ord-ok .hg-maps {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}
.ord-ok .hg-maps b { display: block; font-size: 0.92rem; color: var(--navy); }
.ord-ok .hg-maps p { margin: 6px 0 0; color: var(--muted); font-size: 0.8rem; font-weight: 600; line-height: 1.45; }
.ord-ok .hg-maps a { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--primary); word-break: break-all; font-size: 0.8rem; }
.ord-ok .hg-vch-wrap { margin: 12px 0 0; }
.ord-ok .hg-vch-kicker {
  margin: 0 0 8px;
  color: #215355;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ord-ok .hg-vch {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
}
.ord-ok .hg-vch-head {
  background: #1d6fb8 radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.2px);
  background-size: auto, 7px 7px;
  color: #fff;
  text-align: center;
  padding: 18px 16px 20px;
}
.ord-ok .hg-vch-badge {
  display: inline-block;
  background: #8fd014;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.ord-ok .hg-vch-head h3 {
  margin: 10px 0 4px;
  font-size: 1.02rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.ord-ok .hg-vch-head p {
  margin: 0;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.ord-ok .hg-vch-teeth {
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'><polygon points='0,0 6,10 12,0' fill='%231d6fb8'/></svg>");
  background-repeat: repeat-x;
  background-size: 12px 10px;
}
.ord-ok .hg-vch-body { padding: 16px 16px 10px; }
.ord-ok .hg-vch-kode {
  border: 2px dashed #1d6fb8;
  border-radius: 16px;
  text-align: center;
  padding: 14px 12px;
  background: repeating-linear-gradient(135deg, #eef6fc 0 8px, #f7fbfe 8px 16px);
}
.ord-ok .hg-vch-kode span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.ord-ok .hg-vch-kode b {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  color: #1d6fb8;
  letter-spacing: .14em;
}
.ord-ok .hg-vch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.ord-ok .hg-vch-meta span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.ord-ok .hg-vch-meta b { display: block; margin-top: 2px; font-size: 0.9rem; color: var(--navy); }
.ord-ok .hg-vch-tnc {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}
.ord-ok .hg-vch-tnc span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.ord-ok .hg-vch-tnc ul { margin: 0; padding-left: 18px; }
.ord-ok .hg-vch-tnc li {
  margin: 0 0 6px;
  font-size: 0.74rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}
.ord-ok .hg-vch-foot {
  background: #8fd014;
  color: #fff;
  text-align: center;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .ord-ok-handover {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.ord-ok-meta {
  list-style: none;
  margin: 0;
  padding: 0 16px;
  border-top: 1px dashed var(--line);
}
.ord-ok-meta li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
}
.ord-ok-meta li:last-child { border-bottom: 0; }
.ord-ok-meta span {
  flex: 0 0 86px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  padding-top: 1px;
}
.ord-ok-meta strong {
  flex: 1;
  text-align: right;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
.ord-ok-status {
  display: inline-block;
  font-style: normal;
  background: #fff6e5;
  color: #b45309;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}
.ord-ok-status.is-ok { background: #eef8d8; color: #3f6212; }

.ord-ok-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 12px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b2a4a 0%, #0073CF 100%);
  color: #fff;
}
.ord-ok-total span { font-size: 0.76rem; font-weight: 700; opacity: .8; }
.ord-ok-total b { font-size: 1.12rem; }

.ord-ok-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f8ee;
  color: #3f6212;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

.ord-ok-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ord-ok-acts a {
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ord-ok-acts .ord-btn-brand {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 115, 207, 0.22);
}
.ord-ok-acts .ord-btn-ghost { background: #fff; color: #334155; border: 1px solid var(--line); }

.ord-lokasi {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 6px 6px 12px;
  background: #fff;
}
.ord-lokasi-txt {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ord-lokasi .ord-btn-brand {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.ord-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 42, 74, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}
.ord-modal-card {
  width: 100%;
  max-width: var(--ord-w);
  max-height: calc(100vh - 24px);
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(11, 42, 74, 0.2);
}
.ord-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ord-modal-head strong { font-size: 0.95rem; }
.ord-modal-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.ord-map-cari { display: flex; gap: 6px; margin-bottom: 8px; }
.ord-map-cari input {
  flex: 1;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 0.88rem;
}
.ord-map-cari .ord-btn-brand {
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.ord-map-hasil {
  max-height: 120px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
}
.ord-map-hasil button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.ord-map-hasil button:last-child { border-bottom: 0; }
.ord-map-wrap { position: relative; }
.ord-map {
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  z-index: 1;
}
.ord-map-gps {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 42, 74, 0.18);
}
.ord-map-gps:hover { border-color: var(--primary); }
.ord-map-gps.is-loading { opacity: .6; pointer-events: none; }
.ord-map-gps.is-loading svg { animation: ord-spin 0.8s linear infinite; }
@keyframes ord-spin { to { transform: rotate(360deg); } }
.ord-map-hint {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.ord-modal-acts { display: flex; gap: 8px; }
.ord-modal-acts button { flex: 1; }

.ord-toast {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top));
  right: 12px;
  left: auto;
  z-index: 80;
  width: max-content;
  max-width: min(260px, calc(100vw - 24px));
  background: #0b2a4a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(11, 42, 74, 0.2);
}

@media (min-width: 520px) {
  .ord-grid-2 { grid-template-columns: 1fr 1fr; }
  .ord-slots { grid-template-columns: 1fr 1fr; }
}

.ord-gami { display: flex; flex-direction: column; gap: 6px; }
.ord-gami-win {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: linear-gradient(135deg, rgba(122, 184, 0, 0.14), rgba(0, 115, 207, 0.10));
  border: 1px solid rgba(122, 184, 0, 0.4);
  border-radius: 10px;
  padding: 7px 10px;
}
.ord-gami-ic { font-size: 1.05rem; line-height: 1.2; }
.ord-gami-win b { display: block; font-size: 0.8rem; color: var(--navy); }
.ord-gami-win em { display: inline-block; font-style: normal; font-weight: 700; color: var(--accent); font-size: 0.78rem; }
.ord-gami-win small { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.ord-gami-next { padding: 2px 2px 0; }
.ord-gami-bar { height: 7px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 5px; }
.ord-gami-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .3s ease; }
.ord-gami-next small { color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.ord-gami-next small b { color: var(--navy); }

.ord-voucher {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ord-voucher input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
}
.ord-voucher button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.ord-hint.is-ok { color: var(--accent); }
.ord-hint.is-err { color: #d64545; }
