/* SmartPay Bridge v3.6 — Accordion Checkout CSS (scoped, theme-safe) */
.spb-wrap *{box-sizing:border-box}
.spb-wrap button{font-family:inherit;cursor:pointer}
.spb-wrap{font-family:inherit;font-size:14px;color:inherit;margin:10px 0 0}

/* ── Accordion ── */
.spb-accordion{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:14px}
.spb-acc-item{border-bottom:1px solid #e5e7eb}
.spb-acc-item:last-child{border-bottom:none}

/* Header */
.spb-acc-header{
  display:flex;align-items:center;gap:10px;
  padding:13px 16px;background:#fff;
  cursor:pointer;transition:background .15s;
  user-select:none;
}
.spb-acc-header:hover{background:#f9fafb}
.spb-acc-item.spb-acc-open>.spb-acc-header{
  background:color-mix(in srgb,var(--spb-color,#1a56db) 6%,#fff);
  border-bottom:1px solid color-mix(in srgb,var(--spb-color,#1a56db) 20%,#e5e7eb);
}
@supports not (color:color-mix(in srgb,red,blue)){
  .spb-acc-item.spb-acc-open>.spb-acc-header{background:#eff6ff;border-bottom:1px solid #bfdbfe}
}

/* Radio dot */
.spb-acc-radio{
  width:18px;height:18px;border-radius:50%;
  border:2px solid #d1d5db;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  transition:border-color .15s;
}
.spb-acc-item.spb-acc-open .spb-acc-radio{border-color:var(--spb-color,#1a56db)}
.spb-acc-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--spb-color,#1a56db);
  transform:scale(0);transition:transform .15s;
}
.spb-acc-item.spb-acc-open .spb-acc-dot{transform:scale(1)}

.spb-acc-logo{width:34px;height:34px;padding:3px;object-fit:contain;border-radius:7px;flex-shrink:0;background:#fff;border:1px solid #e5e7eb}
.spb-acc-icon{font-size:20px;flex-shrink:0;line-height:1}
.spb-acc-label{flex:1;font-weight:700;font-size:14px}
.spb-acc-chevron{
  width:9px;height:9px;flex:0 0 9px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  color:#64748b;
  transform:rotate(45deg);
  transform-origin:50% 50%;
  transition:transform .24s cubic-bezier(.4,0,.2,1),color .18s ease;
}
.spb-acc-item.spb-acc-open>.spb-acc-header .spb-acc-chevron{
  transform:rotate(225deg);
  color:var(--spb-color,#1a56db);
}

/* Body — accordion slide */
.spb-acc-body{
  max-height:0;overflow:hidden;
  transition:max-height .3s cubic-bezier(.4,0,.2,1);
  background:#fff;
}
.spb-acc-item.spb-acc-open>.spb-acc-body{max-height:900px}
.spb-acc-inner{padding:14px 16px 16px}

/* ── Info card ── */
.spb-info-card{
  border:none;border-radius:12px;
  padding:0;margin-bottom:14px;background:transparent;
}
.spb-info-rows{display:flex;flex-direction:column;gap:8px;}
.spb-instapay-kind-picker{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:4px;padding:4px;background:#f1f5f9;border-radius:10px}
.spb-kind-btn{border:1px solid transparent!important;border-radius:8px!important;padding:9px 10px!important;background:transparent!important;color:#475569!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important}
.spb-kind-btn.active{background:#fff!important;color:var(--spb-color,#1a56db)!important;border-color:#dbeafe!important;box-shadow:0 1px 4px rgba(15,23,42,.09)!important}
.spb-instapay-business-row[hidden],.spb-instapay-personal-row[hidden]{display:none!important}
.spb-bank-val{display:flex;align-items:center;gap:8px}
.spb-inline-bank-logo{width:44px;height:28px;object-fit:contain;padding:2px;background:#fff;border:1px solid #e2e8f0;border-radius:5px;flex:0 0 44px}

/* ── Data row — each field is its own card ── */
.spb-row{
  display:flex;align-items:center;
  background:#fff;
  border:1.5px solid #e2e8f0;
  border-radius:10px;
  padding:0;
  overflow:hidden;
  transition:border-color .2s, box-shadow .2s;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  font-size:13px;
}
.spb-row:hover{
  border-color:var(--spb-color,#1a56db);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--spb-color,#1a56db) 15%,transparent),
             0 2px 8px rgba(0,0,0,.08);
}
@supports not (color:color-mix(in srgb,red,blue)){
  .spb-row:hover{border-color:#1a56db;box-shadow:0 0 0 3px rgba(26,86,219,.15),0 2px 8px rgba(0,0,0,.08)}
}

/* Label side */
.spb-lbl{
  background:#f8fafc;
  color:#64748b;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:10px 12px;
  min-width:100px;
  flex-shrink:0;
  border-inline-end:1.5px solid #e2e8f0;
  align-self:stretch;
  display:flex;
  align-items:center;
  gap:8px;
}
.spb-lbl .spb-help-btn{margin-inline-start:auto!important;margin-inline-end:0!important}
.spb-help-btn{width:20px;height:20px;padding:0;margin-inline-start:auto;border:1px solid #cbd5e1;border-radius:50%;background:#fff;color:#2563eb;font-size:12px;font-weight:900;line-height:18px;flex:0 0 20px;box-shadow:none}
.spb-help-btn:hover,.spb-help-btn:focus{background:#2563eb;color:#fff;border-color:#2563eb;outline:2px solid rgba(37,99,235,.2)}
.spb-help-tooltip{position:fixed;z-index:999998;display:none;padding:9px 11px;border-radius:8px;background:#0f172a;color:#fff;font-size:12px;font-weight:500;line-height:1.55;white-space:normal;box-shadow:0 8px 24px rgba(15,23,42,.25);text-transform:none;letter-spacing:0;pointer-events:none}
.spb-help-tooltip.open{display:block}
.spb-help-modal{position:fixed;inset:0;z-index:999999;background:rgba(15,23,42,.68);display:none;align-items:center;justify-content:center;padding:18px}
.spb-help-modal.open{display:flex}
.spb-help-dialog{position:relative;width:min(520px,100%);max-height:88vh;overflow:auto;background:#fff;color:#0f172a;border-radius:16px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.3);text-align:start}
.spb-help-close{position:absolute;top:8px;inset-inline-end:10px;border:0;background:transparent;color:#64748b;font-size:28px;line-height:1}
.spb-help-title{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:20px;font-weight:900;margin-bottom:12px}
.spb-help-copy{white-space:pre-line;line-height:1.8;font-size:14px}
.spb-help-image{display:block;width:100%;height:auto;max-height:52vh;object-fit:contain;margin-top:16px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
@media(max-width:540px){.spb-lbl{min-width:92px;padding:9px 8px}.spb-help-dialog{padding:20px 16px}.spb-copy-btn{padding:7px 10px}}

/* Value side */
.spb-val{
  flex:1;
  font-weight:700;
  font-size:14px;
  padding:10px 12px;
  color:#0f172a;
  word-break:break-all;
}
.spb-mono{
  font-family:'Courier New',Courier,monospace;
  letter-spacing:.05em;
  direction:ltr!important;
  font-size:15px;
  font-weight:800;
  color:#1e293b;
}
.spb-big{font-size:17px;font-weight:900}

/* ── Copy button — yellow gradient, green on copy ── */
.spb-copy-btn{
  flex-shrink:0;
  display:inline-flex;align-items:center;gap:5px;
  margin:6px 8px 6px 4px;
  padding:7px 16px;
  background:linear-gradient(135deg,#f59e0b,#d97706);
  color:#fff!important;
  border:none;border-radius:8px;
  font-size:12px;font-weight:800;
  cursor:pointer;white-space:nowrap;
  transition:all .2s cubic-bezier(.34,1.56,.64,1);
  box-shadow:0 2px 8px rgba(245,158,11,.45),0 1px 2px rgba(0,0,0,.1);
  text-shadow:0 1px 2px rgba(0,0,0,.15);
}
.spb-copy-btn::before{content:'📋';margin-inline-end:4px;font-size:13px}
.spb-copy-btn:hover{
  background:linear-gradient(135deg,#fbbf24,#f59e0b);
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 6px 16px rgba(245,158,11,.5),0 2px 4px rgba(0,0,0,.12);
}
.spb-copy-btn:active{transform:translateY(0) scale(.98)}
.spb-copy-btn.spb-copied{
  background:linear-gradient(135deg,#22c55e,#16a34a)!important;
  box-shadow:0 4px 12px rgba(22,163,74,.45)!important;
  animation:spb-copy-pop .3s ease;
}
.spb-copy-btn.spb-copied::before{content:'✅';font-size:13px}
@keyframes spb-copy-pop{
  0%{transform:scale(.95)}50%{transform:scale(1.08)}100%{transform:scale(1)}
}

/* ── App button ── */
.spb-app-btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 18px;border-radius:8px;color:#fff!important;
  text-decoration:none!important;font-size:13px;font-weight:700;
  margin:4px 0;transition:all .2s;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.spb-app-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.2)}

/* ── QR Code ── */
.spb-qr-block{margin-top:14px;padding-top:12px;border-top:1px dashed #e5e7eb;text-align:center}
.spb-qr-label{font-size:12px;font-weight:700;color:#6b7280;margin-bottom:8px}
.spb-qr-frame{
  display:inline-block;
  padding:12px;background:#fff;border:2px solid #e5e7eb;border-radius:14px;
  box-shadow:0 4px 16px rgba(0,0,0,.1);
  line-height:0;
}
.spb-qr-img{
  width:200px!important;height:200px!important;
  min-width:200px!important;max-width:200px!important;
  min-height:200px!important;max-height:200px!important;
  object-fit:fill!important;
  display:block!important;
  image-rendering:pixelated;
  image-rendering:-moz-crisp-edges;
  image-rendering:crisp-edges;
}
@media(max-width:480px){.spb-qr-img{width:170px!important;height:170px!important;min-width:170px;max-width:170px}}
.spb-qr-hint{font-size:11px;color:#9ca3af;margin-top:7px}

/* ── Instructions ── */
.spb-instructions{
  margin-top:12px;padding:10px 12px;background:#f9fafb;
  border-radius:7px;font-size:12px;color:#6b7280;line-height:1.7;
  border-inline-start:3px solid #1a56db;
}

/* ── Sender fields ── */
.spb-sender-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:2px}
.spb-sender-single{grid-template-columns:1fr!important}
@media(max-width:540px){.spb-sender-fields{grid-template-columns:1fr}}
.spb-field{display:flex;flex-direction:column;gap:4px}
.spb-field-label{font-size:12px;font-weight:700}
.spb-req{color:#dc2626}
/* ── Animated glow keyframes ── */
@keyframes spb-glow-red{
  0%,100%{box-shadow:0 0 0 2px rgba(220,38,38,.2), 0 0 8px 2px rgba(220,38,38,.3)}
  50%{box-shadow:0 0 0 3px rgba(220,38,38,.35), 0 0 16px 4px rgba(220,38,38,.4)}
}
@keyframes spb-glow-yellow{
  0%,100%{box-shadow:0 0 0 2px rgba(245,158,11,.25), 0 0 8px 2px rgba(245,158,11,.35)}
  50%{box-shadow:0 0 0 3px rgba(245,158,11,.4), 0 0 16px 4px rgba(245,158,11,.45)}
}
@keyframes spb-glow-green{
  0%,100%{box-shadow:0 0 0 2px rgba(22,163,74,.2), 0 0 8px 2px rgba(22,163,74,.3)}
  50%{box-shadow:0 0 0 3px rgba(22,163,74,.35), 0 0 16px 4px rgba(22,163,74,.4)}
}

.spb-input{
  width:100%;padding:9px 12px;border:2px solid #dc2626;border-radius:8px;
  font-size:13px;font-family:inherit;background:#fff;color:inherit;
  outline:none;transition:border-color .25s, box-shadow .25s;
  -webkit-appearance:none;appearance:none;
  /* Default: red glow = empty/required */
  animation:spb-glow-red 2s ease-in-out infinite;
}
.spb-input:focus{
  border-color:#f59e0b;
  animation:spb-glow-yellow 1.5s ease-in-out infinite;
}
.spb-input.spb-valid{
  border-color:#16a34a;
  animation:spb-glow-green 2.5s ease-in-out infinite;
}
.spb-input.spb-error{
  border-color:#dc2626;
  animation:spb-glow-red 1s ease-in-out infinite;
}
.spb-input.spb-neutral{
  border-color:#d1d5db;
  animation:none;
  box-shadow:none;
}
.spb-tel{font-family:'Courier New',monospace;letter-spacing:.05em;direction:ltr!important}
.spb-field-hint{font-size:11px;color:#9ca3af}
.spb-field-msg{font-size:11px;font-weight:600;min-height:16px;display:flex;align-items:center;gap:4px;transition:color .2s}
.spb-field-msg.ok{color:#16a34a}
.spb-field-msg.err{color:#dc2626}

/* ── Sections (receipt + note) ── */
.spb-section{
  margin-bottom:12px;padding:14px;background:#fff;
  border:1px solid #e5e7eb;border-radius:10px;
}
.spb-section-label{
  display:flex;align-items:center;gap:6px;
  font-size:13px;font-weight:700;margin-bottom:10px;
  flex-wrap:wrap;
}
.spb-opt{color:#9ca3af;font-size:12px;font-weight:400}

/* ── Drop zone ── */
.spb-dropzone{
  border:2px dashed #dc2626;border-radius:10px;
  background:#fafafa;transition:all .25s;position:relative;
  animation:spb-glow-red 2s ease-in-out infinite;
}
.spb-dropzone.spb-dragging,.spb-dropzone:hover{
  border-color:#f59e0b;border-style:dashed;background:#fffbeb;
  animation:spb-glow-yellow 1s ease-in-out infinite;
}
.spb-dropzone.spb-has-file{
  border-color:#16a34a;border-style:solid;background:#f0fdf4;
  animation:spb-glow-green 2.5s ease-in-out infinite;
}
.spb-dropzone-inner{
  padding:22px 16px;text-align:center;cursor:pointer;
  position:relative;z-index:1;pointer-events:none;
}
.spb-drop-icon{font-size:28px;display:block;margin-bottom:6px;transition:transform .2s;pointer-events:none}
.spb-dropzone:hover .spb-drop-icon{transform:translateY(-2px)}
.spb-drop-text{font-size:13px;font-weight:600;margin-bottom:3px;pointer-events:none}
.spb-drop-hint{font-size:11px;color:#9ca3af}
.spb-file-preview{
  display:flex;align-items:center;gap:8px;
  background:#f0fdf4;border:1px solid #a7f3d0;border-radius:8px;
  padding:8px 12px;margin-top:8px;font-size:12px;font-weight:700;
}
.spb-file-icon{font-size:16px;flex-shrink:0}
.spb-file-name{flex:1;color:#16a34a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spb-file-remove{background:none;border:none;cursor:pointer;font-size:14px;color:#9ca3af;padding:0;line-height:1;transition:color .15s}
.spb-file-remove:hover{color:#dc2626}
.spb-watermark-note{font-size:11px;color:#9ca3af;margin-top:6px;text-align:center}

/* ── Textarea ── */
.spb-textarea{
  width:100%;padding:9px 12px;border:1.5px solid #d1d5db;border-radius:8px;
  font-size:13px;font-family:inherit;resize:vertical;min-height:65px;
  outline:none;transition:border .15s;background:#fff;color:inherit;
  -webkit-appearance:none;
}
.spb-textarea:focus{border-color:#1a56db}

/* ── Secure ── */
.spb-secure{text-align:center;font-size:11px;color:#9ca3af;padding:8px;margin-top:4px}
.spb-no-methods{color:#6b7280;font-size:13px}

/* ── RTL ── */
[dir="rtl"] .spb-instructions{border-inline-start:3px solid #1a56db;border-inline-end:none}
[dir="ltr"] .spb-instructions{border-inline-start:3px solid #1a56db}

/* v5.6.26: SmartPay checkout uses one consistent light surface on desktop and mobile. */
.spb-input,.spb-textarea{background:#1f2937;border-color:#374151;color:#f9fafb}
  .spb-accordion{border-color:#374151}
  .spb-acc-item{border-color:#374151}
}

/* ── Theme conflict fixes ── */
.spb-wrap .woocommerce-input-wrapper{margin:0!important;padding:0!important}
.spb-wrap p.form-row{margin:0!important;padding:0!important}

/* ── Sender blocks (outside accordion) ── */
.spb-sender-block{margin-bottom:12px}
.spb-sender-block .spb-section{margin-bottom:0}

/* WooCommerce Checkout Block compatibility */
.spb-block-checkout{box-sizing:border-box;width:100%;padding:12px 0;font-family:inherit;color:inherit}
.spb-block-description{margin:0 0 12px;line-height:1.7}
.spb-block-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:0 0 14px}
.spb-block-method{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:9px 10px;border:1px solid #dcdcde;border-radius:8px;background:#fff;color:#1e1e1e;cursor:pointer;font:inherit;text-align:center}
.spb-block-method:hover,.spb-block-method.is-active{border-color:#007cba;box-shadow:0 0 0 1px #007cba}
.spb-block-method img{width:30px;height:30px;object-fit:contain}
.spb-block-selected{padding:12px;margin-bottom:12px;border-radius:8px;background:rgba(0,124,186,.06);overflow-wrap:anywhere}
.spb-block-selected p{margin:3px 0}
.spb-block-instructions{margin-top:8px;line-height:1.7}
.spb-block-fields{display:grid;gap:10px;margin-bottom:10px}
.spb-block-checkout label{display:grid;gap:6px;font-weight:600;margin-bottom:10px}
.spb-block-checkout input[type=text],.spb-block-checkout input[type=tel],.spb-block-checkout textarea{box-sizing:border-box;width:100%;min-height:44px;padding:9px 11px;border:1px solid #949494;border-radius:4px;background:var(--wp--preset--color--base,#fff);color:inherit;font:inherit}
.spb-block-checkout textarea{min-height:70px;resize:vertical}
.spb-block-upload{padding:11px;border:1px dashed #949494;border-radius:7px}
.spb-block-upload input[type=file]{max-width:100%;font:inherit}
.spb-block-upload small{display:block;margin-top:7px}
.spb-upload-ok{color:#15803d}.spb-upload-error{color:#b91c1c}.spb-uploading{color:#6b7280}
@media(max-width:480px){.spb-block-methods{grid-template-columns:1fr 1fr}}

/* Bank transfer guide */
.spb-bank-guide-row{padding:12px 0 2px;display:flex;justify-content:flex-start}
.spb-bank-guide-btn{appearance:none;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:.18s ease}
.spb-bank-guide-btn:hover,.spb-bank-guide-btn:focus{background:#dbeafe;border-color:#93c5fd;outline:2px solid rgba(37,99,235,.12)}
.spb-bank-guide-dialog{width:min(650px,100%)}
.spb-bank-guide-heading{font-size:20px;font-weight:900;margin:0 38px 16px 0;color:#0f172a}
[dir="ltr"] .spb-bank-guide-heading{margin:0 0 16px 38px}
.spb-bank-guide-steps{margin:0;padding-inline-start:24px;font-size:14px;line-height:1.8}
.spb-bank-guide-steps li{margin:0 0 9px}
.spb-bank-video-btn{margin-top:18px;border:0;background:#0f2747;color:#fff;border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer;display:inline-flex;gap:7px;align-items:center}
.spb-bank-video-wrap{display:none;margin-top:16px;border-radius:12px;overflow:hidden;background:#000;aspect-ratio:16/9}
.spb-bank-video-wrap.open{display:block}.spb-bank-video-wrap iframe{width:100%;height:100%;border:0;display:block}


/* ── v5.5.4 Guided accordion checkout UX ── */
.spb-flow-step-title{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:900;color:#0f2747;margin:0 0 10px;padding:0 2px}
.spb-flow-num{width:24px;height:24px;min-width:24px;border-radius:999px;background:#0f2747;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1}
.spb-checkout-fields-slot{margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}
#spb-common-checkout-fields{display:block}
#spb-common-checkout-fields .spb-section{box-shadow:0 2px 10px rgba(15,39,71,.04)}
.spb-acc-item.spb-acc-open>.spb-acc-header{background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.98));box-shadow:inset 3px 0 0 var(--spb-color)}
[dir="rtl"] .spb-acc-item.spb-acc-open>.spb-acc-header{box-shadow:inset -3px 0 0 var(--spb-color)}
.spb-instapay-kind-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px;padding:5px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px}
.spb-kind-btn{min-height:42px;border:1px solid transparent;border-radius:9px;background:transparent;font:inherit;font-size:13px;font-weight:800;cursor:pointer;color:#475569;transition:.18s ease}
.spb-kind-btn.active{background:#fff;color:#0f2747;border-color:#dbeafe;box-shadow:0 3px 12px rgba(15,39,71,.08)}
.spb-bank-guide-row.spb-instapay-business-row{padding-top:12px;border-top:1px dashed #dbe3ee;margin-top:8px}
.spb-bank-guide-btn{width:auto;justify-content:center}
.spb-section-label .spb-flow-num{margin-inline-end:2px}
.spb-acc-label{font-weight:800}
.spb-row{transition:background .18s ease}
.spb-row:hover{background:rgba(248,250,252,.8)}
@media(max-width:600px){
  .spb-acc-header{padding:12px 10px}.spb-acc-label{font-size:13px}.spb-acc-inner{padding:12px 10px}
  .spb-info-card{padding:12px}.spb-row{grid-template-columns:minmax(92px,.8fr) minmax(0,1.2fr) auto;gap:7px}
  .spb-copy-btn{padding:7px 9px;font-size:11px}.spb-bank-guide-btn{width:100%;justify-content:center;min-height:44px}
  .spb-checkout-fields-slot{margin-top:12px;padding-top:12px}.spb-section{padding:12px}
}


/* ==============================================================
   SmartPay Bridge v5.5.5 — Adaptive checkout UI hardening
   Scoped to .spb-wrap so themes/builders cannot break layout.
   Uses container queries where supported, with viewport fallbacks.
   ============================================================== */
.spb-wrap{
  --spb-navy:#0f2747;
  --spb-purple:#6d28d9;
  --spb-border:#dfe5ee;
  --spb-soft:#f8fafc;
  --spb-muted:#64748b;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:0!important;
  position:relative;
  isolation:isolate;
  container-type:inline-size;
  line-height:1.5;
}
.spb-wrap,.spb-wrap *{box-sizing:border-box!important;min-width:0}
.spb-wrap img{max-width:100%;height:auto}
.spb-wrap button,.spb-wrap input,.spb-wrap textarea,.spb-wrap select{font:inherit!important;letter-spacing:normal}
.spb-wrap button{text-transform:none!important}
.spb-wrap input,.spb-wrap textarea{max-width:100%!important}
.spb-accordion{width:100%!important;max-width:100%!important;background:#fff;border-color:var(--spb-border);box-shadow:0 8px 28px rgba(15,39,71,.055)}
.spb-acc-item{background:#fff}
.spb-acc-header{min-height:62px;padding:12px 14px;gap:11px}
.spb-acc-logo{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important}
.spb-acc-label{min-width:0;overflow-wrap:anywhere;word-break:normal;line-height:1.35}
.spb-acc-body{width:100%;max-width:100%;overflow:hidden}
/* Never truncate long checkout content if inline JS height is unavailable. */
.spb-acc-item.spb-acc-open>.spb-acc-body{max-height:5000px}
.spb-acc-inner{width:100%;max-width:100%}

/* Transfer detail cards: prevent account/phone characters from collapsing vertically. */
.spb-row{
  width:100%;
  min-height:48px;
  flex-wrap:nowrap;
  overflow:visible;
}
.spb-lbl{min-width:124px;max-width:42%;line-height:1.35;overflow-wrap:break-word;word-break:normal}
.spb-val{
  min-width:0;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  white-space:normal;
  line-height:1.45;
}
.spb-mono{
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  line-height:1.45;
  letter-spacing:.025em;
}
.spb-copy-btn{min-width:max-content!important;max-width:none!important;align-self:center}
.spb-bank-val{min-width:0;flex-wrap:wrap}

/* Make the required proof step visually impossible to miss. */
#spb-common-checkout-fields{width:100%;max-width:100%}
#spb-common-checkout-fields>.spb-section{position:relative}
#spb-common-checkout-fields>.spb-section:has(#spb-dropzone){
  border-color:#c4b5fd;
  background:linear-gradient(180deg,#fff,#fbfaff);
  box-shadow:0 0 0 1px rgba(109,40,217,.06),0 8px 24px rgba(109,40,217,.07);
}
.spb-dropzone{width:100%;min-height:150px;display:flex;align-items:center;justify-content:center}
.spb-dropzone-inner{width:100%;padding:24px 16px}
.spb-drop-text{font-size:13px;line-height:1.5}
.spb-watermark-note{line-height:1.5}
.spb-textarea{display:block!important;width:100%!important;min-height:96px}
.spb-sender-fields{width:100%;min-width:0}
.spb-field{min-width:0}
.spb-input{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;line-height:1.3!important}

/* Wide checkout columns: sender info full width, proof and notes side-by-side. */
@container (min-width: 720px){
  #spb-common-checkout-fields{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:14px;
    align-items:stretch;
  }
  #spb-common-checkout-fields>.spb-sender-block{grid-column:1/-1;margin:0}
  #spb-common-checkout-fields>.spb-section{margin:0;height:100%}
  #spb-common-checkout-fields>.spb-secure{grid-column:1/-1}
  .spb-dropzone{min-height:184px}
  .spb-textarea{min-height:184px}
}

/* Medium/narrow checkout: card-like rows, regardless of viewport width.
   This is based on the actual checkout column width, so it also works with
   two-column themes, sidebars, Elementor, Gutenberg and custom builders. */
@container (max-width: 560px){
  .spb-wrap{font-size:13px}
  .spb-accordion{border-radius:12px}
  .spb-acc-header{padding:10px 11px;min-height:58px}
  .spb-acc-inner{padding:12px 10px 14px}
  .spb-flow-step-title{font-size:12.5px;margin-bottom:9px}
  .spb-info-rows{gap:10px}
  .spb-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto;
    gap:0!important;
    padding:0!important;
    border-radius:11px;
    overflow:hidden;
    align-items:center;
  }
  .spb-lbl{
    grid-column:1/-1;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    padding:8px 10px!important;
    border-inline-end:0!important;
    border-bottom:1px solid #e8edf4;
    align-self:auto;
    font-size:10.5px;
    line-height:1.35;
  }
  .spb-val{
    grid-column:1;
    padding:11px 10px!important;
    font-size:13px;
    width:100%;
  }
  .spb-mono{font-size:13px!important;letter-spacing:0!important}
  .spb-copy-btn{
    grid-column:2;
    margin:6px 7px!important;
    padding:8px 10px!important;
    min-height:36px;
    min-width:64px!important;
    font-size:10.5px!important;
  }
  .spb-inline-bank-logo{width:38px;height:26px;flex-basis:38px}
  .spb-instapay-kind-picker{grid-template-columns:1fr 1fr;gap:5px;padding:4px}
  .spb-kind-btn{padding:8px 6px!important;font-size:11.5px!important;min-height:40px}
  .spb-sender-fields{grid-template-columns:1fr!important;gap:10px}
  .spb-section{padding:12px 10px;border-radius:11px}
  .spb-section-label{font-size:12px;line-height:1.4}
  .spb-input,.spb-textarea{font-size:16px!important} /* prevents iOS zoom */
  .spb-bank-guide-row{display:block}
  .spb-bank-guide-btn{width:100%!important;white-space:normal;text-align:center;line-height:1.4}
  .spb-app-btn{width:100%;justify-content:center;white-space:normal;text-align:center}
  .spb-qr-frame{max-width:100%}
  .spb-qr-img{width:min(170px,58vw)!important;height:auto!important;aspect-ratio:1/1;min-width:0!important;max-width:170px!important;min-height:0!important;max-height:none!important}
  .spb-help-dialog{width:min(100%,520px);max-width:calc(100vw - 20px);padding:20px 14px}
}

/* Extra-small checkout columns. */
@container (max-width: 360px){
  .spb-acc-radio{display:none}
  .spb-acc-logo{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important}
  .spb-copy-btn{min-width:54px!important;padding:7px 8px!important}
  .spb-copy-btn::before{display:none}
  .spb-flow-num{width:22px;height:22px;min-width:22px}
}

/* Viewport fallbacks for browsers without container queries. */
@supports not (container-type:inline-size){
  @media(max-width:600px){
    .spb-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
    .spb-lbl{grid-column:1/-1;width:100%!important;max-width:none!important;min-width:0!important;border-inline-end:0!important;border-bottom:1px solid #e8edf4}
    .spb-val{grid-column:1}.spb-copy-btn{grid-column:2}
    .spb-input,.spb-textarea{font-size:16px!important}
  }
}

/* Theme/builder hardening. Only normalize SmartPay elements, never Woo fields outside wrapper. */
.spb-wrap .spb-acc-header,.spb-wrap .spb-row,.spb-wrap .spb-section,.spb-wrap .spb-field,.spb-wrap .spb-dropzone{float:none!important;clear:none!important}
.spb-wrap .spb-copy-btn,.spb-wrap .spb-kind-btn,.spb-wrap .spb-bank-guide-btn,.spb-wrap .spb-help-btn{
  height:auto!important;
  line-height:1.25!important;
  text-decoration:none!important;
}
.spb-wrap label{float:none!important;width:auto!important;max-width:100%}
.spb-wrap p{max-width:100%}

/* v5.6.2 — InstaPay username suffix, theme-safe and responsive */
.spb-wrap .spb-instapay-account-input{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  direction:ltr!important;
}
.spb-wrap .spb-instapay-account-input > #spb-instapay-account{
  display:block!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
  border-top-right-radius:0!important;
  border-bottom-right-radius:0!important;
  border-right:0!important;
}
.spb-wrap .spb-instapay-account-input > .spb-instapay-suffix{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:118px!important;
  max-width:132px!important;
  margin:0!important;
  padding:0 14px!important;
  background:#672a7d!important;
  color:#fff!important;
  border:1px solid #672a7d!important;
  border-radius:0 10px 10px 0!important;
  box-sizing:border-box!important;
  font-family:Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-transform:none!important;
  letter-spacing:0!important;
  writing-mode:horizontal-tb!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  user-select:none;
}
@container (max-width:520px){
  .spb-wrap .spb-instapay-account-input > .spb-instapay-suffix{min-width:96px!important;max-width:105px!important;padding:0 9px!important;font-size:15px!important}
}
@media (max-width:520px){
  .spb-wrap .spb-instapay-account-input > .spb-instapay-suffix{min-width:96px!important;max-width:105px!important;padding:0 9px!important;font-size:15px!important}
}
@media (max-width:360px){
  .spb-wrap .spb-instapay-account-input > .spb-instapay-suffix{min-width:84px!important;max-width:90px!important;padding:0 6px!important;font-size:13px!important}
}

/* v5.6.8: keep field help icon at the logical end on LTR/RTL and gateway icon tidy */
.spb-lbl{gap:8px!important}
.spb-lbl>.spb-help-btn{margin-inline-start:auto!important;margin-inline-end:0!important}
.spb-gateway-icon{width:28px!important;height:28px!important;object-fit:contain!important;vertical-align:middle!important;margin-inline-start:8px!important;border-radius:5px!important}

/* v5.6.9 — render the configured bank logo beside the bank name. */
.spb-bank-val>span{min-width:0;overflow-wrap:anywhere}
.spb-block-bank-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.spb-block-bank-logo{width:44px;height:28px;object-fit:contain;padding:2px;background:#fff;border:1px solid #e2e8f0;border-radius:5px;flex:0 0 44px}
@media(max-width:480px){.spb-block-bank-logo{width:38px;height:26px;flex-basis:38px}}

/* v5.6.11 — InstaPay Company Account bank logo: isolated from gateway/InstaPay logo. */
.spb-wrap .spb-instapay-business-row .spb-bank-val{
  display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;
}
.spb-wrap .spb-instapay-business-row .spb-inline-bank-logo{
  display:block!important;width:auto!important;height:auto!important;
  max-width:42px!important;max-height:32px!important;object-fit:contain!important;
  flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;
}
[dir="rtl"] .spb-wrap .spb-instapay-business-row .spb-bank-val{flex-direction:row!important;}
@media(max-width:480px){
  .spb-wrap .spb-instapay-business-row .spb-inline-bank-logo{max-width:36px!important;max-height:28px!important}
}

/* v5.6.14 compact main gateway icon */
#payment .payment_methods li.payment_method_smartpay_bridge > label > img.spb-main-gateway-icon,.wc_payment_method.payment_method_smartpay_bridge > label > img.spb-main-gateway-icon{width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important;vertical-align:middle!important;float:none!important;margin-inline-start:8px!important;margin-inline-end:0!important}.spb-gateway-icon{width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important;vertical-align:middle!important;margin-inline-start:8px!important}

/* v5.6.16 — Mobile Compact Checkout UX.
   Deliberately no bottom-navigation compensation: the reported overlap was from a stitched screenshot. */
@media (max-width:480px){
  /* Use almost all available checkout width. */
  .spb-wrap{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
  .spb-wrap .spb-method-body,.spb-wrap .spb-common-checkout-fields{padding:10px!important}
  .spb-wrap .spb-method-card{margin-inline:0!important;border-radius:12px!important}
  .spb-wrap .spb-section{margin:9px 0!important;padding:10px!important;border-radius:12px!important}
  .spb-wrap .spb-row{min-height:0!important;padding:9px 10px!important}
  .spb-wrap .spb-section-label{margin-bottom:7px!important;font-size:13px!important;line-height:1.25!important}
  .spb-wrap .spb-flow-num{width:24px!important;height:24px!important;min-width:24px!important;font-size:12px!important}
  .spb-wrap .spb-lbl{font-size:10.5px!important;line-height:1.2!important}
  .spb-wrap .spb-val{font-size:14px!important;line-height:1.25!important}
  .spb-wrap .spb-copy-btn{min-height:34px!important;padding:6px 9px!important;font-size:12px!important}
  .spb-wrap .spb-help-btn{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;font-size:11px!important;border-radius:8px!important}
  .spb-wrap .spb-app-btn{min-height:42px!important;padding:9px 12px!important;font-size:14px!important;border-radius:9px!important}
  .spb-wrap input.spb-input,.spb-wrap .spb-input{min-height:42px!important;padding:9px 11px!important;font-size:16px!important}
  .spb-wrap .spb-textarea{min-height:82px!important;padding:10px!important;font-size:16px!important;border-radius:12px!important}
  .spb-wrap .spb-upload-area{min-height:108px!important;padding:14px 10px!important;border-radius:11px!important}
  .spb-wrap .spb-upload-area .spb-upload-icon{font-size:25px!important;margin-bottom:5px!important}
  .spb-wrap .spb-watermark-note,.spb-wrap .spb-secure{font-size:10px!important;line-height:1.3!important;margin-top:7px!important;padding:5px!important}
  .spb-wrap .spb-inline-bank-logo{max-width:34px!important;max-height:26px!important}
  /* Optional SmartPay note starts compact; user can still type normally. */
  .spb-wrap .spb-smartpay-note .spb-textarea{min-height:76px!important}
}
@media (min-width:481px) and (max-width:767px){
  .spb-wrap{width:100%!important;max-width:none!important}
}

/* v5.6.17 — mobile QR disclosure, compact instruction trigger and one-line InstaPay phone. */
.spb-mobile-disclosure{display:none}
@media(max-width:480px){
  .spb-wrap .spb-mobile-disclosure{
    display:flex!important;width:100%!important;min-height:42px!important;align-items:center!important;
    justify-content:space-between!important;gap:10px!important;padding:9px 12px!important;
    border:1px solid rgba(148,163,184,.35)!important;border-radius:10px!important;
    background:rgba(255,255,255,.06)!important;color:inherit!important;font:inherit!important;
    font-size:13px!important;font-weight:700!important;cursor:pointer!important;
  }
  .spb-wrap .spb-qr-block{margin:10px 0!important}
  .spb-wrap .spb-qr-content{display:none!important;padding-top:9px!important}
  .spb-wrap .spb-qr-content.spb-mobile-open{display:block!important}
  .spb-wrap .spb-qr-toggle[aria-expanded="true"] .spb-disclosure-chevron{transform:rotate(180deg)}
  .spb-wrap .spb-disclosure-chevron{transition:transform .18s ease}
  .spb-wrap .spb-qr-img{width:min(190px,72vw)!important;height:auto!important;max-width:100%!important}
  .spb-wrap .spb-qr-frame{padding:10px!important}
  /* Existing How do I pay control keeps its established behavior, but reads visually as a compact accordion row. */
  .spb-wrap .spb-method-guide-row{padding:0!important;margin:8px 0!important}
  .spb-wrap .spb-method-guide-row .spb-bank-guide-btn{
    width:100%!important;min-height:42px!important;padding:9px 12px!important;border-radius:10px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;
  }
  /* Keep the phone itself on one LTR line; label stays above and Copy stays beside the number. */
  .spb-wrap .spb-instapay-phone-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"label label" "value copy"!important;column-gap:8px!important;row-gap:7px!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-lbl{grid-area:label!important}
  .spb-wrap .spb-instapay-phone-row .spb-val{
    grid-area:value!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
    letter-spacing:.03em!important;font-size:15px!important;direction:ltr!important;text-align:left!important;
    min-width:0!important;align-self:center!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-copy-btn{grid-area:copy!important;align-self:center!important}
}
@media(min-width:481px){
  .spb-wrap .spb-qr-content{display:block!important}
}

/* v5.6.19 — mobile polish: themed QR button, real QR modal, guide accordion, full phone number. */
.spb-mobile-qr-modal{display:none}
@media(max-width:480px){
  .spb-wrap .spb-qr-toggle{
    background:linear-gradient(135deg,var(--spb-method-color,#13b8b4),#176b8d)!important;
    color:#fff!important;border:0!important;box-shadow:0 6px 0 rgba(112,92,190,.22)!important;
    opacity:1!important;visibility:visible!important;
  }
  .spb-wrap .spb-qr-toggle span{color:#fff!important;opacity:1!important}
  /* Inline QR is desktop-only; mobile uses modal. */
  .spb-wrap .spb-qr-content{display:none!important}
  .spb-mobile-qr-modal{
    position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;
    align-items:center!important;justify-content:center!important;padding:18px!important;
    background:rgba(7,18,34,.76)!important;backdrop-filter:blur(4px);
  }
  .spb-mobile-qr-dialog{
    position:relative!important;width:min(92vw,390px)!important;max-height:88vh!important;overflow:auto!important;
    background:#fff!important;color:#172033!important;border-radius:18px!important;padding:18px!important;
    box-shadow:0 24px 70px rgba(0,0,0,.35)!important;text-align:center!important;
  }
  .spb-mobile-qr-close{
    position:absolute!important;top:8px!important;inset-inline-end:8px!important;width:36px!important;height:36px!important;
    border:0!important;border-radius:50%!important;background:#eef2f7!important;color:#172033!important;
    font-size:26px!important;line-height:34px!important;cursor:pointer!important;
  }
  .spb-mobile-qr-title{font-size:16px!important;font-weight:800!important;margin:4px 40px 14px!important}
  .spb-mobile-qr-popup-img{display:block!important;width:min(74vw,280px)!important;height:auto!important;max-width:100%!important;margin:0 auto!important;object-fit:contain!important}
  .spb-mobile-qr-popup-hint{font-size:12px!important;color:#64748b!important;margin-top:10px!important}
  html.spb-modal-lock,html.spb-modal-lock body{overflow:hidden!important}

  /* How do I pay becomes a true mobile accordion. */
  .spb-wrap .spb-method-guide-row .spb-bank-guide-btn{position:relative!important}
  .spb-wrap .spb-method-guide-row .spb-bank-guide-btn:after{content:"⌄";margin-inline-start:auto!important;transition:transform .18s ease}
  .spb-wrap .spb-method-guide-row .spb-bank-guide-btn[aria-expanded="true"]:after{transform:rotate(180deg)}
  .spb-wrap .spb-mobile-instructions-content{display:none!important}
  .spb-wrap .spb-mobile-instructions-content.spb-mobile-open{display:block!important;margin-top:8px!important}
  .spb-wrap .spb-mobile-instructions-content .spb-instructions{margin-top:0!important}

  /* Phone row: reserve enough width for the complete number; Copy can never cover it. */
  .spb-wrap .spb-instapay-phone-row{
    grid-template-columns:minmax(120px,1fr) auto!important;overflow:visible!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-val{
    width:auto!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;
    white-space:nowrap!important;font-size:14px!important;letter-spacing:.02em!important;padding-inline:0!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-copy-btn{
    position:static!important;width:auto!important;min-width:62px!important;max-width:72px!important;
    padding-inline:8px!important;transform:none!important;
  }
}
@media(min-width:481px){
  .spb-wrap .spb-mobile-instructions-content{display:block!important}
}

/* v5.6.20 — strict QR visibility: trigger mobile only, inline QR desktop only. */
.spb-wrap .spb-qr-toggle{display:none!important}
#spb-mobile-qr-modal{display:none!important}
@media(max-width:480px){
 .spb-wrap .spb-qr-toggle{display:flex!important;background:linear-gradient(135deg,var(--spb-method-color,#b000b8),#176b8d)!important;color:#fff!important;opacity:1!important;visibility:visible!important}
 .spb-wrap .spb-qr-toggle span{color:#fff!important;opacity:1!important}
 #spb-mobile-qr-modal.spb-mobile-qr-modal{display:flex!important}
 .spb-wrap .spb-qr-content{display:none!important}
}
@media(min-width:481px){
 .spb-wrap .spb-qr-toggle{display:none!important}
 #spb-mobile-qr-modal{display:none!important}
 .spb-wrap .spb-qr-content{display:block!important}
}

/* v5.6.21 — keep mobile action buttons inside transfer cards without wrapping values. */
@media(max-width:480px){
  /* All transfer rows clip decorative overflow safely inside their rounded card. */
  .spb-wrap .spb-row{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }

  /* Header/label line: reserve a fixed touch-safe slot for the help button. */
  .spb-wrap .spb-row .spb-lbl{
    box-sizing:border-box!important;
    min-width:0!important;
    padding-inline-end:40px!important;
  }
  .spb-wrap .spb-row .spb-help-btn{
    width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;
    position:absolute!important;inset-inline-end:9px!important;top:9px!important;
    margin:0!important;transform:none!important;box-sizing:border-box!important;
  }

  /* Beneficiary/name stays on one line and uses all remaining width. */
  .spb-wrap .spb-row .spb-val{
    min-width:0!important;max-width:100%!important;
  }
  .spb-wrap .spb-instapay-personal-row:not(.spb-instapay-phone-row) .spb-val{
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }

  /* Phone: label full width; value + Copy share a controlled second row. */
  .spb-wrap .spb-instapay-phone-row{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 62px!important;
    grid-template-areas:"label label" "value copy"!important;
    column-gap:7px!important;row-gap:7px!important;
    padding:9px 10px!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-lbl{
    grid-area:label!important;width:100%!important;padding-inline-end:40px!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-val{
    grid-area:value!important;
    direction:ltr!important;text-align:left!important;
    white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
    width:auto!important;max-width:none!important;min-width:0!important;
    font-size:14px!important;letter-spacing:.015em!important;
    align-self:center!important;
  }
  .spb-wrap .spb-instapay-phone-row .spb-copy-btn{
    grid-area:copy!important;position:static!important;
    width:62px!important;min-width:62px!important;max-width:62px!important;
    height:34px!important;min-height:34px!important;
    padding:5px 6px!important;margin:0!important;transform:none!important;
    font-size:12px!important;line-height:1!important;box-sizing:border-box!important;
    align-self:center!important;justify-self:end!important;
  }
}

/* v5.6.22 — QR accordion on phones only. */
@media(max-width:480px){
  .spb-wrap .spb-qr-toggle{
    display:flex!important;
    width:100%!important;
    opacity:1!important;
    visibility:visible!important;
  }
  .spb-wrap .spb-qr-content{
    display:none!important;
    margin-top:10px!important;
    padding:10px!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.06)!important;
  }
  .spb-wrap .spb-qr-content.spb-mobile-open{
    display:block!important;
  }
  .spb-wrap .spb-qr-content .spb-qr-frame{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .spb-wrap .spb-qr-content .spb-qr-img{
    display:block!important;
    width:min(210px,72vw)!important;
    height:auto!important;
    max-width:100%!important;
    margin:0 auto!important;
    object-fit:contain!important;
  }
}
@media(min-width:481px){
  .spb-wrap .spb-qr-toggle{display:none!important}
  .spb-wrap .spb-qr-content{display:block!important}
}

/* v5.6.23 — authoritative mobile QR accordion rules.
   This final block intentionally wins over older accumulated QR experiments. */
.spb-wrap .spb-qr-toggle{display:none!important}
@media(max-width:480px){
  .spb-wrap .spb-qr-block{display:block!important;width:100%!important}
  .spb-wrap .spb-qr-toggle{
    display:flex!important;width:100%!important;box-sizing:border-box!important;
    align-items:center!important;justify-content:space-between!important;
    visibility:visible!important;opacity:1!important;
  }
  .spb-wrap .spb-qr-content{
    display:none!important;width:100%!important;box-sizing:border-box!important;
    max-height:0!important;overflow:hidden!important;opacity:0!important;
    margin:0!important;padding:0!important;
    transition:max-height .25s ease,opacity .2s ease,padding .2s ease,margin .2s ease!important;
  }
  .spb-wrap .spb-qr-content.spb-mobile-open{
    display:block!important;max-height:420px!important;overflow:visible!important;opacity:1!important;
    margin-top:10px!important;padding:10px!important;
  }
  .spb-wrap .spb-qr-content .spb-qr-frame{display:flex!important;justify-content:center!important;align-items:center!important}
  .spb-wrap .spb-qr-content .spb-qr-img{
    display:block!important;width:min(210px,72vw)!important;height:auto!important;max-width:100%!important;margin:0 auto!important;
  }
}
@media(min-width:481px){
  .spb-wrap .spb-qr-toggle{display:none!important}
  .spb-wrap .spb-qr-content{display:block!important;max-height:none!important;overflow:visible!important;opacity:1!important}
}

/* v5.6.24 — wider phone layout: reduce empty gutters around SmartPay cards. */
@media(max-width:480px){
  .spb-wrap{width:100%!important;max-width:100%!important;margin-inline:0!important}
  .spb-wrap .spb-accordion{width:100%!important;margin-inline:0!important;border-radius:10px!important}
  .spb-wrap .spb-acc-header{padding:10px 10px!important;gap:8px!important}
  .spb-wrap .spb-acc-inner{padding:8px 7px 10px!important}
  .spb-wrap .spb-info-card{margin-bottom:9px!important}
  .spb-wrap .spb-info-rows{gap:6px!important}
  .spb-wrap .spb-row{padding:8px 8px!important;border-radius:9px!important}
  .spb-wrap .spb-method-body,
  .spb-wrap .spb-common-checkout-fields{padding-inline:7px!important}
  .spb-wrap .spb-section{padding:8px!important;margin:7px 0!important}
}

/* v5.6.25 — deterministic SmartPay accordion motion. */
.spb-wrap .spb-acc-header:focus-visible{
  outline:2px solid var(--spb-color,#1a56db)!important;
  outline-offset:-2px!important;
}
.spb-wrap .spb-acc-body{
  max-height:0;
  overflow:hidden!important;
  opacity:.985;
  transition:max-height .28s cubic-bezier(.4,0,.2,1),opacity .18s ease!important;
  will-change:max-height;
}
.spb-wrap .spb-acc-item:not(.spb-acc-open)>.spb-acc-body{max-height:0!important;opacity:.86}
.spb-wrap .spb-acc-item.spb-acc-open>.spb-acc-body{opacity:1}
@media (prefers-reduced-motion: reduce){
  .spb-wrap .spb-acc-body,.spb-wrap .spb-acc-chevron{transition:none!important}
}
\n/* v5.6.26 — authoritative accordion + mobile surface consistency */\n.spb-wrap,.spb-wrap .spb-accordion,.spb-wrap .spb-acc-item,.spb-wrap .spb-acc-header,.spb-wrap .spb-acc-body{background:#fff!important;color:#172033!important}\n.spb-wrap .spb-info-card{background:transparent!important;color:#172033!important}\n.spb-wrap .spb-acc-body{overflow:hidden!important;max-height:0!important;opacity:0!important;transition:max-height .30s cubic-bezier(.4,0,.2,1),opacity .18s ease!important}\n.spb-wrap .spb-acc-item.spb-acc-open>.spb-acc-body{opacity:1!important}\n.spb-wrap .spb-acc-chevron{transform:rotate(45deg)!important}\n.spb-wrap .spb-acc-item.spb-acc-open>.spb-acc-header .spb-acc-chevron{transform:rotate(225deg)!important}\n@media(max-width:480px){\n  .spb-wrap .spb-accordion{background:#fff!important}\n  .spb-wrap .spb-acc-header,.spb-wrap .spb-acc-body{background:#fff!important}\n}\n