/* ============================================
   Mobile Bottom Navigation (Like Amazon App)
   ============================================ */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid #e0e0e0;
}

/* Show only on mobile */
@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Add padding to body to prevent content from being hidden */
    body {
        padding-bottom: 70px;
    }
}

/* Navigation Items */
.mobile-bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    padding: 8px 4px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 60px;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:active {
    color: #F11B70;
    background: rgba(241, 27, 112, 0.05);
    border-radius: 12px;
}

.mobile-bottom-nav-item.active {
    color: #F11B70;
}

/* Icon */
.mobile-bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

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

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

/* Label */
.mobile-bottom-nav-label {
    font-size: 11px;
    font-weight: 500;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

/* Badge (for cart count) */
.mobile-bottom-nav-badge {
    position: absolute;
    top: 4px;
    right: 50%;
    transform: translateX(12px);
    background: #F11B70;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

/* Ripple Effect */
.mobile-bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(241, 27, 112, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.mobile-bottom-nav-item:active::before {
    width: 100%;
    height: 100%;
}
