/* CEGM Editora — visual azul, contraste alto e compra simples */

/* Loja: tons claros com detalhes em azul */
body:not(.carrinho-checkout) {
  background: #F5FAFC !important;
  color: #263F52 !important;
  font-family: "Open Sans", Lato, Arial, sans-serif !important;
  font-size: 17px;
  line-height: 1.55;
}
body:not(.carrinho-checkout) #cabecalho {
  background: #FFFFFF !important;
  box-shadow: 0 3px 16px rgba(24,79,115,.12);
}
body:not(.carrinho-checkout) #cabecalho .logo img {
  width: auto !important;
  max-width: 210px !important;
  max-height: 78px !important;
  height: auto !important;
}
body:not(.carrinho-checkout) #cabecalho .busca input {
  min-height: 50px;
  border: 1px solid #C6D7E2;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
}
body:not(.carrinho-checkout) .menu.superior .nivel-um > li > a {
  min-height: 48px;
  padding: 14px 16px;
  color: #1D5E88 !important;
  font-size: 17px;
  font-weight: 600;
}
body:not(.carrinho-checkout) .menu.superior .nivel-um > li > a:hover {
  background: #EAF3F8 !important;
  color: #154867 !important;
}
body:not(.carrinho-checkout) #corpo,
body:not(.carrinho-checkout) .conteiner-principal,
body:not(.carrinho-checkout) .secao-principal {
  background: transparent !important;
}
body:not(.carrinho-checkout) .cor-principal,
body:not(.carrinho-checkout) a {
  color: #1D5E88 !important;
}
body:not(.carrinho-checkout) .borda-principal {
  border-color: #1D5E88 !important;
}
body:not(.carrinho-checkout) .fundo-principal {
  background-color: #1D5E88 !important;
  color: #FFFFFF !important;
}
body:not(.carrinho-checkout) #listagemProdutos .titulo-categoria {
  margin: 28px 0 18px;
  padding: 0 0 12px;
  background: #FFFFFF !important;
  color: #1D5E88 !important;
  border-bottom: 2px solid #7DB3D1 !important;
}
body:not(.carrinho-checkout) #listagemProdutos .titulo-categoria strong {
  display: block;
  margin-top: 4px;
  color: #1D5E88 !important;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}
body:not(.carrinho-checkout) #listagemProdutos .listagem-item {
  box-sizing: border-box;
  padding: 14px;
  background: #FFFFFF !important;
  border: 1px solid #D6E6EE !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(24,79,115,.06);
}
body:not(.carrinho-checkout) #listagemProdutos .nome-produto {
  display: block;
  min-height: 46px;
  color: #24465F !important;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}
body:not(.carrinho-checkout) #listagemProdutos .preco-promocional {
  color: #175B85 !important;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}
body:not(.carrinho-checkout) #listagemProdutos .preco-parcela {
  font-size: 14px;
  line-height: 1.5;
}
body:not(.carrinho-checkout) .tag-comprar,
body:not(.carrinho-checkout) .botao-comprar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: #1D5E88 !important;
  color: #FFFFFF !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.2;
}
body:not(.carrinho-checkout) .tag-comprar:hover,
body:not(.carrinho-checkout) .botao-comprar:hover {
  background: #154867 !important;
}
body:not(.carrinho-checkout) #barraSuperior,
body:not(.carrinho-checkout) #barraTopo,
body:not(.carrinho-checkout) .barra-superior {
  background: #174864 !important;
  color: #FFFFFF !important;
}
body:not(.carrinho-checkout) #rodape .institucional {
  background: #EEF5F8 !important;
  color: #24465F !important;
}
body:not(.carrinho-checkout) #rodape a {
  color: #1D5E88 !important;
}
body:not(.carrinho-checkout) input:focus-visible,
body:not(.carrinho-checkout) select:focus-visible,
body:not(.carrinho-checkout) a:focus-visible,
body:not(.carrinho-checkout) button:focus-visible {
  outline: 3px solid #4F9DC2 !important;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  body:not(.carrinho-checkout) { font-size: 16px; }
  body:not(.carrinho-checkout) #cabecalho .logo img {
    max-width: 170px !important;
    max-height: 70px !important;
  }
  body:not(.carrinho-checkout) .menu.superior .nivel-um > li > a {
    padding: 12px 10px;
    font-size: 15px;
  }
  body:not(.carrinho-checkout) #listagemProdutos .titulo-categoria strong { font-size: 23px; }
  body:not(.carrinho-checkout) #listagemProdutos .nome-produto { font-size: 16px; min-height: 0; }
  body:not(.carrinho-checkout) .tag-comprar,
  body:not(.carrinho-checkout) .botao-comprar {
    width: 100%;
    min-height: 52px;
    font-size: 17px !important;
  }
}

