/* =====================================================================
   QuUndangin - Gaya situs publik & Cek Status
   Struktur: 1 token · 2 dasar · 3 tata letak · 4 komponen · 5 halaman
   Semua jarak memakai skala --sp-* agar posisi & jarak konsisten.
   Mobile-first; titik patah 600 / 900 / 1000 px.
   ===================================================================== */

/* 1. TOKEN ------------------------------------------------------------ */
:root {
  --primary: #b5217a; --primary-dark: #8e1a5e; --accent: #ee7fb3; --peach: #ffa8a8;
  --ink: #34202b; --muted: #7d6672; --line: #f0dbe6; --soft: #fdeef5; --bg: #fff7fa; --surface: #fff;
  --ok: #059669; --ok-bg: #ecfdf5; --warn: #b45309; --warn-bg: #fffbeb; --danger: #dc2626; --danger-bg: #fef2f2;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(52,32,43,.04), 0 12px 32px -18px rgba(142,26,94,.35);
  --shadow-lg: 0 24px 48px -24px rgba(142,26,94,.45);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px; --container: 1140px;
}

/* 2. DASAR ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--sp-4)); }
body { margin: 0; font: 400 15px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }
.ok { color: var(--ok); }
.text-danger { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* 3. TATA LETAK ------------------------------------------------------- */
.container { width: min(var(--container), 100% - 2 * var(--sp-4)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--sp-4)); margin-inline: auto; }
.section { padding-block: var(--sp-7); }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto var(--sp-6); text-align: center; display: grid; gap: var(--sp-2); }
.section-head p { color: var(--muted); }
.stack { display: grid; gap: var(--sp-4); }
.stack-sm { display: grid; gap: var(--sp-2); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .section { padding-block: var(--sp-8); } }

/* 4. KOMPONEN --------------------------------------------------------- */
/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 42px; padding: 0 var(--sp-5);
  border: 0; border-radius: var(--r-pill); font: 600 .92rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: var(--surface); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-ghost:hover { background: var(--soft); }
