.pmt-preview-clickable{cursor:zoom-in}
.pmt-checkout-designs .pmt-checkout-design,.pmt-checkout-design{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px 12px;align-items:start}
.pmt-checkout-design>img{grid-column:1;grid-row:1;width:76px;height:76px;object-fit:contain}
.pmt-checkout-design>.pmt-preview-enlarge{grid-column:1;grid-row:2;margin:0}
.pmt-checkout-design>div{grid-column:2;grid-row:1 / span 2;min-width:0}
button.pmt-preview-enlarge{display:block;width:100%;max-width:160px;margin:7px 0 0;padding:5px 2px;border:0;background:transparent;color:#795014;font:600 12px/1.4 system-ui,sans-serif;text-align:center;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:normal}
button.pmt-preview-enlarge:hover{color:#29271f;background:#dca94f22}
button.pmt-preview-enlarge:focus-visible,.pmt-preview-close:focus-visible{outline:3px solid #bd812c;outline-offset:3px}
.pmt-preview-open{overflow:hidden}
dialog.pmt-preview-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #dca94f;border-radius:18px;background:#faf9f5;color:#242b2f;box-shadow:0 24px 80px #0006;overflow:auto}
dialog.pmt-preview-dialog::backdrop{background:rgba(15,21,24,.78)}
.pmt-preview-dialog h2{margin:0 44px 18px 0;font:700 21px/1.3 system-ui,sans-serif}
dialog.pmt-preview-dialog img.pmt-preview-large{display:block;width:100%;height:auto;max-height:calc(100dvh - 150px);object-fit:contain;margin:0;border-radius:10px;background:#f0efea}
button.pmt-preview-close{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#242b2f;color:#fff;font:28px/1 system-ui,sans-serif;cursor:pointer}
@media(max-width:480px){dialog.pmt-preview-dialog{padding:20px 16px}.pmt-preview-dialog h2{font-size:18px}button.pmt-preview-enlarge{font-size:11px}}
