/* ================= Fonts (self-hosted, font-display: swap) =================
   Di-host sendiri supaya: (1) tidak ada request ke domain pihak ketiga yang
   memblokir render, (2) font-display: swap sepenuhnya di bawah kendali kita —
   teks langsung tampil dengan font sistem, lalu berganti saat font siap,
   (3) hanya subset latin & latin-ext yang diunduh (unicode-range).
   Nama file memuat versi (v20/v23) agar aman di-cache selamanya. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext-v20.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-v20.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/caveat-latin-ext-v23.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/caveat-latin-v23.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* FYZ Shoes & Care — palette diambil dari logo: biru tua + kuning emas */
  --navy: #122b49;
  --ink: #122b49;
  --ink-soft: #5c6b82;
  --blue: #2e5c96;
  --blue-deep: #1b3f6b;
  --blue-soft: #e8eff8;
  --yellow: #ffc20e;
  --yellow-deep: #f2b100;
  --yellow-soft: #fff3cc;
  --cream: #fbf7ec;
  --line: rgba(46, 92, 150, .16);
  --grad: linear-gradient(120deg, #ffc20e, #ffd84a);
  --grad-blue: linear-gradient(120deg, #2e5c96, #1b3f6b);
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .9);
  --ok: #0f766e;
  --warn: #b45309;
  --bad: #b91c1c;
  --radius: 18px;
  --shadow: 0 20px 44px -26px rgba(18, 43, 73, .5), 0 2px 8px rgba(18, 43, 73, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* hand-drawn script accent, mengikuti gaya tulisan di logo */
.script {
  font-family: Caveat, "Segoe Script", "Bradley Hand", cursive;
  font-weight: 700;
  letter-spacing: .01em;
}

.orbs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.orb-1 { width: 540px; height: 540px; background: #b9cfe8; top: -180px; left: -140px; }
.orb-2 { width: 440px; height: 440px; background: #ffe08a; top: 6%; right: -150px; opacity: .45; }
.orb-3 { width: 500px; height: 500px; background: #cfe0f2; bottom: -200px; left: 18%; opacity: .5; }
.orb-4 { width: 380px; height: 380px; background: #ffd977; bottom: 8%; right: 6%; opacity: .35; }

img { max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.18; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 .85rem; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--ink-soft); }
.small { font-size: .84rem; }
.tiny { font-size: .76rem; }
.center { text-align: center; }
.right { text-align: right; }
.mono { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* highlight seperti spidol kuning */
.marker {
  background: linear-gradient(180deg, transparent 58%, rgba(255, 194, 14, .85) 58%, rgba(255, 194, 14, .85) 94%, transparent 94%);
  padding: 0 .06em;
}

/* ---------------- topbar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  border-top: 3px solid var(--yellow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(251, 247, 236, .86);
  border-bottom: 1px solid rgba(46, 92, 150, .12);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 11px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 44px; height: 44px; flex: none; display: block; }
.brand-logo-img { object-fit: contain; border-radius: 12px; background: #fff; padding: 2px; box-shadow: 0 6px 14px -10px rgba(18, 43, 73, .7); }
.footer-brand .brand-logo-img { background: #fff; padding: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: Caveat, "Segoe Script", cursive; font-weight: 700;
  font-size: 1.72rem; color: var(--navy); letter-spacing: .01em;
}
.brand-sub {
  font-size: .6rem; font-weight: 700; letter-spacing: .22em;
  color: var(--blue); text-transform: uppercase; margin-top: 2px; padding-left: 2px;
}
.nav { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav-spacer { flex: 1; }
.nav-link {
  padding: 8px 12px; border-radius: 11px; color: var(--ink-soft);
  font-size: .88rem; font-weight: 600;
}
.nav-link:hover { background: rgba(255, 255, 255, .85); color: var(--navy); text-decoration: none; }
.nav-link.is-active { background: var(--yellow-soft); color: #7a5600; }
.nav-user { font-size: .85rem; color: var(--ink-soft); padding-right: 4px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--glass-strong); border-radius: 11px; padding: 8px 12px; font-size: 1rem; cursor: pointer; color: var(--navy); }
.inline-form { display: inline; margin: 0; }

/* ---------------- layout ---------------- */
/* Grid/flex child defaultnya min-width:auto -> tabel lebar bisa memaksa kartu
   melebihi layar (overflow 2px di mobile). Ini pengamannya. */
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .stack > *, .stack-sm > *,
.steps-3 > *, .row > *, .row-between > * { min-width: 0; }
.table-wrap { max-width: 100%; }
.card { min-width: 0; }
.page { max-width: 1180px; margin: 0 auto; padding: 34px 22px 72px; }
.page.narrow { max-width: 780px; }
.section { margin-bottom: 44px; }
.stack { display: grid; gap: 20px; }
.stack-sm { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }

.card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.card-title { font-size: 1.02rem; font-weight: 700; margin: 0; }
.card-sub { font-size: .84rem; color: var(--ink-soft); margin: 2px 0 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------------- hero ---------------- */
.hero {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 32px;
  align-items: center; margin-bottom: 46px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(46, 92, 150, .16);
  color: var(--blue-deep); font-weight: 700; font-size: .74rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.hero-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-art {
  position: relative; border-radius: 26px; padding: 26px;
  background: linear-gradient(155deg, #35679f 0%, #2e5c96 46%, #1b3f6b 100%);
  box-shadow: 0 34px 60px -32px rgba(27, 63, 107, .9);
  color: #fff; overflow: hidden;
}
.hero-art::after {
  content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 194, 14, .12); top: -90px; right: -70px;
}
.hero-art h3 { color: #fff; font-size: 1.25rem; margin-top: 10px; }
.hero-art p { color: rgba(255, 255, 255, .84); font-size: .9rem; }
.hero-shoe { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.hero-script {
  position: relative; z-index: 1;
  font-family: Caveat, "Segoe Script", cursive; font-weight: 700;
  font-size: 1.75rem; color: var(--yellow); line-height: 1; margin: -6px 0 14px;
}
.hero-art .mini-list { display: grid; gap: 9px; margin-top: 6px; position: relative; z-index: 1; }
.hero-art .mini-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 194, 14, .34);
  padding: 9px 13px; border-radius: 12px; font-size: .85rem; font-weight: 500; color: #fff;
}
.hero-art .mini-item span:first-child { color: var(--yellow); font-weight: 800; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  background: var(--glass-strong); color: var(--ink);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad); color: #2a2000;
  border-color: rgba(242, 177, 0, .55);
  box-shadow: 0 14px 28px -16px rgba(242, 177, 0, .95);
}
.btn-primary:hover { box-shadow: 0 18px 34px -16px rgba(242, 177, 0, .95); }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 14px 28px -18px rgba(27, 63, 107, .95); }
.btn-ghost { background: #fff; border-color: rgba(46, 92, 150, .22); color: var(--navy); }
.btn-ghost:hover { background: #fffdf7; border-color: rgba(46, 92, 150, .4); }
.btn-ok { background: linear-gradient(120deg, #0f766e, #14a08f); color: #fff; }
.btn-bad { background: linear-gradient(120deg, #b91c1c, #e04141); color: #fff; }
.btn-sm { padding: 8px 13px; font-size: .82rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------------- forms ---------------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field > label, .label { font-size: .84rem; font-weight: 600; color: var(--navy); }
.field .hint { font-size: .76rem; color: var(--ink-soft); }
input[type=text], input[type=password], input[type=tel], input[type=email], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px;
  border: 1px solid rgba(46, 92, 150, .24);
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: .92rem; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(255, 194, 14, .35);
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input[type=file] { font-size: .85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.check input { width: auto; margin-top: 3px; }

/* ---------------- tables ---------------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th {
  text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--blue-deep); font-weight: 800; padding: 12px 16px;
  border-bottom: 2px solid rgba(255, 194, 14, .55); white-space: nowrap;
  background: rgba(232, 239, 248, .5);
}
.table td { padding: 14px 16px; border-bottom: 1px solid rgba(46, 92, 150, .1); vertical-align: middle; }
.table tbody tr:hover { background: rgba(255, 255, 255, .66); }
.table tbody tr:last-child td { border-bottom: none; }

/* ---------------- badges ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; white-space: nowrap;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-warn { background: var(--yellow-soft); color: #8a5f00; }
.badge-info { background: var(--blue-soft); color: var(--blue-deep); }
.badge-ok { background: #d9f2ec; color: #0b6b5f; }
.badge-bad { background: #fde2e2; color: #a51b1b; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(46, 92, 150, .09); color: var(--blue-deep); font-size: .73rem; font-weight: 700; }

/* ---------------- alerts ---------------- */
.alert {
  padding: 12px 16px; border-radius: 13px; font-size: .88rem; font-weight: 500;
  margin-bottom: 18px; border: 1px solid transparent;
}
.alert-ok { background: #ddf3ec; border-color: #a9e0d2; color: #0b6b5f; }
.alert-err { background: #fde5e5; border-color: #f3bdbd; color: #a51b1b; }
.alert-info { background: var(--yellow-soft); border-color: rgba(242, 177, 0, .45); color: #7a5600; }

/* ---------------- pricing ---------------- */
.price-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.price-card .price {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy);
  padding-bottom: 2px;
  background: linear-gradient(180deg, transparent 66%, rgba(255, 194, 14, .7) 66%, rgba(255, 194, 14, .7) 96%, transparent 96%);
  align-self: flex-start;
}
.price-card .svc-name { font-size: 1rem; font-weight: 700; margin: 0; }
.price-card .svc-desc { font-size: .85rem; color: var(--ink-soft); margin: 0; flex: 1; }
.price-card .svc-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.cat-title::before { content: ''; width: 14px; height: 14px; border-radius: 4px; background: var(--yellow); flex: none; }
.cat-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cat-title h2 { font-size: 1.12rem; margin: 0; }

/* ---------------- service picker ---------------- */
.svc-group + .svc-group { margin-top: 20px; }
.svc-cat { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--blue); margin: 0 0 10px; font-weight: 800; }
.svc-pick {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 13px 15px; border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(46, 92, 150, .16);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.svc-pick:hover { border-color: rgba(46, 92, 150, .34); }
.svc-pick.is-picked { border-color: var(--yellow-deep); box-shadow: 0 0 0 3px rgba(255, 194, 14, .22); background: #fffdf4; }
.svc-pick input[type=checkbox] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.svc-pick-body { display: grid; gap: 3px; flex: 1; min-width: 0; }
.svc-pick-name { font-size: .92rem; font-weight: 700; }
.svc-pick-desc { font-size: .78rem; color: var(--ink-soft); line-height: 1.45; }
.svc-pick-meta { font-size: .74rem; color: var(--ink-soft); font-weight: 600; }
.qty-wrap { display: grid; justify-items: center; gap: 3px; flex: none; }
.qty-wrap input { width: 62px; text-align: center; padding: 7px 6px; font-size: .85rem; }
.qty-wrap input:disabled { opacity: .45; }
.check-radio {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 13px 15px; border-radius: 14px; font-size: .9rem;
  background: #fff; border: 1px solid rgba(46, 92, 150, .16);
}
.check-radio:hover { border-color: rgba(46, 92, 150, .34); }
.check-radio:has(input:checked) { border-color: var(--yellow-deep); box-shadow: 0 0 0 3px rgba(255, 194, 14, .22); background: #fffdf4; }
.check-radio input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue); flex: none; }

/* ---------------- promo gratis ongkir ---------------- */
.promo-banner {
  display: flex; align-items: flex-start; gap: 13px;
  background: linear-gradient(120deg, #fff6d6, #fffdf3);
  border: 1px solid rgba(242, 177, 0, .45);
  border-left: 5px solid var(--yellow);
  border-radius: 15px; padding: 14px 18px; margin-bottom: 20px;
  font-size: .88rem; color: #5c4600;
}
.promo-banner strong { color: #4a3800; }
.promo-banner .small { color: #7a6533; margin-top: 2px; }
.promo-star { font-size: 1.3rem; line-height: 1.15; flex: none; }

/* ---------------- reset password ---------------- */
.reset-steps { counter-reset: rs; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reset-steps li {
  counter-increment: rs; position: relative; padding-left: 40px;
  font-size: .88rem; line-height: 1.5; color: var(--ink);
}
.reset-steps li::before {
  content: counter(rs); position: absolute; left: 0; top: -1px;
  width: 26px; height: 26px; border-radius: 9px;
  background: var(--yellow-soft); color: #7a5600;
  border: 1px solid rgba(242, 177, 0, .45);
  display: grid; place-items: center; font-weight: 800; font-size: .78rem;
}
.link-box {
  display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap;
  background: #fff; border: 1px dashed rgba(46, 92, 150, .35);
  border-radius: 12px; padding: 10px 12px; margin-top: 10px;
}
.link-box code {
  flex: 1; min-width: 200px; font-size: .74rem; word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--blue-deep);
  align-self: center;
}
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-dot.on { color: #0b6b5f; }
.status-dot.off { color: #a51b1b; }
.danger-zone { border-color: rgba(185, 28, 28, .3); background: rgba(255, 245, 245, .75); }
.danger-zone .card-title { color: #a51b1b; }

/* ---------------- foto kondisi sepatu ---------------- */
.condition-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.condition-item {
  margin: 0; display: grid; gap: 8px;
  background: #fff; border: 1px solid rgba(46, 92, 150, .18);
  border-radius: 14px; padding: 10px;
  box-shadow: 0 10px 24px -20px rgba(18, 43, 73, .8);
}
.condition-item a { display: block; }
.condition-img {
  display: block; width: 100%; height: 140px; object-fit: cover;
  border-radius: 10px; background: var(--blue-soft);
}
.condition-item figcaption { display: grid; gap: 2px; }
.condition-item form { margin: 0; }
.condition-item .btn { width: 100%; }

/* perbandingan sebelum & sesudah */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-side {
  display: grid; gap: 10px; align-content: start;
  background: #fff; border: 1px solid rgba(46, 92, 150, .18);
  border-radius: 14px; padding: 12px;
}
.compare-tag {
  justify-self: start; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
.compare-tag.before { background: rgba(185, 28, 28, .1); color: #a51b1b; }
.compare-tag.after { background: #ddf3ec; color: #0b6b5f; }
.compare-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.compare-img {
  display: block; width: 100%; height: 120px; object-fit: cover;
  border-radius: 10px; background: var(--blue-soft);
}
@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .compare-img { height: 140px; }
}
.promo-note {
  margin: 10px 0 4px; padding: 9px 12px; border-radius: 11px;
  background: var(--yellow-soft); border: 1px dashed rgba(242, 177, 0, .6);
  color: #7a5600; font-size: .78rem; font-weight: 600; line-height: 1.4;
}
.promo-note.is-free {
  background: #ddf3ec; border-color: #8fd3c2; color: #0b6b5f;
}
.price-strike { text-decoration: line-through; color: var(--ink-soft); font-weight: 500; margin-right: 4px; }
.zone-tag { font-size: .7rem; font-weight: 700; color: #0b6b5f; background: #ddf3ec; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.zone-tag.out { color: var(--ink-soft); background: rgba(46, 92, 150, .09); }

/* ---------------- timeline ---------------- */
.timeline { display: grid; gap: 0; }
.tl-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(46, 92, 150, .28); background: #fff; color: transparent;
  font-size: .65rem; flex: none; margin-top: 2px;
}
.tl-line { width: 2px; flex: 1; background: rgba(46, 92, 150, .18); min-height: 22px; }
.tl-step.done .tl-dot { background: var(--grad-blue); border-color: transparent; color: #fff; }
.tl-step.done .tl-line { background: rgba(46, 92, 150, .45); }
.tl-step.current .tl-dot { border-color: var(--yellow-deep); background: var(--yellow); color: #3a2a00; box-shadow: 0 0 0 4px rgba(255, 194, 14, .25); }
.tl-body { padding-bottom: 22px; }
.tl-step:last-child .tl-body { padding-bottom: 0; }
.tl-step:last-child .tl-line { display: none; }
.tl-title { font-size: .92rem; font-weight: 700; }
.tl-step:not(.done):not(.current) .tl-title { color: var(--ink-soft); font-weight: 500; }
.tl-note { font-size: .78rem; color: var(--ink-soft); }
.tl-time { font-size: .74rem; color: var(--ink-soft); }

.event { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(46, 92, 150, .16); }
.event:last-child { border-bottom: none; }
.event-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow-deep); margin-top: 7px; flex: none; }

/* ---------------- stats ---------------- */
.stat { display: grid; gap: 4px; }
.stat-label { font-size: .74rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; }
.stat-value { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.stat-note { font-size: .76rem; color: var(--ink-soft); }

/* ---------------- misc ---------------- */
.thumb {
  width: 72px; height: 72px; border-radius: 12px; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 6px 16px -10px rgba(18, 43, 73, .6);
  background: #fff;
}
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.qr-box { background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); display: grid; justify-items: center; gap: 8px; }
/* QRIS: lebar & tinggi dipatok supaya gambar portrait tidak bikin panel jadi raksasa */
.qr-box img { width: auto; max-width: 220px; max-height: 260px; object-fit: contain; border-radius: 8px; }

/* Bukti pembayaran: thumbnail berpagar + tautan untuk lihat ukuran penuh */
.proof-thumb {
  display: block; width: 100%; max-width: 240px; height: 190px;
  object-fit: contain; background: #fff; border-radius: 12px;
  border: 1px solid var(--line); padding: 6px;
}
.proof-link { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 600; }
.bank-list { display: grid; gap: 10px; }
.bank-item {
  background: #fff; border: 1px solid rgba(46, 92, 150, .18);
  border-left: 4px solid var(--yellow);
  border-radius: 12px; padding: 11px 14px; font-size: .88rem; font-weight: 700;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap;
}
.total-line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .89rem; }
.total-line.grand { border-top: 2px dashed rgba(46, 92, 150, .26); margin-top: 8px; padding-top: 12px; font-size: 1.06rem; font-weight: 800; }
.kv { display: grid; gap: 10px; }
.kv-row { display: flex; justify-content: space-between; gap: 14px; font-size: .87rem; padding-bottom: 8px; border-bottom: 1px dashed rgba(46, 92, 150, .14); }
.kv-row:last-child { border-bottom: none; padding-bottom: 0; }
.kv-row > span:first-child { color: var(--ink-soft); }
.kv-row > span:last-child { font-weight: 600; text-align: right; }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-soft); }
.empty-emoji { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--blue-soft); color: var(--blue-deep);
  padding: 3px 9px; border-radius: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { padding: 8px 14px; border-radius: 11px; background: #fff; border: 1px solid rgba(46, 92, 150, .18); font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.tab:hover { text-decoration: none; border-color: rgba(46, 92, 150, .38); color: var(--navy); }
.tab.is-active { background: var(--grad-blue); color: #fff; border-color: transparent; }
.steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how-card { position: relative; padding-top: 30px; }
.how-num {
  position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 12px;
  background: var(--yellow); color: #33260a; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 12px 24px -14px rgba(242, 177, 0, .9);
}

/* ---------------- footer ---------------- */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, .9); padding: 34px 22px 44px; margin-top: 20px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; font-size: .86rem; }
.footer strong { color: #fff; }
.footer .muted { color: rgba(255, 255, 255, .66); }
.footer a { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.footer-brand .brand-logo { width: 48px; height: 48px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--yellow); }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .hero, .split, .grid-2, .grid-3, .grid-4, .steps-3, .footer-inner { grid-template-columns: 1fr; }
  .grid-2.tight { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 12px; right: 12px; top: 66px;
    background: #fffdf8; border: 1px solid rgba(46, 92, 150, .16);
    border-radius: 16px; box-shadow: var(--shadow); padding: 14px; flex-direction: column;
    align-items: stretch; gap: 4px;
  }
  .nav.is-open { display: flex; }
  .nav-spacer { display: none; }
  .topbar-inner { position: relative; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page { padding: 24px 16px 56px; }
  .card { padding: 18px; }
  .grid-2.tight { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.3rem; }
  .table th, .table td { padding: 11px 12px; }
  .brand-name { font-size: 1.5rem; }
}

/* ---------------- toast (status kompresi / kirim) ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 14px);
  z-index: 90; padding: 11px 18px; border-radius: 12px;
  font-size: .86rem; font-weight: 600; color: #fff;
  background: rgba(18, 43, 73, .94);
  box-shadow: 0 18px 40px -22px rgba(18, 43, 73, .9);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast[data-tone="ok"] { background: linear-gradient(120deg, #0f766e, #14a08f); }
.toast[data-tone="info"] { background: rgba(27, 63, 107, .95); }
.toast[data-tone="err"] { background: linear-gradient(120deg, #b91c1c, #dc2626); max-width: min(560px, calc(100vw - 32px)); }

/* ---------------- campaign (beranda publik & admin) ---------------- */
.campaign-card { display: flex; flex-direction: column; gap: 10px; height: 100%; position: relative; overflow: hidden; }
.campaign-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--grad); border-radius: 4px 0 0 4px;
}
.campaign-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.campaign-flag {
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--yellow); color: #3a2a00; padding: 3px 9px; border-radius: 999px;
}
.campaign-name { font-size: 1.02rem; font-weight: 700; margin: 0; }
.campaign-desc { font-size: .84rem; color: var(--ink-soft); margin: 0; flex: 1; }
.campaign-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.campaign-now { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.campaign-was { font-size: .85rem; color: var(--ink-soft); text-decoration: line-through; }
.campaign-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.campaign-limit { margin: 0; }
