a.added_to_cart.wc-forward {
    display: none !important;
}

.cart-modal {
  position: fixed;
  top: 0;
  right: -560px;
  width: 560px;
  height: 700px;
  border-radius: 8px;
  background: #fff;
  box-shadow: -2px 0 5px rgba(71, 46, 46, 0.2);
  transition: right 0.3s ease;
  z-index: 99;
  color: var(--black-primary);
}

.cart-modal.active {
  right: 0;
}

.cart-modal-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cart-modal-content h2 {
  font-size: 24px;
  font-weight: 600;
}

#close-cart {
  background: none;
  border: none;
  font-size: 35px;
  position: absolute;
  right: 15px;
  top: 15px;
}

#cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.item-cart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-cart-title p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: bold;
}

.cart-item-image {
  max-width: 187px;
  max-height: 87px;
  border-radius: 8px;
  margin-right: 10.21px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  margin: 0;
  font-size: 18px;
  color: var(--black-primary);
}

.pix-price-cart {
  font-weight: bold;
  font-size: 18px;
  line-height: normal;
}

.card-price-cart {
  color: var(--black-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 111.1%;
}

.installments-cart {
  color: var(--black-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 111.1%;
  display: flex;
  justify-content: space-between;
}

.cart-total-pix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.cart-total-pix p {
  color: var(--dark-blue);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0;
}

.cart-total-pix p:last-child {
  font-size: 32px;
}

.cart-pix-desc {
  font-size: 18px;
}

a.added_to_cart.wc-forward {
  display: none;
}

.remove-item {
  background: none;
  border: none;
}

.modal-backdrop {
  z-index: 4 !important;
}

.modal.fade.show {
  display: flex !important
  ;
  align-items: center;
  justify-content: center;
  z-index: 2;
  --bs-backdrop-zindex: 1050;
  --bs-backdrop-bg: #0000007d;
  --bs-backdrop-opacity: 3.5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-backdrop-zindex);
  width: 100vw;
  height: 100vh;
  background-color: var(--bs-backdrop-bg);
}

.modal-content {
  display: block;
  color: var(--black-primary) !important;
  z-index: 9;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black-primary);
  font-weight: bold;
}

.modal-footer button {
  background: var(--green-light);
  width: 45%;
  font-weight: bold;
}

.modal-footer button:hover {
  background: var(--green-primary);
}

.modal-footer button:last-child {
  background: var(--white-primary);
  border: 1px solid #212236;
}

