.show-mobile {}
.show-desktop {
  display: none;
}

.header-content-mobile {
  display: flex;
  justify-content: space-between;
}

.header-hamburger-button {
  border: none;
  background: none;
  padding: 0px;
}

.header-logo {
  border: none;
  background: none;
  padding: 0px;
}

.header-search-button {
  border: none;
  background: none;
  padding: 0px;

  img {
    width: 24px;
    height: 24px;
  }
}


 /* --------------- Menu mobile --------------- */

/* Overlay atrás do menu */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2500;
}

.menu-overlay.active {
  display: block;
}

 .menu-mobile {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: #0054A6;
  z-index: 3000;
  padding: 0px 20px;

  top: 0px;
  left: 0px;
}

.menu-mobile-close {
  display: none !important;
}


.menu-mobile-header-buttons-bar {
  display: flex;
  justify-content: flex-end;

  width: 100%;
  height: 56px;
  min-height: 56px;

  button {
    border: none;
    background: none;
    padding: 0px;
  }

  .menu-mobile-close-button {
    img {
      width: 24px;
      height: 24px;
    }
  }
}


.menu-mobile-content {
  width: 100%;
}

.menu-mobile-search-bar-container {
  padding-top: 16px;
  padding-bottom: 24px;
}

.menu-mobile-search-input {
  width: 100%;
  height: 48px;

  background-color: #054887;
  background-image: url("../img/search1.svg");
  background-repeat: no-repeat;
  background-position: 16px center;
  border: none;
  border-radius: 8px;

  padding-left: 50px;


  font-family: 'ff2';
  font-size: 14px;
  color: white;
}

.menu-mobile-search-input::placeholder {
  font-size: 12px;
  color: #B0BFC9;
}

.menu-mobile-option-container {
  display: flex;
  flex-direction: column;

  height: calc(100vh - 350px);

  row-gap: 16px;
}

.menu-mobile-option {
  border: none;
  background-color: #0062C0;
  color: white;

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 64px;
  border-radius: 8px;

  font-family: 'ff3';
  font-size: 20px;

  text-align: left;
  padding: 0px 24px;
}

.menu-mobile-social-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 15px;

  margin-bottom: 43px;

  h3 {
    font-family: 'ff3';
    font-size: 14px;
    color: white;
  }
}

.menu-mobile-footer {
  height: 96px;

  display: flex;
  align-items: center;
}


 /* --------------- Mega menu --------------- */
.mega-menu-bg {
  display: none;

  width: 100vw;
  height: 100vh;
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 1000;
}

#mega-menu {
  display: none;
}

.mega-menu {
   position: relative;
    width: 410px;
    height: 100%;
    background-color: #0054A6;

    padding: 0 0 0 0;
    box-sizing: border-box;
    overflow: visible;
  }


.mega-menu-header {
  color: white;
  font-family: 'ff3';
  h2 {
    font-size: 24px;

    padding-top: 17px;
    padding-bottom: 24px;
  }
}

.mega-menu-header-buttons-bar {
  display: flex;
  justify-content: space-between;

  height: 56px;
  min-height: 56px;

  button {
    border: none;
    background: none;
    padding: 0px;
  }

  .mega-menu-close-button {
    img {
      width: 24px;
      height: 24px;
    }
  }
}

.mega-menu-content {
  display: flex;
  flex-direction: column-reverse;
}

.mega-menu-header-produtos {
  color: white;
  
  display: flex;
  justify-content: space-between;
  width: 100%;

  padding-top: 22px;
  padding-bottom: 22px;

  border-top: 1px solid #0054A6;

  h2 {
    font-family: 'ff3';
    font-size: 24px;
  }

  button {
    border: none;
    background: none;

    font-family: 'ff3';
    font-size: 16px;
    color: white;

    display: flex;
    align-items: center;
    column-gap: 12px;
    span {
      display: none;
    }
  }
}

