/* EternaPet — Checkout Asaas Transparente */
.et-pay-backdrop{
  position:fixed;inset:0;z-index:9999;
  background:rgba(10,8,4,0.72);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  display:none;align-items:center;justify-content:center;
  padding:24px;
}
.et-pay-backdrop.open{display:flex;animation:etfade 240ms ease}
@keyframes etfade{from{opacity:0}to{opacity:1}}

.et-pay-modal{
  width:100%;max-width:520px;max-height:90vh;
  background:#fffdf7;color:#1a1612;
  border-radius:22px;overflow:hidden;
  font-family:'Inter Tight','Inter',system-ui,-apple-system,sans-serif;
  display:flex;flex-direction:column;
  box-shadow:0 40px 120px -30px rgba(0,0,0,.6),0 0 0 1px rgba(0,0,0,.08);
  animation:etslide 320ms cubic-bezier(.2,.7,.2,1);
}
@keyframes etslide{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}

.et-pay-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 22px;border-bottom:1px solid #efe6d8;
}
.et-pay-title{
  font-family:'Fraunces',Georgia,serif;font-weight:600;font-style:italic;
  font-size:1.15rem;letter-spacing:-0.015em;
}
.et-pay-close{
  width:32px;height:32px;border-radius:50%;border:none;
  background:#f3ebe1;color:#6b615a;cursor:pointer;
  font-size:1.1rem;display:flex;align-items:center;justify-content:center;
  transition:background .2s;
}
.et-pay-close:hover{background:#e8dbc7;color:#1a1612}

.et-pay-body{padding:22px;overflow-y:auto;flex:1}

.et-pay-summary{
  background:linear-gradient(135deg,#c9764a,#a85b34);
  color:#fffdf7;border-radius:14px;
  padding:16px 18px;margin-bottom:20px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.et-pay-summary .pkg{font-family:'Fraunces',serif;font-style:italic;font-weight:600;font-size:1.05rem}
.et-pay-summary .val{font-size:1.45rem;font-weight:700;letter-spacing:-0.02em}

.et-pay-step{margin-bottom:16px}
.et-pay-label{
  display:block;font-size:0.72rem;font-weight:600;
  letter-spacing:0.14em;text-transform:uppercase;
  color:#7a6f63;margin-bottom:7px;
}
.et-pay-input{
  width:100%;padding:13px 14px;
  background:#fff;border:1.5px solid #eadccb;border-radius:10px;
  font-family:inherit;font-size:1rem;color:#1a1612;
  transition:border-color .2s;
}
.et-pay-input:focus{outline:none;border-color:#c9764a}
.et-pay-input::placeholder{color:#b0a698}

.et-pay-methods{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;
}
.et-pay-method{
  padding:14px;border:1.5px solid #eadccb;border-radius:12px;
  background:#fff;cursor:pointer;text-align:center;
  font-weight:600;color:#1a1612;font-size:0.95rem;
  transition:all .2s;
  display:flex;flex-direction:column;align-items:center;gap:6px;
}
.et-pay-method:hover{border-color:#c9764a;background:#fff8ee}
.et-pay-method.active{border-color:#c9764a;background:#fff3e0;box-shadow:0 0 0 3px rgba(201,118,74,0.12)}
.et-pay-method svg{width:32px;height:32px}
.et-pay-method .sub{font-size:0.72rem;color:#7a6f63;font-weight:500}
.et-pay-method .et-pay-brands{
  font-size:0.6rem;color:#9c968b;font-weight:500;
  letter-spacing:0.04em;margin-top:2px;line-height:1.2;
}

.et-pay-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.et-pay-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}

.et-pay-btn{
  width:100%;padding:15px;
  background:#c9764a;color:#fff;border:none;border-radius:999px;
  font-family:inherit;font-weight:600;font-size:1rem;
  cursor:pointer;transition:all .2s;
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin-top:8px;
}
.et-pay-btn:hover{background:#a85b34;transform:translateY(-1px)}
.et-pay-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

.et-pay-error{
  background:#fee;border:1px solid #fbb;color:#a33;
  padding:11px 14px;border-radius:10px;font-size:0.9rem;margin-bottom:14px;
  display:none;
}
.et-pay-error.show{display:block}

/* PIX result */
.et-pay-pix{text-align:center}
.et-pay-pix h3{
  font-family:'Fraunces',serif;font-style:italic;font-weight:600;
  font-size:1.4rem;margin-bottom:8px;
}
.et-pay-pix p{color:#6b615a;font-size:0.95rem;margin-bottom:18px}
.et-pay-qr{
  display:block;margin:0 auto 20px;width:240px;height:240px;
  border:6px solid #fff;border-radius:14px;
  box-shadow:0 8px 28px -10px rgba(0,0,0,.25);
}
.et-pay-copy{
  background:#fff;border:1.5px dashed #c9764a;border-radius:10px;
  padding:12px;font-family:'SF Mono','Monaco',monospace;font-size:0.78rem;
  word-break:break-all;color:#1a1612;margin-bottom:14px;
  user-select:all;cursor:pointer;line-height:1.4;
}
.et-pay-copy-btn{
  background:transparent;color:#c9764a;border:1.5px solid #c9764a;
  padding:11px 22px;border-radius:999px;font-weight:600;cursor:pointer;
  font-size:0.92rem;transition:all .2s;
}
.et-pay-copy-btn:hover{background:#c9764a;color:#fff}
.et-pay-copy-btn.copied{background:#3a7c4f;border-color:#3a7c4f;color:#fff}

.et-pay-instructions{
  background:#fff8ee;border-radius:10px;padding:14px;margin-top:18px;
  font-size:0.85rem;color:#6b615a;text-align:left;
}
.et-pay-instructions strong{color:#1a1612}
.et-pay-instructions ol{margin:8px 0 0 18px;padding:0}
.et-pay-instructions li{margin-bottom:4px}

/* Success */
.et-pay-success{text-align:center;padding:20px 10px}
.et-pay-success-icon{
  width:64px;height:64px;border-radius:50%;
  background:#3a7c4f;color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:2rem;margin:0 auto 18px;
}
.et-pay-success h3{
  font-family:'Fraunces',serif;font-style:italic;font-weight:600;
  font-size:1.5rem;margin-bottom:8px;
}
.et-pay-success p{color:#6b615a;font-size:0.95rem;line-height:1.5}

/* Loading state */
.et-pay-loading{
  display:flex;align-items:center;justify-content:center;
  padding:40px 20px;color:#6b615a;font-size:0.95rem;
  gap:12px;
}
.et-pay-spinner{
  width:24px;height:24px;border:2.5px solid #eadccb;
  border-top-color:#c9764a;border-radius:50%;
  animation:etspin .8s linear infinite;
}
@keyframes etspin{to{transform:rotate(360deg)}}

.et-pay-secure{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  margin-top:16px;padding:12px 14px;
  background:#fef9f0;border:1px solid #eadccb;border-radius:12px;
}
.et-pay-secure-badge{
  display:inline-flex;align-items:center;gap:7px;
  font-size:0.82rem;color:#3a7c4f;font-weight:600;
}
.et-pay-secure-badge svg{width:16px;height:16px}
.et-pay-secure-meta{
  font-size:0.68rem;color:#9c968b;letter-spacing:0.03em;
}
.et-pay-safebrowsing{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:8px;padding:6px 12px;
  background:#fff;border:1px solid #d6e4d8;border-radius:999px;
  text-decoration:none;color:#3a7c4f;
  font-size:0.7rem;font-weight:600;letter-spacing:0.01em;
  transition:all .18s ease;
}
.et-pay-safebrowsing:hover{
  background:#f5fbf6;border-color:#3a7c4f;transform:translateY(-1px);
}
.et-pay-safebrowsing svg:last-child{opacity:0.55}

@media(max-width:540px){
  .et-pay-modal{max-height:96vh;border-radius:18px}
  .et-pay-row,.et-pay-row-3{grid-template-columns:1fr}
}
