/* =========================================================================
   RAUHIN — FORMULIR PEMESANAN · order.css
   Gaya "checkout premium": laptop = kolom kiri gelap (langkah, ringkasan,
   keamanan) + kolom kanan putih (isian). HP = satu kolom, tombol di bawah.
   Inter Tight + JetBrains Mono, aksen merah Rauhin.
   ========================================================================= */


/* =========================================================================
   TOKEN
   ========================================================================= */
:root {
  --paper: #ffffff;
  --canvas: #f6f5f2;
  --mist: #efeee9;
  --ink: #0b0b0a;
  --text: #262626;
  --muted: #6b6a66;          /* 5.3:1 di putih */
  --line: #e4e2dc;
  --line-strong: #c9c7c0;
  --red: #ff3b3b;
  --red-text: #c81e18;
  --ok: #17803a;
  --on-dark: #f3efe6;
  --on-dark-muted: rgba(243, 239, 230, .62);
  --on-dark-line: rgba(243, 239, 230, .14);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(11, 11, 10, .04), 0 8px 24px -12px rgba(11, 11, 10, .12);
}


/* =========================================================================
   DASAR
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; }
small { font-size: .8125rem; color: var(--muted); font-weight: 400; }
.req { color: var(--red-text); font-weight: 500; }
.brand { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: inherit; }
.brand span { color: var(--red); }


/* =========================================================================
   KERANGKA — laptop: kiri gelap menempel + kanan isian
   ========================================================================= */
.shell { min-height: 100dvh; }
.side { display: none; }
.main { min-width: 0; }
.mtop { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gutter); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mtop .mono { color: var(--muted); text-align: right; }
.bar { position: sticky; top: 56px; z-index: 20; height: 2px; background: var(--mist); }
.bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.form, .done { width: min(100% - 2 * var(--gutter), 760px); margin: 0 auto; padding: 32px 0 150px; }

@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: minmax(300px, 340px) 1fr; }
  .mtop, .bar { display: none; }
  .side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 22px; padding: 36px 32px; overflow-y: auto; background: var(--ink); color: var(--on-dark); }
  .side__kicker { color: var(--on-dark-muted); margin-top: -12px; }
  .form, .done { padding: 64px 0 40px; }
}


/* =========================================================================
   DAFTAR LANGKAH (kolom kiri)
   ========================================================================= */
.stepper { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.stepper button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 46px; padding: 6px 10px 6px 6px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--on-dark-muted); text-align: left; cursor: pointer; transition: background-color .25s, color .25s; }
.stepper button:disabled { cursor: default; opacity: .55; }
.stepper button:not(:disabled):hover { background: rgba(243, 239, 230, .06); color: var(--on-dark); }
.stepper__n { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--on-dark-line); border-radius: 50%; font-family: var(--mono); font-size: .6875rem; flex: none; }
.stepper__n svg { width: 14px; height: 14px; }
.stepper li.is-done .stepper__n { border-color: transparent; background: rgba(243, 239, 230, .14); color: var(--on-dark); }
.stepper li.is-now button { background: rgba(243, 239, 230, .08); color: var(--on-dark); }
.stepper li.is-now .stepper__n { border-color: var(--red); background: var(--red); color: #fff; }
/* garis penghubung antar nomor */
.stepper li + li button::before { content: ""; position: absolute; left: 20px; top: -6px; width: 1px; height: 10px; background: var(--on-dark-line); }

.ticket { display: grid; gap: 6px; margin-top: auto; padding: 18px; border: 1px solid var(--on-dark-line); border-radius: var(--r); background: rgba(243, 239, 230, .04); }
.ticket__label { color: var(--on-dark-muted); }
.ticket__names { font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ticket__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8125rem; color: var(--on-dark-muted); }

.secure { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; line-height: 1.45; color: var(--on-dark-muted); }
.secure svg { width: 16px; height: 16px; margin-top: 1px; }
.secure--inline { margin-top: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--canvas); color: var(--muted); }


/* =========================================================================
   ISI LANGKAH
   ========================================================================= */
