  :root {
    /* Cream base — consulting.com inspired */
    --bg: #F6F1E9;           /* warm cream */
    --bg-2: #FBF7F0;         /* lighter cream */
    --bg-3: #EFE8DD;         /* card */
    --bg-dark: #1A1614;      /* deep warm black */
    --bg-dark-2: #221E1A;
    --line: rgba(26,22,20,0.10);
    --line-2: rgba(26,22,20,0.18);
    --text: #1A1614;         /* warm near-black */
    --text-2: #5C544C;       /* warm muted */
    --text-3: #8B8278;       /* warm light */
    --accent: #eb1696;       /* pastel pink — bright */
    --accent-2: #FFB3D1;     /* softer pink */
    --accent-soft: #FFF0F5;  /* pink wash */
    --warn: #E85D3C;
    --green: #5BAA73;
    --radius: 16px;
    --maxw: 1180px;
    --pad: clamp(20px, 4vw, 64px);
  }
  /* Grain texture overlay — applied via body::before */
  body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }
  /* Soft warm gradient wash */
  body { background: var(--bg); position: relative; }
  body::after {
    content: '';
    position: fixed; inset: 0;
    z-index: -1;
    background:
      radial-gradient(1200px 700px at 80% -10%, rgba(255,179,209,0.25), transparent 60%),
      radial-gradient(900px 600px at 0% 30%, rgba(255,200,160,0.18), transparent 55%),
      linear-gradient(180deg, #FAF5EC 0%, #F2EBDF 60%, #EDE3D2 100%);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; min-height: 100%; }
  body { min-height: 100vh; }
  a { color: inherit; text-decoration: none; }
  .mono { font-family: 'Space Grotesk', monospace; }

  /* Top bar */
  .topbar { padding: 16px var(--pad); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; background: rgba(246,241,233,0.9); backdrop-filter: blur(14px); }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
  .brand .logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--bg-dark); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
  .brand span { color: var(--text-3); font-weight: 500; }
  .back { margin-left: auto; font-size: 13.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
  .back:hover { color: var(--text); }
  .secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
  .secure svg { color: var(--green); }

  .wrap { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad); }

  /* Stepper */
  .stepper { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
  .step { display: inline-flex; align-items: center; gap: 10px; }
  .step .num {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--bg-3); border: 1px solid var(--line);
    display: grid; place-items: center;
    font-family: 'Space Grotesk'; font-weight: 600; font-size: 13px;
    color: var(--text-3);
    transition: all .25s;
  }
  .step .lbl { font-size: 13.5px; color: var(--text-3); font-weight: 500; }
  .step.active .num { background: var(--accent); color: var(--bg-dark); border-color: var(--accent); }
  .step.active .lbl { color: var(--text); font-weight: 600; }
  .step.done .num { background: var(--accent); color: var(--bg-dark); border-color: var(--accent); }
  .step.done .lbl { color: var(--text-2); }
  .step-bar { width: 56px; height: 1px; background: var(--line); }
  .step-bar.filled { background: var(--accent); }

  h1.title { font-size: clamp(28px, 3.8vw, 42px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 10px; text-wrap: balance; }
  h1.title em { color: var(--accent); font-style: italic; font-weight: 500; }
  .subtitle { color: var(--text-2); font-size: 16px; margin-bottom: 32px; max-width: 520px; }

  .layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
  @media (max-width: 880px) { .layout { grid-template-columns: 1fr; } }

  .panel {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 18px; padding: 32px;
  }
  @media (max-width: 540px) { .panel { padding: 24px 20px; } }

  /* Form */
  .form-grid { display: grid; gap: 18px; }
  label.field { display: block; }
  label.field .lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
  label.field .lbl .req { color: var(--accent); }
  label.field .hint { display: block; font-size: 12px; color: var(--text-3); margin-top: 6px; }
  input.input, select.input, textarea.input {
    width: 100%;
    padding: 13px 14px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: 14.5px; font-family: inherit;
    transition: border-color .15s, background .15s;
  }
  input.input:focus, select.input:focus, textarea.input:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
  input.input::placeholder { color: var(--text-3); }
  select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236E7170' stroke-width='2'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 540px) { .row-2 { grid-template-columns: 1fr; } }

  .checkbox-row { display: flex; align-items: start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
  .checkbox-row:hover { background: var(--bg-3); }
  .checkbox-row input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; width: 16px; height: 16px; }
  .checkbox-row .ct { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
  .checkbox-row .ct b { color: var(--text); font-weight: 600; }

  /* Buttons */
  .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 24px; width: 100%;
    background: var(--accent); color: var(--bg-dark);
    font-weight: 700; font-size: 15px;
    border-radius: 12px; border: none; cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
    font-family: inherit;
  }
  .btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(235,22,150,0.3); }
  .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
  .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px;
    background: transparent; color: var(--text-2);
    border: 1px solid var(--line);
    border-radius: 12px; cursor: pointer;
    font-size: 14px; font-family: inherit;
  }
  .btn-secondary:hover { background: var(--bg-3); color: var(--text); }
  .actions { margin-top: 20px; display: flex; gap: 12px; }

  /* Right summary */
  .summary {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 18px; padding: 28px;
    position: sticky; top: 88px;
  }
  .summary h3 { font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
  .product-card {
    padding: 18px; background: var(--bg-3); border: 1px solid var(--line);
    border-radius: 12px;
  }
  .product-card .nm { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; }
  .product-card .meta { font-size: 12.5px; color: var(--text-3); margin-bottom: 12px; }
  .product-card ul { list-style: none; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
  .product-card li { display: flex; gap: 8px; font-size: 13px; color: var(--text-2); }
  .product-card li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
  .price-rows { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
  .pr-row { display: flex; justify-content: space-between; font-size: 14px; }
  .pr-row.muted { color: var(--text-3); }
  .pr-row.muted s { color: var(--text-3); }
  .pr-row.discount { color: var(--green); }
  .total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 12px; border-top: 1px dashed var(--line); }
  .total-row .lbl { font-weight: 600; font-size: 15px; }
  .total-row .val { font-family: 'Space Grotesk'; font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--accent); }
  .summary .save-pill { display: inline-block; padding: 4px 10px; border-radius: 6px; background: rgba(74,222,128,0.12); color: var(--green); font-size: 12px; font-weight: 600; margin-top: 10px; }

  /* Step 2 — QR + bank info layout (vertical: QR top, info below) */
  .qr-layout {
    display: flex; flex-direction: column;
    align-items: center; gap: 24px;
  }
  .qr-layout .qr-card {
    max-width: 260px; width: 100%;
  }

  /* Flat bank info (replaces stacked .bank-row boxes) */
  .bank-info-flat {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .bank-info-flat .b-line {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .bank-info-flat .b-line:last-child { border-bottom: none; }
  .bank-info-flat .b-line .l {
    font-size: 12px; color: var(--text-3);
    letter-spacing: 0.02em;
  }
  .bank-info-flat .b-line .v {
    font-size: 14.5px; font-weight: 600; color: var(--text);
    word-break: break-word;
    line-height: 1.4;
  }
  .bank-info-flat .b-line .v.mono { font-family: 'Space Grotesk'; font-weight: 700; letter-spacing: 0.005em; }
  .bank-info-flat .b-amount .v { color: var(--accent); font-size: 17px; }
  .bank-info-flat .b-content .v { color: var(--text); font-size: 13.5px; font-weight: 500; }
  .copy-btn-mini {
    width: 30px; height: 30px;
    background: var(--bg-2); border: 1px solid var(--line-2);
    border-radius: 7px;
    display: grid; place-items: center;
    cursor: pointer;
    color: var(--text-2);
    transition: background .15s, color .15s, border-color .15s;
  }
  .copy-btn-mini:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .copy-btn-mini.copied { background: var(--green); color: #fff; border-color: var(--green); }
  @media (max-width: 540px) {
    .bank-info-flat .b-line { grid-template-columns: 110px 1fr auto; gap: 8px; padding: 10px 12px; }
    .bank-info-flat .b-line .l { font-size: 11px; }
    .bank-info-flat .b-line .v { font-size: 13.5px; }
    .bank-info-flat .b-content .v { font-size: 12.5px; }
  }
  .qr-card {
    background: #fff; padding: 18px; border-radius: 14px; text-align: center;
  }
  .qr-svg { width: 100%; height: auto; aspect-ratio: 1; }
  .qr-card .bank-mark { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; color: #1A1815; font-size: 12px; font-weight: 600; }
  .qr-card .bank-mark .mb { background: #00b14f; color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }

  .bank-info { display: grid; gap: 14px; }
  .bank-row {
    padding: 14px 16px;
    background: var(--bg-3); border: 1px solid var(--line);
    border-radius: 10px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
  }
  .bank-row .l { font-size: 12px; color: var(--text-3); margin-bottom: 4px; letter-spacing: 0.02em; }
  .bank-row .v { font-weight: 600; font-size: 15px; word-break: break-all; }
  .bank-row .v.mono { font-family: 'Space Grotesk'; }
  .copy-btn {
    flex-shrink: 0;
    padding: 7px 12px; border-radius: 8px;
    background: var(--bg-2); border: 1px solid var(--line-2);
    color: var(--text); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: background .15s; font-family: inherit;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .copy-btn:hover { background: var(--bg); border-color: var(--accent); color: var(--accent); }
  .copy-btn.copied { background: rgba(74,222,128,0.12); color: var(--green); border-color: var(--green); }

  .info-box {
    margin-top: 24px; padding: 18px;
    background: rgba(235,22,150,0.05);
    border: 1px solid rgba(235,22,150,0.2);
    border-radius: 12px;
  }
  .info-box .ti { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
  .info-box svg { color: var(--accent); }
  .info-box p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
  .info-box ol { margin-top: 8px; padding-left: 20px; color: var(--text-2); font-size: 13.5px; line-height: 1.6; }

  /* Confirm step */
  .confirm-hero {
    text-align: center;
    padding: 24px 0 32px;
  }
  .check-anim {
    width: 88px; height: 88px; border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(74,222,128,0.12);
    border: 2px solid var(--green);
    display: grid; place-items: center;
    animation: pop .5s cubic-bezier(.34,1.56,.64,1);
  }
  @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
  .check-anim svg { color: var(--green); animation: draw .6s .25s ease forwards; stroke-dasharray: 30; stroke-dashoffset: 30; }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  .next-steps {
    display: grid; gap: 12px; margin-top: 28px;
  }
  .step-row {
    display: grid; grid-template-columns: 36px 1fr; gap: 16px;
    padding: 16px 18px;
    background: var(--bg-3); border: 1px solid var(--line);
    border-radius: 12px;
  }
  .step-row .n { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: 'Space Grotesk'; font-weight: 600; color: var(--accent); font-size: 13px; }
  .step-row h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
  .step-row p { font-size: 13px; color: var(--text-3); line-height: 1.5; }

  /* FAQ on confirm page bottom */
  .faq { margin-top: 64px; }
  .faq h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
  .faq-item {
    border: 1px solid var(--line); border-radius: 12px;
    margin-bottom: 10px; overflow: hidden;
    transition: border-color .15s;
  }
  .faq-item[open] { border-color: var(--line-2); }
  .faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: '+'; font-size: 22px; color: var(--text-3); transition: transform .2s; line-height: 1; }
  .faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
  .faq-item .body { padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

  .step-content { display: none; }
  .step-content.active { display: block; animation: fade .3s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  .err { color: var(--warn); font-size: 12.5px; margin-top: 6px; display: none; }
  label.field.error input.input, label.field.error select.input { border-color: var(--warn); }
  label.field.error .err { display: block; }

  /* Receipt summary on step 3 */
  .receipt {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px;
    margin-top: 24px;
  }
  .receipt h4 { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
  .receipt-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
  .receipt-row .l { color: var(--text-3); }
  .receipt-row .v { color: var(--text); font-weight: 500; }
  .receipt-row .v.mono { font-family: 'Space Grotesk'; }

  .countdown-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(235,22,150,0.08); border: 1px solid rgba(235,22,150,0.25);
    color: var(--accent); font-size: 12.5px; font-weight: 600;
    margin-bottom: 24px;
  }
  .countdown-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

  /* ====== Zalo confirmation block ====== */
  .zalo-box {
    margin-top: 22px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(235,22,150,0.06), rgba(80,120,200,0.04));
    border: 1px solid rgba(235,22,150,0.30);
    border-radius: 14px;
  }
  .zalo-label {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent);
    padding: 4px 10px;
    background: rgba(235,22,150,0.10);
    border: 1px solid rgba(235,22,150,0.30);
    border-radius: 999px;
    margin-bottom: 12px;
  }
  .zalo-h {
    font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
  .zalo-p {
    font-size: 13.5px; color: var(--text-2); line-height: 1.65;
    margin-bottom: 18px; max-width: 580px;
  }
  /* Zalo contact card — looks like Zalo's profile preview */
  .zalo-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0068FF, #1f7aff);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,104,255,0.30);
    transition: transform .2s, box-shadow .2s;
  }
  .zalo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,104,255,0.40);
  }
  .zalo-card .z-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.50);
    background: #fff;
  }
  .zalo-card .z-name { font-weight: 700; font-size: 16px; color: #fff; }
  .zalo-card .z-phone {
    font-family: 'Space Grotesk';
    font-weight: 700; font-size: 18px;
    color: #fff;
    margin-top: 2px;
    letter-spacing: 0.02em;
  }
  .zalo-card .z-cta {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.40);
    border-radius: 999px;
    font-weight: 700; font-size: 13.5px;
    color: #fff;
    flex-shrink: 0;
  }
  .zalo-copy {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    background: var(--bg-3); border: 1px solid var(--line-2);
    border-radius: 10px;
    color: var(--text-2); font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: background .15s, color .15s, border-color .15s;
  }
  .zalo-copy:hover { background: var(--bg); color: var(--accent); border-color: var(--accent); }
  .zalo-copy.copied { background: rgba(91,170,115,0.12); color: var(--green); border-color: var(--green); }
  @media (max-width: 540px) {
    .zalo-card { grid-template-columns: 48px 1fr; gap: 12px; padding: 12px 14px; }
    .zalo-card .z-avatar { width: 48px; height: 48px; }
    .zalo-card .z-cta {
      grid-column: 1 / -1;
      justify-content: center;
      margin-top: 4px;
    }
    .zalo-card .z-phone { font-size: 16px; }
  }
