.checkout-page {
  min-height: 100vh;
  background: #0088bf;
  color: #122231;
  padding: 28px 14px 36px;
}

.checkout-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.checkout-back {
  display: inline-flex;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .86;
}

.checkout-back:hover {
  opacity: 1;
  text-decoration: underline;
}

.checkout-top {
  text-align: center;
  color: #fff;
  padding: 18px 0 26px;
}

.checkout-logo {
  width: min(360px, 86vw);
  margin: 0 auto 16px;
}

.checkout-top h1 {
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.checkout-top p {
  max-width: 560px;
  margin: 0 auto;
  color: #e7f8ff;
  font-size: 15px;
  line-height: 1.55;
}

.checkout-trust {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.trust-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 24px #004d7030;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid #159bd4;
  border-radius: 14px;
  color: #159bd4;
  font-size: 24px;
  font-weight: 900;
}

.trust-card strong {
  display: block;
  color: #12344a;
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
}

.trust-card div span {
  display: block;
  color: #159bd4;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  margin-top: 3px;
}

.checkout-panel {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 42px #003f5c45;
}

.checkout-product {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 26px 22px 20px;
  align-items: center;
}

.checkout-cover {
  width: 86px;
  border-radius: 10px;
  object-fit: contain;
}

.checkout-product h2 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.24;
  color: #252525;
  margin-bottom: 5px;
}

.checkout-author {
  color: #777;
  font-size: 12px;
  margin-bottom: 6px;
}

.checkout-price {
  color: #121212;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.checkout-installments {
  color: #555;
  font-size: 13px;
  margin-top: 4px;
}

.checkout-section {
  padding: 20px 22px;
  border-top: 1px solid #eee;
}

.checkout-section h3 {
  color: #222;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
}

.checkout-form {
  display: grid;
  gap: 13px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: #333;
  font-size: 14px;
  font-weight: 800;
}

.checkout-form input {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fff;
  padding: 14px 15px;
  color: #222;
  font-size: 15px;
  outline: none;
}

.checkout-form input:focus {
  border-color: #159bd4;
  box-shadow: 0 0 0 3px #159bd420;
}

.phone-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 8px;
}

.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  font-weight: 900;
}

.coupon-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d4d4d4;
  border-radius: 7px;
  padding: 15px;
  color: #555;
  font-size: 15px;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.payment-option.is-muted {
  opacity: .62;
}

.payment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  color: #333;
  font-size: 15px;
  font-weight: 800;
}

.payment-radio {
  width: 16px;
  height: 16px;
  border: 1px solid #bdbdbd;
  border-radius: 999px;
  flex: 0 0 auto;
}

.payment-option.is-selected {
  border-color: #222;
  box-shadow: inset 0 0 0 1px #222;
}

.payment-option.is-selected .payment-radio {
  border: 5px solid #222;
}

.payment-brand {
  color: #00a99d;
  font-size: 20px;
  line-height: 1;
}

.pix-body {
  display: grid;
  grid-template-columns: 1fr 122px;
  gap: 18px;
  background: #f8f7f4;
  padding: 18px 16px;
  align-items: center;
}

.pix-body p {
  color: #454545;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.pix-actions {
  display: grid;
  gap: 10px;
}

.pix-primary,
.pix-secondary {
  width: 100%;
  border-radius: 7px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.pix-primary {
  border: 0;
  background: #12b949;
  color: #fff;
}

.pix-secondary {
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #15964a;
}

.qr-placeholder {
  width: 122px;
  height: 122px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #bbb 18px, transparent 18px 30px, #bbb 30px 48px, transparent 48px 74px, #bbb 74px 92px, transparent 92px),
    linear-gradient(#bbb 18px, transparent 18px 30px, #bbb 30px 48px, transparent 48px 74px, #bbb 74px 92px, transparent 92px);
  opacity: .65;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 15px;
  color: #222;
  font-size: 14px;
  font-weight: 900;
}

.secure-footer {
  text-align: center;
  color: #9b9b9b;
  font-size: 12px;
  font-weight: 800;
  padding: 18px 22px 26px;
}

.checkout-feedback {
  margin-top: 14px;
  border-radius: 8px;
  background: #e8f5e9;
  padding: 14px;
  color: #1a5c0a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-support {
  color: #fff;
  padding: 22px 6px 0;
  font-size: 12px;
  line-height: 1.45;
}

.checkout-support a {
  color: #fff;
  text-decoration: underline;
  font-weight: 900;
}

@media (max-width: 520px) {
  .checkout-product {
    grid-template-columns: 74px 1fr;
    gap: 14px;
    padding: 22px 16px 18px;
  }

  .checkout-cover {
    width: 74px;
  }

  .checkout-section {
    padding: 19px 16px;
  }

  .pix-body {
    grid-template-columns: 1fr;
  }

  .qr-placeholder {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }
}