.btn-soft { background: var(--soft); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-wa { background: #25d366; color: #fff; }
.btn-sm { min-height: 34px; padding: 0 var(--sp-4); font-size: .84rem; }
.btn-lg { min-height: 50px; padding: 0 var(--sp-6); font-size: 1rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: var(--sp-1); color: var(--primary); font: inherit; cursor: pointer; text-decoration: none; }

/* Kartu */
.card { background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow); }
.card + .card { margin-top: var(--sp-4); }
.card-head { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.card-head h2, .card-head h3 { font-size: 1.1rem; }
@media (min-width: 900px) { .card { padding: var(--sp-6); } }

/* Label */
.badge { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; line-height: 1.4; background: var(--soft); color: var(--primary); white-space: nowrap; }
.badge-rec { background: #ede9fe; color: #6d28d9; }
.badge-best { background: #fef3c7; color: #b45309; }
.badge-pop { background: #ffe4e6; color: #e11d48; }
.badge-ok { background: #d1fae5; color: var(--ok); }
.badge-warn { background: #fef3c7; color: var(--warn); }
.badge-danger { background: #fee2e2; color: var(--danger); }
.badge-muted { background: #f1f1f1; color: #666; }
.badge-tier { background: rgba(255,255,255,.92); color: var(--ink); }

/* Chip filter */
.chips { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: var(--sp-1); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 36px; padding: 0 var(--sp-4);
  border-radius: var(--r-pill); font: 500 .86rem var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: var(--sp-1); }
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Alert */
.alert { display: flex; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-3) var(--sp-4); border-radius: var(--r); font-size: .9rem; }
.alert + .alert { margin-top: var(--sp-2); }
.alert-success { background: var(--ok-bg); color: #065f46; }
.alert-info { background: var(--soft); color: var(--primary-dark); }
.alert-warning { background: var(--warn-bg); color: #92400e; }
.alert-danger { background: var(--danger-bg); color: #991b1b; }
.flash-wrap { padding-top: var(--sp-4); }
[data-result]:empty { display: none; }
[data-result] { display: grid; gap: var(--sp-2); }

/* Formulir */
label, .field { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
label small, .field small { font-weight: 400; color: var(--muted); }
.input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #ead3de; border-radius: var(--r-sm); background: #fff;
  font: 400 .95rem var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(181,33,122,.14); }
.input.invalid { border-color: var(--danger); }
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid.three { grid-template-columns: repeat(3, 1fr); } .span-2 { grid-column: 1 / -1; } }
.form-stack { display: grid; gap: var(--sp-4); }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.check { display: flex; gap: var(--sp-2); align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; flex: 0 0 auto; }
.inline-form { display: inline-flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.thumb { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-sm); }

/* Opsi pilihan (radio/checkbox sebagai kartu) */
.option { position: relative; display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border: 1.5px solid var(--line);
  border-radius: var(--r); background: var(--surface); cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--accent); }
.option input[type=radio], .option input[type=checkbox] { accent-color: var(--primary); width: 18px; height: 18px; flex: 0 0 auto; }
.option:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.option-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.option-body small { color: var(--muted); font-weight: 400; }
.option-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.option .qty { width: 72px; min-height: 36px; padding: 6px 10px; }
.option-list { display: grid; gap: var(--sp-2); }
@media (min-width: 900px) { .option-list.two { grid-template-columns: 1fr 1fr; } }

/* Tab */
.tabs { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: var(--sp-1); margin-bottom: var(--sp-5); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: inline-flex; gap: var(--sp-2); align-items: center; min-height: 40px; padding: 0 var(--sp-4); border: 0;
  border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 .88rem var(--font); cursor: pointer; }
.tab.active { background: var(--primary); color: #fff; box-shadow: none; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Accordion */
.accordion { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.accordion + .accordion { margin-top: var(--sp-2); }
.accordion > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4); cursor: pointer; font-weight: 600; list-style: none; }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after { content: '\F282'; font-family: 'bootstrap-icons'; color: var(--primary); transition: transform .2s; }
.accordion[open] > summary::after { transform: rotate(180deg); }
.accordion-body { padding: 0 var(--sp-4) var(--sp-4); color: var(--muted); }

/* Tabel & daftar */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.table .right { text-align: right; }
.table tfoot td, .table tfoot th { border-bottom: 0; font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; gap: var(--sp-3); align-items: center; justify-content: space-between; padding: var(--sp-3) 0; border-bottom: 1px dashed var(--line); }
.list > li:last-child { border-bottom: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); font-size: .9rem; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--ok); }

/* Statistik kecil */
.stats { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(96px, 30%), 1fr)); }
.stat { background: var(--bg); border-radius: var(--r); padding: var(--sp-3); text-align: center; display: grid; gap: 2px; }
.stat strong { font-size: 1.35rem; color: var(--primary); }
.stat span { font-size: .78rem; color: var(--muted); }
.progress { height: 10px; border-radius: var(--r-pill); background: var(--soft); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* Saklar */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #e5d5dd; border-radius: var(--r-pill); cursor: pointer; transition: .2s; }
.switch span::before { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: .5; cursor: not-allowed; }

/* Penomoran halaman */
.pager { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; align-items: center; margin-top: var(--sp-5); }
.pager button { min-width: 38px; height: 38px; padding: 0 var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
  color: var(--ink); font: 600 .86rem var(--font); cursor: pointer; }
.pager button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

/* Langkah (stepper) */
.steps { display: flex; gap: var(--sp-2); counter-reset: step; overflow-x: auto; padding-bottom: var(--sp-1); margin-bottom: var(--sp-5); scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps button { flex: 1 0 auto; display: flex; align-items: center; gap: var(--sp-2); padding: 6px var(--sp-3) 6px 6px;
  border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 600 .84rem var(--font); cursor: pointer; }
.steps button::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: .8rem; flex: 0 0 auto; }
.steps button.done::before { content: '\2713'; font-weight: 700; background: var(--ok-bg); color: var(--ok); }
.steps button.active { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--primary); }
.steps button.active::before { background: var(--primary); color: #fff; }
@media (max-width: 600px) { .steps button:not(.active) span { display: none; } .steps button { flex: 0 0 auto; padding-right: 6px; } .steps button.active { padding-right: var(--sp-3); } }
@media (max-width: 420px) { .steps { gap: 6px; } .steps button { padding: 4px; } .steps button.active { padding-right: 10px; } .steps button::before { width: 24px; height: 24px; } }
.step-pane { display: none; }
.step-pane.active { display: grid; gap: var(--sp-5); animation: fade .25s ease; }
.step-title { display: grid; gap: var(--sp-1); }
.step-title p { color: var(--muted); font-size: .9rem; }
.step-nav { display: flex; gap: var(--sp-2); justify-content: space-between; align-items: center; padding-top: var(--sp-4); border-top: 1px solid var(--line); }

/* Header & footer */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,247,250,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-2); text-decoration: none; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.bn-1 { color: var(--primary); } .bn-2 { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: var(--sp-1); }
.main-nav a:not(.btn) { padding: var(--sp-2) var(--sp-3); border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.main-nav a:not(.btn):hover, .main-nav a.active { background: var(--soft); color: var(--primary); }
.main-nav .btn { margin-left: var(--sp-2); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: var(--sp-1);
    padding: var(--sp-3) var(--sp-4) var(--sp-5); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-open .main-nav { display: flex; }
  .main-nav a:not(.btn) { padding: var(--sp-3) var(--sp-4); }
  .main-nav .btn { margin: var(--sp-2) 0 0; }
}
.site-footer { background: #2a1822; color: #e9d6df; padding: var(--sp-7) 0 var(--sp-5); }
.site-footer a { color: #ffd1e6; text-decoration: none; }
.site-footer h4 { color: #fff; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); font-size: .9rem; }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { display: grid; gap: var(--sp-3); align-content: start; }
.footer-logo { width: 200px; background: #fff; border-radius: var(--r); padding: var(--sp-2) var(--sp-3); }
.social-row { display: flex; gap: var(--sp-3); font-size: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.admin-door { opacity: .35; margin-left: var(--sp-1); }
.wa-float { position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: 30; display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-5); border-radius: var(--r-pill); background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg); }
.wa-float i { font-size: 1.3rem; }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; } .wa-float span { display: none; } }
body.has-bottom-bar .wa-float { display: none; }
@media (min-width: 1000px) { body.has-bottom-bar .wa-float { display: inline-flex; } }

/* 5. HALAMAN ---------------------------------------------------------- */
/* Hero */
/* ---------- Hero bergerak (gradasi, bunga paralaks, HP berganti tema, chip mengambang, pita tema) ---------- */
.hero { position: relative; overflow: hidden; padding-block: var(--sp-6) 0; isolation: isolate;
  background: linear-gradient(135deg, #fff7fa 0%, #ffeef4 35%, #fff4ec 70%, #fdf0ff 100%); background-size: 200% 200%; animation: heroGrad 16s ease-in-out infinite; }
@keyframes heroGrad { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; will-change: transform; }
.hero-bg .b1 { width: 340px; height: 340px; background: #ffc2d8; top: -90px; right: -80px; animation: blobA 14s ease-in-out infinite; }
.hero-bg .b2 { width: 260px; height: 260px; background: #ffd8c2; bottom: 60px; left: -100px; animation: blobB 18s ease-in-out infinite; }
.hero-bg .b3 { width: 220px; height: 220px; background: #e9d4ff; top: 40%; left: 45%; animation: blobA 20s ease-in-out infinite reverse; }
@keyframes blobA { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: -30px 40px; scale: 1.15; } }
@keyframes blobB { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 40px -30px; scale: .9; } }
.hero-flower { position: absolute; color: #f6a6c1; will-change: transform; }
.hero-flower.f1 { width: 90px; top: 12%; left: 4%; animation: spin 40s linear infinite; }
.hero-flower.f2 { width: 64px; top: 58%; right: 6%; color: #ffb98a; animation: spin 30s linear infinite reverse; }
.hero-flower.f3 { width: 120px; bottom: 18%; left: 40%; color: #d9b8ff; opacity: .6; animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.petal { position: absolute; top: -30px; width: 14px; height: 18px; border-radius: 14px 0 14px 0; background: linear-gradient(135deg, #ffc1d6, #ff8fb5); opacity: .75; animation: fall linear infinite; }
.petal.p1 { left: 6%; animation-duration: 13s; } .petal.p2 { left: 18%; animation-duration: 17s; animation-delay: -4s; scale: .7; }
.petal.p3 { left: 31%; animation-duration: 15s; animation-delay: -9s; } .petal.p4 { left: 44%; animation-duration: 19s; animation-delay: -2s; scale: .6; }
.petal.p5 { left: 57%; animation-duration: 14s; animation-delay: -11s; } .petal.p6 { left: 68%; animation-duration: 18s; animation-delay: -6s; scale: .8; }
.petal.p7 { left: 79%; animation-duration: 16s; animation-delay: -13s; } .petal.p8 { left: 90%; animation-duration: 21s; animation-delay: -3s; scale: .65; }
.petal.p9 { left: 12%; animation-duration: 22s; animation-delay: -15s; scale: .5; } .petal.p10 { left: 85%; animation-duration: 12s; animation-delay: -8s; scale: .55; }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(30px, 25vh) rotate(90deg); } 50% { transform: translate(-20px, 50vh) rotate(180deg); }
  75% { transform: translate(25px, 75vh) rotate(270deg); } 100% { transform: translate(0, 105vh) rotate(360deg); opacity: 0; } }
.spark { position: absolute; color: #f3b5cb; font-size: 14px; animation: twinkle 3.2s ease-in-out infinite; }
.spark.s1 { top: 14%; left: 22%; } .spark.s2 { top: 30%; left: 88%; animation-delay: -.8s; font-size: 18px; color: #f7c58b; } .spark.s3 { top: 70%; left: 12%; animation-delay: -1.6s; }
.spark.s4 { top: 8%; left: 64%; animation-delay: -2.2s; font-size: 11px; } .spark.s5 { top: 48%; left: 3%; animation-delay: -.4s; color: #cfa8ff; } .spark.s6 { top: 82%; left: 72%; animation-delay: -1.2s; font-size: 20px; }
.spark.s7 { top: 40%; left: 52%; animation-delay: -2.6s; font-size: 10px; } .spark.s8 { top: 22%; left: 40%; animation-delay: -1.9s; color: #f7c58b; }
@keyframes twinkle { 0%, 100% { opacity: .15; scale: .6; } 50% { opacity: 1; scale: 1.15; } }
.hero-grid { display: grid; gap: var(--sp-6); align-items: center; }
.hero-copy { display: grid; gap: var(--sp-4); }
.hero-in { opacity: 0; transform: translateY(18px); animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * .12s + .1s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(214, 51, 108, .6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(214, 51, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 51, 108, 0); } }
.hero h1 { font-size: clamp(1.9rem, 6.4vw, 3.2rem); line-height: 1.12; }
.hero-shine { background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 35%, var(--primary) 50%, var(--ink) 65%, var(--ink) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 15% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-glow { position: relative; overflow: hidden; box-shadow: 0 12px 28px -12px rgba(214, 51, 108, .7); }
.btn-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: glint 3.5s ease-in-out infinite; }
@keyframes glint { 60%, 100% { transform: translateX(120%); } }
.hero-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); }
.hero-stats li { background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); border: 1px solid rgba(214, 51, 108, .12); border-radius: 14px; padding: 8px 14px; }
.hero-stats strong { display: block; font-size: 1.35rem; color: var(--primary); line-height: 1.1; }
.hero-stats span { font-size: .8rem; color: var(--muted); }
.hero-visual { position: relative; display: grid; place-items: center; padding: var(--sp-4) 0 var(--sp-2); }
.hero-stage { position: relative; width: 300px; height: 400px; transition: transform .3s ease-out; transform-style: preserve-3d; }
.phone { position: absolute; width: 190px; height: 370px; border-radius: 32px; background: #1f1219; padding: 9px; box-shadow: 0 30px 60px -25px rgba(80, 20, 45, .55); }
.phone-front { left: 50%; top: 10px; margin-left: -70px; z-index: 2; animation: floatY 6s ease-in-out infinite; rotate: 4deg; }
.phone-back { left: 50%; top: 30px; margin-left: -135px; scale: .86; rotate: -9deg; opacity: .9; filter: saturate(.9); animation: floatY 7s ease-in-out infinite -2s; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.phone-screen { height: 100%; border-radius: 24px; background: linear-gradient(160deg, #fff5f8, #fde3ec); overflow: hidden; position: relative; }
.phone-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-img figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 3.6s ease; }
.phone-img figure.is-on { opacity: 1; transform: scale(1); }
.phone-img figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; text-align: center; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(31, 18, 25, .55); backdrop-filter: blur(4px); border-radius: 999px; padding: 5px 8px; }
.ph-fallback { display: grid; place-content: center; gap: var(--sp-3); text-align: center; padding: var(--sp-4); }
.ph-kicker { letter-spacing: .25em; font-size: .62rem; text-transform: uppercase; color: var(--muted); }
.ph-names { font-family: Georgia, serif; font-style: italic; font-size: 1.6rem; color: var(--primary); }
.ph-btn { justify-self: center; padding: var(--sp-2) var(--sp-4); border-radius: var(--r-pill); background: var(--primary); color: #fff; font-size: .8rem; }
.hero-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-size: .74rem; font-weight: 700; padding: 7px 12px 7px 7px; border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(80, 20, 45, .45); white-space: nowrap; animation: chip 5s ease-in-out infinite; }
.hero-chip b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: .72rem; }
.hero-chip.c1 { top: 40px; left: -6px; } .hero-chip.c2 { top: 150px; right: -14px; animation-delay: -1.2s; } .hero-chip.c2 b { background: #f59e0b; }
.hero-chip.c3 { bottom: 70px; left: -16px; animation-delay: -2.4s; } .hero-chip.c3 b { background: #059669; } .hero-chip.c4 { bottom: 8px; right: 0; animation-delay: -3.6s; } .hero-chip.c4 b { background: #7c3aed; }
@keyframes chip { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hero-marquee { margin-top: var(--sp-5); padding: var(--sp-4) 0 var(--sp-5); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero-track { display: flex; gap: 14px; width: max-content; animation: marquee 55s linear infinite; }
.hero-marquee:hover .hero-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero-tile { position: relative; flex: none; width: 112px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px -16px rgba(80, 20, 45, .6); transition: transform .3s; background: #fff; }
.hero-tile:hover { transform: translateY(-6px) rotate(-1deg); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tile span { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: .66rem; font-weight: 700; color: #fff; text-align: center; background: rgba(31, 18, 25, .55); border-radius: 999px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .hero-stage { width: 280px; height: 380px; scale: .92; } .hero-chip { font-size: .68rem; } .hero-chip.c2 { right: -6px; } .hero-chip.c3 { left: -4px; } }
@media (min-width: 900px) { .hero { padding-block: var(--sp-8) 0; } .hero-grid { grid-template-columns: 1.15fr 1fr; } .hero-stage { width: 360px; height: 460px; }
  .phone { width: 220px; height: 430px; } .phone-front { margin-left: -80px; } .phone-back { margin-left: -160px; } .hero-tile { width: 132px; } }
@media (prefers-reduced-motion: reduce) { .hero, .hero *, .hero *::after { animation: none !important; transition: none !important; } .hero-in { opacity: 1; transform: none; } .petal { display: none; } }

/* Keunggulan */
.feature { display: grid; gap: var(--sp-2); align-content: start; background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow); }
.feature i { font-size: 1.4rem; color: var(--primary); width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); background: var(--soft); }
.feature p { color: var(--muted); font-size: .92rem; }

/* Penjelajah tema (filter + kartu + halaman) */
.browser-bar { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.browser-row { display: grid; gap: var(--sp-3); grid-template-columns: 1fr 1fr; }
.browser-row .search-box { grid-column: 1 / -1; }
@media (min-width: 700px) { .browser-row { grid-template-columns: 1fr 190px 190px; } .browser-row .search-box { grid-column: auto; } }
.search-box { position: relative; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box .input { padding-left: 40px; }
.browser-result { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); font-size: .86rem; color: var(--muted); }
.theme-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .theme-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); } }
@media (min-width: 1000px) { .theme-grid { grid-template-columns: repeat(4, 1fr); } }
.order-main .theme-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .order-main .theme-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.theme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.theme-thumb { position: relative; aspect-ratio: 3 / 4; background: var(--soft); }
.theme-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-badges { position: absolute; top: var(--sp-2); left: var(--sp-2); right: var(--sp-2); display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.theme-body { display: grid; gap: 2px; padding: var(--sp-3) var(--sp-3) var(--sp-4); flex: 1; align-content: start; }
.theme-body h3 { font-size: .95rem; }
.theme-meta { font-size: .78rem; color: var(--muted); }
.theme-price { font-weight: 800; color: var(--primary); }
.theme-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-top: var(--sp-2); }
.theme-actions .btn { padding: 0 var(--sp-2); min-height: 36px; font-size: .8rem; }
.theme-card.pick { cursor: pointer; }
.theme-card.pick input { position: absolute; opacity: 0; pointer-events: none; }
.theme-card.pick:has(input:checked) { box-shadow: 0 0 0 3px var(--primary), var(--shadow-lg); }
.pick-mark { position: absolute; right: var(--sp-2); bottom: var(--sp-2); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: transparent; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.theme-card.pick:has(input:checked) .pick-mark { background: var(--primary); color: #fff; }
.demo-link { font-size: .78rem; font-weight: 600; justify-self: start; }
.theme-empty { padding: var(--sp-7) var(--sp-4); text-align: center; color: var(--muted); }
.tier-table td, .tier-table th { text-align: center; }
.tier-table td:first-child, .tier-table th:first-child { text-align: left; }

/* Paket */
.pkg-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.order-main .pkg-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .order-main .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
.pkg-card { position: relative; display: flex; flex-direction: column; gap: var(--sp-3); background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow); border: 2px solid transparent; }
.pkg-card.featured { border-color: var(--accent); }
.pkg-card.pick { cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.pkg-card.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-card.pick:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.pkg-card .badges { display: flex; gap: var(--sp-1); flex-wrap: wrap; }
.pkg-price { font-size: 1.45rem; font-weight: 800; color: var(--primary); }
.pkg-meta { font-size: .82rem; color: var(--muted); }
.pkg-card .check-list { flex: 1; }
.pkg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.dialog { width: min(480px, 100% - 2 * var(--sp-4)); border: 0; border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(52,32,43,.45); }

/* Daftar harga */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list small { display: block; color: var(--muted); }
.price-list strong { white-space: nowrap; }

/* Alur */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { display: flex; gap: var(--sp-3); align-items: flex-start; background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow); }
.flow-num { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 1.2rem; }
.flow h3 { font-size: 1rem; margin-bottom: var(--sp-1); }
.flow p { color: var(--muted); font-size: .88rem; }

/* Portofolio & testimoni */
.port-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.port-card { display: grid; gap: var(--sp-1); align-content: start; background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-3); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.port-card img, .port-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: var(--r); margin-bottom: var(--sp-2); }
.port-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--soft), #ffe4e1); color: var(--primary); font-size: 2.2rem; }
.testi { margin: 0; display: grid; gap: var(--sp-2); align-content: start; background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow); }
.testi .stars { color: #f59e0b; }
.testi blockquote { margin: 0; font-style: italic; }
.testi figcaption { font-weight: 700; color: var(--primary); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--primary), var(--accent) 70%, var(--peach)); color: #fff; padding-block: var(--sp-7); text-align: center; }
.cta-inner { display: grid; gap: var(--sp-3); justify-items: center; }

/* Wizard pesan */
.order-layout { display: grid; gap: var(--sp-5); align-items: start; }
.order-main { min-width: 0; }
.order-summary { display: none; }
@media (min-width: 1000px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .order-summary { display: block; position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
}
.sum-lines { list-style: none; margin: 0 0 var(--sp-3); padding: 0; font-size: .86rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px dashed var(--line); }
.sum-lines li span:last-child { font-weight: 600; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 2px solid var(--line); }
.sum-total strong { font-size: 1.25rem; color: var(--primary); text-align: right; }
.sum-meta { display: grid; gap: var(--sp-2); margin: 0 0 var(--sp-3); font-size: .84rem; }
.sum-meta div { display: flex; justify-content: space-between; gap: var(--sp-3); }
.sum-meta dt { color: var(--muted); } .sum-meta dd { margin: 0; font-weight: 600; text-align: right; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.45); }
.bottom-bar .total { flex: 1; display: grid; line-height: 1.25; min-width: 0; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.bottom-bar .total small { color: var(--muted); font-size: .74rem; }
.bottom-bar .total strong { color: var(--primary); font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1000px) { .bottom-bar { display: none; } }
body.has-bottom-bar { padding-bottom: 76px; }
@media (min-width: 1000px) { body.has-bottom-bar { padding-bottom: 0; } }
.sheet { position: fixed; inset: 0; z-index: 45; background: rgba(52,32,43,.45); display: flex; align-items: flex-end; }
.sheet-body { width: 100%; max-height: 80vh; overflow-y: auto; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--sp-5); }
.subtabs { margin-bottom: var(--sp-3); }
.review { display: grid; gap: var(--sp-2); margin: 0; }
.review div { display: flex; justify-content: space-between; gap: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px dashed var(--line); font-size: .9rem; }
.review dt { color: var(--muted); } .review dd { margin: 0; font-weight: 600; text-align: right; }

/* Sukses & login */
.success-card { display: grid; gap: var(--sp-4); justify-items: center; text-align: center; }
.success-icon { font-size: 3rem; color: var(--ok); }
.order-code { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-5); border-radius: var(--r); background: var(--soft); color: var(--primary); font: 800 1.4rem ui-monospace, monospace; }
.pre { white-space: pre-wrap; background: var(--bg); padding: var(--sp-3); border-radius: var(--r-sm); font-size: .85rem; text-align: left; margin: 0; }
.login-card { max-width: 440px; margin-inline: auto; display: grid; gap: var(--sp-4); }

/* Cek Status */
.status-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
@media (min-width: 900px) { .status-head { grid-template-columns: 1fr auto; align-items: start; } }
.status-head h1 { font-size: 1.35rem; display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.status-pill { display: inline-flex; align-items: center; padding: 4px var(--sp-3); border-radius: var(--r-pill); background: var(--soft); color: var(--primary); font-size: .86rem; font-weight: 700; }
.st-tayang, .st-selesai { background: #d1fae5; color: var(--ok); }
.st-dibatalkan { background: #fee2e2; color: var(--danger); }
.st-siap_disebar, .st-siap_dicek { background: #fef3c7; color: var(--warn); }
.kv { display: grid; gap: var(--sp-2); margin: 0; font-size: .9rem; }
.kv div { display: flex; justify-content: space-between; gap: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px dashed var(--line); }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; text-align: right; }
.link-box { display: flex; gap: var(--sp-2); }
.link-box .input { min-width: 0; }
.task-list { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-2); font-size: .9rem; }
.task-list li { display: flex; gap: var(--sp-2); align-items: center; }
.task-list li { color: var(--muted); }
.task-list li.done { color: var(--ink); }
.task-list .tk { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid #d8c3cf; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; }
.task-list li.done .tk { background: var(--ok); border-color: var(--ok); }
.gate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.gate-list li { display: flex; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-3) var(--sp-4); border-radius: var(--r); background: var(--bg); }
.gate-list li.ok { background: var(--ok-bg); } .gate-list li.ok > i { color: var(--ok); }
.gate-list small { display: block; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px dashed var(--line); }
.sec-row:last-child { border-bottom: 0; }
.sec-row small { display: block; color: var(--muted); font-weight: 400; }
.guest-table td:last-child { white-space: nowrap; }
.inline-edit { display: inline-block; position: relative; }
.inline-edit > summary { list-style: none; display: inline; }
.inline-edit > summary::-webkit-details-marker { display: none; }
.inline-edit[open] > form { position: absolute; right: 0; z-index: 5; width: 260px; padding: var(--sp-4); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.mini-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; display: grid; gap: var(--sp-2); font-size: .88rem; }
.rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: var(--sp-1); }
.rating input { position: absolute; opacity: 0; }
.rating label { cursor: pointer; font-size: 1.6rem; color: #e5d5dd; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: #f59e0b; }

/* Formulir data undangan bertahap */
.event-box { display: grid; gap: var(--sp-4); padding: var(--sp-4); border: 1px dashed var(--line); border-radius: var(--r); }
.event-box > legend { padding: 0 var(--sp-2); font-weight: 700; font-size: .9rem; }
.gal-grid { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
.gal-item { display: grid; gap: var(--sp-1); font-size: .75rem; font-weight: 400; }
.gal-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.src-tag { font-weight: 400; color: var(--muted); font-size: .72rem; }
.upload-row { display: flex; gap: var(--sp-3); align-items: center; }
.upload-row label { flex: 1; }

/* FAQ & kebijakan */
.policy { display: grid; gap: var(--sp-2); }
.policy h3 { display: flex; gap: var(--sp-2); align-items: center; color: var(--primary); }

/* Halaman "belum tersedia" */
.page-plain { display: grid; min-height: 100vh; place-items: center; padding: var(--sp-5); }
.unavailable { display: grid; gap: var(--sp-3); justify-items: center; text-align: center; max-width: 420px; }
.unavailable p { color: var(--muted); }

/* Formulir pesan di HP: tombol Lanjut/Kirim ada di bilah bawah */
@media (max-width: 999px) {
  #order-stepper .step-nav [data-step-next], #order-stepper .step-nav [data-step-last] { display: none !important; }
  #order-stepper .step-nav:has([data-step-prev][hidden]) { display: none; }
}
.pager button { font-size: 1rem; }

/* ===== Kelengkapan gaya (pelengkap konsistensi) ===== */
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge { white-space: nowrap; }
.contact-list li { display: flex; align-items: flex-start; gap: var(--sp-2); }
.contact-list i { color: var(--accent); margin-top: 3px; flex: none; }
.contact-list a { word-break: break-word; }

/* Pill status pesanan: satu warna untuk tiap tahap */
.st-baru             { background: #e0f2fe; color: #0369a1; }
.st-dikonfirmasi     { background: #e0e7ff; color: #4338ca; }
.st-dp_diterima      { background: #cffafe; color: #0e7490; }
.st-pengumpulan_data { background: #ede9fe; color: #6d28d9; }
.st-desain           { background: #fce7f3; color: #be185d; }


/* =====================================================================
   v5 — Paket dulu, tambahan, dialog rincian & kerapian jarak
   ===================================================================== */
.section-tight { padding-block: var(--sp-5) var(--sp-7); }
.tabs-center { justify-content: center; }
.input-sm { width: auto; min-height: 36px; padding: 4px 12px; font-size: .86rem; }
.hint { display: block; margin-top: var(--sp-1); color: var(--muted); font-size: .8rem; font-weight: 400; }

/* Kartu paket */
.pkg-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pkg-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pkg-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.order-main .pkg-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .order-main .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.pkg-card { gap: var(--sp-4); padding: var(--sp-5); border: 2px solid transparent; }
.pkg-card.featured { border-color: var(--accent); }
.pkg-card.pick { box-shadow: inset 0 0 0 1.5px var(--line); border-color: transparent; transition: background .15s, box-shadow .15s; }
.pkg-card.pick:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pkg-card.pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--primary); background: var(--soft); }
.pkg-card .pick-mark { position: absolute; top: var(--sp-4); right: var(--sp-4); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--line); background: #fff; color: transparent; font-size: .85rem; }
.pkg-card.pick:has(input:checked) .pick-mark { background: var(--primary); border-color: var(--primary); color: #fff; }
.pkg-head { display: grid; gap: var(--sp-2); padding-right: var(--sp-6); }
.pkg-head .badges { min-height: 24px; }
.pkg-sum { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.pkg-price { font-size: 1.55rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; line-height: 1.2; }
.pkg-price.sm { font-size: 1.15rem; white-space: nowrap; }
.pkg-facts { list-style: none; margin: 0; padding: var(--sp-3) 0; display: grid; gap: 6px; font-size: .84rem; border-block: 1px dashed var(--line); }
.pkg-facts li { display: flex; gap: var(--sp-2); align-items: flex-start; }
.pkg-facts i { color: var(--primary); width: 16px; flex: none; margin-top: 2px; }
.pkg-incl { flex: 1; display: grid; gap: var(--sp-2); align-content: start; }
.pkg-incl-title { font-size: .8rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.pkg-card .check-list { font-size: .86rem; gap: 6px; }
.check-list li.more { color: var(--muted); padding-left: 26px; }
.check-list li.more::before { content: none; }
.pkg-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: auto; }
.pkg-actions .btn { flex: 1 1 auto; }
.order-main .pkg-actions .btn { flex: 0 0 auto; }
.check-list.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: var(--sp-4); } }

/* Dialog */
.dialog { width: min(560px, 100% - 2 * var(--sp-4)); max-height: min(86vh, 760px); padding: 0; display: none; flex-direction: column; overflow: hidden; }
.dialog[open] { display: flex; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-5) var(--sp-5) var(--sp-4); border-bottom: 1px solid var(--line); }
.dialog-head h3 { margin-bottom: 2px; }
.dialog-body { padding: var(--sp-4) var(--sp-5); overflow-y: auto; display: grid; gap: var(--sp-3); }
.dialog-body h4 { margin-top: var(--sp-2); font-size: .9rem; }
.dialog-foot { padding: var(--sp-3) var(--sp-5) var(--sp-5); border-top: 1px solid var(--line); }
.dialog > .stack { padding: var(--sp-5); }

/* Tema: harga "mulai paket" */
.theme-price { display: grid; line-height: 1.2; font-size: .98rem; }
.theme-price small { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: none; }

/* Halaman pesan */
.order-kicker { font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: var(--sp-3); }
.order-main { display: grid; gap: 0; }
.order-main .steps { margin-bottom: var(--sp-5); }
.step-pane { gap: var(--sp-5); }
.step-pane.active { display: grid; }
.step-title { gap: 6px; }
.step-title h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.step-title p { max-width: 62ch; line-height: 1.55; }
.step-title .badge { vertical-align: 1px; }
.step-alert { margin: 0; }
.step-nav { margin-top: var(--sp-5); flex-wrap: wrap; }
@media (max-width: 520px) {
  .inv-data-form .step-nav > span { display: none; }
  .inv-data-form .step-nav > .btn { flex: 1 1 calc(50% - var(--sp-2)); justify-content: center; }
  .inv-data-form .step-nav > [data-step-next], .inv-data-form .step-nav > [data-step-last] { order: -1; flex-basis: 100%; }
}
@media (max-width: 999px) { #order-stepper .step-nav { display: none !important; } }
.order-summary h3 { margin-bottom: var(--sp-3); }
.sum-empty { display: grid; justify-items: center; gap: var(--sp-2); text-align: center; padding: var(--sp-5) var(--sp-2); color: var(--muted); font-size: .88rem; }
.sum-empty i { font-size: 1.6rem; color: var(--accent); }
.sum-lines li.k-package span:first-child { font-weight: 600; }
.order-summary .alert { margin-top: var(--sp-2); font-size: .84rem; }
.review-box { background: var(--bg); border-radius: var(--r); padding: var(--sp-2) var(--sp-4); }
.review-box .sum-total { border-top-width: 1px; }
.review div:last-child { border-bottom: 0; }
.review dd { max-width: 60%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { font-weight: 600; font-size: .88rem; margin-bottom: var(--sp-2); padding: 0; }

/* Pilihan tambahan */
.option { min-height: 64px; }
.option-side { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; justify-content: flex-end; }
.option.is-included { background: var(--ok-bg); border-color: #bbf7d0; cursor: default; }
.option.is-included:hover { border-color: #bbf7d0; }
.option.is-included input[type=checkbox] { accent-color: var(--ok); opacity: .9; }
.option.is-included .option-price { color: var(--ok); }
.option.is-included .option-price small { color: var(--muted); font-weight: 500; }
.option-qty:has(.qty:not([value="0"])) { border-color: var(--line); }
.stepper-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; overflow: hidden; }
.stepper-qty button { width: 34px; height: 34px; border: 0; background: none; font: 700 1.05rem/1 var(--font); color: var(--primary); cursor: pointer; }
.stepper-qty button:hover { background: var(--soft); }
.stepper-qty .qty { width: 40px !important; min-height: 34px !important; border: 0 !important; padding: 0 !important; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.stepper-qty .qty::-webkit-outer-spin-button, .stepper-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tab-count:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--primary); color: #fff; font-size: .72rem; }
.tab:not(.active) .tab-count:not(:empty) { background: var(--accent); }
@media (max-width: 560px) {
  .option { flex-wrap: wrap; padding: var(--sp-3); }
  .option-qty .option-body { flex-basis: 100%; }
  .option-qty .option-side { width: 100%; justify-content: space-between; }
}

/* Bilah bawah HP */
.bottom-bar { gap: var(--sp-2); }
.btn-icon { width: 44px; min-width: 44px; padding: 0; }
.check-list li::before { content: '\2713'; font-family: var(--font); font-weight: 800; top: 0; width: 18px; height: 18px; margin-top: 2px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: .7rem; line-height: 1; }
.option.is-included, .option.is-included:has(input:checked) { background: var(--ok-bg); border-color: #bbf7d0; }
.incl-box { background: var(--ok-bg); border: 1px solid #bbf7d0; border-radius: var(--r); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-3); display: grid; gap: var(--sp-2); }
.incl-title { font-size: .84rem; font-weight: 700; color: var(--ok); display: flex; gap: var(--sp-2); align-items: center; }
.incl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.incl-chips li { background: #fff; border: 1px solid #bbf7d0; border-radius: var(--r-pill); padding: 3px 10px; font-size: .78rem; color: var(--ink); }
.incl-chips li::before { content: '\2713'; color: var(--ok); font-weight: 800; margin-right: 5px; }
.option:has(input:checked:not(:disabled)) .option-price { color: var(--primary-dark); }

/* v5.1 — tanpa paket & info hemat */
.pkg-save { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--sp-2); font-size: .82rem; }
.pkg-save s { color: var(--muted); }
.theme-price.solo-only { display: none; }
form.is-solo .theme-price.solo-only { display: grid; }
.sum-save { margin: 0 0 var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); background: var(--ok-bg); color: var(--ok); font-size: .82rem; font-weight: 600; }

/* v5.1 — pratinjau */
.link-btn { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 0; border: 0; background: none;
  font: 600 .78rem var(--font); color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--primary-dark); }
.preview-wrap { display: grid; gap: var(--sp-5); align-items: start; }
@media (min-width: 760px) { .preview-wrap { grid-template-columns: 340px minmax(0, 1fr); } }
.phone-frame { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 18; padding: 10px; border-radius: 36px; background: #2a1621;
  box-shadow: var(--shadow-lg); }
.phone-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 26px; background: #fff; display: block; }
.preview-side { display: grid; gap: var(--sp-3); align-content: start; }
.preview-side h4 { font-size: .95rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.peek-dialog { width: min(420px, 100% - 2 * var(--sp-3)); max-height: 92vh; }
.peek-body { flex: 1; min-height: 0; padding: var(--sp-3); background: var(--bg); }
.peek-body iframe { width: 100%; height: min(70vh, 640px); border: 0; border-radius: var(--r); background: #fff; display: block; }

/* v5.2 — kotak "Sudah termasuk" di langkah Tambahan */
.incl-summary { display: grid; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r); background: var(--ok-bg); border: 1px solid #bbf7d0; }
.incl-head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.incl-head .link-btn { margin: 0; }
.incl-summary .incl-title { font-size: .9rem; color: var(--ink); font-weight: 600; }
.incl-summary .incl-title strong { color: var(--ok); }
.incl-group { display: grid; gap: 6px; }
.incl-label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ok); }
.incl-label span { font-weight: 600; color: var(--muted); }
.incl-facts { list-style: none; margin: 0; padding: var(--sp-2) 0 0; border-top: 1px dashed #bbf7d0; display: flex; flex-wrap: wrap; gap: 4px var(--sp-4); font-size: .8rem; color: var(--muted); }
.incl-facts li::before { content: '•'; margin-right: 6px; color: var(--ok); }

/* v5.3 — kartu paket ringkas di HP */
.pkg-more { display: grid; gap: var(--sp-4); }
.pkg-card .pkg-more { flex: 1; }
.pkg-quick, .pkg-more-btn { display: none; }
@media (max-width: 639px) {
  .pkg-card { gap: var(--sp-3); padding: var(--sp-4); }
  .pkg-card .pkg-head { gap: 6px; }
  .pkg-price { font-size: 1.35rem; }
  .pkg-quick { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
  .pkg-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 var(--sp-3);
    border: 1px dashed var(--line); border-radius: var(--r-sm); background: #fff; font: 700 .82rem var(--font); color: var(--primary); cursor: pointer; }
  .pkg-more-btn b { transition: transform .2s; font-size: .8rem; }
  .pkg-card.is-open .pkg-more-btn b { transform: rotate(180deg); }
  .pkg-card .pkg-more { display: none; }
  .pkg-card.is-open .pkg-more { display: grid; }
  .pkg-actions { gap: var(--sp-2); }
  .pkg-actions .btn { min-height: 38px; }
  .order-main .pkg-card .pkg-actions { display: none; }
  .order-main .pkg-card.is-open .pkg-actions { display: flex; }
  .pkg-card .pick-mark { top: var(--sp-3); right: var(--sp-3); }
}
.next-steps { width: 100%; text-align: left; padding: var(--sp-4); border-radius: var(--r); background: var(--bg); display: grid; gap: var(--sp-2); }
.next-steps h3 { font-size: 1rem; }
.next-steps ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.next-steps strong { color: var(--ink); }

/* ---------- Menu atas: hover jelas di desktop, tanpa "hover lengket" di HP ---------- */
.main-nav a:not(.btn) { position: relative; transition: background .2s ease, color .2s ease; }
.main-nav a:not(.btn):hover { background: transparent; color: var(--ink); }
.main-nav a.active { background: var(--soft); color: var(--primary); }
@media (hover: hover) and (min-width: 901px) {
  .main-nav a:not(.btn)::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primary); transition: left .25s ease, right .25s ease; }
  .main-nav a:not(.btn):hover { background: var(--soft); color: var(--primary); }
  .main-nav a:not(.btn):hover::after { left: 16px; right: 16px; }
  .main-nav .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--primary); }
}
@media (max-width: 900px) {
  .main-nav a:not(.btn):active { background: var(--soft); color: var(--primary); }
}

/* ---------- Paket: baris atas (Tanpa paket + Lengkap), baris bawah paket hemat; semua kartu sama ---------- */
.pkg-facts { align-content: start; }
.pkg-groups { display: grid; gap: var(--sp-3); }
.pkg-group-label { margin: var(--sp-2) 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pkg-group-label:first-child { margin-top: 0; }
.pkg-grid.pkg-top { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pkg-grid.pkg-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-card .pkg-save { min-height: 1.6em; }
.pkg-card .pkg-actions { margin-top: auto; }
/* Pilihan sebaris (bahasa tambahan, pembuka) */
.opt-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 6px 0 12px; }
.lang-box summary { cursor: pointer; padding: 4px 0; }
.lang-box[open] summary { margin-bottom: 8px; }

/* Formulir undangan → Tampilan: pilih foto latar / panel / foto pembuka */
.look-pick { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); margin-bottom: var(--sp-2); }
.look-opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: .72rem; font-weight: 500; text-align: center; cursor: pointer; }
.look-opt input { position: absolute; opacity: 0; pointer-events: none; }
.look-opt img, .look-none { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); border: 2px solid transparent; transition: border-color .2s, box-shadow .2s; }
.look-none { display: grid; place-items: center; background: var(--soft, #fdeef5); font-size: 1.4rem; color: var(--muted, #888); }
.look-opt input:checked ~ img, .look-opt input:checked ~ .look-none { border-color: var(--primary, #b5217a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #b5217a) 22%, transparent); }
.look-opt input:focus-visible ~ img, .look-opt input:focus-visible ~ .look-none { outline: 2px solid var(--primary, #b5217a); outline-offset: 2px; }
.look-range { display: grid; gap: 4px; }
.look-range output { font-weight: 700; color: var(--primary, #b5217a); }
.look-range input[type=range] { width: 100%; accent-color: var(--primary, #b5217a); }

/* Info: paket tetap bisa ditambah add-on */
.addon-note { display: flex; gap: var(--sp-3); align-items: flex-start; margin: var(--sp-5) auto 0; max-width: 820px; padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r); background: var(--ok-bg, #e8f8ef); color: var(--ink); font-size: .9rem; line-height: 1.55; border: 1px dashed color-mix(in srgb, var(--ok, #0f9d58) 45%, transparent); }
.addon-note i { color: var(--ok, #0f9d58); font-size: 1.15rem; margin-top: 1px; }
.step-pane .addon-note { margin: 0 0 var(--sp-4); }
.addon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.addon-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px dashed var(--line); }
.addon-list li > span:first-child { display: grid; gap: 2px; min-width: 0; }
.addon-list small { color: var(--muted); font-size: .78rem; }
.addon-buy { display: flex; align-items: center; gap: var(--sp-2); flex: 0 0 auto; text-align: right; }
.addon-buy b { color: var(--primary); font-size: .88rem; white-space: nowrap; }
@media (max-width: 420px) { .addon-list li { flex-direction: column; align-items: stretch; } .addon-buy { justify-content: space-between; } }

/* =====================================================================
   Halaman alat: Penerima Tamu (checkin.php) & Buku Tamu (bukutamu.php)
   ===================================================================== */
.tool-page { background: var(--bg); min-height: 100vh; }
.tool-wrap { max-width: 640px; padding-top: var(--sp-5); padding-bottom: var(--sp-7, 48px); display: grid; gap: var(--sp-4); }
.narrow-tool { max-width: 460px; }
.tool-head { display: flex; align-items: center; gap: var(--sp-3); }
.tool-head h1 { font-size: 1.35rem; margin: 0; }
.tool-head p { margin: 0; }
.center-head { justify-content: center; text-align: left; }
.scan-card { display: grid; gap: var(--sp-3); }
.scan-view { position: relative; aspect-ratio: 1; max-height: 62vh; width: 100%; border-radius: var(--r); overflow: hidden; background: #2b1b24; display: grid; place-items: center; }
.scan-view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.scan-view.is-on video { opacity: 1; }
.scan-frame { position: absolute; inset: 18%; border-radius: 18px; box-shadow: 0 0 0 2000px rgba(0, 0, 0, .28); outline: 3px solid rgba(255, 255, 255, .85); opacity: 0; transition: opacity .3s; }
.scan-view.is-on .scan-frame { opacity: 1; animation: scan-pulse 1.8s ease-in-out infinite; }
@keyframes scan-pulse { 50% { outline-color: color-mix(in srgb, var(--primary) 80%, #fff); } }
.scan-idle { color: #f3dbe7; text-align: center; padding: var(--sp-4); display: grid; gap: var(--sp-2); justify-items: center; font-size: .92rem; }
.scan-idle i { font-size: 2.4rem; }
.scan-view.is-on .scan-idle { display: none; }
.scan-ctrl { display: flex; gap: var(--sp-3); align-items: end; flex-wrap: wrap; }
.scan-ctrl .btn { flex: 1 1 200px; }
.scan-pax { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); flex: 0 0 130px; }
.scan-result { display: grid; gap: 2px; padding: var(--sp-3) var(--sp-4); border-radius: var(--r); font-size: .92rem; animation: scan-in .25s ease; }
.scan-result strong { font-size: 1.15rem; }
.scan-result.is-ok { background: #d1fae5; color: #065f46; }
.scan-result.is-again { background: #fef3c7; color: #92400e; }
.scan-result.is-err { background: #fee2e2; color: #991b1b; }
@keyframes scan-in { from { transform: scale(.97); opacity: 0; } }
.guest-pick { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }
.guest-pick li { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); padding: 10px 2px; border-bottom: 1px dashed var(--line); }
.guest-pick li > span:first-child { display: grid; min-width: 0; }
.guest-pick small { color: var(--muted); font-size: .78rem; }
.gb-done { justify-items: center; }
.gb-done > i { font-size: 3rem; color: var(--ok); }
.gb-print { max-width: 420px; margin: 0 auto 30px; background: #fff; border-radius: 24px; padding: 40px 32px; text-align: center; display: grid; gap: 12px; justify-items: center;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .45); border: 1px solid var(--line); }
.gb-kicker { letter-spacing: .3em; text-transform: uppercase; color: var(--primary); font-weight: 700; font-size: .8rem; margin: 0; }
.gb-print h1 { font-size: 2rem; margin: 0; }
.gb-qr { width: 260px; max-width: 100%; }
.gb-qr svg { width: 100%; height: auto; display: block; }
.gb-step { font-size: 1.05rem; margin: 0; }
.gb-url { word-break: break-all; font-size: .7rem; }
@media print { .tool-page.is-print { background: #fff; } .no-print { display: none !important; } .gb-print { box-shadow: none; margin-top: 10mm; } }
.results-dl { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r); background: var(--soft); }
.results-dl > div:first-child { display: grid; gap: 2px; flex: 1 1 260px; }
.results-dl small { color: var(--muted); font-size: .8rem; }
.results-lock { display: grid; gap: 6px; justify-items: start; flex: 1 1 220px; }
.import-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .9rem; }
.import-steps li { padding-left: 4px; }
.import-steps .cluster { display: inline-flex; gap: 6px; margin-left: 6px; vertical-align: middle; }
.howto { display: grid; gap: var(--sp-3); }
.howto > div { display: flex; gap: var(--sp-3); align-items: flex-start; }
.howto p { margin: 0; font-size: .9rem; }
.howto-n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.gp { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); }
.gp-tools { display: grid; gap: var(--sp-2); align-content: start; }
.gp-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-2); align-items: center; }
.gp-nav { padding-inline: 12px; gap: 6px; } .gp-nav b { font-size: 1.3rem; line-height: 1; }
.gp-meta { margin: 0; }
.gp-phone { width: min(100%, 400px); margin: 0 auto; height: min(78vh, 760px); border-radius: 30px; border: 8px solid #2b1b24; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .55); }
.gp-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) { .gp-nav span { display: none; } .gp-phone { border-width: 5px; border-radius: 22px; height: 72vh; } }
@media (min-width: 900px) { .gp { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .gp-phone { margin: 0; } }
.stats.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .stats.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tool-page .stat { background: var(--surface); box-shadow: var(--shadow-sm, 0 6px 18px -12px rgba(0,0,0,.25)); }

/* ---------- Checklist isi undangan (sesuai paket) & tanda isian tersimpan ---------- */
.cl-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; display: grid; gap: 8px; margin-bottom: 14px; }
.cl-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.cl-head strong { display: block; font-size: .98rem; }
.cl-head small { display: block; color: var(--muted); font-size: .78rem; }
.cl-count { flex: none; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--warn-bg, #fff7e6); color: var(--warn, #b45309); white-space: nowrap; }
.cl-count.is-full { background: var(--ok-bg, #ecfdf5); color: var(--ok, #059669); }
.cl-bar { height: 6px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.cl-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ok, #059669), #34d399); transition: width .3s; }
.cl-sub { margin: 6px 0 0; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cl-sub span { font-weight: 600; } .cl-sub small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.cl-tip { margin: 0; font-size: .8rem; padding: 8px 10px; border-radius: 10px; background: var(--warn-bg, #fff7e6); color: #7a4a06; }
.cl-allok { margin: 0; font-size: .86rem; font-weight: 700; color: var(--ok, #059669); padding: 8px 10px; border-radius: 10px; background: var(--ok-bg, #ecfdf5); }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cl-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid #fde3b5; background: #fffcf5; }
.cl-ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .78rem; background: #fff; color: var(--warn, #b45309); box-shadow: inset 0 0 0 1.5px currentColor; }
.cl-text { flex: 1; min-width: 0; display: grid; }
.cl-text b { font-size: .86rem; font-weight: 700; }
.cl-text small { font-size: .74rem; color: var(--muted); }
.cl-act { display: flex; gap: 6px; flex: none; }
.cl-btn { border: 1px solid var(--line); background: #fff; color: var(--primary); font-family: inherit; font-weight: 700; font-size: .76rem; line-height: 1; padding: 7px 11px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.cl-btn:hover { border-color: var(--primary); }
.cl-btn.is-main { background: var(--primary); border-color: var(--primary); color: #fff; }
.cl-btn.is-quiet { color: var(--muted); }
.cl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fafafa; color: var(--muted); padding: 5px 11px 5px 6px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: .78rem; line-height: 1.25; text-align: left; }
button.cl-chip { cursor: pointer; } button.cl-chip:hover { border-color: var(--primary); }
.cl-mini { width: 17px; height: 17px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 800; background: #e5e7eb; color: #6b7280; }
.cl-chip.is-done { background: var(--ok-bg, #ecfdf5); color: #065f46; border-color: color-mix(in srgb, var(--ok, #059669) 30%, transparent); }
.cl-chip.is-done .cl-mini { background: var(--ok, #059669); color: #fff; }
.cl-chip.is-off { text-decoration: none; } .cl-chip.is-off u { color: var(--primary); font-size: .72rem; text-underline-offset: 2px; }
.cl-chip.is-on { background: var(--ok-bg, #ecfdf5); color: #065f46; border-color: color-mix(in srgb, var(--ok, #059669) 30%, transparent); }
.cl-sw { width: 26px; height: 15px; border-radius: 999px; background: #d1d5db; position: relative; flex: none; transition: background .2s; }
.cl-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cl-chip.is-on .cl-sw { background: var(--ok, #059669); } .cl-chip.is-on .cl-sw::after { transform: translateX(11px); }
.cl-note { margin: 0; font-size: .78rem; color: var(--muted); }
.cl-offrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: .84rem; background: #fafafa; }
@media (max-width: 560px) { .cl-item { flex-wrap: wrap; row-gap: 6px; } .cl-act { width: 100%; padding-left: 32px; } }

/* Isian yang sudah tersimpan berubah warna (hijau + ✓ di kanan); diubah tapi belum disimpan = kuning */
.inv-data-form label.is-saved > input.input:not([type=file]), .inv-data-form label.is-saved > textarea.input {
  border-color: color-mix(in srgb, var(--ok, #059669) 55%, transparent); background-color: #f3fcf7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23059669' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9L13.2 4.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px top 50%; background-size: 15px; padding-right: 32px; }
.inv-data-form label.is-saved > textarea.input { background-position: right 10px top 10px; }
.inv-data-form label.is-saved > input[type=file] { border-color: color-mix(in srgb, var(--ok, #059669) 55%, transparent); background-color: #f3fcf7; }
.inv-data-form label.is-dirty > .input { border-color: #f59e0b; background-color: #fffbeb; background-image: none; }
.inv-data-form.has-dirty .step-nav::before { content: '● Ada perubahan yang belum disimpan — tekan Simpan'; flex-basis: 100%; font-size: .78rem; font-weight: 700; color: #b45309; }
.until-done { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; margin-top: 6px; color: var(--muted); cursor: pointer; }
.inv-data-form .input:disabled { opacity: .55; }
.steps button.is-complete::before { content: '\2713'; font-weight: 700; background: var(--ok-bg, #ecfdf5); color: var(--ok, #059669); }
.steps button.is-todo { position: relative; }
.steps button.is-todo::after { content: ''; position: absolute; top: 3px; left: 24px; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 2px #fff; }
.steps button.is-complete.active::before { background: var(--primary); color: #fff; }

/* Tab Tambah: bagian undangan & add-on dipisah; yang sudah tersedia di paket/tema beda warna */
.extra-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: var(--sp-3) 0 0; font-size: 1rem; }
.extra-head small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.addon-list li.is-owned { background: var(--ok-bg); border-bottom-color: transparent; border-radius: 10px; padding-inline: var(--sp-3); margin: 2px 0; }
.addon-list li.is-owned strong { color: #065f46; }
.owned-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; color: var(--ok); background: #fff; border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.addon-list li:not(.is-owned) { padding-inline: var(--sp-3); }
@media (max-width: 520px) {
  .addon-list li { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
  .addon-buy { justify-content: space-between; flex-wrap: wrap; text-align: left; }
  .owned-tag { white-space: normal; }
}
.preview-final { color: var(--ok); font-weight: 700; background: var(--ok-bg); padding: 8px 12px; border-radius: 10px; }

/* Batalkan pesanan (klien) */
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(.92); }
.cancel-box { margin-top: var(--sp-5); border-color: color-mix(in srgb, var(--danger) 25%, var(--line)); }
.cancel-box > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px var(--sp-3); }
.cancel-box > summary::-webkit-details-marker { display: none; }
.cancel-box > summary span { font-weight: 700; color: var(--danger); }
.cancel-box > summary span::before { content: '✕ '; }
.cancel-box > summary small { color: var(--muted); }
.cancel-box[open] > summary { margin-bottom: var(--sp-4); }
.cancel-box.is-done h3 { color: var(--danger); margin: 0 0 var(--sp-2); }
.look-lock { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7ed; border: 1px dashed #fdba74; color: #9a3412; font-size: .85rem; line-height: 1.45; }
.look-lock i { margin-right: 4px; }

/* =====================================================================
   6. MODE APLIKASI (APK / dipasang di layar utama)
   Hanya aktif bila <html class="is-app"> — di browser biasa tampilan web tidak berubah.
   ===================================================================== */
.app-bar, .app-tabs, .app-more { display: none; }
html.is-app { --header-h: 56px; --tabs-h: 64px; scroll-padding-top: calc(56px + env(safe-area-inset-top) + var(--sp-3)); }
html.is-app body { padding-top: calc(56px + env(safe-area-inset-top)); padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + var(--sp-3));
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
html.is-app .site-header, html.is-app .site-footer, html.is-app .wa-float { display: none !important; }
/* Hanya opacity (tanpa transform): transform pada <main> membuat bilah tetap di bawah (total & Lanjut) ikut tergulir */
html.is-app main { animation: appIn .28s ease-out; }
@keyframes appIn { from { opacity: 0; } to { opacity: 1; } }
html.is-app .btn, html.is-app .app-tabs a, html.is-app .app-tabs button, html.is-app .card a { transition: transform .12s; }
html.is-app .btn:active, html.is-app .app-tabs a:active, html.is-app .app-tabs button:active { transform: scale(.96); }
html.is-app .app-bar, html.is-app .app-tabs, html.is-app .btn, html.is-app .chip { -webkit-user-select: none; user-select: none; }

/* Bilah atas */
html.is-app .app-bar { display: flex; align-items: center; gap: var(--sp-2); position: fixed; inset: 0 0 auto; z-index: 40;
  height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--sp-2) 0 var(--sp-2);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line); }
.app-bar-brand { display: inline-flex; align-items: center; gap: var(--sp-2); padding-left: var(--sp-2); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.app-bar-brand img { width: 30px; height: 30px; }
.app-bar-title { flex: 1; min-width: 0; font-size: 1.05rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar-brand + .app-bar-btn { margin-left: auto; }
.app-bar-btn { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 1.3rem; cursor: pointer; text-decoration: none; }
.app-bar-btn:active { background: var(--soft); }
.app-bar-wa { color: #16a34a; }

/* Navigasi bawah */
html.is-app .app-tabs { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; inset: auto 0 0; z-index: 40;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding: 0 var(--sp-1) env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -22px rgba(142, 26, 94, .5); }
.app-tabs a, .app-tabs button { display: grid; justify-items: center; align-content: center; gap: 2px; height: var(--tabs-h); border: 0; background: none; padding: 0;
  color: var(--muted); font: 600 .68rem var(--font); text-decoration: none; cursor: pointer; }
.app-tabs i { font-size: 1.3rem; line-height: 1; }
.app-tabs .on { color: var(--primary); }
.app-tabs .on i { transform: translateY(-1px); }
.app-tabs .app-tab-main i { width: 50px; height: 50px; display: grid; place-items: center; margin-top: -22px; border-radius: 50%; color: #fff; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary)); box-shadow: 0 10px 20px -8px rgba(181, 33, 122, .75); border: 4px solid #fff; }
.app-tabs .app-tab-main.on { color: var(--primary); }
/* Halaman alur pesan punya bilah total sendiri: navigasi bawah disembunyikan agar tidak bertumpuk */
html.is-app body.has-bottom-bar .app-tabs { display: none; }
html.is-app body.has-bottom-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* Menu "Lainnya" (bottom sheet) */
html.is-app .app-more:not([hidden]) { display: flex; align-items: flex-end; position: fixed; inset: 0; z-index: 50; background: rgba(52, 32, 43, 0); transition: background .2s; }
html.is-app .app-more.show { background: rgba(52, 32, 43, .45); }
.app-more-body { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); padding: var(--sp-3) var(--sp-4) calc(var(--sp-5) + env(safe-area-inset-bottom));
  background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); transition: transform .22s ease-out; }
.app-more.show .app-more-body { transform: none; }
.app-more-grip { grid-column: 1 / -1; justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: var(--sp-2); }
.app-more-body a, .app-more-body button { display: grid; justify-items: center; gap: 6px; padding: var(--sp-3) var(--sp-1); border: 0; border-radius: var(--r); background: var(--bg);
  color: var(--ink); text-decoration: none; font: 600 .74rem var(--font); text-align: center; cursor: pointer; }
.app-more-body i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--soft); color: var(--primary); font-size: 1.25rem; }
.app-more-body a:active, .app-more-body button:active { background: var(--soft); }
@media (min-width: 700px) { .app-more-body { max-width: 560px; margin-inline: auto; } }

/* =====================================================================
   7. LAYAR PEMBUKA (splash) & ANIMASI MEMUAT — logo QuUndangin yang lucu & ceria
   Splash tampil sekali per sesi / tiap aplikasi dibuka; loader kecil tampil saat pindah halaman.
   ===================================================================== */
.qu-splash, .qu-loader { display: none; }
html.is-splash body { overflow: hidden; }
html.is-splash .qu-splash { display: grid; place-items: center; position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #fff 0%, #fff4f9 45%, #ffe1ee 100%); transition: opacity .55s ease, visibility .55s; }
html.is-splash-out .qu-splash { opacity: 0; visibility: hidden; }
html.is-splash-out .qs-stage { transform: scale(1.06); }
.qs-stage { display: grid; justify-items: center; gap: 6px; text-align: center; transition: transform .55s ease; padding: 24px; }
.qs-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: qsFloat 7s ease-in-out infinite; }
.qs-blob.b1 { width: 260px; height: 260px; background: #ffc2dc; top: -60px; left: -70px; }
.qs-blob.b2 { width: 220px; height: 220px; background: #ffd3c4; bottom: -50px; right: -60px; animation-delay: -2.5s; }
.qs-blob.b3 { width: 160px; height: 160px; background: #f8a8cf; top: 55%; left: 8%; animation-delay: -4.5s; opacity: .35; }
@keyframes qsFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.12); } }

.qs-logo { position: relative; width: 150px; height: 170px; display: grid; place-items: end center; }
.qs-mark { position: relative; z-index: 2; width: 132px; height: 132px; object-fit: contain; transform-origin: 50% 100%;
  animation: qsDrop .85s cubic-bezier(.3, 1.4, .5, 1) both, qsBounce 1.15s .85s ease-in-out infinite; }
@keyframes qsDrop { 0% { transform: translateY(-180px) scale(.6, 1.3) rotate(-12deg); opacity: 0; } 55% { transform: translateY(0) scale(1.25, .72) rotate(4deg); opacity: 1; }
  75% { transform: translateY(-14px) scale(.92, 1.1) rotate(-2deg); } 100% { transform: translateY(0) scale(1) rotate(0); } }
@keyframes qsBounce { 0%, 100% { transform: translateY(0) scale(1.08, .92) rotate(0); } 12% { transform: translateY(0) scale(1.14, .86); }
  45% { transform: translateY(-26px) scale(.94, 1.08) rotate(-5deg); } 60% { transform: translateY(-30px) scale(.97, 1.04) rotate(4deg); } 88% { transform: translateY(0) scale(1, 1); } }
.qs-shadow { position: absolute; z-index: 1; bottom: -8px; width: 92px; height: 14px; border-radius: 50%; background: rgba(181, 33, 122, .2);
  animation: qsShadow 1.15s .85s ease-in-out infinite; }
@keyframes qsShadow { 0%, 100%, 88% { transform: scale(1.1); opacity: .9; } 45%, 60% { transform: scale(.65); opacity: .45; } }
.qs-heart { position: absolute; z-index: 3; font-style: normal; color: #ee5a9a; font-size: 18px; opacity: 0; animation: qsHeart 2.4s ease-out infinite; }
.qs-heart.h1 { left: 4px; bottom: 70px; animation-delay: 1s; }
.qs-heart.h2 { right: 0; bottom: 90px; font-size: 14px; color: #ff9fb8; animation-delay: 1.8s; }
.qs-heart.h3 { right: 26px; bottom: 120px; font-size: 12px; color: #c2185b; animation-delay: 2.6s; }
@keyframes qsHeart { 0% { transform: translateY(0) scale(.3) rotate(0); opacity: 0; } 20% { opacity: 1; transform: translateY(-10px) scale(1.15) rotate(-8deg); }
  100% { transform: translateY(-70px) scale(.8) rotate(12deg); opacity: 0; } }
.qs-spark { position: absolute; z-index: 3; width: 12px; height: 12px; background: #ffb4d0; opacity: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: qsTwinkle 1.8s ease-in-out infinite; }
.qs-spark.s1 { top: 18px; left: 2px; animation-delay: .9s; } .qs-spark.s2 { top: 4px; right: 14px; width: 9px; height: 9px; animation-delay: 1.3s; background: #ffc9a8; }
.qs-spark.s3 { bottom: 30px; left: -10px; width: 8px; height: 8px; animation-delay: 1.7s; } .qs-spark.s4 { bottom: 46px; right: -12px; animation-delay: 2.1s; background: #f9a8d4; }
@keyframes qsTwinkle { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 50% { transform: scale(1.2) rotate(90deg); opacity: 1; } }

.qs-word { margin-top: 18px; font: 800 2.15rem/1 var(--font); letter-spacing: -.02em; color: #ef7fb4; display: flex; }
.qs-word span { display: inline-block; opacity: 0; animation: qsPop .55s calc(.75s + var(--i) * .07s) cubic-bezier(.3, 1.6, .5, 1) forwards, qsWave 2.6s calc(2s + var(--i) * .08s) ease-in-out infinite; }
.qs-word .qs-q { color: #b5217a; }
@keyframes qsPop { 0% { opacity: 0; transform: translateY(18px) scale(.3) rotate(-12deg); } 100% { opacity: 1; transform: none; } }
@keyframes qsWave { 0%, 20%, 100% { transform: translateY(0); } 8% { transform: translateY(-7px) rotate(-4deg); } 14% { transform: translateY(1px); } }
.qs-tag { margin: 8px 0 14px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7a5a6c; opacity: 0;
  animation: qsFadeUp .6s 1.45s ease-out forwards; }
@keyframes qsFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qu-dots { display: flex; gap: 7px; justify-content: center; }
.qu-dots i { width: 9px; height: 9px; border-radius: 50%; background: #f28ab9; animation: qsDot 1s ease-in-out infinite; }
.qu-dots i:nth-child(2) { animation-delay: .15s; background: #e0559a; } .qu-dots i:nth-child(3) { animation-delay: .3s; background: #b5217a; }
@keyframes qsDot { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-9px) scale(1.15, .9); } 55% { transform: translateY(0) scale(1.2, .8); } }

/* Loader kecil (pindah halaman / mengirim) */
html.qu-loading .qu-loader { display: grid; place-items: center; align-content: center; gap: 14px; position: fixed; inset: 0; z-index: 9990;
  background: rgba(255, 247, 250, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: qlIn .25s ease-out; }
@keyframes qlIn { from { opacity: 0; } to { opacity: 1; } }
.ql-card { position: relative; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 30px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(181, 33, 122, .6); animation: qlJelly 1.2s ease-in-out infinite; }
.ql-mark { width: 60px; height: 60px; object-fit: contain; animation: qlWiggle 1.2s ease-in-out infinite; }
.ql-ring { position: absolute; inset: -6px; border-radius: 34px; padding: 3px; background: conic-gradient(from 0deg, #b5217a, #ee7fb3, #ffb39f, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: qlSpin 1s linear infinite; }
@keyframes qlSpin { to { transform: rotate(360deg); } }
@keyframes qlJelly { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.08, .92); } 50% { transform: scale(.95, 1.06) translateY(-4px); } 70% { transform: scale(1.03, .97); } }
@keyframes qlWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg) scale(1.05); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) {
  .qs-mark, .qs-shadow, .qs-heart, .qs-spark, .qs-blob, .qs-word span, .qs-tag, .ql-card, .ql-mark, .ql-ring, .qu-dots i { animation: none !important; opacity: 1; }
  .qs-heart, .qs-spark { display: none; }
}
