body { background: #fff; }

.checkout {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}

.checkout__hint { font-size: 11px; color: var(--muted); }
.checkout__hint a { color: #1a6fd1; text-decoration: underline; }

.checkout__title {
  font-size: 28px;
  line-height: 1.15;
  margin: 20px 0 12px;
}

.checkout__goal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.ring-mini {
  --p: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), #dcdcdc 0);
  -webkit-mask: radial-gradient(circle 6px, transparent 98%, #000 100%);
          mask: radial-gradient(circle 6px, transparent 98%, #000 100%);
}

.field { margin-bottom: 18px; border: 0; }
.field label,
.field legend {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 14px 12px;
  font: inherit;
  font-size: 14px;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  background: #fff;
}

.field input:focus {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: var(--green);
}

.field input.is-invalid { border-color: #d64545; }
.error { display: block; min-height: 0; margin-top: 4px; font-size: 12px; color: #d64545; }

.money { display: flex; }
.money__prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #eee;
  border: 1px solid #cfd3d8;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: var(--muted);
}
.money input { border-radius: 0 8px 8px 0 !important; }

/* Forma de pagamento */
.pay__options { display: flex; gap: 8px; }
.pay__opt { cursor: pointer; margin: 0 !important; }
.pay__opt input { position: absolute; opacity: 0; }
.pay__opt span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: 8px;
  background: #fff;
}
.pay__opt span::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--green);
  border-radius: 50%;
}
.pay__opt input:checked + span { background: var(--green); color: #fff; }
.pay__opt input:checked + span::before { background: #fff; border-color: #fff; }
.pay__opt input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }

/* Turbine */
.boost {
  background: var(--green-light);
  padding: 12px;
  margin: 0 -16px 24px;
}
.boost__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}
.boost__tag {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.boost__price { margin-left: auto; font-weight: 700; font-size: 13px; }
.boost__item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.boost__img { width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; }

.totals { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.totals div { display: flex; gap: 4px; margin-bottom: 4px; }

.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.check input { margin-top: 3px; }

.tiny { font-size: 10px; color: var(--muted); margin-bottom: 16px; }

.submit { margin: 8px 0 12px; border-radius: 8px; letter-spacing: 0.04em; }
.submit:disabled { opacity: 0.6; cursor: not-allowed; }

.feedback { font-size: 13px; margin-bottom: 8px; }
.feedback.is-error { color: #d64545; }
.feedback.is-ok { color: var(--green-dark); }

.legal { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.legal a { color: #1a6fd1; }

.secure {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #efefef;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 16px;
}
.secure__ico { font-size: 24px; }

/* ---------- Popup do Pix ---------- */
.pixmodal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  overflow-y: auto;
}
.pixmodal__box {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 100%;
  overflow-y: auto;
  padding: 24px 20px 20px;
  text-align: center;
  background: #fff;
  border-radius: 14px;
}
.pixmodal__box h2 { font-size: 22px; margin-bottom: 4px; }
.pixmodal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
}
.pixmodal__close:hover { background: var(--bg); }
.pixmodal__amount { color: var(--muted); margin-bottom: 14px; }
.pixmodal__amount strong { color: var(--text); }

.pixmodal__qr {
  display: inline-block;
  padding: 10px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.pixmodal__qr img { width: 200px; height: 200px; image-rendering: pixelated; }

.pixmodal__steps {
  margin: 0 0 14px;
  padding-left: 18px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.pixmodal .copybox {
  display: flex;
  background: #f7f7f7;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  margin-bottom: 10px;
}
.pixmodal .copybox input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  font: inherit;
  font-size: 12px;
  border: 0;
  background: transparent;
  text-overflow: ellipsis;
}
.pixmodal__copy { border-radius: 8px; }
.pixmodal__timer { margin-top: 14px; font-size: 13px; font-weight: 600; }
.pixmodal__state { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pixmodal__state.is-ok { color: var(--green-dark); font-weight: 700; }
.pixmodal__state.is-error { color: #d64545; font-weight: 600; }
