/* assets/css/belanja.css — alur belanja (masuk, checkout, pesanan) Ledeng Motor.
   Pola aplikasi belanja: kepala ringkas, kartu bersih bertumpuk, tombol bayar menempel di bawah.
   Gaya HP ditulis dulu; gaya desktop terpisah di blok @media (min-width: 900px) di bagian bawah. */

.cx-body { margin: 0; background: #f4f4f5; color: var(--ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.cx-body.cx-lock { overflow: hidden; }
.cx-body [hidden] { display: none !important; }

/* ---------- Kepala ringkas ---------- */
.cx-top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #ececee; }
.cx-top-in { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px; max-width: 1120px; margin: 0 auto; }
.cx-back { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--ink); flex: 0 0 auto; }
.cx-back:hover { background: #f4f4f5; }
.cx-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cx-logo { display: none; }
.cx-logo img { display: block; height: 28px; width: auto; }
.cx-top-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-safe { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: #f0fdf4; color: #15803d; font-size: 11.5px; font-weight: 700; }
.cx-safe svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Kerangka ---------- */
.cx { padding: 12px 0 120px; }
.cx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 12px; }
.cx-side { display: none; }
.cx-card { background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / 4%); }
.cx-state { color: var(--muted); font-size: 14px; text-align: center; padding: 28px 16px; }
.cx-state .cx-btn { margin-top: 14px; }

