/* Todas as telas */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Epunda+Slab:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Libertinus+Keyboard&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {


    --cor-roxo-escuro: #230d46;
    --cor-roxo-mais-escuro: hwb(265, 4%, 73%);
    --cor-roxo-claro-50: hwb(265, 96, 0);
    --cor-roxo-escuro-50: hwb(265, 4%, 50%);

    --cor-roxo-claro: #5C22AD;
    --cor-verde: #38BC8E;
    --cor-cinza-claro: #f3f3f3;
    --cor-cinza-escuro: #19171A;
    --cor-branco: #ffffff;
    --cor-preto: #000000;

    --fonte-principal: 'Inter', sans-serif;
    --fonte-secundaria: 'Open sans', sans-serif;
    --fonte-teste: 'Epunda Slab', serif;
}


html,body 
{
    overflow-x: hidden;
    width: 100%;
    background-color: var(--cor-branco);
    font-family: var(--fonte-principal);
}  

article{
    min-height: 100vh;

}
.topo {
    background-color: #522197;
    height: 20px;
    width: 100%;
}
.bg-navbar-roxo {
    background-color: var(--cor-branco);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.barra-pesquisa {
    border: 1px solid #ccc !important;
    border-radius: 20px 0 0 20px !important;
    padding: 8px 15px !important;
    height: auto !important;
    font-size: 1rem !important;
    font-family: var(--fonte-secundaria) !important;
    line-height: 1.5 !important;
}
.btn-lupa {
    border: 1px solid #ccc;
    background-color: var(--cor-branco);
    border-radius: 0 20px 20px 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-lupa:hover {
    background-color: var(--cor-cinza-claro);
    border: 1px solid #ccc;

}
.botao-login {
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.login {
    background-color: var(--cor-verde);
    color: var(--cor-branco);
    border-radius: 5px;
    border: 1px solid var(--cor-verde);
    font-weight: middle;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-family: var(--fonte-principal);
}
.login:hover {
    background-color: #288363;
    color: var(--cor-branco);
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.login-esquerda {
    flex: 1;
    background-size: cover;
}

.login-direita {
    flex: 1;
    background-color: var(--cor-branco);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: -4px 0 8px rgba(0,0,0,0.1);
}

#acessar-recuperar-senha-login a{
    color: black;
}

#acessar-recuperar-senha-login a:hover {
    color: rgb(212, 0, 255);
}

.cadastro {
    background-color: var(--cor-roxo-claro);
    color: var(--cor-branco);
    border-radius: 5px;
    border: 1px solid var(--cor-roxo-claro);
    font-weight: middle;
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-family: var(--fonte-principal);
}
.cadastro:hover {
    background-color: var(--cor-roxo-escuro);
}
.navbar-brand img {
    max-height: 80px;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-inner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.titulo-home {
    text-align: left;
    margin-top: 20px;
    font-size: 40px;
    color: #333333;
    font-weight: lighter;
    font-family:var(--fonte-principal);
    font-size: 35px;
}

.texto-home {
    margin-top: 20px;
    font-size: 20px; 
    color: #555555;
    max-width: 1500px;
    text-align: justify;
    font-family: var(--fonte-secundaria);
}

.linha {
    display: flex;
    margin-left: 90px;
}
.tipos-cursos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    font-family: var(--fonte-principal);
}
.tipos-cursos.ativo {
    text-decoration: underline;
    font-weight: lighter;
    font-family: var(--fonte-principal);
}
.form-control {
    border-radius: 10px;
}
#carouselExampleControls {
    margin: 0;
    padding: 0;
}
.carrossel-agarrador {
    position: relative;
    width: 100%;
    max-width: 1300px;
    overflow: hidden;
}
.carrossel-itens {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 10px;
}

.carde-cursos {
    width: 18rem;
    min-height: 18rem;
    background-color: var(--cor-branco);
    color: rgb(53, 52, 52);
    border-radius: 5px;
    border: 1px solid #cac9ca;
    display: inline-block;
    padding: 0;
    font-family: var(--fonte-principal);
    transition: all 0.5s ease;
}

.carde-cursos:hover{
  transform: translateY(-5px);
}

.carde-favoritos {
    width: 16rem;
    min-height: 14rem;
    background-color: var(--cor-branco);
    color: rgb(53, 52, 52);
    border-radius: 5px;
    border: 1px solid #cac9ca;
    display: inline-block;
    padding: 0;
}

/* .carde-geral {
    width: 16rem;
    min-height: 14rem;
    background-color: var(--cor-branco);
    color: rgb(53, 52, 52);
    border-radius: 5px;
    border: 1px solid #cac9ca;
    display: inline-block;
    padding: 0;
    font-family: var(--fonte-secundaria);

} */

.imagem-curso {
    border-radius: 5px 5px 0px 0px;
    width: 17.9rem;
    height: 12rem;
    object-fit: cover;
}

.carde-descricao {
    color: var(--cor-roxo-escuro);
    text-align: left;
    padding: 10px;
    margin-left: 8px ;
    margin-bottom: 0;
    font-family: var(--fonte-secundaria);
}
.carde-texto-titulo{
    color: var(--cor-roxo-claro-50);
    font-size: 18px;
    font-weight: bolder;
    margin: 0;
    font-family: var(--fonte-principal);
}
.carde-autor {
    font-size: 14px;
    color: var(--cor-roxo-claro);
    margin-top: 0;
    margin-bottom: 12px;
}
.carde-avaliacao{
    font-size: 15px;
    color: var(--cor-preto);
    margin-bottom: 0;
    display: inline;
    font-family: var(--fonte-principal);
}
.carde-quantidade-avaliacoes {
    font-size: 12px;
    color: #555555;
    margin-bottom: 0;
    display: inline;
    font-family: var(--fonte-principal);
}
.carde-preco {
    font-size: 15px;
    color: var(--cor-branco);
    margin: 0;
    background-color: #5c22add3;
    display: inline;
    border-radius: 5px;
    padding: 5px;
    font-family: var(--fonte-principal);
}



.imagem-curso-favoritos {
    border-radius: 5px 5px 0px 0px;
    width: 15.9rem;
    height: 9rem;
    object-fit: cover;
}

.carde-descricao-favoritos {
    text-align: left;
    padding: 10px;
    margin-left: 8px ;
    margin-bottom: 0;
    font-family: var(--fonte-secundaria);
}
.carde-texto-titulo-favoritos{
    font-size: 16px;
    font-weight: bolder;
    margin: 0;
    font-family: var(--fonte-principal);
}
.carde-autor-favoritos {
    font-size: 12px;
    color: #555555;
    margin-top: 0;
    margin-bottom: 8px;
    font-family: var(--fonte-principal);
}
.carde-avaliacao-favoritos{
    font-size: 15px;
    color: var(--cor-preto);
    margin-bottom: 0;
    display: inline;
    font-family: var(--fonte-principal);
}
.carde-quantidade-avaliacoes-favoritos {
    font-size: 12px;
    color: #555555;
    margin-bottom: 0;
    display: inline;
    font-family: var(--fonte-principal);
}
.carde-preco-favoritos {
    font-size: 15px;
    color: var(--cor-branco);
    margin: 0;
    background-color: var(--cor-roxo-escuro);
    display: inline-block;
    border-radius: 5px;
    padding: 5px;
    font-family: var(--fonte-principal);
}

.botao-esquerda {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);;
    border: none;
    color: rgb(0, 0, 0);
    background-color: var(--cor-verde)67;
    font-size: 30px;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    border-radius: 0 50%  50% 0; 
    font-family: var(--fonte-principal);
}
.botao-direita {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);;
    border: none;
    color: rgb(0, 0, 0);
    background-color: var(--cor-verde)67;
    font-size: 30px;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50% 0 0 50%;
    font-family: var(--fonte-principal);
}
.esquerda {
    left: 0;
}
.direita {
    right: 0;
}