.step { display: grid; gap: 22px; animation: in .5s var(--ease); }
@keyframes in { from { opacity: 0; transform: translateY(12px); } }
.step__head { display: grid; gap: 10px; margin-bottom: 4px; }
.kicker { color: var(--red-text); }
.title { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.lead { max-width: 58ch; color: var(--muted); }
.sub { margin-top: 14px; font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.hint { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.hint b { color: var(--text); font-weight: 500; }

.panel { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.panel__title { font-size: 1rem; font-weight: 600; color: var(--ink); }
.list { display: grid; gap: 14px; }
.item__head { display: flex; justify-content: space-between; align-items: center; }
.row2, .row3 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1.5fr 1fr 1fr; } }
/* dua mempelai berdampingan di laptop */
.couple { display: grid; gap: 16px; }
@media (min-width: 860px) { .couple { grid-template-columns: 1fr 1fr; align-items: start; } }


/* =========================================================================
   KOLOM ISIAN
   ========================================================================= */
.field { display: grid; gap: 8px; }
.field > span, .field > legend, .field > label, .slot__label { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea, .prolog input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper);
  font-size: 1rem;  /* 16px: iPhone tidak memperbesar layar saat mengetik */
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9b9993; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 10, .08); }
.is-bad, .field.is-bad input, .field.is-bad textarea { border-color: var(--red-text) !important; box-shadow: 0 0 0 3px rgba(200, 30, 24, .1) !important; }
.err { font-size: .875rem; color: var(--red-text); }
.form-msg { scroll-margin-top: 90px; margin: 4px 0 6px; padding: 14px 16px; border: 1px solid var(--red-text); border-radius: var(--r); background: #fff5f5; color: var(--red-text); font-size: .9375rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* kontrol segmen (radio) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--mist); }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; border-radius: 9px; text-align: center; font-size: .875rem; line-height: 1.25; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(11, 11, 10, .12); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; cursor: pointer; }
.check--main { padding-top: 12px; border-top: 1px dashed var(--line); font-size: .875rem; }

/* chip contoh isian */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); font-size: .8125rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }


/* =========================================================================
   PUSTAKA KUTIPAN
   ========================================================================= */
.prolog { gap: 10px; }
.lib { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--canvas); }
.lib__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lib__tabs::-webkit-scrollbar { display: none; }
.lib__tabs button { flex: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: .8125rem; color: var(--muted); cursor: pointer; }
.lib__tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(11, 11, 10, .1); }
.lib__list { display: grid; gap: 8px; }
.qcard { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px; border: 1px solid transparent; border-radius: var(--r); background: var(--paper); text-align: left; cursor: pointer; transition: border-color .2s; }
.qcard:hover, .qcard[aria-pressed="true"] { border-color: var(--ink); }
.qcard svg { grid-row: span 2; width: 16px; height: 16px; margin-top: 3px; color: var(--red-text); }
.qcard__text { font-size: .9375rem; line-height: 1.5; color: var(--text); }
.qcard__src { font-family: var(--mono); font-size: .6875rem; color: var(--muted); }


/* =========================================================================
   PILIH TEMPLATE — kartu dengan warna khas tiap template
   ========================================================================= */
