/* Esconde login só com etapa 4 ativa (não interfere no carrinho mobile) */
body.thermas-step4-active .form-signin,
body.thermas-step4-active h1.title-light,
body.thermas-step4-active .nao-possui-conta-wrapper,
body.thermas-step4-active .nao-possui-conta-text-container,
body.thermas-step4-active .minha-conta-login-container,
body.thermas-step4-active .minha-conta-login-wrapper,
body.thermas-step4-active input[type="password"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

[data-thermas-step4="1"] > :not(.thermas-step4-card) {
  display: none !important;
}

.thermas-step4-card.cartboxcontainer {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100%;
}

.thermas-step4-card .passos-title {
  margin-bottom: 0.65rem !important;
}

.thermas-step4-card .thermas-checkout-dados {
  height: auto !important;
  min-height: 0 !important;
  padding: 1.25rem 1.15rem 1.35rem !important;
  background: #fff !important;
  border-radius: 5px;
  box-shadow: 1px 1px 3px hsla(0, 0%, 40%, 0.31);
  color: #003e7f;
}

.thermas-checkout__lead {
  margin: 0 0 1rem !important;
  font-size: 0.92rem !important;
}

.thermas-step4-card .form-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #003e7f !important;
}

.thermas-step4-card .form-control.input-light-ec {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.thermas-field-error {
  display: block;
  margin: 0.35rem 0 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  color: #c62828 !important;
}

.thermas-field-error[hidden] {
  display: none !important;
}

.thermas-input--invalid,
.thermas-step4-card .form-control.thermas-input--invalid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.25) !important;
}

.thermas-step4-card .thermas-checkout__pix {
  display: block !important;
  width: 100% !important;
  margin-top: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.thermas-checkout__amount {
  display: block;
  margin: 0 0 1rem !important;
  padding: 0.65rem 0 0.75rem;
  text-align: right;
  border-top: 1px solid rgba(0, 62, 127, 0.12);
  font-family: Lato, Montserrat, Arial, sans-serif;
}

.thermas-checkout__amount-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #003e7f;
  margin-bottom: 0.2rem;
}

.thermas-checkout__amount-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #f07d00;
}

.thermas-checkout__amount--empty {
  text-align: center !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #5c6b7a !important;
  border-top: none;
  padding-top: 0;
}

.thermas-checkout-dados--pix .thermas-checkout__lead,
.thermas-checkout-dados--pix .thermas-checkout__amount,
.thermas-checkout-dados--pix .thermas-checkout__form,
.thermas-checkout--show-pix .thermas-checkout__lead,
.thermas-checkout--show-pix .thermas-checkout__amount,
.thermas-checkout--show-pix .thermas-checkout__form {
  display: none !important;
}

.thermas-pix-panel {
  margin-top: 1rem;
  padding-top: 0.5rem;
  text-align: center;
}

.thermas-pix-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #003e7f;
}

.thermas-pix-panel__hint {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #5c6b7a;
}

.thermas-pix-panel__qr {
  display: block;
  margin: 0 auto 0.85rem;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.thermas-pix-panel__code {
  width: 100% !important;
  margin-bottom: 0.65rem !important;
  font-size: 0.75rem !important;
}

.thermas-pix-panel__status {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: #003e7f;
}

.thermas-pix-panel--success .thermas-pix-panel__qr,
.thermas-pix-panel--success .thermas-pix-panel__code,
.thermas-pix-panel--success .thermas-pix-panel__copy,
.thermas-pix-panel--success .thermas-pix-panel__status,
.thermas-pix-panel--success .form-label,
.thermas-pix-panel--success .thermas-pix-panel__hint {
  display: none !important;
}

.thermas-pix-success {
  text-align: center;
  padding: 0.5rem 0.25rem 0.75rem;
}

.thermas-pix-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.thermas-pix-success__title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #003e7f;
}

.thermas-pix-success__lead {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: #5c6b7a;
}

.thermas-pix-success__email {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f07d00;
  word-break: break-word;
}

.thermas-pix-success__hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
}

.thermas-pix-success__help {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.checkout-panel-wrap .thermas-checkout-dados {
  max-width: 420px;
  margin: 0 auto;
}
