/* ---------- Design tokens ---------- */
:root {
  --bg: #ece8e0;
  --surface: #f8f6f1;
  --surface-2: #efebe3;
  --card: #ffffff;
  --ink: #16161b;
  --ink-2: #3b3b45;
  --muted: #74737d;
  --line: #e4dfd5;
  --line-strong: #d3ccbe;
  --gold: #b48c4c;
  --gold-strong: #8c6a31;
  --gold-light: #e7cb94;
  --gold-soft: #f5eddf;
  --green: #17784c;
  --green-soft: #e4f3ea;
  --red: #c23b3b;
  --red-soft: #fbe9e9;
  --amber: #9c5f06;
  --amber-soft: #fbefd9;
  --whatsapp: #1fa855;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(22, 22, 27, 0.05);
  --shadow: 0 1px 2px rgba(22, 22, 27, 0.04), 0 10px 30px -12px rgba(22, 22, 27, 0.16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--card);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 15px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.15s var(--ease), background-color 0.15s, box-shadow 0.15s, opacity 0.15s;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.chip:focus-visible,
.ac-row:focus-visible {
  outline: 3px solid rgba(180, 140, 76, 0.45);
  outline-offset: 2px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  box-shadow: 0 10px 24px -12px rgba(22, 22, 27, 0.6);
}

.btn-primary:hover {
  --btn-bg: #24242b;
}

.btn-ghost {
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
}

.btn-whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-fg: #fff;
}

.btn-danger {
  --btn-fg: var(--red);
  border-color: #efcaca;
}

.btn-block {
  width: 100%;
}

.btn-wrap {
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn-lg {
  min-height: 58px;
  font-size: 16px;
  border-radius: 17px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}

.btn .progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(255, 255, 255, 0.14);
  transition: width 0.2s linear;
}

.btn > span {
  position: relative;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  flex: none;
  transition: transform 0.15s var(--ease);
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn svg,
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Form fields ---------- */
.field {
  margin-bottom: 18px;
}

.field > label,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 650;
  font-size: 14px;
  color: var(--ink);
}

.req {
  color: var(--gold-strong);
}

.input,
.field :where(input:not([type="checkbox"], [type="radio"], [type="file"])),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a6ad;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(180, 140, 76, 0.2);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea,
.field.invalid .drop {
  border-color: var(--red);
}

.select {
  position: relative;
}

.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select select {
  padding-right: 44px;
}

.select select:invalid {
  color: #a8a6ad;
}

