/* Checkout MB WAY — modal de página única */
.gx-jc{position:fixed;inset:0;z-index:2147483000;display:none}
.gx-jc.is-open{display:block}
.gx-jc__overlay{position:absolute;inset:0;border:0;padding:0;width:100%;background:rgba(12,11,26,.62);backdrop-filter:blur(4px);cursor:pointer;animation:gx-jc-fade .2s ease}
.gx-jc__panel{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;width:min(980px,100%);max-height:94dvh;margin:0 auto;border-radius:24px 24px 0 0;background:#fff;color:#20235c;font-family:Poppins,sans-serif;box-shadow:0 -20px 70px rgba(12,11,26,.35);overflow:hidden;animation:gx-jc-up .32s cubic-bezier(.16,1,.3,1)}
@media(min-width:721px){
  .gx-jc__panel{inset:50% auto auto 50%;transform:translate(-50%,-50%);border-radius:24px;max-height:92dvh;animation:gx-jc-in .32s cubic-bezier(.16,1,.3,1)}
}
@keyframes gx-jc-fade{from{opacity:0}to{opacity:1}}
@keyframes gx-jc-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes gx-jc-in{from{opacity:0;transform:translate(-50%,-46%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%)}}
@media(prefers-reduced-motion:reduce){.gx-jc__panel,.gx-jc__overlay{animation:none}}

.gx-jc__head{display:flex;align-items:center;gap:12px;padding:18px 20px 14px;border-bottom:1px solid #eceaf6}
.gx-jc__head h2{margin:0;font:700 19px/24px "Familjen Grotesk",Poppins,sans-serif}
.gx-jc__badge{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:5px 10px;border-radius:999px;background:#f1effc;color:#4b3bbf;font:600 11px/14px Poppins,sans-serif;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.gx-jc__close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#f1f1f7;color:#20235c;font-size:20px;line-height:1;cursor:pointer}
.gx-jc__close:hover{background:#e6e5f2}

.gx-jc__body{display:grid;gap:0;overflow:auto;-webkit-overflow-scrolling:touch}
@media(min-width:721px){.gx-jc__body{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}}

.gx-jc__form{padding:18px 20px 22px;min-width:0}
.gx-jc__summary{padding:18px 20px 22px;background:#faf9ff;border-top:1px solid #eceaf6;min-width:0}
@media(min-width:721px){.gx-jc__summary{border-top:0;border-left:1px solid #eceaf6}
  .gx-jc__body{grid-template-areas:"form summary"}
  .gx-jc__form{grid-area:form}.gx-jc__summary{grid-area:summary}}

.gx-jc__legend{margin:0 0 12px;color:#5b6b86;font-size:13px;line-height:19px}
.gx-jc__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gx-jc__field{display:flex;flex-direction:column;gap:5px;min-width:0}
.gx-jc__field--wide{grid-column:1/-1}
.gx-jc__field label{font:600 12px/16px Poppins,sans-serif;color:#20235c}
.gx-jc__field label span{color:#8b8aa6;font-weight:500}
.gx-jc__field input{width:100%;min-height:46px;padding:0 13px;border:1.5px solid #e0dced;border-radius:12px;background:#fff;color:#20235c;font:500 15px/20px Poppins,sans-serif}
.gx-jc__field input:focus-visible{outline:0;border-color:#6d55d9;box-shadow:0 0 0 3px rgba(109,85,217,.18)}
.gx-jc__field input[aria-invalid="true"]{border-color:#d93a3a;background:#fff8f8}
.gx-jc__phone{display:flex;align-items:stretch;border:1.5px solid #e0dced;border-radius:12px;background:#fff;overflow:hidden}
.gx-jc__phone:focus-within{border-color:#6d55d9;box-shadow:0 0 0 3px rgba(109,85,217,.18)}
.gx-jc__phone b{display:grid;place-items:center;padding:0 11px;background:#f4f2fd;color:#4b3bbf;font:600 14px/18px Poppins,sans-serif;border-right:1.5px solid #e0dced}
.gx-jc__phone input{border:0;border-radius:0;box-shadow:none!important}
.gx-jc__error{margin:4px 0 0;color:#b3261e;font:500 12px/16px Poppins,sans-serif}
.gx-jc__alert{margin:0 0 14px;padding:11px 13px;border-radius:12px;background:#fff1f1;color:#9b1c1c;font:500 13px/19px Poppins,sans-serif}
.gx-jc__alert[hidden]{display:none}

.gx-jc__pay{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;margin-top:16px;padding:0 20px;border:0;border-radius:999px;background:#6d55d9;color:#fff;font:600 16px/20px Poppins,sans-serif;cursor:pointer}
.gx-jc__pay:hover:not(:disabled){background:#5a43c4}
.gx-jc__pay:disabled{opacity:.6;cursor:default}
.gx-jc__legal{margin:10px 0 0;color:#8b8aa6;font:500 11px/16px Poppins,sans-serif;text-align:center}

.gx-jc__lines{margin:0 0 12px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.gx-jc__line{display:flex;align-items:center;gap:10px;font-size:13px}
.gx-jc__line img{width:44px;height:44px;border-radius:10px;object-fit:cover;background:#f1effc;flex:none}
.gx-jc__line span{flex:1;min-width:0}
.gx-jc__line strong{display:block;font:600 13px/18px Poppins,sans-serif}
.gx-jc__line small{color:#8b8aa6;font-size:12px}
.gx-jc__line b{font:600 13px/18px Poppins,sans-serif;white-space:nowrap}
.gx-jc__totals{margin:0;border-top:1px solid #e7e4f3;padding-top:12px;display:flex;flex-direction:column;gap:7px;font-size:13px;color:#5b6b86}
.gx-jc__totals div{display:flex;justify-content:space-between;gap:10px}
.gx-jc__totals div.is-discount{color:#2f8f5b;font-weight:600}
.gx-jc__totals div.is-total{margin-top:4px;padding-top:9px;border-top:1px solid #e7e4f3;color:#20235c;font:700 17px/22px "Familjen Grotesk",Poppins,sans-serif}
.gx-jc__trust{margin:14px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;color:#5b6b86;font-size:12px}
.gx-jc__trust li::before{content:"✓";margin-right:7px;color:#2f8f5b;font-weight:700}

/* Estado "a aguardar confirmação no telemóvel" */
.gx-jc__wait{display:none;padding:26px 22px 28px;text-align:center}
.gx-jc.is-waiting .gx-jc__body{display:none}
.gx-jc.is-waiting .gx-jc__wait{display:block}
.gx-jc__wait h3{margin:0 0 8px;font:700 21px/27px "Familjen Grotesk",Poppins,sans-serif}
.gx-jc__wait p{margin:0 auto 14px;max-width:420px;color:#5b6b86;font-size:14px;line-height:21px}
.gx-jc__spinner{width:46px;height:46px;margin:0 auto 16px;border:4px solid #e7e4f3;border-top-color:#6d55d9;border-radius:50%;animation:gx-jc-spin 1s linear infinite}
@keyframes gx-jc-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.gx-jc__spinner{animation-duration:3s}}
.gx-jc__steps{margin:0 auto 16px;padding:0;max-width:380px;list-style:none;text-align:left;color:#20235c;font-size:13px;line-height:20px;display:flex;flex-direction:column;gap:8px}
.gx-jc__steps li{display:flex;gap:9px}
.gx-jc__steps li i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#f1effc;color:#4b3bbf;font:700 11px/1 Poppins,sans-serif;font-style:normal;flex:none}
.gx-jc__clock{display:inline-block;padding:6px 12px;border-radius:999px;background:#f4f2fd;color:#4b3bbf;font:600 13px/18px Poppins,sans-serif;font-variant-numeric:tabular-nums}
.gx-jc__wait-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:18px}
.gx-jc__ghost{min-height:46px;padding:0 20px;border:1.5px solid #ddd8ef;border-radius:999px;background:#fff;color:#20235c;font:600 14px/18px Poppins,sans-serif;cursor:pointer}
.gx-jc__ghost:hover{background:#f7f6ff}
.gx-jc__state{margin:0 auto;max-width:420px;font-size:14px;line-height:21px}
.gx-jc__icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 14px;border-radius:50%;font-size:27px}
.gx-jc__icon--ok{background:#e8f6ee;color:#2f8f5b}
.gx-jc__icon--bad{background:#fdecec;color:#b3261e}
.gx-jc__ref{margin:14px 0 0;color:#8b8aa6;font-size:11px;word-break:break-all}
