/* MG V5.1 responsive, high-resolution vector payment presentation */
.mg-payment-card {position:relative;overflow:hidden;transition:box-shadow .2s, transform .2s;background:linear-gradient(160deg,#fffefd,#fff9f0);border:1px solid #e5d9c5}
.mg-payment-card:hover{box-shadow:0 11px 30px #0e344020;transform:translateY(-2px)}
.mg-payment-brand{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:76px;margin-bottom:15px;padding-bottom:14px;border-bottom:1px solid #efe7da}
.mg-payment-brand img{display:block;width:150px;max-width:100%;height:58px;object-fit:contain;object-position:left center}
.mg-payment-brand .mg-payment-brand-label{font-size:13px;font-weight:800;color:#6a5d4e}
.mg-payment-card .mg-payment-card-title{margin:0 0 12px}
.mg-payment-row{min-height:58px}.mg-payment-copy:focus-visible{outline:3px solid #e6ab5a;outline-offset:2px}
.mg-payment-embed{margin:26px auto;max-width:1150px;padding:0 18px}
.mg-payment-embed h2{font-size:clamp(21px,3vw,30px);color:#193b40;margin:0 0 16px}
.mg-payment-embed .mg-payment-cards{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}
.mg-payment-embed .mg-payment-status{margin:8px 0}
.mg-payment-floating{position:fixed;z-index:90;bottom:90px;left:18px;right:auto;max-width:min(390px,calc(100vw - 36px));max-height:65vh;overflow:auto;background:#fffdf8;border:1px solid #d5c1a3;border-radius:18px;padding:17px;box-shadow:0 9px 38px #0a1f2a45}
.mg-payment-floating [data-payment-floating-close]{display:inline-block;margin-inline-start:12px;border:0;background:#eadcc9;border-radius:8px;padding:7px 10px;cursor:pointer}
.mg-payment-float-trigger{position:fixed;z-index:85;bottom:97px;left:16px;border-radius:100px;background:#173f4a;color:#fff;border:1px solid #d7b77c;padding:11px 18px;box-shadow:0 5px 18px #0b26345c;cursor:pointer;font-weight:800}
.mg-payment-embed[hidden],.mg-payment-floating[hidden],.mg-payment-float-trigger[hidden]{display:none!important}
.mg-payment-brands-note{font-size:10px;color:#777;margin-top:5px}
@media(max-width:600px){.mg-payment-brand img{width:130px;height:55px}.mg-payment-floating{bottom:96px;left:9px;max-width:calc(100vw - 18px)}.mg-payment-float-trigger{bottom:88px}.mg-payment-embed{padding:0 12px}}

.mg-v51-embed{max-width:1160px;margin:24px auto;padding:22px;border-radius:18px;background:#fffaf2;border:1px solid #dbc9af;display:block;position:relative;z-index:1}
.mg-v51-embed h2{font-size:clamp(22px,3vw,32px);color:#183941;margin:0 0 16px}
.mg-v51-embed .mg-payment-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:14px}
.mg-v51-all{display:inline-block;margin-top:14px;color:#1c4650;font-weight:800}
.mg-v51-floating{position:fixed;bottom:86px;left:14px;z-index:110;background:#193f48;color:white;padding:13px 19px;border-radius:40px;border:1px solid #c9a16a;font:inherit;font-weight:800;box-shadow:0 8px 23px #132f3740;cursor:pointer}
html[data-mg-payment-view="compact"] .mg-payment-card{padding:12px!important}
html[data-mg-payment-view="compact"] .mg-payment-brand{min-height:45px;margin-bottom:8px;padding-bottom:8px}
html[data-mg-payment-view="compact"] .mg-payment-brand img{height:39px}
@media(max-width:620px){.mg-v51-embed{margin:18px 11px;padding:12px}.mg-v51-floating{bottom:83px;left:10px}}
.mg-payment-page h1{color:var(--ink)}
.mg-payment-card{background:var(--surface,#fffaf3);color:var(--ink,#202c31);border:1px solid #b4824e77;border-radius:14px;padding:15px;min-width:0}
.mg-payment-card h3{margin:8px 0}
.mg-payment-row{display:flex;gap:6px 10px;align-items:center;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #b4824e44}
.mg-payment-value{overflow-wrap:anywhere;min-width:0}
.mg-payment-copy{border:1px solid currentColor;border-radius:7px;background:transparent;color:inherit;min-height:32px}