.hint {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.err {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.err:empty {
  display: none;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ---------- Badges & chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pill-gold {
  background: rgba(231, 203, 148, 0.14);
  color: var(--gold-light);
  border: 1px solid rgba(231, 203, 148, 0.28);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-pending {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge-verified {
  background: var(--green-soft);
  color: var(--green);
}

.badge-rejected {
  background: var(--red-soft);
  color: var(--red);
}

.badge-muted {
  background: var(--surface-2);
  color: var(--ink-2);
}

.badge-dark {
  background: var(--ink);
  color: #fff;
}

.bank-badge {
  --badge-bg: var(--ink);
  --badge-fg: #fff;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: none;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 100;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: var(--red);
}

/* =========================================================
   Order page
   ========================================================= */
.shell {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

@media (min-width: 560px) {
  body.order-page {
    padding: 28px 0;
    background:
      radial-gradient(900px 500px at 10% -10%, rgba(180, 140, 76, 0.16), transparent 60%),
      radial-gradient(700px 500px at 110% 110%, rgba(22, 22, 27, 0.12), transparent 60%),
      var(--bg);
  }

  .shell {
    min-height: calc(100dvh - 56px);
    border-radius: 34px;
    box-shadow: 0 40px 80px -40px rgba(22, 22, 27, 0.45), 0 0 0 1px rgba(22, 22, 27, 0.04);
    overflow: clip;
  }
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: screen-in 0.45s var(--ease);
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- Welcome ---------- */
.hero {
  position: relative;
  padding: 22px 22px 26px;
  color: #fff;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(180, 140, 76, 0.28), transparent 60%),
    linear-gradient(170deg, #1d1c22 0%, #111115 70%);
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-art {
  width: 180px;
  margin: 14px auto 6px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  animation: float-in 0.9s var(--ease);
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
}

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.display em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-sub {
  margin-top: 12px;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

/* Pair-deal coupon */
.offer {
  position: relative;
  display: flex;
  margin-top: 22px;
  border-radius: 20px;
  background: linear-gradient(130deg, #f7e5bf 0%, #e0bf80 45%, #bd9250 100%);
  color: #1d1408;
  box-shadow: 0 22px 44px -22px rgba(224, 191, 128, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  animation: offer-in 0.7s 0.2s var(--ease) both;
}

@keyframes offer-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}

.offer-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 5s 1.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.offer-body {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 16px 16px 16px 18px;
}

.offer-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 20, 8, 0.88);
  color: #f3dcab;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-price {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.offer-price span {
  white-space: nowrap;
}

.offer-sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(29, 20, 8, 0.72);
}

.offer-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  padding: 12px 6px;
  border-left: 2px dashed rgba(29, 20, 8, 0.28);
  text-align: center;
  flex: none;
}

.offer-stub::before,
.offer-stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #141418;
}

.offer-stub::before {
  top: -10px;
}

.offer-stub::after {
  bottom: -10px;
}

.offer-stub small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-stub b {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.price-row {
  margin-top: 20px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
}

.price-main .cur,
.price-main small {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.price-main .amt {
  font-size: 32px;
  letter-spacing: -0.02em;
}

.welcome-body {
  padding: 22px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: #5f4720;
  font-size: 14px;
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.info {
  padding: 14px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.info .ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 11px;
  background: var(--surface-2);
}

.info .ico svg {
  width: 18px;
  height: 18px;
}

.info b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info span {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.countdown small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
}

.countdown b {
  font-size: 15px;
}

.timer {
  display: flex;
  gap: 6px;
}

.timer span {
  min-width: 46px;
  padding: 6px 6px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.timer span small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.how {
  position: relative;
  margin: 0;
  padding: 8px 18px;
  list-style: none;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  counter-reset: how;
}

.how li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 0 12px 46px;
  counter-increment: how;
}

.how li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-weight: 800;
  font-size: 14px;
  z-index: 1;
}

.how li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: calc(50% + 16px);
  height: calc(100% - 32px);
  border-left: 2px dashed var(--line-strong);
}

.how b {
  font-size: 14.5px;
}

.how span {
  font-size: 13px;
  color: var(--muted);
}

.closed-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}

.closed-card h3 {
  font-size: 17px;
}

.closed-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.closed-card .btn {
  margin-top: 14px;
}

.page-foot {
  padding: 0 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.page-foot a {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Journey ---------- */
.wiz-head {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 14px 18px 12px;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.wiz-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wiz-meta {
  flex: 1;
  min-width: 0;
}

.wiz-meta small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.wiz-meta h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wiz-meta h2:focus {
  outline: none;
}

.progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-top: 14px;
}

.progress span {
  position: relative;
  height: 5px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.progress span.on::after {
  transform: scaleX(1);
}

#order-form {
  flex: 1;
  padding: 10px 20px 24px;
}

.step {
  animation: step-in 0.4s var(--ease);
}

.step.back {
  animation-name: step-in-back;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
}

@keyframes step-in-back {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
}

.step-intro {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.section-title {
  margin: 22px 2px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.shake {
  animation: shake 0.4s;
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-5px);
  }
  40%,
  80% {
    transform: translateX(5px);
  }
}

.deal-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border-radius: 16px;
  background: linear-gradient(130deg, #f7e5bf, #e3c487);
  color: #3b2a0c;
  font-size: 14px;
  box-shadow: 0 14px 30px -20px rgba(189, 146, 80, 0.9);
}

.deal-banner-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(29, 20, 8, 0.88);
  font-size: 17px;
  flex: none;
}

/* Option cards (ties, plan, method, bank) */
.options {
  display: grid;
  gap: 12px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease), opacity 0.15s;
}

.option-card:active {
  transform: scale(0.99);
}

.option-card:focus-within {
  outline: 3px solid rgba(180, 140, 76, 0.35);
  outline-offset: 2px;
}

.option-card.featured {
  border-color: #dcc08b;
  background: linear-gradient(180deg, #fffaf0, #fff 70%);
}

.option-card.is-checked {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 22, 27, 0.07), 0 12px 28px -18px rgba(22, 22, 27, 0.45);
}

.option-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--surface);
}

.oc-art {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(160deg, #26252c, #111115);
  flex: none;
}

.oc-art svg {
  width: 26px;
  height: 26px;
}

.oc-text {
  flex: 1;
  min-width: 0;
}

.oc-text b {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.oc-text small {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.oc-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 800;
  font-size: 15.5px;
  white-space: nowrap;
}

.oc-price s {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.oc-ribbon {
  position: absolute;
  top: -11px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, #ecd3a1, #c09a5b);
  color: #1b1408;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px -8px rgba(140, 106, 49, 0.9);
}

.oc-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  flex: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.option-card.is-checked .oc-check {
  border-color: var(--ink);
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.options.compact .option-card {
  padding: 12px 14px;
}

.more-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px 12px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700;
  animation: screen-in 0.3s var(--ease);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.12s var(--ease), opacity 0.15s;
}

.stepper button:active {
  transform: scale(0.9);
}

.stepper button[disabled] {
  opacity: 0.4;
}

.stepper output {
  min-width: 30px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.summary {
  margin: 18px 0 0;
  padding: 6px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  font-size: 14px;
}

.summary div + div {
  border-top: 1px dashed var(--line);
}

.summary dt {
  color: var(--muted);
}

.summary dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.summary .strong dt,
.summary .strong dd {
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
}

.summary .saving dd {
  color: var(--green);
}

/* Step 5: pay */
.amount-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  padding: 18px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(180, 140, 76, 0.35), transparent 55%),
    linear-gradient(160deg, #1f1e24, #111115);
}

.amount-card small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.amount-card b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.amount-card .btn {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.pay-view {
  animation: screen-in 0.3s var(--ease);
}

.account-card {
  margin-top: 14px;
  padding: 6px 16px 8px;
  border-radius: 20px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 0 16px 34px -24px rgba(22, 22, 27, 0.6);
  animation: screen-in 0.3s var(--ease);
}

.ac-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px dashed var(--line);
}

.ac-head b {
  display: block;
  font-size: 15.5px;
}

.ac-head small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.ac-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: none;
  text-align: left;
}

.ac-row + .ac-row {
  border-top: 1px dashed var(--line);
}

.ac-row-text {
  flex: 1;
  min-width: 0;
}

.ac-row small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ac-row b {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
  word-break: break-word;
}

.ac-row b.mono {
  font-size: 21px;
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
  transition: background-color 0.15s;
}

.ac-row.copied .copy-chip {
  background: var(--green);
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}

.qr-frame {
  position: relative;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(22, 22, 27, 0.5);
}

.qr-frame img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  image-rendering: pixelated;
}

.qr-frame::before,
.qr-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--gold);
}

.qr-frame::before {
  top: -4px;
  left: -4px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 10px 0 0 0;
}

.qr-frame::after {
  right: -4px;
  bottom: -4px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 10px 0;
}

.qr-wrap p {
  font-size: 14px;
  color: var(--ink-2);
}

.qr-wrap .hint {
  margin: 0;
}

.handover-card {
  margin-top: 14px;
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}

.hc-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green);
}

.hc-icon svg {
  width: 30px;
  height: 30px;
}

.handover-card h3 {
  font-size: 19px;
  font-weight: 800;
}

.handover-card > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface);
  text-align: left;
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 15px;
  flex: none;
}