.mega-menu-title-desktop {
  display: none;
}

.mega-menu-lista-produtos {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
   background-color: #0054A6; 
}

.mega-menu-card-produto {
  border: none;
  background: none;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  padding: 0px;
  padding-left: 0px;
  padding-right: 12px;
  text-decoration: none !important;

  background-color: #0054A6;

  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;

  button {
    border: none;
    background: none;
  }
}

.mega-menu-card-produto-content {
  display: flex;
  align-items: center;
  column-gap: 16px;

  height: 100%;
  max-height: 100%;
}

.mega-menu-card-produto:hover {
  background-color: #0054A68F;
}

.mega-menu-imagem-produto {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
}

.mega-menu-nome-produto {
  font-family: 'ff2';
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: white;

  word-break: break-word;
  white-space: normal;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Lista marcas */
.mega-menu-container-marcas {
  box-sizing: border-box;
  margin-bottom: 24px;
}

.mega-menu-header-marcas {
  color: white;

  display: flex;
  justify-content: space-between;
  width: 100%;

  padding-top: 20px;
  padding-bottom: 20px;

  border-top: 1px solid #0054A6;

  h2 {
    font-family: 'ff3';
    font-size: 24px;
  }

  button {
    border: none;
    background: none;

    font-family: 'ff3';
    font-size: 16px;
    color: white;

    display: flex;
    align-items: center;
    column-gap: 12px;

    span {
      display: none;
    }

    .mega-menu-show-all-blue-arrow {
      display: none;
    }
  }
}

.mega-menu-lista-marcas {
  display: flex;
  column-gap: 8px;
  row-gap: 12px;
  overflow: hidden;
  overflow-y: auto;
  width: 100vw;

  .mega-menu-lista-vazia {
    font-family: 'ff4';
    font-size: 28px;
    color: #23262A;

    width: 100%;
    min-width: 100%;

    margin-top: 40px;

    text-align: center;
  }
}

.mega-menu-card-marca {
  border: none;
  background: none;

  display: flex;
  align-items: center;

  width: 80px;
  max-width: 80px;
  height: 80px;
  min-height: 80px;

  border-radius: 6px;
  padding: 0px;

  .mega-menu-card-marca-content {
    display: flex;
    align-items: center;
    width: 80px;
    height: 80px;
  }

  .mega-menu-imagem-esquerda {
    display: none;
  }

  .mega-menu-logo-marca {
    width: 80px;
    min-width: 80px;
    height: 80px;
    padding: 15px;

    object-fit: contain;
  }

  .mega-menu-descricao-marca {
    display: none;    
    font-family: 'ff1';
    font-size: 12px;
    color: white;
    font-weight: 400;
    line-height: 14.4px;
    letter-spacing: 0.02em;
    text-align: left;
    
    text-overflow: ellipsis;
    max-height:92px;
    overflow:hidden;

    word-break: break-word;
    white-space: normal;        

  }
}



.mega-menu-footer {
  height: 96px;

  display: flex;
  align-items: center;
}

.fale-conosco-button {
  width: 100%;
  height: 48px;

  border-radius: 8px;

  border: none;

  font-family: 'ff4';
  font-size: 16px;

  color: #0054A6;
}

@media screen and (min-width: 992px) {
  .show-mobile {
    display: none;
  }
  .show-desktop {
    display: initial;
  }

  .menu-mobile {
    display: none !important;
  }

  #menu-mobile {
    position: relative;
    z-index: 1100;
  }

  .mega-menu-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;

    width: 100vw;
    height: 100vh;
    background: #00000080;

    padding: 0;
    
  }



  #mega-menu {
    display: initial !important;
    transition: all 0.25s ease-in-out !important;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    z-index: 1100;
  }

  #mega-menu.show {
    opacity: 1;
    pointer-events: all;
  }

  #mega-menu-linhas {
    display: initial !important;
    transition: all 0.25s ease-in-out !important;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    z-index: 1100;
  }

  #mega-menu-linhas.show {
    opacity: 1;
    pointer-events: all;
  }



  .mega-menu-header {
    display: none;
  }

  .mega-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 410px;
    overflow: visible;
  }

  .mega-menu-container-produtos {
    width: 410px;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  .mega-menu-container-marcas {
    display: none;
  }

  .mega-menu-header-produtos {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 410px;
    height: 95px;
    padding: 0 36px 0 36px;
    border-top: none;
    border-bottom: 1px solid rgba(0, 84, 166, 0.3);
    position: relative;
    overflow: visible;

    h2 {
      font-family: 'ff4';
      font-size: 24px;
      font-weight: 700;
      color: white;
    }
  }

  .mega-menu-close-button-desktop {
    width: 50px;
    height: 48px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -25px;
    z-index: 1102;
    top: 42px;
    border-radius: 0;
    pointer-events: auto;

    img {
      width: 50px;
      height: 48px;
      pointer-events: none;
    }
  }

  .mega-menu-title-desktop {
    display: initial;
  }

  .mega-menu-title-mobile {
    display: none;
  }
.mega-menu-content {
  background-color: #0054A6 ;
}
  .mega-menu-lista-produtos {
    background-color: #0054A6; 
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 80px);
    row-gap: 20px;
    margin-top: 10px;
    padding-left: 36px;
    padding-right: 36px;
    padding-bottom: 45px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mega-menu-lista-produtos::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .mega-menu-lista-produtos::before {
    content: '';
    position: fixed;
    top: 205px;
    left: 0;
    width: 410px;
    height: 135px;
    background: linear-gradient( 180deg, #0054A6 0%, rgba(0, 84, 166, 0) 100%);
    pointer-events: none;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mega-menu-lista-produtos.scrolled::before {
    opacity: 1;
  }

  .mega-menu-lista-produtos::after,
  .mega-menu-lista-linhas::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 410px;
    height: 135px;
    background: linear-gradient(360deg, #0054A6 0%, rgba(0, 84, 166, 0) 100%);
    pointer-events: none;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .mega-menu-lista-produtos.scrolled-bottom::after,
  .mega-menu-lista-linhas.scrolled-bottom::after {
    opacity: 0;
  }

  .mega-menu-lista-linhas::before {
    content: '';
    position: fixed;
    top: 205px;
    left: 0;
    width: 410px;
    height: 135px;
    background: linear-gradient( 180deg, #0054A6 0%, rgba(0, 84, 166, 0) 100%);
    pointer-events: none;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mega-menu-lista-linhas.scrolled::before {
    opacity: 1;
  }

  .mega-menu-card-produto {
    width: 337px !important;
    height: 100px;
    border-radius: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: transparent;
    position: relative;
    margin-left: 0;
  
  }

  .mega-menu-card-produto:hover {
    background-color: #0054A68F;
    border: 2px solid #FFFFFF;
    box-shadow: 0px 0px 20px 0px #FFFFFF;
  }

  .mega-menu-card-produto-content {
    width: 337px;
    height: 100px; 
    display: flex;
    align-items: center;
    column-gap: 0;
    position: relative;
 
  }

  .mega-menu-imagem-produto {
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .mega-menu-imagem-produto img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
  }

  .mega-menu-nome-produto {
    font-family: 'ff2';
    font-size: 36;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    color: white;
    padding-left: 30px;
    position: relative;
  }

  /* Ellipsis do texto das caixas de produto do mega menu */
  .mega-menu-nome-produto::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 24px;
    background: none;
  }

}
  /* Lista marcas */
  .mega-menu-container-marcas {
    box-sizing: border-box;
    background-color: #F0F7FF;
    border-radius: 32px;
    width: 70%;
    height: 100%;
    min-height: 100%;
    padding: 32px;
    overflow: hidden;
  }

  .mega-menu-header-marcas {
    color: #23262A;

    display: flex;
    justify-content: space-between;
    width: 100%;

    padding-top: 0px;
    padding-bottom: 35px;

    border-top: none;

    h2 {
      font-family: 'ff4';
      font-size: 24px;
    }

    button {
      border: none;
      background: none;

      font-family: 'ff4';
      font-size: 16px;
      color: #0054A6;

      display: flex;
      align-items: center;
      column-gap: 12px;

      span {
        display: initial;
      }

      .mega-menu-show-all-blue-arrow {
        display: initial;
      }

      .mega-menu-show-all-white-arrow {
        display: none;
      }
    }
  }

  .mega-menu-lista-marcas {
    /* display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    grid-template-rows: repeat(auto-fill, 112px);
    column-gap: 12px;
    row-gap: 12px;
    overflow: hidden;
    overflow-y: auto;
    width: 100%;
    height: calc(100% - 80px); */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    grid-template-rows: repeat(auto-fill, 112px);
    column-gap: 12px;
    row-gap: 12px;
    overflow: hidden;
    overflow-y: auto;
    width: 100%;
    height: calc(100% - 80px);
  

    .mega-menu-lista-vazia {
      font-family: 'ff4';
      font-size: 28px;
      color: #23262A;
      width: 100%;
      min-width: 100%;
      margin-top: 40px;
      text-align: center;
    }
  }

  .mega-menu-card-marca {
    border: none;
    background: none;

    display: flex;
    align-items: center;

    width: 100%;
    min-width: 100%;
    height: 112px;
    min-height: 112px;

    border-radius: 20px;
    padding: 0;
    overflow: hidden;

    .mega-menu-card-marca-content {
      display: flex;
      align-items: center;
      width: 100%;
      height: 112px;
      border-radius: 20px;
      overflow: hidden;
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: right center;
      background-size: auto 100%;
    }

    .mega-menu-imagem-esquerda {
      display: initial;

      width: 144px;
      height: 96px;
      border-radius: 12px;

      object-fit: cover;
    }

    .mega-menu-logo-marca {
      width: 138px;
      min-width: 138px;
      height: 92px;

      object-fit: contain;
    }

    .mega-menu-descricao-marca {
      display: none;
      font-family: 'ff1';
      font-size: 12px;
      color: white;
      font-weight: 400;
      line-height: 14.4px;
      letter-spacing: 0.02em;
      text-align: left;
      
      
      text-overflow: ellipsis;
      max-height:92px;
      overflow:hidden;
   

    }
  }

  .mega-menu-card-marca:hover {
    background: none;
    column-gap: 12px;

    .mega-menu-card-marca-content {
      background-image: none !important;
      background-color: #0A3C70;
    }

    .mega-menu-imagem-esquerda {
      display: none;
    }

    .mega-menu-descricao-marca {
      display: initial;

      text-overflow: ellipsis;
      max-height:92px;
      overflow:hidden;
    }

    .mega-menu-logo-marca {
      width: 138px;
      min-width: 138px;
      height: 92px;
      padding: 10px;

      background-color: white;

      border-radius: 12px;
    }
  }
}

@media screen and (min-width: 1600px) {
 


  .mega-menu-container-marcas {
    width: 50%;
    min-width: 700px;
  }

  .mega-menu-lista-marcas {
    /* overflow-y: hidden; */
    /* height: unset; */
  }

  .mega-menu-lista-marcas {
    grid-template-columns: repeat(2, minmax(312px, 1fr));
  }
}

@media screen and (min-width: 1270px) {
  .mega-menu-lista-produtos {
    grid-template-columns: repeat(auto-fill, 214px);

    /* height: unset; */
  }

  .mega-menu-card-produto {
    width: 214px;
  }
}

@media screen and (min-width: 1400px) {


.blue-text {
  color: #0054A6 !important;
}