/* Pagamento incorporato: il modulo carta e il riepilogo sono un unico passo. */
.outcome--checkout {
  max-width: 1080px;
  width: 100%;
  padding: 0;
  text-align: left;
}
.fh-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}
.fh-checkout__payment,
.fh-checkout__summary {
  border: 1px solid #d9e8ee;
  border-radius: 22px;
  box-shadow: 0 16px 46px rgba(6, 58, 85, .08);
}
.fh-checkout__payment {
  background: #fff;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.fh-checkout__eyebrow,
.fh-checkout__summary-label {
  color: #0877a6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fh-checkout__payment h2 {
  margin: .45rem 0 .7rem;
  color: #073d61;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.fh-checkout__lead {
  max-width: 37rem;
  color: #345d74;
  line-height: 1.55;
}
.fh-checkout__test {
  display: inline-flex;
  margin: .7rem 0 .2rem;
  padding: .38rem .7rem;
  border: 1px solid #b4dbeb;
  border-radius: 999px;
  background: #e9f7fb;
  color: #045177;
  font-size: .78rem;
  font-weight: 700;
}
.fh-checkout__card {
  min-height: 150px;
  margin: 1.45rem 0 .8rem;
}
.fh-checkout__status {
  min-height: 1.4em;
  color: #345d74;
  font-size: .88rem;
  line-height: 1.4;
}
.fh-checkout__pay { width: 100%; justify-content: center; margin-top: .65rem; }
.fh-checkout__verify {
  display: block;
  border: 0;
  background: none;
  margin: .9rem auto 0;
  padding: .3rem;
  color: #0877a6;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
}
.fh-checkout__verify[hidden] { display: none; }
.fh-checkout__privacy {
  margin: 1rem 0 0;
  color: #577486;
  font-size: .78rem;
  line-height: 1.5;
}
.fh-checkout__privacy::before { content: '🔒'; margin-right: .35rem; }
.fh-checkout__summary {
  position: sticky;
  top: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(155deg, #f6fcfe, #e9f4f8);
}
.fh-checkout__summary h3 {
  color: #073d61;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin: .4rem 0 .7rem;
}
.fh-checkout__detail { color: #345d74; line-height: 1.5; }
.fh-checkout__amounts {
  border-top: 1px solid #c5dfe9;
  border-bottom: 1px solid #c5dfe9;
  margin: 1.4rem 0;
  padding: .8rem 0;
}
.fh-checkout__amounts > div {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: .42rem 0;
}
.fh-checkout__amounts dt { color: #345d74; font-size: .85rem; }
.fh-checkout__amounts dd { margin: 0; color: #073d61; font-weight: 700; white-space: nowrap; }
.fh-checkout__amounts-now dt,
.fh-checkout__amounts-now dd { color: #045177; font-weight: 800; font-size: 1rem; }
.fh-checkout__code { font-weight: 700; color: #073d61; }
.fh-checkout__note { color: #577486; font-size: .83rem; line-height: 1.5; margin-bottom: 0; }
.fh-cancellation,
.fh-checkout__cancellation {
  border-left: 3px solid #0877a6;
  border-radius: 0 10px 10px 0;
  background: #edf8fb;
  padding: .85rem 1rem;
  color: #104867;
  line-height: 1.5;
  font-size: .9rem;
}
.fh-cancellation { margin: 1rem 0; }
.fh-checkout__cancellation { margin-top: 1.2rem; }
.fh-cancellation p,
.fh-checkout__cancellation p { margin: .3rem 0 0; }
@media (max-width: 760px) {
  .fh-checkout { grid-template-columns: 1fr; }
  .fh-checkout__summary { position: static; grid-row: 1; }
  .fh-checkout__payment, .fh-checkout__summary { border-radius: 16px; }
  .fh-checkout__detail { margin-bottom: 0; }
}
