.elementor-1506 .elementor-element.elementor-element-b1faca1{--display:flex;--min-height:60px;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1506 .elementor-element.elementor-element-b1faca1.e-con{--align-self:center;}.elementor-1506 .elementor-element.elementor-element-b287b8b > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1506 .elementor-element.elementor-element-b287b8b.elementor-element{--align-self:center;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:767px){.elementor-1506 .elementor-element.elementor-element-b287b8b > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-b287b8b *//* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BLOQUEIA SCROLL DO BODY QUANDO MENU ESTÁ ABERTO */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

/* ========================= */
/* HEADER FIXO NO TOPO */
/* ========================= */

.header {
  width: 100%;
  background: black;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: transform 0.3s ease; /* usado para desaparecer ao scroll */
}

/* CONTAINER INTERNO DO HEADER (logo, menu e ações) */
.container-header {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ========================= */
/* LOGO (DESKTOP E MOBILE) */
/* ========================= */

/* Logo no topo (branco) */
.logo img {
  height: 40px;
  transition: filter 0.3s ease;
}


/* Logo no menu mobile (preto) */
.menu-mobile .logo-mobile img {
  height: 40px;
  filter: brightness(0) invert(0);
}

/* ========================= */
/* MENU DESKTOP */
/* ========================= */

.menu-desktop {
  display: flex;
  gap: 24px;
}

.menu-desktop a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

/* BOTÕES DE AÇÃO NO DESKTOP (login e carrinho) */
.acoes-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acoes-desktop .login {
  background: transparent;
  border: 1px solid white;
  color: white;
  font-size: 14px;
  padding: 8px 20px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 4px;
}

.acoes-desktop img {
  width: 16px;
}

/* ========================= */
/* ÍCONE DO MENU HAMBÚRGUER */
/* ========================= */

.menu-icon {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  display: none; /* escondido por padrão */
}

/* Exibe o ícone só no mobile */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  .container-header{
    margin: 0 !important;
}

  /* Esconde o menu desktop e ações no mobile */
  .menu-desktop,
  .acoes-desktop {
    display: none;
  }
}

/* Estilo das três barrinhas */
.hamburger {
  width: 100%;
  height: 100%;
  position: relative;
}

.hamburger span {
  background: white;
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  transition: all 0.4s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* Animação do menu hamburguer para X */
.menu-open .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
  background: black;
}

.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
  background: black;
}

/* ========================= */
/* MENU MOBILE (DROPDOWN) */
/* ========================= */

.menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: white;
  transform: translateX(100%); /* oculto inicialmente */
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
}

/* Quando ativo, desliza para tela */
.menu-mobile.ativo {
  transform: translateX(0%);
}

/* TOPO DO MENU MOBILE (logo) */
.menu-mobile .container-header.mobile {
  padding: 20px 24px;
  display: block;
}

/* ========================= */
/* CONTEÚDO INTERNO DO MENU */
/* ========================= */

.menu-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 24px 0;
  height: 100%;
  width: 100%;
}

/* LINKS DE NAVEGAÇÃO */
.links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.links a {
  font-size: 32px;
  font-weight: 400;
  color: black;
  text-decoration: none;
}

/* AÇÕES FINAIS DO MENU (login + ícone de compra) */
.acoes-mobile {
  margin-top: 60px; /* distância dos links */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* alinhado com os links */
  gap: 16px;
  padding-left: 4px;
}

.acoes-mobile .login {
  border: 1px solid black;
  background: none;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: black;
  border-radius: 4px;
}

.acoes-mobile .icones img {
  width: 20px;
  filter: brightness(0) invert(0);
}

.acoes-mobile .icones {
    align-items: center;
}


/* HOVER MENU */

.menu-desktop a {
  transition: opacity 0.3s, border-bottom 0.3s;
  position: relative;
}

.menu-desktop a:hover {
  opacity: 1;
}

.menu-desktop:hover a {
  opacity: 0.4;
}

.menu-desktop a:hover {
  opacity: 1;
}

.menu-desktop a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
}



/* CATEGORIA DROPDOWN MENU  */






/* Deixar hover categorias ativo*/
.dropdown-matematica:hover > .menu-link,
.submenu-matematica:hover ~ .menu-link {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  opacity: 1;
}


/* Overlay escurecido + blur */
.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* Ativar overlay no hover */
.dropdown-matematica:hover ~ .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Dropdown container */
.dropdown-matematica {
  position: relative;
  z-index: 1000;
}

/* Dropdown box centralizado na tela */
.submenu-matematica {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-32%);
  width: 1068px;
  height: 273px;
  background: #000;
  padding: 8px;
  border-radius: 8px;
  display: none;
}

/* Exibir ao hover */
.dropdown-matematica:hover .submenu-matematica {
  display: block;
}


/* Grid dos 4 blocos */
.submenu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 100%;
}

/* Cada bloco */
.submenu-inner a {
  width: 257px;
  height: 257px;
  background: #101112;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
  margin: 0;
}

.submenu-inner a:hover {
  transform: translateY(-2px);
}

/* Imagem */
.submenu-inner a img {
  width: 257px;
  height: 174px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  display: block;
}

/* Título */
.submenu-inner a h4 {
  margin: 8px 8px 4px 16px;
  font-size: 16px;
}

/* Descrição */
.submenu-inner a p {
  margin: 0 8px 0 16px;
  font-size: 13px;
  color: #aaa;
}

.menu-link {
    bottom: 2.5px;
}







/* BOTÃO LOGIN */


.icone-user-logado{
    margin-right:6px;
    font-size: 20px;
}



.user-logged-menu {
  position: relative;
  display: inline-block;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 150px;
  z-index: 999;
}

.user-dropdown a {
  display: block;
  padding: 8px 16px;
  color: #000;
  text-decoration: none;
}

.user-dropdown a:hover {
  background-color: #f0f0f0;
}

.user-logged-menu:hover .user-dropdown {
  display: block;
}

/* Remove as bordas do link principal quando logado */
.user-logged-menu .login {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}/* End custom CSS */