.tm-nav .tm-nav-app {
  color: #c69b58;
}

.tm-checkout-program-info {
  display: grid;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(214, 185, 140, .24);
  border-radius: 16px;
  background: rgba(17, 13, 9, .42);
  color: rgba(245, 241, 234, .79);
}

.tm-checkout-program-info h3 {
  margin: 0 0 2px;
  color: #d6b98c;
  font: 700 12px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .06em;
}

.tm-checkout-program-info p {
  margin: 0;
  color: inherit;
  font: 400 12px/1.55 Inter, Arial, sans-serif;
}

.tm-checkout-program-info strong {
  color: rgba(245, 241, 234, .94);
}

.tm-checkout-legal-context a {
  color: #d6b98c;
  text-decoration-color: rgba(214, 185, 140, .38);
  text-underline-offset: 3px;
}

.tm-checkout-legal-context {
  display: grid;
  gap: 7px;
  margin-top: 3px;
  padding: 13px 14px;
  border: 1px solid rgba(214, 185, 140, .18);
  border-radius: 16px;
  background: rgba(17, 13, 9, .3);
  color: rgba(245, 241, 234, .67);
  font: 400 11px/1.5 Inter, Arial, sans-serif;
}

.tm-checkout-legal-context p {
  margin: 0;
}

.tm-footer .tm-footer-seller {
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.6;
  opacity: .78;
}

.tm-global-legal-strip {
  display: grid;
  gap: 7px;
  padding: 20px clamp(18px, 5vw, 60px);
  border-top: 1px solid rgba(214, 185, 140, .18);
  background: #15130f;
  color: rgba(245, 241, 234, .67);
  font: 400 12px/1.55 Inter, Arial, sans-serif;
  text-align: center;
}

.tm-global-legal-strip p {
  margin: 0;
}

.tm-global-legal-strip nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 16px;
}

.tm-global-legal-strip a {
  color: #d6b98c;
  text-decoration-color: rgba(214, 185, 140, .34);
  text-underline-offset: 3px;
}

.tm-payment-result-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  max-width: 760px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 440px;
  margin: 0 auto;
}

.tm-payment-result {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(214, 185, 140, .28);
  border-radius: 30px;
  background: rgba(245, 241, 234, .075);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .1);
  color: #f5f1ea;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tm-payment-result h2 {
  margin: 8px 0 18px;
  color: #f5f1ea;
  font: 600 clamp(36px, 6vw, 58px)/1 "Cormorant Garamond", Georgia, serif;
  overflow-wrap: anywhere;
}

.tm-payment-result > p:not(.tm-payment-eyebrow):not(.tm-payment-note) {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(245, 241, 234, .78);
  font: 400 16px/1.7 Inter, Arial, sans-serif;
}

.tm-payment-eyebrow {
  margin: 0;
  color: #d6b98c;
  font: 700 11px/1 Inter, Arial, sans-serif;
  letter-spacing: .2em;
}

.tm-payment-spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto 22px;
  border: 2px solid rgba(214, 185, 140, .22);
  border-top-color: #d6b98c;
  border-radius: 50%;
  animation: tm-payment-spin .9s linear infinite;
}

.tm-payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  min-width: 0;
  max-width: 100%;
}

.tm-payment-result .tm-payment-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4df9d, #b98736);
  box-shadow: 0 16px 36px rgba(185, 135, 54, .28);
  color: #1d1509;
  cursor: pointer;
  font: 800 12px/1.2 Inter, Arial, sans-serif;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.tm-payment-result .tm-payment-primary:disabled {
  cursor: wait;
  opacity: .62;
}

.tm-payment-note {
  margin: 20px 0 0;
  color: rgba(245, 241, 234, .6);
  font: 400 13px/1.55 Inter, Arial, sans-serif;
}

.tm-payment-note a {
  color: #d6b98c;
  text-underline-offset: 3px;
}

/*
 * Consent controls must override both the checkout inline styles and Elementor's
 * generic `.tm-checkout-form input` rule, which sets 100% width and 56px height.
 */
.tm-checkout-form .tm-checkout-consents {
  display: grid !important;
  row-gap: 11px !important;
  min-width: 0 !important;
}

.tm-checkout-form .tm-checkout-consent-row {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(245, 241, 234, .74) !important;
  cursor: pointer;
  font: 400 12px/1.45 Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.tm-checkout-form .tm-checkout-consent-row > input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  align-self: center !important;
  justify-self: start !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid rgba(214, 185, 140, .78) !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  background-color: rgba(17, 13, 9, .78) !important;
  background-image: none !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06) !important;
  cursor: pointer;
  transform: none !important;
}

.tm-checkout-form .tm-checkout-consent-row > input[type="checkbox"]:checked {
  border-color: #d6b98c !important;
  background-color: #d6b98c !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3%208.5%206.3%2012%2013.5%204' fill='none' stroke='%231d1509' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.tm-checkout-form .tm-checkout-consent-row > input[type="checkbox"]:focus-visible {
  outline: 2px solid #f4df9d !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px rgba(214, 185, 140, .2) !important;
}

.tm-checkout-form .tm-checkout-consent-row > span {
  display: block !important;
  align-self: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: 400 12px/1.45 Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}

.tm-checkout-form .tm-checkout-consent-row a {
  color: #d6b98c !important;
  border-bottom: 0 !important;
  text-decoration-line: underline !important;
  text-decoration-color: rgba(214, 185, 140, .48) !important;
  text-underline-offset: 3px !important;
}

.tm-checkout-form .tm-checkout-consent-row:focus-within {
  outline: 2px solid rgba(214, 185, 140, .65);
  outline-offset: 4px;
  border-radius: 5px;
}

@keyframes tm-payment-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .tm-checkout-program-info {
    padding: 18px;
    text-align: left;
  }

  body .tm-checkout-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: clip;
  }

  body .tm-checkout-inner,
  body .tm-checkout-form,
  body .tm-checkout-copy,
  body .tm-checkout-price-card,
  body .tm-checkout-quote,
  body .tm-checkout-legal-context,
  body .tm-checkout-consents {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body .tm-checkout-copy h2,
  body .tm-checkout-copy h2 span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body .tm-checkout-copy h2 {
    font-size: clamp(32px, 9.2vw, 38px);
  }

  .tm-payment-result-wrap {
    min-height: 390px;
  }

  .tm-payment-result {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 28px 18px;
    border-radius: 24px;
  }

  .tm-payment-result .tm-payment-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
    font-size: 12px;
    letter-spacing: .02em;
    line-height: 1.35;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
