.books-payment-example {
  margin-block: 28px 20px;
  padding: clamp(14px,2vw,24px);
  border: 1px solid #ded3c4;
  border-radius: 12px;
  background: #fbf7f0;
  color: #27251f;
  scroll-margin-top: 78px;
}
.books-payment-example h3 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.books-payment-intro {
  margin: 0 0 14px;
  line-height: 1.5;
  color: #594f45;
}
.books-payment-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-block: 6px;
  font-variant-numeric: tabular-nums;
}
.books-payment-line[hidden] { display: none; }
.books-payment-example label { margin: 0; }
.books-payment-example input {
  box-sizing: border-box;
  max-width: 100%;
  width: 8em;
  min-height: 44px;
  border: 1px solid #897a68;
  border-radius: 6px;
  padding: 8px 11px;
  background: #fff;
  color: #27251f;
  text-align: end;
  font: inherit;
  font-size: max(1rem, 16px);
  font-variant-numeric: tabular-nums;
}
.books-payment-example input:focus-visible {
  outline: 2px solid #89320f;
  outline-offset: 2px;
}
.books-payment-example input[aria-invalid="true"] { border-color: #943b20; }
.books-payment-total { border-top: 1px solid #d9ccba; }
.books-payment-total output {
  color: #753012;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 650;
}
.books-payment-state {
  margin: 0;
  min-height: 1.4em;
  color: #50473f;
  text-align: end;
  font-size: .875rem;
  line-height: 1.4;
}

.books-payment-brand {display:flex;align-items:center;gap:8px;font-weight:650;margin:0 0 14px;}
