.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--color-gen);
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateZ(0); 
  -webkit-transform: translateZ(0);
}

.nav-container {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between; /* Distribuye uniformemente */
  align-items: center;
}

.nav-item {
  flex: 1; /* Cada item toma el mismo espacio */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.bottom-nav .nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  background: transparent;
  border: none;
  font-family: var(--font-base);
  font-size: 12px;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 8px 4px;
  margin: 0;
  transition: transform 0.1s ease, background-color 0.2s ease;
  border-radius: var(--pico-border-radius);
}

.bottom-nav .nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: none;
}

.bottom-nav .nav-btn:active {
  transform: scale(0.95);
}

.bottom-nav .nav-btn:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.bottom-nav .nav-btn img {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
}

.bottom-nav .nav-btn span {
  opacity: 0.8;
}

@media screen and (max-height: 670px) {
  .bottom-nav {
    height: 56px;
  }
  
  .bottom-nav .nav-btn img {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
  }
  
  .bottom-nav .nav-btn span {
    font-size: 10px;
  }
}

/* ===== RESPONSIVE - OCULTAR EN DESKTOP ===== */
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}