:root{--ceramyst-lime:#d6ff00;--ceramyst-dark:#292b32}
.ceramyst-pay-overlay[hidden]{display:none!important}
.ceramyst-pay-overlay{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px;background:rgba(9,11,14,.72);backdrop-filter:blur(5px)}
.ceramyst-pay-dialog{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);width:min(850px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid rgba(214,255,0,.5);border-radius:22px;background:var(--ceramyst-dark);box-shadow:0 24px 85px rgba(0,0,0,.5);color:#fff;font-family:Arial,Helvetica,sans-serif;text-align:left}
.ceramyst-pay-photo{min-height:440px;background:#a39781 url('images/compra-wompi-ceramyst.png') center 43%/cover no-repeat}
.ceramyst-pay-content{padding:40px 42px 35px;align-self:center}
.ceramyst-pay-logo{display:block;width:235px;max-width:76%;height:auto;margin:0 0 32px}
.ceramyst-pay-eyebrow{color:var(--ceramyst-lime);font-size:12px;letter-spacing:.19em;font-weight:700;text-transform:uppercase;margin:0 0 12px}
.ceramyst-pay-content h2{font-size:clamp(29px,3.2vw,43px);line-height:1.04;letter-spacing:-.03em;margin:0 0 17px;color:#fff;font-weight:700}
.ceramyst-pay-content h2 strong{color:var(--ceramyst-lime)}
.ceramyst-pay-intro{font-size:16px;line-height:1.48;color:#e4e5e5;margin:0 0 22px}
.ceramyst-pay-methods{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px;padding:0;list-style:none}
.ceramyst-pay-methods li{border:1px solid #777b7e;border-radius:999px;padding:7px 12px;color:#fff;font-size:13px;white-space:nowrap}
.ceramyst-pay-note{font-size:11px;line-height:1.35;color:#bfc3c6;margin:0 0 24px}
.ceramyst-pay-actions{display:flex;flex-wrap:wrap;gap:10px}
.ceramyst-pay-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:999px;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.02em;text-align:center;box-sizing:border-box}
.ceramyst-pay-primary{background:var(--ceramyst-lime);color:#1c1f22!important}
.ceramyst-pay-secondary{border:1px solid var(--ceramyst-lime);color:var(--ceramyst-lime)!important}
.ceramyst-pay-close{position:absolute;top:14px;right:14px;z-index:2;width:38px;height:38px;border:1px solid #8b8d8e;border-radius:50%;background:rgba(28,30,35,.88);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.ceramyst-pay-close:hover,.ceramyst-pay-close:focus-visible{background:var(--ceramyst-lime);color:#202124;outline:2px solid #fff;outline-offset:2px}
@media(max-width:700px){.ceramyst-pay-overlay{padding:12px}.ceramyst-pay-dialog{grid-template-columns:1fr;max-height:calc(100dvh - 24px)}.ceramyst-pay-photo{min-height:185px;height:24vh;max-height:260px;background-position:center 37%}.ceramyst-pay-content{padding:23px 23px 26px}.ceramyst-pay-logo{width:170px;margin-bottom:20px}.ceramyst-pay-intro{font-size:14px;margin-bottom:16px}.ceramyst-pay-content h2{font-size:30px}.ceramyst-pay-actions{display:grid}.ceramyst-pay-note{margin-bottom:17px}}

/* Panel blanco compacto: columnas que pueden reducirse sin desbordar */
.ceramyst-pay-content{min-width:0;box-sizing:border-box}
.ceramyst-pay-dialog{overflow-x:hidden}
.ceramyst-pay-qr{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;justify-items:center;gap:8px;width:100%;max-width:100%;box-sizing:border-box;padding:10px;margin:0 0 16px;background:#fff;border:1px solid #fff;border-radius:12px}
.ceramyst-pay-qr-code,.ceramyst-pay-qr-brands{min-width:0;width:100%;display:flex;justify-content:center;align-items:center}
.ceramyst-pay-dialog .ceramyst-pay-qr-code img{display:block;width:160px!important;max-width:100%!important;height:auto!important;min-width:0;box-sizing:border-box;margin:0;padding:0}
.ceramyst-pay-dialog .ceramyst-pay-qr-brands img{display:block;width:110px!important;max-width:100%!important;height:auto!important;min-width:0;box-sizing:border-box;margin:0;padding:0}
.ceramyst-pay-logo{width:270px;max-width:90%;margin-bottom:23px}
@media(max-width:700px){.ceramyst-pay-logo{width:195px;margin-bottom:16px}.ceramyst-pay-qr{padding:8px;gap:6px}.ceramyst-pay-dialog .ceramyst-pay-qr-code img{width:148px!important}.ceramyst-pay-dialog .ceramyst-pay-qr-brands img{width:100px!important}}

/* Marcas legibles y acceso QR al recogerse el anuncio */
.ceramyst-pay-qr{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.ceramyst-pay-dialog .ceramyst-pay-qr-brands img{width:140px!important}
.ceramyst-pay-compact[hidden]{display:none!important}
.ceramyst-pay-compact{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:99998;width:112px;max-width:calc(100vw - 32px);padding:5px;border:1px solid #d6ff00;border-radius:12px;background:#fff;box-shadow:0 6px 24px #0005;cursor:pointer;box-sizing:border-box;animation:ceramyst-qr-arrive .2s ease-out}
.ceramyst-pay-compact img{display:block;width:100%!important;max-width:100%;height:auto!important;margin:0;padding:0}
.ceramyst-pay-compact:focus-visible{outline:3px solid #d6ff00;outline-offset:3px}
@keyframes ceramyst-qr-arrive{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){.ceramyst-pay-dialog .ceramyst-pay-qr-brands img{width:125px!important}.ceramyst-pay-compact{width:98px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.ceramyst-pay-compact{animation:none}}