.div-aprendizado-direcionado {
    background-color: var(--cor-cinza-claro);
    width: 100%;
    min-height: 50vh;
    padding-top: 20px;
    margin-top: 50px;
}
.titulo-aprendizado-direcionado{
    font-size: 30px;
    color: #333333;
    font-weight: lighter;
    font-family: var(--fonte-principal);
}
.div-aprendizado-direcionado-container{
    width: 100%;
}

.objetivos-container {
    display: flex;
    gap: 20px;
}

.objetivos-lista {
    flex: 0 0 300px; /* largura fixa da lista de objetivos */
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 100px ;
}

.objetivos-aprendizado {
    background-color: var(--cor-branco);
    padding: 15px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    min-height: 100px;
    font-family: var(--fonte-principal);
}
.painel-lateral {
    margin-left: 100px ;
    flex: 1; /* ocupa todo o resto da linha */
    position: relative;
    margin-bottom: 100px;
}

.conteudo-painel {
    width: 100%;
    height: 100%;
}

.rodape {
    background-color: #19171A;
    color: var(--cor-branco);
    width: 100%;
    text-align: center;
    padding-top: 30px;
}

.fundo-curso{
    background-color: var(--cor-roxo-escuro);
    min-height: 30vh;
    min-width: 100vw;
    position: absolute;
}

