/* ==================================================
   BARRA DE NAVEGACIÓN MÓVIL - ELEGGANS V2
   ================================================== */

#mobile-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  z-index: 998;
  display: none;
  align-items: stretch;
}

.nav-items-container {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: stretch;
}

/* Íconos */
.nav-icon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
  border-right: 1px solid #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-icon:last-child {
  border-right: none;
}
.nav-icon img {
  width: 26px;
  height: 26px;
}

/* Botón central + */
.fab-container {
  position: relative;
  z-index: 1;
}

#fab-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #d00042;
  box-shadow: 0 -2px 5px -1px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
#fab-button .fab-bar {
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease;
}
#fab-button .fab-bar:last-child {
  transform: rotate(90deg);
}
#mobile-nav-bar.fab-active #fab-button .fab-bar:first-child {
  transform: rotate(45deg);
}
#mobile-nav-bar.fab-active #fab-button .fab-bar:last-child {
  transform: rotate(-45deg);
}

/* Menú flotante */
.fab-menu-options {
  position: absolute;
  bottom: 78px;
  left: 50%;
  transform-origin: center bottom;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  pointer-events: none;
  display: flex;
  gap: 15px;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgb(217, 216, 216);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#mobile-nav-bar.fab-active .fab-menu-options {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.fab-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgb(245, 245, 245);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.fab-option img {
  width: 20px;
  height: 20px;
}

@media (max-width: 991px) {
  #mobile-nav-bar {
    display: flex;
  }
  body {
    padding-bottom: 65px !important;
  }
}
