.checkout {
    width: min(620px, calc(100% - 24px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    border: 1px solid #d4af37;
    border-radius: 16px;
    background: #111;
    color: #fff;
    overflow-y: auto;
    font-family: Arial, Helvetica, sans-serif;
}
.checkout::backdrop { background: #000b; }
.checkout h2 { padding-right: 28px; margin-bottom: 12px; color: #d4af37; }
.checkout p { line-height: 1.6; margin: 10px 0; overflow-wrap: anywhere; }
.checkout-fechar { position: absolute; top: 16px; right: 16px; background: transparent; color: white; border: 0; font-size: 22px; cursor: pointer; }
.checkout fieldset { border: 1px solid #383838; border-radius: 10px; padding: 16px; margin: 18px 0; min-width: 0; }
.checkout legend { color: #d4af37; padding: 0 6px; }
.checkout label { display: block; margin: 12px 0; font-size: 14px; line-height: 1.5; }
.checkout input:not([type=checkbox]), .checkout select, .checkout textarea {
    display: block; width: 100%; margin-top: 6px; padding: 12px;
    background: #1c1c1c; border: 1px solid #555; border-radius: 6px; color: white; font: inherit; box-sizing: border-box;
}
.checkout textarea { min-height: 80px; resize: vertical; }
.checkout input:disabled, .checkout select:disabled, .checkout textarea:disabled { opacity: .75; }
.checkout .checkout-checkbox { display: flex; align-items: center; gap: 8px; }
.checkout-resumo { background: #1c1c1c; padding: 16px; border-radius: 10px; margin: 18px 0; }
.checkout-resumo strong { display: block; color: #d4af37; margin-top: 10px; }
.checkout .checkout-privacidade { color: #bbb; font-size: 12px; }
.checkout [hidden] { display: none !important; }
.checkout .btn { width: 100%; cursor: pointer; box-sizing: border-box; }
.checkout .btn:disabled { opacity: .6; cursor: wait; }
#checkoutMensagem { white-space: pre-line; }
.checkout-aviso { margin: 20px 0; padding: 18px; border: 1px solid #d4af3780; border-left: 4px solid #d4af37; border-radius: 12px; background: #d4af3710; }
.checkout-aviso h3, .checkout-sucesso h3 { color: #e6c85c; line-height: 1.4; }
.checkout-sucesso { text-align: center; padding-top: 12px; animation: checkout-entrada .25s ease-out; }
.checkout-selo { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border: 1px solid #d4af37; border-radius: 50%; background: #d4af3718; color: #e6c85c; font-size: 32px; }
.checkout-identificador { padding: 14px; border-radius: 10px; background: #1c1c1c; }
.checkout-identificador strong { display: block; color: #e6c85c; }
.checkout-acoes { display: grid; gap: 12px; margin-top: 24px; }
.checkout .btn { border-radius: 24px; transition: background .2s, transform .2s; text-align: center; text-decoration: none; white-space: normal; }
.checkout .checkout-secundario { background: transparent; border: 1px solid #d4af37; color: #e6c85c; }
.checkout :focus-visible { outline: 2px solid #e6c85c; outline-offset: 4px; }
@keyframes checkout-entrada { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .checkout-sucesso { animation: none; } .checkout .btn { transition: none; } }
@media (max-width: 600px) { .checkout { padding: 22px 16px; } }
