/* Confirm payment (bKash / Nagad / upay / Rocket) — pixel-matched to the design mock-up.
   Every size is a mock-up pixel (mock width 1024) scaled by --u. v1 */
.pm-card {
  --u: calc(min(100vw, 480px) / 1024);
  --pm-ink: #0c1e3d;
  --pm-navy: #0f2a76;
  --pm-mute: #6b778f;
  box-sizing: border-box;
  width: calc(902 * var(--u));
  margin: calc(38 * var(--u)) auto calc(60 * var(--u));
  padding: calc(24 * var(--u)) calc(24 * var(--u)) calc(27 * var(--u));
  background: #fff;
  border: calc(2 * var(--u)) solid #eceef2;
  border-radius: calc(26 * var(--u));
  box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(40, 60, 120, 0.04);
  font-family:"Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color: var(--pm-ink);
}
.brv:has(.pm-card) { background: #f7f9fb; }
body.brv-on:has(.pm-card) { background: #f7f9fb; }
.pm-card * { box-sizing: border-box; }

/* head */
.pm-head { display: flex; align-items: center; margin-left: calc(7 * var(--u)); }
.pm-tile { flex: none; width: calc(114 * var(--u)); height: calc(102 * var(--u)); border-radius: calc(16 * var(--u)); overflow: hidden; display: block; background: #fff; }
.pm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-ht { margin-left: calc(30 * var(--u)); min-width: 0; }
.pm-ht h2 { margin: 0; font-size: calc(42 * var(--u)); line-height: calc(54 * var(--u)); font-weight: 700; letter-spacing: calc(-0.4 * var(--u)); color: var(--pm-ink); white-space: nowrap; }
.pm-ht p { margin: calc(0 * var(--u)) 0 0; font-size: max(12px, calc(26.5 * var(--u))); line-height: calc(40 * var(--u)); font-weight: 400; color: var(--pm-mute); }

/* steps */
.pm-steps { list-style: none; margin: calc(22 * var(--u)) 0 0; padding: calc(22.5 * var(--u)) calc(31 * var(--u)) calc(26.5 * var(--u)); background: #f5f8fd; border-radius: calc(18 * var(--u)); }
.pm-steps li { display: flex; align-items: flex-start; margin: 0 0 calc(23.5 * var(--u)); }
.pm-steps li:last-child { margin-bottom: 0; }
.pm-steps i { flex: none; width: calc(58 * var(--u)); height: calc(58 * var(--u)); margin: calc(-8.5 * var(--u)) calc(33 * var(--u)) 0 0; border-radius: 50%; background: #dbe6fa; color: #0c2a7a; display: grid; place-items: center; font-style: normal; font-size: max(12px, calc(27 * var(--u))); font-weight: 700; line-height: 1; }
.pm-steps p { margin: 0; flex: 1; min-width: 0; font-size: max(12px, calc(26.3 * var(--u))); line-height: calc(37 * var(--u)); font-weight: 400; color: #4b5873; }
.pm-steps p b { font-weight: 700; color: var(--pm-ink); }

/* icons (masked so they take the text colour and are never swapped by the icon library) */
.pm-ic { flex: none; display: block; background-color: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.pm-ic-copy { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='3'/%3E%3Cpath d='M5.5 15A2.5 2.5 0 0 1 3 12.5v-7A2.5 2.5 0 0 1 5.5 3h7A2.5 2.5 0 0 1 15 5.5'/%3E%3C/svg%3E"); width: calc(45 * var(--u)); height: calc(45 * var(--u)); }
.pm-ic-phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); width: calc(46 * var(--u)); height: calc(46 * var(--u)); }
.pm-ic-doc { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E"); width: calc(58 * var(--u)); height: calc(54 * var(--u)); }
.pm-ic-check { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); width: calc(41 * var(--u)); height: calc(41 * var(--u)); }

/* copy button */
.pm-copy { display: flex; align-items: center; justify-content: center; width: 100%; height: calc(83.5 * var(--u)); margin: calc(19 * var(--u)) 0 0; padding: 0; border: calc(1.5 * var(--u)) solid #bcd0f2; border-radius: calc(16 * var(--u)); background: #f4f8fe; color: var(--pm-navy); font: 700 max(14px, calc(25 * var(--u)))/1 "Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; letter-spacing: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pm-copy:active { background: #e9f1fd; }
.pm-div { flex: none; width: calc(1.5 * var(--u)); height: calc(34 * var(--u)); margin: 0 calc(26 * var(--u)); background: #cddaf1; }
.pm-copy .pm-ic { color: #0c2a7a; }
.pm-copy > span:last-child { color: #0c1e5a; }

/* fields */
.pm-lab { display: block; margin: calc(25 * var(--u)) 0 0; font-size: max(12px, calc(26 * var(--u))); line-height: calc(36 * var(--u)); font-weight: 700; color: var(--pm-ink); }
.pm-lab em { font-style: normal; color: #e0224a; margin-left: calc(2 * var(--u)); }
.pm-lab + .pm-in { margin-top: calc(10.5 * var(--u)); }
.pm-err + .pm-lab, .pm-in + .pm-lab { margin-top: calc(24 * var(--u)); }
.pm-in { display: flex; align-items: center; height: calc(83.5 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(26 * var(--u)); border: calc(1.5 * var(--u)) solid #d3d8e1; border-radius: calc(16 * var(--u)); background: #fff; color: #6f788b; }
.pm-in:focus-within { border-color: #2a56d8; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(42, 86, 216, 0.14); }
.pm-in.is-err { border-color: #d63a3a; }
.pm-in .pm-ic { margin-right: calc(27 * var(--u)); margin-left: calc(-2 * var(--u)); }
.pm-in .pm-ic-doc { margin-right: calc(23 * var(--u)); margin-left: calc(-4 * var(--u)); }
.pm-in input { flex: 1; min-width: 0; height: 100%; padding: 0; margin: 0; border: 0; outline: 0; background: transparent; box-shadow: none; font: 400 max(12px, calc(27.2 * var(--u)))/1.2 "Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color: var(--pm-ink); }
.pm-in input::placeholder { color: #8d95a7; opacity: 1; }
.pm-in input:not([data-touched]) { color: #8d95a7; }
.pm-err { margin: calc(8 * var(--u)) 0 0 calc(4 * var(--u)); font-size: max(12px, calc(23 * var(--u))); line-height: 1.3; color: #d63a3a; }

/* submit */
.pm-submit { display: flex; align-items: center; justify-content: center; width: 100%; height: calc(83.5 * var(--u)); margin: calc(35 * var(--u)) 0 0; padding: 0; border: 0; border-radius: calc(16 * var(--u)); background: var(--pm-navy); color: #fff; font: 700 max(14px, calc(25.8 * var(--u)))/1 "Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pm-submit .pm-ic { margin-right: calc(20 * var(--u)); }
.pm-submit:disabled { opacity: 0.7; cursor: default; }
.pm-submit .brv-spin { margin-right: calc(18 * var(--u)); }
@media (min-width: 1024px) { .pm-card { margin-top: 24px; } }

/* ---- Nagad (red theme, slightly wider card) ---- */
.pm-card.pm-nagad { width: calc(920 * var(--u)); margin-top: calc(35 * var(--u)); --pm-navy: #072b73; }
.pm-nagad .pm-head { margin-left: calc(6 * var(--u)); }
.pm-nagad .pm-tile { width: calc(115 * var(--u)); height: calc(107 * var(--u)); background: #fdedec; }
.pm-nagad .pm-ht { margin-left: calc(31 * var(--u)); }
.pm-nagad .pm-ht p { color: #4b556b; }
.pm-nagad .pm-steps { background: #fef4f4; }
.pm-nagad .pm-steps li { margin-bottom: calc(24 * var(--u)); }
.pm-nagad .pm-lab + .pm-in { margin-top: calc(7 * var(--u)); }
.pm-nagad .pm-lab { margin-top: calc(22 * var(--u)); }
.pm-nagad .pm-in + .pm-lab { margin-top: calc(22 * var(--u)); }
.pm-nagad .pm-steps li:last-child { margin-bottom: 0; }
.pm-nagad .pm-steps i { background: #fddbd8; color: #d10000; }
.pm-nagad .pm-steps p { color: #35415a; }
.pm-nagad .pm-hl { color: #dc0b05; }
.pm-hl { color: var(--pm-ink); }
.pm-nagad .pm-copy { height: calc(85 * var(--u)); background: #fef4f4; border-color: #fbb8b0; color: #d10000; }
.pm-nagad .pm-copy:active { background: #fde8e6; }
.pm-nagad .pm-copy .pm-ic, .pm-nagad .pm-copy > span:last-child { color: #d10000; }
.pm-nagad .pm-div { background: #fd9b92; }
.pm-nagad .pm-in { height: calc(85 * var(--u)); }
.pm-nagad .pm-submit { height: calc(80 * var(--u)); }
.pm-nagad .pm-in:focus-within { border-color: #d10000; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(209, 0, 0, 0.12); }

/* ---- upay (cream/yellow steps, blue accents, wide card) ---- */
.pm-card.pm-upay { width: calc(920 * var(--u)); margin-top: calc(33 * var(--u)); --pm-navy: #0c2c77; }
.pm-upay .pm-head { margin-left: calc(0 * var(--u)); }
.pm-upay .pm-tile { width: calc(121 * var(--u)); height: calc(106 * var(--u)); background: #fdf4e1; }
.pm-upay .pm-ht { margin-left: calc(31 * var(--u)); }
.pm-upay .pm-ht p { color: #4b556b; }
.pm-upay .pm-steps { background: #fdf8f0; }
.pm-upay .pm-steps li { margin-bottom: calc(22 * var(--u)); }
.pm-upay .pm-steps li:last-child { margin-bottom: 0; }
.pm-upay .pm-steps i { background: #feedc1; color: #0c1e5a; }
.pm-upay .pm-steps p { color: #35415a; }
.pm-upay .pm-hl { color: #0a47b8; }
.pm-upay .pm-amt { color: var(--pm-ink); }
.pm-upay .pm-copy { height: calc(83 * var(--u)); background: #f5f9fe; border-color: #a9c8fb; }
.pm-upay .pm-div { background: #9dc1fb; }
.pm-upay .pm-in { height: calc(85 * var(--u)); }
.pm-upay .pm-submit { height: calc(80 * var(--u)); }
.pm-upay .pm-lab + .pm-in { margin-top: calc(7 * var(--u)); }
.pm-upay .pm-lab, .pm-upay .pm-in + .pm-lab { margin-top: calc(22 * var(--u)); }


/* ---- Rocket (purple theme, pixel-matched to mock-up) ---- */
.pm-card.pm-rocket { width: calc(923 * var(--u)); margin-top: calc(35 * var(--u)); --pm-navy: #092c7c; }
.pm-rocket .pm-head { margin-left: calc(0 * var(--u)); }
.pm-rocket .pm-tile { width: calc(123 * var(--u)); height: calc(111 * var(--u)); background: #f1e4fa; border-radius: calc(18 * var(--u)); }
.pm-rocket .pm-ht { margin-left: calc(28 * var(--u)); }
.pm-rocket .pm-ht p { color: #6b7385; }
.pm-rocket .pm-steps { background: #f8f2fd; margin-top: calc(16 * var(--u)); }
.pm-rocket .pm-steps li:last-child { margin-bottom: 0; }
.pm-rocket .pm-steps i { background: #e9d8fc; color: #5601a4; }
.pm-rocket .pm-steps p { color: #4b5368; }
.pm-rocket .pm-hl { color: #5601a4; }
.pm-rocket .pm-amt { color: #5601a4; }
.pm-rocket .pm-steps p b:not(.pm-hl) { color: #0c1e5a; }
.pm-rocket .pm-copy { background: #f9f3fe; border-color: #cca2f9; color: #5601a4; }
.pm-rocket .pm-copy:active { background: #f1e4fb; }
.pm-rocket .pm-copy .pm-ic, .pm-rocket .pm-copy > span:last-child { color: #5601a4; }
.pm-rocket .pm-div { background: #d7b8f8; }
.pm-rocket .pm-in:focus-within { border-color: #5601a4; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(86, 1, 164, 0.14); }
.pm-rocket .pm-steps { padding-top: calc(26 * var(--u)); padding-bottom: calc(27 * var(--u)); }
.pm-rocket .pm-steps li { margin-bottom: calc(29 * var(--u)); }
.pm-rocket .pm-steps li:last-child { margin-bottom: 0; }
.pm-rocket .pm-steps i { width: calc(61 * var(--u)); height: calc(61 * var(--u)); margin-right: calc(30 * var(--u)); }
.pm-rocket .pm-steps { padding-bottom: calc(24 * var(--u)); }
.pm-rocket .pm-steps li { margin-bottom: calc(25 * var(--u)); }
.pm-rocket .pm-steps li:last-child { margin-bottom: 0; }
.pm-rocket .pm-copy { margin-top: calc(16 * var(--u)); }
.pm-rocket .pm-submit { margin-top: calc(40 * var(--u)); }
.pm-card.pm-rocket { padding-bottom: calc(30 * var(--u)); }

/* ---- Bank Transfer (NPSB) — pixel-matched to mock-up ---- */
.pm-ic-bank { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.2 1.8 8.1v1.7h20.4V8.1z'/%3E%3Crect x='3.6' y='10.9' width='3.4' height='7.4' rx='.4'/%3E%3Crect x='10.3' y='10.9' width='3.4' height='7.4' rx='.4'/%3E%3Crect x='17' y='10.9' width='3.4' height='7.4' rx='.4'/%3E%3Crect x='2' y='19.4' width='20' height='2.3' rx='.5'/%3E%3C/svg%3E"); width: calc(62 * var(--u)); height: calc(62 * var(--u)); }
.pm-ic-user { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7.5' r='4.2'/%3E%3Cpath d='M3.6 21v-1.6A5 5 0 0 1 8.6 14.4h6.8a5 5 0 0 1 5 5V21z'/%3E%3C/svg%3E"); width: calc(46 * var(--u)); height: calc(52 * var(--u)); }
.pm-card.pm-bank { width: calc(925 * var(--u)); margin-top: calc(31 * var(--u)); --pm-navy: #0b2b78; padding-bottom: calc(24 * var(--u)); }
.pm-bank .pm-head { margin-left: calc(1 * var(--u)); }
.pm-bank .pm-tile { width: calc(117 * var(--u)); height: calc(110 * var(--u)); background: #e7effe; border-radius: calc(18 * var(--u)); display: grid; place-items: center; color: #1b2b52; }
.pm-bank .pm-ht { margin-left: calc(32 * var(--u)); }
.pm-bank .pm-ht h2 { font-size: calc(43 * var(--u)); }
.pm-bank .pm-ht p { color: #6b7385; font-size: max(12px, calc(27 * var(--u))); }
.pm-bank .pm-steps { background: #f5f8fe; margin-top: calc(22 * var(--u)); }
.pm-bank .pm-steps i { background: #dee9fe; color: #0c2a8a; }
.pm-bank .pm-steps p { color: #4b5873; }
.pm-bank .pm-hl { color: #0c2a8a; }
.pm-bank .pm-in:focus-within { border-color: #2a56d8; }
.pm-bank .pm-lab { margin-top: calc(20 * var(--u)); }
.pm-bank .pm-in + .pm-lab, .pm-bank .pm-err + .pm-lab { margin-top: calc(24 * var(--u)); }
.pm-bank .pm-in { height: calc(85 * var(--u)); }
.pm-bank .pm-submit { height: calc(83 * var(--u)); margin-top: calc(28 * var(--u)); }
.pm-bd { display: flex; align-items: center; margin-top: calc(8 * var(--u)); height: calc(178 * var(--u)); padding: 0 calc(27 * var(--u)) 0 calc(30 * var(--u)); background: #f7f9fd; border: calc(1.5 * var(--u)) solid #eaf0fd; border-radius: calc(18 * var(--u)); }
.pm-bd-l, .pm-bd-v { display: flex; flex-direction: column; font-size: max(12px, calc(26.5 * var(--u))); line-height: calc(45 * var(--u)); }
.pm-bd-l { flex: none; width: calc(236 * var(--u)); color: #6b778f; font-weight: 400; }
.pm-bd-v { flex: 1; min-width: 0; position: relative; margin-left: 0; padding-left: calc(30 * var(--u)); border-left: calc(2 * var(--u)) solid #ced6e8; color: #0c1e3d; font-weight: 700; white-space: nowrap; }
.pm-bd-v b { font-weight: 700; }
.pm-bd-copy { flex: none; display: flex; align-items: center; justify-content: center; width: calc(162 * var(--u)); height: calc(80 * var(--u)); margin-left: calc(10 * var(--u)); padding: 0; border: 0; border-radius: calc(16 * var(--u)); background: #dde8fd; color: #1a49c8; font: 600 max(12px, calc(26 * var(--u)))/1 "Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pm-bd-copy:active { background: #cddcfa; }
.pm-bd-copy .pm-ic-copy { width: calc(40 * var(--u)); height: calc(40 * var(--u)); margin-right: calc(14 * var(--u)); }
.pm-bank .pm-steps { margin-top: calc(17 * var(--u)); padding: calc(19 * var(--u)) calc(31 * var(--u)) calc(19 * var(--u)); }
.pm-bank .pm-steps li { margin-bottom: calc(39 * var(--u)); }
.pm-bank .pm-steps li:last-child { margin-bottom: 0; }
.pm-bank .pm-steps p { line-height: calc(41 * var(--u)); font-size: max(12px, calc(26.8 * var(--u))); }
.pm-bank .pm-steps i { width: calc(62 * var(--u)); height: calc(62 * var(--u)); margin: calc(-10.5 * var(--u)) calc(31 * var(--u)) 0 0; }
.pm-bank .pm-steps { padding-top: calc(30 * var(--u)); padding-bottom: calc(15 * var(--u)); }
.pm-bank .pm-steps li { margin-bottom: calc(29 * var(--u)); }
.pm-bank .pm-steps li:last-child { margin-bottom: 0; }
.pm-card.pm-bank { padding: calc(21 * var(--u)) calc(21 * var(--u)) calc(23 * var(--u)) calc(24 * var(--u)); }
.pm-bank .pm-steps { margin-top: calc(22 * var(--u)); padding-bottom: calc(10 * var(--u)); }
.pm-bank .pm-lab + .pm-in { margin-top: calc(6.5 * var(--u)); }
.pm-bank .pm-in + .pm-lab, .pm-bank .pm-err + .pm-lab { margin-top: calc(19 * var(--u)); }
.pm-bank .pm-submit { margin-top: calc(30 * var(--u)); }
.pm-bank .pm-in + .pm-lab, .pm-bank .pm-err + .pm-lab { margin-top: calc(23 * var(--u)); }
.pm-bank .pm-bd { padding-right: calc(24 * var(--u)); }
.pm-bank .pm-tile .pm-ic-bank { width: calc(70 * var(--u)); height: calc(70 * var(--u)); color: #2b3a5e; }
.pm-bank .pm-ic-user { width: calc(52 * var(--u)); height: calc(58 * var(--u)); margin-left: calc(-6 * var(--u)); }

/* ---- "Need help?" floating button (manual wallet payment pages only) ---- */
.pm-ic-help { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); width: 20px; height: 20px; }
.pm-help { position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: #0f2a76; color: #fff !important; font: 700 14px/1 "Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; text-decoration: none !important; box-shadow: 0 6px 18px rgba(15, 42, 118, 0.28); -webkit-tap-highlight-color: transparent; }
.pm-help:active { transform: scale(0.97); }
.pm-help .pm-ic { color: #fff; }
.pm-rocket ~ .pm-help, .pm-rocket .pm-help { background: #5601a4; box-shadow: 0 6px 18px rgba(86, 1, 164, 0.28); }
.pm-nagad .pm-help { background: #d10000; box-shadow: 0 6px 18px rgba(209, 0, 0, 0.26); }
@media (min-width: 1024px) { .pm-help { right: 28px; bottom: 28px; } }

/* ---- Need help? bottom sheet ---- */
.pm-ic-headset { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 16a2 2 0 0 1-2 2h-1v-6h1a2 2 0 0 1 2 2zM3 16a2 2 0 0 0 2 2h1v-6H5a2 2 0 0 0-2 2z'/%3E%3Cpath d='M19 18v1a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); width: 22px; height: 22px; }
.pm-ic-close { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); width: 22px; height: 22px; }
.pm-ic-chev { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E"); width: 22px; height: 22px; }
.pm-ic-mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); width: 22px; height: 22px; }
.pm-ic-msgr { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3C6.9 3 3 6.8 3 11.6c0 2.6 1.2 4.9 3.1 6.4V21l2.9-1.6c.9.3 1.9.4 3 .4 5.1 0 9-3.8 9-8.6S17.1 3 12 3z'/%3E%3Cpath d='m7 13.6 3.4-3.6 2.4 2.1 3.2-2.1-3.4 3.6-2.4-2.1z'/%3E%3C/svg%3E"); width: 22px; height: 22px; }
.pm-ic-wa { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.8A8.5 8.5 0 1 1 8 19.5z'/%3E%3Cpath d='M9 8.5c0 3.5 3 6.5 6.5 6.5l1-1.4-2-1-1 .7a4 4 0 0 1-2-2l.7-1-1-2z'/%3E%3C/svg%3E"); width: 22px; height: 22px; }

.pm-help { border: 0; cursor: pointer; }
.pm-hs-wrap { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; font-family:"Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.pm-hs-bd { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(8, 16, 40, 0.5); animation: pmFade .2s ease both; }
.pm-hs { position: relative; width: 100%; max-width: 480px; box-sizing: border-box; padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px)); background: #f7f9fc; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(8, 16, 40, 0.22); animation: pmUp .26s cubic-bezier(.2,.8,.2,1) both; color: #0c1e3d; }
.pm-hs * { box-sizing: border-box; }
.pm-hs-grab { display: block; width: 42px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: #d3d9e6; }
.pm-hs-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pm-hs-av { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #0f2a76, #2a56d8); color: #fff; }
.pm-hs-av .pm-ic { width: 26px; height: 26px; }
.pm-hs-ttl { flex: 1; min-width: 0; }
.pm-hs-ttl h3 { margin: 0; font-size: 19px; line-height: 24px; font-weight: 800; letter-spacing: -0.3px; }
.pm-hs-ttl p { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 16px; color: #5f6b85; }
.pm-hs-ttl p i { width: 8px; height: 8px; border-radius: 50%; background: #1fb865; box-shadow: 0 0 0 3px rgba(31, 184, 101, 0.18); }
.pm-hs-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #e8edf6; color: #34415f; display: grid; place-items: center; cursor: pointer; }
.pm-hs-x .pm-ic { width: 18px; height: 18px; }
.pm-hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-hs-tile, .pm-hs-row { text-decoration: none !important; color: inherit !important; -webkit-tap-highlight-color: transparent; }
.pm-hs-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #e6eaf2; }
.pm-hs-tile b { margin-top: 8px; font-size: 15px; line-height: 20px; font-weight: 800; }
.pm-hs-tile small { font-size: 12px; line-height: 16px; color: #66728c; }
.pm-hs-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.pm-hs-tile.call .pm-hs-ic { background: #e3ecff; color: #1d4ed8; }
.pm-hs-tile.wa .pm-hs-ic { background: #dcf7e6; color: #12a150; }
.pm-hs-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.pm-hs-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; border: 1px solid #e6eaf2; }
.pm-hs-row .pm-hs-ic { width: 40px; height: 40px; border-radius: 12px; }
.pm-hs-row.msgr .pm-hs-ic { background: #e6edff; color: #0a7cff; }
.pm-hs-row.mail .pm-hs-ic { background: #ffe9e6; color: #d6402f; }
.pm-hs-row.hc .pm-hs-ic { background: #efe6ff; color: #6d3fd0; }
.pm-hs-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pm-hs-rt b { font-size: 14.5px; line-height: 20px; font-weight: 800; }
.pm-hs-rt small { font-size: 12px; line-height: 16px; color: #66728c; }
.pm-hs-row > .pm-ic-chev { width: 18px; height: 18px; color: #9aa4ba; }
.pm-hs-tile:active, .pm-hs-row:active { background: #f0f4fb; }
@keyframes pmUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1024px) { .pm-hs-wrap { align-items: center; } .pm-hs { border-radius: 26px; padding-bottom: 22px; } }
.pm-hs .pm-ic-phone { width: 22px; height: 22px; margin: 0; }
.pm-hs .pm-ic { margin: 0; }

/* ---- Need help? button: same motion as the home-page Help button ---- */
.pm-help { --pmh: #1b4ff1; --pmh-rgb: 27, 79, 241; height: 52px; gap: 9px; padding: 0 18px 0 7px; font-size: 14.5px; letter-spacing: .01em; background: linear-gradient(135deg, #2f6bff 0%, #1b4ff1 50%, #0f2a76 100%); box-shadow: 0 10px 24px rgba(var(--pmh-rgb), .38), 0 2px 6px rgba(14, 30, 80, .28); animation: pmHelpPop .55s cubic-bezier(.2, 1.3, .4, 1) .4s backwards; transition: transform .18s ease, box-shadow .18s ease, opacity .2s ease, padding .38s cubic-bezier(.4, 0, .2, 1), gap .38s cubic-bezier(.4, 0, .2, 1); }
.pm-help:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(var(--pmh-rgb), .45), 0 2px 6px rgba(14, 30, 80, .28); }
.pm-help:active { transform: scale(.95); }
.pm-help:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px rgba(var(--pmh-rgb), .55); }
.pm-help[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: scale(.8); }
.pm-help-ic { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.pm-help-ic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); animation: pmHelpPing 2.8s ease-out infinite; }
.pm-help-ic .pm-ic { width: 21px; height: 21px; margin: 0; }
.pm-help-live { position: absolute; right: -1px; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid var(--pmh); box-sizing: border-box; animation: pmHelpLive 2s ease-in-out infinite; }
.pm-help-txt { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 100px; opacity: 1; transition: max-width .38s cubic-bezier(.4, 0, .2, 1), opacity .25s ease; }
.pm-help.is-mini { padding: 0 7px; gap: 0; }
.pm-help.is-mini .pm-help-txt { max-width: 0; opacity: 0; }
@media (hover: hover) { .pm-help.is-mini:hover { padding: 0 18px 0 7px; gap: 9px; } .pm-help.is-mini:hover .pm-help-txt { max-width: 100px; opacity: 1; } }
.pm-rocket .pm-help { --pmh: #5601a4; --pmh-rgb: 86, 1, 164; background: linear-gradient(135deg, #8a3df0 0%, #5601a4 55%, #2f0a66 100%); }
.pm-nagad .pm-help { --pmh: #d10000; --pmh-rgb: 209, 0, 0; background: linear-gradient(135deg, #ff4b3a 0%, #d10000 55%, #7a0a0a 100%); }
.pm-bkash .pm-help { --pmh: #e2136e; --pmh-rgb: 226, 19, 110; background: linear-gradient(135deg, #ff4f9b 0%, #e2136e 55%, #8f0b46 100%); }
.pm-upay .pm-help { --pmh: #0a47b8; --pmh-rgb: 10, 71, 184; }
@keyframes pmHelpPing { 0% { transform: scale(1); opacity: .7; } 65%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes pmHelpPop { from { opacity: 0; transform: translateY(16px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pmHelpLive { 0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); } }
/* sheet motion */
.pm-hs-wrap[data-closing="true"] .pm-hs-bd { animation: pmFadeOut .19s ease both; }
.pm-hs-wrap[data-closing="true"] .pm-hs { animation: pmDown .19s ease both; }
.pm-hs-tile, .pm-hs-row { animation: pmRow .38s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.08s + var(--i, 0) * .05s); }
.pm-hs-wrap[data-closing="true"] .pm-hs-tile, .pm-hs-wrap[data-closing="true"] .pm-hs-row { animation: none; }
@keyframes pmFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes pmDown { from { transform: none; } to { transform: translateY(100%); } }
@keyframes pmRow { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pm-help, .pm-help *, .pm-hs, .pm-hs *, .pm-hs-bd { animation: none !important; transition: none !important; } }

/* raise the Need help? button a bit (clear of the phone's bottom edge / browser bar) */
.pm-help { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { .pm-help { bottom: 28px; } }

/* Payment rules accordions (under every manual payment card) */
.pm-rules { --u: calc(min(100vw, 480px) / 1024); width: calc(902 * var(--u)); margin: calc(-40 * var(--u)) auto calc(190 * var(--u)); font-family:"Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color: #0c1e3d; }
.pm-rule { background: #fff; border: calc(2 * var(--u)) solid #e6eaf2; border-radius: calc(22 * var(--u)); margin-top: calc(16 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(40, 60, 120, 0.04); overflow: hidden; }
.pm-rule-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: calc(26 * var(--u)) calc(30 * var(--u)); border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.pm-rule-t { display: block; min-width: 0; }
.pm-rule-t b { display: block; font-size: max(12px, calc(30 * var(--u))); line-height: calc(40 * var(--u)); font-weight: 700; color: #0c1e3d; }
.pm-rule-t small { display: block; margin-top: calc(4 * var(--u)); font-size: max(12px, calc(26 * var(--u))); line-height: calc(36 * var(--u)); font-weight: 400; color: #6b778f; }
.pm-rule-chev { flex: none; width: calc(38 * var(--u)); height: calc(38 * var(--u)); min-width: 16px; min-height: 16px; margin-left: calc(20 * var(--u)); color: #4a5670; transition: transform .25s ease; }
.pm-rule.is-open .pm-rule-chev { transform: rotate(180deg); }
.pm-rule-b { margin: 0; padding: 0 calc(30 * var(--u)) calc(28 * var(--u)); font-size: max(12px, calc(26 * var(--u))); line-height: calc(38 * var(--u)); color: #3b4760; }
/* on the payment-options page the rules sit under the method list */
.pay3 .pm-rules { margin: 16px auto 120px; width: 100%; --u: calc(min(100vw, 480px) / 1024); }

/* v077: advance / peak-season payment summary on the payment step */
.pm-plan { margin: calc(22 * var(--u)) 0 calc(6 * var(--u)); padding: calc(20 * var(--u)) calc(24 * var(--u)); border-radius: calc(20 * var(--u)); background: #eef4ff; border: calc(2 * var(--u)) solid #d7e4fb; color: var(--pm-ink); }
.pm-plan.is-full { background: #fff4e0; border-color: #f6dfb2; }
.pm-plan-t { font-size: max(12px, calc(27 * var(--u))); line-height: calc(36 * var(--u)); font-weight: 700; margin-bottom: calc(8 * var(--u)); }
.pm-plan-r { display: flex; justify-content: space-between; gap: calc(16 * var(--u)); font-size: max(12px, calc(26 * var(--u))); line-height: calc(40 * var(--u)); color: #5b6a85; }
.pm-plan-r b { color: var(--pm-ink); font-weight: 700; white-space: nowrap; }
.pm-plan-r.now { color: var(--pm-ink); font-weight: 700; }
.pm-plan-r.now b { color: #1a5ce0; font-size: max(12px, calc(30 * var(--u))); }
.pm-plan-n { margin: calc(10 * var(--u)) 0 0; font-size: max(12px, calc(23 * var(--u))); line-height: calc(32 * var(--u)); color: #5b6a85; }

/* Small cashout-charge note on manual wallet cards (owner order 2026-11-05) */
.pm-note2 { display: flex; align-items: flex-start; gap: calc(12 * var(--u)); margin: calc(16 * var(--u)) 0 0; padding: calc(13 * var(--u)) calc(15 * var(--u)); border: calc(1.5 * var(--u)) solid #f3ddab; border-radius: calc(13 * var(--u)); background: #fff9ea; color: #7c5e10; font-size: max(11px, calc(23 * var(--u))); line-height: 1.45; }
.pm-note2-ic { flex: none; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: #f5b921; color: #fff; font-weight: 800; font-size: calc(22 * var(--u)); display: flex; align-items: center; justify-content: center; margin-top: calc(1 * var(--u)); }
