/**
 * MS Custom Checkout — quick-checkout-styles.css  v2.0.0
 *
 * Fixes vs v1.9.0:
 *  1. Removed duplicate .qcw padding-left/right declarations (was declared twice).
 *  2. Merged duplicate @media (max-width: 680px) blocks into one.
 *  3. Replaced `all: unset` on buttons/inputs with targeted resets — prevents
 *     SVG icon misalignment and OTP box de-centering.
 *  4. Fixed checkbox: was `all: revert` (un-hid native box alongside custom one).
 *     Now explicitly hidden with display:none.
 *  5. Fixed OTP row centering — no longer overridden by generic input reset.
 *  6. Fixed .qc-so (shipping option) missing background/border-radius.
 *  7. Fixed header subtitle wrapping on 400–680px screens (removed nowrap).
 *  8. Removed negative margin on .qc-stot that caused horizontal scroll on mobile.
 */

/* ── Reset & base */
.qcw *, .qcw *::before, .qcw *::after { box-sizing: border-box; }
.qcw { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; color: #18181A; }

/* ── Outer wrapper — single padding declaration */
.qcw {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── Header */
.qc-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(135deg, #2A2A72 0%, #3A3A9E 100%);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 24px 0;
  box-shadow: 0 4px 20px rgba(42,42,114,.22);
}
.qc-hdr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.qc-hdr-brand > span:first-of-type {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.2px;
}
.qc-hdr-sep { color: rgba(255,255,255,.3); font-weight: 300; margin: 0 2px; }
.qc-hdr-sub {
  color: rgba(255,255,255,.55);
  font-weight: 500;
  font-size: 13px;
}
.qc-hdr-trust {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.qc-hdr-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,.90);
  letter-spacing: .02em;
  white-space: nowrap;
}
.qc-hdr-trust span svg {
  opacity: .85;
  flex-shrink: 0;
}

/* ── Progress */
.qc-prog { margin-bottom: 28px; }
.qc-prog-bar { height: 4px; background: #E8E6E1; border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.qc-prog-fill { height: 100%; background: #2A2A72; border-radius: 99px; transition: width .5s cubic-bezier(.4,0,.2,1); width: 0%; }
.qc-steps { display: flex; justify-content: space-between; }
.qs { font-size: 11px; font-weight: 600; color: #C0BDB8; letter-spacing: .03em; flex: 1; text-align: center; transition: color .2s; }
.qs.active { color: #2A2A72; font-weight: 800; }
.qs.done   { color: #1A7A4A; }

/* ── Titles */
.qct { font-size: 24px; font-weight: 800; color: #18181A; margin: 0 0 6px; letter-spacing: -.4px; line-height: 1.2; }
.qcs { font-size: 14px; color: #6B6967; margin: 0 0 22px; line-height: 1.5; }
.qcs strong { color: #2A2A72; }

/* ── Fields */
.qf { margin-bottom: 14px; }
.ql { display: block; font-size: 11px; font-weight: 700; color: #374151; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .05em; }
.qf input, .qf select {
  width: 100%; height: 48px;
  border: 1.5px solid #E8E6E1; border-radius: 8px;
  background: #FAFAFA; color: #18181A;
  font-size: 15px; font-family: inherit;
  padding: 0 14px; outline: none;
  box-sizing: border-box;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
  display: block;
}
.qf input:focus, .qf select:focus {
  border-color: #2A2A72; background: #fff;
  box-shadow: 0 0 0 3px rgba(42,42,114,.1);
}
.qf input::placeholder { color: #C0BDB8; }
.qc-pre { background: #F5F5FF !important; border-color: #C8C8F0 !important; color: #4A4ABE !important; }
.qfe { font-size: 11.5px; color: #C0392B; margin-top: 4px; display: none; }
.qfe-show .qfe { display: block; }
.qfe-show input, .qfe-show select { border-color: #C0392B !important; box-shadow: 0 0 0 3px rgba(192,57,43,.1) !important; }
.qr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Theme isolation (targeted — no all:unset) */
.qcw a { color: inherit; }
.qcw a:hover { color: inherit; opacity: .85; }
.qcw p, .qcw h1, .qcw h2, .qcw h3, .qcw h4 { margin: 0; }
.qcw table, .qcw table td, .qcw table th { border: none; background: transparent; }

/* Theme-proof input override — targeted properties only */
.qcw input[type="text"],
.qcw input[type="email"],
.qcw input[type="tel"],
.qcw input[type="number"],
.qcw input[type="url"],
.qcw select,
.qcw textarea {
  box-sizing: border-box; display: block; width: 100%;
  padding: 10px 13px; background: #fff;
  border: 1.5px solid #CBD5E1; border-radius: 8px;
  font-size: 14px; color: #1a2e3b; font-family: inherit;
  line-height: 1.4; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.qcw input[type="text"]:focus,
.qcw input[type="email"]:focus,
.qcw input[type="tel"]:focus,
.qcw input[type="number"]:focus,
.qcw select:focus { border-color: #2A2A72; box-shadow: 0 0 0 3px #2A2A7218; outline: none; }

/* File: revert to native. Checkbox: hidden (custom .qc-svb takes over) */
.qcw input[type="file"]     { all: revert; }
.qcw input[type="checkbox"] { display: none !important; }

/* ── Buttons */
.qb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 52px; padding: 0 24px;
  background: #2A2A72 !important; color: #fff !important;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; letter-spacing: .02em;
  transition: background .18s, box-shadow .18s, transform .1s;
  box-shadow: 0 4px 16px rgba(42,42,114,.3);
  margin-top: 6px; text-decoration: none !important; box-sizing: border-box;
}
.qb:hover:not(:disabled)  { background: #1D1D5E !important; color: #fff !important; box-shadow: 0 6px 20px rgba(42,42,114,.4); transform: translateY(-1px); }
.qb:active:not(:disabled) { transform: scale(.99); }
.qb:disabled              { opacity: .45; cursor: not-allowed; box-shadow: none; }

.qb-pl {
  height: 58px !important; font-size: 17px !important; font-weight: 900 !important;
  background: #1A1A5E !important; margin-top: 18px !important;
  box-shadow: 0 6px 24px rgba(26,26,94,.35) !important;
}
.qb-pl:hover:not(:disabled) { background: #111144 !important; transform: translateY(-2px) !important; }

.qb-out { background: #fff !important; color: #2A2A72 !important; border: 2px solid #2A2A72 !important; box-shadow: none; }
.qb-out:hover { background: #EEEEFF !important; color: #2A2A72 !important; }

.qbg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 42px; margin-top: 10px;
  background: transparent; color: #64748b;
  border: 1.5px solid #e2e8ed; border-radius: 9px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background .15s, border-color .15s; box-sizing: border-box;
}
.qbg:hover { background: #F5F5F5; border-color: #2A2A72; color: #2A2A72; }

.qlnk {
  background: none; border: none; color: #4A4ABE;
  font-size: 12.5px; font-family: inherit; font-weight: 600;
  cursor: pointer; padding: 0; text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color .15s;
}
.qlnk:hover { text-decoration-color: #4A4ABE; }
.qlnk:disabled { color: #B0ADA8; cursor: default; }

/* ── Alerts */
.qa { display: none; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 10px; }
.qa-load { background: #F5F5FF; color: #2A2A72; border: 1px solid #DDDEFF; }
.qa-err  { background: #FEF0EE; color: #C0392B; border: 1px solid #F5C6C0; }

/* ── Spinner */
.qc-sp { width: 17px; height: 17px; flex-shrink: 0; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: qcSpin .7s linear infinite; display: inline-block; }
@keyframes qcSpin { to { transform: rotate(360deg); } }

/* ── Trust row */
.qtr {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  padding: 12px 0 0; border-top: 1px solid #F1F0EC; margin-top: 14px;
  font-size: 11.5px; color: #A8A5A0; font-weight: 500;
}
.qtr span svg { vertical-align: middle; }

/* ── OTP inputs — centered, not subject to generic input override */
.qc-otp-row { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.qc-od {
  width: 52px !important; height: 64px !important;
  text-align: center !important; font-size: 28px !important; font-weight: 800 !important;
  border-radius: 10px !important; padding: 0 !important; caret-color: #2A2A72;
  border: 1.5px solid #E8E6E1 !important; background: #FAFAFA !important;
  transition: border-color .18s, box-shadow .18s, background .15s !important;
  outline: none;
  display: inline-flex !important;
  align-items: center; justify-content: center; flex-shrink: 0;
  -webkit-appearance: none; appearance: none;
}
.qc-od:focus { border-color: #2A2A72 !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(42,42,114,.12) !important; }
.qc-od-f     { border-color: #2A2A72 !important; background: #EEEEFF !important; color: #2A2A72 !important; }
.qc-om { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #A8A5A0; margin-bottom: 16px; }
.qc-om strong { color: #2A2A72; }

/* ── Spam hint + resend toast */
.qc-spam-hint { margin: 10px 0 4px; font-size: 12px; color: #6b7280; text-align: center; line-height: 1.5; }
.qc-spam-hint strong { color: #374151; }
.qc-resent { margin: 8px 0 0; padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; font-size: 13px; color: #166534; font-weight: 500; text-align: center; animation: qcFadeIn .25s ease; }
@keyframes qcFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ── Account splash */
.qc-ring { width: 64px; height: 64px; border-radius: 50%; background: #EDFBF3; border: 2px solid #A7D4B8; display: flex; align-items: center; justify-content: center; margin: 0 auto; color: #1A7A4A; }
.qc-ring-lg { width: 76px; height: 76px; }
.qc-ac { margin-top: 14px; padding: 12px 16px; background: #F9F8FF; border: 1px solid #E0DEFF; border-radius: 10px; font-size: 13px; color: #2A2A72; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.qc-ac strong { font-size: 15px; font-weight: 700; }
.qc-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; margin-top: 4px; }
.qc-new   { background: #EEEEFF; color: #2A2A72; border: 1px solid #C8C8F0; }
.qc-ret   { background: #EDFBF3; color: #1A7A4A; border: 1px solid #A7D4B8; }

/* ── Two-column layout */
.qc-2col { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.qc-left  {}
.qc-right { position: sticky; top: 20px; }

/* ── Email chip */
.qc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; background: #EEEEFF; border: 1px solid #C8C8F0; border-radius: 99px; font-size: 12px; color: #2A2A72; font-weight: 600; margin-bottom: 16px; }

/* ── Section headings */
.qsh { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #A8A5A0; margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; }
.qsh::after { content: ''; flex: 1; height: 1px; background: #E8E6E1; }
.qsh:first-child { margin-top: 0; }

/* ── Shipping options — explicit bg/radius so theme can't override */
.qc-so {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid #E8E6E1; border-radius: 9px;
  cursor: pointer; margin-bottom: 10px; background: #FAFAFA;
  transition: border-color .15s, background .15s;
  text-decoration: none; color: inherit;
}
.qc-so:last-child { margin-bottom: 0; }
.qc-so:hover  { border-color: #2A2A72; background: #EEEEFF; }
.qc-so-sel    { border-color: #2A2A72 !important; background: #EEEEFF !important; }
.qc-sr        { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #D0CEC8; flex-shrink: 0; transition: border-color .15s, background .15s; }
.qc-so-sel .qc-sr { border-color: #2A2A72; background: #2A2A72; box-shadow: inset 0 0 0 3px #fff; }
.qc-si        { flex: 1; }
.qc-si strong { font-size: 13.5px; font-weight: 700; color: #18181A; display: block; }
.qc-si small  { font-size: 12px; color: #6B6967; }
.qc-sp2       { font-size: 13.5px; font-weight: 700; color: #18181A; }

/* ── Payment tabs — flex with SVG icon alignment */
.qc-ptabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.qc-pt {
  flex: 1; min-width: 90px; padding: 9px 8px;
  border: 1.5px solid #E8E6E1; border-radius: 8px;
  background: #FAFAFA; cursor: pointer;
  font-size: 12.5px; font-weight: 600; font-family: inherit; color: #6B6967;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .15s, background .15s, color .15s; box-sizing: border-box;
}
.qc-pt svg   { vertical-align: middle; flex-shrink: 0; }
.qc-pt:hover { border-color: #2A2A72; color: #2A2A72; background: #EEEEFF; }
.qc-pt-a     { border-color: #2A2A72 !important; background: #EEEEFF !important; color: #2A2A72 !important; }
.qc-pt-a svg { stroke: #2A2A72; }

/* ── Payment panels */
.qc-pi  { background: #F9F8FF; border: 1px solid #E0DEFF; border-radius: 10px; padding: 16px; }
.qc-pit { font-size: 14px; font-weight: 700; color: #2A2A72; margin: 0 0 12px; }
.qc-pcr { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.qc-pa  { font-family: monospace; font-size: 12.5px; color: #18181A; word-break: break-all; flex: 1; min-width: 0; background: #fff; border: 1px solid #E8E6E1; padding: 7px 10px; border-radius: 6px; }
.qc-cp  { flex-shrink: 0; padding: 6px 14px; background: #2A2A72; color: #fff; border: none; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.qc-cp:hover { background: #1D1D5E; }
.qc-pn  { font-size: 12.5px; color: #6B6967; margin: 0; }
.qc-qrw { text-align: center; margin-bottom: 12px; }
.qc-qr  { width: 140px; height: 140px; border-radius: 8px; border: 1px solid #E8E6E1; }
.qc-pw  { font-size: 12px; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 6px; padding: 8px 12px; margin-top: 10px; display: flex; align-items: flex-start; gap: 6px; }
.qc-bt  { width: 100%; border-collapse: collapse; font-size: 13px; }
.qc-bl  { color: #6B6967; padding: 5px 10px 5px 0; font-weight: 600; white-space: nowrap; width: 38%; }
.qc-bv  { color: #18181A; padding: 5px 0; font-family: monospace; font-size: 12.5px; }

/* ── Payment amount (large, prominent) */
.qc-pamount { display: flex; align-items: center; justify-content: space-between; background: #EEEEFF; border: 1.5px solid #C8C8F0; border-radius: 9px; padding: 12px 16px; margin-bottom: 14px; }
.qc-pamount-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6B6967; }
.qc-pamount-val { font-size: 26px; font-weight: 900; color: #2A2A72; letter-spacing: -.5px; }

/* ── How to pay steps */
.qc-psteps { margin: 12px 0 0; padding: 12px 14px; background: #FAFAFA; border: 1px solid #E8E6E1; border-radius: 8px; }
.qc-pstep-title { font-size: 12px; font-weight: 700; color: #374151; margin: 0 0 8px; display: flex; align-items: center; gap: 5px; text-transform: uppercase; letter-spacing: .04em; }
.qc-pstep-list  { margin: 0; padding-left: 18px; font-size: 12.5px; color: #4B5563; line-height: 1.7; }
.qc-pstep-list strong { color: #2A2A72; }

/* ── Proof upload */
.qc-uw { margin-top: 14px; }
.qc-ul { font-size: 12px; font-weight: 700; color: #374151; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; display: block; }
.qc-uz { display: flex; align-items: center; justify-content: center; padding: 14px; border: 2px dashed #D0CEFF; border-radius: 8px; cursor: pointer; background: #FAFAFF; color: #6B6967; font-size: 13px; transition: border-color .15s, background .15s; }
.qc-uz:hover { border-color: #2A2A72; background: #EEEEFF; }

/* ── Save toggle (custom checkbox — native hidden) */
.qc-sv { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; background: #F5F5FF; border: 1px solid #DDDEFF; border-radius: 8px; cursor: pointer; margin-top: 14px; font-size: 13px; color: #18181A; }
.qc-sv input[type="checkbox"] { display: none !important; }
.qc-svb  { width: 20px; height: 20px; flex-shrink: 0; border-radius: 5px; background: #2A2A72; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.qc-sv strong { display: block; font-weight: 700; margin-bottom: 2px; }
.qc-sv small  { color: #6B6967; font-size: 11.5px; }
.qc-lg   { font-size: 11px; color: #A8A5A0; text-align: center; margin-top: 8px !important; line-height: 1.5; }
.qc-lg a { color: #4A4ABE; }

/* ── Order summary */
.qc-sum  { background: transparent; border: none; border-radius: 10px; padding: 0; overflow: hidden; }
.qc-stit { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #A8A5A0; margin-bottom: 12px; display: block; }

/* ── Collapsible order summary toggle bar */
.qc-os-toggle {
  display: flex; align-items: center; justify-content: space-between;
  background: #EEEEFF; border: 1px solid #C8C8F0; border-radius: 10px;
  padding: 12px 14px; cursor: pointer; user-select: none;
  margin-bottom: 2px; transition: background .15s;
}
.qc-os-toggle:hover { background: #E2E2FF; }
.qc-os-toggle-left  { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.qc-os-toggle-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: 10px; }
.qc-os-cart-icon    { stroke: #2A2A72; flex-shrink: 0; }
.qc-os-toggle-lbl   { font-size: 13px; font-weight: 800; color: #2A2A72; white-space: nowrap; }
.qc-os-item-count   { font-size: 12px; color: #6B6967; }
.qc-os-saved        { display: inline-block; background: #DCFCE7; color: #166534;
                       font-size: 11px; font-weight: 700; padding: 2px 8px;
                       border-radius: 20px; white-space: nowrap; }
.qc-os-toggle-total { font-size: 15px; font-weight: 900; color: #2A2A72; }
.qc-os-chevron      { stroke: #2A2A72; transition: transform .2s ease; flex-shrink: 0; }

/* ── Collapsible body */
.qc-os-body {
  background: #fff; border: 1px solid #E8E6E1;
  border-radius: 0 0 10px 10px; padding: 14px 14px 0;
  margin-top: -2px;
}
.qc-si2  { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.qc-simg { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.qc-sph  { background: #E8E8F8; }
.qc-sn2  { flex: 1; color: #18181A; font-weight: 600; font-size: 13px; }
.qc-sq   { color: #A8A5A0; font-size: 12px; }
.qc-spr  { font-weight: 700; color: #18181A; font-size: 13px; }
.qc-sdiv { height: 1px; background: #E8E6E1; margin: 10px 0; }
.qc-sr2  { display: flex; justify-content: space-between; font-size: 13px; color: #6B6967; margin-bottom: 5px; }

/* Total — bigger, bolder, highlighted. No negative margin (caused mobile scroll). */
.qc-stot {
  display: flex; justify-content: space-between;
  font-size: 22px !important; font-weight: 900 !important; color: #2A2A72 !important;
  padding: 12px 10px !important;
  border-top: 2px solid #2A2A72 !important;
  background: #F5F5FF;
  border-radius: 0 0 8px 8px;
  margin: 4px 0 0 !important;
}
.qc-stot span:last-child { color: #2A2A72; }

/* ── Confirmation screen */
.qc-cf  { max-width: 520px; margin: 0 auto; text-align: center; padding: 20px 0; }
.qc-cc  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; text-align: left; }
.qc-cd  { background: #FAFAFA; border: 1px solid #E8E6E1; border-radius: 8px; padding: 10px 13px; }
.qc-cdl { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: #A8A5A0; font-weight: 700; margin-bottom: 3px; display: block; }
.qc-cdv { font-size: 14px; font-weight: 700; color: #18181A; word-break: break-all; }
.qc-trk { padding: 10px 0; text-align: left; }
.qc-ts  { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; position: relative; }
.qc-ts::before { content:''; position:absolute; left:11px; top:24px; bottom:0; width:1px; background:#E8E6E1; }
.qc-ts:last-child::before { display: none; }
.qc-td  { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; z-index: 1; }
.qc-td-done { background: #EDFBF3; border: 2px solid #A7D4B8; color: #1A7A4A; }
.qc-td-next { background: #EEEEFF; border: 2px solid #C8C8F0; color: #4A4ABE; }
.qc-tt   { font-size: 13.5px; font-weight: 700; color: #18181A; }
.qc-tsub { font-size: 12px; color: #A8A5A0; }
.qc-sn   { display: flex; align-items: center; gap: 10px; background: #EDFBF3; border: 1px solid #A7D4B8; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #1A7A4A; font-weight: 600; margin-top: 14px; text-align: left; }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE — single unified set, no duplicates
════════════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .qcw { max-width: 100%; }
  .qc-2col { grid-template-columns: 1fr 300px; gap: 20px; }
}

@media (max-width: 680px) {
  .qcw { padding: 0 12px 40px; }

  .qc-2col  { grid-template-columns: 1fr; }
  .qc-right { position: static; order: -1; margin-bottom: 4px; }
  .qr2      { grid-template-columns: 1fr; }

  /* Header: dark bar stays full-width on mobile, badges wrap below */
  .qc-hdr { border-radius: 10px; padding: 14px 16px; margin: 0 0 20px 0; gap: 8px; }
  .qc-hdr-brand { flex: 1 1 60%; }
  .qc-hdr-brand > span:first-of-type { font-size: 14px; }
  .qc-hdr-sub   { font-size: 12px; }
  .qc-hdr-trust { gap: 6px; }
  .qc-hdr-trust span { padding: 4px 10px; font-size: 11px; }

  /* OTP */
  .qc-otp-row { gap: 6px; }
  .qc-od { width: 42px !important; height: 54px !important; font-size: 20px !important; border-radius: 8px !important; }

  /* Confirmation grid */
  .qc-cc { grid-template-columns: 1fr; }

  /* Typography */
  .qct { font-size: 20px; }
  .qs  { font-size: 10px; }

  /* Bank table */
  .qc-bt { font-size: 12px; }
  .qc-bl { padding-right: 6px; white-space: normal; }

  /* Payment tabs: 2-col grid */
  .qc-ptabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .qc-pt    { min-width: 0; padding: 10px 6px; font-size: 12px; }

  /* Amounts */
  .qc-pamount-val { font-size: 22px; }
  .qc-stot { font-size: 20px !important; padding: 10px 8px !important; }

  /* Shipping options */
  .qc-so { padding: 12px 10px; }
  .qc-si strong { font-size: 13px; }

  /* How-to steps */
  .qc-pstep-list { font-size: 12px; }

  /* Trust row */
  .qtr { gap: 10px; }

  /* Place order */
  .qb-pl { height: 54px !important; font-size: 16px !important; }
}

@media (max-width: 400px) {
  /* Hide "Secure Checkout" subtitle on very small screens */
  .qc-hdr-sep, .qc-hdr-sub { display: none; }

  .qc-od { width: 36px !important; height: 48px !important; font-size: 18px !important; }
  .qc-otp-row { gap: 4px; }
  .qct { font-size: 18px; }
  .qb  { font-size: 14px; }
  .qc-pamount-val { font-size: 20px; }
  .qc-stot { font-size: 18px !important; }
}

/* ── Email / OTP / Account-splash screens: constrain width for comfortable reading */
/* Screens 0, 1, 2 are single-column — limit to 480px and center them */
#qcSc0, #qcSc1, #qcSc2 {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* On mobile give those screens a card-like feel with breathing room */
@media (max-width: 680px) {
  #qcSc0, #qcSc1, #qcSc2 {
    max-width: 100%;
    padding: 8px 4px;
  }
  /* Make email input taller for easier tap on mobile */
  #qcSc0 .qf input[type="email"],
  #qcSc0 input#qcEmailInput {
    height: 54px !important;
    font-size: 16px !important; /* prevent iOS zoom */
  }
  /* Continue button bigger on email screen */
  #qcSc0 .qb { height: 56px !important; font-size: 16px !important; }
  /* Trust row wrap nicely */
  #qcSc0 .qtr { flex-wrap: wrap; justify-content: center; gap: 12px; }
  /* OTP: inputs well-spaced and large enough to tap */
  .qc-otp-row { gap: 8px !important; margin: 24px 0 !important; }
  .qc-od { width: 44px !important; height: 56px !important; font-size: 22px !important; border-radius: 10px !important; }
  /* Resend / countdown row */
  .qc-om { flex-wrap: wrap; gap: 8px; justify-content: space-between; }
}

@media (max-width: 400px) {
  .qc-otp-row { gap: 5px !important; }
  .qc-od { width: 38px !important; height: 50px !important; font-size: 19px !important; }
}

/* ════ v3.0.0 — Urgency countdown timer (checkout screen) ════ */
.qc-urgency {
  display: none;
  align-items: center;
  gap: 8px;
  background: #FFF8EB;
  border: 1.5px solid #F59E0B;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #92400E;
  font-weight: 600;
  animation: mscc-fade-in .4s ease;
}
.qc-urgency svg {
  flex-shrink: 0;
  color: #D97706;
}
.qc-urgency strong {
  color: #B45309;
  font-weight: 800;
}
@keyframes mscc-fade-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }

/* Geo-prefill pre-filled indicator */
.qc-pre { background: #F0FDF4 !important; border-color: #86EFAC !important; }
