#checkout {
  min-height: 100vh;
  padding: 40px 20px 72px;
  background: linear-gradient(145deg, #f7f1ec 0%, #fffdfb 48%, #f0e7df 100%);
  color: #29231f;
}

.commerce-shell { width: min(1060px, 100%); margin: 0 auto; }
.commerce-shell.narrow { width: min(720px, 100%); }
.commerce-back,
.commerce-recover,
.global-recovery {
  border: 0;
  padding: 8px 0;
  color: #725d50;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.commerce-back { margin-bottom: 28px; text-decoration: none; }
.commerce-card,
.commerce-state {
  border: 1px solid rgba(82, 61, 49, .13);
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(71, 52, 41, .1);
}
.commerce-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(32px, 6vw, 72px);
}
.commerce-card.single { grid-template-columns: 1fr; }
.commerce-card h1,
.commerce-state h1 { margin: 6px 0 18px; font-family: Prata, serif; font-weight: 400; line-height: 1.15; }
.commerce-card ul { margin: 22px 0; padding-left: 20px; line-height: 1.8; }
.commerce-price { display: block; margin-top: 28px; font: 400 clamp(34px, 5vw, 54px)/1 Prata, serif; }
.order-form,
.recovery-form { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.order-form label,
.recovery-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.order-form input,
.recovery-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(82, 61, 49, .22);
  border-radius: 12px;
  padding: 15px 16px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.order-form .button,
.recovery-form .button,
.commerce-state .button { width: 100%; justify-content: center; }
.order-form small { color: #776a62; text-align: center; }
.legal-consent { grid-template-columns: 20px 1fr !important; align-items: start; font-weight: 400 !important; line-height: 1.45; }
.legal-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #725d50; }
.legal-consent a { color: inherit; text-underline-offset: 3px; }
.commerce-error { margin: 0; color: #9a3f36; font-size: 14px; }
.commerce-recover { display: block; margin: 22px auto 0; }
.commerce-state { padding: clamp(40px, 7vw, 72px); text-align: center; }
.commerce-state .button { max-width: 420px; margin: 24px auto 0; }
.global-recovery { display: block; margin-top: 10px; font-size: 14px; }
.dev-payment {
  min-height: 100vh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: #f7f1ec;
  color: #29231f;
}
.dev-payment section {
  width: min(620px, 100%);
  box-sizing: border-box;
  padding: clamp(30px, 6vw, 60px);
  border: 1px solid rgba(82, 61, 49, .14);
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(71, 52, 41, .1);
}
.dev-payment h1 { font-family: Prata, serif; font-weight: 400; }
.dev-payment section > div { display: grid; gap: 12px; margin-top: 28px; }
.dev-payment .button,
.dev-payment .outline-button { width: 100%; justify-content: center; }
.dev-badge { padding: 12px; border-radius: 10px; background: #fff0cf; color: #765315; font-size: 13px; font-weight: 700; }

@media (max-width: 720px) {
  #checkout { padding: 22px 14px 50px; }
  .commerce-back { margin-bottom: 18px; }
  .commerce-card { grid-template-columns: 1fr; gap: 30px; padding: 28px 20px; border-radius: 20px; }
  .commerce-state { padding: 36px 20px; border-radius: 20px; }
  .commerce-card h1, .commerce-state h1 { font-size: 30px; overflow-wrap: anywhere; }
  .commerce-price { font-size: 38px; }
}