.cp-text b {
  display: block;
  font-size: 15px;
}

.cp-text small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.ref-note,
.handover-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: #5f4720;
  font-size: 13.5px;
}

.ref-note b,
.handover-note b {
  font-weight: 800;
}

/* Step 6: slip */
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 18px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.drop:hover,
.drop.dragover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.drop .drop-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.drop .drop-ico svg {
  width: 24px;
  height: 24px;
}

.drop b {
  font-size: 15px;
}

.drop small {
  font-size: 13px;
  color: var(--muted);
}

.file-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1.5px solid var(--green);
  box-shadow: 0 0 0 3px rgba(23, 120, 76, 0.08);
}

.file-thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--surface-2);
  overflow: hidden;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
}

.file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-meta {
  flex: 1;
  min-width: 0;
}

.file-meta b {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 700;
}

.processing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.review {
  margin-top: 8px;
}

.form-error {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

.wiz-foot {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
}

.foot-amount small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.foot-amount b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wiz-foot .btn {
  flex: 1;
}

/* ---------- Done ---------- */
.screen-done {
  padding: 36px 22px 28px;
  text-align: center;
}

.done-badge {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-soft);
  animation: pop 0.5s var(--ease);
}

.done-badge svg {
  width: 52px;
  height: 52px;
}

.done-badge path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw 0.5s 0.25s var(--ease) forwards;
}

@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.screen-done h2 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.screen-done > p {
  max-width: 340px;
  margin: 6px auto 0;
  color: var(--muted);
}

.order-code {
  display: inline-block;
  margin: 14px auto 0;
  padding: 10px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.screen-done .summary {
  text-align: left;
}

.timeline {
  margin: 20px 0 0;
  padding: 6px 18px;
  list-style: none;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
}

.timeline li {
  position: relative;
  padding: 12px 0 12px 40px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
  z-index: 1;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 37px;
  bottom: -13px;
  width: 2px;
  background: var(--line);
}

.timeline li.done::before {
  border-color: var(--green);
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

.timeline li.done::after {
  background: var(--green);
}

.timeline li.current::before {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 0 5px, var(--card) 6px);
  box-shadow: 0 0 0 4px rgba(180, 140, 76, 0.2);
}

.timeline b {
  display: block;
  font-size: 14.5px;
}

.timeline span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.done-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  top: -16px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  animation: confetti-fall var(--dur, 2.6s) var(--delay, 0s) cubic-bezier(0.25, 0.6, 0.45, 1) forwards;
}

@keyframes confetti-fall {
  to {
    transform: translate3d(var(--dx, 0), 110vh, 0) rotate(var(--rot, 540deg));
  }
}

.loading-screen {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  padding: 80px 20px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .confetti {
    display: none;
  }
}
