/* Barra inferior compacta de cinco accesos */
.desktop-bottom-nav {
  padding: 0;
  pointer-events: none;
}

.bottom-nav-shell {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  border-top: 1px solid #eeeeea;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -2px 8px rgba(71, 55, 18, 0.04);
  pointer-events: auto;
}

.bottom-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0.3rem 0.08rem max(0.3rem, env(safe-area-inset-bottom, 0px));
}

.bottom-nav-item {
  display: flex;
  min-width: 0;
  min-height: 3rem;
  padding: 0.08rem 0.05rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  color: #c4c4c1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.bottom-nav-item:active {
  opacity: 0.72;
  transform: scale(0.95);
}

.bottom-nav-icon-wrap {
  display: flex;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
}

.bottom-nav-icon-stack {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.bottom-nav-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #c7c8c5;
  transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.bottom-nav-icon--outline {
  opacity: 1;
  transform: scale(1);
}

.bottom-nav-icon--solid {
  opacity: 0;
  transform: scale(0.9);
}

.bottom-nav-label {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #bcbdb9;
  font-size: 0.5rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.bottom-nav-active .bottom-nav-icon {
  color: #4da3ff;
}

.bottom-nav-active .bottom-nav-icon--outline {
  opacity: 0;
  transform: scale(0.9);
}

.bottom-nav-active .bottom-nav-icon--solid {
  opacity: 1;
  transform: scale(1);
}

.bottom-nav-active .bottom-nav-label {
  color: #0874e8;
  font-weight: 500;
}

@media (min-width: 700px) {
  .bottom-nav-shell {
    max-width: 50rem;
  }
}

@media (max-width: 350px) {
  .bottom-nav-label {
    font-size: 0.46rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-nav-item,
  .bottom-nav-icon,
  .bottom-nav-label {
    transition: none;
  }
}
