.nav {
  display: flex;
  align-items: center;
  position: fixed;
  justify-content: space-between;
  width: 100%;
  height: 85px;
  z-index: 6;
  padding: 1em 5em;
  color: var(--color-pri);
  font-size: 1.1em;
  transition: all 0.3s ease;
  background-color: var(--color-bg);
  z-index: 1000;
}

.nav-enlaces-container {
  display: flex;
  flex-direction: row;
}

.nav-logo {
  display: flex;
   transform: translate(-200%, 0); 
   opacity: 0;   
  transition: all 2s ease;
}

.nav-logo a {
  text-decoration: none;
   color: var(--color-pri-70); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-nombre {
  display: flex;
  flex-direction: column;
  color: var(--color-pri);
  z-index: 5;
}

.nav-logo a img {
  height: 70px;
  width: 70px;
  transition: scale 0.3s, rotate 1s;
}

.nav-enlaces {
  display: flex;
  align-items: center;
  gap: 2em;
}

.nav-enlaces-enlace {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.enlace-nav {
  color: var(--color-pri-70);
  position: relative;
  display: flex;
  width: 140px;
  height: 60px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.enlace-nav span {
  margin: 10px;
  text-align: center;
}

 SVG para el círculo 
.enlace-nav svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 185px;
  height: 80px;
  pointer-events: none;
  z-index: -1;
   Coloca el círculo detrás del texto 
}

.circle-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  stroke: var(--color-pri);
  stroke-width: 1;
  fill: none;
  animation: none;
}

 Animación al pasar el mouse 
.enlace-nav:hover .circle-path {
  animation: drawCircle 2s ease-out forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

.nav-texts-pages {
   transform: translate(-200%, 0); 
  transition: transform 1s;
}

.nav-texts-carro {
   transform: translate(200%, 0); 
  transition: transform 1s;
}

.i-carrito {
  position: relative;
  height: 35px;
  width: 35px;
  transition: filter 0.3s, scale 0.3s, rotate 1s;
}

.i-carrito:hover {
  scale: 1.1;
  rotate: -8deg;
}

.i-carrito:hover circle,
.i-carrito:hover path {
  fill: none;
  stroke: var(--color-pri);
}

.carrito-numero {
  position: absolute;
  bottom: -10px;
  right: -18px;
  background-color: #5cac2c;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  scale: 0;
  opacity: 0;
}

.nav-enlaces-enlace:nth-child(4) {
  border: none;
  padding: none;
}

@media (max-width: 1440px) {


   .enlace-nav {
    width: 120px;
  } 

  .nav-logo a span {
    font-size: 1.2em;
  }
}

@media (max-width: 1024px) {


  .nav-logo a img {
    width: 60px;
    height: 60px;
  }

  .nav-logo a span {
    font-size: 1em;
  }

  .carrito-numero {
    bottom: -20px;
    right: 20px;
    font-size: 16px;
  }

  .enlace-nav {
    width: 90px;
  }
}

@media (max-width: 768px) {

  .nav-logo a span {
    font-size: 1em;
  }

  .nav-logo a img {
    height: 60px;
    width: 60px;
  }

  .nav-enlaces {
    font-size: 1em;
    gap: 0;
  }

  .nav-enlaces-enlace span {
    font-size: 0.7em;
  }
}

@media (max-width: 425px) {


  .nav-enlaces-enlace span {
    font-size: 0.6em;
  }

  .nav-logo a span {
    font-size: 0.9em;
  }

  .nav-logo a img {
    height: 50px;
    width: 50px;
  }

  .nav-enlaces {
    gap: 0.5em;
  }

  .noneMobile {
    display: none;
  }

  .enlace-nav {
    width: 60px;
  }

  .i-carrito {
    width: 30px;
    height: 30px;
  }
}


.h-nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    color: #5cac2c;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-right: 40px;
    padding-bottom: 0px;
    padding-left: 40px;
}

.h-logo{
    display: flex;
    align-items: center;

}

.h-logo h3{
    color: var(--color-pri) !important;
}