/* Bagian */
.cx-sec { scroll-margin-top: 70px; transition: box-shadow .2s; }
.cx-sec.is-err { box-shadow: 0 0 0 2px #ef4444; }
.cx-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cx-sec-head h2 { margin: 0; font-size: 15.5px; font-weight: 800; flex: 1; min-width: 0; }
.cx-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #f6f1f2; flex: 0 0 auto;
  fill: none; stroke: var(--wine); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cx-count { font-size: 12px; color: var(--muted); font-weight: 600; }
.cx-err { margin: -4px 0 12px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 13px; font-weight: 600; }

/* Teks bantu */
.cx-label { display: block; margin: 14px 0 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cx-hint { display: block; margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.cx-muted { color: var(--muted); font-weight: 500; }
.cx-ok { display: block; font-size: 12px; color: #15803d; margin: 6px 0 0; }
.cx-bad { display: block; font-size: 12.5px; color: #b91c1c; margin: 6px 0 0; }
.cx-info { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fffbeb; color: #92400e; font-size: 12.5px; }
.cx-fine { margin: 12px 0 0; font-size: 11.5px; color: #8a8587; line-height: 1.5; text-align: center; }
.cx-center { text-align: center; }
.cx-link { background: none; border: 0; padding: 0; color: var(--wine); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cx-link:disabled { color: #a1a1aa; cursor: default; }

/* Tombol */
.cx-btn, .cx-btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 12px;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; border: 1px solid var(--wine); }
.cx-btn { background: var(--wine); color: #fff; }
.cx-btn:hover { background: var(--wine-dark, #4f010a); }
.cx-btn:disabled { opacity: .6; cursor: wait; }
.cx-btn-line { background: #fff; color: var(--wine); }
.cx-btn-block { width: 100%; margin-top: 14px; }
.cx-btn-big { min-height: 50px; font-size: 15px; }
.cx-btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.cx-btn-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Isian */
.cx-field { margin-top: 12px; min-width: 0; }
.cx-field .cx-label { margin: 0 0 6px; font-size: 12.5px; }
.cx-in { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dcdcdf; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
textarea.cx-in { min-height: 64px; resize: vertical; }
.cx-in:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgb(110 4 15 / 12%); }
.cx-in:disabled { background: #f4f4f5; color: var(--muted); }
.cx-select { appearance: none; padding-right: 32px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.cx-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }

/* Produk */
.cx-items ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.cx-items img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fafafa; border: 1px solid #f0f0f1; }
.cx-items b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.35; font-weight: 600; }
.cx-items small { font-size: 12px; color: var(--muted); }
.cx-items.is-folded li.is-more { display: none; }
.cx-more { margin-top: 10px; font-size: 12.5px; }
.cx-price { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.cx-need { color: var(--wine); font-size: 12px; font-weight: 700; }

/* Pilihan (radio/checkbox) */
.cx-opts { display: grid; gap: 8px; }
.cx-opt { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border: 1px solid #e4e4e7; border-radius: 12px; cursor: pointer; background: #fff; }
.cx-opt input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--wine); }
.cx-opt-txt b { display: block; font-size: 13.5px; font-weight: 700; }
.cx-opt-txt small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.cx-opt-txt small.cx-ok { color: #15803d; } .cx-opt-txt small.cx-bad { color: #b91c1c; }
.cx-opt:has(input:checked) { border-color: var(--wine); background: #fdf6f7; box-shadow: 0 0 0 1px var(--wine) inset; }
.cx-opt.is-off { opacity: .55; cursor: not-allowed; }
.cx-ship-opt .cx-price { align-self: center; }

/* Segmen (Dikirim / Ambil, WhatsApp / Email) */
.cx-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 14px 0 4px; border-radius: 12px; background: #f4f4f5; }
.cx-seg button { display: grid; gap: 1px; padding: 9px 8px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; text-align: center; }
.cx-seg button b { font-weight: 800; }
.cx-seg button small { font-size: 11px; font-weight: 600; }
.cx-seg button.on { background: #fff; color: var(--wine); box-shadow: 0 1px 3px rgb(0 0 0 / 10%); }

/* Chip tanggal & jam */
.cx-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cx-chips::-webkit-scrollbar { display: none; }
.cx-times { flex-wrap: wrap; overflow: visible; }
.cx-chip { flex: 0 0 auto; display: grid; gap: 1px; justify-items: center; min-width: 64px; padding: 8px 10px; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.cx-chip small { font-size: 11px; color: var(--muted); }
.cx-chip b { font-size: 13px; }
.cx-chip.on { border-color: var(--wine); background: var(--wine); color: #fff; }
.cx-chip.on small { color: #fde2e4; }
.cx-chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Alamat */
.cx-addr { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; margin-top: 14px; padding: 12px; border-radius: 12px; background: #fafafa; border: 1px solid #ececee; }
.cx-addr-ico { width: 22px; height: 22px; fill: none; stroke: var(--wine); stroke-width: 2; }
.cx-addr-txt b { display: block; font-size: 13.5px; }
.cx-addr-txt span { display: block; font-size: 12.5px; color: #3f3a3c; line-height: 1.45; }
.cx-addr-txt small { margin-top: 4px; }
.cx-pinrow { margin-top: 8px; }
.cx-addr-form { margin-top: 6px; }

/* Pemesan */
.cx-who b { display: block; font-size: 15px; }
.cx-who span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.cx-who .cx-badge { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: #f6f1f2; color: var(--wine); font-size: 11px; font-weight: 700; }

/* Promo */
.cx-kupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.cx-kupon .cx-btn-line { min-height: 44px; }
.cx-toggle { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 12px; padding: 12px; border: 1px solid #ececee; border-radius: 12px; cursor: pointer; }
.cx-toggle input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--wine); }
.cx-toggle b { display: block; font-size: 13.5px; }
.cx-toggle small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Pembayaran QRIS */
.cx-pay { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--wine); border-radius: 12px; background: #fdf6f7; }
.cx-qris { display: grid; place-items: center; width: 50px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid #e4e4e7; font-size: 12px; font-weight: 900; letter-spacing: .04em; color: #111; }
.cx-pay b { display: block; font-size: 13.5px; }
.cx-pay small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.cx-check { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--wine); fill: none; stroke: #fff; stroke-width: 3; }

/* Rincian */
.cx-sum-title { margin: 0 0 10px; font-size: 15.5px; font-weight: 800; }
.cx-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13.5px; color: #3f3a3c; }
.cx-sum-row span:last-child { font-weight: 600; white-space: nowrap; }
.cx-good span:last-child { color: #15803d; }
.cx-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px dashed #dcdcdf; font-size: 14px; font-weight: 700; }
.cx-sum-total strong { font-size: 19px; color: var(--wine); white-space: nowrap; }

/* Bar bawah (HP) */
.cx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -4px 20px rgb(0 0 0 / 8%); }
.cx-bar-info { flex: 1; min-width: 0; display: grid; }
.cx-bar-info small { font-size: 11.5px; color: var(--muted); }
.cx-bar-info strong { font-size: 18px; color: var(--wine); line-height: 1.2; }
.cx-bar-detail { justify-self: start; font-size: 12px; margin-top: 1px; }
.cx-bar .cx-btn { flex: 0 0 auto; min-width: 150px; }

/* Lembar peta */
.cx-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; background: rgb(15 15 18 / 45%); }
.cx-sheet-box { width: 100%; max-height: 92vh; overflow: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
.cx-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cx-sheet-head b { font-size: 16px; }
.cx-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f4f4f5; font-size: 22px; line-height: 1; cursor: pointer; }
.cx-map { height: 52vh; min-height: 280px; margin-top: 10px; border-radius: 12px; overflow: hidden; background: #e5e7eb; }
.cx-sheet-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

/* ---------- Masuk / daftar ---------- */
.cx-auth { padding: 14px 12px 40px; }
.cx-auth-card { max-width: 420px; margin: 0 auto; padding: 22px 18px 18px; }
.cx-auth-head { text-align: center; }
.cx-auth-logo { display: block; height: 46px; width: auto; max-width: 180px; margin: 0 auto 14px; object-fit: contain; }
.cx-auth-head h2 { margin: 0 0 4px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: #2a2326; text-wrap: balance; }
.cx-auth-head p { text-wrap: balance; }
.cx-nowrap { white-space: nowrap; }
.cx-auth-head p { margin: 0; font-size: 13px; color: var(--muted); }
.cx-perks { list-style: none; margin: 16px 0 4px; padding: 4px 14px; display: grid; border-radius: 14px; background: #fafafa; }
.cx-perks li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; }
.cx-perks li + li { border-top: 1px solid #efefef; }
.cx-perk-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fdf2f3; }
.cx-perk-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--wine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cx-perks b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.cx-perks small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.cx-baru { margin-top: 14px; padding: 12px; border-radius: 12px; background: #fafafa; }
.cx-baru .cx-label:first-of-type { margin-top: 10px; }
.cx-baru-note { margin: 0; font-size: 12.5px; color: #3f3a3c; line-height: 1.5; }
.cx-auth-step { margin-top: 8px; }
.cx-input-ico { display: flex; align-items: stretch; border: 1px solid #dcdcdf; border-radius: 12px; overflow: hidden; background: #fff; }
.cx-input-ico:focus-within { border-color: var(--wine); box-shadow: 0 0 0 3px rgb(110 4 15 / 12%); }
.cx-prefix { display: grid; place-items: center; padding: 0 12px; background: #f4f4f5; font-weight: 700; font-size: 15px; color: var(--muted); }
.cx-input-ico input { flex: 1; min-width: 0; min-height: 48px; border: 0; padding: 0 12px; font: inherit; font-size: 16px; outline: none; }
.cx-otp { width: 100%; min-height: 52px; border: 1px solid #dcdcdf; border-radius: 12px; text-align: center; font: inherit; font-size: 22px; font-weight: 800; letter-spacing: .45em; padding-left: .45em; }
.cx-otp::placeholder { color: #d4d4d8; }
.cx-otp:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgb(110 4 15 / 12%); }
.cx-sent { margin: 12px 0 0; font-size: 13px; text-align: center; color: var(--muted); }
.cx-sent b { color: var(--ink); }
.cx-auth .cx-err { margin: 10px 0 0; }

/* ---------- Halaman pesanan (setelah checkout) ---------- */
.cx-done { max-width: 680px; margin: 0 auto; padding: 0 12px; }
.cx-hero { text-align: center; padding: 22px 16px; }
.cx-hero-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #f0fdf4; }
.cx-hero-ico svg { width: 30px; height: 30px; fill: none; stroke: #15803d; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cx-hero h2 { margin: 12px 0 4px; font-size: 20px; font-weight: 800; }
.cx-hero p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cx-code { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: #f4f4f5; font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.cx-deadline { margin: 12px auto 0; max-width: 420px; padding: 10px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 12.5px; line-height: 1.5; }
.cx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: l; }
.cx-steps li { position: relative; padding-left: 34px; font-size: 13px; line-height: 1.5; color: #3f3a3c; counter-increment: l; }
.cx-steps li::before { content: counter(l); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 12px; font-weight: 800; }
.cx-qr { text-align: center; }
.cx-qr .cx-sec-head h2 { text-align: left; }
.cx-qr-amt { margin: 0; font-size: 12.5px; color: var(--muted); }
.cx-qr-amt strong { display: block; margin-top: 2px; font-size: 26px; color: var(--wine); letter-spacing: -.01em; }
.cx-qr-box { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1 / 1.13; margin: 14px auto 4px; border-radius: 16px; background: #fff; border: 1px solid #f0e6e8; overflow: hidden; display: grid; place-items: center; }
.cx-qr-box:not(.is-clean):not(.is-asli)::after { content: ""; position: absolute; inset: 22%; border-radius: 12px; background: linear-gradient(90deg, #f4f4f5, #fafafa, #f4f4f5); background-size: 200% 100%; animation: cx-kilau 1.2s infinite; }
@keyframes cx-kilau { to { background-position: -200% 0; } }
.cx-qr-box:not(.is-clean):not(.is-asli) img { visibility: hidden; }
.cx-qr-box img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cx-qr-box.is-clean { aspect-ratio: auto; border-color: #f0e6e8; padding: 0; }
.cx-qr-clean { width: 100%; height: auto !important; }
.cx-qr-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cx-qr-act .cx-btn, .cx-qr-act .cx-btn-line { min-height: 48px; padding: 0 12px; font-size: 14px; border-radius: 12px; white-space: nowrap; }
.cx-qr-act .cx-btn-ico { width: 18px; height: 18px; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cx-qr .cx-steps { text-align: left; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #ececee; }
.cx-qr-none { padding: 14px; border-radius: 12px; background: #fffbeb; color: #92400e; font-size: 13px; }
.cx-wa { background: #16a34a; border-color: #16a34a; color: #fff; }
.cx-wa:hover { background: #15803d; }
.cx-wa svg { width: 18px; height: 18px; fill: currentColor; }
.cx-paid { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: #f0fdf4; color: #15803d; font-weight: 800; font-size: 14px; }
.cx-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0; font-size: 13px; }
.cx-dl dt { color: var(--muted); }
.cx-dl dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.cx-status { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.cx-status.is-ok { background: #f0fdf4; color: #15803d; }
.cx-done-act { display: grid; gap: 8px; margin: 6px 0 20px; }
.cx-app { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; padding: 14px 16px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(110, 4, 15, .14); color: inherit; text-decoration: none; }
.cx-app:hover { border-color: var(--wine); }
.cx-app-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(110, 4, 15, .07); color: var(--wine); }
.cx-app-ico svg, .cx-app-go { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cx-app-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cx-app-txt b { font-size: 14px; color: var(--wine); }
.cx-app-txt small { font-size: 12.5px; color: #6b6b6b; line-height: 1.4; }
.cx-app-go { flex: none; color: #9a9a9a; }

.cx-only-m { display: block; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .cx-top-in { height: 64px; padding: 0 20px; gap: 16px; }
  .cx-logo { display: block; }
  .cx-top-title { font-size: 18px; padding-left: 16px; border-left: 1px solid #ececee; }
  .cx { padding: 24px 0 48px; }
  .cx-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; padding: 0 20px; }
  .cx-wrap-1 { display: block; max-width: 640px; }
  .cx-side { display: block; position: sticky; top: 84px; }
  .cx-card { padding: 20px 22px; border-radius: 18px; margin-bottom: 14px; }
  .cx-row { grid-template-columns: 1fr 1fr; }
  .cx-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-bar { display: none !important; }
  .cx-only-m { display: none !important; }
  .cx-chips.cx-dates { flex-wrap: wrap; overflow: visible; }
  .cx-sheet { align-items: center; justify-content: center; }
  .cx-sheet-box { max-width: 640px; border-radius: 18px; padding: 18px; }
  .cx-map { height: 440px; }
  .cx-auth { padding: 48px 20px; }
  .cx-auth-card { padding: 30px 28px; }
  .cx-done { padding: 0 20px; }
  .cx-done-act { grid-template-columns: 1fr 1fr; }
}

/* Masuk: nuansa lebih lembut (HP & desktop) */
.cx-auth-card { box-shadow: 0 1px 2px rgb(0 0 0 / 3%), 0 8px 24px rgb(0 0 0 / 4%); }
.cx-auth .cx-seg { background: #f6f6f7; margin: 16px 0 2px; }
.cx-auth .cx-seg button { padding: 10px 8px; font-weight: 600; }
.cx-auth .cx-seg button.on { color: var(--wine); box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.cx-auth .cx-input-ico, .cx-auth .cx-in, .cx-auth .cx-otp { border-color: #e4e4e7; }
.cx-auth .cx-prefix { background: #f6f6f7; font-weight: 600; }
.cx-auth .cx-btn-block { min-height: 48px; border-radius: 12px; font-size: 15px; }
.cx-auth .cx-err { background: #fdf4f5; color: #9f1239; font-weight: 500; font-size: 12.5px; border: 1px solid #fbe1e5; }
.cx-auth .cx-label { font-weight: 600; color: #3f3a3c; }

/* Bayar online (DOKU) di halaman pesanan */
.cx-bayar { margin-top: 12px; }
.cx-bayar-ket { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.45; }
.cx-manual { margin-top: 14px; border-top: 1px dashed rgba(0, 0, 0, .12); padding-top: 10px; }
.cx-manual > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); list-style: none; text-align: center; padding: 6px 0; }
.cx-manual > summary::-webkit-details-marker { display: none; }
.cx-manual > summary::after { content: ' ▾'; }
.cx-manual[open] > summary::after { content: ' ▴'; }
