/* Popup del checkout VIP (pagina GHL in un riquadro) */
dialog.checkout-dialog{width:min(760px,calc(100% - 32px));max-width:none;height:min(860px,calc(100dvh - 48px));max-height:none;padding:0;overflow:hidden;background:#fff;display:none;flex-direction:column}
dialog.checkout-dialog[open]{display:flex}
.checkout-testa{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 20px;background:var(--night);color:var(--cream);flex:none}
.checkout-testa p{margin:0;font-size:14px;font-weight:700;letter-spacing:.04em;color:var(--gold-light)}
.checkout-testa .dialog-close{position:static;color:#ccc}
.checkout-testa .dialog-close:hover{background:#ffffff1a}
.checkout-corpo{position:relative;flex:1;min-height:0}
.checkout-corpo iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}
.checkout-attesa{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#fff;color:var(--muted);font-size:15px;z-index:1;transition:opacity .3s}
.checkout-attesa::before{content:"";width:34px;height:34px;border-radius:50%;border:3px solid #e8e0cc;border-top-color:var(--gold-deep);animation:giro 1s linear infinite}
.checkout-dialog.pronto .checkout-attesa{opacity:0;pointer-events:none}
@keyframes giro{to{transform:rotate(360deg)}}
html.checkout-aperto{overflow:hidden}
@media (max-width:640px){
  dialog.checkout-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
}