.detalhes-curso {
    padding: 20px;
    min-height: 30vh;
    background-color: none;
    position: relative;
    align-items: right;
}

.detalhes-curso{
    display: inline-block;
    max-width: 50vw;
}

.titulo-curso {
    font-size: 38px;
    font-weight: bold;
    color: var(--cor-branco);
    background-color: none;
    margin-left: 120px;
}

.descricao-curso {
    font-size: 18px;
    color: var(--cor-branco);
    margin-left: 120px;
}

.carde-curso-detalhes {
    position: fixed;       
    top: 150px;
    margin-bottom: 400px;             
    right: 20px;           
    width: 25vw;           
    height: 65vh;          
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; 
    overflow: hidden;       
    z-index: 1000;
}

.detalhes-imagem-curso-container {
    width: 100%;
    height: 40%;           
    border-radius: 20px 20px 0 0;
    overflow: hidden;      
    position: relative;    
}

.detalhes-imagem-curso {
    width: 100%;
    height: 100%;
    object-fit: cover;     
    border-radius: 20px 20px 0 0;
}

.detalhes-curso-carde {
    flex: 1;               
    padding: 20px;
    overflow-y: auto;      
}

.linha-detalhes-imagem-curso-roxo1{
    height: 5px;
    width: 20%;
    background-color: var(--cor-roxo-escuro);
    position: absolute;
    margin-left: 0%;
}

.linha-detalhes-imagem-curso-verde1{
    height: 5px;
    width: 20%;
    background-color: var(--cor-verde);
    position: absolute;
    margin-left: 20%;
    
}

.linha-detalhes-imagem-curso-roxo2{
    height: 5px;
    width: 20%;
    background-color: var(--cor-roxo-escuro);
    position: absolute;
    margin-left: 40%;
    
}

.linha-detalhes-imagem-curso-verde2{
    height: 5px;
    width: 20%;
    background-color: var(--cor-verde);
    position: absolute;
    margin-left: 60%;
    
}

.linha-detalhes-imagem-curso-roxo3{
    height: 5px;
    width: 20%;
    background-color: var(--cor-roxo-escuro);
    position: absolute;
    margin-left: 80%;
    
}

.detalhes-curso-carde-titulo{
    font-size: 2em;
    font-family: var(--fonte-principal);
}

.detalhes-curso-carde-informacoes{
    font-size: 1.1em;
    color: #666666;
    font-family: var(--fonte-principal);
}