/* Checkout: campos grandes, leitura clara e botões azuis */
body.carrinho-checkout {
  background: #F5FAFC !important;
  color: #243B4C !important;
  font-family: "Open Sans", Lato, Arial, sans-serif !important;
}
body.carrinho-checkout .conteiner-principal,
body.carrinho-checkout #corpo {
  background: transparent !important;
  background-image: none !important;
}
body.carrinho-checkout #corpo .titulo,
body.carrinho-checkout #corpo input,
body.carrinho-checkout #corpo select,
body.carrinho-checkout #corpo textarea,
body.carrinho-checkout #corpo button,
body.carrinho-checkout #corpo .botao,
body.carrinho-checkout #corpo label {
  font-family: "Open Sans", Lato, Arial, sans-serif !important;
}
body.carrinho-checkout #corpo a,
body.carrinho-checkout #formularioCheckout legend a,
body.carrinho-checkout #formularioCheckout legend i {
  color: #1D5E88 !important;
}
body.carrinho-checkout #corpo > .conteiner {
  box-sizing: border-box;
  max-width: 1240px;
  background: transparent;
  box-shadow: none;
  padding: 24px;
}
body.carrinho-checkout #corpo .caixa-sombreada,
body.carrinho-checkout #login-content .identificacao {
  box-sizing: border-box;
  background: #FFFFFF !important;
  color: #243B4C !important;
  border: 1px solid #D6E6EE !important;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(24,79,115,.08);
  padding: 24px;
  margin-bottom: 22px;
}
body.carrinho-checkout #formularioCheckout fieldset { min-width: 0; }
body.carrinho-checkout #formularioCheckout legend {
  color: #173E58 !important;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  border: 0;
  margin-bottom: 18px;
  white-space: normal;
}
body.carrinho-checkout #formularioCheckout .control-label {
  color: #243B4C !important;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 7px;
}
body.carrinho-checkout #formularioCheckout .control-group { margin-bottom: 20px; }
body.carrinho-checkout #formularioCheckout input[type="text"],
body.carrinho-checkout #formularioCheckout input[type="email"],
body.carrinho-checkout #formularioCheckout input[type="tel"],
body.carrinho-checkout #formularioCheckout input[type="password"],
body.carrinho-checkout #formularioCheckout input[type="number"],
body.carrinho-checkout #formularioCheckout select,
body.carrinho-checkout #formularioCheckout textarea,
body.carrinho-checkout #login-content input {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 50px;
  height: auto;
  padding: 12px 14px;
  background: #FFFFFF !important;
  color: #243B4C !important;
  border: 1px solid #9CB7C8 !important;
  border-radius: 6px;
  box-shadow: none;
  font-size: 16px !important;
  line-height: 22px;
}
body.carrinho-checkout #formularioCheckout input:focus,
body.carrinho-checkout #formularioCheckout select:focus,
body.carrinho-checkout #formularioCheckout textarea:focus,
body.carrinho-checkout #login-content input:focus,
body.carrinho-checkout #finalizarCompra:focus-visible,
body.carrinho-checkout #tipoCadastro a:focus-visible {
  border-color: #1D5E88 !important;
  outline: 3px solid #4F9DC2 !important;
  outline-offset: 1px;
}
body.carrinho-checkout #formas-pagamento-wrapper {
  background: #EEF5F8 !important;
  color: #243B4C !important;
  border: 1px solid #D6E6EE !important;
}
body.carrinho-checkout #formas-pagamento-wrapper legend,
body.carrinho-checkout #formas-pagamento-wrapper label,
body.carrinho-checkout #formas-pagamento-wrapper p,
body.carrinho-checkout #formas-pagamento-wrapper span {
  color: #243B4C !important;
}
body.carrinho-checkout #formasPagamento .accordion-group,
body.carrinho-checkout #formasPagamento .accordion-heading,
body.carrinho-checkout #formasPagamento .accordion-inner {
  background: #FFFFFF !important;
  color: #243B4C !important;
  border-color: #D6E6EE !important;
  border-radius: 8px;
}
body.carrinho-checkout #formasPagamento label,
body.carrinho-checkout #formasPagamento .forma-conteiner,
body.carrinho-checkout #formasPagamento .accordion-inner p,
body.carrinho-checkout #formasPagamento .accordion-inner span,
body.carrinho-checkout #formasPagamento .control-label {
  color: #243B4C !important;
}
body.carrinho-checkout #finalizarCompra,
body.carrinho-checkout #login-content .submit-email {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 56px;
  white-space: normal;
  background: #1D5E88 !important;
  color: #FFFFFF !important;
  border: 1px solid #1D5E88 !important;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 18px !important;
  font-weight: 700;
  text-shadow: none;
  box-shadow: none;
  line-height: 1.4;
}
body.carrinho-checkout #finalizarCompra:hover,
body.carrinho-checkout #login-content .submit-email:hover {
  background: #154867 !important;
  border-color: #154867 !important;
}
body.carrinho-checkout .resumo-compra .tabela-carrinho td,
body.carrinho-checkout .resumo-compra .tabela-carrinho th {
  border-color: #D6E6EE !important;
  color: #243B4C !important;
}
body.carrinho-checkout .resumo-compra .produto-info {
  color: #243B4C !important;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.carrinho-checkout .resumo-compra .tr-checkout-total {
  background: #EEF5F8 !important;
  color: #173E58 !important;
  font-weight: 700;
}
body.carrinho-checkout .checkout-alerta-seguro {
  color: #1D5E88 !important;
}
@media (max-width: 767px) {
  body.carrinho-checkout #corpo > .conteiner { padding: 12px; }
  body.carrinho-checkout #corpo .caixa-sombreada,
  body.carrinho-checkout #login-content .identificacao { padding: 18px; }
  body.carrinho-checkout #finalizarCompra,
  body.carrinho-checkout #login-content .submit-email {
    width: 100%;
    font-size: 17px !important;
  }
}