.modal-footer button:last-child:hover {
  background: var(--black-primary);
  border: 1px solid #fff !important;
  color: var(--white-primary);
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.checkout-button {
  display: block;
  font-weight: 600;
  width: 100%;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
}

.cart-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.cart-items-details bdi{
    color: #212236;
}

@media(max-width:768px){
      .cart-modal {
    width: 390px;
    right: -390px;
  }
}



.i9-card{
  background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.1);
  padding:20px; margin:16px 0; border:1px solid rgba(0,0,0,.05)
}
.i9-title{font-size:1.25rem;font-weight:700;color:#201a4a;margin-bottom:.5rem}
.i9-subtitle{font-size:1.05rem;font-weight:700;color:#201a4a;margin-bottom:.5rem}

/* Deixa tabelas do Woo em “card” */
.i9-order-details .woocommerce-order-details,
.i9-order-details .woocommerce-customer-details,
.i9-order-details .woocommerce-order-overview{
  margin:0!important;
}
.i9-order-details table.shop_table{
  border:0;border-radius:12px;overflow:hidden
}
.i9-order-details table.shop_table thead th{
  background:#f8fafc;color:#201a4a;font-weight:600
}
.i9-order-details table.shop_table td, 
.i9-order-details table.shop_table th{
  border-color:#eef2f7
}




/* Radio NATIVO fica na ESQUERDA do título */
.i9-methods > li .input-radio{
  display: none;
  position:absolute; left:16px; top:18px;
  width:18px; height:18px; margin:0;
}







/* Descrição/campos ALINHADOS ao título e com fonte menor */
.i9-methods .payment_box{
     /* alinhado com o título (radio + padding) */
  font-size:.925rem; line-height:1.55; color:#475569;
  color: black;
 

}

/* Linha de ações: Voltar + Finalizar */
.i9-pay-actions .button,
.i9-pay-actions .i9-place-order{
  border-radius:.625rem;
}


/* avisos de erro inline */
.i9-error {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: #dc2626; /* vermelho */
}

/* borda de erro (funciona bem com Tailwind do seu tema) */
.i9-invalid {
  outline: none !important;
  box-shadow: 0 0 0 1px #fecaca, 0 0 0 3px rgba(220, 38, 38, .25) !important;
  border-color: #ef4444 !important;
}

/* um leve "shake" quando tenta avançar com erro */
@keyframes i9-shake {
  0%,100% { transform: translateX(0) }
  25%     { transform: translateX(-3px) }
  50%     { transform: translateX(3px) }
  75%     { transform: translateX(-3px) }
}
.i9-shake { animation: i9-shake .2s linear 2 }

/* ==== TOAST CONTAINER (topo-direito) ==== */
:root{
  --toast-top: 96px;          /* ajuste se o header fixo for mais alto/baixo */
  --toast-right: 20px;
  --toast-width: 380px;       /* largura máxima do toast */
}




/* =========================================================
   LEARNDASH – AJUSTES GERAIS
   ========================================================= */

/* Ícone de status na navegação do curso */
.learndash-wrapper .ld-course-navigation .ld-status-icon {
  border: 0 !important;
  flex: 0 0 18px !important;
  height: 17px !important;
  margin-right: 10px !important;
  margin-top: .15em !important;
  text-align: center !important;
  width: 15px !important;
}

/* Botões (tema clássico, não-modern) */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 230px !important;
  height: 40px !important;
  border-radius: 14px !important;
  background: linear-gradient(90deg, #4A90E2 0%, #6AB1FF 100%) !important;
  border: none !important;
  color: #FFF !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  line-height: 48px !important;
  box-shadow: none !important;
  transition: opacity 0.3s ease !important;
}


/* =========================================================
   EMBEDS (IFRAME / VIDEO) — VERSÃO MODERNA (SEM CONFLITOS)
   Use APENAS esta abordagem (aspect-ratio). Não misturar
   com padding-top + position:absolute.
   ========================================================= */

/* Wrapper do vídeo/iframe */
.learndash-wrapper .wp-block-embed,
.learndash-wrapper .wp-block-embed__wrapper,
.learndash-wrapper .wp-block-video {
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important;       /* ajuste conforme quiser */
  margin: 2em auto !important;        /* centraliza */
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

/* Conteúdo do vídeo/iframe */
.learndash-wrapper .wp-block-embed iframe,
.learndash-wrapper .wp-block-video video {
  display: block !important;
  width: 100% !important;
  height: auto !important;            /* usa a altura do aspect-ratio */
  aspect-ratio: 16/9 !important;
  border: none !important;
  position: static !important;        /* remove absolute para não “sumir” */
}


/* =========================================================
   BANNER DO PERFIL (.ld-profile-card) — APENAS UM SELETOR
   Centralizado, sem esticar página inteira, com altura maior
   e imagem de fundo bem posicionada.
   ========================================================= */

.learndash-wrapper .ld-profile-card {
  position: relative !important;

  /* limite de largura + centralizado */
  max-width: 1200px !important;
  margin: 0 auto !important;

  /* tamanho/respiro do banner */
  min-height: 350px !important;
  padding: 60px 30px !important;

  /* visual */
  border-radius: 12px !important;
  overflow: hidden !important;

  /* fundo */
  background-image: url('https://digital.jornadaeduc.com.br/wp-content/uploads/2025/08/minimalist-business-themed-doodle-border-design-with-blank-space-mockup-background-scaled.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;         /* cobre toda a faixa */
  background-position: center center !important;
}

/* Responsivo do banner */
@media (max-width: 1200px){
  .learndash-wrapper .ld-profile-card{
    min-height: 320px !important;
    padding: 48px 24px !important;
  }
}
@media (max-width: 768px){
  .learndash-wrapper .ld-profile-card{
    min-height: 280px !important;
    padding: 32px 16px !important;
    background-position: center top !important;
  }
}


/* =========================================================
   CONTÊINERES CENTRAIS (OPCIONAL)
   Limita largura de listas/áreas relacionadas ao perfil,
   sem mexer na .learndash-wrapper global (evita “cortes”).
   ========================================================= */

.learndash-wrapper .ld-item-list,
.learndash-wrapper .ld-profile__saved-cards-actions,
.learndash-wrapper 

{
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.ld-profile__saved-cards-title, .ld-profile__saved-cards-list , .ld-profile__saved-cards-actions
{
	
	display:none;
}