.detalhes-curso-carde-preco{
    font-size: 1.5em;
    color: var(--cor-preto);
    font-family: var(--fonte-principal);
}

.container-compra {
    background-color: var(--cor-branco);
}

.botao-comprar{
    background-color: var(--cor-roxo-escuro);
    border: none;
    color: var(--cor-branco);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5%;
}
.botao-comprar:hover{
    background-color: var(--cor-roxo-escuro);
    transition: 2ms;
}

.botao-carrinho{
    background-color: var(--cor-branco);
    border: 1px solid var(--cor-roxo-escuro);
    color: var(--cor-roxo-escuro);
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10%;
}
.botao-carrinho:hover{
    background-color: #f0f0f0;
    transition: 2ms;
}

.carrosel-detalhes-curso{
    position: relative;
    max-width: 50% ;
    overflow: hidden;
    margin-left: 10vw;
    margin-top: 5vh;
    max-height: 50vh;
}

.titulo-modulo{
    font-size: 38px;
    margin-top: 5vh;
    color: var(--cor-preto);
    background-color: none;
    margin-left: 8%;
}

.modulo-curso{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 8%;
    margin-top: 2vh;
    margin-bottom: 5vh;
    max-width: 50vw;
}
    
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    height: 100%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
}
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: var(--fonte-principal);
}
.illustration img {
    width: 100%;
    max-width: 400px;
}
.botao-roxo-lc {
    background-color: var(--cor-roxo-claro);
    color: white;
    border-radius: 10px;
}
.botao-roxo-lc:hover {
    background-color: #5902a6;
    color:rgb(226, 153, 255)
}
.social-icons img {
    width: 40px;
    margin: 0 10px;
    cursor: pointer;
}
.navbar-brand {
    font-weight: bold;
}
.search-bar {
    width: 100%;
    max-width: 400px;
}

/*aba comentários*/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 30px;
  font-family: var(--fonte-secundaria);
}

.testimonial-card {
  width: 260px; /* deixa o quadrado */
  height: 260px;
  background: var(--cor-branco);
  border: 1px solid #e0e0e0;
  border-radius: 8px; /* cantos levemente arredondados */
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 30px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
}

.testimonial-card a {
  color: #5f3dc4;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
}

.testimonial-card a:hover {
  text-decoration: underline;
}

.testimonial-perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  font-size: 20px;
}

.testimonial-perfil img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.div-fundo-cinza {
    background-color: var(--cor-cinza-claro);
    width: 100%;
    min-height: 50vh;
    padding-top: 20px;
    margin-top: 50px;
}

.redefinir-alinhamento {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.redefinir-card {
  background: var(--cor-branco);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 32px;
  width: 100%;
  max-width: 420px;
}

.redefinir-card h2 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #6c0000;
}

.redefinir-card .descricao {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
}

.campo {
  margin-bottom: 20px;
}

.campo label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}

.campo input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.campo input:focus {
  border-color: #7c5cff;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.2);
}

.btn-recuperar {
  width: 100%;
  background: linear-gradient(180deg, #7c5cff, #6949ff);
  color: #fff;
  font-weight: 600;
  padding: 12px 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.2s ease;
}

.btn-recuperar:hover {
  color: #cecece;
}

.btn-recuperar:active {
  transform: translateY(1px) scale(0.98);
}

.fundo-codigo-confirmacao {
  background: url("/static/img/telas_de_fundo/variacao\ fundo\ cobra.png") no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
}

.container-login {
  width: 100%;
  max-width: 400px;
}

.imagem-login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px;
}

/* Card ocupando a tela toda */
.card-tela-toda {
  
  padding: 0;
  margin-top: 30px; 
  margin-right: 30px;
  margin-left: 30px;
}


