#overlay {
  background-color: #00000080;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 995; 
  display: none; 
}

.navegacion span, .navegacionM span {
  font-size: x-small;
  color: #ffffff;
  background-color: #000000;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 10px;
  margin-bottom: 1px;
  margin-left: 5px;
}

.titlenav .BtnCarrito, .topnavM .BtnCarrito, .titlenav .BtnCotiza, .topnavM .BtnCotiza, .titlenav .BtnContacto, .topnavM .BtnContacto {
  background-color: white;
  border: none;
  font-family: inherit;
  margin: 3px;
}

.titlenav .BtnCarrito:hover, .topnavM .BtnCarrito:hover, .titlenav .BtnCotiza:hover, .topnavM .BtnCotiza:hover, .titlenav .BtnContacto:hover, .topnavM .BtnContacto:hover {
  text-decoration: underline;
  cursor: pointer;
}
  
.topnav a {
  float: left;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px;
  float: right;
}
  
.button-text {
  display: flex;
  z-index: 999;
  align-items: center;
  border:none;
  position:fixed;
  background-color: #25ff37bb;
  padding-top: 6px;
  padding-left: 6px;
  padding-bottom: 6px;
  color: black;
  box-shadow: 0px 0px 6px 3px #b7b7b752;
}

.button-text img{
  animation: pulse 1s infinite ease-in-out alternate;
  margin-left: -60px;
  margin-top: -25px;
}

.button-text .whatsapp-number {
  font-size: 1.2em; /* Adjust this value to make it as big as you want */
}

.button-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.titlenav .navegacion img {
  animation: pulse 1s infinite ease-in-out alternate;
}

@keyframes pulse {
  from { transform: scale(0.8); }
  to { transform: scale(1.2); }
}

  /* -----------------------------codigo para hacer la pagina responsiva de escritorio---------------------------- */
@media screen and (min-width: 1201px) {

  .mobile-container {
    display: none;
  }

  .botonesflex {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1vw;
  }

  .titlenav .BtnCarrito, .topnavM .BtnCarrito, .titlenav .BtnCotiza, .topnavM .BtnCotiza, .titlenav .BtnContacto, .topnavM .BtnContacto {
    font-size: 16px;
  }
  
  .titlenav {
    position: fixed;
    top:0;
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 3px;
    overflow: hidden;
    background-color: #ffffff;
    border-bottom: 1px solid #bbb;
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 998;
  }

  .logo img {
    max-height: 90px;
  }

  .titlenav .navegacion {
    padding-right:20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .titlenav .navegacion a:hover {
    text-decoration: underline;
  }

  .titlenav .navegacion a {
    padding: 1px 6px;
  }
  
  .searchbar {
    flex-grow: 1;
    margin: 0 10px 0 20px;
  }

  .categoriescontainer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
  }

  .searchbar form {
    display: flex;
}

  .searchbar button {
    border: none;
    padding-top: 8px;
    padding-bottom: 7px;
    margin-left: -26px;
    color:#888;
    background-color: #ececec00;
  }

  .titlenav input[type=text] {
    border: none;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 14px;
    background-color: #ececec;
    flex-grow: 1;
    min-width: 100px;
  }

  .CTA {
    font-size: 28px;
  }

  .WA-number {
    font-size:25px;
    font-weight:bold;
  }

  .topnav {
    position: fixed;
    top: 102px;
    background-color: #ffffff;
    box-shadow: 0px 5px 10px -3px #bbbbbb9f;
    min-height: 45px;
    z-index: 999;
    width: 100%;
    padding-left: 6px;
    display: flex;
    justify-content: flex-start;
  }

  .topnav a, .titlenav a {
    color: #1b1b1b;
    text-decoration: none;
    font-size: 14px;
  }

  .topnav a:hover {
    text-decoration: underline;
  }

  .whatsapp {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }

  .whatsapp img {
      max-height: 30px;
      margin-left: 5px;
  }

  .whatsapp-text {
    display:flex;
    flex-direction: column;
    align-items: center;
  }

  .button-text {
    right: 40px;
    bottom: 30px;
    padding-right: 15px;
  }

  .button-text img{
    max-width: 80px;
  }


.topnav a, .dropbtn {
    color: rgb(0, 0, 0);
    padding: 14px 16px;
    text-decoration: none;
    display: block;
}

.topnav a:hover, .dropbtn:hover {
    background-color: #d7d7d7;
}

.dropdown {
    position: relative;
    display: flex;
}

.dropdown-content {
    display: none;
    position: absolute;
    flex-direction: column;
    align-items: center;
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    margin-top: 45px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

}

/* -----------------------------codigo para hacer la pagina responsiva movil ---------------------------- */
@media screen and (max-width: 1200px) {

  .topnav, .titlenav {
    display: none;
  }

  .button-text {
    padding-right: 10px;
    font-size: small;
    bottom:3vh;
    right: 3vw;
  }

  .button-text img{
    max-width: 70px;
    margin-right: 10px;
  }
 
  .tituloFooter {
    display: none;
  }

  .footer {
    display: flex;
    text-align: center;
    align-items: center;
  }

  .footer .grid-container {
    margin-right: 10px;
    margin-left: 10px;
  }

  /*----------------------------------------------------------------barra de navegacion movil --------------------------------------------------------------------------- */

  .mobile-container {
    position: fixed;
    top:0;
    margin: auto;
    height: 65px;
    width: 100%;
    z-index: 999;
  }
  
  .topnavM {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    position: relative;
    min-height: 65px;
    border-bottom: 1px solid #bbb;
  }
  
  .mobile-container #myLinks {
    display: none;
    position: relative;
    z-index: 999;
    background-color: #ffffff;
  }

  .mobile-container .paginasLinksM {
    display: flex;
    justify-content: space-between;
    /*background-color: whitesmoke;*/
  }

  .topnavM img {
    margin-left:auto;
    margin-right: auto;
    position: relative;
    max-height:45px;
    vertical-align:middle;
  }
  
  .topnavM a, .mobile-container a {
    color: #000000;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 14px;
    display: block;
    position: relative;
  }
  
  .topnavM .menu {
    background: #ffffff;
    color: black;
    display: block;
    position: absolute;
  }

  .topnavM .searchBtnM {
    margin-left: 1cm;
    float: left;
  }
  
  .topnavM a:hover {
    text-decoration: underline;
  }

  #busquedaMcontainer {
    position: relative;
    display: none;
    background-color: #ffffff;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .busquedaM {
    margin-left: auto;
    margin-right: auto;
    padding: 6px;
    border: none;
    background-color: #ececec;
    max-width: 80%;
  }

  .mobile-container .busquedaM button {
    float: right;
    position: relative;
    border: none;
    padding-top: 8px;
    padding-bottom: 0;
    margin-top: -24px;
    margin-left: 34vw;
    background-color: #ffffff00;
    display: block;
    width: auto;
  }

  .navegacionM {
    display: flex;
    align-items: center; 
    justify-content: flex-end;
  }

  .navegacionM a, .BtnCarrito, .BtnCotiza, .BtnContacto {
    margin-left: -10px;
  }

  span.total-quote-count {
    margin-right: 4px;
  }

  .mobile-container input[type=text] {
    float: none;
    position: relative;
    border: none;
    font-size: 14px;
    background-color: #ececec;
    display: block;
    width: 100%;
  }
  
}