   /* ============================================
           🔥 ULTRA PREMIUM BOTTOM NAVIGATION BAR
           The most stunning bottom bar ever created!
           ============================================ */
.bottom-nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #e5e5e5; /* Simple clean border */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow only */
}
        .bottom-nav {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 5px 12px;
            position: relative;
        }

        /* ============================================
           💎 PREMIUM NAV ITEM
           ============================================ */
        .bottom-nav-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            text-decoration: none;
            padding: 4px 8px;
            border-radius: 16px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        /* Ripple effect on click */
        .bottom-nav-item::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            transform: scale(0);
            opacity: 0;
            transition: all 0.5s ease;
        }

        .bottom-nav-item.ripple::before {
            animation: ripple 0.6s ease-out;
        }

        /* Icon container with gradient background */
        .nav-icon-wrapper {
            position: relative;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        /* Shimmer effect inside icon */
        .nav-icon-wrapper::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .bottom-nav-item:hover .nav-icon-wrapper::before {
            opacity: 1;
            animation: shine 1.5s ease infinite;
        }

        .nav-icon-wrapper svg {
            width: 18px;
            height: 18px;
            color: #666;
            transition: all 0.3s ease;
            z-index: 1;
        }

        /* Label */
        .nav-label {
            font-size: 11px;
            font-weight: 600;
            color: #666;
            letter-spacing: 0.3px;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        /* Active indicator dot */
        .nav-indicator {
            position: absolute;
            top: 6px;
            right: 8px;
            width: 6px;
            height: 6px;
            background: linear-gradient(135deg, #ff6b6b, #ffa500);
            border-radius: 50%;
            opacity: 0;
            transform: scale(0);
            transition: all 0.3s ease;
            box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
        }

        /* ============================================
           ✨ ACTIVE STATE - The Magic!
           ============================================ */
        .bottom-nav-item.active {
            transform: translateY(0px);
        }

        .bottom-nav-item.active .nav-icon-wrapper {
            background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
            transform: scale(1.1);
        }

        .bottom-nav-item.active .nav-icon-wrapper svg {
            color: white;
            transform: scale(1.15);
        }

        .bottom-nav-item.active .nav-label {
            color: #ff6b6b;
            font-weight: 700;
            transform: scale(1.05);
        }

        .bottom-nav-item.active .nav-indicator {
            opacity: 1;
            transform: scale(1);
            animation: float 2s ease-in-out infinite;
        }

        /* ============================================
           🎯 HOVER STATE - Smooth Interactions
           ============================================ */
        .bottom-nav-item:hover:not(.active) {
            transform: translateY(-4px);
        }

        .bottom-nav-item:hover:not(.active) .nav-icon-wrapper {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
        }

        .bottom-nav-item:hover:not(.active) .nav-icon-wrapper svg {
            color: #ff6b6b;
            transform: scale(1.1);
        }

        .bottom-nav-item:hover:not(.active) .nav-label {
            color: #ff6b6b;
        }
/* Categories Modal - Premium Dark Mode */
.categories-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.categories-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.categories-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  min-height: 65vh;
  max-height: 95vh;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 24px 24px 0 0;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

/* Dark mode */
.dark-mode .categories-modal {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.5);
}

.categories-modal.active {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 12px auto 0;
}

.dark-mode .modal-handle {
  background: #4b5563;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.dark-mode .modal-header {
  border-bottom-color: #374151;
}

.modal-header h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
  letter-spacing: -0.01em;
}

.dark-mode .modal-header h2 {
  color: #f9fafb;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7280;
}

.dark-mode .modal-close-btn {
  background: #374151;
  color: #9ca3af;
}

.modal-close-btn:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.dark-mode .modal-close-btn:hover {
  background: #4b5563;
}

.modal-content {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.categories-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-modal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  padding: 12px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dark-mode .category-modal-item {
  background: #1f2937;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.category-modal-item:active {
  transform: scale(0.95);
}

.category-modal-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dark-mode .category-modal-image {
  background: #111827;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-modal-name {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: #374151;
}

.dark-mode .category-modal-name {
  color: #e5e7eb;
}

@media (min-width: 640px) {
  .categories-modal-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
        /* ============================================
           🌙 DARK MODE - Premium Edition
           ============================================ */
        body.dark-mode .bottom-nav-container {
            background: rgba(26, 26, 26, 0.95);
            border-top: 1px solid rgba(255, 107, 107, 0.3);
            box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
        }

        body.dark-mode .nav-icon-wrapper {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
        }

        body.dark-mode .nav-icon-wrapper svg {
            color: #b0b0b0;
        }

        body.dark-mode .nav-label {
            color: #b0b0b0;
        }

        body.dark-mode .bottom-nav-item:hover:not(.active) .nav-icon-wrapper {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.25) 0%, rgba(255, 165, 0, 0.25) 100%);
        }

        body.dark-mode .bottom-nav-item:hover:not(.active) .nav-icon-wrapper svg {
            color: #ffa500;
        }

        body.dark-mode .bottom-nav-item:hover:not(.active) .nav-label {
            color: #ffa500;
        }

        body.dark-mode .bottom-nav-item.active .nav-label {
            color: #ffa500;
        }

        /* ============================================
           📱 RESPONSIVE - Mobile Optimization
           ============================================ */
      @media (max-width: 480px) {
    .bottom-nav {
        padding: 4px 7px;
    }

    .bottom-nav-item {
        padding: 4px 6px;
    }

    .nav-icon-wrapper {
        width: 34px;
        height: 34px;
    }

    .nav-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }


            .nav-label {
                font-size: 10px;
            }

            .bottom-nav-item.active {
                transform: translateY(0px);
            }
        }

        @media (max-width: 360px) {
            .nav-icon-wrapper {
                width: 34px;
                height: 34px;
            }

            .nav-icon-wrapper svg {
                width: 20px;
                height: 20px;
            }

            .nav-label {
                font-size: 9px;
            }
        }

        
         /* ============================================
   🖥️ HIDE BOTTOM NAV ON DESKTOP (Above 930px)
   ============================================ */
@media (min-width: 931px) {
    .bottom-nav-container {
        display: none !important;
    }
    
    /* Remove bottom padding from body on desktop */
    body {
        padding-bottom: 0 !important;
    }
}

/* Show only on mobile/tablet (below 930px) */
@media (max-width: 930px) {
    .bottom-nav-container {
        display: block;
    }
    
    body {
        padding-bottom: 80px; /* Space for bottom nav */
    }
}