/* Imagem ocupa corretamente a largura */
.card-tela-toda .img-fluid {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.btn-filtros {
    background-color: var(--cor-verde);
    color: var(--cor-branco);
    border-radius: 5px;
    border: 1px solid var(--cor-verde);
    font-weight: middle;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-family: var(--fonte-principal);
    margin: 0; 
}

.btn-atalhos {
    background-color: #b9b9b9;
    color: var(--cor-branco);
    border-radius: 5px;
    border: 1px solid #c9c9c9;
    font-weight: middle;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-family: var(--fonte-principal);
    margin: 0; 
}

.filtros-container {
  display: flex;
  align-items: center;
  gap: 20px;                
  margin: 30px;             
  margin-left: 30px;       
  margin-right: 30px;
}

/* --- Offcanvas estilo tipo "filtros" (semelhante à imagem) --- */
.offcanvas {
  width: 320px; /* largura do painel */
  max-width: 85vw;
  background-color: var(--cor-branco);
  border-right: 1px solid rgba(0,0,0,0.06);
  padding-top: 18px;
  font-family: var(--fonte-principal);
  color: #222;
}

/* Header */
.offcanvas .offcanvas-header {
  padding: 18px 18px 6px 18px;
  border-bottom: none;
}
.offcanvas .offcanvas-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2233;
  margin: 0;
}

/* Body padding */
.offcanvas .offcanvas-body {
  padding: 12px 18px 24px 18px;
}

/* Section headings like "Ratings", "Language" */
.offcanvas h6 {
  font-size: 18px;
  font-weight: 700;
  margin: 14px 0 8px 0;
  color: #222;
}

/* List container */
.offcanvas .filtro-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}

/* custom radio row (ratings) */
.filtro-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.filtro-item input {
  display: none;
}

/* fake radio circle */
.filtro-item .fake-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bfc3cc;
  display: inline-block;
  flex: 0 0 18px;
  position: relative;
}
.filtro-item input:checked + .fake-radio {
  border-color: #6a0dad;
  background: linear-gradient(180deg,#6a0dad,var(--cor-roxo-escuro));
}
.filtro-item .fake-radio::after{
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}
.filtro-item input:checked + .fake-radio::after{
  background: #fff;
}

/* label text area */
.filtro-item .label-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #222;
}

/* stars and count */
.filtro-item .stars {
  display:flex;
  gap: 2px;
  align-items: center;
  margin-right: 8px;
}
.filtro-item .stars span.star {
  font-size: 14px;
  color: #d9902d; /* dourado */
  line-height: 1;
}

/* count to the right */
.filtro-item .count {
  margin-left: auto;
  font-size: 13px;
  color: #8b8b95;
}

/* checkboxes style for other sections */
.filtro-checkbox {
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
}
.filtro-checkbox input { display: none; }
.filtro-checkbox .fake-check {
  width:16px;
  height:16px;
  border:2px solid #bfc3cc;
  border-radius:4px;
  flex:0 0 16px;
  display:inline-block;
  position:relative;
}
.filtro-checkbox input:checked + .fake-check {
  background: linear-gradient(180deg,#6a0dad,var(--cor-roxo-escuro));
  border-color: #6a0dad;
}
.filtro-checkbox .fake-check::after{
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
}
.filtro-checkbox input:checked + .fake-check::after{
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

/* "Show more" link */
.offcanvas .show-more {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#6a0dad;
  font-weight:600;
  cursor:pointer;
  margin-top:8px;
}
.offcanvas .show-more .caret {
  transform: rotate(0deg);
  transition: transform .2s;
}
.offcanvas .show-more.collapsed .caret { transform: rotate(-180deg); }

/* small hr style */
.offcanvas hr {
  border: none;
  height: 1px;
  background: #efeff2;
  margin: 12px 0;
}

/* small helper text */
.offcanvas .sub {
  font-size: 13px;
  color: #8b8b95;
}

/* make sections scrollable if long */
.offcanvas .offcanvas-body {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-bottom: 30px;
}

/* responsive: narrower on small screens */
@media (max-width: 576px) {
  .offcanvas { width: 85vw; }
  .offcanvas .offcanvas-title { font-size: 22px; }
}