.tpls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .tpls { grid-template-columns: repeat(4, 1fr); } }
.tpl { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tpl:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tpl input { position: absolute; opacity: 0; }
.tpl__swatch { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 3.4; padding: 14px; background: var(--sw, #222); color: var(--sw-ink, #fff); }
.tpl__name { font-size: 1.125rem; font-weight: 600; letter-spacing: .08em; }
.tpl__body { display: grid; align-content: start; gap: 8px; padding: 12px 14px 14px; }
.tpl__tag { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.tpl__badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge { padding: 2px 8px; border-radius: 999px; background: var(--mist); font-family: var(--mono); font-size: .625rem; color: var(--text); }
.tpl__demo { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; font-family: var(--mono); font-size: .6875rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tpl__demo svg { width: 12px; height: 12px; }
.tpl__tick { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
.tpl__tick svg { width: 14px; height: 14px; stroke-width: 2.2; }
.tpl:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tpl:has(input:checked) .tpl__tick { opacity: 1; transform: none; }
.tpl:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }


/* =========================================================================
   FOTO — panduan per template, slot, galeri, titik fokus
   ========================================================================= */
.guide { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--canvas); }
.guide__title { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.guide ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guide li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.guide li b { color: var(--text); font-weight: 500; }
.guide li svg { width: 16px; height: 16px; margin-top: 2px; color: var(--ink); }
.media { display: grid; gap: 16px; }
.note-box { padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); }

.slots { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.slot { display: grid; gap: 8px; align-content: start; }
.slot__use { font-size: .75rem; line-height: 1.4; color: var(--muted); }

.photo { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--canvas); overflow: hidden; cursor: pointer; transition: border-color .2s, background-color .2s; }
.photo:hover { border-color: var(--ink); }
.photo--wide { aspect-ratio: 16 / 10; max-width: 320px; }
.photo__empty { display: grid; justify-items: center; gap: 6px; padding: 12px; text-align: center; font-size: .8125rem; color: var(--muted); pointer-events: none; }
.photo__empty svg { width: 22px; height: 22px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: crosshair; }
.photo input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo.has-img { border-style: solid; border-color: var(--line); }
.photo.has-img input[type="file"] { display: none; }
.focus-dot { position: absolute; width: 26px; height: 26px; translate: -50% -50%; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .3); pointer-events: none; }
.photo__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 6px; padding: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); }
.photo__bar button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .75rem; cursor: pointer; }
.photo__state { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-family: var(--mono); font-size: .625rem; }
.photo__state.is-ok { color: var(--ok); }
.photo__state svg { width: 11px; height: 11px; stroke-width: 2.4; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.gallery .photo { aspect-ratio: 1; }
.gallery:empty { display: none; }
.proof { max-width: 260px; }
.proof .photo { aspect-ratio: 3 / 4; }
.proof__pdf { display: grid; place-items: center; gap: 6px; padding: 16px; font-family: var(--mono); font-size: .75rem; text-align: center; }
.music { display: grid; gap: 12px; margin-top: 4px; }


/* =========================================================================
   PEMBAYARAN
   ========================================================================= */
.pay { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); }
.pay__label { color: var(--on-dark-muted); }
.pay__bank { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.pay__num { font-family: var(--mono); font-size: 1.375rem; letter-spacing: .04em; }
.pay__name { font-size: .9375rem; color: var(--on-dark-muted); }
.pay__note { font-size: .8125rem; line-height: 1.5; color: var(--on-dark-muted); }
/* total bayar — angka paling menonjol di kotak pembayaran */
.pay__total { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--on-dark-line); }
.pay__amount { font-size: 2rem; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ticket__price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--on-dark-line); font-size: .8125rem; color: var(--on-dark-muted); }
.ticket__price b { font-size: 1rem; font-weight: 500; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.pay .btn { justify-self: start; }


/* =========================================================================
   TOMBOL
   ========================================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px; font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer; touch-action: manipulation; transition: background-color .2s, color .2s, opacity .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: wait; }
.btn svg { width: 16px; height: 16px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2b2b29; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-text); }
.btn--line { justify-self: start; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); padding: 0 14px; }
.btn--ghost:hover { background: var(--mist); }
.btn--light { background: var(--paper); color: var(--ink); min-height: 40px; padding: 0 16px; font-size: .8125rem; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.link-btn { min-height: 36px; padding: 0 6px; border: 0; background: none; font-size: .8125rem; color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }


/* =========================================================================
   NAVIGASI LANGKAH — HP: menempel di bawah · laptop: di akhir isian
   ========================================================================= */
.nav { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__save { flex: 1; color: var(--muted); font-size: .6875rem; text-align: center; }
#nextBtn, #sendBtn { margin-left: auto; }
@media (min-width: 1024px) {
  .nav { position: sticky; bottom: 0; margin-top: 36px; padding: 16px 0; border-top: 1px solid var(--line); }
}


/* =========================================================================
   RINGKASAN & SELESAI
   ========================================================================= */
.summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.summary p { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: .875rem; }
.summary p + p { border-top: 1px solid var(--line); }
.summary b { font-weight: 400; color: var(--muted); }
.summary span { text-align: right; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
/* --- BUKTI PESANAN (layar setelah terkirim) --- */
.done { display: grid; gap: 28px; }
.done__head { display: grid; gap: 12px; justify-items: start; }
.done__head .lead b { color: var(--ink); font-weight: 500; }
.done__head .title:focus { outline: none; }
/* tanda centang: lingkaran tergambar lalu centang muncul — sekali, tanpa kedip */
.done__mark { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; border-radius: 50%; background: var(--ink); color: #fff; animation: pop .6s var(--ease) both; }
.done__mark::after { content: ""; position: absolute; inset: -8px; border: 1px solid var(--line-strong); border-radius: 50%; }
.done__mark svg { width: 28px; height: 28px; stroke-width: 2.2; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .35s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.receipt { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.receipt__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 20px; background: var(--ink); color: var(--on-dark-muted); }
.receipt__code { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding: 22px 20px 20px; border-bottom: 1px dashed var(--line-strong); }
.receipt__code .mono { grid-column: 1 / -1; color: var(--muted); }
.receipt__code strong { font-family: var(--mono); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 500; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
@media (max-width: 479px) { .receipt__code { grid-template-columns: 1fr; } .receipt__code .btn { justify-self: start; margin-top: 8px; } }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .8125rem; }
.receipt__rows { display: grid; margin: 0; padding: 6px 20px; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: .9375rem; }
.receipt__rows div + div { border-top: 1px solid var(--line); }
.receipt__rows dt { color: var(--muted); }
.receipt__rows dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.receipt__pay { display: flex; gap: 10px; align-items: flex-start; margin: 0 20px 20px; padding: 12px 14px; border-radius: var(--r); background: var(--canvas); font-size: .875rem; line-height: 1.45; color: var(--muted); }
.receipt__pay b { color: var(--ink); font-weight: 500; }
.receipt__pay svg { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }

.next { display: grid; gap: 14px; }
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 18px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 1px; background: var(--line-strong); }
.timeline__dot { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.timeline__dot svg { width: 15px; height: 15px; stroke-width: 2.2; }
.timeline li.is-done .timeline__dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.timeline li.is-now .timeline__dot { border-color: var(--red); background: var(--red); color: #fff; }
.timeline b { display: block; padding-top: 6px; font-weight: 500; color: var(--ink); }
.timeline li.is-now b::after { content: "Sedang berlangsung"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #ffecec; font-family: var(--mono); font-size: .625rem; font-weight: 400; color: var(--red-text); vertical-align: 2px; }
.timeline p { margin-top: 2px; font-size: .875rem; line-height: 1.5; color: var(--muted); }

.done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact { display: grid; gap: 6px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact .mono { color: var(--muted); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
/* gaya tanda tangan template: ikon kecil + nama, tanpa bingkai */
.contact ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.contact a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .2s; }
.contact a svg { width: 14px; height: 14px; color: var(--ink); }
.contact a:hover, .contact a:focus-visible { color: var(--ink); }


/* =========================================================================
   GERAK DIKURANGI
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   PILIHAN PAKET (langkah 7) — dua kartu, yang terpilih bertepi gelap
   ========================================================================= */
.pkgs { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
@media (min-width: 640px) { .pkgs { grid-template-columns: 1fr 1fr; } }
.pkgs legend { margin-bottom: 8px; padding: 0; font-size: .875rem; font-weight: 500; color: var(--ink); }
.pkg { position: relative; display: block; cursor: pointer; }
.pkg input { position: absolute; opacity: 0; }
.pkg__body { display: grid; gap: 10px; height: 100%; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); transition: border-color .25s, box-shadow .25s; }
.pkg input:checked + .pkg__body { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow); }
.pkg input:focus-visible + .pkg__body { outline: 2px solid var(--ink); outline-offset: 2px; }
.pkg__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pkg__name { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.pkg__price { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink); }
.pkg__perks { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted); }
.pkg__perks li::before { content: "✓"; margin-right: 8px; color: var(--ok); }
.pkg__plus { margin-top: -6px; font-size: .75rem; font-weight: 500; color: var(--gold-deep, #8a6a2c); }

/* harga normal dicoret (harga promo) */
.pkg__was, .pay__was { margin-right: .45em; font-weight: 400; opacity: .5; text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.pay__was { font-size: .55em; vertical-align: .25em; }
