/* Sisimo Modern Floating Glassmorphic Bottom Navigation */

.mobile-bottom-nav {
  display: none;
}

@media only screen and (max-width: 767px) {
  body {
    padding-bottom: 84px !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom, 12px));
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 480px;
    display: block;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    box-shadow: 
      0 14px 36px -6px rgba(247, 97, 136, 0.22),
      0 6px 20px rgba(17, 17, 17, 0.08),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.95);
    padding: 5px 6px;
    z-index: 99997;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-bottom-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    width: 100%;
  }

  .mobile-bottom-nav .bottom-nav-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 4px 6px;
    border-radius: 20px;
    color: #64748b;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav .bottom-nav-item:active {
    transform: scale(0.92);
  }

  .mobile-bottom-nav .icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    font-size: 19px;
    line-height: 1;
    color: inherit;
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .mobile-bottom-nav .bottom-nav-item i {
    font-size: 19px;
    transition: all 0.25s ease;
  }

  .mobile-bottom-nav .nav-label {
    display: block;
    font-size: 10.5px;
    line-height: 12px;
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: 0.1px;
    color: inherit;
    transition: color 0.25s ease;
  }

  /* Active State Styling */
  .mobile-bottom-nav .bottom-nav-item.active {
    color: var(--theme-color, #F76188);
    background: linear-gradient(135deg, rgba(247, 97, 136, 0.12), rgba(247, 97, 136, 0.04));
  }

  .mobile-bottom-nav .bottom-nav-item.active .icon-wrapper {
    transform: translateY(-2px) scale(1.1);
    color: var(--theme-color, #F76188);
  }

  .mobile-bottom-nav .bottom-nav-item.active .nav-label {
    color: var(--theme-color, #F76188);
    font-weight: 800;
  }

  .mobile-bottom-nav .active-dot {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--theme-color, #F76188);
    box-shadow: 0 0 8px var(--theme-color, #F76188);
    animation: activeGlow 1.8s ease-in-out infinite alternate;
  }

  /* Badge indicator for cart/wishlist */
  .mobile-bottom-nav .nav-badge {
    position: absolute;
    top: -5px;
    right: -9px;
    background: linear-gradient(135deg, var(--theme-color, #F76188), #ff3366);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(247, 97, 136, 0.45);
    border: 2px solid #ffffff;
  }

  /* Scroll to top position adjustment on mobile */
  .scroll-to-top {
    bottom: 96px !important;
  }
}

@keyframes activeGlow {
  0% {
    opacity: 0.6;
    transform: translateX(-50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.3);
  }
}

